/* The WordPress theme file header goes here. */

/* ! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/bg.png");
  background-repeat: repeat;
  background-size: 100vw;
  opacity: var(--bg-opacity, 0.25);
  z-index: -1;
}

body {
  position: relative;
  --bg-opacity: 0.25;
}

body.light {
  --bg-opacity: 1;
}

body.dark {
  --bg-opacity: 1;
}

/* The WordPress theme file header goes here. */

.card-container {
  perspective: 1000px;
}

.card {
  transition:
        transform 0.25s,
        box-shadow 0.1s;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  transition:
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  width: 10rem;
  /* Sesuai dengan kolom grid Tailwind */
  min-height: 15rem;
  /* Tinggi minimal yang diinginkan */
  margin: 1rem;
  /* Menambahkan margin untuk jarak antar card */
}

.card-front,
.card-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}

.card-back {
  transform: rotateY(180deg);
  background-color: #fff;
  -webkit-clip-path: inset(0 0 0 0);
          clip-path: inset(0 0 0 0);
  background-repeat: no-repeat;
  /* background-position: center bottom -80%; */
  background-position: center bottom;
  background-size: contain;
}

.card-back p {
  font-size: 1vw;
  /* font-size: 10px;
    font-size: 0.8rem; */
  font-family: "Maven Pro", "Open Sans", sans-serif;
  /* font-weight: 300; */
  font-optical-sizing: auto;
  font-weight: bold;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 2vw;
  padding: 0.5vw;
  /* text-shadow:
        -1px -1px 0 #003d50,
        1px -1px 0 #003d50,
        -1px 1px 0 #003d50,
        1px 1px 0 #003d50; Bayangan teks untuk menciptakan efek outline */
}

.card.flipped {
  transform: rotateY(180deg);
}

.flip-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 1rem;
  /* Jarak dari bawah */
  left: 50%;
  /* Pusatkan secara horizontal */
  transform: translateX(
        -50%
    );
  /* Offset horizontal untuk memusatkan */
  width: 50px;
  /* Diameter tombol */
  height: 50px;
  /* Diameter tombol */
  background-color: rgba(
        0,
        0,
        0,
        0.75
    );
  /* Warna latar belakang hitam dengan transparansi 50% */
  color: white;
  /* Warna ikon */
  border: none;
  border-radius: 50%;
  /* Membuat bentuk lingkaran */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.flip-button i {
  font-size: 20px;
  /* Atur ukuran ikon panah */
}

.launch-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 1rem;
  /* Jarak dari bawah */
  left: 50%;
  /* Pusatkan secara horizontal */
  transform: translateX(
        -50%
    );
  /* Offset horizontal untuk memusatkan */
  width: 50px;
  /* Diameter tombol */
  height: 50px;
  /* Diameter tombol */
  background-color: rgba(
        0,
        0,
        0,
        0.75
    );
  /* Warna latar belakang hitam dengan transparansi 50% */
  color: white;
  /* Warna ikon */
  border: none;
  border-radius: 50%;
  /* Membuat bentuk lingkaran */
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.launch-button i {
  font-size: 1rem;
  /* Atur ukuran ikon panah */
}

.theme-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.logo-bd {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 2000;
}

/* .brand-logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1);
    filter: grayscale(10%) !important;
} */

.brand-logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1);
  filter: sepia(1) saturate(10) hue-rotate(-50deg);
  /* Ubah ke warna merah */
}

#theme-toggle-dark-icon,
#theme-toggle-light-icon {
  height: 2rem;
  width: 2rem;
}

/* Menyembunyikan ikon dark mode karena kita mulai dengan mode light */

#theme-toggle-dark-icon {
  display: none;
}

/* Jika mode gelap aktif, sembunyikan ikon mode terang dan tampilkan ikon mode gelap */

body.dark #theme-toggle-dark-icon {
  display: block;
}

body.dark #theme-toggle-light-icon {
  display: none;
}

/* CSS untuk elemen img dengan class "zoom-on-mobile" */

