/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      5.3.0 (Aesthetic Features Card Redesign)
*/

/* --- Global Styles & Variables --- */
:root {
  --primary-color: #003366;
  --secondary-color: #ffc107;
  --hover-color: #fdb803;
  --bg-color: #f8f9fa;
  --text-color: #333333;
  --white-color: #ffffff;
  --font-family: "montsterrat", sans-serif;
  
  /* Variabel Lokal untuk Homepage/Testimoni (Dipindahkan dari .css lama) */
  --testi-primary: var(--primary-color); 
  --testi-secondary: #CD2027; 
  --testi-accent1: #DFFF6A; 
  --testi-accent1-transparent: rgba(223, 255, 106, 0.45); 
  --testi-bg-light: #ffffff;
  --testi-text-dark: #333333;
  
  --hp-primary: #0d244c;
  --hp-secondary-card: #dfff6a73; 
  --hp-green-wa: #25d366;
  --hp-white: #ffffff;
  --hp-text-dark: #333333;
  --hp-text-light: #f8f9fa;
  --hp-border: #eeeeee;
  --hp-font: "Montserrat", sans-serif;
  --hp-btn-color1: #0d244c;
  --hp-btn-color1-hover: #ffc107; 
  --hp-btn-color2-border: #0d244c;
  --hp-btn-color2-hover-bg: #0d244c;
  --hp-btn-color2-hover-text: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  margin: 0;
}
.panel {
  width: 100%;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Keyframes Universal (Dipindahkan dari .css lama) --- */

/* Animasi Rotasi untuk Border Alumni/Testimoni/Tutor */
@property --hp-gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes hp-rotate-border-property {
  0% {
    --hp-gradient-angle: 0deg;
  }
  100% {
    --hp-gradient-angle: 360deg;
  }
}

/* Animasi Flip In (Hero Image) */
@keyframes hp-flip-in {
  from {
    transform: perspective(1000px) rotateY(90deg) scale(0.9);
    opacity: 0;
  }
  to {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

/* Animasi Marquee (Kenapa Section Mobile) */
@keyframes hp-kenapa-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Animasi Counter */
@keyframes rotate-spinner {
  to {
    transform: rotate(1turn);
  }
}

/* Animasi Kelas Jogja */
@keyframes spin-kelasjogja {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn-kelasjogja {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut-kelasjogja {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
@keyframes pulse-shadow-estetik {
  0% {
    text-shadow: 0 0 0 #fff0;
  }
  50% {
    text-shadow: 0 0 12px rgb(238 193 15 / 0.9);
  }
  100% {
    text-shadow: 0 0 0 #fff0;
  }
}

/* Animasi Footer / FAB */
@keyframes instagram-gradient-footer {
  0% {
    filter: drop-shadow(0 0 1px #fdcb52) drop-shadow(0 0 3px #fdcb52);
  }
  25% {
    filter: drop-shadow(0 0 1px #fd1d1d) drop-shadow(0 0 3px #fd1d1d);
  }
  50% {
    filter: drop-shadow(0 0 1px #c13584) drop-shadow(0 0 3px #c13584);
  }
  75% {
    filter: drop-shadow(0 0 1px #833ab4) drop-shadow(0 0 3px #833ab4);
  }
  100% {
    filter: drop-shadow(0 0 1px #fdcb52) drop-shadow(0 0 3px #fdcb52);
  }
}
@keyframes shake-and-glow-minol {
  0%,
  100% {
    transform: rotate(0deg);
    filter: drop-shadow(0 4px 10px rgb(13 71 161 / 0.3));
  }
  5%,
  15% {
    transform: rotate(4deg);
  }
  10%,
  20% {
    transform: rotate(-4deg);
  }
  25% {
    transform: rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(0deg);
    filter: drop-shadow(0 8px 25px rgb(13 71 161 / 0.7));
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* --- TIKTOK VISUAL STYLE --- */
.tiktok-link-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px; /* Jarak rapi dari Instagram */
    transition: color 0.3s ease;
}

.tiktok-link-footer:hover {
    color: #fff;
}

.tiktok-icon-footer {
    width: 14px;
    height: 14px;
    fill: #fff;
    transition: transform 0.3s ease;
}

/* Trigger Animasi saat Hover */
.tiktok-link-footer:hover .tiktok-icon-footer {
    transform: scale(1.15); /* Sedikit membesar */
    animation: tiktok-glitch-shift 0.4s infinite linear alternate-reverse;
}

/* KEYFRAMES: "Marwah" Warna TikTok (Cyan & Magenta Glitch) */
@keyframes tiktok-glitch-shift {
    0% {
        filter: drop-shadow(2px 2px 0px #ff0050) drop-shadow(-2px -2px 0px #00f2ea);
    }
    25% {
        filter: drop-shadow(-2px 2px 0px #ff0050) drop-shadow(2px -2px 0px #00f2ea);
    }
    50% {
        filter: drop-shadow(2px -2px 0px #ff0050) drop-shadow(-2px 2px 0px #00f2ea);
    }
    75% {
        filter: drop-shadow(-2px -2px 0px #ff0050) drop-shadow(2px 2px 0px #00f2ea);
    }
    100% {
        filter: drop-shadow(2px 2px 0px #ff0050) drop-shadow(-2px -2px 0px #00f2ea);
    }
}

/* --- Base Animation Utilities (Dipindahkan dari .css lama) --- */

/* Base state (hidden) */
.hp-animate, .animate_hp_v2 {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animasi Fade In */
.hp-animate[data-animation="fade-in"],
.animate_hp_v2 { 
  transform: translateY(10px);
}
.hp-animate[data-animation="fade-in"].is-visible,
.animate_hp_v2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi Fade In Up */
.hp-animate[data-animation="fade-in-up"] {
  transform: translateY(30px);
}
.hp-animate[data-animation="fade-in-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi Slide In Left */
.hp-animate[data-animation="slide-in-left"] {
  transform: translateX(-50px);
}
.hp-animate[data-animation="slide-in-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animasi Slide In Right */
.hp-animate[data-animation="slide-in-right"] {
  transform: translateX(50px);
}
.hp-animate[data-animation="slide-in-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animasi Flip In (Hero Image) */
.hp-animate[data-animation="flip-in"].is-visible {
  animation: hp-flip-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 1; 
}

/* ==============================================
   FOOTER (footer-custom.php)
   ============================================== */
.main-container-footer {
  background-color: rgb(13 36 76 / 0.8);
  color: #fff;
  padding: 60px 40px 20px 40px;
  font-family: "Poppins", sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper-footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.sisi-kiri-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}
.sisi-tengah-footer,
.sisi-kanan-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}
.logo-image-footer {
  width: 200px;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.logo-image-footer.loaded-footer {
  opacity: 1;
}
.instagram-link-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}
.instagram-link-footer:hover {
  color: orange;
}
.instagram-icon-footer {
  width: 14px;
  height: 14px;
  stroke: #fff;
  transition: stroke 0.3s ease, transform 0.3s ease;
}
.instagram-link-footer:hover .instagram-icon-footer {
  stroke: #fff;
  transform: scale(1.1);
  animation: instagram-gradient-footer 2s linear infinite;
}
.maps-container-footer {
  width: 100%;
  height: 200px;
  background-color: #1a3a6e;
  border-radius: 8px;
  overflow: hidden;
}
.maps-iframe-footer {
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.address-title-footer {
  font-size: 15px;
  font-weight: 400;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
}
.sisi-kanan-footer {
  gap: 15px;
  align-items: flex-end;
  text-align: right;
}
.nav-link-footer {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  padding-bottom: 5px;
  align-self: auto;
}
.nav-link-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: orange;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link-footer:hover::after {
  width: 100%;
}
.copyright-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #1a3a6e;
  color: #a0a0a0;
  font-size: 14px;
}
.copyright-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.copyright-footer a:hover {
  color: #fff;
}

.iso-card-footer {
    background-color: #fafafa; 
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px; 
    max-width: 320px; 
}

.iso-image-footer {
    width: 150%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
  .content-wrapper-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sisi-kiri-footer,
  .sisi-tengah-footer,
  .sisi-kanan-footer {
    align-items: center;
    text-align: center;
  }
  .iso-card-footer {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==============================================
   ARCHIVE SPECIFIC STYLES
   ============================================== */

/* --- Header Archive Nuance --- */
.aesthetic-archive-header .archive-meta-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color); /* Kuning */
    margin-bottom: 10px;
    background: rgba(0, 51, 102, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
}

/* Membersihkan Prefix WP via CSS (Optional backup) */
.aesthetic-archive-header .page-title span {
    display: none; /* Menyembunyikan "Category:", "Tag:", dll jika output WP memaksa */
}

/* --- Sidebar Tag Cloud Estetik --- */
.tagcloud-custom a {
    display: inline-block;
    background-color: #f0f2f5;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    margin: 0 5px 8px 0;
    font-size: 0.8rem !important; /* Force size rata */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tagcloud-custom a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

/* --- Pagination Styling Fix (Astra Default Overwrite) --- */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==============================================
   CATEGORY HUB STYLES (category.php)
   ============================================== */

.category-hub-page {
    background-color: var(--bg-color);
}

/* --- Hub Header (Identitas Kategori) --- */
.hub-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
    color: var(--white-color);
    padding: 60px 20px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    text-align: left;
    border-radius: 0 0 30px 30px; /* Lengkungan bawah yang modern */
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.hub-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Label Kecil */
.hub-label {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Judul Besar */
.hub-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: var(--white-color);
}

/* Deskripsi */
.hub-description {
    font-size: 1.1rem;
    max-width: 700px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.hub-description p {
    margin: 0;
}

/* Statistik Kategori */
.hub-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-item i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* --- Dekorasi Background (Blob) --- */
.hub-bg-decoration {
    position: absolute;
    top: 150px;
    right: 50px;
    z-index: 1;
    pointer-events: none;
    animation: floatBlob 6s ease-in-out infinite;
}

.hub-decor-img {
    width: 300px;        /* Atur ukuran gambar */
    height: auto;
    opacity: 0.15;       /* Buat transparan agar jadi background estetik (Watermark) */
    mix-blend-mode: multiply; /* Opsional: Agar menyatu dengan warna background biru */
    filter: grayscale(100%);  /* Opsional: Agar tidak tabrakan warna (jadi hitam putih) */
    display: block;
}

@keyframes floatBlob {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@media (max-width: 768px) {
    .hub-header {
        text-align: center;
        padding: 50px 20px;
    }
    .hub-header-inner {
        align-items: center;
    }
    .hub-decor-img {
        width: 200px;    /* Perkecil di HP */
        opacity: 0.1;
    }
    .hub-bg-decoration {
        opacity: 0.5;
        top: 230px;
    }
}

/* ==============================================
   404 PAGE STYLES
   ============================================== */

.error-404-area {
    min-height: 80vh; /* Memastikan footer terdorong ke bawah */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    padding: 60px 20px;
    overflow: hidden; /* Mencegah scrollbar jika animasi melebar */
}

.error-404-area .site-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.error-404-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- 1. Typography 404 Animasi --- */
.visual-404 {
    font-size: clamp(8rem, 25vw, 15rem);
    font-weight: 900;
    line-height: 0.8;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 20px;
    user-select: none;
    display: flex;
    justify-content: center;
    gap: -15px; /* Overlapping effect */
}

.visual-404 .num {
    position: relative;
    display: inline-block;
    z-index: 2;
    text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.05);
    animation: float404 4s ease-in-out infinite;
}

/* Animasi agar angka bergerak tidak bersamaan */
.visual-404 .num:nth-child(1) { animation-delay: 0s; }
.visual-404 .num:nth-child(2) { animation-delay: 0.5s; color: var(--secondary-color); z-index: 1; } /* Angka 0 Kuning */
.visual-404 .num:nth-child(3) { animation-delay: 1s; }

@keyframes float404 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Bayangan di bawah angka */
.shadow-404 {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    animation: shadowScale 4s ease-in-out infinite;
}

@keyframes shadowScale {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(0.8); opacity: 0.1; }
}

/* --- 2. Konten Teks --- */
.content-404 .page-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.content-404 .page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- 3. Search Form 404 Style --- */
.search-404-wrapper {
    max-width: 450px;
    margin: 0 auto 30px auto;
}

.search-form-404 {
    display: flex;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    border-radius: 50px;
    overflow: hidden;
    background: var(--white-color);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-form-404:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
    border-color: var(--primary-color);
}

.search-field-404 {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    outline: none;
    color: var(--text-color);
}

.search-submit-404 {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit-404:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
}

/* --- 4. Tombol Home --- */
.btn-home {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.btn-home:hover {
    color: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-home i {
    margin-right: 5px;
}

/* ==============================================
   SEARCH RESULT STYLES (search.php)
   ============================================== */

/* --- 1. Search Header --- */
.search-header-aesthetic {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-color);
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.search-meta-label {
    display: inline-block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-header-aesthetic .page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.highlight-query {
    color: var(--secondary-color); /* Kuning */
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

/* --- 2. Empty State (No Results) --- */
.no-results-aesthetic {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.no-results-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-aesthetic h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Search Retry Form */
.search-retry-wrapper {
    max-width: 500px;
    margin: 30px auto 0 auto;
}

.search-form-retry {
    display: flex;
    gap: 10px;
}

.search-field-retry {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.search-field-retry:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-submit-retry {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit-retry:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

/* --- 3. Fallback Posts Suggestion --- */
.fallback-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.mini-card .card-content {
    padding: 20px;
}
.mini-card .entry-title {
    font-size: 1rem;
}

/* ==============================================
   AESTHETIC NEWS TICKER (Global Component)
   ============================================== */

.aesthetic-ticker-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    height: 50px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 0; /* Menempel di atas */
    font-size: 0.9rem;
    z-index: 20;
}

/* --- Label "Trending" --- */
.ticker-label {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 50px solid var(--secondary-color); /* Matches height */
    border-right: 15px solid transparent;
    z-index: 1;
}

/* --- Marquee Area --- */
.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: ticker-scroll 25s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    margin-right: 40px;
    font-weight: 500;
    transition: color 0.2s;
}

.ticker-item:hover {
    color: var(--primary-color);
}

.ticker-item::before {
    content: '•';
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

@keyframes ticker-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Search Box (Right Side) --- */
.ticker-search {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #fff;
    border-left: 1px solid #eee;
    z-index: 2;
}

.ticker-search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 5px 12px;
    width: 200px; /* Default width */
    transition: width 0.3s ease, background 0.3s ease;
}

.ticker-search-form:focus-within {
    width: 250px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.ticker-search-input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
    padding: 0 5px;
    color: var(--text-color);
}

.ticker-search-btn {
    border: none;
    background: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    display: flex;
    align-items: center;
}

.ticker-search-btn:hover {
    color: var(--primary-color);
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .ticker-label {
        padding: 0 10px;
        font-size: 0.7rem;
    }
    .ticker-label span {
        display: none; /* Hide text "TRENDING", just show icon if added or small label */
    }
    .ticker-label::before {
        content: 'HOT'; /* Replace long text with short text */
    }
    .ticker-search-form {
        width: 120px;
    }
    .ticker-search-form:focus-within {
        width: 150px;
    }
}

/* ==============================================
   FAB WHATSAPP
   ============================================== */
.whatsapp-fab-container-minol {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-out,
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform, opacity;
}
.whatsapp-fab-container-minol.visible-minol {
  opacity: 1;
  transform: scale(1);
}
.fab-link-minol {
  display: block;
  animation: shake-and-glow-minol 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.fab-link-minol:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}
.fab-image-minol {
  display: block;
  width: 150px;
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.25));
  transition: filter 0.3s ease;
}
.fab-link-minol:hover .fab-image-minol {
  filter: drop-shadow(0 6px 15px rgb(0 0 0 / 0.35)) brightness(1.05);
}
@media (max-width: 767px) {
  .fab-image-minol {
    width: 80px; 
  }
}