.zoom-on-mobile {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  min-width: 13.5vw;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

.visible {
  visibility: visible !important;
}

.fixed {
  position: fixed !important;
}

.absolute {
  position: absolute !important;
}

.relative {
  position: relative !important;
}

.inset-0 {
  inset: 0px !important;
}

.left-0 {
  left: 0px !important;
}

.z-50 {
  z-index: 50 !important;
}

.m-3 {
  margin: 0.75rem !important;
}

.mx-3 {
  margin-left: 0.75rem !important;
  margin-right: 0.75rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.block {
  display: block !important;
}

.flex {
  display: flex !important;
}

.inline-flex {
  display: inline-flex !important;
}

.grid {
  display: grid !important;
}

.hidden {
  display: none !important;
}

.aspect-square {
  aspect-ratio: 1 / 1 !important;
}

.h-10 {
  height: 2.5rem !important;
}

.h-\[400px\] {
  height: 400px !important;
}

.h-full {
  height: 100% !important;
}

.h-screen {
  height: 100vh !important;
}

.min-h-screen {
  min-height: 100vh !important;
}

.w-10 {
  width: 2.5rem !important;
}

.w-\[23vw\] {
  width: 23vw !important;
}

.w-full {
  width: 100% !important;
}

.scale-150 {
  --tw-scale-x: 1.5 !important;
  --tw-scale-y: 1.5 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

.scale-75 {
  --tw-scale-x: .75 !important;
  --tw-scale-y: .75 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.flex-col {
  flex-direction: column !important;
}

.place-items-end {
  place-items: end !important;
}

.items-end {
  align-items: flex-end !important;
}

.items-center {
  align-items: center !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-around {
  justify-content: space-around !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-5 {
  gap: 1.25rem !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}

.rounded-lg {
  border-radius: 0.5rem !important;
}

.rounded-md {
  border-radius: 0.375rem !important;
}

.rounded-t-xl {
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
}

.border {
  border-width: 1px !important;
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops)) !important;
}

.from-black\/50 {
  --tw-gradient-from: rgb(0 0 0 / 0.5) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;
}

.object-cover {
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

.p-10 {
  padding: 2.5rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.py-12 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.text-2xl {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}

.text-3xl {
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.text-white {
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
}

.antialiased {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25) !important;
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}

.shadow-\[0_10px_20px_rgba\(0\2c 0\2c 0\2c 0\.5\)\] {
  --tw-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
  --tw-shadow-colored: 0 10px 20px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}

.outline {
  outline-style: solid !important;
}

.drop-shadow-\[0_1\.2px_1\.2px_rgba\(0\2c 0\2c 0\2c 0\.8\)\] {
  --tw-drop-shadow: drop-shadow(0 1.2px 1.2px rgba(0,0,0,0.8)) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.drop-shadow-lg {
  --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1)) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.drop-shadow-xl {
  --tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08)) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.drop-shadow-2xl {
  --tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}

/* The WordPress theme file header goes here. */

@media (max-width: 960px) {
  body {
    background-size: contain;
    /* Ini akan memastikan bahwa gambar diulang dengan baik */
  }

  .zoom-on-mobile {
    transform: scale(1.4);
    /* Membesarkan gambar pada perangkat mobile */
    min-width: 1vw;
  }
}

@media (min-width: 768px) {
  /* Angka ini adalah breakpoint untuk medium devices di Tailwind */

  /* body {
        background-size: contain; /* Ini akan memastikan bahwa gambar diulang dengan baik */

  /* } */

  .card {
    width: 15vw;
    /* Lebar untuk non-mobile views */
    min-height: 40vh;
    /* Tinggi untuk non-mobile views */
    /* ... styles lain tidak berubah ... */
  }
}

@media (max-width: 767px) {
  /* Breakpoint untuk mobile devices */

  body {
    background-size: contain;
    /* Ini akan memastikan bahwa gambar diulang dengan baik */
  }

  .card {
    width: 80%;
    /* Lebar untuk mobile views */
    min-height: 10rem;
    /* Tinggi untuk mobile views */
    /* ... styles lain tidak berubah ... */
  }

  .logo-bd img {
    width: 75px;
  }

  .card-back {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
    background-repeat: no-repeat;
    background-position: center bottom -20%;
    background-size: contain;
  }

  .card-back p {
    font-family: "Maven Pro", "Open Sans", sans-serif;
    /* font-weight: 300; */
    font-size: 0.5rem;
    font-stretch: wider;
    color: #fff;
    position: absolute;
    top: 1rem;
    padding: 0.2rem;
    /* text-shadow: 0 0 0 #003d50; Bayangan teks untuk menciptakan efek outline */
  }

  .flip-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 1rem;
    /* Jarak dari bawah */
    left: 50%;
    /* Pusatkan secara horizontal */
    transform: translateX(
            -50%
        );
    /* Offset horizontal untuk memusatkan */
    width: 30px;
    /* Diameter tombol */
    height: 30px;
    /* Diameter tombol */
    background-color: rgba(
            0,
            0,
            0,
            0.75
        );
    /* Warna latar belakang hitam dengan transparansi 50% */
    color: white;
    /* Warna ikon */
    border: none;
    border-radius: 50%;
    /* Membuat bentuk lingkaran */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .flip-button i {
    font-size: 12px;
    /* Atur ukuran ikon panah */
  }

  .zoom-on-mobile {
    transform: scale(1.75);
    /* Membesarkan gambar pada perangkat mobile */
  }
}

/* Media query untuk layar dengan lebar maksimum 600px */

@media (max-width: 600px) {
  body {
    background-size: contain;
    /* Ini akan memastikan bahwa gambar diulang dengan baik */
  }

  .zoom-on-mobile {
    transform: scale(1.7);
    /* Membesarkan gambar pada perangkat mobile */
  }

  .card {
    width: 24vw;
    /* Lebar untuk mobile views */
    min-height: 20vh;
    /* Tinggi untuk mobile views */
    /* ... styles lain tidak berubah ... */
  }
}

@media (max-height: 720px) {
  .zoom-on-mobile {
    transform: scale(1.75);
    /* Membesarkan gambar pada perangkat mobile */
  }

  .card {
    width: 17vw;
    /* Lebar untuk mobile views */
    min-height: 26vh;
    /* Tinggi untuk mobile views */
  }
}

@media (max-height: 680px) {
  .zoom-on-mobile {
    transform: scale(1.75);
    /* Membesarkan gambar pada perangkat mobile */
  }

  .card {
    width: 25vw;
    /* Lebar untuk mobile views */
    min-height: 22vh;
    /* Tinggi untuk mobile views */
  }
}

@media (min-height: 1100px) {
  .zoom-on-mobile {
    transform: scale(1.25);
    /* Membesarkan gambar pada perangkat mobile */
  }

  .card {
    width: 25vw;
    /* Lebar untuk mobile views */
    min-height: 34vh;
    /* Tinggi untuk mobile views */
  }
}

.search-container {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
  max-width: 800px;
}

.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 999;
}

.search-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.search-container select,
  .search-container input {
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #ddd;
  margin-bottom: 0.5rem;
  width: 100%;
}

.search-container input {
  padding-left: 2.5rem;
}

.search-container .fa-search {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.load-more {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #949494;
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.load-more:hover {
  background-color: #aaa;
}

#news-grid {
  padding-top: 9rem;
  scroll-padding-top: 1rem;
  width: 90vw;
}

#news-grid2 {
  padding-top: 9rem;
  scroll-padding-top: 1rem;
  width: 90vw;
}

.news-item-title {
  font-size: 1rem;
  font-family: "Maven Pro", "Open Sans", sans-serif;
  font-weight: bold;
  text-align: center;
  color: #003d50;
  padding: 0.5rem;
  min-height: 3rem;
  line-height: 1.5rem;
}

.news-item-title-light {
  color: #003d50;
}

.news-item-title-dark {
  color: #FFF;
}

.news-item {
  transition: filter 0.5s ease;
}

/* .brand-logo img {
    transition: filter 0.5s ease;
  }

  .brand-logo:hover img {
    filter: grayscale(100%);
    } */

/* .card-front .brand-logo img,
    .card-back .brand-logo img {
      transition: filter 0.3s ease, -webkit-filter 0.3s ease;
    }
    
    .card-front .brand-logo:hover img,
    .card-back .brand-logo:hover img {
      filter: grayscale(100%) !important;
      -webkit-filter: grayscale(100%) !important;
    }   */

/* .news-item-img:hover {
    filter: grayscale(100%);
  } */

/* Targetkan gambar dalam elemen a ketika p di-hover */

.news-item:hover {
  filter: grayscale(100%);
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 640px) {
  .search-container {
    display: none;
  }

  .search-icon {
    display: block;
  }

  .search-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .search-content.active {
    display: flex;
  }
}

@media screen and (min-width: 641px) {
  .search-container {
    flex-direction: row;
    align-items: center;
  }

  .search-content {
    flex-direction: row;
  }

  .search-container select,
    .search-container input {
    margin-bottom: 0;
    margin-right: 0.5rem;
  }

  .search-container select {
    width: auto;
  }

  .search-container input {
    flex-grow: 1;
  }

  #news-grid {
    padding-top: 6rem;
    width: 75vw;
  }
}

.article {
  font-size: 1rem;
  font-family: "Maven Pro", "Open Sans", sans-serif;
  line-height: 1.5rem;
}

#content-detail {
  background-color: #FFF;
  color: #000;
  position: relative;
}

#judul {
  font-family: "Maven Pro", "Open Sans", sans-serif;
  font-weight: bold;
  color: #FFF;
}

@media print {
  body * {
    visibility: hidden;
  }

  article, article * {
    visibility: visible;
  }

  article {
    position: absolute;
    left: 0;
    top: 0;
  }

  section img {
    visibility: visible;
  }
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px !important;
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none !important;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5 !important;
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  .md\:left-10 {
    left: 2.5rem !important;
  }

  .md\:h-\[500px\] {
    height: 500px !important;
  }

  .md\:w-\[8vw\] {
    width: 8vw !important;
  }

  .md\:scale-100 {
    --tw-scale-x: 1 !important;
    --tw-scale-y: 1 !important;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .md\:justify-start {
    justify-content: flex-start !important;
  }

  .md\:gap-2 {
    gap: 0.5rem !important;
  }

  .md\:p-8 {
    padding: 2rem !important;
  }

  .md\:py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .md\:text-4xl {
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .lg\:h-\[600px\] {
    height: 600px !important;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .lg\:p-10 {
    padding: 2.5rem !important;
  }

  .lg\:py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .lg\:text-5xl {
    font-size: 3rem !important;
    line-height: 1 !important;
  }
}
