/* ===================================================================
   YTPAI RAUDLATUL MUTA'ALLIMIN - COMPONENT STYLES (PRO VERSION)
   Pixel-perfect alignment with uploaded reference visual hierarchy
   Includes PPDB Multi-Step Form, Official Receipt, and Floating WA
   =================================================================== */

/* 1. TOPBAR */
.topbar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-item:hover {
  color: var(--color-white);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-socials a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.topbar-socials a:hover {
  color: var(--color-white);
}

/* ===================================================================
   1B. TULISAN BERJALAN (ANNOUNCEMENT RUNNING TEXT / TICKER MARQUEE)
   =================================================================== */
.announcement-ticker-bar {
  background: linear-gradient(90deg, #071E34 0%, #0F4C81 25%, #0A2540 50%, #0F4C81 75%, #071E34 100%);
  background-size: 200% 100%;
  animation: tickerBgMove 14s ease-in-out infinite alternate;
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.25);
}

@keyframes tickerBgMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.announcement-ticker-container {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  width: 100%;
  max-width: 1480px;
  padding-left: 20px;
  padding-right: 20px;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #0A2540;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  user-select: none;
  z-index: 2;
  text-transform: uppercase;
}

.ticker-badge-icon {
  font-size: 0.85rem;
  display: inline-block;
  animation: pulseBadge 2.2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.ticker-track-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 2%, rgba(0,0,0,1) 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 2%, rgba(0,0,0,1) 98%, transparent 100%);
  height: 100%;
  display: flex;
  align-items: center;
}

/* Efek Silau / Shimmer Glare Sweep Berjalan (Dual Diamond Flare Sheen) */
.ticker-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 32%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0.35) 44%,
    rgba(251, 191, 36, 0.55) 48%,
    rgba(255, 255, 255, 0.70) 50%,
    rgba(251, 191, 36, 0.55) 52%,
    rgba(255, 255, 255, 0.30) 56%,
    transparent 64%,
    rgba(255, 255, 255, 0.18) 68%,
    transparent 73%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: tickerGlareSweep 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes tickerGlareSweep {
  0% {
    transform: translateX(-100%);
  }
  38%, 100% {
    transform: translateX(100%);
  }
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tickerMarquee 38s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  color: #F8FAFC;
  padding-right: 16px;
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
}

.ticker-separator {
  color: #FBBF24 !important;
  font-weight: 800;
  font-size: 1.15rem;
  opacity: 0.85;
}

/* Mobile Responsiveness (Compact, Slim & Proportional on Mobile) */
@media (max-width: 768px) {
  .announcement-ticker-bar {
    height: 28px;
  }
  .announcement-ticker-container {
    padding-left: 10px;
    padding-right: 10px;
    gap: 6px;
  }
  .ticker-badge {
    padding: 1.5px 6px;
    font-size: 0.60rem;
    border-radius: 4px;
    gap: 3.5px;
    line-height: 1.2;
  }
  .ticker-badge-icon {
    font-size: 0.70rem;
  }
  .ticker-badge-label {
    font-size: 0.60rem;
    letter-spacing: 0.03em;
    font-weight: 800;
  }
  .ticker-content {
    font-size: 0.73rem;
    line-height: 28px;
    gap: 8px;
    padding-right: 8px;
  }
  .ticker-separator {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .announcement-ticker-bar {
    height: 26px;
  }
  .announcement-ticker-container {
    padding-left: 8px;
    padding-right: 8px;
    gap: 5px;
  }
  .ticker-badge {
    padding: 1px 5px;
    font-size: 0.56rem;
    border-radius: 3px;
    gap: 3px;
  }
  .ticker-badge-icon {
    font-size: 0.65rem;
  }
  .ticker-badge-label {
    font-size: 0.56rem;
  }
  .ticker-content {
    font-size: 0.69rem;
    line-height: 26px;
    gap: 6px;
    padding-right: 6px;
  }
}

/* 2. NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  padding: 10px 0;
}

.navbar.scrolled {
  box-shadow: 0 6px 25px rgba(15, 76, 129, 0.1);
  padding: 8px 0;
}

.topbar .container,
.navbar .container,
.hero-section .container,
.hero-container-rel {
  max-width: 1480px;
  padding-left: 20px;
  padding-right: 20px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  margin-right: auto;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(15, 76, 129, 0.22));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05) rotate(1deg);
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.10rem;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #B8860B;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.81rem;
  color: #334155;
  position: relative;
  padding: 5px 7px;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  letter-spacing: -0.015em;
}

.nav-link:hover {
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.08);
}

.nav-link.active {
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.12);
  font-weight: 700;
}

.nav-link.active::after {
  display: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 6px;
}

.nav-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.80rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.28);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Elegant Institutional Cek Kelulusan Navigation Button */
.nav-item-kelulusan {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
}

.nav-btn-kelulusan-elegant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: #FFFFFF;
  color: #0F4C81 !important;
  font-weight: 700 !important;
  font-size: 0.81rem !important;
  line-height: 1;
  border-radius: 8px;
  border: 1.5px solid #0F4C81;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(15, 76, 129, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.nav-btn-kelulusan-elegant svg {
  color: #C59B27;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-btn-kelulusan-elegant:hover {
  background: #0A2540;
  color: #FFFFFF !important;
  border-color: #0A2540;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
  transform: translateY(-1px);
}

.nav-btn-kelulusan-elegant:hover svg {
  color: #FBBF24;
  transform: scale(1.1);
}

.nav-btn-kelulusan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: #FFFFFF;
  color: #0F4C81 !important;
  font-weight: 700 !important;
  font-size: 0.81rem !important;
  line-height: 1;
  border-radius: 8px;
  border: 1.5px solid #0F4C81;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(15, 76, 129, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn-kelulusan:hover {
  background: #0A2540;
  color: #FFFFFF !important;
  border-color: #0A2540;
  transform: translateY(-1px);
}

.nav-btn-kelulusan svg {
  color: #C59B27;
  flex-shrink: 0;
}

.kelulusan-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #DC2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
  animation: psbBlinkPulse 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes kelulusanPulseGlow {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.38);
  }
  50% {
    box-shadow: 0 2px 16px rgba(245, 158, 11, 0.7), 0 0 0 3px rgba(251, 191, 36, 0.35);
  }
}

.drawer-link-kelulusan {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%) !important;
  color: #B45309 !important;
  border: 1.5px solid #F59E0B !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 800 !important;
  margin: 6px 0 10px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.psb-btn-kelulusan-hero {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #0A2540 !important;
  font-weight: 800 !important;
  border: 1.5px solid #FDE68A !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.psb-btn-kelulusan-hero:hover {
  background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(13, 59, 102, 0.16);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--color-primary-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(13, 59, 102, 0.06);
  border-color: var(--color-primary);
}

/* 3. HERO SECTION (Landscape Background Slider with Smooth Ken Burns Zoom & Crossfade) */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  display: flex;
  align-items: center;
  padding: 42px 0 88px;
  background-color: #F8FAFC;
}

/* Full-Bleed Background Slider Track Behind Text */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #E2E8F0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Ultra-Smooth Ken Burns Zoom Effect in Landscape Aspect */
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  transform: scale(1);
  transition: transform 9.0s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.04);
}

/* Multi-stop Directional Gradient Scrim: Pure Text Contrast on Left, Vivid Landscape Photo on Right */
.hero-backdrop-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(90deg, 
      rgba(255, 255, 255, 0.97) 0%, 
      rgba(255, 255, 255, 0.93) 26%, 
      rgba(255, 255, 255, 0.68) 36%, 
      rgba(255, 255, 255, 0.18) 46%, 
      rgba(255, 255, 255, 0) 56%
    ),
    linear-gradient(0deg, 
      #F8FAFC 0%, 
      rgba(248, 250, 252, 0.85) 6%, 
      rgba(248, 250, 252, 0) 18%
    ),
    linear-gradient(180deg, 
      rgba(255, 255, 255, 0.25) 0%, 
      transparent 15%
    );
}

/* Foreground Content Container */
.hero-container-rel {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-layout-box {
  max-width: 580px;
}

.hero-content {
  position: relative;
}

/* Mobile Hero Photo Card (Default: Hidden on Desktop >=769px) */
.hero-mobile-photo-card {
  display: none;
}

/* Unified Single-Line Luxury Badge (Clean Transparent Typography) */
.hero-unified-badge,
.section-badge.hero-unified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  margin-bottom: 16px;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.hero-unified-badge:hover,
.section-badge.hero-unified-badge:hover {
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.badge-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-unified-badge .badge-star-icon {
  color: #D97706;
  font-size: 0.88rem;
  line-height: 1;
}

.hero-unified-badge .badge-accent-text {
  color: #B45309;
  font-weight: 750;
  font-size: 0.80rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hero-unified-badge .badge-dot-sep {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1;
}

.hero-unified-badge .dynamic-slogan {
  color: #0A2540;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-size: clamp(2.05rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.2;
  color: var(--color-primary);
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.hero-headline span.highlight {
  color: var(--color-accent);
}

.hero-description {
  font-size: 1.02rem;
  color: var(--color-text-body);
  line-height: 1.64;
  margin-bottom: 24px;
  max-width: 580px;
  font-weight: 450;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

/* Word-by-word soft staggered fade-in for curriculum description */
.hero-desc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
  filter: blur(1.5px);
  animation: heroWordFadeInSoft 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--w-idx, 0) * 22ms + 40ms);
  will-change: opacity, transform, filter;
}

@keyframes heroWordFadeInSoft {
  0% {
    opacity: 0;
    transform: translateY(5px);
    filter: blur(1.5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Staged Soft Kinetic Exit State (Decoupled from Background Photo) */
.hero-unified-badge.hero-text-soft-exit {
  opacity: 0 !important;
  transform: translateY(-6px) scale(0.99) !important;
  filter: blur(2px) !important;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-headline.hero-text-soft-exit {
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  filter: blur(2px) !important;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-description.hero-text-soft-exit {
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  filter: blur(2px) !important;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  border-radius: 11px;
  padding: 13px 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-actions .btn.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
  border-radius: 11px;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.28);
}

/* ==========================================================================
   HERO PRIMARY CTA: CIRCULAR RIPPLE EXPANSION HOVER EFFECT (NAVY TO ROYAL GOLD)
   Animasi transisi warna menyebar secara melingkar dari titik kursor mouse (Expanding Ripple)
   ========================================================================== */
#heroCta1 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.28);
  isolation: isolate;
  z-index: 1;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#heroCta1 .btn-ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDE047 0%, #FBBF24 50%, #F59E0B 100%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  will-change: transform, opacity;
}

#heroCta1.is-hovered .btn-ripple-wave {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

#heroCta1.is-hovered {
  border-color: #FBBF24;
  box-shadow: 0 10px 28px rgba(251, 191, 36, 0.45), 0 4px 14px rgba(10, 37, 64, 0.2);
  transform: translateY(-2px);
}

#heroCta1 span:not(.btn-ripple-wave),
#heroCta1 svg {
  position: relative;
  z-index: 2;
  transition: color 0.32s ease, stroke 0.32s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#heroCta1.is-hovered span:not(.btn-ripple-wave),
#heroCta1.is-hovered #heroCta1Text {
  color: #0A2540 !important;
  font-weight: 800;
}

#heroCta1.is-hovered svg {
  stroke: #0A2540 !important;
  transform: translateX(4px);
}

.hero-btn-outline-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(15, 76, 129, 0.22);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 11px;
}

.hero-btn-outline-glass:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(15, 76, 129, 0.35);
}


.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--color-sky);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

/* 4. FLOATING STATS BAR (Exact Match to Reference, No Overlap) */
.floating-stats-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding-bottom: 24px;
}

.stats-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 22px 36px;
  box-shadow: 0 16px 40px -10px rgba(15, 76, 129, 0.12), 0 2px 6px rgba(15, 76, 129, 0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--color-border-light);
  padding-right: 20px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-sky);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-body);
  font-weight: 600;
}

.highlight-gold {
  color: #C59B27;
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* 5. TENTANG YAYASAN SECTION (VISI & MISI RESMI - EXECUTIVE INSTITUTIONAL DESIGN) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.about-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* About Section Institutional Kicker Header (Ultra-Executive & Prestigious - Clean Left-Aligned) */
.about-kicker-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 6px;
  text-align: left;
}

.about-kicker-tag {
  background: transparent !important;
  background-color: transparent !important;
  color: #0A2540;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
}

.about-kicker-tag::before {
  display: none !important;
}

.about-kicker-tag:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.about-kicker-tag svg,
.about-kicker-tag svg.about-kicker-icon {
  display: none !important;
}

.about-kicker-dot {
  color: #C59B27;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.85;
}

.about-kicker-meta {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

@media (max-width: 576px) {
  .about-kicker-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
  }
  .about-kicker-tag {
    font-size: 0.72rem;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    letter-spacing: 0.07em;
    text-align: left;
    justify-content: flex-start;
  }
  .about-kicker-dot {
    display: none !important;
  }
  .about-kicker-meta {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    width: 100%;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Grand Executive Complex Showcase Frame (Tinggi, Megah & Bernapas) */
.about-grand-showcase {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.12), 0 0 0 1px rgba(251, 191, 36, 0.35);
  border: 2px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0A2540;
}

.grand-showcase-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.grand-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-grand-showcase:hover .grand-showcase-img {
  transform: scale(1.04);
}

.grand-showcase-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.35) 0%, transparent 25%, transparent 55%, rgba(10, 37, 64, 0.85) 100%);
  pointer-events: none;
}

.grand-showcase-top-badge {
  position: relative;
  z-index: 2;
  margin: 12px;
  align-self: flex-start;
  background: rgba(10, 37, 64, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FBBF24;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.grand-showcase-top-badge .milestone-sparkle {
  color: #FBBF24;
  font-size: 0.70rem;
}

.grand-showcase-footer {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
  color: #FFFFFF;
}

.grand-caption-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.grand-caption-address {
  font-size: 0.75rem;
  color: #E2E8F0;
  margin: 0 0 8px 0;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.grand-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.grand-tag {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #FBBF24;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Institutional About Image Card (Landscape 16:9 - Clean & Dignified) */
.about-image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
  border: 3px solid #FFFFFF;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 310px;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-badge-overlay .badge-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #FFFFFF;
}

.about-badge-overlay .badge-sub {
  color: #FBBF24;
  font-size: 0.72rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 8px;
  margin-left: 2px;
}


/* Executive Yayasan Vision Card (Harmonious Institutional Design - No Asymmetrical Left Border) */
.yayasan-vision-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFD 100%);
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.yayasan-vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.13);
  border-color: rgba(251, 191, 36, 0.45);
}

.vision-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.vision-heading-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vision-accent-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #FBBF24 0%, #C59B27 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.vision-title-text {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0A2540;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.vision-subtitle {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.vision-tag {
  display: none !important;
}

.vision-quote-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.vision-quote-icon {
  color: #FBBF24;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.vision-quote-text {
  font-size: 0.94rem;
  line-height: 1.62;
  color: #0A2540;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

.vision-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px dashed rgba(15, 76, 129, 0.15);
}

.vision-pill {
  font-size: 0.73rem;
  font-weight: 700;
  color: #0A2540;
  background: #FFFFFF;
  border: 1px solid rgba(251, 191, 36, 0.42);
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(10, 37, 64, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vision-bullet {
  color: #D97706;
  font-size: 0.68rem;
}

/* Executive Vision Card Enhancements & Maximized Layout */
.vision-quote-box {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.04) 0%, rgba(251, 191, 36, 0.06) 100%);
  border-left: 3.5px solid #C59B27;
  border-radius: 0 14px 14px 0;
  padding: 16px 20px 16px 22px;
  margin-bottom: 0;
}

.vision-quote-mark {
  position: absolute;
  top: -2px;
  left: 8px;
  font-size: 2.4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(197, 155, 39, 0.25);
  pointer-events: none;
}

.vision-quote-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #0A2540;
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 1;
}

.vision-quote-text strong {
  color: #0F4C81;
  font-weight: 700;
}

.vision-pillars-block {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
}

.vision-pillars-header {
  margin-bottom: 8px;
}

.vision-pillars-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
  display: inline-block;
}

.vision-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}

.vision-pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(10, 37, 64, 0.03);
  transition: all 0.25s ease;
}

.vision-pillar-card:hover {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.07);
  transform: translateY(-1px);
}

.vision-pillar-bullet {
  font-size: 0.65rem;
  font-weight: 800;
  color: #C59B27;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 3px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  font-family: monospace;
}

.vision-pillar-content {
  min-width: 0;
  flex: 1;
}

.vision-pillar-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.25;
  display: block;
}

.vision-pillar-desc {
  font-size: 0.66rem;
  color: #64748B;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Executive Section Title for About Yayasan (Strict Two-Line Layout & Royal Aesthetics) */
.about-main-title {
  font-size: clamp(1.42rem, 2.28vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-top: 4px;
  margin-bottom: 2px;
  color: #0A2540;
}

.about-main-title .about-title-line {
  display: block;
}

.about-main-title .about-title-line-1 {
  font-size: 0.94em;
  font-weight: 800;
  color: #0A2540;
  letter-spacing: -0.015em;
}

.about-main-title .about-title-line-2 {
  margin-top: 2px;
}

.about-main-title .highlight-gold.about-brand-name {
  background: linear-gradient(135deg, #B45309 0%, #D97706 20%, #F59E0B 45%, #FBBF24 55%, #D97706 80%, #92400E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 850;
  filter: drop-shadow(0 1px 2px rgba(180, 83, 9, 0.16));
  display: inline-block;
}

.about-main-title .about-title-city {
  color: #0A2540;
  font-weight: 800;
  display: inline-block;
}

/* Executive Accent Flourish Under Headline (Gold-Navy Luxury Divider) */
.about-title-flourish {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 18px 0;
}

.about-title-flourish .flourish-bar-main {
  width: 64px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FBBF24 0%, #D97706 45%, #0F4C81 100%);
  box-shadow: 0 1.5px 5px rgba(251, 191, 36, 0.35);
}

.about-title-flourish .flourish-gem {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: #C59B27;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.7);
  border-radius: 1px;
}

.about-title-flourish .flourish-bar-sub {
  width: 16px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.32);
}

/* Midnight Gold Concierge Card (Opsi C - Equalizer for About Section) */
.about-visit-card {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-visit-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-visit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.26);
}

.visit-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.visit-card-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.visit-card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visit-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FBBF24;
}

.visit-card-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  font-family: var(--font-heading);
}

.visit-card-text {
  font-size: 0.81rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px 0;
}

.visit-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.visit-feature-item {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.22);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.visit-check {
  color: #FBBF24;
  font-weight: 800;
}

.visit-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.visit-action-btn {
  font-size: 0.78rem !important;
  padding: 7px 13px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-visit-card .btn-primary {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #0A2540 !important;
  border: 1px solid #FBBF24 !important;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35) !important;
}

.about-visit-card .btn-primary:hover {
  background: #FBBF24 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.45) !important;
}

.about-visit-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px);
}

.about-visit-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   EXECUTIVE HISTORY GATEWAY BANNER (#tentang)
   Prestisius, Dinamis & Berwibawa (1984 - 2026)
   ========================================================================== */
.about-history-banner-wrapper {
  margin-bottom: 22px;
}

.about-history-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  border-radius: 14px;
  padding: 14px 20px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-history-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 155, 39, 0.55);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  background: #FFFDF8;
}

.about-history-banner .history-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 76, 129, 0.07);
  color: #0F4C81;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  border: 1px solid rgba(15, 76, 129, 0.12);
}

.about-history-banner:hover .history-banner-icon {
  background: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
}

.about-history-banner .history-banner-content {
  flex: 1;
  min-width: 0;
}

.about-history-banner .history-banner-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C59B27;
  margin-bottom: 3px;
}

.about-history-banner .history-banner-heading {
  margin: 0 0 3px;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.about-history-banner:hover .history-banner-heading {
  color: #0F4C81;
}

.about-history-banner .history-banner-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-history-banner .history-banner-arrow {
  color: #94A3B8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.about-history-banner:hover .history-banner-arrow {
  color: #C59B27;
  transform: translateX(4px);
}

.history-banner-accent,
.history-banner-seal,
.history-banner-kicker {
  display: none !important;
}

/* Executive 5 Missions Box (Interconnected Mission Stepper) */
.yayasan-mission-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(15, 76, 129, 0.07);
}

.mission-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #EDF2F7;
}

.mission-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
}

.mission-box-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: #0A2540;
  font-family: var(--font-heading);
}

.mission-box-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}

.mission-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: #F8FAFD;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 12px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.mission-item:hover {
  background: #FFFFFF;
  border-color: rgba(251, 191, 36, 0.6);
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.08);
}

.mission-number {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  font-size: 0.84rem;
  font-weight: 900;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.2);
}

.mission-text-wrap {
  flex: 1;
}

.mission-point-title {
  margin: 0 0 2px 0;
  font-size: 0.93rem;
  font-weight: 800;
  color: #0A2540;
}

.mission-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #475569;
}

.mission-item-arrow {
  font-size: 1rem;
  font-weight: 800;
  color: #CBD5E1;
  transition: all 0.25s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.mission-item:hover .mission-item-arrow {
  color: #FBBF24;
  transform: translateX(3px);
}

/* 4 CORE PILLARS GRID (EXECUTIVE INSTITUTIONAL DESIGN - ULTRA ELEGAN) */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 76, 129, 0.12);
}

.about-pillar-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  padding: 26px 22px 20px;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 4px 20px -4px rgba(10, 37, 64, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top luxury metallic gradient bar */
.about-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0A2540 0%, #0F4C81 35%, #FBBF24 70%, #C59B27 100%);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.about-pillar-card:hover {
  transform: translateY(-7px);
  background: #FFFFFF;
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 16px 36px -8px rgba(10, 37, 64, 0.14), 0 0 0 1px rgba(251, 191, 36, 0.35);
}

.about-pillar-card:hover::before {
  height: 5px;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Unified Executive Icon Container */
.about-pillar-icon-tiered {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.about-pillar-card:hover .about-pillar-icon-tiered {
  transform: translateY(-2px) scale(1.06);
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #082440;
  border-color: #FBBF24;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Pillar Index Badge (Clean & High-Contrast) */
.pillar-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0F4C81;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.pillar-index-badge strong {
  color: #C59B27;
  font-size: 0.88rem;
  font-weight: 900;
}

.about-pillar-card:hover .pillar-index-badge {
  background: #0A2540;
  color: #FFFFFF;
  border-color: #0A2540;
}

.about-pillar-card:hover .pillar-index-badge strong {
  color: #FBBF24;
}

.pillar-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.about-pillar-title {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #082440;
  font-family: var(--font-heading);
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.about-pillar-card:hover .about-pillar-title {
  color: #0F4C81;
}

.about-pillar-desc {
  margin: 0 0 16px 0;
  font-size: 0.88rem;
  line-height: 1.62;
  color: #475569;
  min-height: 4.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.pillar-card-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #082440;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 8px 12px;
  border-radius: 10px;
  margin-top: auto;
  width: 100%;
  transition: all 0.25s ease;
}

.pillar-tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C59B27;
  flex-shrink: 0;
}

.about-pillar-card:hover .pillar-card-tag {
  background: #FFFBEB;
  border-color: rgba(251, 191, 36, 0.45);
}

.about-pillar-card:hover .pillar-tag-bullet {
  background: #D97706;
}

/* ==========================================================================
   EXECUTIVE SECTION HEADER PSB ACTION BUTTON (BESPOKE GOLDEN MASTER UI)
   ========================================================================== */
.unit-header-action-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.btn-unit-psb-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 10px 20px 10px 12px;
  border-radius: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-unit-psb-cta .btn-psb-icon-glow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FBBF24;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-unit-psb-cta .btn-psb-text {
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
}

.btn-unit-psb-cta .btn-psb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FBBF24;
  margin-left: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-unit-psb-cta:hover {
  background: linear-gradient(135deg, #06182B 0%, #0A2540 100%);
  border-color: #FBBF24;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.28), 0 0 16px rgba(251, 191, 36, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.btn-unit-psb-cta:hover .btn-psb-icon-glow {
  transform: scale(1.1) rotate(6deg);
  background: rgba(251, 191, 36, 0.3);
}

.btn-unit-psb-cta:hover .btn-psb-arrow {
  transform: translateX(4px);
}

.btn-unit-psb-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.2);
}

@media (max-width: 768px) {
  .unit-header-action-wrap {
    width: auto;
    display: inline-flex;
    margin-top: 6px;
    margin-bottom: 0;
  }
  .btn-unit-psb-cta {
    width: auto;
    display: inline-flex;
    padding: 8px 16px 8px 10px;
    font-size: 0.84rem;
    gap: 8px;
    border-radius: 7px;
  }
  .btn-unit-psb-cta .btn-psb-icon-glow {
    width: 24px;
    height: 24px;
    border-radius: 5px;
  }
  .btn-unit-psb-cta .btn-psb-icon-glow svg {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   INTERACTIVE SEGMENTED TABS COMPONENT (FOR STREAMLINED COMPACT SECTIONS)
   ========================================================================== */
.segmented-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 10px 0 36px;
  position: relative;
  z-index: 5;
}

.segmented-tabs {
  display: inline-flex;
  background: #FFFFFF;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.segmented-tabs::-webkit-scrollbar {
  display: none;
}

.segmented-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-tab-btn .tab-svg-icon {
  color: #94A3B8;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.segmented-tab-btn:hover {
  color: #0A2540;
  background: rgba(15, 76, 129, 0.05);
}

.segmented-tab-btn:hover .tab-svg-icon {
  color: #0A2540;
  transform: translateY(-1px);
}

.segmented-tab-btn.active {
  background: #0A2540;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.22);
}

.segmented-tab-btn.active .tab-svg-icon {
  color: #FBBF24;
}

.segmented-tab-pane {
  display: none;
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.segmented-tab-pane.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .segmented-tabs-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 14px 8px;
    margin: 4px -14px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .segmented-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }
  .segmented-tabs {
    border-radius: 12px;
    padding: 4px;
    gap: 3px;
  }
  .segmented-tab-btn {
    padding: 7px 13px;
    font-size: 0.78rem;
    gap: 6px;
    border-radius: 8px;
  }
  .segmented-tab-btn .tab-svg-icon {
    width: 14px;
    height: 14px;
  }
}

/* Segmented Tabs Duo (2-Tab Switcher - Full Width Equal Split on Mobile) */
.segmented-tabs-duo .tab-text-short {
  display: none;
}

@media (max-width: 640px) {
  .segmented-tabs-duo-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: stretch !important;
    margin: 14px 0 20px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .segmented-tabs-duo {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    box-sizing: border-box !important;
    padding: 4px !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }
  .segmented-tabs-duo .segmented-tab-btn {
    width: 100% !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 9px 4px !important;
    font-size: 0.76rem !important;
    gap: 5px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
  }
  .segmented-tabs-duo .segmented-tab-btn .tab-svg-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }
  .segmented-tabs-duo .tab-text-full {
    display: none !important;
  }
  .segmented-tabs-duo .tab-text-short {
    display: inline !important;
  }
}

/* 6. PONDOK PESANTREN & SATUAN PENDIDIKAN TERPADU */
.pesantren-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.pesantren-card {
  border-radius: 20px;
  padding: 0;
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.pesantren-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.14);
  border-color: #FBBF24;
}

.pesantren-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 280px;
  overflow: hidden;
  background: #0A2540;
}

.pesantren-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.5) 0%, transparent 45%, rgba(10, 37, 64, 0.65) 100%);
  pointer-events: none;
}

.pesantren-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.pesantren-card:hover .pesantren-card-media img {
  transform: scale(1.05);
}

.pesantren-media-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
}

.pesantren-badge-tag {
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.pesantren-badge-tag svg {
  color: #FBBF24;
  flex-shrink: 0;
}

.pesantren-card.putri-card .pesantren-badge-tag {
  background: rgba(139, 21, 67, 0.88);
  border-color: rgba(244, 114, 182, 0.45);
  color: #FFFFFF;
}

.pesantren-card.putri-card .pesantren-badge-tag svg {
  color: #F9A8D4;
}

.pesantren-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A2540;
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pesantren-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pesantren-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   EXECUTIVE ENDORSEMENT STRIP (MUSYRIF & PENGASUH ASRAMA)
   Desain Rapi, Geometris Elegan, Tegas & Bebas Efek Terlalu Rounded
   ========================================================================== */
.pesantren-leader-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Aksen Garis Emas Presisi di Atas Plakat */
.pesantren-leader-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  width: 36px;
  height: 2.5px;
  background: #FBBF24;
  border-radius: 2px;
  pointer-events: none;
}

.pesantren-leader-strip.putri {
  background: #FFFFFF;
  border-color: rgba(225, 29, 72, 0.18);
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.04);
}

.pesantren-leader-strip.putri::before {
  background: #E11D48;
}

/* Avatar Pengasuh: Squircle Tegas & Berwibawa */
.pesantren-leader-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #0A2540;
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.12);
  transition: transform 0.2s ease;
}

.pesantren-leader-strip.putri .pesantren-leader-avatar {
  background: #9F1239;
  color: #FFFFFF;
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 2px 6px rgba(159, 18, 57, 0.12);
}

.pesantren-leader-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-grow: 1;
}

/* Role: Micro-Badge Tegas & Bersih (Tidak Terlalu Rounded) */
.pesantren-leader-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #B45309;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.22);
  padding: 1.5px 6px;
  border-radius: 4px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
}

.pesantren-leader-strip.putri .pesantren-leader-role {
  color: #BE123C;
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.22);
}

.pesantren-leader-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action: Tombol Mini Rapi Berujung Halus */
.pesantren-leader-action {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0A2540;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pesantren-leader-action .action-arrow {
  transition: transform 0.2s ease;
}

.pesantren-leader-strip.putri .pesantren-leader-action {
  color: #9F1239;
  background: #FFF1F2;
  border-color: #FECDD3;
}

/* Hover Micro-Interactions */
.pesantren-leader-strip.clickable {
  cursor: pointer;
}

.pesantren-leader-strip.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
  border-color: #0F4C81;
}

.pesantren-leader-strip.clickable:hover .pesantren-leader-avatar {
  transform: scale(1.05);
}

.pesantren-leader-strip.clickable:hover .pesantren-leader-action {
  background: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.15);
}

.pesantren-leader-strip.clickable:hover .pesantren-leader-action .action-arrow {
  transform: translateX(3px);
}

.pesantren-leader-strip.putri.clickable:hover {
  border-color: #E11D48;
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.08);
}

.pesantren-leader-strip.putri.clickable:hover .pesantren-leader-action {
  background: #9F1239;
  color: #FFFFFF;
  border-color: #9F1239;
  box-shadow: 0 2px 6px rgba(159, 18, 57, 0.15);
}

/* Responsif Mobile Ramping */
@media (max-width: 480px) {
  .pesantren-leader-strip {
    padding: 8px 10px;
    gap: 9px;
    border-radius: 7px;
    margin-bottom: 12px;
  }
  .pesantren-leader-avatar {
    width: 34px;
    height: 34px;
    border-radius: 5px;
  }
  .pesantren-leader-name {
    font-size: 0.79rem;
  }
  .pesantren-leader-role {
    font-size: 0.60rem;
    padding: 1px 5px;
    border-radius: 3px;
    margin-bottom: 1.5px;
  }
  .pesantren-leader-action {
    font-size: 0.67rem;
    padding: 4px 8px;
    border-radius: 5px;
  }
}

.pesantren-card-summary {
  font-size: 0.86rem;
  line-height: 1.62;
  color: #475569;
  margin-bottom: 18px;
  flex-grow: 1;
}

.pesantren-card-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: #F8FAFD;
  border-radius: 12px;
  border: 1px solid rgba(15, 76, 129, 0.08);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFFFFF;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid rgba(15, 76, 129, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.highlight-icon-svg {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 76, 129, 0.08);
  color: #0F4C81;
  border: 1px solid rgba(15, 76, 129, 0.12);
  margin-top: 1px;
}

.pesantren-card.putri-card .highlight-icon-svg {
  background: rgba(157, 23, 77, 0.08);
  color: #9D174D;
  border-color: rgba(157, 23, 77, 0.15);
}

.highlight-item strong {
  display: block;
  font-size: 0.82rem;
  color: #0A2540;
  font-weight: 700;
  line-height: 1.3;
}

.highlight-item p {
  margin: 2px 0 0 0;
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.4;
}

.pesantren-card-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.unit-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-sky);
}

.unit-thumb {
  position: relative;
  height: 175px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.unit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.unit-card:hover .unit-thumb img {
  transform: scale(1.05);
}

/* Modern Executive Unit Card Layout (Foto Bersih, Rata Kiri & Meta Row Terpadu) */
.unit-icon-floating {
  display: none !important;
}

.unit-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  width: 100%;
  flex-wrap: wrap;
}

.unit-category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0A2540;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(15, 76, 129, 0.06);
  padding: 0 8px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid rgba(15, 76, 129, 0.16);
  max-width: 100%;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.unit-card:hover .unit-category-kicker {
  background: rgba(15, 76, 129, 0.10);
  border-color: rgba(251, 191, 36, 0.5);
}

.unit-kicker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C59B27;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(197, 155, 39, 0.6);
}

.unit-accred-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border: 1px solid rgba(251, 191, 36, 0.6);
  padding: 0 8px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.15);
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
  transition: all 0.25s ease;
}

.unit-accred-badge-pill .accred-star-icon {
  color: #FBBF24;
  font-size: 0.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.7));
}

.unit-accred-badge-pill .accred-grade-text {
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1;
}

.unit-card:hover .unit-accred-badge-pill {
  border-color: #FCD34D;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
  transform: translateY(-1px);
}

.unit-body {
  padding: 22px 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.unit-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 8px;
  line-height: 1.32;
  text-align: left;
  transition: color 0.25s ease;
}

.unit-card:hover .unit-title {
  color: #0F4C81;
}

.unit-headmaster-row {
  font-size: 0.76rem;
  color: #0F4C81;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 76, 129, 0.04);
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid rgba(15, 76, 129, 0.08);
}

.unit-headmaster-row svg {
  color: #C59B27;
  flex-shrink: 0;
}

.unit-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.58;
  margin-bottom: 16px;
  flex-grow: 1;
  text-align: left;
}

.unit-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 76, 129, 0.08);
  margin-top: auto;
}

.unit-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F4C81;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.unit-card:hover .unit-link {
  color: #C59B27;
  transform: translateX(3px);
}

/* 6B. PROGRAM UNGGULAN & KHIDMAH SANTRI SECTION */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.program-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.14);
  border-color: var(--color-sky);
}

.program-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #0F172A;
}

.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-card-thumb img {
  transform: scale(1.06);
}

.program-category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 76, 129, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.program-badge-right {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.program-thumb-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 25, 44, 0.95) 100%);
  color: #fff;
}

.program-thumb-title h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.program-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-target-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  padding: 6px 12px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.program-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.program-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.program-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
}

.program-feature-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* 7. DEWAN PIMPINAN & PEMBINA (Reference "Dokter Spesialis") */
.leadership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.leader-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.leader-photo-wrap {
  background: linear-gradient(180deg, #F0F7FF 0%, #E3F2FD 100%);
  padding: 24px 20px 0;
  display: flex;
  justify-content: center;
  height: 240px;
  overflow: hidden;
}

.leader-photo-wrap img {
  width: 170px;
  height: 216px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.leader-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leader-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.leader-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--color-sky-light);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.leader-btn {
  margin-top: auto;
}

/* 8. FASILITAS UNGGULAN YAYASAN & PESANTREN TERPADU */
.facilities-header-action {
  display: flex;
  align-items: center;
}

.facilities-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 12px;
}

.facility-showcase-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.facility-showcase-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: #BFDBFE;
}

.facility-showcase-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0F172A;
}

.facility-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.facility-showcase-card:hover .facility-thumb-img {
  transform: scale(1.07);
}

.facility-thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 64, 0.15) 0%, rgba(8, 36, 64, 0.65) 100%);
  pointer-events: none;
}

.facility-thumb-badges {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.facility-cat-badge {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 92%;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.facility-cap-badge {
  background: linear-gradient(135deg, #FDE047 0%, #FBBF24 50%, #F59E0B 100%);
  color: #0A2540;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 92%;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Institutional Grand Section Badge */
.section-badge-lg {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 22px;
  background: #E8F2FA;
  color: #0A2540;
  border: 1.5px solid #BAE0F7;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(13, 59, 102, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-badge-lg svg {
  width: 18px;
  height: 18px;
  color: #C59B27;
  flex-shrink: 0;
}

.facility-showcase-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-target-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #075985;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
  max-width: 100%;
  line-height: 1.35;
}

.facility-showcase-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.facility-showcase-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 4.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.facility-specs-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  min-height: 80px;
}

.facility-spec-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.80rem;
  color: #1E293B;
  font-weight: 600;
}

.facility-spec-chip svg {
  color: #059669;
  flex-shrink: 0;
}

.facility-showcase-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  margin-top: auto;
}

.facility-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.facility-showcase-card:hover .facility-explore-btn {
  color: var(--color-gold-dark);
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .facilities-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .facilities-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .facility-showcase-card {
    border-radius: 16px;
  }

  .facility-thumb-badges {
    inset: 10px;
  }

  .facility-cat-badge,
  .facility-cap-badge {
    font-size: 0.67rem;
    padding: 3px 8px;
    border-radius: 5px;
    max-width: 94%;
  }

  .section-badge-lg {
    font-size: 0.88rem;
    padding: 7px 18px;
    margin-bottom: 12px;
  }

  .facility-showcase-body {
    padding: 16px 16px 18px;
  }

  .facility-target-row {
    font-size: 0.72rem;
    padding: 4px 8px;
    margin-bottom: 8px;
    white-space: normal;
  }

  .facility-showcase-title {
    font-size: 1.05rem;
    min-height: auto;
    margin-bottom: 6px;
  }

  .facility-showcase-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    min-height: auto;
    margin-bottom: 12px;
    color: #334155;
  }

  .facility-specs-chips {
    min-height: auto;
    padding-top: 10px;
    margin-bottom: 12px;
    gap: 6px;
  }

  .facility-spec-chip {
    font-size: 0.78rem;
  }

  .facility-explore-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #0F4C81;
  }
}

/* Backward compatibility for banner layout */
.facilities-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-xl);
  padding: 50px;
  color: var(--color-white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

/* 9. WARTA & BERITA (Portal Publikasi & Media Informasi Terpadu) */
.news-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-count-badge {
  background: #EFF6FF;
  color: #1E40AF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.18);
  letter-spacing: 0.01em;
}

.news-toolbar,
.news-toolbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.news-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.news-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.news-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #EFF6FF;
  transform: translateY(-1px);
}

.news-filter-btn.active {
  background: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.22);
  font-weight: 700;
}

.news-search-box {
  position: relative;
  min-width: 260px;
  max-width: 380px;
  flex: 1;
}

.news-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.news-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
}

.news-count-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C59B27;
  box-shadow: 0 0 6px rgba(197, 155, 39, 0.6);
}

.news-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}

.news-search-input {
  width: 100%;
  padding: 9px 36px 9px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.85rem;
  color: var(--color-text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.news-search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.news-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E2E8F0;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: background 0.15s ease;
}

.news-search-clear:hover {
  background: #CBD5E1;
  color: #0F172A;
}

/* ===================================================================
   BERITA UTAMA (FEATURED HEADLINE NEWS HERO CARD)
   Pixel-perfect reference implementation with Deep Islamic Navy & Gold Accent
   =================================================================== */
.news-featured-area {
  margin-bottom: 32px;
}

.featured-news-card {
  display: flex;
  background: #0A2540;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(10, 37, 64, 0.16);
  border: 1.5px solid rgba(15, 76, 129, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.featured-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.28);
  border-color: rgba(251, 191, 36, 0.5);
}

.featured-news-media {
  position: relative;
  flex: 1.15;
  min-height: 380px;
  overflow: hidden;
  background: #071E34;
}

.featured-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-news-card:hover .featured-news-img {
  transform: scale(1.04);
}

/* Floating "📌 BERITA UTAMA" Badge */
.featured-news-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  user-select: none;
}

.featured-news-badge svg,
.featured-news-badge .badge-icon {
  font-size: 0.85rem;
}

/* Right Editorial Column */
.featured-news-body {
  flex: 1;
  background: linear-gradient(135deg, #071E34 0%, #0A2540 55%, #0F4C81 100%);
  color: #FFFFFF;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.featured-news-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.featured-cat-pill {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.featured-read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #94A3B8;
  font-size: 0.80rem;
  font-weight: 600;
}

.featured-news-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-news-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0 0 24px 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 12px;
}

.featured-author-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
}

.featured-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38BDF8;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.featured-news-card:hover .featured-read-more-btn {
  color: #FBBF24;
  transform: translateX(4px);
}

/* Mobile & Tablet Responsiveness (< 991px & < 640px) */
@media (max-width: 991px) {
  .news-featured-area {
    margin-bottom: 24px;
  }
  .featured-news-card {
    flex-direction: column;
    margin-bottom: 24px;
  }
  .featured-news-media {
    min-height: 240px;
    height: 240px;
    width: 100%;
  }
  .featured-news-body {
    padding: 24px 20px;
  }
  .featured-news-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .news-featured-area {
    margin-bottom: 20px;
  }
  .featured-news-card {
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .featured-news-media {
    min-height: 210px;
    height: 210px;
  }
  .featured-news-badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.68rem;
    gap: 5px;
  }
  .featured-news-body {
    padding: 18px 14px 20px;
  }
  .featured-news-meta-top {
    margin-bottom: 10px;
    gap: 8px;
  }
  .featured-cat-pill {
    font-size: 0.7rem;
    padding: 3px 9px;
  }
  .featured-read-time {
    font-size: 0.74rem;
  }
  .featured-news-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
    -webkit-line-clamp: 3;
  }
  .featured-news-desc {
    font-size: 0.80rem;
    line-height: 1.48;
    margin-bottom: 14px;
    -webkit-line-clamp: 3;
  }
  .featured-news-footer {
    padding-top: 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .featured-author-date {
    font-size: 0.72rem;
  }
  .featured-read-more-btn {
    font-size: 0.78rem;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
}

.news-card:hover, .news-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(15, 76, 129, 0.14), 0 0 1px 1px rgba(15, 76, 129, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.news-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: #0F172A;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-card:hover .news-thumb-img {
  transform: scale(1.08);
}

.news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0 9px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
  z-index: 2;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.news-badge::before {
  content: '';
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.badge-cat-akademik {
  background: rgba(10, 37, 64, 0.88);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.badge-cat-akademik::before {
  background: #38BDF8;
  box-shadow: 0 0 5px rgba(56, 189, 248, 0.85);
}

.badge-cat-kegiatan {
  background: rgba(10, 37, 64, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.badge-cat-kegiatan::before {
  background: #FBBF24;
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.85);
}

.badge-cat-bahasa {
  background: rgba(10, 37, 64, 0.88);
  color: #93C5FD;
  border: 1px solid rgba(147, 197, 253, 0.45);
}
.badge-cat-bahasa::before {
  background: #A78BFA;
  box-shadow: 0 0 5px rgba(167, 139, 250, 0.85);
}

.badge-cat-ppdb {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #0A2540;
  border: 1px solid rgba(251, 191, 36, 0.6);
  font-weight: 800;
}
.badge-cat-ppdb::before {
  background: #0A2540;
}

.badge-cat-default {
  background: rgba(10, 37, 64, 0.88);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge-cat-default::before {
  background: #94A3B8;
  box-shadow: 0 0 4px rgba(148, 163, 184, 0.7);
}

.news-readtime-chip {
  display: none !important;
}

.news-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.76rem;
  color: #64748B;
  margin-bottom: 10px;
}

.news-date-tag, .news-author-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.news-date-tag svg, .news-author-tag svg {
  color: #C59B27;
  flex-shrink: 0;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.42;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.news-card:hover .news-title {
  color: var(--color-accent);
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-body);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.news-read-more svg {
  transition: transform var(--transition-fast);
}

.news-card:hover .news-read-more svg {
  transform: translateX(4px);
}

.btn-news-portal-archive {
  padding: 12px 28px;
  font-weight: 700;
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-white);
  transition: all var(--transition-normal);
  border-radius: var(--radius-full);
}

.btn-news-portal-archive:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 59, 102, 0.18);
}

.btn-news-portal-archive .btn-text-mobile {
  display: none;
}

/* News Empty State */
.news-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--color-border);
  margin-top: 10px;
}

.news-empty-state .empty-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   EXECUTIVE EDITORIAL WARTA & NEWS ARTICLE READER (MODAL VIEW)
   ========================================================================== */
.modal-card:has(.news-article-view) {
  max-width: 820px;
  border-radius: 18px;
}

.news-modal-top-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0A2540;
}

.news-article-view {
  color: #1E293B;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 1. Header Meta & Breadcrumb */
.article-meta-header-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.article-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-breadcrumb-nav .bc-sep {
  color: #CBD5E1;
  font-weight: 400;
}

.article-breadcrumb-nav .bc-cat {
  color: #0F4C81;
  font-weight: 700;
}

.article-meta-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.article-category-badge {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #F8FAFC;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.2);
}

.article-meta-pill {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.article-meta-pill.pill-verified {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.article-meta-pill.pill-readtime {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

/* 2. Headline Utama */
.article-headline {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.015em;
  word-break: break-word;
}

/* 3. Kotak Intisari & Ringkasan Warta (Lead Box) */
.article-lead-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-left: 4px solid #FBBF24;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.lead-box-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0A2540;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.lead-box-text {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.6;
  color: #334155;
  margin: 0;
  font-style: italic;
}

/* 4. Hero Visual Dokumentasi */
.article-hero-image-wrap {
  width: 100%;
  margin: 4px 0 6px;
}

.article-hero-img-container {
  position: relative;
  width: 100%;
  max-height: 380px;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #0A2540;
  box-shadow: 0 8px 24px -6px rgba(10, 37, 64, 0.2);
}

.article-hero-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 37, 64, 0.75) 100%);
  pointer-events: none;
}

.article-hero-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  font-size: 0.74rem;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 5. Isi Narasi Berita Editorial */
.article-content-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #1E293B;
  letter-spacing: -0.005em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.article-paragraph {
  margin-bottom: 20px;
  text-align: left;
  text-wrap: pretty;
  line-height: 1.8;
  color: #334155;
  font-size: 1rem;
  letter-spacing: -0.003em;
}

.article-paragraph:last-child {
  margin-bottom: 0;
}

.article-paragraph.article-lead-p {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.82;
  color: #0F172A;
}

/* 6. Multi-Platform Share Toolbar */
.article-share-bar-modern {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.share-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-bar-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0A2540;
}

.share-bar-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-share-pill:hover {
  background: #EFF6FF;
  border-color: #0F4C81;
  color: #0F4C81;
  transform: translateY(-1px);
}

.btn-share-pill-wa {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-share-pill-wa:hover {
  background: #1eb956;
  color: #FFFFFF;
  border-color: #1eb956;
}

.share-bar-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* 7. Navigasi Switcher Warta Sebelumnya & Selanjutnya */
.article-prev-next-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.btn-nav-article {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
}

.btn-nav-article.next {
  text-align: right;
}

.btn-nav-article:hover {
  background: #EFF6FF;
  border-color: #0F4C81;
  transform: translateY(-1px);
}

.btn-nav-article .nav-dir {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F4C81;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-nav-article.next .nav-dir {
  justify-content: flex-end;
}

.btn-nav-article .nav-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .article-prev-next-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn-nav-article.next {
    text-align: left;
  }
  .btn-nav-article.next .nav-dir {
    justify-content: flex-start;
  }
}

.nav-spacer {
  visibility: hidden;
}

/* 8. REKOMENDASI WARTA BERKAITAN (Contextual Related News Deck) */
.article-related-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px dashed #CBD5E1;
}

.related-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related-badge-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0A2540;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.related-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F4C81;
  margin: 0;
}

.related-topic-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #FDE68A;
}

.related-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.related-card-modern {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.related-card-modern:hover {
  border-color: #0F4C81;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -4px rgba(10, 37, 64, 0.14);
}

.related-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 125px;
  overflow: hidden;
  background: #0A2540;
}

.related-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card-modern:hover .related-card-thumb {
  transform: scale(1.08);
}

.related-card-cat-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(4px);
  color: #F8FAFC;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.related-card-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

.related-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.related-meta-sep {
  color: #CBD5E1;
}

.related-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5em;
}

.related-card-action {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F4C81;
  transition: color var(--transition-fast);
}

.related-card-modern:hover .related-card-action {
  color: #D97706;
}

@media (max-width: 768px) {
  .related-grid-modern {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related-card-modern {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    align-items: stretch !important;
  }
  .related-card-thumb-wrap {
    height: 100% !important;
    min-height: 96px !important;
  }
  .related-card-content {
    padding: 10px 12px !important;
  }
  .related-card-title {
    font-size: 0.84rem !important;
    min-height: auto !important;
  }
}

/* 9. Modal Bottom Actions & Official CTA */
.article-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
  margin-top: 6px;
}

.article-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-close-warta {
  font-weight: 600;
}

/* Toast Notification for Link Copying (Luxury Sleek Pill) */
.news-toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(24px) scale(0.96);
  background: rgba(10, 37, 64, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 12px 30px -4px rgba(7, 25, 45, 0.55), 0 0 16px rgba(34, 211, 238, 0.2);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.24s ease;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 36px);
  box-sizing: border-box;
}

.news-toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.news-toast-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.news-toast-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-toast-text {
  font-size: 0.83rem;
  font-weight: 600;
  color: #F8FAFC;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 10. PRESTASI & TESTIMONI - CATEGORY FILTER TABS */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 6px;
  background-color: var(--color-white);
  color: #334155;
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid #CBD5E1;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
  background-color: #EFF6FF;
  color: #0A2540;
  border-color: #0A2540;
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.22);
}

/* Standar Mobile View: Horizontal Swipe Track Ramping, Rapi & Elegan */
@media (max-width: 768px) {
  .filter-tabs-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
    padding: 2px 8px 8px 8px;
  }

  .filter-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .filter-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    padding: 0 4px;
  }

  .filter-btn {
    padding: 5px 12px;
    font-size: 0.76rem;
    border-radius: 6px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   PRESTASI SANTRI & GURU - CAROUSEL SLIDER (REF: MASKUMAMBANG DUAL MODE)
   Smooth Auto-scroll 3s + Manual Controls (Buttons, Drag & Dots)
   ========================================================================== */
.prestasi-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.prestasi-badge-title {
  background: #FBBF24;
  color: #082440;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   PRESTASI & KARYA - EXECUTIVE HERO STAT CARDS
   ========================================================================== */
.prestasi-stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.prestasi-hero-stat-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.prestasi-hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #C59B27 0%, #FBBF24 50%, #C59B27 100%);
}

.prestasi-hero-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.22);
  border-color: #FBBF24;
}

.prestasi-hero-stat-card .stat-icon-wrapper {
  font-size: 1.6rem;
  margin-bottom: 6px;
  line-height: 1;
}

.prestasi-hero-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0A2540;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.prestasi-hero-stat-card .stat-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F4C81;
  line-height: 1.3;
  margin-bottom: 2px;
}

.prestasi-hero-stat-card .stat-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .prestasi-stats-banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .prestasi-hero-stat-card {
    padding: 14px 10px;
  }
  .prestasi-hero-stat-card .stat-number {
    font-size: 1.6rem;
  }
}

.prestasi-carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.prestasi-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 2px 16px;
  cursor: grab;
  user-select: none;
}

.prestasi-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.prestasi-carousel-viewport.grabbing {
  cursor: grabbing;
}

.prestasi-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  transition: transform 0.4s ease;
}

.prestasi-slide-card {
  width: 370px;
  max-width: 85vw;
  flex-shrink: 0;
  display: flex;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.prestasi-card-inner {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #082440;
  box-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(15, 76, 129, 0.25);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.prestasi-card-inner:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 18px 36px -6px rgba(10, 37, 64, 0.35), 0 6px 14px rgba(0, 0, 0, 0.15);
}

.prestasi-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0F172A;
}

.prestasi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.prestasi-card-inner:hover .prestasi-img {
  transform: scale(1.06);
}

.prestasi-scrim-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 64, 0.15) 0%, rgba(8, 36, 64, 0.35) 45%, rgba(8, 36, 64, 0.92) 100%);
  pointer-events: none;
}

.prestasi-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.prestasi-year-badge {
  background: rgba(8, 36, 64, 0.88);
  backdrop-filter: blur(8px);
  color: #F8FAFC;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.prestasi-cat-badge {
  background: #FBBF24;
  color: #082440;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Floating Overlay Box at bottom center */
.prestasi-overlay-box {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.prestasi-winner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FBBF24;
  margin-bottom: 6px;
  line-height: 1.3;
}

.prestasi-card-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prestasi-card-footer-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #FBBF24;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.prestasi-card-inner:hover .prestasi-card-footer-action {
  color: #FFFFFF;
}

.prestasi-card-inner:hover .prestasi-card-footer-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   BESPOKE EDITORIAL LAYOUT FOR PRESTASI DETAIL (MATCHING SCREENSHOT BENCHMARK)
   Two-column article view: Main Editorial Column + Search & Featured Post Sidebar
   ========================================================================== */
.modal-card:has(.prestasi-article-layout) {
  max-width: 1120px !important;
  width: 95vw !important;
  max-height: 92vh !important;
  max-height: 92dvh !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px -15px rgba(10, 37, 64, 0.4) !important;
  background: #FFFFFF !important;
}

.modal-card:has(.prestasi-article-layout) .modal-header {
  padding: 14px 24px !important;
  background: #0A2540 !important;
  color: #FFFFFF !important;
  border-bottom: 2px solid #FBBF24 !important;
}

.modal-card:has(.prestasi-article-layout) .modal-title {
  color: #FFFFFF !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.modal-card:has(.prestasi-article-layout) .modal-close-btn {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s !important;
}

.modal-card:has(.prestasi-article-layout) .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.modal-card:has(.prestasi-article-layout) .modal-body {
  padding: 32px 36px !important;
  max-height: calc(92vh - 65px) !important;
  max-height: calc(92dvh - 65px) !important;
  overflow-y: auto !important;
  background: #FFFFFF !important;
}

.prestasi-article-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

/* LEFT COLUMN: MAIN ARTICLE (~70%) */
.prestasi-article-main {
  flex: 1;
  min-width: 0;
}

.prestasi-article-header {
  margin-bottom: 20px;
}

.prestasi-article-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.85rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.35;
  margin: 0 0 14px 0;
  letter-spacing: -0.015em;
}

.prestasi-article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: #64748B;
  font-weight: 500;
}

.prestasi-article-meta-row .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prestasi-article-meta-row .meta-icon {
  width: 16px;
  height: 16px;
  color: #FBBF24;
  flex-shrink: 0;
}

.prestasi-gold-accent-line {
  width: 70px;
  height: 3.5px;
  background: #FBBF24;
  margin: 16px 0 24px 0;
  border-radius: 2px;
}

.prestasi-article-featured-wrap {
  margin: 0 0 24px 0;
  width: 100%;
}

.prestasi-article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  display: block;
}

.prestasi-article-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #64748B;
  font-style: italic;
}

.prestasi-article-caption .caption-badge {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-style: normal;
}

.prestasi-article-winner-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #0F4C81;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.prestasi-winner-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prestasi-winner-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prestasi-winner-val {
  font-size: 0.92rem;
  color: #0F172A;
  font-weight: 700;
}

.prestasi-article-content {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.prestasi-article-content p {
  margin: 0 0 16px 0;
}

.prestasi-article-content .article-lead {
  font-size: 1.06rem;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.75;
}

.prestasi-article-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
}

/* RIGHT COLUMN: SIDEBAR (~30%, 320px) */
.prestasi-article-sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* Search Box with Gold Button */
.prestasi-sidebar-search-box {
  display: flex;
  align-items: stretch;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prestasi-sidebar-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1E293B;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
  transition: all 0.2s;
}

.prestasi-sidebar-search-input:focus {
  background: #FFFFFF;
  border-color: #FBBF24;
}

.prestasi-sidebar-search-btn {
  width: 44px;
  background: #FBBF24;
  border: 1.5px solid #FBBF24;
  border-radius: 0 6px 6px 0;
  color: #0A2540;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.prestasi-sidebar-search-btn:hover {
  background: #F59E0B;
  border-color: #F59E0B;
}

/* Featured Post Widget */
.prestasi-sidebar-widget {
  background: #FFFFFF;
}

.prestasi-sidebar-widget-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #E2E8F0;
}

.prestasi-sidebar-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-post-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s;
}

.featured-post-item:hover {
  transform: translateX(2px);
}

.featured-post-cat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
}

.featured-post-cat svg {
  color: #64748B;
  flex-shrink: 0;
}

.featured-post-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.featured-post-thumb {
  width: 76px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.featured-post-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.38;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.featured-post-row:hover .featured-post-title {
  color: #0F4C81;
}

/* Mobile Responsive - Samsung Galaxy A55 Benchmark (≤ 768px) */
@media (max-width: 768px) {
  .modal-card:has(.prestasi-article-layout) {
    width: 96vw !important;
    max-height: 94vh !important;
    max-height: 94dvh !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
  }

  .modal-card:has(.prestasi-article-layout) .modal-body {
    padding: 18px 16px !important;
  }

  .prestasi-article-layout {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .prestasi-article-sidebar {
    width: 100% !important;
    border-top: 1.5px solid #E2E8F0 !important;
    padding-top: 24px !important;
  }

  .prestasi-article-title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  .prestasi-article-featured-img {
    max-height: 260px !important;
  }

  .featured-post-thumb {
    width: 70px !important;
    height: 50px !important;
  }
}

/* ==========================================================================
   ETALASE KEHORMATAN TASMIK 5 JUZ SANTRI TAHFIDZ (PROGRAM UNGGULAN)
   ========================================================================== */
.tasmik-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
}

.tasmik-filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 26px;
}

.tasmik-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.tasmik-filter-btn {
  padding: 6px 14px;
  border-radius: 6px;
  background-color: var(--color-white);
  color: #334155;
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid #CBD5E1;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.tasmik-filter-btn:hover {
  background-color: #EFF6FF;
  color: #0A2540;
  border-color: #0A2540;
  transform: translateY(-1px);
}

.tasmik-filter-btn.active {
  background-color: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.22);
}

@media (max-width: 768px) {
  .tasmik-filter-tabs-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
    padding: 2px 8px 8px 8px;
  }
  .tasmik-filter-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }
  .tasmik-filter-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    width: max-content;
    padding: 0 4px;
  }
  .tasmik-filter-btn {
    padding: 5px 12px;
    font-size: 0.76rem;
    border-radius: 6px;
    flex-shrink: 0;
  }
}

.tasmik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

@media (max-width: 640px) {
  .tasmik-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.tasmik-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tasmik-card:hover {
  transform: translateY(-4px);
  border-color: #FBBF24;
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.12);
}

.tasmik-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0F172A;
}

.tasmik-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tasmik-card:hover .tasmik-photo-wrap img {
  transform: scale(1.05);
}

.tasmik-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 64, 0.15) 0%, rgba(8, 36, 64, 0.35) 50%, rgba(8, 36, 64, 0.88) 100%);
  pointer-events: none;
}

.tasmik-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 6px;
}

.tasmik-juz-pill {
  background: rgba(10, 37, 64, 0.9);
  backdrop-filter: blur(6px);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tasmik-badge-accompaniment {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tasmik-badge-parent {
  background: #059669;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.tasmik-badge-independent {
  background: rgba(15, 23, 42, 0.9);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.tasmik-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tasmik-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.tasmik-predicate-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.tasmik-date-text {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

.tasmik-name-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.tasmik-unit-sub {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tasmik-accompaniment-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #334155;
}

.tasmik-accompaniment-box strong {
  color: #0A2540;
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.tasmik-card-action {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F4C81;
  transition: color 0.2s ease;
}

.tasmik-card:hover .tasmik-card-action {
  color: #B45309;
}

/* ==========================================================================
   MODAL DETAIL SYAHADAH TASMIK 5 JUZ
   ========================================================================== */
.modal-card:has(.tasmik-dialog-view) {
  max-width: 760px;
  border-radius: 18px;
}

.tasmik-dialog-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tasmik-dialog-hero {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  background: #082440;
}

.tasmik-dialog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tasmik-dialog-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 64, 0.15) 0%, rgba(8, 36, 64, 0.4) 45%, rgba(8, 36, 64, 0.95) 100%);
  pointer-events: none;
}

.tasmik-dialog-hero-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.tasmik-dialog-hero-title {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.tasmik-dialog-hero-title h3 {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.tasmik-dialog-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
}

.tasmik-dialog-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tasmik-dialog-spec-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(10, 37, 64, 0.08);
  color: #0A2540;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tasmik-dialog-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  font-weight: 700;
  line-height: 1.2;
}

.tasmik-dialog-spec-val {
  font-size: 0.88rem;
  color: #0F172A;
  font-weight: 700;
  line-height: 1.3;
}

.tasmik-dialog-narrative-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #059669;
  border-radius: 6px;
  padding: 14px 16px;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.7;
}

.tasmik-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
}

/* Navigation Controls Row (Below Cards on Mobile & Tablet) */
.prestasi-carousel-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  position: relative;
}

/* Floating / Inline Navigation Buttons */
.prestasi-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #082440;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #CBD5E1;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.prestasi-carousel-btn:hover {
  background: #082440;
  color: #FBBF24;
  border-color: #FBBF24;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(8, 36, 64, 0.25);
}

.prestasi-carousel-btn:active {
  transform: scale(0.95);
}

/* Dots Indicator */
.prestasi-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.prestasi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.prestasi-dot:hover {
  background: #94A3B8;
}

.prestasi-dot.active {
  width: 26px;
  border-radius: 9999px;
  background: #0D3B66;
  box-shadow: 0 2px 6px rgba(13, 59, 102, 0.3);
}

/* On Desktop (>= 1140px): Buttons float outside the carousel track */
@media (min-width: 1140px) {
  .prestasi-carousel-btn {
    position: absolute;
    top: -245px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
  }
  .prestasi-carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
  }
  .prestasi-carousel-btn.btn-prev {
    left: -24px;
    right: auto;
  }
  .prestasi-carousel-btn.btn-next {
    right: -24px;
    left: auto;
  }
}

/* On Mobile & Tablet (< 1140px): Buttons sit neatly below the cards flanking the dots, ZERO CONTENT COVERED! */
@media (max-width: 1139px) {
  .prestasi-carousel-btn {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .prestasi-carousel-btn:hover {
    transform: scale(1.06) !important;
  }
  .prestasi-carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  .prestasi-carousel-nav-row {
    margin-top: 16px;
    gap: 14px;
  }
  .prestasi-slide-card {
    width: min(350px, 86vw);
    max-width: 86vw;
  }
}

@media (max-width: 640px) {
  .prestasi-slide-card {
    width: min(340px, 86vw);
    max-width: 86vw;
  }
  .prestasi-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .prestasi-badge-title {
    font-size: 1.15rem;
    padding: 6px 16px;
  }
}

.achievements-grid {
  display: flex;
  gap: 24px;
  width: max-content;
}

.achievement-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.achievement-unit {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
}

.achievement-winner {
  font-size: 0.82rem;
  color: var(--color-text-body);
  margin-top: 4px;
}

/* 10.B RUANG KARYA & KREATIVITAS SANTRI */
.karya-header-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}

.karya-stat-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #0F4C81;
  border: 1px solid rgba(15, 76, 129, 0.12);
}

.karya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.karya-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.karya-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.13);
  border-color: rgba(26, 115, 232, 0.35);
}

.karya-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0F172A;
}

.karya-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.karya-card:hover .karya-thumb-img {
  transform: scale(1.08);
}

.karya-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 76, 129, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.karya-card:hover .karya-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #2563EB;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
}

.karya-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.karya-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.karya-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.karya-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #64748B;
  margin-bottom: 8px;
}

.karya-unit-pill {
  font-weight: 700;
  color: #0F4C81;
}

.karya-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.karya-creator {
  font-size: 0.82rem;
  color: #2563EB;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.karya-synopsis {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.karya-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.karya-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #EF4444;
  background: #FEF2F2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #FEE2E2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.karya-like-btn:hover {
  background: #FEE2E2;
  transform: scale(1.06);
}

.karya-read-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modal Player / Reader for Karya Santri */
.karya-modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.karya-modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.karya-audio-player-box {
  background: linear-gradient(135deg, #0F4C81 0%, #1E3A8A 100%);
  border-radius: 16px;
  padding: 24px;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.25);
}

.karya-audio-cover {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.karya-audio-info {
  flex-grow: 1;
}

.karya-audio-waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin: 10px 0 6px;
}

.wave-bar {
  width: 4px;
  background: #38BDF8;
  border-radius: 2px;
  animation: waveMotion 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.25s; }
.wave-bar:nth-child(4) { height: 40%; animation-delay: 0.15s; }
.wave-bar:nth-child(5) { height: 80%; animation-delay: 0.3s; }
.wave-bar:nth-child(6) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(7) { height: 90%; animation-delay: 0.35s; }
.wave-bar:nth-child(8) { height: 35%; animation-delay: 0.1s; }

@keyframes waveMotion {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.karya-reading-view {
  background: #FDFEFE;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #1E293B;
  white-space: pre-line;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
}

.karya-art-view {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-align: center;
  background: #F8FAFC;
}

.karya-art-view img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
}

/* 11. BOTTOM DUAL-TONE CTA BANNER (Reference "Butuh Bantuan Medis?") */
/* 11. BOTTOM DUAL-TONE CTA BANNER (Executive Institutional Design) */
.dual-cta-banner {
  background: radial-gradient(circle at 95% 10%, rgba(251, 191, 36, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 5% 90%, rgba(15, 76, 129, 0.35) 0%, transparent 50%),
              linear-gradient(135deg, #071E34 0%, #0A2540 55%, #0F4C81 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 14px;
  padding: 38px 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
  color: #FFFFFF;
  box-shadow: 0 20px 45px -12px rgba(10, 37, 64, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.dual-cta-left {
  position: relative;
  z-index: 2;
}

.dual-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #FDE047;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dual-cta-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 8px #FBBF24;
  flex-shrink: 0;
}

.dual-cta-left h3 {
  color: #FFFFFF;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.dual-cta-highlight {
  color: #FDE047;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);
}

.dual-cta-left p {
  color: #E2E8F0;
  font-size: 0.92rem;
  line-height: 1.62;
  margin-bottom: 18px;
  max-width: 520px;
}

.dual-cta-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dual-cta-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.dual-cta-feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #FFFFFF;
}

.feature-item-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #FDE047;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dual-cta-right-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-top: 3.5px solid #FBBF24;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.call-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.call-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #FDE047;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.call-header-text {
  flex: 1;
  min-width: 0;
}

.call-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.call-number {
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.call-number:hover {
  color: #0F4C81;
}

.call-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FBBF24;
  color: #0A2540 !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #F59E0B;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.call-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.5);
  background-color: #FDE047;
  border-color: #FBBF24;
  color: #0A2540 !important;
}

/* 12. KONTAK & MAPS */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.94rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-textarea {
  height: auto;
  min-height: 80px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #0F4C81;
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
  outline: none;
}

.form-row-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

/* Sempurna Seimbang Simetris 50% - 50% */
.form-grid-name-gender {
  grid-template-columns: 1fr 1fr;
}

.form-grid-birth {
  grid-template-columns: 1fr 1fr;
}

.form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: 100%;
  min-height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 13. FOOTER */
.footer {
  background-color: #0A192F;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(4px);
  display: inline-block;
}

/* Executive Footer Unit Link Items (No Emojis / Anti AI Slop) */
.footer-link-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1.4;
}

.footer-link-item:hover {
  color: #FFFFFF !important;
  transform: translateX(4px) !important;
}

.footer-link-item .footer-unit-icon {
  width: 15px;
  height: 15px;
  color: #FBBF24;
  opacity: 0.85;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.footer-link-item:hover .footer-unit-icon {
  opacity: 1;
  color: #FDE047;
  transform: scale(1.1);
}

.footer-link-item .footer-ext-icon {
  width: 11px;
  height: 11px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-left: 2px;
  transition: all 0.2s ease;
}

.footer-link-item:hover .footer-ext-icon {
  color: #FBBF24;
  transform: translate(2px, -2px);
}

.footer-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-left: 3px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.footer-tag-pill.gold {
  background: rgba(251, 191, 36, 0.14);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.32);
}

.footer-tag-pill.blue {
  background: rgba(147, 197, 253, 0.14);
  color: #93C5FD;
  border-color: rgba(147, 197, 253, 0.28);
}

/* Tombol CTA Khusus PPDB di Footer (Emas Mewah Berkontras Tinggi) */
.footer-ppdb-cta {
  color: #FBBF24 !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  margin-top: 4px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-ppdb-cta:hover {
  background: #FBBF24 !important;
  border-color: #FBBF24 !important;
  color: #082440 !important;
  transform: translateX(6px) !important;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

/* Media Sosial Resmi Yayasan di Footer */
.footer-socials-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.footer-socials-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-social-btn svg {
  transition: transform 0.25s ease;
}

.footer-social-btn:hover svg {
  transform: scale(1.12);
}

.footer-social-btn.btn-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.footer-social-btn.btn-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.4);
}

.footer-social-btn.btn-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.btn-tiktok:hover {
  background: #010101;
  border-color: #00f2fe;
  color: #00f2fe;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 242, 254, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-admin-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  padding: 6px;
  border-radius: 6px;
  transition: all 0.25s ease;
  text-decoration: none;
  opacity: 0.6;
}

.footer-admin-lock:hover {
  color: #FBBF24;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

/* 14. MODALS & PPDB REGISTRATION RECEIPT */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 37, 64, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Mobile Drawer Panel System */
.mobile-drawer-panel {
  background: #FFFFFF;
  width: min(320px, 86vw);
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2001;
}

.modal-overlay.active .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #0A2540;
  color: #FFFFFF;
  border-color: #0A2540;
}

.drawer-close-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.drawer-link {
  font-weight: 600;
  color: #334155;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.80rem;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
  transition: all var(--transition-fast);
}

.drawer-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #64748B;
  transition: color var(--transition-fast);
}

.drawer-link:hover, .drawer-link:active {
  background-color: rgba(15, 76, 129, 0.06);
  color: var(--color-primary-dark);
}

.drawer-link:hover svg {
  color: var(--color-primary);
}

.drawer-link-highlight {
  background: rgba(251, 191, 36, 0.12) !important;
  color: #92400E !important;
  font-weight: 700 !important;
}

.drawer-link-highlight svg {
  color: #D97706 !important;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.modal-card {
  background-color: var(--color-white);
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  max-height: calc(100vh - 64px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(10, 37, 64, 0.4), 0 0 0 1px rgba(15, 76, 129, 0.12);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
  margin: auto 0;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

/* Expanded & Immersive Modal for Facility & Unit Prospectus */
.modal-card:has(.facility-dialog-view) {
  max-width: 720px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.22);
}

.modal-card:has(.royal-speech-modal-container),
.modal-card:has(.speech-ref-container),
.modal-card.modal-speech-mode {
  max-width: 860px;
  width: 95%;
  border-radius: 12px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 14px 22px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-body);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background-color: #FEE2E2;
  color: #DC2626;
  border-color: #FCA5A5;
}

.modal-body {
  padding: 20px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   FACILITY IMMERSIVE PROSPECTUS DIALOG VIEW (MODERN & COMPACT)
   ========================================================================== */
.facility-dialog-view {
  display: flex;
  flex-direction: column;
}

/* Ramping, Proporsional & Bebas Overhang */
.facility-dialog-hero-compact {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background-color: #0F172A;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.facility-dialog-hero-compact .facility-dialog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-dialog-scrim-subtle {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.05) 0%, rgba(10, 37, 64, 0.45) 100%);
}

.facility-dialog-badge-float {
  position: absolute;
  bottom: 10px;
  left: 12px;
}

.facility-dialog-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FBBF24;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  letter-spacing: 0.02em;
}

/* Modern Bento Specification Strip */
.facility-dialog-specs-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dialog-spec-bento {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dialog-spec-bento:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.spec-bento-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-bento-icon.icon-gold {
  background: #FEF3C7;
  color: #B45309;
}

.spec-bento-icon.icon-navy {
  background: #E0F2FE;
  color: #0369A1;
}

.spec-bento-icon.icon-emerald {
  background: #D1FAE5;
  color: #047857;
}

.spec-bento-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spec-bento-label {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.spec-bento-val {
  font-size: 0.82rem;
  color: #0F172A;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.heading-dot-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #E0F2FE;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.facility-dialog-narrative {
  margin-bottom: 16px;
}

.dialog-section-heading {
  font-size: 0.94rem;
  color: var(--color-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dialog-narrative-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.facility-dialog-features {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.dialog-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.dialog-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #166534;
  font-weight: 600;
  line-height: 1.4;
}

.feature-check-modern {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #16A34A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.facility-dialog-footer {
  border-top: 1px solid #E2E8F0;
  padding-top: 14px;
}

.dialog-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dialog-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15803D !important;
  border-color: #86EFAC !important;
  background: #F0FDF4 !important;
  font-weight: 700 !important;
}

.dialog-wa-btn:hover {
  background: #DCFCE7 !important;
  border-color: #4ADE80 !important;
  color: #14532D !important;
}

.dialog-footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 680px) {
  .facility-dialog-specs-modern {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dialog-features-grid {
    grid-template-columns: 1fr;
  }
  .facility-dialog-hero-compact {
    height: 140px;
  }
  .dialog-footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dialog-footer-right {
    flex-direction: column;
  }
  .dialog-footer-right .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Official Registration Receipt Card */
.receipt-card {
  border: 2px dashed var(--color-primary);
  background: #FAFCFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  margin-bottom: 24px;
}

.receipt-card::before {
  content: 'BUKTI REGISTRASI RESMI';
  position: absolute;
  top: -12px;
  left: 24px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.receipt-header {
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.receipt-reg-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin: 6px 0;
}

.receipt-table {
  width: 100%;
  font-size: 0.9rem;
}

.receipt-table td {
  padding: 6px 0;
}

.receipt-table td:first-child {
  color: var(--color-text-muted);
  width: 42%;
}

.receipt-table td:last-child {
  color: var(--color-text-main);
  font-weight: 600;
}

/* 15. FLOATING QUICK ACTION WIDGET (Compact, Elegant & Non-Obtrusive) */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  display: flex;
  align-items: center;
}

.floating-wa-fab {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 180px;
  height: 44px;
  padding: 0 16px 0 10px;
  gap: 9px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  box-sizing: border-box;
}

.floating-wa-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.5);
  color: #FFFFFF !important;
}

.floating-wa-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-wa-icon-wrap svg {
  width: 17px;
  height: 17px;
  fill: #FFFFFF;
}

.floating-wa-label {
  white-space: nowrap;
  font-size: 0.83rem;
  font-weight: 700;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Print Rules for Registration Receipt */
@media print {
  body * {
    visibility: hidden;
  }
  .receipt-card, .receipt-card * {
    visibility: visible;
  }
  .receipt-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 2px solid #000;
  }
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINT SYSTEM (PC, TABLET, HP MOBILE)
   Guarantees zero cut-off, comfortable touch targets, and balanced aesthetics
   ========================================================================== */

/* 1. Large Laptops & Standard Desktops (1181px to 1440px) */
@media (max-width: 1440px) and (min-width: 1181px) {
  .topbar .container,
  .navbar .container,
  .hero-section .container,
  .hero-container-rel {
    padding-left: 14px;
    padding-right: 14px;
  }
  .navbar-inner {
    gap: 6px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo-img {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .nav-links {
    gap: 1px;
  }
  .nav-link {
    padding: 4px 5px;
    font-size: 0.77rem;
    letter-spacing: -0.02em;
  }
  .nav-item-kelulusan {
    margin-left: 2px;
  }
  .nav-btn-kelulusan {
    padding: 4px 8px !important;
    font-size: 0.74rem !important;
    gap: 4px !important;
  }
  .navbar-actions {
    margin-left: 4px;
    gap: 4px;
  }
  .nav-cta-btn {
    padding: 5px 10px;
    font-size: 0.77rem;
    gap: 4px;
  }
}

/* 2. Tablet Landscape & Compact Netbooks (1025px to 1180px) */
@media (max-width: 1180px) {
  .nav-links { display: none !important; }
  .mobile-menu-btn { display: inline-flex !important; }
  .topbar-address-item { display: none !important; }
  .brand-name {
    font-size: 0.98rem;
  }
  .brand-sub {
    font-size: 0.63rem;
  }
}

/* 3. Tablet Portrait & Medium Screens (769px to 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 460px;
    padding: 40px 0 80px;
  }
  .about-grid, .dual-cta-banner, .facilities-banner-grid, .pesantren-duo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-xl);
    gap: 16px;
    padding: 20px 24px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .units-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leadership-grid, .news-grid, .facilities-cards-row, .karya-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 4. HP / Mobile Smartphones (< 768px down to 320px) */
@media (max-width: 768px) {
  .topbar { display: none !important; }
  .nav-links { display: none !important; }
  .mobile-menu-btn {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* Executive Mobile Button Radius Standard: Crisp & Structured (No Stretched Bubble Pills) */
  .btn {
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }
  .btn-lg {
    border-radius: 8px !important;
  }
  .btn-sm {
    border-radius: 6px !important;
  }

  .navbar {
    padding: 6px 0;
  }
  .navbar.scrolled {
    padding: 5px 0;
  }
  .navbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .navbar-inner {
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .brand-name {
    font-size: clamp(0.60rem, 2.7vw, 0.80rem);
    font-weight: 800;
    white-space: nowrap !important;
    line-height: 1.2;
    letter-spacing: -0.015em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .brand-sub {
    font-size: clamp(0.50rem, 2vw, 0.58rem);
    line-height: 1.15;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
    display: block;
    margin-top: 1px;
  }
  .nav-cta-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 4px;
  }

  /* Hero adjustments */
  .hero-section {
    min-height: 390px;
    padding: 30px 0 65px;
  }
  .hero-backdrop-gradient {
    background: 
      linear-gradient(180deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.94) 55%, 
        rgba(255, 255, 255, 0.82) 80%, 
        #F8FAFC 100%
      );
  }
  .hero-headline { 
    font-size: clamp(1.6rem, 5.8vw, 2.05rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }
  .hero-description {
    font-size: 0.90rem;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  /* Mobile Hero Photo Showcase Card (Clean, Sharp, & High Contrast) */
  .hero-mobile-photo-card {
    display: block;
    width: 100%;
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 12px 0 18px 0;
    background-color: #0A2540;
    box-shadow: 0 4px 18px -2px rgba(10, 37, 64, 0.18), 0 0 0 1px rgba(15, 76, 129, 0.15);
  }

  .hero-mobile-photo-track {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .hero-mobile-photo-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-mobile-photo-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
  }

  .hero-mobile-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1);
    transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .hero-mobile-photo-item.active .hero-mobile-photo-img {
    transform: scale(1.08);
  }

  .hero-mobile-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.05) 0%, rgba(10, 37, 64, 0) 45%, rgba(10, 37, 64, 0.72) 100%);
  }

  .hero-mobile-photo-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(10, 37, 64, 0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .hero-photo-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FBBF24;
    box-shadow: 0 0 6px #FBBF24;
    display: inline-block;
    animation: heroBadgePulse 2s infinite ease-in-out;
  }

  @keyframes heroBadgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
  }
  /* Hero Unified Badge on Mobile: Clean 2-Tier Typography without Card Background */
  .hero-unified-badge,
  .section-badge.hero-unified-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.5px;
    padding: 0 !important;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin-bottom: 14px;
    max-width: 100%;
    width: auto;
  }
  .hero-unified-badge .badge-tag-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hero-unified-badge .badge-dot-sep {
    display: none !important;
  }
  .hero-unified-badge .badge-star-icon {
    font-size: 0.82rem;
    color: #D97706;
  }
  .hero-unified-badge .badge-accent-text {
    font-size: 0.74rem;
    font-weight: 750;
    color: #B45309;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }
  .hero-unified-badge .dynamic-slogan {
    font-size: 0.76rem;
    font-weight: 600;
    color: #0A2540;
    line-height: 1.35;
    letter-spacing: -0.01em;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
    gap: 8px;
    border-radius: 10px !important;
  }
  .hero-actions .btn svg {
    width: 15px;
    height: 15px;
  }
  .hero-tagline-nav {
    border-radius: 999px !important;
    padding: 2px 7px !important;
    margin-top: 10px !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 0.5px solid rgba(15, 76, 129, 0.15) !important;
    box-shadow: 0 2px 6px rgba(10, 37, 64, 0.06) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }
  .hero-tagline-dot {
    width: 3.5px !important;
    height: 3.5px !important;
  }
  .hero-tagline-dot.active {
    width: 11px !important;
    height: 3.5px !important;
  }
  .hero-tagline-counter {
    font-size: 0.58rem !important;
    margin-left: 2px !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
  }

  /* Floating Stats Card on Mobile: Compact 2x2 Executive Grid with Sleek Icons */
  .floating-stats-wrapper {
    margin-top: -28px;
    padding-bottom: 18px;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 14px 14px !important;
    gap: 12px 14px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px -6px rgba(15, 76, 129, 0.10), 0 2px 6px rgba(15, 76, 129, 0.04) !important;
  }
  .stat-item {
    gap: 10px !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    align-items: center !important;
  }
  .stat-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 9px !important;
    background: rgba(15, 76, 129, 0.08) !important;
    color: var(--color-accent) !important;
  }
  .stat-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .stat-number {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }
  .stat-label {
    font-size: 0.70rem !important;
    line-height: 1.25 !important;
    color: #64748B !important;
  }

  /* Proportional Mobile Icons Across Sections */
  .section-badge {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    gap: 5px !important;
  }
  .section-badge svg,
  .badge-icon svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Core Values Matrix on Mobile: Sleek 2x2 Executive Dashboard Grid */
  .core-values-wrapper {
    margin-top: -30px !important;
    padding-bottom: 16px !important;
  }
  .core-values-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .core-value-card {
    padding: 13px 12px 11px !important;
    border-radius: 14px !important;
  }
  .core-value-header-row {
    margin-bottom: 8px !important;
  }
  .core-value-icon-box {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }
  .core-value-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }
  .core-value-index {
    font-size: 0.88rem !important;
  }
  .core-value-title {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }
  .core-value-subtitle {
    font-size: 0.70rem !important;
    line-height: 1.36 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .core-value-stat-strip {
    padding-top: 6px !important;
    gap: 2px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .core-value-stat-num {
    font-size: 1.05rem !important;
  }
  .core-value-stat-lbl {
    font-size: 0.62rem !important;
  }

  /* About Yayasan Section Mobile Typography & Layout */
  .about-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }
  .about-left-col,
  .about-right-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }
  .about-image-card {
    border-radius: 8px !important;
    aspect-ratio: 16 / 9 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12) !important;
    max-height: 220px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .about-image-card img {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .about-badge-overlay {
    left: 8px !important;
    bottom: 8px !important;
    right: auto !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
    font-size: 0.65rem !important;
    background: rgba(10, 37, 64, 0.90) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    max-width: calc(100% - 16px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .about-badge-overlay svg {
    width: 11px !important;
    height: 11px !important;
    flex-shrink: 0 !important;
  }
  .about-badge-overlay .badge-title {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .about-badge-overlay .badge-sub {
    display: none !important;
  }
  .about-main-title {
    font-size: clamp(0.90rem, 4.4vw, 1.25rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
  }
  .about-main-title .about-title-line-1 {
    display: block !important;
    white-space: nowrap !important;
    font-size: clamp(0.82rem, 4.15vw, 1.15rem) !important;
    letter-spacing: -0.01em !important;
  }
  .about-main-title .about-title-line-2 {
    display: block !important;
    white-space: nowrap !important;
    font-size: clamp(0.88rem, 4.45vw, 1.22rem) !important;
    letter-spacing: -0.01em !important;
  }
  .about-title-flourish {
    margin: 8px 0 14px 0 !important;
    gap: 6px !important;
  }
  .about-title-flourish .flourish-bar-main {
    width: 46px !important;
    height: 3px !important;
  }
  .about-title-flourish .flourish-gem {
    width: 5px !important;
    height: 5px !important;
  }
  .about-title-flourish .flourish-bar-sub {
    width: 12px !important;
    height: 3px !important;
  }
  .yayasan-vision-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .vision-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(15, 76, 129, 0.08) !important;
  }
  .vision-title-text {
    font-size: 0.88rem !important;
  }
  .vision-accent-bar {
    width: 3.5px !important;
    height: 16px !important;
  }
  .vision-subtitle {
    font-size: 0.70rem !important;
    color: #64748B !important;
    white-space: nowrap !important;
  }
  .vision-quote-box {
    padding: 10px 12px 10px 14px !important;
    margin-bottom: 8px !important;
  }
  .vision-quote-mark {
    font-size: 1.8rem !important;
    top: -2px !important;
    left: 4px !important;
  }
  .vision-quote-text {
    font-size: 0.78rem !important;
    line-height: 1.48 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
  }
  .vision-pillars-block {
    padding-top: 8px !important;
  }
  .vision-pillars-title {
    font-size: 0.65rem !important;
    margin-bottom: 6px !important;
  }
  .vision-pillars-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 6px !important;
  }
  .vision-pillar-card {
    padding: 6px 6px !important;
    border-radius: 8px !important;
    gap: 5px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .vision-pillar-bullet {
    font-size: 0.58rem !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
  }
  .vision-pillar-name {
    font-size: 0.70rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .vision-pillar-desc {
    font-size: 0.60rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #64748B !important;
  }
  .about-grand-showcase {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 195px !important;
    max-height: 250px !important;
    border-radius: 8px !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12) !important;
  }
  .grand-showcase-top-badge {
    margin: 8px !important;
    padding: 2px 7px !important;
    font-size: 0.58rem !important;
    border-radius: 4px !important;
  }
  .grand-showcase-top-badge .milestone-sparkle {
    font-size: 0.58rem !important;
  }
  .grand-showcase-footer {
    padding: 6px 10px 8px !important;
  }
  .grand-caption-title {
    font-size: 0.72rem !important;
    gap: 4px !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
  }
  .grand-caption-title svg {
    width: 11px !important;
    height: 11px !important;
  }
  .grand-showcase-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }
  .grand-tag {
    padding: 2px 6px !important;
    font-size: 0.58rem !important;
    border-radius: 3px !important;
    white-space: nowrap !important;
  }
  .grand-tag-icon {
    font-size: 0.58rem !important;
  }

  .vision-highlights {
    gap: 4px !important;
    padding-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .vision-pill {
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  /* Pesantren Visit Card on Mobile */
  .about-visit-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .visit-card-icon-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .visit-card-icon-badge svg {
    width: 16px !important;
    height: 16px !important;
  }
  .visit-card-tag {
    font-size: 0.64rem !important;
    white-space: normal !important;
  }
  .visit-card-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }
  .visit-card-text {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .visit-card-features {
    gap: 4px !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .visit-feature-item {
    font-size: 0.66rem !important;
    padding: 2px 7px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  .visit-card-actions {
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .visit-card-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.76rem !important;
    padding: 7px 12px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  .about-history-banner-wrapper {
    margin-bottom: 16px !important;
  }
  .about-history-banner {
    padding: 12px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }
  .about-history-banner .history-banner-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }
  .about-history-banner .history-banner-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .about-history-banner .history-banner-eyebrow {
    font-size: 0.64rem !important;
  }
  .about-history-banner .history-banner-heading {
    font-size: 0.86rem !important;
  }
  .about-history-banner .history-banner-sub {
    font-size: 0.72rem !important;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .about-history-banner .history-banner-arrow {
    display: flex !important;
  }
  .about-history-banner .history-banner-arrow svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* 5 Pilar Misi Yayasan on Mobile */
  .yayasan-mission-box {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  .mission-box-header {
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
  }
  .mission-header-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }
  .mission-header-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .mission-box-title {
    font-size: 1.05rem !important;
  }
  .mission-box-sub {
    font-size: 0.74rem !important;
  }
  .mission-list {
    gap: 7px !important;
  }
  .mission-item {
    padding: 9px 12px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }
  .mission-number {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }
  .mission-point-title {
    font-size: 0.85rem !important;
  }
  .mission-desc {
    font-size: 0.74rem !important;
    line-height: 1.45 !important;
  }
  .mission-item-arrow {
    font-size: 0.85rem !important;
  }

  /* Pesantren Cards on Mobile */
  .pesantren-card {
    border-radius: 18px !important;
  }
  .pesantren-card-media {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 200px !important;
  }
  .pesantren-media-overlay {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
  }
  .pesantren-badge-tag {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    gap: 5px !important;
  }
  .pesantren-status-pill {
    font-size: 0.66rem !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
  }
  .pesantren-card-body {
    padding: 16px 14px 18px !important;
  }
  .pesantren-card-name {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .pesantren-card-summary {
    font-size: 0.80rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  .pesantren-card-highlights {
    gap: 7px !important;
    margin-bottom: 14px !important;
    padding: 10px !important;
  }
  .highlight-item {
    padding: 7px 10px !important;
    gap: 8px !important;
    border-radius: 8px !important;
  }
  .highlight-icon-svg {
    width: 26px !important;
    height: 26px !important;
  }
  .highlight-icon-svg svg {
    width: 14px !important;
    height: 14px !important;
  }
  .highlight-item strong {
    font-size: 0.78rem !important;
  }
  .highlight-item p {
    font-size: 0.70rem !important;
    line-height: 1.35 !important;
  }
  .pesantren-card-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 12px !important;
  }
  .pesantren-card-footer .btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 10px 14px !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Units Grid & Cards on Mobile (< 768px down to 320px) */
  .units-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .unit-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
  }
  .unit-thumb {
    height: 185px !important;
  }
  .unit-accred-badge-luxury {
    top: 10px !important;
    right: 10px !important;
    font-size: 0.68rem !important;
    padding: 3.5px 9px !important;
  }
  .unit-card-meta-row {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .unit-category-kicker {
    font-size: 0.64rem !important;
    padding: 0 7px !important;
    height: 23px !important;
    margin-bottom: 0 !important;
    gap: 4px !important;
  }
  .unit-kicker-dot {
    width: 4px !important;
    height: 4px !important;
  }
  .unit-accred-badge-pill {
    font-size: 0.64rem !important;
    padding: 0 7px !important;
    height: 23px !important;
    gap: 4px !important;
  }
  .unit-accred-badge-pill .accred-star-icon {
    font-size: 0.68rem !important;
  }
  .unit-body {
    padding: 26px 16px 18px !important;
  }
  .unit-title {
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  .unit-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  /* Units, Pesantren & Program Cards Mobile Icons */
  .unit-icon-floating {
    width: 38px !important;
    height: 38px !important;
    bottom: -18px !important;
  }
  .unit-icon-floating svg {
    width: 18px !important;
    height: 18px !important;
  }
  .unit-meta-item svg,
  .unit-feature-item svg {
    width: 13px !important;
    height: 13px !important;
  }
  .highlight-icon-svg {
    width: 15px !important;
    height: 15px !important;
  }
  .pesantren-badge svg {
    width: 13px !important;
    height: 13px !important;
  }
  .program-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
  }
  .program-card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .program-feature-item svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* Facilities & News Mobile Icons */
  .facility-card-icon {
    width: 34px !important;
    height: 34px !important;
  }
  .facility-card-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .facility-spec-chip svg {
    width: 12px !important;
    height: 12px !important;
  }
  .achievement-trophy-icon {
    width: 34px !important;
    height: 34px !important;
  }
  .achievement-trophy-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .news-meta svg, .news-tag svg {
    width: 12px !important;
    height: 12px !important;
  }
  .news-read-more svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* 8. Warta, Kabar Pesantren & Grid Lainnya di Layar Mobile (< 768px down to 320px) */
  .news-grid,
  .leadership-grid,
  .facilities-cards-row,
  .karya-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .news-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 76, 129, 0.12) !important;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05) !important;
  }

  .news-thumb {
    height: 185px !important;
  }

  .news-badge {
    top: 8px !important;
    left: 8px !important;
    height: 22px !important;
    padding: 0 8px !important;
    font-size: 0.62rem !important;
    border-radius: 6px !important;
    gap: 4.5px !important;
  }

  .news-badge::before {
    width: 4px !important;
    height: 4px !important;
  }

  .news-readtime-chip {
    display: none !important;
  }

  .news-body {
    padding: 20px 18px 18px !important;
  }

  .news-meta-top {
    font-size: 0.74rem !important;
    gap: 6px 14px !important;
    margin-bottom: 8px !important;
    justify-content: flex-start !important;
  }

  .news-date-tag,
  .news-author-tag {
    white-space: nowrap !important;
  }

  .news-title {
    font-size: 1.10rem !important;
    font-weight: 800 !important;
    line-height: 1.38 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .news-excerpt {
    font-size: 0.84rem !important;
    line-height: 1.52 !important;
    margin-bottom: 14px !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .news-footer-action {
    padding-top: 12px !important;
    margin-top: auto !important;
  }

  .news-read-more {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  /* News Header Buttons Group on Mobile */
  .news-header-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .news-header-actions .btn {
    flex: 1 !important;
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  /* News Portal Archive Button Mobile (< 768px down to 320px) */
  .news-portal-archive-wrapper {
    margin-top: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-news-portal-archive {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    font-size: 0.82rem !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.35 !important;
    border-radius: 14px !important;
  }

  .btn-news-portal-archive .btn-text-desktop {
    display: none !important;
  }

  .btn-news-portal-archive .btn-text-mobile {
    display: inline !important;
  }

  /* Contact & Footer Mobile Icons */
  .contact-info-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }
  .contact-info-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .footer-contact-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }
  .footer-contact-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  /* ==========================================================================
     COMPACT & EXECUTIVE MOBILE FOOTER (Micro-Typography & Space Saver)
     ========================================================================== */
  .footer {
    padding: 22px 0 14px !important;
    font-size: 0.69rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    margin-bottom: 14px !important;
  }

  /* Brand Column */
  .footer-brand > div:first-child {
    gap: 8px !important;
    margin-bottom: 6px !important;
    align-items: center !important;
  }

  .footer-brand img {
    width: 32px !important;
    height: 32px !important;
  }

  .footer-brand h4 {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 1px !important;
    color: #FFFFFF !important;
  }

  .footer-brand span {
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
    color: rgba(255, 255, 255, 0.62) !important;
  }

  .footer-brand p {
    font-size: 0.68rem !important;
    line-height: 1.38 !important;
    margin-bottom: 5px !important;
    color: rgba(255, 255, 255, 0.65) !important;
  }

  .footer-brand p:has(.dynamic-slogan),
  .footer-brand p em.dynamic-slogan {
    font-size: 0.64rem !important;
    margin-bottom: 6px !important;
    color: #FBBF24 !important;
    display: block !important;
  }

  /* Socials Wrap */
  .footer-socials-wrap {
    margin-top: 5px !important;
    gap: 4px !important;
  }

  .footer-socials-label {
    font-size: 0.58rem !important;
    letter-spacing: 0.05em !important;
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .footer-socials-list {
    gap: 6px !important;
  }

  .footer-social-btn {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
  }

  .footer-social-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Column Headings & Links */
  .footer-col {
    padding-top: 2px !important;
  }

  .footer-col h5 {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    padding-bottom: 3px !important;
    letter-spacing: 0.03em !important;
    color: #FFFFFF !important;
  }

  .footer-col h5::after {
    width: 18px !important;
    height: 1.5px !important;
  }

  .footer-col p {
    font-size: 0.67rem !important;
    line-height: 1.32 !important;
    margin-bottom: 4px !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .footer-col p.dynamic-address,
  .footer-col p:has(strong),
  .footer-col p:has(a[href*="admin"]) {
    margin-bottom: 3px !important;
    font-size: 0.67rem !important;
    line-height: 1.32 !important;
  }

  .footer-col p a[href*="admin"] {
    font-size: 0.63rem !important;
    color: #93C5FD !important;
  }

  .footer-links {
    gap: 3px !important;
  }

  .footer-links li a {
    font-size: 0.67rem !important;
    line-height: 1.28 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    padding: 1px 0 !important;
  }

  /* Compact 2-Column Grid for Formal Units on Mobile */
  .footer-col:has(a[onclick*="openUnitModal('kb')"]) .footer-links,
  .footer-links.footer-links-grid,
  .footer-links-formal {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3px 8px !important;
  }

  .footer-ppdb-cta {
    display: inline-flex !important;
    padding: 3px 10px !important;
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    margin-top: 2px !important;
  }

  .footer-link-item {
    font-size: 0.67rem !important;
    gap: 5px !important;
    line-height: 1.25 !important;
  }

  .footer-link-item .footer-unit-icon {
    width: 12px !important;
    height: 12px !important;
  }

  .footer-link-item .footer-ext-icon {
    width: 9px !important;
    height: 9px !important;
  }

  .footer-tag-pill {
    font-size: 0.58rem !important;
    padding: 0 4px !important;
    margin-left: 2px !important;
  }

  /* Footer Bottom Copyright - Minimalist Micro-Copy */
  .footer-bottom {
    padding: 8px 0 4px !important;
    font-size: 0.58rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    flex-direction: column !important;
    gap: 2px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .facilities-banner, .dual-cta-banner {
    padding: 24px 18px !important;
    border-radius: 12px !important;
    gap: 20px !important;
  }
  .dual-cta-badge {
    font-size: 0.68rem !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }
  .dual-cta-left h3 {
    font-size: clamp(1.2rem, 4.2vw, 1.45rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }
  .dual-cta-left p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  .dual-cta-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .dual-cta-feature-item {
    font-size: 0.76rem !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    width: 100% !important;
  }
  .feature-item-icon {
    width: 16px !important;
    height: 16px !important;
  }
  .dual-cta-right-card {
    padding: 16px 14px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }
  .call-header {
    gap: 10px !important;
    padding-bottom: 10px !important;
  }
  .call-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
  }
  .call-subtitle {
    font-size: 0.68rem !important;
  }
  .call-number {
    font-size: 1.25rem !important;
  }
  .call-cta-btn {
    font-size: 0.82rem !important;
    padding: 10px 14px !important;
    border-radius: 7px !important;
  }

  /* Executive Mobile Modals */
  .modal-overlay {
    padding: 8px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 16px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .modal-header {
    padding: 14px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modal-title {
    font-size: 1.05rem !important;
    word-break: break-word !important;
  }
  .modal-body {
    padding: 14px 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .news-search-box {
    max-width: 100%;
    width: 100%;
  }
  .related-grid, .related-grid-modern {
    grid-template-columns: 1fr !important;
  }
  .article-prev-next-nav {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .btn-nav-article.next {
    text-align: left !important;
  }
  .btn-nav-article.next .nav-dir {
    justify-content: flex-start !important;
  }
  .article-headline {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }
  .article-content-body {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
  }
  .article-paragraph {
    text-align: left !important;
    text-wrap: pretty !important;
    line-height: 1.75 !important;
    margin-bottom: 16px !important;
    font-size: 0.95rem !important;
  }
  .article-paragraph.article-lead-p {
    font-size: 0.98rem !important;
    line-height: 1.78 !important;
  }
  .article-hero-img-container {
    max-height: 240px !important;
    min-height: 160px !important;
  }
  .article-share-bar-modern {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .article-modal-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .article-footer-left {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .article-footer-left .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .btn-close-warta {
    width: 100% !important;
    justify-content: center !important;
  }

  /* PPDB & Form Mobile Adjustments */
  .ppdb-steps-container {
    padding: 20px 14px;
  }
  form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  /* Floating Widgets on Mobile: Sleek Circular Icon-Only FABs */
  .floating-widgets {
    position: fixed !important;
    bottom: 16px !important;
    right: 14px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    z-index: 99990 !important;
    display: flex !important;
    align-items: center !important;
  }
  .floating-wa-fab {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(18, 140, 126, 0.4) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }
  .floating-wa-icon-wrap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .floating-wa-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
    fill: #FFFFFF !important;
  }
  .floating-wa-label {
    display: none !important;
  }
  .btn-scroll-top {
    bottom: 116px !important;
    right: 14px !important;
    left: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    z-index: 99985 !important;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18) !important;
    border: 1.5px solid #CBD5E1 !important;
  }
  .btn-scroll-top svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* 5. Extra Small Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .navbar-actions .nav-cta-btn {
    display: none; /* Keep header clean on small phones, CTA is in drawer & hero */
  }
  .brand-name {
    font-size: clamp(0.56rem, 2.5vw, 0.70rem);
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  .brand-sub {
    font-size: 0.52rem;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 12px !important;
    padding: 12px 12px !important;
  }
  .stat-item {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

/* ==========================================================================
   EXECUTIVE LUXURY SCROLL REVEAL & TRANSITION ANIMATION SYSTEM
   Pure GPU-Accelerated (translate3d) Compositor Engine for 60fps/120Hz on Low-End Devices
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-left {
  opacity: 0;
  transform: translate3d(-26px, 0, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-right {
  opacity: 0;
  transform: translate3d(26px, 0, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-scale,
.scroll-reveal-zoom {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed active state with zero jank and 60fps compositor smoothness */
.scroll-reveal.is-revealed,
.scroll-reveal-left.is-revealed,
.scroll-reveal-right.is-revealed,
.scroll-reveal-scale.is-revealed,
.scroll-reveal-zoom.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered Delay Utilities for Grid Wave & Cascading Effects */
.stagger-1 { transition-delay: 60ms !important; }
.stagger-2 { transition-delay: 120ms !important; }
.stagger-3 { transition-delay: 180ms !important; }
.stagger-4 { transition-delay: 240ms !important; }
.stagger-5 { transition-delay: 300ms !important; }
.stagger-6 { transition-delay: 360ms !important; }
.stagger-7 { transition-delay: 420ms !important; }
.stagger-8 { transition-delay: 480ms !important; }

/* Subtle card hover elevation enhancement when revealed */
.is-revealed.unit-card,
.is-revealed.news-card,
.is-revealed.leader-card,
.is-revealed.facility-card-mini,
.is-revealed.facility-showcase-card,
.is-revealed.achievement-card,
.is-revealed.program-card,
.is-revealed.karya-card {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

/* Luxury Ambient Breathing Glow on Badges & Highlights */
@keyframes ambientBadgeGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
  }
  50% {
    box-shadow: 0 4px 18px rgba(251, 191, 36, 0.45);
  }
}

.highlight-gold-badge {
  animation: ambientBadgeGlow 4s ease-in-out infinite;
}

/* Reading Scroll Progress Bar at very top of screen - Gold & Navy Theme */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 9999;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FBBF24 0%, #38BDF8 40%, #0F4C81 80%, #10B981 100%);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.85);
  transition: width 0.08s linear;
}

/* Floating "Kembali ke Atas" (Back to Top) Button - Positioned on Bottom Right above Tanya Santri */
.btn-scroll-top {
  position: fixed;
  bottom: 128px;
  right: 24px;
  left: auto;
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  color: #0F4C81;
  border: 1.5px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.16);
  cursor: pointer;
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-scroll-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.btn-scroll-top:hover {
  background: #0A2540;
  color: #FBBF24;
  border-color: #FBBF24;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.28);
}

.btn-scroll-top svg {
  transition: transform 0.2s ease;
}

.btn-scroll-top:hover svg {
  transform: translateY(-2px);
}

/* Mobile optimizations: Reduced distance for maximum 60fps/120Hz smoothness */
@media (max-width: 768px) {
  .scroll-reveal {
    transform: translateY(16px);
    filter: none;
  }
  .scroll-reveal-left {
    transform: translateX(-16px);
    filter: none;
  }
  .scroll-reveal-right {
    transform: translateX(16px);
    filter: none;
  }
  .scroll-reveal-scale,
  .scroll-reveal-zoom {
    transform: scale(0.96) translateY(12px);
    filter: none;
  }
}

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale,
  .scroll-reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .section-badge,
  .highlight-gold-badge {
    animation: none !important;
  }
}

/* ==========================================================================
   11. PPDB WORKFLOW: UNIT PENDIDIKAN & OPSI MONDOK / TIDAK MONDOK
   ========================================================================== */
.boarding-choice-container {
  margin-top: 14px;
}

.boarding-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.boarding-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.boarding-card:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.08);
}

.boarding-card.active {
  border-color: #2563EB;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.boarding-card.active.card-non-mukim {
  border-color: #059669;
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 100%);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
}

.boarding-radio {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: #2563EB;
  cursor: pointer;
  flex-shrink: 0;
}

.boarding-card.card-non-mukim .boarding-radio {
  accent-color: #059669;
}

.boarding-card-body {
  flex: 1;
}

.boarding-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 8px;
  flex-wrap: wrap;
}

.boarding-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.boarding-dest-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #DBEAFE;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.25s ease;
}

.boarding-dest-badge.badge-putri {
  background: #FCE7F3;
  color: #BE185D;
  border-color: #FBCFE8;
}

.boarding-dest-badge.non-mukim {
  background: #D1FAE5;
  color: #047857;
  border-color: #A7F3D0;
}

.boarding-card-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.boarding-detail-box {
  margin-top: 16px;
  background: #F0F7FF;
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  animation: fadeInSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.non-boarding-detail-box {
  margin-top: 16px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  animation: fadeInSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.asrama-location-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 12px;
}

.asrama-location-preview.preview-putri {
  border-color: #FCE7F3;
}

.asrama-preview-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.asrama-location-preview.preview-putri .asrama-preview-icon {
  background: #FDF2F8;
  color: #DB2777;
}

@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .boarding-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EKSTRAKURIKULER & PEMBINAAN BAKAT SANTRI (PRD 5.2 H)
   ========================================================================== */
.ekskul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 14px;
}

.ekskul-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ekskul-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #BFDBFE;
}

.ekskul-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0F172A;
}

.ekskul-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ekskul-card:hover .ekskul-thumb-img {
  transform: scale(1.08);
}

.ekskul-thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 64, 0.1) 0%, rgba(8, 36, 64, 0.7) 100%);
  pointer-events: none;
}

.ekskul-thumb-badges {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.ekskul-cat-badge {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 92%;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ekskul-pill-badge {
  background: linear-gradient(135deg, #FDE047 0%, #FBBF24 50%, #F59E0B 100%);
  color: #0A2540;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 92%;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ekskul-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ekskul-pembina-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #075985;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
  max-width: 100%;
  line-height: 1.35;
}

.ekskul-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.ekskul-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ekskul-schedule-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

.ekskul-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}

.ekskul-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.80rem;
  color: #1E293B;
  font-weight: 600;
}

.ekskul-feature-item svg {
  color: #059669;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .ekskul-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .ekskul-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ekskul-card {
    border-radius: 16px;
  }

  .ekskul-thumb-badges {
    inset: 10px;
  }

  .ekskul-cat-badge,
  .ekskul-pill-badge {
    font-size: 0.67rem;
    padding: 3px 8px;
    border-radius: 5px;
    max-width: 94%;
  }

  .ekskul-card-body {
    padding: 16px 16px 18px;
  }

  .ekskul-pembina-row {
    font-size: 0.72rem;
    padding: 4px 8px;
    margin-bottom: 8px;
    white-space: normal;
  }

  .ekskul-title {
    font-size: 1.08rem;
    margin-bottom: 6px;
  }

  .ekskul-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 12px;
    color: #334155;
  }

  .ekskul-schedule-box {
    font-size: 0.76rem;
    padding: 5px 10px;
    margin-bottom: 12px;
  }

  .ekskul-features-list {
    padding-top: 10px;
    gap: 6px;
  }

  .ekskul-feature-item {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   FORMULIR HUBUNGI KAMI & PETA INTERAKTIF (PRD 5.2 K)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.contact-card-title,
.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.contact-card-desc,
.contact-form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
  transition: all 0.2s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.35);
}

/* Contact Map Box & Information Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-map-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.05);
  position: relative;
}

.contact-map-box .map-container {
  width: 100%;
  height: 270px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #E2E8F0;
}

#interactiveLeafletMap {
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
  touch-action: pan-x pan-y;
}

#interactiveLeafletMap:active {
  cursor: grabbing;
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Custom Islamic Navy & Gold Leaflet Controls */
.contact-map-box .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.contact-map-box .leaflet-control-zoom a {
  background-color: #0A2540 !important;
  color: #FBBF24 !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.25) !important;
  transition: all 0.2s ease !important;
}

.contact-map-box .leaflet-control-zoom a:hover {
  background-color: #0F4C81 !important;
  color: #FFFFFF !important;
}

.contact-map-box .leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.2) !important;
  border: 1px solid rgba(197, 155, 39, 0.3) !important;
}

/* Bespoke Minimalist Map Pin Marker */
.ytpai-pin-marker {
  background: transparent !important;
  border: none !important;
}

.ytpai-pin-container {
  position: relative;
  width: 38px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ytpai-pin-shadow {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 6px;
  background: rgba(10, 37, 64, 0.32);
  border-radius: 50%;
  filter: blur(1.5px);
  pointer-events: none;
}

.ytpai-pin-pulse {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 7px;
  background: rgba(251, 191, 36, 0.35);
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
  animation: pinRadarPulse 2.2s infinite cubic-bezier(0.2, 0.8, 0.4, 1);
  pointer-events: none;
}

@keyframes pinRadarPulse {
  0% {
    width: 8px;
    height: 4px;
    opacity: 1;
  }
  65% {
    width: 28px;
    height: 12px;
    opacity: 0.35;
  }
  100% {
    width: 40px;
    height: 16px;
    opacity: 0;
  }
}

.ytpai-pin-body {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
  filter: drop-shadow(0 6px 14px rgba(10, 37, 64, 0.35));
}

.ytpai-pin-container:hover .ytpai-pin-body {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 10px 18px rgba(10, 37, 64, 0.45));
}

.contact-details-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.07);
}

.contact-detail-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-detail-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 9px;
  background: rgba(10, 37, 64, 0.04);
  color: #C59B27;
  border: 1px solid rgba(197, 155, 39, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.contact-detail-row:hover .contact-detail-icon {
  background: #0A2540;
  color: #FBBF24;
  border-color: #C59B27;
  transform: translateY(-1px);
}

.contact-detail-content {
  flex: 1;
  min-width: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0A2540;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1.35;
}

.contact-detail-text {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}

.contact-phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.contact-phone-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.contact-phone-item a {
  color: #0F4C81;
  font-weight: 700;
  text-decoration: none;
}

.contact-phone-item a:hover {
  color: #C59B27;
  text-decoration: underline;
}

.contact-wa-item .contact-wa-link {
  color: #0D9488;
  font-weight: 700;
}

.contact-phone-sep {
  color: #94A3B8;
  font-size: 0.75rem;
}

.contact-maps-btn-wrap {
  margin-top: 4px;
}

.btn-open-maps {
  width: 100%;
  justify-content: center;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 9px 14px !important;
  border-radius: 10px !important;
  gap: 7px;
  background: #FFFFFF;
  border: 1.5px solid #0F4C81;
  color: #0F4C81;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-open-maps:hover {
  background: #0F4C81;
  color: #FFFFFF;
  border-color: #0F4C81;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
}

.contact-alert-banner {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-alert-success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

@media (max-width: 900px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 16px 14px 18px !important;
    border-radius: 16px !important;
    border: 1.5px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05) !important;
  }

  .contact-card-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }

  .contact-card-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
    color: #64748B !important;
  }

  .contact-form-card .form-group {
    margin-bottom: 10px !important;
  }

  .contact-form-card .form-label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #0F4C81 !important;
    margin-bottom: 3px !important;
  }

  .contact-form-card .form-input,
  .contact-form-card .form-select,
  .contact-form-card .form-textarea {
    font-size: 0.82rem !important;
    padding: 7.5px 10px !important;
    border-radius: 8px !important;
    border: 1.5px solid #CBD5E1 !important;
    background-color: #F8FAFC !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
  }

  .contact-form-card .form-input::placeholder,
  .contact-form-card .form-textarea::placeholder {
    font-size: 0.76rem !important;
    color: #94A3B8 !important;
  }

  .contact-form-card .form-textarea {
    min-height: 68px !important;
    height: 70px !important;
    resize: vertical !important;
  }

  .contact-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .contact-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    gap: 7px !important;
    margin-top: 4px !important;
  }

  .contact-submit-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  .contact-details-card {
    padding: 14px 14px 16px;
    border-radius: 14px;
    gap: 10px;
  }
  .contact-detail-row {
    gap: 10px;
    padding-bottom: 10px;
  }
  .contact-detail-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 7px;
  }
  .contact-detail-icon svg {
    width: 14px;
    height: 14px;
  }
  .contact-detail-label {
    font-size: 0.70rem;
    margin-bottom: 2px;
  }
  .contact-detail-text {
    font-size: 0.73rem;
    line-height: 1.4;
  }
  .contact-phone-row {
    font-size: 0.73rem;
    gap: 3px 6px;
  }
  .btn-open-maps {
    font-size: 0.74rem !important;
    padding: 8px 12px !important;
  }
  .contact-map-box .map-container {
    height: 190px !important;
  }
}

@media (max-width: 340px) {
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   PARALLAX VIDEO SHOWCASE SECTION (Ref: Al-Manar Parallax & Wave Design)
   ========================================================================== */
.parallax-showcase-section {
  position: relative;
  background-color: #0A2540;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  overflow: hidden;
  color: #FFFFFF;
  padding: 105px 0 115px;
}

.parallax-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.parallax-wave-top svg {
  display: block;
  width: 100%;
  height: 100%;
}

.parallax-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.parallax-wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.parallax-showcase-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../assets/hero_santri.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.parallax-showcase-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.72) 0%, rgba(10, 37, 64, 0.58) 50%, rgba(7, 26, 46, 0.78) 100%);
  z-index: 2;
  pointer-events: none;
}

.parallax-showcase-container {
  position: relative;
  z-index: 5;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
}

.parallax-showcase-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 37, 64, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #FDE047;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.showcase-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 10px #FBBF24;
}

.parallax-showcase-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.parallax-showcase-title .highlight-gold,
.parallax-showcase-content .highlight-gold {
  color: #FBBF24;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.5), 0 2px 6px rgba(0, 0, 0, 0.95);
  filter: none;
}

.parallax-showcase-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #F8FAFC;
  margin-bottom: 26px;
  max-width: 580px;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.parallax-showcase-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.showcase-point-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.showcase-point-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FBBF24;
  color: #0A2540;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.parallax-showcase-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-gold {
  background-color: #FBBF24;
  color: #0A2540 !important;
  font-weight: 800;
  border: 1px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(251, 191, 36, 0.5);
  background-color: #FDE047;
  border-color: #FBBF24;
  color: #0A2540 !important;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Facility Masthead & Responsive Actions */
.facility-masthead {
  padding: 56px 0 48px;
}

.masthead-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  width: 100%;
}

.facility-masthead-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FDE047;
  border: 1px solid rgba(251, 191, 36, 0.5);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.facility-masthead-badge svg {
  color: #FBBF24;
  flex-shrink: 0;
}

.facility-masthead-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .facility-masthead {
    padding: 38px 0 32px;
  }
  .facility-masthead .psb-masthead-title {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .facility-masthead .psb-masthead-sub {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 6px;
  }
  .facility-masthead-badge {
    font-size: 0.76rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }
  .facility-masthead-badge svg {
    width: 13px;
    height: 13px;
  }
  .facility-masthead-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .facility-masthead-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
    min-height: 44px;
  }
}

/* Luxury Parallax Video Card */
.parallax-video-card {
  background: rgba(15, 76, 129, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.parallax-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  border-color: rgba(251, 191, 36, 0.45);
}

.video-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 2px 2px;
  width: 100%;
  box-sizing: border-box;
}

.video-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #FFFFFF;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 11px;
  height: 26px;
  box-sizing: border-box;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.video-tag-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.85);
  flex-shrink: 0;
  display: inline-block;
}

.video-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 11px;
  height: 26px;
  box-sizing: border-box;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.video-source-pill svg {
  color: #FF0000;
  fill: #FF0000;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.6));
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .video-overlay-header {
    gap: 6px !important;
    padding: 0 !important;
  }
  .video-tag-pill {
    font-size: 0.64rem !important;
    padding: 0 9px !important;
    height: 24px !important;
    gap: 5px !important;
    letter-spacing: 0.03em !important;
  }
  .video-tag-pill::before {
    width: 4px !important;
    height: 4px !important;
  }
  .video-source-pill {
    font-size: 0.64rem !important;
    padding: 0 9px !important;
    height: 24px !important;
    gap: 5px !important;
  }
  .video-source-pill svg {
    width: 12px !important;
    height: 12px !important;
  }
}

.video-frame-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-footer {
  padding: 6px 8px 4px;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 6px;
}

.video-speaker {
  font-size: 0.82rem;
  color: #FBBF24;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 600;
}

/* Responsivitas Layar Tablet & Ponsel */
@media (max-width: 991px) {
  .parallax-showcase-section {
    padding: 70px 0 80px;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
  }
  .parallax-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .parallax-showcase-title {
    font-size: clamp(1.5rem, 5vw, 1.95rem);
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .parallax-showcase-title .highlight-gold,
  .parallax-showcase-content .highlight-gold {
    color: #FBBF24;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.45), 0 1px 4px rgba(0, 0, 0, 0.9);
    filter: none;
  }
  .parallax-showcase-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #F8FAFC;
    margin-bottom: 20px;
  }
  .parallax-showcase-overlay {
    background: linear-gradient(180deg, rgba(7, 26, 46, 0.74) 0%, rgba(10, 37, 64, 0.60) 50%, rgba(7, 26, 46, 0.80) 100%);
  }
  .parallax-showcase-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .parallax-showcase-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .parallax-wave-top {
    height: 45px;
  }
  .parallax-wave-bottom {
    height: 42px;
  }
}

/* ==========================================================================
   MASKUMAMBANG REFERENCE EXTENSION: 
   1. HERO ROTATING TAGLINES
   2. 4 PILAR NILAI DASAR MATRIX (CORE VALUES)
   3. PESAN PEMANGKU PONDOK PESANTREN (KALAM PENGASUH)
   4. DUAL GRID WARTA & AGENDA KALENDER SANTRI
   ========================================================================== */

/* 1. Hero Rotating Taglines & Controls */
.hero-tagline-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.06);
}

.hero-tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tagline-dot.active {
  width: 24px;
  background: linear-gradient(90deg, #D97706, #0F4C81);
}

.hero-tagline-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

/* 4. 4 PILAR NILAI DASAR PESANTREN (Executive Institutional Design) */
.core-values-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding-bottom: 28px;
}

/* Guaranteed visibility for core value cards once wrapper or card is revealed */
.core-values-wrapper.is-revealed .core-value-card,
.core-value-card.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.core-values-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.core-value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 24px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  box-shadow: 0 10px 28px -6px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* Subtle luxury top accent line (Gold - Navy institutional gradient) */
.core-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0A2540 0%, #0F4C81 40%, #C59B27 75%, #FBBF24 100%);
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.core-value-card:hover {
  transform: translateY(-8px);
  background: #FFFFFF;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 22px 42px -10px rgba(10, 37, 64, 0.16), 0 0 0 1px rgba(251, 191, 36, 0.3);
}

.core-value-card:hover::before {
  height: 5.5px;
  opacity: 1;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5);
}

.core-value-card-top {
  display: flex;
  flex-direction: column;
}

.core-value-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.core-value-icon-wrapper {
  position: relative;
}

.core-value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08) 0%, rgba(251, 191, 36, 0.16) 100%);
  color: #0F4C81;
  border: 1px solid rgba(15, 76, 129, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.06);
}

.core-value-icon-box svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.core-value-card:hover .core-value-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  border-color: #FBBF24;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.22);
}

.core-value-card:hover .core-value-icon-box svg {
  transform: scale(1.08);
}

.core-value-index {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(15, 76, 129, 0.2);
  letter-spacing: -0.02em;
  transition: color 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.core-value-card:hover .core-value-index {
  color: #C59B27;
  transform: translateY(-2px);
}

.core-value-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.core-value-card:hover .core-value-title {
  color: #0F4C81;
}

.core-value-subtitle {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.core-value-stat-strip {
  border-top: 1px dashed rgba(15, 76, 129, 0.16);
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: border-color 0.3s ease;
}

.core-value-card:hover .core-value-stat-strip {
  border-top-color: rgba(251, 191, 36, 0.4);
}

.core-value-stat-num {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F4C81;
  line-height: 1;
  transition: color 0.3s ease;
}

.core-value-card:hover .core-value-stat-num {
  color: #0A2540;
}

.core-value-stat-lbl {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

/* Responsive Breakpoints for Core Values Matrix */
@media (max-width: 991px) {
  .core-values-wrapper {
    margin-top: -36px;
  }
  .core-values-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .core-value-card {
    padding: 20px 18px 16px;
  }
}

@media (max-width: 576px) {
  .core-values-wrapper {
    margin-top: -24px;
    padding-bottom: 20px;
  }
  .core-values-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .core-value-card {
    padding: 13px 12px 11px !important;
    border-radius: 14px !important;
  }
  .core-value-title {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 340px) {
  .core-values-matrix {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* 3. Pesan Pemangku Pondok Pesantren (Kalam Pengasuh) */
.pesan-pemangku-section {
  padding: 60px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.pesan-pemangku-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.pesan-pemangku-content {
  display: flex;
  flex-direction: column;
}

.pesan-pemangku-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.pesan-pemangku-quote-box {
  position: relative;
  background: #F8FAFC;
  border-left: 4px solid #FBBF24;
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.pesan-pemangku-quote-text {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.68;
  font-style: italic;
  margin: 0;
}

.pesan-pemangku-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

.pesan-pemangku-signature-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
}

.pesan-pemangku-author-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 2px;
}

.pesan-pemangku-author-info p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

.pesan-pemangku-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(10, 37, 64, 0.2);
  border: 4px solid #FFFFFF;
}

.pesan-pemangku-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pesan-pemangku-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pesan-pemangku-photo-badge svg {
  color: #FBBF24;
  flex-shrink: 0;
}

.pesan-pemangku-photo-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

/* 4. Dual Grid Warta Berita & Agenda Kalender Pesantren */
.warta-agenda-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}

.warta-column-header,
.agenda-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(15, 76, 129, 0.1);
}

.warta-column-title,
.agenda-column-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.warta-view-all-btn,
.agenda-view-all-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  transition: all 0.2s ease;
}

.warta-view-all-btn:hover,
.agenda-view-all-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* Agenda Calendar Widget */
.agenda-calendar-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agenda-item-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.05);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.agenda-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(15, 76, 129, 0.12);
  border-color: rgba(251, 191, 36, 0.5);
}

.agenda-date-box {
  width: 60px;
  min-width: 60px;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0A2540 0%, #0F4C81 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.agenda-date-day {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FBBF24;
  line-height: 1;
}

.agenda-date-month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1.2;
}

.agenda-date-year {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
}

.agenda-item-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.agenda-item-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.agenda-category-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #DBEAFE;
}

.agenda-status-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
}

.agenda-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin: 0 0 6px;
}

.agenda-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  color: #64748B;
  margin-bottom: 6px;
}

.agenda-meta-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.agenda-meta-info svg {
  color: #F59E0B;
}

.agenda-item-desc {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal Agenda Details */
.agenda-modal-date-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
  }
  .core-values-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .pesan-pemangku-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pesan-pemangku-photo {
    height: 360px;
  }
  .warta-agenda-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about-pillar-card {
    padding: 22px 18px 18px;
  }
  .pillar-watermark-number {
    font-size: 2.8rem;
    top: 8px;
    right: 12px;
  }
  .core-values-wrapper {
    margin-top: -24px;
  }
  .core-values-matrix {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .core-value-card {
    padding: 13px 12px 11px !important;
  }
  .pesan-pemangku-title {
    font-size: 1.4rem;
  }
  .pesan-pemangku-photo {
    height: 300px;
  }
  .agenda-item-card {
    padding: 12px;
    gap: 12px;
  }
  .agenda-date-box {
    width: 52px;
    min-width: 52px;
    height: 60px;
  }
  .agenda-date-day {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   5B. DEWAN PENGASUH PONDOK PESANTREN (FULL POWER EXECUTIVE ARCHITECTURE)
   ========================================================================== */
.pembina-section {
  padding: 55px 0 35px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F5 100%);
  position: relative;
  overflow: hidden;
}

.pembina-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 36px;
}

.pembina-section-title {
  font-size: clamp(1.4rem, 2.25vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pembina-section-title .pembina-title-line {
  display: block;
}

.pembina-header .section-badge {
  display: inline-flex;
  margin-bottom: 14px;
}

/* Peer Selector & Slider Controls (Hidden on Desktop, Active on Mobile) */
.pembina-peer-selector {
  display: none;
}

.pembina-grid-wrapper {
  position: relative;
  width: 100%;
}

.pembina-slider-nav-wrap {
  display: none;
}

.pembina-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Base Card Style */
.pembina-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 12px 35px -10px rgba(10, 37, 64, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.pembina-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px -12px rgba(10, 37, 64, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
}

/* Trio Leadership Executive Podium Layout (Desktop & Tablet >= 769px) */
/* Sekretaris di Kolom Kiri, Ketua di Kolom Tengah (Centerpiece), Bendahara di Kolom Kanan */
@media (min-width: 769px) {
  .pembina-card.pembina-pengasuh-sekretaris,
  .pembina-card[data-index="1"],
  .pembina-card[data-role-id="pengasuh-sekretaris"] {
    order: 1 !important;
  }
  .pembina-card.pembina-pengasuh-ketua,
  .pembina-card[data-index="0"],
  .pembina-card[data-role-id="pengasuh-ketua"] {
    order: 2 !important;
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 16px 42px -10px rgba(10, 37, 64, 0.13);
  }
  .pembina-card.pembina-pengasuh-ketua:hover,
  .pembina-card[data-index="0"]:hover,
  .pembina-card[data-role-id="pengasuh-ketua"]:hover {
    transform: translateY(-15px);
    box-shadow: 0 28px 56px -10px rgba(10, 37, 64, 0.22);
    border-color: rgba(245, 158, 11, 0.7);
  }
  .pembina-card.pembina-pengasuh-bendahara,
  .pembina-card[data-index="2"],
  .pembina-card[data-role-id="pengasuh-bendahara"] {
    order: 3 !important;
  }
}

/* Top Crest Bar (Equal on all 3 cards) */
.pembina-card-top-crest {
  position: relative;
  padding: 16px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

.pembina-card-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0A2540 0%, #C59B27 50%, #0F4C81 100%);
}

.pembina-crest-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #0A2540;
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 12px -2px rgba(10, 37, 64, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pembina-card:hover .pembina-crest-badge {
  background: #0F4C81;
  border-color: #FBBF24;
  color: #FFFFFF;
  box-shadow: 0 6px 16px -2px rgba(15, 76, 129, 0.45);
  transform: translateY(-1px);
}

/* Grand Portrait Showcase (Equal on all 3 cards) */
.pembina-photo-showcase {
  padding: 16px 20px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.02) 0%, rgba(251, 191, 36, 0.04) 100%);
}

.pembina-arch-frame {
  width: 230px;
  height: 265px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 3.5px solid #FFFFFF;
  box-shadow: 0 12px 28px -6px rgba(10, 37, 64, 0.16), 0 0 0 1px rgba(15, 76, 129, 0.12);
  background: linear-gradient(180deg, #185285 0%, #0A2540 100%);
}

.pembina-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pembina-card:hover .pembina-portrait-img {
  transform: scale(calc(var(--base-scale, 1) * 1.05)) translateY(var(--base-offset-y, 0%));
}

.pembina-arch-inner-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -30px 40px rgba(10, 37, 64, 0.35);
  pointer-events: none;
}

/* Card Body */
.pembina-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.pembina-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 8px;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.pembina-specialty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pembina-specialty-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.pembina-specialty-icon-circle {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0F4C81;
  box-shadow: none;
  flex-shrink: 0;
}

.pembina-specialty-icon-circle svg {
  width: 14px;
  height: 14px;
  stroke: #0F4C81;
}

.pembina-specialty-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0.01em;
}

.pembina-quote-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 4px 12px 12px 4px;
  padding: 13px 16px;
  margin-bottom: 22px;
  border: 1px solid #E2E8F0;
  border-left: 3.5px solid #C59B27;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  min-height: 82px; /* Menjamin ketinggian kutipan seimbang dan sejajar antar 3 kartu */
  width: 100%;
  box-shadow: 0 2px 8px -2px rgba(10, 37, 64, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pembina-card:hover .pembina-quote-box {
  border-left-color: #FBBF24;
  background: #F8FAFC;
  box-shadow: 0 6px 18px -4px rgba(10, 37, 64, 0.08);
  transform: translateY(-1px);
}

.pembina-quote-mark-wrap {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pembina-quote-mark {
  color: #C59B27;
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.pembina-quote-text {
  font-size: 0.83rem;
  color: #1E293B;
  line-height: 1.55;
  font-style: italic;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pembina-speech-btn {
  width: 100%;
  font-weight: 700;
  border-radius: 14px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  background: #FFFFFF;
  color: #0A2540;
  border: 1.5px solid rgba(10, 37, 64, 0.2);
}

.pembina-speech-btn:hover {
  background: #0A2540;
  color: #FFFFFF;
  border-color: #0A2540;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.15);
}

/* ==========================================================================
   5C. KETUA YAYASAN SEKALIGUS SAMBUTAN RESMI (ROYAL MONUMENTAL DESIGN)
   ========================================================================== */
.sambutan-ketua-section {
  padding: 35px 0 60px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FAF9F5 50%, #FFFFFF 100%);
  border-top: 1px solid rgba(15, 76, 129, 0.08);
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.sambutan-ketua-royal-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  box-shadow: 0 20px 50px -15px rgba(10, 37, 64, 0.12);
  overflow: hidden;
  position: relative;
}

/* Top Royal Header Bar (Single-Line Executive Banner) */
.sambutan-royal-topbar {
  background: linear-gradient(90deg, #071D33 0%, #0A2540 50%, #082440 100%);
  padding: 13px 24px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #C59B27;
  border-radius: 12px 12px 0 0;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.sambutan-royal-title-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.royal-crest-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  flex-shrink: 0;
}

.royal-title-desktop-txt {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FBBF24;
  text-transform: uppercase;
  white-space: nowrap;
}

.royal-title-mobile-txt {
  display: none;
}

.sambutan-bismillah-text {
  font-family: var(--font-arabic), 'Amiri', 'Traditional Arabic', serif !important;
  font-size: 1.45rem;
  line-height: 1;
  color: #FBBF24;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-4px);
}

.sambutan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-desktop-txt {
  display: inline-block;
  white-space: nowrap;
}

.status-mobile-txt {
  display: none;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

/* Editorial Bismillah Opening */
.editorial-bismillah-opening {
  font-family: var(--font-arabic) !important;
  font-size: 1.45rem;
  line-height: 2;
  color: #C59B27;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 22px;
  display: none;
}

/* Main 2-Column Grid */
.sambutan-ketua-grid {
  padding: 46px 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 52px;
  align-items: center;
}

/* Kolom Kiri: Foto Monumental & Identity Plaque */
.sambutan-ketua-monumental-portrait {
  display: flex;
  flex-direction: column;
}

.portrait-arch-casing {
  width: 100%;
  max-width: 340px;
  height: 380px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 4px solid #FFFFFF;
  box-shadow: 0 16px 42px -10px rgba(10, 37, 64, 0.22), 0 0 0 1.5px rgba(197, 155, 39, 0.35);
  background: linear-gradient(180deg, #185285 0%, #082440 100%);
}

.portrait-gold-filigree-ring {
  position: absolute;
  inset: 6px;
  border-radius: 17px;
  border: 1.5px solid rgba(197, 155, 39, 0.6);
  pointer-events: none;
  z-index: 2;
}

.portrait-official-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-gold-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 36, 64, 0.65) 100%);
  pointer-events: none;
}

/* Identity Plaque */
.portrait-identity-plaque {
  text-align: center;
  margin-top: 16px;
  padding: 16px 20px;
  background: #FAF9F5;
  border-radius: 8px;
  border: 1px solid rgba(197, 155, 39, 0.32);
  box-shadow: 0 8px 20px -6px rgba(10, 37, 64, 0.08);
}

.plaque-office-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
  text-align: center;
}

.plaque-office-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 5px 22px;
  border-radius: 6px;
  border: 1.5px solid #C59B27;
  box-shadow: 0 4px 14px -2px rgba(10, 37, 64, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: 6px;
  line-height: 1.2;
}

.plaque-office-line-1 {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  color: #0A2540;
  text-transform: uppercase;
  line-height: 1.35;
}

.plaque-office-line-2 {
  font-size: 0.80rem;
  font-weight: 900;
  letter-spacing: 1.3px;
  color: #C59B27;
  text-transform: uppercase;
  line-height: 1.35;
}

.plaque-name {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #082440;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.plaque-meta {
  font-size: 0.8rem;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
}

.plaque-meta svg {
  color: #C59B27;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.plaque-meta-desktop-txt {
  display: inline-block;
  white-space: nowrap;
}

.plaque-meta-mobile-txt {
  display: none;
}


/* Kolom Kanan: Editorial Content */
.sambutan-ketua-editorial-content {
  display: flex;
  flex-direction: column;
}

.editorial-main-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.35vw, 2.2rem);
  font-weight: 800;
  color: #082440;
  line-height: 1.28;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}

/* Luxury Callout Quote */
.editorial-callout-box {
  display: none !important;
}

.callout-quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: #C59B27;
  flex-shrink: 0;
}

.callout-quote-text {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-style: italic;
  color: #1E293B;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

.editorial-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.editorial-paragraph {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.76;
  margin: 0;
}

/* Verification Row & Digital Signature */
.editorial-verification-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
  border-top: 1.5px solid rgba(15, 76, 129, 0.1);
  margin-bottom: 24px;
}

.editorial-signature-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.sig-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748B;
}

.sig-handwritten {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #082440;
  letter-spacing: -0.015em;
}

.sig-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0A5C36;
  margin-top: 2px;
}

.sig-status svg {
  color: #0A5C36;
}

/* Actions Bar */
.editorial-actions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.royal-action-btn {
  background: linear-gradient(135deg, #0D3B66 0%, #082440 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 8px 22px -4px rgba(13, 59, 102, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.royal-action-btn:hover {
  background: linear-gradient(135deg, #082440 0%, #0D3B66 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(13, 59, 102, 0.45);
}

.royal-outline-btn {
  font-weight: 700;
  border-radius: 12px;
  padding: 11px 22px;
  color: #082440;
  border-color: rgba(13, 59, 102, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.royal-outline-btn:hover {
  background: #082440;
  color: #FFFFFF;
  border-color: #082440;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (FULL POWER OPTIMIZATION)
   ========================================================================== */
@media (max-width: 992px) {
  /* Tablet: Tetap Sejajar 3 Kolom Kompak (Tanpa Ada yang Terlempar ke Bawah) */
  .pembina-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .pembina-card {
    border-radius: 18px !important;
  }
  .pembina-arch-frame {
    width: 175px !important;
    height: 205px !important;
  }
  .pembina-card-body {
    padding: 14px 10px 18px !important;
  }
  .pembina-name {
    font-size: 1.02rem !important;
  }
  .pembina-specialty-pill {
    font-size: 0.70rem !important;
    padding: 3px 10px !important;
    border-radius: 16px !important;
  }
  .pembina-quote-box {
    padding: 10px 12px !important;
    min-height: 60px !important;
    border-radius: 3px 10px 10px 3px !important;
    border-left-width: 3px !important;
  }
  .pembina-quote-text {
    font-size: 0.76rem !important;
    line-height: 1.48 !important;
  }
  .pembina-speech-btn {
    font-size: 0.74rem !important;
    padding: 7px 8px !important;
  }
  .pembina-card.pembina-card-highlight {
    transform: none;
  }
  .sambutan-ketua-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  .portrait-arch-casing {
    height: 350px;
    width: 280px;
    margin: 0 auto;
  }
  .editorial-signature-wrap {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  #tentang.section {
    padding-bottom: 12px !important;
  }

  .pembina-section {
    padding: 24px 0 10px !important;
  }

  .pembina-header {
    margin: 0 auto 20px !important;
    max-width: 100% !important;
  }

  .pembina-header .section-title,
  .pembina-section-title {
    font-size: 1.32rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .pembina-section-title .pembina-title-line {
    display: block !important;
  }

  .pembina-header .section-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  .pembina-peer-selector {
    display: none !important;
  }

  /* Rel Horisontal Sejajar: Semua Kartu Pengasuh Berada di Satu Garis Mendatar */
  .pembina-grid-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .pembina-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 12px !important;
    padding: 6px 14px 16px !important;
    margin: 0 -14px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    align-items: stretch !important;
  }
  .pembina-grid::-webkit-scrollbar {
    display: none !important;
  }

  .pembina-card {
    order: 0 !important;
    transform: none !important;
    flex: 0 0 calc(100% - 48px) !important;
    max-width: 310px !important;
    min-width: 260px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    margin: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px -6px rgba(10, 37, 64, 0.12) !important;
    border: 1.5px solid rgba(15, 76, 129, 0.12) !important;
  }
  .pembina-card-top-crest {
    padding: 12px 14px 8px !important;
  }
  .pembina-crest-badge {
    font-size: 0.66rem !important;
    padding: 4px 14px !important;
    background: #0A2540 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
  }
  .pembina-photo-showcase {
    padding: 12px 14px 6px !important;
  }
  .pembina-arch-frame {
    width: 170px !important;
    height: 195px !important;
    border-radius: 16px !important;
  }
  .pembina-card-body {
    padding: 12px 14px 16px !important;
  }
  .pembina-name {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }
  .pembina-specialty-pill {
    font-size: 0.70rem !important;
    padding: 3px 10px !important;
    margin-bottom: 10px !important;
    border-radius: 16px !important;
  }
  .pembina-quote-box {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    min-height: 56px !important;
    border-radius: 3px 10px 10px 3px !important;
    border-left-width: 3px !important;
  }
  .pembina-quote-text {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
  .pembina-speech-btn {
    font-size: 0.76rem !important;
    padding: 7px 12px !important;
    border-radius: 9px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Slider Navigation Controls (Dots & Arrows) */
  .pembina-slider-nav-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
  }
  .pembina-nav-arrow {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(15, 76, 129, 0.2) !important;
    color: #0F4C81 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.08) !important;
    transition: all 0.2s ease !important;
  }
  .pembina-nav-arrow:active {
    transform: scale(0.92) !important;
    background: rgba(15, 76, 129, 0.08) !important;
  }
  .pembina-dots {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
  }
  .pembina-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(15, 76, 129, 0.2) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .pembina-dot.active {
    width: 24px !important;
    background: linear-gradient(90deg, #0A2540 0%, #C59B27 50%, #0F4C81 100%) !important;
  }
  .sambutan-ketua-section {
    padding: 10px 0 28px !important;
  }
  .sambutan-ketua-wrapper,
  .sambutan-ketua-royal-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .sambutan-royal-topbar {
    padding: 0 10px !important;
    height: 38px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 2px solid #C59B27 !important;
    gap: 8px !important;
  }

  .sambutan-royal-title-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .royal-crest-indicator {
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }

  .royal-crest-indicator svg {
    width: 11px !important;
    height: 11px !important;
  }

  .royal-title-desktop-txt {
    display: none !important;
  }

  .royal-title-mobile-txt {
    display: inline-block !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
    color: #FBBF24 !important;
  }

  .royal-title-text {
    font-size: 0.72rem !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
    color: #FBBF24 !important;
  }

  .sambutan-bismillah-text {
    display: none !important;
  }

  .sambutan-status-pill {
    padding: 2px 8px !important;
    font-size: 0.65rem !important;
    gap: 5px !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    flex-shrink: 0 !important;
  }

  .status-desktop-txt {
    display: none !important;
  }

  .status-mobile-txt {
    display: inline-block !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .status-live-dot {
    width: 5px !important;
    height: 5px !important;
    flex-shrink: 0 !important;
  }

  .editorial-bismillah-opening {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1.32rem !important;
    line-height: 1.4 !important;
    color: #C59B27 !important;
    letter-spacing: 1px !important;
    margin-top: 18px !important;
    margin-bottom: 12px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
  }

  .editorial-bismillah-opening::before,
  .editorial-bismillah-opening::after {
    content: '' !important;
    display: inline-block !important;
    width: 24px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, #C59B27) !important;
    vertical-align: middle !important;
    margin: 0 8px !important;
    opacity: 0.55 !important;
  }

  .editorial-bismillah-opening::after {
    background: linear-gradient(90deg, #C59B27, transparent) !important;
  }

  .editorial-main-headline {
    font-size: 1.25rem !important;
    line-height: 1.34 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.015em !important;
  }

  .sambutan-ketua-grid {
    padding: 16px 14px 24px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sambutan-ketua-editorial-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .editorial-paragraphs {
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .editorial-paragraph {
    font-size: 0.90rem !important;
    line-height: 1.68 !important;
  }
  .portrait-arch-casing {
    width: 250px !important;
    max-width: 100% !important;
    height: 300px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .portrait-identity-plaque {
    width: 100% !important;
    max-width: 290px !important;
    margin: 12px auto 0 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .plaque-office-tag {
    margin-bottom: 6px !important;
    gap: 2px !important;
  }
  .plaque-office-role-badge {
    font-size: 0.76rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.8px !important;
    padding: 4px 16px !important;
    border-radius: 5px !important;
    margin-bottom: 4px !important;
  }
  .plaque-office-line-1 {
    font-size: 0.66rem !important;
    letter-spacing: 0.5px !important;
  }
  .plaque-office-line-2 {
    font-size: 0.72rem !important;
    letter-spacing: 0.9px !important;
  }
  .plaque-name {
    font-size: 1.15rem !important;
    margin-bottom: 4px !important;
  }
  .plaque-meta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 5px !important;
    font-size: 0.72rem !important;
    margin: 0 auto !important;
    line-height: 1.2 !important;
  }
  .plaque-meta svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
    color: #C59B27 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  .plaque-meta-desktop-txt {
    display: none !important;
  }
  .plaque-meta-mobile-txt {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    color: #64748B !important;
    line-height: 1.2 !important;
  }
  .editorial-callout-box {
    padding: 14px 16px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
  .callout-quote-icon {
    font-size: 1.8rem;
  }
  .callout-quote-text {
    font-size: 0.9rem;
  }
  .editorial-verification-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .editorial-actions-bar {
    width: 100%;
  }
  .editorial-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ROYAL SPEECH MODAL (FULL POWER DOCUMENT ARCHITECTURE)
   ========================================================================== */
.royal-speech-modal-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modal body padding override when royal speech is open */
.modal-card:has(.royal-speech-modal-container) .modal-body {
  padding: 14px 18px 18px;
}

/* ==========================================================================
   ROYAL SPEECH MODAL - BASMALAH HEADER PLAQUE (COMPACT & DIGNIFIED)
   ========================================================================== */
.modal-speech-basmalah-plaque,
.modal-speech-arabic-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0A2540 0%, #0F3B66 50%, #0A2540 100%);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: 10px;
  padding: 6px 16px;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.12);
  overflow: hidden;
  text-align: center;
}

.modal-speech-basmalah-plaque::before,
.modal-speech-arabic-banner::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(197, 155, 39, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.plaque-gold-flourish {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C59B27);
  position: relative;
  max-width: 45px;
}

.plaque-gold-flourish.right {
  background: linear-gradient(90deg, #C59B27, transparent);
}

.modal-speech-bismillah {
  font-family: var(--font-arabic) !important;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FDE68A;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  padding: 0 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Leader Profile Showcase */
.modal-speech-profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.modal-speech-arch-wrap {
  width: 60px;
  height: 72px;
  min-width: 60px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 2px solid #C59B27;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(10, 37, 64, 0.12);
}

.modal-speech-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.modal-speech-profile-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-speech-role-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0A2540;
  background: rgba(197, 155, 39, 0.14);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 3px;
  width: fit-content;
}

.modal-speech-leader-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

/* Speech Title Quote Box */
.modal-speech-title-box {
  background: rgba(197, 155, 39, 0.06);
  border-left: 3px solid #C59B27;
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-speech-quote-icon {
  font-size: 1.2rem;
  color: #C59B27;
  line-height: 1;
  flex-shrink: 0;
  font-family: Georgia, serif;
}

.modal-speech-title-text {
  font-size: 0.80rem;
  font-weight: 700;
  color: #0A2540;
  font-family: var(--font-heading);
  font-style: italic;
  line-height: 1.35;
}

/* Speech Narrative Body (Single Smooth Scroll with Modal) */
.modal-speech-body-content {
  color: #334155;
  font-size: 0.80rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
}

.modal-speech-paragraph {
  margin: 0;
}

/* Official Signature & Bottom Action */
.modal-speech-footer-seal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
  padding-top: 10px;
  margin-top: 2px;
  gap: 12px;
}

.modal-speech-sig-block {
  text-align: right;
  margin-left: auto;
}

.modal-sig-title {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

.modal-sig-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A2540;
  border-bottom: 1px solid rgba(197, 155, 39, 0.6);
  display: inline-block;
  padding-bottom: 1px;
}

.btn-close-speech {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  color: #0F4C81 !important;
  border: 1px solid rgba(15, 76, 129, 0.25) !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
}

.btn-close-speech:hover {
  background: #0A2540 !important;
  color: #FFFFFF !important;
  border-color: #0A2540 !important;
}

@media (max-width: 576px) {
  .modal-card:has(.royal-speech-modal-container) .modal-body {
    padding: 10px 12px 14px !important;
  }
  .modal-speech-basmalah-plaque {
    padding: 5px 10px;
    gap: 6px;
    border-radius: 8px;
  }
  .modal-speech-bismillah {
    font-size: 0.98rem;
  }
  .plaque-gold-flourish {
    max-width: 20px;
  }
  .modal-speech-profile-card {
    padding: 8px 10px;
    gap: 10px;
  }
  .modal-speech-arch-wrap {
    width: 52px;
    height: 62px;
    min-width: 52px;
    border-radius: 8px;
  }
  .modal-speech-role-pill {
    font-size: 0.60rem;
    padding: 1.5px 6px;
  }
  .modal-speech-leader-name {
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .modal-speech-title-box {
    padding: 6px 10px;
  }
  .modal-speech-title-text {
    font-size: 0.75rem;
  }
  .modal-speech-body-content {
    font-size: 0.76rem;
    line-height: 1.52;
    gap: 8px;
  }
  .modal-sig-title {
    font-size: 0.50rem;
  }
  .modal-sig-name {
    font-size: 0.68rem;
    border-bottom-width: 1px;
  }
  .btn-close-speech {
    font-size: 0.64rem !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
  }
}

/* ==========================================================================
   HALAMAN SEJARAH RESMI (SEJARAH.HTML)
   ========================================================================== */
/* Safety Enforce for Footer Logo & Brand Logo across all pages */
.footer-logo,
img.footer-logo {
  width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   SEJARAH & NAPAK TILAS DEDICATED PAGE
   ========================================================================== */
.history-hero {
  background: 
    linear-gradient(135deg, rgba(7, 26, 46, 0.94) 0%, rgba(10, 37, 64, 0.92) 50%, rgba(15, 76, 129, 0.88) 100%),
    url('../assets/pesantren_gedung.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #C59B27;
}

.history-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 191, 36, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.history-hero-header-flex {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.history-emblem-wrap {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(251, 191, 36, 0.45);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.history-emblem-wrap:hover {
  transform: scale(1.04);
}

.history-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.history-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
}

.history-breadcrumb a {
  color: #FBBF24;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.history-breadcrumb a:hover {
  color: #FFFFFF;
}

.history-breadcrumb span {
  white-space: nowrap;
  flex-shrink: 0;
}

.history-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 1px;
}

.history-breadcrumb .breadcrumb-current {
  color: rgba(248, 250, 252, 0.95);
  font-weight: 500;
}

.history-breadcrumb.breadcrumb-centered {
  display: flex !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 14px !important;
  justify-content: center;
}

.breadcrumb-short {
  display: none;
}

.history-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.history-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FBBF24;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.history-hero-eyebrow .eyebrow-accent-bar {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #FBBF24;
  border-radius: 1px;
}

.history-hero-badge {
  display: none !important;
}

.history-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.22;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

.history-hero-title .text-gold {
  color: #FBBF24;
}

.history-hero-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.9);
  margin-bottom: 36px;
}

.history-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.history-stat-card {
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.history-stat-card:hover {
  transform: translateY(-4px);
  border-color: #FBBF24;
}

.history-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #FBBF24;
  line-height: 1;
  margin-bottom: 6px;
}

.history-stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
}

/* History Main Container */
.history-section-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Lead Narrative Box */
.history-lead-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 76, 129, 0.15);
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.08);
  padding: 40px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.history-lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #0A2540 0%, #C59B27 100%);
}

.history-chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0A2540;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.history-chapter-label .chapter-num {
  color: #C59B27;
  font-weight: 900;
  background: #FFFDF5;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(197, 155, 39, 0.35);
  font-size: 0.74rem;
}

.history-chapter-label .chapter-dot {
  color: #94A3B8;
  font-weight: 700;
}

.history-section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C59B27;
  margin-bottom: 8px;
}

.history-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto 18px;
  max-width: 180px;
}

.history-title-divider .divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(197, 155, 39, 0.65), transparent);
}

.history-title-divider .divider-gem {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: #C59B27;
  border-radius: 1px;
}

.history-archive-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C59B27;
  margin-bottom: 8px;
}

.history-chapter-tag {
  display: none !important;
}

.history-lead-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #082440;
  line-height: 1.35;
  margin-bottom: 18px;
}

.history-lead-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

.history-quote-box {
  background: #FAF8F0;
  border-left: 4px solid #C59B27;
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
  font-size: 1rem;
  color: #0A2540;
  line-height: 1.7;
}

/* Timeline Milestones (1984 - 2026) */
.history-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 36px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 3px;
  background: linear-gradient(180deg, #C59B27 0%, #0F4C81 50%, #0A2540 100%);
  border-radius: 9999px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #0A2540;
  border: 3px solid #FBBF24;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.2);
  z-index: 2;
}

.timeline-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(15, 76, 129, 0.14);
  box-shadow: 0 8px 25px -4px rgba(10, 37, 64, 0.08);
  padding: 28px 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: #FBBF24;
  box-shadow: 0 16px 36px -8px rgba(10, 37, 64, 0.14);
}

.timeline-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.timeline-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #082440;
  background: #FBBF24;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}

.timeline-phase-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0F4C81;
}

.timeline-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #082440;
  line-height: 1.35;
  margin-bottom: 12px;
}

.timeline-card-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 18px;
}

.timeline-key-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 76, 129, 0.16);
}

.timeline-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #1E293B;
  font-weight: 600;
}

.timeline-point-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Philosophy & Values Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.philosophy-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  border-color: #FBBF24;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.1);
}

.philosophy-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

.philosophy-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #082440;
  margin-bottom: 6px;
}

.philosophy-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Monumental Executive CTA Box on Sejarah Page */
.history-cta-box {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.14) 0%, transparent 65%),
              linear-gradient(145deg, #0A2540 0%, #0D3559 55%, #0F4C81 100%);
  border-radius: 24px;
  padding: 52px 36px;
  color: #FFFFFF;
  margin: 64px auto 36px;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.28), 0 0 0 1.5px rgba(251, 191, 36, 0.4);
  border-top: 4px solid #FBBF24;
  overflow: hidden;
  text-align: center;
}

.history-cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.history-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.history-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.history-cta-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.history-cta-title .text-gold {
  color: #FBBF24 !important;
}

.history-cta-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #E2E8F0 !important;
  margin: 0 0 24px;
  max-width: 720px;
}

.history-cta-features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.history-cta-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.history-cta-feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-2px);
}

.history-cta-feature-item svg {
  color: #FBBF24;
  flex-shrink: 0;
}

.history-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  width: 100%;
}

.history-btn-ppdb {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%) !important;
  color: #0A2540 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.38) !important;
  padding: 13px 28px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  transition: all 0.28s ease !important;
}

.history-btn-ppdb:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px rgba(217, 119, 6, 0.48) !important;
  color: #0A2540 !important;
}

.history-btn-visit {
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  font-weight: 700 !important;
  padding: 13px 26px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.28s ease !important;
}

.history-btn-visit:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #FBBF24 !important;
  color: #FBBF24 !important;
  transform: translateY(-3px) !important;
}

.history-cta-hotline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 680px;
}

.history-cta-hotline strong {
  color: #FDE68A;
}

@media (max-width: 1024px) {
  .history-hero-title {
    font-size: 2.2rem;
  }
  .history-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .history-hero {
    padding: 36px 0 32px !important;
  }
  .history-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.74rem !important;
    margin-bottom: 14px !important;
    padding: 6px 14px !important;
    background: rgba(10, 37, 64, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }
  .history-breadcrumb.breadcrumb-centered {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .history-breadcrumb::-webkit-scrollbar {
    display: none !important;
  }
  .history-breadcrumb a,
  .history-breadcrumb span {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .breadcrumb-full {
    display: none !important;
  }
  .breadcrumb-short {
    display: inline !important;
  }
  .history-hero-header-flex {
    gap: 16px !important;
    margin-bottom: 16px !important;
  }
  .history-emblem-wrap {
    width: 64px !important;
    height: 64px !important;
    border-radius: 10px !important;
    padding: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  }
  .history-hero-eyebrow {
    font-size: 0.72rem !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .history-hero-eyebrow .eyebrow-accent-bar {
    width: 18px !important;
  }
  .history-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
  .history-hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
  }
  .history-stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .history-stat-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }
  .history-stat-num {
    font-size: 1.5rem !important;
  }
  .history-stat-lbl {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  /* Ultra-Compact History Content for Mobile (Minimizing Scroll Distance) */
  .history-section-wrap {
    padding: 24px 14px !important;
  }
  .history-lead-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 22px !important;
  }
  .history-chapter-label {
    font-size: 0.72rem !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .history-chapter-label .chapter-num {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
  }
  .history-section-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 6px !important;
  }
  .history-title-divider {
    margin: 8px auto 12px !important;
    max-width: 140px !important;
  }
  .history-lead-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .history-lead-body p {
    font-size: 0.82rem !important;
    line-height: 1.52 !important;
    margin-bottom: 8px !important;
  }
  .history-quote-box {
    padding: 10px 12px !important;
    margin: 10px 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    border-left-width: 3px !important;
    border-radius: 0 8px 8px 0 !important;
  }
  .history-quote-box div {
    font-size: 0.72rem !important;
    margin-top: 5px !important;
  }
  .history-pesantren-frame {
    margin-top: 10px !important;
    border-radius: 12px !important;
  }
  .history-pesantren-img {
    max-height: 160px !important;
    object-fit: cover !important;
  }
  .history-pesantren-caption {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    gap: 6px !important;
  }
  .history-lead-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Compact Timeline */
  .history-timeline {
    padding-left: 22px !important;
    margin-top: 18px !important;
  }
  .history-timeline::before {
    left: 8px !important;
    width: 2px !important;
  }
  .timeline-item {
    margin-bottom: 14px !important;
  }
  .timeline-dot {
    left: -22px !important;
    width: 18px !important;
    height: 18px !important;
    top: 12px !important;
    border-width: 2px !important;
    box-shadow: none !important;
  }
  .timeline-dot svg {
    width: 10px !important;
    height: 10px !important;
  }
  .timeline-card {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  .timeline-header-flex {
    gap: 4px !important;
    margin-bottom: 6px !important;
  }
  .timeline-period-badge {
    font-size: 0.68rem !important;
    padding: 2px 8px !important;
  }
  .timeline-phase-label {
    font-size: 0.68rem !important;
  }
  .timeline-card-title {
    font-size: 0.98rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  .timeline-card-desc {
    font-size: 0.78rem !important;
    line-height: 1.48 !important;
    margin-bottom: 8px !important;
  }
  .timeline-key-points {
    padding-top: 6px !important;
    gap: 4px !important;
  }
  .timeline-point-item {
    font-size: 0.75rem !important;
    gap: 6px !important;
    line-height: 1.35 !important;
  }
  .timeline-point-item svg {
    width: 12px !important;
    height: 12px !important;
    margin-top: 2px !important;
  }

  /* Compact Philosophy Grid */
  .logo-philosophy-grid {
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .logo-philosophy-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }
  .philosophy-icon-wrap {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
    border-radius: 10px !important;
  }
  .philosophy-title {
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
  }
  .philosophy-desc {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  /* Compact CTA Box */
  .history-hero-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .history-cta-box {
    padding: 32px 18px !important;
    border-radius: 18px !important;
    margin: 36px auto 20px !important;
    text-align: center !important;
  }
  .history-cta-title {
    font-size: 1.35rem !important;
    margin-bottom: 10px !important;
  }
  .history-cta-desc {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .history-cta-features {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .history-cta-chip {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }
  .history-cta-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .history-btn-ppdb, .history-btn-visit {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.84rem !important;
  }
  .history-cta-hotline {
    font-size: 0.7rem !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: center !important;
  }

  /* Compact Bab III Logo Showcase on Mobile */
  .logo-philosophy-card {
    flex-direction: column !important;
    padding: 16px 14px !important;
    gap: 12px !important;
    margin-top: 20px !important;
    border-radius: 16px !important;
  }
  .logo-showcase-box {
    width: 62px !important;
    min-width: 62px !important;
    height: 62px !important;
    padding: 6px !important;
    border: 1.5px solid #C59B27 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08), inset 0 0 0 2px rgba(251, 191, 36, 0.2) !important;
    margin: 0 auto 6px !important;
  }
  .logo-showcase-img {
    max-width: 48px !important;
    max-height: 48px !important;
  }
  .logo-philosophy-header {
    text-align: center !important;
  }
  .logo-philosophy-content h3 {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
    text-align: center !important;
  }
  .logo-philosophy-desc {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  .logo-symbol-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 6px !important;
  }
  .logo-symbol-item {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 4px rgba(10, 37, 64, 0.03) !important;
    gap: 4px !important;
    transform: none !important;
  }
  .logo-symbol-item:hover, .logo-symbol-item:focus {
    border-color: #C59B27 !important;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.08) !important;
    transform: none !important;
  }
  .logo-symbol-item .symbol-head {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }
  .logo-symbol-item .symbol-icon-box {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .logo-symbol-item .symbol-icon-box svg {
    width: 11px !important;
    height: 11px !important;
  }
  .logo-symbol-item .symbol-index {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
    font-variant-numeric: tabular-nums !important;
  }
  .logo-symbol-item .symbol-head strong {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #0A2540 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .logo-symbol-item p {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
    color: #64748B !important;
    margin: 0 !important;
  }
}

/* Enhancements for History Lead Grid & Pesantren Archive Card */
.history-lead-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.history-lead-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.history-archive-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(15, 76, 129, 0.14);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.history-archive-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.12);
  transform: translateY(-2px);
}

.history-pesantren-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0A2540;
  border-bottom: 2px solid #FBBF24;
}

.history-pesantren-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.history-archive-card:hover .history-pesantren-img {
  transform: scale(1.04);
}

.history-pesantren-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 37, 64, 0.92) 40%, #0A2540 100%);
  color: #FFFFFF;
  padding: 14px 16px 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-archive-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.history-archive-header {
  margin-bottom: 14px;
}

.history-archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.history-archive-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0;
}

.history-archive-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  flex-grow: 1;
}

.history-archive-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.history-archive-item:hover {
  border-color: rgba(15, 76, 129, 0.25);
  background: #FAFBFD;
  transform: translateX(3px);
}

.archive-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.history-archive-item:hover .archive-icon-wrap {
  transform: scale(1.08);
}

.icon-wrap-gold {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.icon-wrap-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.icon-wrap-emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.icon-wrap-purple {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.history-archive-content {
  display: flex;
  flex-direction: column;
}

.archive-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.archive-item-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .history-lead-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .history-pesantren-img {
    height: 200px;
  }
}

/* Logo Philosophy Card */
.logo-philosophy-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 76, 129, 0.16);
  padding: 36px 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.08);
  margin-top: 48px;
}

.logo-showcase-box {
  width: 160px;
  min-width: 160px;
  height: 160px;
  background: #FFFFFF;
  border: 2px solid #C59B27;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08), inset 0 0 0 3px rgba(251, 191, 36, 0.18);
  position: relative;
}

.logo-showcase-img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(10, 37, 64, 0.15));
}

.logo-philosophy-content {
  flex: 1;
}

.logo-philosophy-content h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 8px;
}

.logo-philosophy-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 16px;
}

.logo-symbol-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
}

.logo-symbol-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.03);
  transition: all 0.25s ease;
}

.logo-symbol-item:hover {
  background: #FFFFFF;
  border-color: #C59B27;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
  transform: translateY(-2px);
}

.logo-symbol-item .symbol-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol-item .symbol-icon-box {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-symbol-item .symbol-icon-box.icon-gold {
  color: #D97706;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.logo-symbol-item .symbol-icon-box.icon-navy {
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.1);
  border: 1px solid rgba(15, 76, 129, 0.18);
}
.logo-symbol-item .symbol-icon-box.icon-sky {
  color: #0284C7;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.18);
}
.logo-symbol-item .symbol-icon-box.icon-amber {
  color: #B45309;
  background: rgba(180, 83, 9, 0.1);
  border: 1px solid rgba(180, 83, 9, 0.18);
}
.logo-symbol-item .symbol-icon-box.icon-green {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.18);
}
.logo-symbol-item .symbol-icon-box.icon-slate {
  color: #334155;
  background: rgba(51, 65, 85, 0.1);
  border: 1px solid rgba(51, 65, 85, 0.18);
}

.logo-symbol-item .symbol-index {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.logo-symbol-item .symbol-head strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.25;
}

.logo-symbol-item p {
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.4;
  margin: 0;
}


/* ==========================================================================
   PPDB GATEWAY BANNER SLIDER (PINTU UTAMA PENDAFTARAN SANTRI BARU)
   Clean, Pure Visual Slider, Auto Smooth Sliding, Gateway to psb.html
   ========================================================================== */
.ppdb-gateway-slider-section {
  position: relative;
  width: 100%;
  background-color: #0A2540;
  border-top: 3px solid #FBBF24;
  border-bottom: 3px solid #FBBF24;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.35);
}

.ppdb-slider-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 312;
  overflow: hidden;
}

.ppdb-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.ppdb-slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.ppdb-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle zoom on hover to emphasize clickable gateway */
.ppdb-slide-item:hover .ppdb-slide-img {
  transform: scale(1.025);
}

/* ==========================================================================
   SLIM GOLD PROGRESS BAR TRACK & GHOST CHEVRONS (OPTION 3)
   Clean Edge-to-Edge Billboard Canvas - No Center Obstruction
   ========================================================================== */
.ppdb-slider-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
  margin: 0;
}

.ppdb-progress-segment {
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ppdb-progress-segment:hover {
  background: rgba(255, 255, 255, 0.5);
}

.ppdb-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #FDE68A 100%);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.85);
  border-radius: 1px;
  transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.ppdb-progress-segment.active {
  background: rgba(251, 191, 36, 0.2);
}

.ppdb-progress-segment.active .ppdb-progress-fill {
  width: 100%;
}

/* Sleek Ghost Nav Arrows for Desktop Hover (Tepi Luar Kiri & Kanan) */
.ppdb-slider-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ppdb-slider-nav-arrow.prev {
  left: 14px;
}

.ppdb-slider-nav-arrow.next {
  right: 14px;
}

.ppdb-slider-container:hover .ppdb-slider-nav-arrow {
  opacity: 1;
  pointer-events: auto;
}

.ppdb-slider-nav-arrow:hover {
  background: #0A2540;
  border-color: #FBBF24;
  color: #FBBF24;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 10px rgba(251, 191, 36, 0.6);
}

.ppdb-slider-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Legacy fallback hiding */
.ppdb-slider-controls-bar {
  display: none !important;
}

/* Responsive Media Queries - Lock 820x312 PC Banner Ratio across All Breakpoints */
@media (max-width: 991px) {
  .ppdb-slider-container {
    height: auto !important;
    aspect-ratio: 820 / 312 !important;
  }
  .ppdb-slide-img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 768px) {
  .ppdb-slider-container {
    height: auto !important;
    aspect-ratio: 820 / 312 !important;
    width: 100% !important;
  }
  .ppdb-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .ppdb-slider-nav-arrow {
    display: none !important;
  }
  .ppdb-slider-progress-track {
    height: 3px !important;
    gap: 2px !important;
  }
}

@media (max-width: 576px) {
  .ppdb-slider-container {
    height: auto !important;
    aspect-ratio: 820 / 312 !important;
    width: 100% !important;
  }
  .ppdb-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .ppdb-slider-nav-arrow {
    display: none !important;
  }
  .ppdb-slider-progress-track {
    height: 2.5px !important;
    gap: 2px !important;
  }
}

/* 2-Column Responsive Form Grid (Nama Ayah & Nama Ibu) */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* ==========================================================================
   PORTAL PENERIMAAN SANTRI BARU (PSB.HTML - REF: PSB.ALFITHRAH.NET)
   ========================================================================== */

/* 1. Masthead Hero PSB */
.psb-masthead {
  --psb-masthead-bg: url('../assets/banner_ppdb_hero.jpg?v=drone_real');
  position: relative;
  overflow: hidden;
  background-color: #0A2540;
  color: #FFFFFF;
  padding: 48px 0 42px;
  text-align: center;
  border-bottom: 3px solid #FBBF24;
}

/* Cinematic Drone Slow Zoom & Rotation Background */
.psb-masthead::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  background-image: var(--psb-masthead-bg);
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: psbHeroCinematicDrone 36s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Semi-translucent Luxury Islamic Navy Overlay */
.psb-masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.74) 0%, rgba(10, 37, 64, 0.58) 40%, rgba(10, 37, 64, 0.84) 100%);
  z-index: 1;
  pointer-events: none;
}

.psb-masthead > * {
  position: relative;
  z-index: 2;
}

@keyframes psbHeroCinematicDrone {
  0% {
    transform: scale(1.03) rotate(-0.6deg) translate3d(0%, 0%, 0);
  }
  25% {
    transform: scale(1.06) rotate(0.4deg) translate3d(-0.6%, 0.4%, 0);
  }
  50% {
    transform: scale(1.08) rotate(0.8deg) translate3d(0.4%, -0.6%, 0);
  }
  75% {
    transform: scale(1.05) rotate(0.2deg) translate3d(0.6%, 0.3%, 0);
  }
  100% {
    transform: scale(1.03) rotate(-0.6deg) translate3d(0%, 0%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .psb-masthead::before {
    animation: none !important;
    transform: scale(1.08) !important;
  }
}

.psb-masthead-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.psb-masthead-avatar {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin: 0 auto 10px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 6px;
  border: 1.5px solid rgba(251, 191, 36, 0.5);
}

.psb-masthead-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.08rem, 1.85vw, 1.38rem);
  font-weight: 800;
  color: #FFFFFF !important;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  margin-top: 22px;
  margin-bottom: 2px;
  text-shadow: none !important;
  filter: none !important;
}

.psb-tagline-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.psb-tagline-lead {
  display: inline;
}

.psb-tagline-abbr {
  display: inline;
}

.psb-tagline-year {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  letter-spacing: inherit;
  display: inline;
  text-shadow: none !important;
  filter: none !important;
}

.psb-tagline-separator {
  color: #FBBF24;
  margin: 0 4px;
  font-size: inherit;
  display: inline;
  opacity: 0.9;
  text-shadow: none !important;
}

.psb-period-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 0;
  margin: 4px auto 16px;
  box-shadow: none;
  max-width: 860px;
  width: 100%;
}

.psb-period-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(10, 37, 64, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 7px;
  padding: 7px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(10, 37, 64, 0.35);
  transition: all 0.25s ease;
}

.psb-period-item.active {
  background: rgba(10, 37, 64, 0.90);
  border-color: #FBBF24;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.psb-period-item.dimmed {
  background: rgba(12, 28, 48, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.90;
}

.psb-period-info {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.psb-period-icon {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.psb-period-icon.psb-icon-upcoming {
  font-size: 0.80rem;
  opacity: 0.85;
}

.psb-period-label {
  color: #FBBF24;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.psb-period-label.label-wave2 {
  color: #FDE68A;
}

.psb-period-date {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.psb-period-divider {
  display: none;
}

.psb-period-sep {
  display: none;
}

.psb-period-status {
  background: #FBBF24;
  color: #0A2540;
  font-weight: 800;
  font-size: 0.67rem;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.psb-period-status.status-subtle {
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

/* DUAL-WAVE SHOWCASE CONTAINER (GELOMBANG 1 & GELOMBANG 2) */
.psb-dual-waves-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px auto 16px;
  max-width: 820px;
  width: 100%;
}

.psb-wave-card {
  flex: 1 1 340px;
  max-width: 395px;
  background: rgba(10, 37, 64, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.psb-wave-card.active {
  border-color: #FBBF24;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(15, 76, 129, 0.9) 100%);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.psb-wave-card:hover {
  transform: translateY(-2px);
  border-color: #FBBF24;
}

.psb-wave-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.psb-wave-badge-pill {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.psb-wave-badge-pill.pill-gold {
  color: #FDE68A;
}

.psb-wave-badge-pill.pill-cyan {
  color: #7DD3FC;
}

.psb-wave-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.psb-wave-status-pill.status-open {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.psb-wave-status-pill.status-upcoming {
  background: rgba(251, 191, 36, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.psb-wave-status-pill.status-closed {
  background: rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.psb-wave-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4px;
}

.psb-wave-date {
  color: #F1F5F9;
  font-weight: 700;
}

.psb-wave-quota {
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

/* HIGH-CONVERTING 3-STEP EASY REGISTRATION FLOW */
.psb-easy-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.psb-easy-step-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  padding: 24px;
  position: relative;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.psb-easy-step-card:hover {
  transform: translateY(-3px);
  border-color: #0F4C81;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.12);
}

.psb-easy-step-card.highlight {
  border-color: #FBBF24;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.15);
}

.psb-easy-step-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0F4C81 0%, #0A2540 100%);
  color: #FBBF24;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.psb-easy-step-card.highlight .psb-easy-step-num {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #0A2540;
}

.psb-easy-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 8px;
  line-height: 1.35;
}

.psb-easy-step-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
}

.psb-easy-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: auto;
}

.psb-masthead-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.psb-title-line {
  display: block;
}

.psb-title-line-1 {
  font-size: 0.94em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.psb-title-line-2 {
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.psb-title-gold {
  color: #FBBF24;
}

.psb-title-pesantren {
  display: block;
  font-size: 0.85em;
  color: #FFFFFF;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.psb-masthead-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 22px;
  line-height: 1.55;
}

.psb-masthead-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.psb-masthead-actions .btn {
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.psb-btn-main {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%) !important;
  color: #0A2540 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35) !important;
}

.psb-btn-secondary {
  background: rgba(15, 76, 129, 0.9) !important;
  color: #FBBF24 !important;
  border: 1.5px solid #FBBF24 !important;
  font-weight: 700 !important;
}

.psb-btn-secondary:hover {
  background: #0F4C81 !important;
  color: #FFFFFF !important;
}

.psb-btn-outline {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px);
}

.psb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

.psb-btn-wa {
  background: linear-gradient(135deg, #1B8755 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
  position: relative;
  overflow: hidden;
  text-shadow: none !important;
  filter: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.psb-btn-wa svg {
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
  filter: none !important;
  flex-shrink: 0;
}

.psb-btn-wa:hover {
  background: linear-gradient(135deg, #157448 0%, #0E7367 100%) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.psb-btn-wa:active {
  transform: translateY(0);
  box-shadow: none !important;
}

/* Pulsing Live Dot on WhatsApp Button (Zero Shadow) */
.psb-wa-live-dot {
  width: 7px;
  height: 7px;
  background: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  box-shadow: none !important;
  animation: psbWaDotPulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes psbWaDotPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

/* Status Badge on WhatsApp Button */
.psb-wa-badge {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
  text-shadow: none !important;
}

@media (max-width: 576px) {
  .psb-wa-badge {
    display: none !important;
  }
}

/* 2. Subnav Sticky Strip */
.psb-subnav-sticky {
  background: #0A2540;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
  position: sticky;
  top: 70px;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.psb-subnav-sticky .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.psb-subnav-sticky .container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.psb-subnav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
}

.psb-subnav-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge, Opera */
  width: 0;
  height: 0;
}

.psb-subnav-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.psb-subnav-link:hover,
.psb-subnav-link.active {
  background: rgba(251, 191, 36, 0.18);
  color: #FBBF24;
}

@media (max-width: 991px) {
  .psb-subnav-list {
    justify-content: flex-start;
    padding: 8px 4px;
  }
}

/* 3. Section Styling */
.psb-section,
#formulir {
  padding: 60px 0;
  scroll-margin-top: 145px !important;
}

.psb-section-alt {
  background-color: #F8FAFC;
}

.psb-section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}

.psb-section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 10px;
}

.psb-section-sub {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* 3B. PSB Status & Scholarship Banners */
/* 3B. PSB Status & Scholarship Banners (Executive Institutional Notice Card) */
.psb-status-banner {
  max-width: 880px;
  margin: 0 auto 32px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3.5px solid #0A2540;
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  transition: all 0.25s ease;
}

.psb-status-banner-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.psb-status-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0A2540;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(10, 37, 64, 0.22);
}

.psb-status-banner-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.psb-notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0F4C81;
  text-transform: uppercase;
}

.psb-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: psbPulse 2s infinite ease-in-out;
}

@keyframes psbPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.psb-status-banner-title {
  margin: 0;
  color: #0A2540;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.psb-status-banner-desc {
  margin: 0;
  color: #475569;
  font-size: 0.90rem;
  line-height: 1.55;
}

.psb-announcement-lead {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

.psb-announcement-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.psb-info-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.psb-info-chip:hover {
  border-color: #CBD5E1;
}

.psb-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(10, 37, 64, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.psb-chip-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.psb-chip-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0A2540;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.psb-chip-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
}

.psb-chip-desc strong {
  color: #0F172A;
}

.psb-chip-alert {
  color: #DC2626;
  font-weight: 700;
  font-size: 0.72rem;
  margin-left: 2px;
}

.psb-beasiswa-banner {
  margin-top: 32px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.psb-beasiswa-text {
  margin: 0;
  font-size: 0.92rem;
  color: #92400E;
  line-height: 1.55;
}

/* 4. Brosur Table */
.psb-table-wrap {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.06);
  overflow-x: auto;
}

.psb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.psb-table th {
  background: #0A2540;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 18px;
  letter-spacing: 0.02em;
}

.psb-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.92rem;
  color: #1E293B;
  vertical-align: middle;
}

.psb-table tr:hover td {
  background: #F8FAFC;
}

.psb-unit-badge {
  display: inline-block;
  background: rgba(15, 76, 129, 0.1);
  color: #0F4C81;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.psb-wave-badge {
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 4px !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.psb-table td span[style*="border-radius:999px"],
.psb-table td span[style*="border-radius: 999px"],
.psb-table td span[style*="border-radius:9999px"],
.psb-table td span[style*="border-radius: 9999px"],
.psb-table td span.psb-wave-badge {
  border-radius: 4px !important;
}

/* 5. 12-Step Registration Flow (Stepper) */
.psb-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.psb-step-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px solid rgba(15, 76, 129, 0.12);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.psb-step-card:hover {
  transform: translateY(-4px);
  border-color: #FBBF24;
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.1);
}

.psb-step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.psb-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0A2540;
  color: #FBBF24;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.psb-step-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.3;
}

.psb-step-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 6. Biaya Transparan Cards */
.psb-cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.psb-cost-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(15, 76, 129, 0.14);
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.06);
  display: flex;
  flex-direction: column;
}

.psb-cost-card.highlight {
  border-color: #FBBF24;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
  position: relative;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15);
}

.psb-cost-header {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.psb-cost-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 4px;
}

.psb-cost-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0F4C81;
}

.psb-cost-card.highlight .psb-cost-price {
  color: #B45309;
}

.psb-cost-period {
  font-size: 0.82rem;
  color: #64748B;
}

.psb-cost-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.psb-cost-list li {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.psb-cost-list li span.check {
  color: #059669;
  font-weight: 800;
}

/* 7. FAQ Accordion */
.psb-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.psb-faq-item {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
  transition: border-color 0.2s;
}

.psb-faq-item.active {
  border-color: #0F4C81;
}

.psb-faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0A2540;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 14px;
}

.psb-faq-btn:hover {
  background: #F8FAFC;
}

.psb-faq-icon {
  font-size: 1.2rem;
  color: #0F4C81;
  transition: transform 0.25s ease;
}

.psb-faq-item.active .psb-faq-icon {
  transform: rotate(45deg);
  color: #DC2626;
}

.psb-faq-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
  border-top: 1px solid #F1F5F9;
  background: #F8FAFC;
}

.psb-faq-item.active .psb-faq-body {
  display: block;
}

/* 8. 24-Hour Santri Schedule */
.psb-schedule-table-wrap {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.06);
  overflow-x: auto;
  max-width: 900px;
  margin: 0 auto;
}

.psb-schedule-time {
  display: inline-block;
  background: rgba(10, 37, 64, 0.08);
  color: #0A2540;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* 9. PSB Interactive Multi-Step Form Wizard (Minimalis & Geometris Rapi) */
.psb-stepper-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 8px;
  position: relative;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.25s ease;
  user-select: none;
}

.stepper-circle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #64748B;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

.stepper-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.label-desktop {
  display: inline;
}

.label-mobile {
  display: none;
}

.stepper-step.active .stepper-circle {
  background: #0A2540;
  color: #FBBF24;
  border-color: #FBBF24;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.18);
}

.stepper-step.active .stepper-label {
  color: #0A2540;
  font-weight: 800;
}

.stepper-step.completed .stepper-circle {
  background: #059669;
  color: #FFFFFF;
  border-radius: 6px;
}

.stepper-step.completed .stepper-label {
  color: #059669;
}

.stepper-connector {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 12px;
  transition: background 0.3s ease;
}

.stepper-connector.active {
  background: #059669;
}

.form-step-pane {
  animation: formStepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes formStepFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
  line-height: 1.35;
}

.step-badge-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #0A2540;
  color: #FBBF24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.form-step-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1.5px dashed #E2E8F0;
}

.btn-submit-ppdb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  text-align: center;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
  transition: all 0.25s ease;
}

.btn-submit-ppdb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.35);
}

/* Responsive PSB */
@media (max-width: 1024px) {
  .psb-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .psb-cost-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Section Spacing & Header - Eradicate Blank Voids */
  .psb-section {
    padding: 34px 0 28px !important;
  }
  .psb-section-header {
    margin: 0 auto 18px !important;
  }
  .psb-section-title {
    font-size: clamp(1.30rem, 5vw, 1.65rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    font-weight: 800 !important;
  }
  .psb-section-sub {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  /* Masthead adjustments (Ultra-Proportional & Executive Mobile View) */
  .psb-masthead {
    padding: 30px 14px 24px !important;
  }
  .psb-masthead-avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    padding: 4px !important;
    margin-bottom: 8px !important;
  }
  .psb-masthead-tagline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif) !important;
    gap: 3px !important;
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    text-shadow: none !important;
  }
  .psb-tagline-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 2px !important;
  }
  .psb-tagline-lead {
    display: block !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif) !important;
    font-size: clamp(1.02rem, 4.3vw, 1.18rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .psb-tagline-abbr {
    display: block !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif) !important;
    font-size: clamp(0.85rem, 3.8vw, 0.96rem) !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
  .psb-tagline-separator {
    display: none !important;
  }
  .psb-tagline-year {
    font-family: inherit !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding: 3px 12px !important;
    border-radius: 5px !important;
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    color: #FBBF24 !important;
    text-shadow: none !important;
    display: inline-block !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
  }
  .psb-period-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 6px auto 14px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .psb-period-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    gap: 8px !important;
  }
  .psb-period-item.active {
    background: rgba(10, 37, 64, 0.88) !important;
    border: 1px solid #FBBF24 !important;
  }
  .psb-period-item.dimmed {
    background: rgba(12, 28, 48, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    opacity: 0.92 !important;
  }
  .psb-period-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    row-gap: 2px !important;
    column-gap: 4px !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .psb-period-icon {
    font-size: 0.72rem !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
  }
  .psb-period-label {
    font-size: 0.64rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
  }
  .psb-period-date {
    flex-basis: 100% !important;
    padding-left: 16px !important;
    font-size: 0.63rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    color: #F1F5F9 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
  }
  .psb-period-status {
    font-size: 0.54rem !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.01em !important;
    align-self: center !important;
  }
  .psb-period-sep,
  .psb-period-divider {
    display: none !important;
  }
  .psb-masthead-title {
    margin: 0 auto 8px !important;
    max-width: 100% !important;
    width: 100% !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
    text-align: center !important;
  }
  .psb-masthead-title br {
    display: none !important;
  }
  .psb-masthead-title .psb-title-line-1 {
    display: block !important;
    font-size: clamp(0.85rem, 4.2vw, 1.08rem) !important;
    line-height: 1.28 !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    color: #FFFFFF !important;
  }
  .psb-masthead-title .psb-title-line-2 {
    display: block !important;
    font-size: clamp(0.92rem, 4.65vw, 1.20rem) !important;
    line-height: 1.28 !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    margin-top: 2px !important;
  }
  .psb-masthead-title .psb-title-gold {
    color: #FBBF24 !important;
  }
  .psb-masthead-title .psb-title-pesantren {
    display: block !important;
    font-size: clamp(0.76rem, 3.8vw, 0.92rem) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-top: 3px !important;
    letter-spacing: 0.02em !important;
  }
  .psb-masthead-sub {
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
    margin: 0 auto 14px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
    opacity: 0.92 !important;
  }
  .psb-masthead-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  .psb-masthead-actions .psb-btn-main {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    min-height: 40px !important;
    width: 100% !important;
  }
  .psb-masthead-actions .psb-btn-outline {
    grid-column: 1 !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    min-height: 38px !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
  .psb-masthead-actions .psb-btn-wa {
    grid-column: 2 !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    min-height: 38px !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
  .psb-masthead-actions .btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* Subnav Sticky Strip on Mobile */
  .psb-subnav-sticky {
    top: 55px !important;
  }
  .psb-subnav-list {
    justify-content: flex-start !important;
    padding: 8px 6px !important;
    gap: 5px !important;
    scroll-snap-type: x mandatory !important;
  }
  .psb-subnav-link {
    font-size: 0.76rem !important;
    padding: 6px 12px !important;
    border-radius: 7px !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Status Gelombang & Beasiswa Banners on Mobile */
  /* Status Gelombang & Beasiswa Banners on Mobile (Executive Notice Card) */
  .psb-status-banner {
    padding: 14px 14px !important;
    gap: 10px !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    border-top-width: 3px !important;
  }
  .psb-status-banner-header {
    gap: 10px !important;
    align-items: flex-start !important;
  }
  .psb-status-banner-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
    font-size: 0.95rem !important;
    margin-top: 1px !important;
  }
  .psb-status-banner-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .psb-notice-pill {
    font-size: 0.62rem !important;
    letter-spacing: 0.03em !important;
  }
  .psb-pulse-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .psb-status-banner-title {
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
    font-weight: 800 !important;
  }
  .psb-status-banner-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
  .psb-announcement-lead {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin: 0 0 8px !important;
  }
  .psb-announcement-chips {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
  }
  .psb-info-chip {
    padding: 7px 10px !important;
    border-radius: 7px !important;
    gap: 9px !important;
  }
  .psb-chip-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.90rem !important;
  }
  .psb-chip-title {
    font-size: 0.67rem !important;
  }
  .psb-chip-desc {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  .psb-beasiswa-banner {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    margin-top: 20px !important;
  }
  .psb-beasiswa-text {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
  }

  /* Executive Mobile Card Transformation for PSB Tables */
  .psb-table-wrap, 
  .psb-schedule-table-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .psb-table, 
  .psb-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .psb-table thead {
    display: none !important;
  }

  .psb-table tr {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    gap: 6px 10px !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(15, 76, 129, 0.12) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.05) !important;
    position: relative !important;
    text-align: left !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  }

  .psb-table tr:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.08) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
  }

  .psb-table td {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Cell 1: Index Number Badge */
  .psb-table td:nth-child(1) {
    grid-column: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%) !important;
    color: #FBBF24 !important;
    font-weight: 800 !important;
    font-size: 0.74rem !important;
    flex-shrink: 0 !important;
  }

  /* Cell 2: Date / Unit Badge / Time Badge */
  .psb-table td:nth-child(2) {
    grid-column: 2 !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    color: #0F4C81 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  /* Cell 3: Main Title / Headline */
  .psb-table td:nth-child(3) {
    grid-column: 1 / -1 !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #0A2540 !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
  }

  .psb-table td:nth-child(3) strong {
    color: #0A2540 !important;
  }

  .psb-table td:nth-child(3) .psb-wave-badge,
  .psb-table td:nth-child(3) span[style*="border-radius"] {
    border-radius: 4px !important;
  }

  /* Cell 4: Subtitle / Description (when it's not a button) */
  .psb-table td:nth-child(4):not(:has(.btn)) {
    grid-column: 1 / -1 !important;
    font-size: 0.78rem !important;
    color: #64748B !important;
    line-height: 1.4 !important;
  }

  /* Action Button Container */
  .psb-table td:has(.btn),
  .psb-table td:last-child:has(a),
  .psb-table td:last-child:has(button),
  .psb-table td:nth-child(4):has(.btn),
  .psb-table td:nth-child(5):has(.btn) {
    grid-column: 1 / -1 !important;
    padding-top: 8px !important;
    border-top: 1px solid #F1F5F9 !important;
    margin-top: 4px !important;
  }

  .psb-table td .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    min-height: 38px !important;
  }

  /* 12-Step Alur Cara Daftar on Mobile */
  .psb-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .psb-step-card {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }
  .psb-step-top {
    gap: 10px !important;
    margin-bottom: 8px !important;
  }
  .psb-step-num {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
  }
  .psb-step-title {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }
  .psb-step-desc {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
  }

  /* Biaya Transparan Cards on Mobile */
  .psb-cost-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .psb-cost-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }
  .psb-cost-header {
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }
  .psb-cost-name {
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
  }
  .psb-cost-price {
    font-size: 1.55rem !important;
    font-weight: 900 !important;
  }
  .psb-cost-period {
    font-size: 0.78rem !important;
  }
  .psb-cost-list {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }
  .psb-cost-list li {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    gap: 6px !important;
  }

  /* 24-Hour Santri Schedule on Mobile */
  .psb-schedule-time {
    font-size: 0.76rem !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
  }

  /* FAQ Accordion on Mobile */
  .psb-faq-wrap {
    gap: 8px !important;
  }
  .psb-faq-item {
    border-radius: 10px !important;
  }
  .psb-faq-btn {
    padding: 12px 14px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    gap: 10px !important;
  }
  .psb-faq-icon {
    font-size: 1.1rem !important;
  }
  .psb-faq-body {
    padding: 0 14px 12px !important;
    font-size: 0.80rem !important;
    line-height: 1.55 !important;
  }

  /* Announcement & Cek Kelulusan Mandiri on Mobile */
  .announcement-card-wrapper {
    border-radius: 14px !important;
  }
  .announcement-card-header {
    padding: 14px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .announcement-card-header h3 {
    font-size: 1.02rem !important;
    line-height: 1.3 !important;
  }
  .announcement-card-header p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .announcement-card-body {
    padding: 16px 14px !important;
  }
  .announcement-search-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .announcement-search-form .form-group {
    margin-bottom: 0 !important;
  }
  .announcement-search-form .form-input {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 16px !important; /* iOS safari zoom prevention */
    padding: 7px 11px !important;
    border-radius: 8px !important;
  }
  .btn-check-announcement {
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* Form and Spacing Adjustments: Ultra-Compact & Clean Mobile Standard */
  #formulir .psb-section-header {
    margin: 0 auto 8px !important;
  }
  #formulir .section-badge {
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
    margin-bottom: 4px !important;
    border-radius: 6px !important;
  }
  #formulir .psb-section-title {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    font-weight: 800 !important;
  }
  #formulir .psb-section-sub {
    font-size: 0.73rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  #formulir div:has(#ppdbForm),
  .psb-form-card {
    padding: 10px 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05) !important;
  }

  /* Stepper on Mobile: Ultra-Slim, Clean & Compact */
  .psb-stepper-nav {
    padding: 4px 6px !important;
    margin-bottom: 8px !important;
    gap: 2px !important;
    border-radius: 6px !important;
    justify-content: space-between !important;
  }
  .stepper-step {
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  .stepper-circle {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 0.68rem !important;
  }
  .stepper-step.active .stepper-circle {
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35) !important;
  }
  .stepper-label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  .label-desktop {
    display: none !important;
  }
  .label-mobile {
    display: inline !important;
  }
  .stepper-connector {
    margin: 0 2px !important;
    min-width: 4px !important;
    height: 1.5px !important;
  }
  .form-step-title {
    font-size: 0.78rem !important;
    gap: 5px !important;
    margin-bottom: 8px !important;
    padding-bottom: 5px !important;
  }
  .step-badge-num {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    font-size: 0.65rem !important;
  }

  /* Compact Form Groups & Labels */
  #ppdbForm .form-group {
    margin-bottom: 6px !important;
  }
  #ppdbForm .form-label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.01em !important;
  }

  /* Compact Touch-Friendly Inputs */
  #ppdbForm .form-input,
  #ppdbForm .form-select {
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 10px !important;
    font-size: 0.84rem !important;
    border-radius: 6px !important;
    border: 1.5px solid #CBD5E1 !important;
    line-height: 1.25 !important;
    background-color: #F8FAFC !important;
    box-sizing: border-box !important;
  }
  #ppdbForm .form-input:focus,
  #ppdbForm .form-select:focus {
    background-color: #FFFFFF !important;
    border-color: #0F4C81 !important;
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.14) !important;
    outline: none !important;
  }
  #ppdbForm textarea.form-input {
    height: auto !important;
    min-height: 56px !important;
    padding: 6px 10px !important;
    font-size: 0.84rem !important;
  }

  /* Dedicated Form Grids on Mobile */
  .form-row-grid {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .form-grid-name-gender {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Tempat Lahir & Tanggal Lahir Sejajar 2 Kolom Seimbang di Mobile */
  .form-grid-birth {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .form-grid-birth .form-group {
    min-width: 0 !important;
    margin-bottom: 0 !important;
  }
  .form-grid-birth .form-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .form-grid-birth .form-input {
    width: 100% !important;
    min-width: 0 !important;
  }
  .form-grid-birth input[type="date"].form-input {
    padding: 6px 6px !important;
    font-size: 14px !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  /* Step 2 Boarding Cards on Mobile */
  .boarding-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .boarding-card {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    gap: 10px !important;
  }
  .boarding-card-title {
    font-size: 0.90rem !important;
  }
  .boarding-card-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  /* Form Actions on Mobile */
  .form-step-actions {
    flex-direction: column-reverse !important;
    gap: 6px !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
  }

  .form-step-actions .btn {
    width: 100% !important;
    flex: none !important;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
    border-radius: 8px !important;
    min-height: 40px !important;
  }

  .btn-submit-ppdb {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.35 !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }

  /* Registration Receipt Modal on Mobile */
  .receipt-card {
    padding: 18px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
  }
  .receipt-header {
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }
  .receipt-reg-number {
    font-size: 1.45rem !important;
    margin: 4px 0 !important;
  }
  .receipt-table {
    font-size: 0.78rem !important;
  }
  .receipt-table td {
    padding: 4px 0 !important;
  }

  /* Ergonomic Position for Scroll-To-Top Button (Above Tanya RAUDLY) */
  .btn-scroll-top {
    bottom: 116px !important;
    right: 14px !important;
    left: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18) !important;
    border: 1.5px solid #CBD5E1 !important;
    z-index: 99990 !important;
  }
}

/* ==========================================================================
   UNIT MAXIMIZED PROSPECTUS & AUTO-SLIDESHOW MODAL
   ========================================================================== */
.modal-card:has(.unit-modal-view) {
  max-width: 1060px;
  width: 95vw;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 25px 65px -15px rgba(10, 37, 64, 0.22);
}

.modal-card:has(.unit-modal-view) .modal-body {
  padding: 18px 24px 22px;
  overflow-y: auto;
}

/* Two-Column Master-Detail Layout on PC / Desktop */
.unit-modal-view {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 22px;
  align-items: start;
}

.unit-modal-col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unit-modal-col-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Auto-slideshow container (High-Impact Enlarged Scale) */
.unit-slideshow-container {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #0A2540;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.16);
}

@media (max-width: 640px) {
  .unit-slideshow-container {
    height: 185px;
  }
}

.unit-slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.unit-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.06);
  will-change: opacity, transform;
}

.unit-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.unit-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Minimal Gradient Overlay */
.unit-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.82) 0%, rgba(10, 37, 64, 0.3) 65%, transparent 100%);
  color: #FFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 4;
}

.unit-slide-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.unit-slide-counter {
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Ultra-Minimal Nav Arrows */
.unit-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  user-select: none;
  padding: 0;
}

.unit-slide-arrow:hover {
  background: #FBBF24;
  color: #0A2540;
  border-color: #FBBF24;
  transform: translateY(-50%) scale(1.08);
}

.unit-slide-arrow.prev { left: 8px; }
.unit-slide-arrow.next { right: 8px; }

/* Indicator dots */
.unit-slide-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 6;
}

.unit-slide-dot {
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.unit-slide-dot.active {
  width: 14px;
  background: #FBBF24;
}

/* Thumbnails row (Compact & Space-saving) */
.unit-thumbs-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 2px;
  scrollbar-width: none;
}

.unit-thumbs-row::-webkit-scrollbar {
  display: none;
}

.unit-thumb-item {
  width: 58px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid transparent;
  flex-shrink: 0;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.unit-thumb-item:hover, .unit-thumb-item.active {
  opacity: 1;
  border-color: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.unit-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   EXECUTIVE UNIT DETAIL MODAL (HIGH-END INSTITUTIONAL GRADE)
   ========================================================================== */

/* Header Brand Meta */
.unit-modal-header-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unit-modal-cat-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.unit-cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #B45309;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.unit-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 6px;
}

.unit-modal-main-title {
  margin: 2px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.25;
}

/* Executive Quick Facts Specs Grid (Sleek 3-Item Layout: Headmaster + Capacity & Schedule) */
.unit-specs-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 3px 0 8px;
}

.unit-spec-item {
  background: #FFFFFF;
  border: 1px solid rgba(15, 76, 129, 0.14);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.unit-spec-item:hover {
  background: #FFFFFF;
  border-color: rgba(15, 76, 129, 0.28);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.06);
  transform: translateY(-1px);
}

/* Dedicated 1-Row Ribbon for Headmaster: Guaranteed Full Name Visibility */
.spec-item-headmaster {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #F0F4F8 100%);
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-left: 3.5px solid #0F4C81;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.spec-item-headmaster .spec-icon-leader {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.18);
}

.spec-item-headmaster .unit-spec-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.spec-item-headmaster .unit-spec-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.spec-item-headmaster .spec-val-headmaster {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0A2540;
  word-break: break-word;
  line-height: 1.25;
}

.spec-item-headmaster.clickable-speech {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.spec-item-headmaster.clickable-speech:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
  border-color: #0284C7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
}

.spec-item-headmaster.clickable-speech:hover .spec-val-headmaster {
  color: #0369A1;
}

.unit-spec-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}

.unit-spec-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #0284C7;
  background: #EFF6FF;
  padding: 2.5px 8px;
  border-radius: 6px;
  border: 1px solid #BAE6FD;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.badge-lbl-desktop {
  display: inline;
}

.badge-lbl-mobile {
  display: none;
}

.spec-item-headmaster.clickable-speech:hover .unit-spec-action-badge {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

/* Header row for spec cards (Daya Tampung & Sistem Belajar) */
.unit-spec-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.unit-spec-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.unit-spec-icon.icon-emerald {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

.unit-spec-icon.icon-blue {
  background: rgba(15, 76, 129, 0.09);
  color: #0F4C81;
}

.unit-spec-val-box {
  width: 100%;
  min-width: 0;
}

.unit-spec-val {
  font-size: 0.80rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.25;
  display: block;
}

/* Dedicated Full-Width Accreditation Ribbon */
.spec-item-accreditation {
  grid-column: 1 / -1;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-item-accreditation .unit-spec-content {
  flex: 1;
  min-width: 0;
}

.spec-item-accreditation .unit-spec-label {
  color: #065F46;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.accreditation-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.accreditation-val-row .val-accreditation {
  color: #047857;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-verified-mini {
  font-size: 0.62rem;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.unit-spec-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(15, 76, 129, 0.08);
  color: #0F4C81;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.unit-spec-icon.icon-emerald {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.unit-spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.unit-spec-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.unit-spec-val {
  font-size: 0.79rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.25;
  word-break: break-word;
}

.unit-spec-val.val-accreditation {
  color: #047857;
}

/* Institutional Segmented Tabs (Bespoke Executive Design - Crisp 4px Corners & Spacious Margins) */
.unit-tabs-nav {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  background: #F1F5F9 !important;
  padding: 4px !important;
  border-radius: 6px !important;
  border: 1px solid #E2E8F0 !important;
  margin-top: 14px !important;
  margin-bottom: 22px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 1px 2px rgba(10, 37, 64, 0.04) !important;
}

.unit-tabs-nav:not(.has-speech-tab) {
  grid-template-columns: repeat(3, 1fr) !important;
}

.unit-tabs-nav::-webkit-scrollbar {
  display: none;
}

.unit-tab-btn {
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  background: transparent;
  border: none !important;
  border-radius: 4px !important;
  padding: 8px 6px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  cursor: pointer;
  transition: all 0.18s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  min-height: 36px !important;
}

.unit-tab-btn svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  transition: stroke 0.18s ease;
}

.unit-tab-btn:hover {
  color: #0A2540 !important;
  background: #E2E8F0 !important;
}

/* Crisp Executive Active Tab: Deep Navy, Soft 4px Corners, Clean Shadow */
.unit-tab-btn.active {
  background: #0A2540 !important;
  color: #FFFFFF !important;
  font-weight: 750 !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 4px rgba(10, 37, 64, 0.18) !important;
}

.unit-tab-btn.active svg {
  color: #FBBF24 !important;
  stroke: #FBBF24 !important;
}

.unit-tab-btn.unit-tab-btn-speech.active {
  background: #0A2540 !important;
  color: #FBBF24 !important;
  box-shadow: 0 1px 4px rgba(10, 37, 64, 0.18) !important;
}

.unit-tab-pane {
  display: none;
  animation: unitTabFade 0.25s ease-in-out;
}

.unit-tab-pane.active {
  display: block;
}

@keyframes unitTabFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Executive PSB Information Box - Ringkas, Elegan, Bersih Tanpa Stripe Samping */
.unit-psb-official-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.unit-psb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.unit-psb-crest {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.unit-psb-crest svg {
  width: 14px;
  height: 14px;
}

.unit-psb-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 750;
  color: #0A2540;
  line-height: 1.25;
}

.unit-psb-subtitle {
  margin: 1px 0 0;
  font-size: 0.70rem;
  color: #64748B;
  line-height: 1.2;
}

.unit-psb-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

@media (max-width: 520px) {
  .unit-psb-info-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.unit-psb-info-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 6px 9px;
  box-sizing: border-box;
}

.psb-info-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 750;
  color: #0A2540;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.psb-info-desc {
  margin: 0;
  font-size: 0.73rem;
  color: #475569;
  line-height: 1.35;
}

/* ==========================================================================
   EDITORIAL HEADMASTER / PEMANGKU SPEECH (MASKUMAMBANG REFERENCE STYLE)
   Faithful to Institutional Reference: Clean, Yellow Highlight Block,
   Spacious Editorial Typography & Right-Side Dignified Portrait
   ========================================================================== */
.speech-ref-container {
  padding: 4px 0 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Sambutan Eksekutif (Bebas Blok Kuning, Elegan & Bermartabat) */
.speech-header-box {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
}

.speech-kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.speech-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.speech-institution-pill {
  color: #64748B;
  font-size: 0.76rem;
  font-weight: 600;
}

.speech-editorial-title {
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.38;
  color: #0A2540;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.speech-gold-divider {
  height: 3px;
  width: 58px;
  background: linear-gradient(90deg, #FBBF24 0%, #0F4C81 100%);
  border-radius: 2px;
}

/* Banner Profil Pimpinan Satuan (Horizontal Eksekutif & Rapi) */
.speech-leader-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.05);
  box-sizing: border-box;
}

.speech-leader-avatar-wrap {
  flex-shrink: 0;
  position: relative;
}

.speech-leader-avatar {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  border: 2px solid #FBBF24;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.16);
  display: block;
  background: #F1F5F9;
}

.speech-leader-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.speech-leader-role-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0F4C81;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.speech-leader-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0;
  line-height: 1.25;
}

.speech-leader-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
  line-height: 1.35;
}

/* Alur Teks Sambutan (Nyaman Dibaca, Full-Width, Proporsional) */
.speech-text-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.speech-opening-salam {
  font-size: 0.95rem;
  font-weight: 750;
  color: #0A2540;
  margin: 0 0 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.speech-body-p {
  font-size: 0.88rem;
  line-height: 1.74;
  color: #334155;
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
}

/* Fallback for legacy class */
.speech-ref-p {
  font-size: 0.92rem;
  line-height: 1.74;
  color: #334155;
  margin: 0 0 14px;
}

/* ==========================================================================
   KOMPONEN AMANAH & PESAN DEWAN PENGASUH / PIMPINAN (BESPOKE INSTITUTIONAL)
   ========================================================================== */
/* Header Naskah Dokumen Resmi Pesantren (Bersih, Berwibawa, Bebas Kotak Callout AI) */
.speech-ref-title-box {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #E2E8F0;
  border-radius: 0;
  padding: 0 0 16px 0;
  margin-top: 4px;
  margin-bottom: 24px;
  box-shadow: none;
}

.speech-doc-kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.speech-doc-kicker-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F4C81;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
}

.speech-doc-kicker-org {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
}

.speech-ref-highlight-title {
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.speech-ref-title-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 850;
  color: #0A2540;
}

.speech-ref-title-sub {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0F4C81;
  margin-top: 4px;
}

/* Tata Letak Dua Kolom Mode PC / Laptop */
.speech-newspaper-article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.speech-portrait-float {
  width: 100%;
}

.speech-portrait-frame {
  width: 100%;
  max-width: 260px;
  height: 330px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.10);
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
}

.speech-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.3s ease;
}

.speech-portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.90) 0%, rgba(10, 37, 64, 0.3) 70%, transparent 100%);
  padding: 20px 12px 10px;
  text-align: center;
}

.speech-portrait-caption .caption-role {
  display: inline-block;
  color: #FBBF24;
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 37, 64, 0.75);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.speech-article-content {
  min-width: 0;
  flex: 1;
}

.speech-article-content .speech-ref-p {
  font-size: 0.92rem;
  line-height: 1.76;
  color: #334155;
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-word;
}

/* Formal Sign-off (Bebas Garis Kuning Tebal Samping) */
.speech-editorial-signoff {
  clear: both;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.speech-closing-salam {
  font-style: italic;
  font-weight: 700;
  font-size: 0.90rem;
  color: #0F4C81;
  margin: 0 0 14px;
}

.speech-signature-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(10, 37, 64, 0.04);
}

.speech-signature-pre-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.speech-signature-pre {
  font-size: 0.70rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speech-signature-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 4px;
  border: 1px solid #BFDBFE;
}

.speech-ref-author-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.3;
}

.speech-ref-author-role {
  margin: 3px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

/* Responsif Mobile & Tablet Portrait */
@media (max-width: 767px) {
  .speech-newspaper-article {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .speech-portrait-float {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .speech-portrait-frame {
    width: 200px;
    height: 245px;
    max-width: 80%;
  }

  .speech-ref-title-box {
    margin-bottom: 16px;
    padding: 0 0 12px 0;
  }

  .speech-ref-title-main {
    font-size: 1.05rem;
  }

  .speech-ref-title-sub {
    font-size: 0.88rem;
  }

  .speech-article-content .speech-ref-p {
    font-size: 0.86rem;
    line-height: 1.68;
    text-align: left;
  }
}

.speech-closing-salam {
  font-style: italic;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0F4C81;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.speech-signature-plain {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  padding-left: 1px;
}

.speech-signature-tag {
  font-size: 0.70rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.speech-signature-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.3;
}

.speech-signature-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

/* Legacy Placard Fallback */
.unit-speech-card {
  background: transparent;
  padding: 0;
  border: none;
}

.btn-open-speech-quick {
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #92400E;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  transition: all 0.2s ease;
  width: fit-content;
}

.btn-open-speech-quick:hover {
  background: #C59B27;
  color: #FFFFFF;
  border-color: #C59B27;
}

.unit-psb-notice {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.80rem;
  color: #0369A1;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.unit-psb-notice a {
  color: #0284C7;
  font-weight: 700;
  text-decoration: underline;
}

/* Unit Modal Detail Component Classes */
.unit-desc-text {
  color: #475569;
  line-height: 1.55;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.unit-section-subhead {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.subhead-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.subhead-bar.gold {
  background: #FBBF24;
}

.subhead-bar.navy {
  background: #0F4C81;
}

.unit-programs-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.unit-program-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.77rem;
  color: #1E293B;
  line-height: 1.35;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 9px;
  border-radius: 7px;
  box-sizing: border-box;
}

.program-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.unit-facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.unit-facility-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 0.76rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

.facility-check {
  color: #059669;
  font-weight: 800;
  flex-shrink: 0;
}

.unit-ekskul-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.unit-ekskul-chip {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #92400E;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Modal Bottom Action Footer */
.unit-modal-action-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #E2E8F0;
  padding-top: 10px;
  margin-top: 10px;
}

.btn-modal-close-ghost {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-close-ghost:hover {
  background: #E2E8F0;
  color: #0A2540;
}

.unit-modal-cta-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-unit-wa {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.22);
}

.btn-unit-wa:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

.btn-unit-primary-cta {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.18);
}

.btn-unit-primary-cta:hover {
  background: linear-gradient(135deg, #071C33 0%, #0D3E6B 100%);
  transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE UNIT MODAL: MOBILE & TABLET ERGONOMICS
   ========================================================================== */
@media (max-width: 860px) {
  .modal-overlay {
    padding: 14px 10px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .modal-card {
    max-width: 640px !important;
    width: calc(100vw - 20px) !important;
    min-width: 0 !important;
    max-height: calc(100dvh - 28px) !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    margin: auto 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .modal-card:has(.unit-modal-view) {
    max-width: 500px !important;
  }

  .modal-card:has(.news-article-view) {
    max-width: min(96vw, 840px) !important;
    width: 100% !important;
  }

  .modal-card:has(.unit-modal-view) .modal-header {
    padding: 14px 16px 10px !important;
    position: relative !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #EDF2F7 !important;
    flex-shrink: 0 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-card:has(.unit-modal-view) .modal-title {
    padding-right: 36px !important;
    display: block !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-card:has(.unit-modal-view) .modal-close-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #475569 !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 2 !important;
  }

  .unit-modal-header-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .unit-modal-cat-tag {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .unit-cat-badge, .unit-status-badge {
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    line-height: 1.25 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .unit-modal-main-title {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    color: #0A2540 !important;
    line-height: 1.25 !important;
    margin: 2px 0 0 !important;
    word-break: break-word !important;
  }

  .modal-card:has(.unit-modal-view) .modal-body {
    padding: 12px 14px 16px !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #CBD5E1 transparent !important;
  }

  .modal-card:has(.unit-modal-view) .modal-body::-webkit-scrollbar {
    width: 3.5px !important;
  }

  .modal-card:has(.unit-modal-view) .modal-body::-webkit-scrollbar-track {
    background: transparent !important;
  }

  .modal-card:has(.unit-modal-view) .modal-body::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border-radius: 4px !important;
  }

  .unit-modal-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-modal-col-left,
  .unit-modal-col-right {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-slideshow-container {
    height: 170px !important;
    border-radius: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Hide thumbnail row on mobile to preserve vertical reading room */
  .unit-thumbs-row {
    display: none !important;
  }

  .unit-specs-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 2px 0 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .spec-item-headmaster {
    grid-column: 1 / -1 !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .spec-item-headmaster .spec-icon-leader {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }

  .spec-item-headmaster .spec-icon-leader svg {
    width: 14px !important;
    height: 14px !important;
  }

  .spec-item-headmaster .spec-val-headmaster {
    font-size: 0.82rem !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
  }

  .badge-lbl-desktop {
    display: none !important;
  }

  .badge-lbl-mobile {
    display: inline !important;
  }

  .unit-spec-item {
    padding: 7px 9px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .unit-spec-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .unit-spec-icon svg {
    width: 11px !important;
    height: 11px !important;
  }

  .unit-spec-val {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
  }

  .unit-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    padding: 3.5px !important;
    margin: 16px 0 20px !important;
    border-radius: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-tabs-nav:not(.has-speech-tab) {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .unit-tab-btn {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    padding: 7px 4px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
    gap: 3px !important;
    min-height: 35px !important;
    letter-spacing: -0.01em !important;
  }

  .unit-tab-btn svg {
    display: none !important;
  }

  .unit-tab-panes-wrapper,
  .unit-tab-pane {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-top: 2px !important;
  }

  .unit-desc-text,
  .unit-tab-pane p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    color: #475569 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile Programs List: 1-Column Full Width (Zero Cut-off) */
  .unit-programs-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-program-item {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    border-radius: 7px !important;
    word-break: break-word !important;
  }

  /* Mobile Facilities List: 1-Column Full Width */
  .unit-facilities-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-facility-item {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
    word-break: break-word !important;
  }

  /* Mobile Editorial Headmaster / Pemangku Speech */
  .speech-ref-container {
    padding: 2px 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .speech-header-box {
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }

  .speech-kicker-badge {
    font-size: 0.65rem !important;
    padding: 2.5px 7.5px !important;
  }

  .speech-institution-pill {
    font-size: 0.70rem !important;
  }

  .speech-editorial-title {
    font-size: 1.02rem !important;
    line-height: 1.36 !important;
    margin-bottom: 8px !important;
  }

  .speech-gold-divider {
    height: 2.5px !important;
    width: 44px !important;
  }

  .speech-leader-banner {
    padding: 12px 14px !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
  }

  .speech-leader-avatar {
    width: 82px !important;
    height: 104px !important;
    border-radius: 8px !important;
    border: 2px solid #FBBF24 !important;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.16) !important;
  }

  .speech-leader-role-badge {
    font-size: 0.62rem !important;
    margin-bottom: 2px !important;
  }

  .speech-leader-name {
    font-size: 0.96rem !important;
    line-height: 1.25 !important;
  }

  .speech-leader-title {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  .speech-opening-salam {
    font-size: 0.88rem !important;
    margin-bottom: 10px !important;
  }

  .speech-body-p {
    font-size: 0.82rem !important;
    line-height: 1.66 !important;
    margin-bottom: 11px !important;
    text-align: left !important;
  }

  .speech-ref-p {
    font-size: 0.82rem !important;
    line-height: 1.66 !important;
    margin-bottom: 11px !important;
    text-align: left !important;
  }

  .speech-editorial-signoff {
    clear: both !important;
    margin-top: 14px !important;
    padding-top: 2px !important;
  }

  .speech-closing-salam {
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
  }

  .speech-signature-plain {
    margin-top: 4px !important;
    gap: 1.5px !important;
  }

  .speech-signature-tag {
    font-size: 0.64rem !important;
  }

  .speech-signature-name {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  .speech-signature-role {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  /* Mobile Action Footer: Vertical Stacked for Guaranteed 100% Visibility */
  .unit-modal-action-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .unit-modal-cta-group {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .btn-unit-primary-cta {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%) !important;
    color: #FFFFFF !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .btn-unit-wa {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    background: #25D366 !important;
    color: #FFFFFF !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .btn-modal-close-ghost {
    width: 100% !important;
    min-height: 38px !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Clean Breathable Focus: Auto-hide floating FAB & Scroll-Top when Modal is Active */
body:has(#genericModal.active) .floating-widgets,
body:has(#genericModal.active) #scrollTopBtn,
body:has(#genericModal.active) #ytpaiAiChatContainer {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.85) translateY(20px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

@keyframes unitTabFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ENHANCED DISCOVERY: KBIHU & LBB PUSAT BIMBINGAN KHUSUS
   Navbar Dropdowns, Hero Gateway Strip, Tab Layanan Khusus, and Golden Master Cards
   ========================================================================== */

/* 1. Navbar Dropdown Styles */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown,
.nav-link-bimbingan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-link-bimbingan {
  background: rgba(15, 76, 129, 0.08);
  color: var(--color-primary-dark) !important;
  font-weight: 700;
  border: 1px solid rgba(15, 76, 129, 0.18);
  padding: 5px 10px;
}

.nav-link-bimbingan:hover {
  background: rgba(15, 76, 129, 0.16);
  color: var(--color-primary) !important;
}

.nav-dropdown-flyout {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 16px 40px -6px rgba(10, 37, 64, 0.22), 0 0 0 1px rgba(15, 76, 129, 0.08);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.15s;
  z-index: 1200;
}

/* Jembatan hover tak kasat mata (Safe Hover Bridge) agar kursor tidak kehilangan fokus saat bergerak turun/diagonal */
.nav-dropdown-flyout::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -15px;
  right: -15px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

.nav-item-dropdown:hover .nav-dropdown-flyout,
.nav-item-dropdown:focus-within .nav-dropdown-flyout,
.nav-item-dropdown.is-open .nav-dropdown-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-flyout-compact {
  min-width: 295px;
}

.flyout-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  padding: 6px 10px 4px;
}

.flyout-section-title.highlight-gold {
  color: #B45309;
}

.flyout-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.flyout-item:hover {
  background: #F1F5F9;
  transform: translateX(2px);
}

.flyout-item-kbihu:hover {
  background: rgba(5, 150, 105, 0.08);
}

.flyout-item-lbb:hover {
  background: rgba(2, 132, 199, 0.08);
}

.flyout-item-poskestren:hover {
  background: rgba(16, 185, 129, 0.08);
}

.flyout-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.flyout-item-icon.icon-kbihu {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

.flyout-item-icon.icon-lbb {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}

.flyout-item-icon.icon-poskestren {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.flyout-item-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.flyout-item-content strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.flyout-item-content small {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 1px;
}

.flyout-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.flyout-badge {
  font-size: 0.60rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.flyout-badge.badge-kbihu {
  background: #059669;
  color: #FFFFFF;
}

.flyout-badge.badge-lbb {
  background: #0284C7;
  color: #FFFFFF;
}

.flyout-badge.badge-poskestren {
  background: #059669;
  color: #FFFFFF;
}

.flyout-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 6px 0;
}

/* 2. Mobile Drawer Sub-Items (Clean Institutional Neutral) */
.drawer-section-divider {
  display: none !important;
}

.drawer-link-kbihu,
.drawer-link-lbb {
  border-left: none !important;
  background: transparent !important;
}

/* 3. Navbar Action Dropdown for KBIHU & LBB */
.nav-action-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-bimbingan-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(15, 76, 129, 0.05);
  border: 1.5px solid rgba(15, 76, 129, 0.16);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.nav-bimbingan-action-btn:hover {
  background: rgba(15, 76, 129, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.12);
}

.nav-bimbingan-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.nav-action-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.flyout-right-aligned {
  right: 0 !important;
  left: auto !important;
}

/* 4. Hero Quick-Access Gateway Dock (Executive Glassmorphism) */
.hero-gateway-strip {
  margin-top: 14px;
  width: 100%;
  max-width: 720px;
  z-index: 5;
  position: relative;
}

.hero-gateway-dock {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 5px 8px;
  box-shadow: 0 8px 24px -4px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gateway-dock:hover {
  box-shadow: 0 12px 28px -4px rgba(10, 37, 64, 0.14), 0 3px 8px rgba(10, 37, 64, 0.05);
  background: rgba(255, 255, 255, 0.95);
  border-color: #FFFFFF;
}

.hero-dock-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

.hero-dock-item.item-kbihu:hover {
  background: rgba(5, 150, 105, 0.07);
}

.hero-dock-item.item-lbb:hover {
  background: rgba(2, 132, 199, 0.07);
}

.hero-dock-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* KBIHU Icon Container - Executive Frosted Emerald with Hairline Ring */
.hero-dock-icon.icon-kbihu-emerald {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.08) 0%, rgba(6, 95, 70, 0.16) 100%);
  color: #065F46;
  border: 1px solid rgba(6, 95, 70, 0.22);
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.06);
}

/* LBB Icon Container - Executive Frosted Navy with Hairline Ring */
.hero-dock-icon.icon-lbb-blue {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.07) 0%, rgba(13, 59, 102, 0.15) 100%);
  color: #0D3B66;
  border: 1px solid rgba(13, 59, 102, 0.20);
  box-shadow: 0 2px 8px rgba(13, 59, 102, 0.06);
}

.hero-dock-item:hover .hero-dock-icon.icon-kbihu-emerald {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, #0A2540 0%, #064E3B 100%);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.22);
}

.hero-dock-item:hover .hero-dock-icon.icon-lbb-blue {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.22);
}

.hero-dock-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.hero-dock-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.hero-dock-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dock-tag {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-dock-tag.tag-kbihu {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.hero-dock-tag.tag-lbb {
  background: #F0F9FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.hero-dock-desc {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dock-action {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.item-kbihu .hero-dock-action {
  background: rgba(5, 150, 105, 0.08);
  color: #059669;
}

.item-lbb .hero-dock-action {
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
}

.hero-dock-item:hover .hero-dock-action {
  transform: translateX(3px);
}

.item-kbihu:hover .hero-dock-action {
  background: #059669;
  color: #FFFFFF;
}

.item-lbb:hover .hero-dock-action {
  background: #0284C7;
  color: #FFFFFF;
}

.hero-dock-divider {
  width: 1px;
  height: 32px;
  background: rgba(148, 163, 184, 0.28);
  margin: 0 4px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-gateway-dock {
    flex-direction: column;
    padding: 6px;
    gap: 4px;
    border-radius: 10px !important;
  }
  .hero-dock-divider {
    width: 100%;
    height: 1px;
    margin: 2px 0;
  }
  .hero-dock-item {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px !important;
  }
}

/* 4. Units Grid Highlights */
.unit-card-highlight-kbihu {
  border: 2px solid rgba(5, 150, 105, 0.45) !important;
  box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.15) !important;
}

.unit-card-highlight-lbb {
  border: 2px solid rgba(2, 132, 199, 0.45) !important;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.15) !important;
}

.unit-special-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.unit-special-pill.pill-kbihu {
  background: #059669;
}

.unit-special-pill.pill-lbb {
  background: #0284C7;
}

.unit-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
}

.unit-direct-portal-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-portal-kbihu {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.btn-portal-kbihu:hover {
  background: #059669;
  color: #FFFFFF;
}

.btn-portal-lbb {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.btn-portal-lbb:hover {
  background: #0284C7;
  color: #FFFFFF;
}

/* 5. Golden Master Baseline - KBIHU, LBB & Poskestren Featured Cards */
.kbihu-featured-card {
  border-top: 4px solid #059669;
}

.lbb-featured-card {
  border-top: 4px solid #0284C7;
}

.poskestren-featured-card {
  border-top: 4px solid #10B981;
}

.pesantren-badge-tag.kbihu-badge {
  background: rgba(5, 150, 105, 0.92);
  color: #FFFFFF;
}

.pesantren-badge-tag.lbb-badge {
  background: rgba(2, 132, 199, 0.92);
  color: #FFFFFF;
}

.pesantren-badge-tag.poskestren-badge {
  background: rgba(16, 185, 129, 0.95);
  color: #FFFFFF;
}

.pesantren-status-pill.pill-blue {
  background: #FFFFFF !important;
  color: #0284C7 !important;
  border: 1px solid rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.pesantren-status-pill.pill-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.highlight-icon-svg.icon-emerald {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.highlight-icon-svg.icon-blue {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
}

.btn-lbb-primary {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
}

.btn-lbb-primary:hover {
  background: #0369A1 !important;
  border-color: #0369A1 !important;
}

.btn-poskestren-primary {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #FFFFFF !important;
}

.btn-poskestren-primary:hover {
  background: #047857 !important;
  border-color: #047857 !important;
}

/* 3-Card Balanced Layout for Layanan & Poskestren */
#tab-layanan-khusus .pesantren-duo-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  #tab-layanan-khusus .pesantren-duo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 6. Responsive Styles */
@media (max-width: 768px) {
  .hero-gateway-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. PPDB DOCUMENT UPLOAD CARDS & FILE ATTACHMENTS (PASFOTO, KK, AKTA, KTP, SKL)
   ========================================================================== */
.ppdb-upload-instruction {
  background: #F0FDF4;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 6px;
  padding: 9px 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ppdb-upload-instruction-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #DCFCE7;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ppdb-upload-instruction-text h5 {
  margin: 0 0 2px;
  font-size: 0.88rem;
  color: #166534;
  font-weight: 800;
}
.ppdb-upload-instruction-text p {
  margin: 0;
  font-size: 0.78rem;
  color: #166534;
  line-height: 1.4;
}
.badge-tag-req {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
}

.ppdb-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.ppdb-doc-card {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(10, 37, 64, 0.03);
}
.ppdb-doc-card:hover {
  border-color: #0F4C81;
  box-shadow: 0 8px 26px rgba(15, 76, 129, 0.12);
  transform: translateY(-2px);
}
.ppdb-doc-card.has-file {
  border-color: #10B981;
  background: #F8FCF9;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}
.ppdb-doc-card.featured-card {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border: 1.5px solid #CBD5E1;
  border-top: 3.5px solid #C59B27;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
}
.ppdb-doc-card.featured-card:hover {
  border-color: #0A2540;
  border-top-color: #C59B27;
}
.ppdb-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}
.ppdb-doc-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ppdb-doc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.ppdb-doc-card:hover .ppdb-doc-icon {
  transform: scale(1.05);
}
.ppdb-icon-photo {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.ppdb-icon-kk {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}
.ppdb-icon-akta {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.ppdb-icon-ktp {
  background: #ECFEFF;
  color: #0E7490;
  border: 1px solid #A5F3FC;
}
.ppdb-icon-ijazah {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.ppdb-doc-card.has-file .ppdb-doc-icon {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border-color: #86EFAC !important;
}
.ppdb-doc-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0A2540;
  line-height: 1.3;
}
.ppdb-doc-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ppdb-doc-badge.badge-featured-req {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  border: 1px solid #F59E0B;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
}
.ppdb-doc-badge.badge-required {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.ppdb-doc-badge.badge-optional {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}
.ppdb-doc-desc {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0 0 14px;
  line-height: 1.45;
}

/* Dropzone */
.ppdb-dropzone {
  border: 1.5px dashed #94A3B8;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.ppdb-dropzone:hover {
  border-color: #0F4C81;
  background: #EFF6FF;
}
.ppdb-dropzone.dragover {
  border-color: #2563EB;
  background: #EFF6FF;
}
.ppdb-dropzone-featured {
  padding: 22px 16px;
  background: #F8FAFC;
  border: 1.5px dashed #64748B;
}
.ppdb-dropzone-featured:hover {
  border-color: #0A2540;
  background: #EFF6FF;
}
.ppdb-dropzone-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.ppdb-dropzone-content {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ppdb-dropzone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.12);
  transition: all 0.2s ease;
}
.ppdb-btn-gold {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.ppdb-dropzone:hover .ppdb-btn-gold {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
}
.ppdb-dropzone-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.83rem;
  background: #FFFFFF;
  color: #0F4C81;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.ppdb-dropzone:hover .ppdb-dropzone-btn-action {
  background: #0F4C81;
  color: #FFFFFF;
  border-color: #0F4C81;
  transform: translateY(-1px);
}
.ppdb-dropzone-sub {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 500;
}

/* File Preview Widget */
.ppdb-file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #86EFAC;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}
.ppdb-preview-thumb-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CBD5E1;
}
.ppdb-preview-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ppdb-preview-meta {
  flex-grow: 1;
  overflow: hidden;
}
.ppdb-preview-filename {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.ppdb-preview-status {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}
.ppdb-preview-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.btn-doc-change, .btn-doc-remove {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-doc-change {
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F4C81;
}
.btn-doc-change:hover {
  background: #F0F7FF;
  border-color: #0F4C81;
}
.btn-doc-remove {
  border: 1.5px solid #FECACA;
  background: #FFFFFF;
  color: #DC2626;
}
.btn-doc-remove:hover {
  background: #FEE2E2;
}

/* ==========================================================================
   8. ADMIN CMS DOCUMENT INSPECTOR & PREVIEW MODAL
   ========================================================================== */
.admin-docs-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.admin-docs-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #0A2540;
}
.admin-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.admin-doc-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}
.admin-doc-card.uploaded {
  border-color: #10B981;
  background: #F0FDF4;
}
.admin-doc-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-doc-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 6px;
  background: #E2E8F0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CBD5E1;
}
.admin-doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-doc-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}
.admin-doc-status-badge {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
  display: inline-block;
}
.admin-doc-status-badge.uploaded {
  background: #D1FAE5;
  color: #047857;
}
.admin-doc-status-badge.empty {
  background: #F1F5F9;
  color: #64748B;
}
.admin-doc-actions {
  display: flex;
  gap: 6px;
}
.admin-doc-btn {
  flex: 1;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F4C81;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.admin-doc-btn:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}
.admin-doc-btn.download-btn {
  color: #059669;
}
.admin-doc-btn.download-btn:hover {
  background: #ECFDF5;
  border-color: #6EE7B7;
}

/* Lightbox Doc Preview Modal */
.doc-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.doc-lightbox-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.doc-lightbox-header {
  padding: 14px 20px;
  background: #0A2540;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc-lightbox-body {
  padding: 20px;
  overflow-y: auto;
  text-align: center;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}
.doc-lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Mobile Media Queries for PPDB Uploads: Ultra-Compact, Rapi & Ringkas */
@media (max-width: 768px) {
  .ppdb-upload-section-wrap {
    margin: 10px 0 8px !important;
    padding-top: 10px !important;
  }
  .ppdb-upload-instruction {
    padding: 6px 8px !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
    align-items: center !important;
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
  }
  .ppdb-upload-instruction svg {
    width: 13px !important;
    height: 13px !important;
  }
  .ppdb-upload-instruction-text p {
    font-size: 0.67rem !important;
    line-height: 1.32 !important;
    margin: 0 !important;
    color: #166534 !important;
  }

  /* Susunan Kotak Kanan-Kiri (2-Kolom) Seimbang di Mobile */
  .ppdb-docs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .ppdb-doc-card.featured-card {
    grid-column: 1 / -1 !important; /* Pasfoto sebagai kartu utama membentang penuh */
    border-color: rgba(251, 191, 36, 0.5) !important;
  }
  .admin-docs-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .admin-doc-card {
    padding: 8px 10px !important;
    border-radius: 5px !important;
    border: 1px solid #CBD5E1 !important;
    gap: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
  }
  .admin-doc-card-top {
    gap: 8px !important;
    width: 100% !important;
  }
  .admin-doc-thumb {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 3px !important;
  }
  .admin-doc-title {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .admin-doc-status-badge {
    font-size: 0.62rem !important;
    padding: 1px 5px !important;
    border-radius: 2px !important;
    font-weight: 500 !important;
  }
  .admin-doc-actions {
    display: flex !important;
    gap: 5px !important;
    margin-top: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .admin-doc-btn {
    padding: 4px 6px !important;
    font-size: 0.68rem !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    flex: 1 !important;
  }

  .ppdb-doc-card {
    padding: 6px 6px !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(10, 37, 64, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-width: 0 !important;
  }

  .ppdb-doc-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 4px !important;
    gap: 2px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .ppdb-doc-card.featured-card .ppdb-doc-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .ppdb-doc-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .ppdb-doc-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    font-size: 0.70rem !important;
    border-radius: 4px !important;
  }
  .ppdb-doc-name {
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    color: #0A2540 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.18 !important;
  }
  .ppdb-doc-badge {
    padding: 1px 4px !important;
    font-size: 0.55rem !important;
    font-weight: 700 !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    letter-spacing: 0 !important;
    margin-top: 1px !important;
  }

  /* Sembunyikan deskripsi panjang di HP agar hemat ruang vertikal */
  .ppdb-doc-desc {
    display: none !important;
  }

  /* Dropzone tombol aksi kompak 28px */
  .ppdb-dropzone {
    padding: 4px 6px !important;
    min-height: 28px !important;
    border-radius: 6px !important;
    border: 1.5px dashed #CBD5E1 !important;
    background: #F8FAFC !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    width: 100% !important;
  }
  .ppdb-dropzone:hover, .ppdb-dropzone:active {
    border-color: #0F4C81 !important;
    background: #EFF6FF !important;
  }
  .ppdb-dropzone-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .ppdb-dropzone-btn, .ppdb-dropzone-btn-action {
    padding: 3px 6px !important;
    font-size: 0.65rem !important;
    gap: 4px !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .ppdb-dropzone-btn svg, .ppdb-dropzone-btn-action svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }
  .ppdb-dropzone-sub {
    display: none !important;
  }

  /* Preview file kompak saat terunggah */
  .ppdb-file-preview {
    padding: 3px 6px !important;
    border-radius: 5px !important;
    gap: 4px !important;
    min-height: 30px !important;
    height: 30px !important;
    box-sizing: border-box !important;
  }
  .ppdb-preview-thumb-wrap {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 3px !important;
  }
  .ppdb-preview-filename {
    font-size: 0.64rem !important;
    font-weight: 700 !important;
  }
  .ppdb-preview-status {
    font-size: 0.58rem !important;
  }
  .btn-doc-change, .btn-doc-remove {
    padding: 2px 4px !important;
    font-size: 0.6rem !important;
    border-radius: 3px !important;
  }
}

/* Form Validation Indicators */
.form-input.is-invalid, .form-select.is-invalid, textarea.form-input.is-invalid {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-input.is-valid, .form-select.is-valid, textarea.form-input.is-valid {
  border-color: #10B981 !important;
  background-color: #F0FDF4 !important;
}

.field-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #DC2626;
  font-weight: 700;
  margin-top: 5px;
  line-height: 1.35;
}

.field-error-msg.visible {
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-hint {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 4px;
  display: block;
}

.ppdb-doc-card.is-invalid {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* ==========================================================================
   PPDB ANNOUNCEMENT & MANDATORY RESULT CHECKER
   ========================================================================== */
.announcement-section {
  padding: 48px 0 20px;
}

.announcement-card-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 76, 129, 0.16);
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.08);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.announcement-card-header {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  padding: 24px 32px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 3px solid #FBBF24;
}

.announcement-card-header h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-card-header p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.announcement-card-body {
  padding: 32px;
}

.announcement-search-form {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr auto;
  gap: 16px;
  align-items: flex-start;
  background: #F8FAFC;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
}

.announcement-search-form .form-group {
  margin-bottom: 0;
}

.announcement-search-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
  display: block;
}

.announcement-reg-input {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-check-announcement {
  background: linear-gradient(135deg, #0F4C81 0%, #0A2540 100%);
  color: #FFFFFF;
  border: 1.5px solid #FBBF24;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.15);
  height: 44px;
}

.btn-check-announcement:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #C59B27 0%, #B45309 100%);
  border-color: #FDE68A;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(197, 155, 39, 0.3);
}

/* Result Box Display */
.announcement-result-box {
  display: none;
  animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accepted Banner */
.result-card-accepted {
  background: #FFFFFF;
  border: 2px solid #10B981;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.12);
}

.result-banner-accepted {
  background: linear-gradient(135deg, #065F46 0%, #047857 100%);
  color: #FFFFFF;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 3px solid #FBBF24;
}

.result-banner-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.result-banner-sub {
  margin: 0;
  font-size: 0.88rem;
  color: #D1FAE5;
}

.badge-accepted-pill {
  background: #FBBF24;
  color: #78350F;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.result-card-body {
  padding: 28px;
}

.student-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: #F8FAFC;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
}

.student-meta-photo {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #FBBF24;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #E2E8F0;
}

.student-meta-item {
  margin-bottom: 8px;
}

.student-meta-item:last-child {
  margin-bottom: 0;
}

.student-meta-label {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: block;
}

.student-meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A2540;
}

.next-steps-container {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.next-steps-container h5 {
  margin: 0 0 12px;
  color: #1E40AF;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.next-steps-list {
  margin: 0;
  padding-left: 20px;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.6;
}

.next-steps-list li {
  margin-bottom: 6px;
}

.result-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-print-letter {
  background: linear-gradient(135deg, #0F4C81 0%, #0A2540 100%);
  color: #FFFFFF;
  border: 1.5px solid #FBBF24;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-print-letter:hover {
  background: #C59B27;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-confirm-wa {
  background: #10B981;
  color: #FFFFFF;
  border: 1px solid #059669;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-confirm-wa:hover {
  background: #059669;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Pending Banner */
.result-card-pending {
  background: #FFFFFF;
  border: 2px solid #3B82F6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.1);
}

.result-banner-pending {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
  color: #FFFFFF;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 3px solid #60A5FA;
}

/* Not Found / Error Banner */
.result-card-notfound {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: #991B1B;
}

.result-card-notfound h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.result-card-notfound p {
  margin: 0;
  font-size: 0.88rem;
  color: #7F1D1D;
  line-height: 1.5;
}

/* Print Specific Rules for Formal Acceptance Letter */
@media print {
  body * {
    visibility: hidden;
  }
  #printableAcceptanceLetter, #printableAcceptanceLetter * {
    visibility: visible;
  }
  #printableAcceptanceLetter {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .no-print {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .announcement-section {
    padding: 24px 0 16px !important;
  }
  .announcement-card-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.06) !important;
  }
  .announcement-card-header {
    padding: 14px 16px !important;
    gap: 8px !important;
    border-bottom: 2px solid #FBBF24 !important;
  }
  .announcement-card-header h3 {
    font-size: 1.05rem !important;
    margin: 0 0 4px !important;
    gap: 6px !important;
    line-height: 1.3 !important;
  }
  .announcement-card-header p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
  .announcement-card-header .badge-accepted-pill {
    padding: 3px 8px !important;
    font-size: 0.68rem !important;
    border-width: 1px !important;
  }
  .announcement-card-body {
    padding: 12px 10px !important;
  }
  .announcement-search-form {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px 10px !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    margin-bottom: 12px !important;
  }
  .announcement-search-form .form-group {
    margin-bottom: 0 !important;
  }
  .announcement-search-form label {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 3px !important;
  }
  .announcement-search-form .form-input {
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 10px !important;
    font-size: 0.82rem !important;
    border-radius: 7px !important;
    border: 1px solid #CBD5E1 !important;
    background-color: #FFFFFF !important;
    box-sizing: border-box !important;
    line-height: 1.25 !important;
  }
  .announcement-search-form .form-input:focus {
    border-color: #0F4C81 !important;
    box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.12) !important;
  }
  .announcement-reg-input {
    letter-spacing: 0.02em !important;
  }
  .announcement-search-form .field-hint {
    font-size: 0.68rem !important;
    color: #64748B !important;
    margin-top: 2px !important;
    line-height: 1.25 !important;
  }
  .btn-check-announcement {
    height: 38px !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.15) !important;
    width: 100% !important;
  }
  .btn-check-announcement svg {
    width: 15px !important;
    height: 15px !important;
  }

  .student-meta-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding: 12px !important;
    gap: 10px !important;
  }
  .student-meta-photo {
    margin: 0 auto;
    width: 70px !important;
    height: 88px !important;
  }
  .student-meta-item {
    margin-bottom: 5px !important;
  }
  .student-meta-value {
    font-size: 0.88rem !important;
  }
  .result-action-buttons {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .result-action-buttons button,
  .result-action-buttons a {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   EXECUTIVE PSB GATEWAY SHOWCASE BANNER (FULL-WIDTH LUXURY ARCHITECTURE)
   ========================================================================== */
.psb-gateway-card {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: linear-gradient(135deg, #071C33 0%, #0A2540 50%, #0F4C81 100%);
  border-radius: 16px;
  padding: 54px 64px 48px;
  box-shadow: 0 25px 65px -15px rgba(10, 37, 64, 0.28), 0 0 0 1px rgba(251, 191, 36, 0.25);
  border: 1.5px solid rgba(197, 155, 39, 0.4);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.psb-gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FBBF24 50%, transparent 100%);
}

.psb-ambient-glow-tr {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.psb-ambient-glow-bl {
  position: absolute;
  bottom: -90px;
  left: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.psb-gateway-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.psb-gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 8px;
  color: #FDE68A;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.psb-badge-text-mobile {
  display: none;
}

.psb-badge-text-desktop {
  display: inline;
}

.psb-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
  animation: psbBlinkPulse 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes psbBlinkPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75), 0 0 8px rgba(16, 185, 129, 0.65);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.85);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0), 0 0 2px rgba(16, 185, 129, 0.1);
  }
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    opacity: 1;
  }
}

.psb-gateway-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight-gold-psb {
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE68A 25%, #FBBF24 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 850;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}

.psb-title-flourish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 16px;
}

.psb-flourish-bar {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FBBF24);
  border-radius: 2px;
}

.psb-flourish-bar:last-child {
  background: linear-gradient(90deg, #FBBF24, transparent);
}

.psb-flourish-gem {
  width: 6px;
  height: 6px;
  background: #FBBF24;
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}

.psb-gateway-desc {
  max-width: 860px;
  margin: 0 auto 36px;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.7;
}

/* 4-Pillar Executive Feature Grid */
.psb-gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 38px;
  text-align: left;
}

.psb-feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 20px 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.psb-feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.psb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.psb-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.14);
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.psb-pill-tag {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag-gold {
  background: rgba(251, 191, 36, 0.18);
  color: #FDE68A;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tag-amber {
  background: rgba(245, 158, 11, 0.18);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.18);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.psb-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px;
  line-height: 1.3;
}

.psb-card-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin: 0;
}

/* Executive Interactive CTA Row */
.psb-gateway-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.psb-btn-primary {
  padding: 14px 30px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.psb-btn-secondary {
  padding: 14px 26px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.psb-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.psb-btn-wa {
  padding: 12px 22px 12px 14px;
  font-size: 0.93rem;
  background: linear-gradient(135deg, #107C41 0%, #0B5C30 100%) !important;
  border: 1px solid rgba(37, 211, 102, 0.45) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(11, 92, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  text-shadow: none !important;
}

.psb-btn-wa:hover {
  background: linear-gradient(135deg, #169E54 0%, #0F783F 100%) !important;
  border-color: rgba(37, 211, 102, 0.85) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px);
}

.psb-btn-wa:active {
  transform: translateY(0);
}

/* Luxury WhatsApp Icon Emblem */
.psb-wa-icon-emblem {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #25D366;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  color: #FFFFFF;
}

.psb-btn-wa:hover .psb-wa-icon-emblem {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.psb-wa-icon-emblem svg {
  width: 17px;
  height: 17px;
  fill: #FFFFFF !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1080px) {
  .psb-gateway-card {
    padding: 44px 36px 40px;
  }
  .psb-gateway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .psb-gateway-card {
    padding: 28px 18px 24px;
    border-radius: 12px;
  }
  .psb-gateway-badge {
    font-size: 0.68rem;
    padding: 4.5px 10px;
    border-radius: 6px;
    gap: 6px;
    margin-bottom: 14px;
  }
  .psb-badge-text-desktop {
    display: none;
  }
  .psb-badge-text-mobile {
    display: inline;
    letter-spacing: 0.03em;
  }
  .psb-gateway-title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .psb-title-flourish {
    margin: 0 auto 12px;
    gap: 6px;
  }
  .psb-flourish-bar {
    width: 28px;
  }
  .psb-flourish-gem {
    width: 5px;
    height: 5px;
  }
  .psb-gateway-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 18px;
    color: rgba(241, 245, 249, 0.92);
  }
  /* Minimalis 2x2 Grid Ramping di Mobile */
  .psb-gateway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }
  .psb-feature-card {
    border-radius: 8px;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .psb-card-top {
    margin-bottom: 6px;
    gap: 6px;
  }
  .psb-card-icon {
    width: 25px;
    height: 25px;
    border-radius: 5px;
  }
  .psb-card-icon svg {
    width: 13px;
    height: 13px;
  }
  .psb-pill-tag {
    font-size: 0.58rem;
    padding: 1.5px 5px;
    border-radius: 3px;
  }
  .psb-card-title {
    font-size: 0.80rem;
    margin: 0 0 2px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .psb-card-text {
    font-size: 0.69rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
  }
  .psb-gateway-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .psb-btn-primary, .psb-btn-wa {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.85rem;
    border-radius: 7px !important;
  }
}

/* ===================================================================
   14. YTPAI ASISTEN SANTRI CHATBOT (MINIMALIST & COMPACT)
   Deep Islamic Navy & Royal Gold Executive Styling
   =================================================================== */

.ai-chat-root {
  font-family: inherit;
  position: relative;
  z-index: 99998;
}

/* Floating Action Button (FAB) - Raudly AI Mascot Pill */
.ai-chat-fab {
  position: fixed;
  bottom: 76px;
  right: 24px;
  height: 44px;
  width: 180px;
  border-radius: 9999px;
  padding: 0 16px 0 10px;
  gap: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, rgba(7, 25, 45, 0.95) 0%, rgba(12, 60, 95, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 28px rgba(0, 15, 30, 0.5), 0 0 18px rgba(14, 165, 233, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99995;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}

.ai-chat-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 20, 40, 0.65), 0 0 25px rgba(0, 229, 255, 0.6);
  border-color: #22D3EE;
}

.ai-chat-fab:active {
  transform: translateY(0) scale(0.97);
}

.ai-chat-fab.chat-open {
  transform: scale(0.92);
  opacity: 0.85;
}

.ai-fab-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
}

.ai-fab-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ai-fab-label .ai-fab-sparkle {
  color: #00E5FF;
  font-size: 0.82rem;
  display: inline-block !important;
}

/* Mascot Avatar Image Styling */
.ai-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 10, 25, 0.4));
}

.ai-mascot-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

/* Chat Modal Window - Ocean AI Cyber Glassmorphism View (440px x 600px - Proportional & Elegant) */
.ai-chat-window {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 440px;
  height: 600px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 96px);
  background: 
    radial-gradient(circle at 50% 8%, rgba(0, 229, 255, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(14, 165, 233, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0A2540 0%, #071E36 50%, #05182C 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 26px;
  box-shadow: 
    0 25px 60px -10px rgba(0, 10, 25, 0.85),
    0 0 35px rgba(14, 165, 233, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Executive Ocean Glass Header */
.ai-chat-header {
  background: rgba(7, 24, 44, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 13px 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 2;
}

.ai-chat-header:active {
  cursor: grabbing;
}

.ai-chat-window.is-dragging {
  user-select: none;
  -webkit-user-select: none;
  transition: none !important;
  box-shadow: 0 30px 70px rgba(0, 10, 25, 0.9), 0 0 45px rgba(0, 229, 255, 0.35) !important;
}

.ai-chat-window.is-dragging .ai-chat-header {
  cursor: grabbing !important;
}

.ai-chat-header-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.ai-avatar-ring {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 30%, #38BDF8 0%, #0284C7 50%, #034D7E 100%);
  border: 1.5px solid #22D3EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
}

.ai-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #071A2E;
  z-index: 2;
  box-shadow: 0 0 10px #10B981, 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: oceanDotPulse 2.4s infinite;
}

@keyframes oceanDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px #10B981; }
  50% { transform: scale(1.15); box-shadow: 0 0 14px #10B981, 0 0 0 4px rgba(16, 185, 129, 0.25); }
}

.ai-chat-header-text {
  flex: 1;
  min-width: 0;
}

.ai-chat-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.ai-chat-subtitle {
  font-size: 0.70rem;
  color: rgba(186, 230, 253, 0.85);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-status-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.ai-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #BAE6FD;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-btn-icon:hover {
  background: rgba(14, 165, 233, 0.25);
  border-color: #22D3EE;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
  transform: scale(1.05);
}

/* Orb stage removed per user request - clean minimal premium headspace */
.ai-ocean-orb-stage {
  display: none !important;
}

/* Chat Body - Cyber Deep Oceanic Atmosphere */
.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  position: relative;
}

.ai-chat-body::-webkit-scrollbar {
  width: 4px;
}

.ai-chat-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 10px;
}

.ai-chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.45);
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

/* Message Rows */
.ai-msg-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  width: 100%;
}

.ai-msg-row.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #38BDF8 0%, #0284C7 60%, #034D7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  border: 1.5px solid #22D3EE;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
  overflow: hidden;
}

.ai-msg-content {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.ai-msg-user .ai-msg-content {
  align-items: flex-end;
}

.ai-msg-bubble {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.81rem;
  line-height: 1.48;
  word-break: break-word;
}

/* Assistant Bubble - Radiant Ocean Cyan/Teal Gradient */
.ai-msg-assistant .ai-msg-bubble {
  background: linear-gradient(135deg, rgba(8, 48, 80, 0.9) 0%, rgba(9, 85, 122, 0.85) 45%, rgba(13, 148, 185, 0.8) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  border-top-left-radius: 3px;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 15, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ai-msg-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  word-break: break-word;
}

.ai-msg-link:hover {
  color: #FCD34D;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
  text-decoration: none;
}

/* ==========================================================================
   RAUDLY COMIC DIALOGUE WELCOME (Hero Character Greeting - Match Reference)
   ========================================================================== */
.ai-welcome-dialog-row {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

/* ==========================================================================
   RAUDLY EXECUTIVE WELCOME CARD (Spacious, Elegant & Grand Mascot Presentation)
   ========================================================================== */
.raudly-welcome-card {
  background: linear-gradient(145deg, rgba(10, 37, 64, 0.95) 0%, rgba(15, 65, 110, 0.90) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 14px 16px 14px 14px;
  box-shadow: 0 12px 32px rgba(0, 10, 25, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  margin: 4px 0 10px;
  width: 100%;
  box-sizing: border-box;
  animation: waStickerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.raudly-welcome-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.raudly-welcome-mascot-wrap {
  flex-shrink: 0;
  width: 114px;
  height: 154px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 10px 22px rgba(0, 8, 20, 0.7)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.35));
}

.raudly-welcome-mascot-wrap::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.45) 0%, rgba(56, 189, 248, 0.3) 45%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.raudly-welcome-mascot-fig {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.raudly-welcome-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.raudly-welcome-arm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 3;
  transform-origin: 69.75% 49.58%;
  animation: raudlyWaveHand 1.6s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
  display: block;
}

.raudly-welcome-card:hover .raudly-welcome-arm {
  animation: raudlyWaveHandFast 0.8s ease-in-out infinite;
}

.raudly-welcome-intro {
  flex: 1;
  min-width: 0;
}

.raudly-welcome-greeting {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 4px;
}

.raudly-welcome-greeting-sub {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #E0F2FE;
}

.raudly-welcome-greeting-sub strong {
  color: #38BDF8;
}

.raudly-welcome-desc {
  font-size: 0.77rem;
  line-height: 1.52;
  color: #F1F5F9;
  padding-top: 9px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  word-break: break-word;
}

.raudly-welcome-desc strong {
  color: #38BDF8;
  font-weight: 700;
}

@media (max-width: 400px) {
  .raudly-welcome-card {
    padding: 12px 14px 12px 12px;
  }
  .raudly-welcome-top {
    gap: 12px;
  }
  .raudly-welcome-mascot-wrap {
    width: 100px;
    height: 138px;
  }
  .raudly-welcome-greeting {
    font-size: 0.84rem;
  }
  .raudly-welcome-greeting-sub {
    font-size: 0.75rem;
  }
  .raudly-welcome-desc {
    font-size: 0.75rem;
  }
}

.raudly-comic-dialog {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 4px 0 12px;
  position: relative;
  width: 100%;
}

.raudly-comic-mascot {
  flex-shrink: 0;
  width: 124px;
  height: 175px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 10px 22px rgba(0, 8, 20, 0.65)) drop-shadow(0 0 12px rgba(56, 189, 248, 0.25));
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.raudly-comic-mascot::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.45) 0%, rgba(56, 189, 248, 0.3) 45%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.raudly-comic-mascot-figure {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.raudly-comic-body,
.raudly-comic-mascot-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 16px rgba(10, 37, 64, 0.18));
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.raudly-comic-arm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 3;
  transform-origin: 69.75% 49.58%;
  animation: raudlyWaveHand 1.6s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
  display: block;
}

.raudly-comic-dialog:hover .raudly-comic-arm {
  animation: raudlyWaveHandFast 0.8s ease-in-out infinite;
}

/* Avatar Miniature Wrap for FAB and Chat Header */
.ai-avatar-waving-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0A2540;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-avatar-waving-wrap .ai-avatar-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.ai-avatar-waving-wrap .ai-avatar-arm {
  display: none !important;
}

/* Proactive Floating Greeting Callout (Removed - keep only button Tanya Raudly) */
.ai-fab-callout {
  display: none !important;
}

.ai-fab-callout:hover {
  transform: translateY(-3px);
}

.ai-callout-mascot-wrap {
  flex-shrink: 0;
  width: 54px;
  height: 72px;
  position: relative;
}

.ai-callout-mascot-figure {
  position: relative;
  width: 100%;
  height: 100%;
}

.ai-callout-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(10, 37, 64, 0.2));
}

.ai-callout-arm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  transform-origin: 69.75% 49.58%;
  animation: raudlyWaveHand 1.5s ease-in-out infinite;
}

.ai-callout-balloon {
  background: linear-gradient(145deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
  padding: 10px 14px 10px 12px;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.25), 0 0 0 1.5px rgba(251, 191, 36, 0.45);
  position: relative;
}

.ai-callout-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0A2540;
  background: #FBBF24;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.ai-callout-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #F8FAFC;
  font-weight: 600;
}

.ai-callout-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0A2540;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.ai-callout-close:hover {
  background: #DC2626;
  border-color: #FFFFFF;
  transform: scale(1.1);
}

@keyframes aiCalloutPop {
  0% { opacity: 0; transform: translateY(12px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes raudlyGreetFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.raudly-comic-balloon {
  flex: 1;
  min-width: 0;
  background: linear-gradient(145deg, rgba(12, 44, 76, 0.96) 0%, rgba(8, 30, 56, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  border-radius: 18px 18px 18px 4px;
  padding: 13px 15px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 10, 25, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.45);
  animation: waStickerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.raudly-comic-balloon-tail {
  position: absolute;
  bottom: 24px;
  left: -10px;
  width: 11px;
  height: 16px;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.raudly-comic-balloon-tail svg path {
  fill: rgba(12, 44, 76, 0.98);
}

.raudly-comic-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0A2540;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 7px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.raudly-comic-text {
  font-size: 0.79rem;
  line-height: 1.5;
  color: #FFFFFF;
  font-weight: 400;
  word-break: break-word;
}

.raudly-comic-text strong {
  color: #38BDF8;
  font-weight: 700;
}

.raudly-comic-text em {
  color: #FDE047;
  font-style: italic;
}

@media (max-width: 600px) {
  .raudly-comic-dialog {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 10px !important;
    margin: 4px 0 10px !important;
    width: 100% !important;
  }
  .raudly-comic-mascot {
    width: 104px !important;
    height: 148px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    position: relative !important;
    filter: drop-shadow(0 8px 18px rgba(0, 8, 20, 0.65)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.25)) !important;
  }
  .raudly-comic-mascot::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.45) 0%, rgba(56, 189, 248, 0.3) 45%, transparent 75%);
    z-index: 0;
    pointer-events: none;
  }
  .raudly-comic-balloon {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
    padding: 11px 13px !important;
    border-radius: 16px 16px 16px 4px !important;
    background: linear-gradient(145deg, rgba(12, 44, 76, 0.96) 0%, rgba(8, 30, 56, 0.98) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 10px 25px rgba(0, 10, 25, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  }
  .raudly-comic-balloon-tail {
    display: flex !important;
    position: absolute !important;
    left: -10px !important;
    bottom: 22px !important;
    top: auto !important;
    transform: none !important;
    width: 11px !important;
    height: 16px !important;
  }
  .raudly-comic-balloon-tail svg path {
    fill: rgba(12, 44, 76, 0.98) !important;
  }
  .raudly-comic-badge {
    font-size: 0.62rem !important;
    padding: 2px 7px !important;
    margin-bottom: 5px !important;
  }
  .raudly-comic-text {
    font-size: 0.76rem !important;
    line-height: 1.48 !important;
    color: #FFFFFF !important;
    text-align: left !important;
  }
}

@media (max-width: 360px) {
  .raudly-comic-dialog {
    gap: 8px !important;
  }
  .raudly-comic-mascot {
    width: 90px !important;
    height: 128px !important;
  }
  .raudly-comic-balloon {
    padding: 9px 11px !important;
  }
  .raudly-comic-text {
    font-size: 0.72rem !important;
    line-height: 1.44 !important;
  }
}

/* WhatsApp Sticker Fresh Presentation (RAUDLY Maskot - Die-cut Freedom Standout) */
.ai-wa-sticker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFDF5 45%, #FEF9C3 100%);
  padding: 14px 16px 16px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08), 0 2px 10px rgba(251, 191, 36, 0.18);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  margin: 8px 0 12px;
  animation: waStickerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: visible;
}

.ai-wa-sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.45);
  margin-bottom: 6px;
}

.ai-wa-sticker-badge-icon {
  font-size: 0.75rem;
  color: #FBBF24;
  animation: waStickerSparkle 2s ease-in-out infinite alternate;
}

@keyframes waStickerSparkle {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.15) rotate(15deg); opacity: 1; }
}

.ai-wa-sticker-stage {
  position: relative;
  width: 100%;
  min-height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 0 6px;
  cursor: pointer;
}

.ai-wa-sticker-halo {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.95) 0%, rgba(253, 230, 138, 0.45) 50%, rgba(255, 255, 255, 0) 72%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: waStickerGlow 3s ease-in-out infinite alternate;
}

@keyframes waStickerGlow {
  0% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.ai-wa-sticker-figure {
  position: relative;
  z-index: 2;
  height: 175px;
  width: 131px;
  margin: 0 auto;
  display: block;
}

.ai-wa-character-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(10, 37, 64, 0.18));
  transform: none !important;
  animation: none !important;
  pointer-events: none;
  z-index: 2;
  display: block;
}

.ai-wa-character-arm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(10, 37, 64, 0.12));
  /* Titik putar tepat di sendi siku santri */
  transform-origin: 69.75% 49.58%;
  animation: raudlyWaveHand 1.6s ease-in-out infinite;
  will-change: transform;
}

.ai-wa-sticker-card:hover .ai-wa-character-arm {
  animation: raudlyWaveHandFast 0.8s ease-in-out infinite;
}

@keyframes raudlyWaveHand {
  0%, 100% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(-13deg);
  }
  32% {
    transform: rotate(7deg);
  }
  48% {
    transform: rotate(-11deg);
  }
  65% {
    transform: rotate(5deg);
  }
  82% {
    transform: rotate(-4deg);
  }
}

@keyframes raudlyWaveHandFast {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(9deg);
  }
}

.ai-wa-sticker-character {
  position: relative;
  z-index: 2;
  height: 172px;
  max-width: 165px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(10, 37, 64, 0.18));
  transform: none;
}

.ai-wa-sticker-pedestal {
  position: relative;
  z-index: 1;
  width: 115px;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(15, 76, 129, 0.28) 0%, rgba(10, 37, 64, 0.1) 50%, transparent 75%);
  border-radius: 50%;
  margin-top: -6px;
  pointer-events: none;
}

.ai-wa-sticker-speech-balloon {
  position: relative;
  z-index: 3;
  background: #FFFFFF;
  border: 1.5px solid #FCD34D;
  border-radius: 14px;
  padding: 9px 16px;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.07);
  max-width: 94%;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-speech-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.45;
  text-align: center;
}

/* Fallback Compatibility Classes */
.ai-wa-sticker-img-box {
  width: 130px;
  height: 130px;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-wa-sticker-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(10, 37, 64, 0.18));
}

.ai-wa-sticker-caption {
  margin-top: 8px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #0F4C81;
  text-align: center;
}

@keyframes waStickerPop {
  0% { transform: scale(0.88); opacity: 0; }
  70% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes waStickerWave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg) scale(1.02); }
  75% { transform: rotate(4deg) scale(1.02); }
}

.ai-welcome-hero-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: -4px -4px 8px -4px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  border-radius: 9px;
  color: #FFFFFF;
}

.ai-welcome-mascot-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.ai-mascot-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.ai-welcome-hero-info {
  flex-grow: 1;
}

.ai-welcome-hero-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  color: #FCD34D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-welcome-hero-name {
  margin: 1px 0 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.ai-msg-assistant .ai-msg-bubble p {
  margin-bottom: 6px;
}

.ai-msg-assistant .ai-msg-bubble p:last-child {
  margin-bottom: 0;
}

.ai-msg-assistant .ai-msg-bubble ul,
.ai-msg-assistant .ai-msg-bubble ol {
  padding-left: 14px;
  margin: 4px 0;
}

.ai-msg-assistant .ai-msg-bubble li {
  margin-bottom: 3px;
}

.ai-msg-assistant .ai-msg-bubble strong {
  color: #38BDF8;
  font-weight: 700;
}

.ai-msg-heading {
  font-weight: 800;
  color: #38BDF8;
  font-size: 0.94rem;
  margin: 10px 0 4px 0;
  line-height: 1.35;
  display: block;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.ai-msg-heading:first-child {
  margin-top: 0;
}

.ai-msg-bullet {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 3px 0;
  line-height: 1.45;
}

.ai-bullet-dot {
  color: #22D3EE;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.ai-msg-divider {
  border: none;
  border-top: 1px dashed rgba(56, 189, 248, 0.3);
  margin: 10px 0;
}

/* ==========================================================================
   AL-QUR'AN & ARABIC MUSHAF TYPOGRAPHY SYSTEM (AMIRI QURAN STANDARD)
   ========================================================================== */
.ai-arabic-card {
  display: block;
  background: rgba(6, 24, 42, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 12px;
  padding: 10px 16px 12px;
  margin: 9px 0;
  text-align: right;
  direction: rtl;
  box-shadow: 0 4px 18px rgba(0, 10, 25, 0.4), inset 0 0 15px rgba(251, 191, 36, 0.08);
}

.ai-arabic-text {
  font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif !important;
  font-size: 1.25rem !important;
  line-height: 2.15 !important;
  color: #FEF08A !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  word-spacing: 2px !important;
  text-align: right !important;
  direction: rtl !important;
  unicode-bidi: isolate;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: block;
  text-shadow: 0 0 12px rgba(254, 240, 138, 0.35);
}

.ai-arabic-inline {
  font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif !important;
  font-size: 1.15em !important;
  line-height: 1.7 !important;
  color: #FEF08A !important;
  display: inline-block;
  direction: rtl;
  padding: 0 3px;
  vertical-align: -0.05em;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Ornate Mushaf Ayah Seal - Elegant & Delicate */
.quran-ayah-num {
  font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', serif !important;
  font-size: 0.9em;
  color: #FBBF24;
  padding: 0 4px;
  display: inline-block;
  vertical-align: baseline;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

@media (max-width: 480px) {
  .ai-arabic-card {
    padding: 8px 12px 10px;
    margin: 6px 0;
    border-radius: 9px;
  }
  .ai-arabic-text {
    font-size: 1.15rem !important;
    line-height: 2.05 !important;
  }
}

/* User Bubble - Minimalist Frosted Dark Glass */
.ai-msg-user .ai-msg-bubble {
  background: rgba(15, 35, 58, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  border-top-right-radius: 3px;
  color: #E2E8F0;
  box-shadow: 0 6px 18px rgba(0, 10, 25, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ai-msg-meta {
  font-size: 0.62rem;
  color: rgba(186, 230, 253, 0.55);
  margin-top: 4px;
  padding: 0 4px;
}

/* ==========================================================================
   QUICK MENU & SUGGESTION ACTIONS (Minimalist Executive Rows - Refined Geometry)
   ========================================================================== */
.ai-quick-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 10px !important;
  width: 100% !important;
}

.ai-menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: rgba(8, 26, 46, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 9px !important;
  padding: 7px 12px !important;
  color: #F0F9FF !important;
  font-family: inherit !important;
  font-size: 0.77rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 10, 25, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

.ai-menu-item:hover {
  background: rgba(13, 44, 76, 0.9) !important;
  border-color: rgba(34, 211, 238, 0.5) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px) !important;
}

.ai-menu-item:active {
  transform: translateY(0) !important;
}

.ai-menu-icon {
  display: none !important;
}

.ai-menu-text {
  flex: 1;
  text-align: left;
  line-height: 1.35;
  color: #E0F2FE;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: normal;
}

.ai-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  font-size: 0.92rem;
  font-weight: 600;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ai-menu-item:hover .ai-menu-arrow {
  transform: translateX(3px);
  color: #00E5FF;
}

.ai-menu-link {
  border-color: rgba(96, 165, 250, 0.4) !important;
}

/* ==========================================================================
   EXCLUSIVE RAUDLY AI TYPING INDICATOR (Neon Cyan Bouncing Dots)
   ========================================================================== */
.ai-typing-row {
  display: none;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.ai-typing-row.is-active,
.ai-typing-indicator.is-active {
  display: flex !important;
  animation: raudlyTypingRowFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ai-typing-avatar-wrap {
  flex-shrink: 0;
}

.ai-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(10, 38, 64, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 16px !important;
  border-top-left-radius: 4px !important;
  box-shadow: 0 4px 14px rgba(0, 10, 25, 0.3) !important;
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E5FF !important;
  box-shadow: 0 0 8px #00E5FF;
  animation: raudlyMonochromeBounce 1.35s infinite ease-in-out both;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes raudlyMonochromeBounce {
  0%, 80%, 100% {
    transform: scale(0.65) translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: scale(1.2) translateY(-3px);
    opacity: 1;
    box-shadow: 0 0 12px #00E5FF;
  }
}

/* Transisi kemunculan pesan obrolan yang mengalir alami */
.ai-msg-row.ai-msg-assistant:not(.ai-typing-row) {
  animation: aiAssistantMsgSlideUp 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ai-msg-row.ai-msg-user {
  animation: aiUserMsgSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes aiAssistantMsgSlideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aiUserMsgSlideUp {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CHAT FOOTER & INPUT CAPSULE (Exact Match Reference Oceanic Glass)
   ========================================================================== */
.ai-chat-footer {
  padding: 10px 14px 10px;
  background: rgba(7, 26, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56, 189, 248, 0.22);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.ai-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 28, 48, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 4px 6px 4px 14px;
  box-shadow: 0 4px 20px rgba(0, 10, 25, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.ai-chat-form:focus-within {
  border-color: #22D3EE;
  background: rgba(14, 35, 60, 0.88);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ai-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.80rem;
  color: #FFFFFF;
  outline: none;
  padding: 7px 0;
  font-family: inherit;
}

.ai-chat-input::placeholder {
  color: rgba(186, 230, 253, 0.45);
  font-size: 0.76rem;
}

.ai-chat-input-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-input-tool-btn {
  background: transparent;
  border: none;
  color: rgba(186, 230, 253, 0.65);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.ai-input-tool-btn:hover {
  color: #00E5FF;
  background: rgba(14, 165, 233, 0.18);
  transform: scale(1.05);
}

.ai-input-tool-btn.is-listening {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.2);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: oceanMicPulse 1s infinite alternate;
}

@keyframes oceanMicPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Luminous Cyan Sleek Modern Send Button (Clean 8px Rounded Rect) */
.ai-chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00E5FF 0%, #0284C7 100%);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ai-chat-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ai-chat-send-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.ai-chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.ai-footer-disclaimer {
  text-align: center;
  font-size: 0.62rem;
  color: rgba(186, 230, 253, 0.45);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Mobile Responsive (Compact & Highly Proportional for Phones) */
@media (max-width: 768px) {
  .ai-chat-fab {
    bottom: 66px !important;
    right: 14px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0, 15, 30, 0.6), 0 0 16px rgba(0, 229, 255, 0.45) !important;
    border: 1.5px solid #22D3EE !important;
    background: linear-gradient(135deg, rgba(7, 25, 45, 0.95) 0%, rgba(12, 60, 95, 0.92) 100%) !important;
    z-index: 99995 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }
  
  .ai-fab-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1.5px solid #22D3EE !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .ai-fab-label {
    display: none !important;
  }
  
  .ai-chat-window {
    bottom: 14px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    height: min(580px, 78vh) !important;
    height: min(580px, 78dvh) !important;
    max-height: 80dvh !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 45px rgba(0, 10, 25, 0.95), 0 0 30px rgba(0, 229, 255, 0.22) !important;
    border: 1px solid rgba(56, 189, 248, 0.38) !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 100000 !important;
  }

  .ai-chat-header {
    padding: 9px 13px !important;
    gap: 9px !important;
    flex-shrink: 0 !important;
    cursor: default !important;
  }

  .ai-chat-header-avatar {
    width: 28px !important;
    height: 28px !important;
  }

  .ai-chat-title {
    font-size: 0.82rem !important;
  }

  .ai-chat-subtitle {
    font-size: 0.63rem !important;
  }

  .ai-btn-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }

  .ai-ocean-orb-stage {
    display: none !important;
  }

  .ai-chat-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 8px 11px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ai-chat-messages {
    gap: 8px !important;
  }

  .ai-msg-row {
    gap: 7px !important;
  }

  .ai-msg-avatar {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.68rem !important;
  }

  .ai-msg-content {
    max-width: 90% !important;
  }

  .ai-msg-bubble {
    padding: 7px 11px !important;
    font-size: 0.74rem !important;
    line-height: 1.40 !important;
    border-radius: 9px !important;
  }

  .ai-quick-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin-top: 6px !important;
  }

  .ai-menu-item {
    padding: 6px 10px !important;
    gap: 6px !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
  }

  .ai-chat-footer {
    padding: 8px 12px 10px !important;
    background: rgba(7, 26, 46, 0.92) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.22) !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 10 !important;
  }

  .ai-chat-form {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(11, 28, 48, 0.85) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 9px !important;
    padding: 3px 5px 3px 12px !important;
  }

  .ai-chat-input {
    flex: 1 !important;
    font-size: 15px !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 5px 0 !important;
    line-height: 1.3 !important;
    height: auto !important;
  }

  .ai-chat-input::placeholder {
    font-size: 12.5px !important;
    color: rgba(186, 230, 253, 0.45) !important;
    -webkit-text-fill-color: rgba(186, 230, 253, 0.45) !important;
  }

  .ai-chat-send-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 7px !important;
  }

  .ai-footer-disclaimer {
    font-size: 0.58rem !important;
    margin-top: 3px !important;
  }
}

/* Auto-hide floating action buttons when chat modal is open (Prevents UI overlap) */
body.ai-chat-open .floating-widgets,
body.ai-chat-open .btn-scroll-top,
body.ai-chat-open #scrollTopBtn,
body.ai-chat-open .floating-wa-fab {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.6) translateY(24px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   TESTIMONIALS ELEVATED LUXURY & MODERATION SYSTEM (V2)
   ========================================================================== */

.testimonials-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
  padding: 64px 0 72px;
}

/* Header Action & Filter Bar */
.testi-header-wrapper {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

/* Executive Testimonial Trust Pill (Prima, Mewah & Ramping) */
.testi-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF5 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  padding: 3px 12px 3px 4px;
  box-shadow: 0 3px 12px rgba(10, 37, 64, 0.05), 0 1px 3px rgba(251, 191, 36, 0.15);
  margin-bottom: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.testi-trust-pill:hover {
  border-color: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.22);
}

.trust-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.2);
}

.trust-score-badge svg {
  color: #FBBF24;
  fill: #FBBF24;
  filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.8));
  flex-shrink: 0;
}

.trust-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-status-wrap svg {
  flex-shrink: 0;
}

.trust-status-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0A2540;
  letter-spacing: 0.02em;
}

/* Testimonial Title Flourish */
.testi-title-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px auto 16px;
}

.testi-title-flourish .flourish-bar-main {
  width: 50px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FBBF24 0%, #D97706 50%, #0F4C81 100%);
  box-shadow: 0 1px 4px rgba(251, 191, 36, 0.35);
}

.testi-title-flourish .flourish-gem {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #C59B27;
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.7);
  border-radius: 1px;
}

.testi-title-flourish .flourish-bar-sub {
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.28);
}

.testi-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding: 8px 12px 8px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.05);
}

.testi-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.testi-filter-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.testi-filter-btn:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #0F4C81;
}

.testi-filter-btn.active {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border-color: #0A2540;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.18);
}

.testi-btn-count {
  display: none !important;
}

.btn-open-testi-modal {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.16);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-open-testi-modal:hover {
  transform: translateY(-1px);
  background: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.28);
}

.btn-open-testi-modal svg {
  transition: transform 0.2s ease;
}

.btn-open-testi-modal:hover svg {
  transform: rotate(90deg);
}

/* Luxury Testimonial Grid & Cards */
.testimonials-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .testimonials-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .testi-trust-pill {
    padding: 2.5px 10px 2.5px 3.5px !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }
  .trust-score-badge {
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
    gap: 3.5px !important;
  }
  .trust-status-text {
    font-size: 0.68rem !important;
  }
  .testi-title-flourish {
    margin: 8px auto 12px !important;
    gap: 5px !important;
  }
  .testi-title-flourish .flourish-bar-main {
    width: 38px !important;
  }
  .testi-title-flourish .flourish-gem {
    width: 4px !important;
    height: 4px !important;
  }
  .testi-title-flourish .flourish-bar-sub {
    width: 10px !important;
  }
  .testimonials-grid-v2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testi-action-bar {
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .testi-filter-group {
    justify-content: center;
  }
  .btn-open-testi-modal {
    width: 100%;
    justify-content: center;
  }

  /* Mobile Testimonial Card Refinements */
  .testi-card-v2 {
    padding: 20px 18px 18px !important;
    border-radius: 18px !important;
  }
  .testi-card-top {
    margin-bottom: 13px !important;
    gap: 8px !important;
  }
  .testi-stars-pill {
    padding: 3px 8px 3px 6px !important;
    gap: 4px !important;
  }
  .testi-stars-row svg {
    width: 12.5px !important;
    height: 12.5px !important;
  }
  .testi-score-val {
    font-size: 0.68rem !important;
  }
  .testi-badge-verified {
    font-size: 0.66rem !important;
    padding: 3px 8px !important;
    gap: 3.5px !important;
  }
  .testi-quote-text {
    font-size: 0.88rem !important;
    line-height: 1.64 !important;
    margin-bottom: 16px !important;
  }
  .testi-profile-row {
    gap: 12px !important;
    padding-top: 13px !important;
  }
  .testi-avatar-img,
  .testi-avatar-fallback {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }
  .avatar-verified-pin {
    width: 15px !important;
    height: 15px !important;
  }
  .avatar-verified-pin svg {
    width: 7.5px !important;
    height: 7.5px !important;
  }
  .testi-author-name {
    font-size: 0.89rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  .testi-author-role {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }
}

.testi-card-v2 {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 20px;
  padding: 26px 24px 22px;
  box-shadow: 0 4px 20px -2px rgba(10, 37, 64, 0.05), 0 1px 3px rgba(10, 37, 64, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.testi-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 18px 36px -6px rgba(10, 37, 64, 0.12), 0 0 0 1px rgba(251, 191, 36, 0.35);
}

/* Decorative Gold Top Accent Line */
.testi-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #0A2540 0%, #0F4C81 25%, #C59B27 65%, #FBBF24 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0.95;
  box-shadow: 0 1px 4px rgba(251, 191, 36, 0.3);
}

/* Subtle ambient glow top right */
.testi-card-v2::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Giant Watermarked Quote in Background */
.testi-watermark-quote {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(197, 155, 39, 0.09);
  pointer-events: none;
  font-weight: 900;
  user-select: none;
  z-index: 0;
}

/* Card Top: Stars Pill & Verified Badge */
.testi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.testi-stars-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  padding: 3.5px 9px 3.5px 7px;
  box-shadow: 0 1px 3px rgba(251, 191, 36, 0.1);
}

.testi-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
}

.testi-score-val {
  font-size: 0.72rem;
  font-weight: 800;
  color: #92400E;
  letter-spacing: -0.01em;
  line-height: 1;
}

.testi-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #047857;
  font-size: 0.70rem;
  font-weight: 750;
  padding: 3.5px 9px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.testi-badge-verified svg {
  color: #059669;
  flex-shrink: 0;
}

/* Card Body: Quote */
.testi-quote-text {
  font-size: 0.93rem;
  color: #1E293B;
  line-height: 1.72;
  font-style: normal;
  margin: 0 0 20px 0;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.testi-quote-open,
.testi-quote-close {
  color: #C59B27;
  font-weight: 800;
  font-family: Georgia, serif;
  font-size: 1.25em;
  line-height: 0;
  vertical-align: -2px;
  margin: 0 2px;
}

/* Card Bottom: Submitter Info */
.testi-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid #EEF2F6;
  background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.25) 50%, transparent 100%) top/100% 1px no-repeat;
  position: relative;
  z-index: 1;
}

.testi-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.testi-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px rgba(251, 191, 36, 0.6), 0 3px 8px rgba(10, 37, 64, 0.12);
  background: #EFF6FF;
  display: block;
  transition: all 0.2s ease;
}

.testi-avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px rgba(251, 191, 36, 0.6), 0 3px 8px rgba(10, 37, 64, 0.12);
}

.avatar-verified-pin {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.testi-author-info {
  line-height: 1.3;
  overflow: hidden;
  flex: 1;
}

.testi-author-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 3px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testi-author-role {
  font-size: 0.78rem;
  color: #0F4C81;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   PUBLIC SUBMISSION MODAL (#testimonialSubmitModal)
   ========================================================================== */

.modal-testi-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-testi-overlay.active {
  display: flex;
}

.modal-testi-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.28);
  border: 1px solid rgba(15, 76, 129, 0.2);
  overflow: hidden;
  animation: modalTestiSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

@keyframes modalTestiSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-testi-header {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  padding: 12px 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid #FBBF24;
  flex-shrink: 0;
}

.modal-testi-title-box {
  line-height: 1.2;
}

.modal-testi-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.modal-testi-subtitle {
  margin: 2px 0 0 0;
  font-size: 0.72rem;
  color: #93C5FD;
}

.modal-testi-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.modal-testi-close:hover {
  background: #EF4444;
  border-color: #DC2626;
  color: #FFFFFF;
}

.modal-testi-body {
  padding: 13px 18px 15px;
  overflow-y: auto;
}

/* Security & Moderation Compact Strip */
.testi-security-notice {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.testi-security-icon {
  font-size: 0.95rem;
  color: #0F4C81;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.testi-security-text {
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.35;
  margin: 0;
}

.testi-security-text strong {
  color: #0A2540;
}

.form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 9px;
}

.form-field-group {
  margin-bottom: 9px;
}

.form-field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 3.5px;
}

.form-field-label .req {
  color: #DC2626;
}

.form-field-label .hint {
  font-weight: 500;
  color: #64748B;
  font-size: 0.70rem;
}

.form-field-input,
.form-field-select,
.form-field-textarea {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6.5px 10px;
  font-size: 0.83rem;
  color: #0F172A;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-field-input:focus,
.form-field-select:focus,
.form-field-textarea:focus {
  border-color: #0F4C81;
  box-shadow: 0 0 0 2.5px rgba(15, 76, 129, 0.12);
}

.form-field-textarea {
  min-height: 52px;
  max-height: 80px;
  resize: vertical;
  line-height: 1.4;
}

/* Device Photo Upload Widget */
.testi-device-upload-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 6px;
  padding: 3px 8px;
  min-height: 33px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.testi-device-upload-wrap:hover {
  border-color: #0F4C81;
  background: #EFF6FF;
}

.testi-upload-click-area {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.testi-thumb-circle {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.testi-device-upload-wrap:hover .testi-thumb-circle {
  border-color: #0F4C81;
  color: #0F4C81;
}

.testi-upload-info-box {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  overflow: hidden;
}

.testi-upload-info-box .upload-lead {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-clear-testi-photo {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #EF4444;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  transition: all 0.2s ease;
  z-index: 5;
}

.btn-clear-testi-photo:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.modal-testi-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
}

.btn-testi-cancel {
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  border: 1px solid #CBD5E1 !important;
}

.btn-testi-submit {
  border-radius: 6px !important;
  padding: 6px 18px !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%) !important;
  color: #FBBF24 !important;
  border: 1px solid #FBBF24 !important;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.15);
  transition: all 0.2s ease;
}

.btn-testi-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.22);
}

/* Responsif Mobile Super Ringkas (Bebas Scroll Panjang) */
@media (max-width: 580px) {
  .modal-testi-overlay {
    padding: 10px;
  }
  .modal-testi-card {
    border-radius: 8px;
    max-height: 96vh;
  }
  .modal-testi-header {
    padding: 10px 14px;
  }
  .modal-testi-title {
    font-size: 0.95rem;
  }
  .modal-testi-subtitle {
    font-size: 0.68rem;
  }
  .modal-testi-body {
    padding: 10px 13px 12px;
  }
  .testi-security-notice {
    padding: 5px 8px;
    margin-bottom: 7px;
    border-radius: 5px;
  }
  .testi-security-text {
    font-size: 0.67rem;
    line-height: 1.25;
  }
  .form-field-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 7px;
  }
  .form-field-group {
    margin-bottom: 7px;
  }
  .form-field-label {
    font-size: 0.71rem;
    margin-bottom: 2.5px;
  }
  .form-field-input,
  .form-field-textarea {
    padding: 5.5px 8px;
    font-size: 0.78rem;
    border-radius: 5px;
  }
  .form-field-textarea {
    min-height: 48px;
    max-height: 65px;
  }
  .testi-device-upload-wrap {
    min-height: 31px;
    padding: 2px 6px;
    border-radius: 5px;
  }
  .modal-testi-footer {
    margin-top: 8px;
    padding-top: 8px;
  }
  .btn-testi-cancel,
  .btn-testi-submit {
    padding: 5px 12px !important;
    font-size: 0.74rem !important;
  }
}

/* ==========================================================================
   ADMIN TESTIMONIAL MODERATION BADGES & BUTTONS
   ========================================================================== */

.badge-testi-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.badge-testi-approved {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.badge-testi-pending {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FCD34D;
  animation: pulsePending 2s infinite ease-in-out;
}

@keyframes pulsePending {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.btn-quick-approve {
  background: #10B981;
  border: 1px solid #059669;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-quick-approve:hover {
  background: #059669;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   GALERI KEHORMATAN MUASSIS & MASYAYIKH PENDIRI (1984)
   ========================================================================== */

.history-muassis-section {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  box-shadow: 0 10px 32px -5px rgba(10, 37, 64, 0.08);
  padding: 40px 36px 44px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.history-muassis-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0A2540 0%, #C59B27 50%, #FBBF24 100%);
}

.history-muassis-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.history-muassis-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.35;
  margin: 8px 0 12px;
}

.history-muassis-subtitle {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.muassis-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 1200px) {
  .muassis-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1199px) and (min-width: 850px) {
  .muassis-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .muassis-card {
    flex: 0 1 calc(33.333% - 16px);
    max-width: 320px;
  }
}

@media (max-width: 849px) and (min-width: 580px) {
  .muassis-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .muassis-card {
    flex: 0 1 calc(50% - 12px);
  }
}

@media (max-width: 579px) {
  .muassis-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .muassis-card {
    width: 100%;
    max-width: 100%;
  }
  .history-muassis-section {
    padding: 24px 16px 28px;
  }
  .history-muassis-title {
    font-size: 1.35rem;
  }
}

.muassis-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.muassis-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.12);
}

.muassis-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  background: #111827;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.muassis-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.muassis-card:hover .muassis-photo-img {
  transform: scale(1.03);
}

.muassis-card-body {
  padding: 18px 14px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.muassis-honorific-badge {
  display: none !important;
}

.muassis-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px;
  line-height: 1.35;
  min-height: 2.6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.muassis-honorific-prefix {
  font-size: 0.72rem;
  font-weight: 700;
  color: #C59B27;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.muassis-role {
  font-size: 0.76rem;
  color: #C59B27;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 8px;
}

.muassis-desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  flex-grow: 1;
  text-align: center;
  text-wrap: balance;
}

/* Elegant Placeholder Card for Future Founders / Masyayikh */
.muassis-card-placeholder {
  background: #FFFDF7;
  border-radius: 8px;
  border: 2px dashed rgba(245, 158, 11, 0.45);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.25s ease;
  min-height: 380px;
}

.muassis-card-placeholder:hover {
  border-color: #D97706;
  background: #FFFBEB;
  transform: translateY(-3px);
}

.muassis-placeholder-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 1.5px solid #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #92400E;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.muassis-placeholder-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 8px;
}

.muassis-placeholder-desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0 0 16px;
}

.muassis-placeholder-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400E;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ========================================================================= */
/* SEKSI KHUSUS HAUL AKBAR MUASSIS & MASYAYIKH (MODULAR & REVERSIBLE)        */
/* ========================================================================= */
.haul-section {
  padding: 24px 0 18px;
  background: transparent;
  position: relative;
  z-index: 5;
}

.haul-container-wide {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.haul-card-executive {
  background: linear-gradient(145deg, #0A2540 0%, #081B2F 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(10, 37, 64, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  padding: 20px 26px 18px;
}

.haul-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FBBF24 0%, #C59B27 50%, #0F4C81 100%);
}

.haul-grid-layout {
  display: grid;
  grid-template-columns: 1.28fr 0.94fr;
  gap: 24px;
  align-items: stretch;
}

.haul-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.haul-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.haul-honor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.haul-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.pulse-dot.pulse-amber {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
}

.haul-main-title {
  font-family: var(--font-heading);
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1.22;
  color: #FFFFFF;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.haul-main-title .text-gold {
  color: #FBBF24;
}

.haul-redaksi-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.haul-sanad-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sanad-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #FBBF24;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.sanad-text {
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.9);
  margin: 0;
  line-height: 1.35;
}

.sanad-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

.haul-muassis-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.haul-muassis-names-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.muassis-name-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.70rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(10, 37, 64, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.muassis-name-tag:hover {
  border-color: #FBBF24;
  background: rgba(15, 76, 129, 0.95);
  color: #FDE68A;
  transform: translateY(-1px);
}

.haul-kirim-doa {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.76);
  font-style: italic;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 5px;
}

.haul-kirim-doa svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.haul-bottom-deck {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.haul-event-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.9);
  flex-wrap: wrap;
}

.haul-meta-compact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.haul-meta-compact-item svg {
  flex-shrink: 0;
}

.meta-dot-sep {
  color: rgba(255, 255, 255, 0.35);
}

.haul-pos-strip-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 76, 129, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  padding: 5px 10px;
  flex-wrap: wrap;
}

.haul-pos-title-compact {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.haul-pos-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.haul-pos-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  color: #FFFFFF;
  font-weight: 600;
  background: rgba(10, 37, 64, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.haul-pos-tag .pos-num {
  font-size: 0.66rem;
  font-weight: 800;
  color: #FBBF24;
}

/* KOTAK SALUR INFAQ & PAYMENT CARD */
.haul-payment-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  color: #0A2540;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.haul-payment-header {
  margin-bottom: 8px;
}

.haul-pay-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 3px;
}

.haul-pay-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 2px;
}

.haul-pay-desc {
  font-size: 0.76rem;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
}

.haul-method-switcher {
  display: flex;
  gap: 4px;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 8px;
  margin: 8px 0;
}

.haul-switch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border: none;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.haul-switch-btn.active {
  background: #0A2540;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.18);
}

.haul-tab-panel {
  display: none;
}

.haul-tab-panel.active {
  display: block;
}

/* BANK BRI CARD STYLING */
.haul-bank-card.bri-card {
  background: #F0F9FF;
  border: 1.5px solid #00529C;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 0;
  text-align: left;
}

.bri-card .haul-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.bri-card .bank-tag-primary {
  font-size: 0.62rem;
  font-weight: 800;
  color: #FFFFFF;
  background: #00529C;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 2px;
}

.bri-card .bank-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: #00529C;
  margin: 0;
  letter-spacing: 0.02em;
}

.bank-currency {
  font-size: 0.68rem;
  font-weight: 800;
  color: #00529C;
}

.haul-bank-rek-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #BAE6FD;
  border-radius: 6px;
  padding: 5px 8px;
  margin: 6px 0;
}

.rek-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.02rem;
  font-weight: 900;
  color: #0A2540;
  letter-spacing: 0.06em;
}

.btn-copy-rek {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #00529C;
  color: #FFFFFF;
  border: none;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 0.70rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-rek:hover {
  background: #0284C7;
}

.btn-copy-rek.copied {
  background: #059669 !important;
}

.haul-bank-owner small {
  font-size: 0.66rem;
  color: #64748B;
  display: block;
  margin-bottom: 1px;
}

.haul-bank-owner strong {
  font-size: 0.80rem;
  color: #0A2540;
  font-weight: 800;
}

/* QRIS STYLING */
.haul-qris-container {
  text-align: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px;
}

.haul-qris-top-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.qris-bi-badge {
  color: #0F4C81;
  background: #E0F2FE;
  padding: 2px 6px;
  border-radius: 4px;
}

.qris-auto-badge {
  color: #059669;
  background: #D1FAE5;
  padding: 2px 6px;
  border-radius: 4px;
}

.haul-qris-art-frame {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px;
  display: inline-block;
  margin: 0 auto;
}

.haul-qris-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid #E2E8F0;
}

.qris-logo-text {
  font-size: 0.85rem;
  font-weight: 900;
  color: #0A2540;
}

.qris-nmid-text {
  font-size: 0.58rem;
  font-family: monospace;
  color: #64748B;
}

.haul-qris-merchant-info {
  margin-top: 4px;
}

.haul-qris-merchant-info strong {
  display: block;
  font-size: 0.72rem;
  color: #0A2540;
}

.haul-qris-merchant-info small {
  font-size: 0.64rem;
  color: #64748B;
}

/* AMOUNT CHIPS */
.haul-amount-section {
  margin-top: 8px;
  text-align: left;
}

.haul-amount-label {
  font-size: 0.70rem;
  font-weight: 700;
  color: #475569;
  display: block;
  margin-bottom: 4px;
}

.haul-amount-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.amount-chip {
  padding: 5px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A2540;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.amount-chip:hover {
  border-color: #FBBF24;
  background: #FFFDF5;
}

.amount-chip.active {
  background: #0A2540;
  color: #FBBF24;
  border-color: #0A2540;
  box-shadow: 0 2px 5px rgba(10, 37, 64, 0.15);
}

.haul-custom-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 3px 8px;
}

.input-prefix {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  margin-right: 4px;
}

.haul-custom-field {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0A2540;
}

.btn-haul-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 9px 12px;
  gap: 6px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.haul-security-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.66rem;
  color: #64748B;
  margin-top: 5px;
  font-weight: 600;
}

/* RESPONSIVE STYLES FOR HAUL SECTION */
@media (max-width: 992px) {
  .haul-grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .haul-card-executive {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
  .haul-section {
    padding: 18px 0 14px;
  }
  .haul-card-executive {
    padding: 18px 12px;
    border-radius: 14px;
  }
  .haul-main-title {
    font-size: 1.35rem;
    line-height: 1.22;
  }
  .haul-arabic-khat {
    font-size: 0.95rem;
  }
  .haul-event-meta-bar,
  .haul-pos-strip-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .meta-dot-sep {
    display: none;
  }
  .haul-amount-chips {
    grid-template-columns: repeat(3, 1fr);
  }
  .haul-muassis-avatars {
    gap: 4px;
  }
  .muassis-avatar-chip span {
    font-size: 0.66rem;
  }
}

/* ========================================================
   KBIHU & LBB EXECUTIVE PORTAL BUTTONS & DUO-CARD STYLES
   ======================================================== */
.btn-kbihu {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-kbihu:hover {
  background: linear-gradient(135deg, #047857 0%, #065F46 100%) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #FFFFFF !important;
}

.btn-kbihu:active {
  transform: scale(0.98) !important;
}

.btn-lbb {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #0284C7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-lbb:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #FFFFFF !important;
}

.btn-lbb:active {
  transform: scale(0.98) !important;
}

.btn-outline-kbihu {
  background: #FFFFFF !important;
  color: #059669 !important;
  border: 1.5px solid #059669 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.86rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-outline-kbihu:hover {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border-color: #047857 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
}

.btn-outline-lbb {
  background: #FFFFFF !important;
  color: #0284C7 !important;
  border: 1.5px solid #0284C7 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.86rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-outline-lbb:hover {
  background: #F0F9FF !important;
  color: #0369A1 !important;
  border-color: #0369A1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
}

/* PSB Executive Showcase Duo-Card (LBB & KBIHU - Crisp Minimalist Styling) */
.psb-duo-showcase {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.duo-card {
  background: #FFFFFF;
  border-radius: 8px !important;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.05);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.duo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.09);
}

.duo-card-kbihu {
  border-color: rgba(5, 150, 105, 0.25) !important;
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.05);
}

.duo-card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.duo-card-lbb .duo-card-stripe {
  background: linear-gradient(90deg, #0284C7, #38BDF8);
}

.duo-card-kbihu .duo-card-stripe {
  background: linear-gradient(90deg, #059669, #34D399);
}

.duo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.duo-badge {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.duo-badge-lbb {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.duo-badge-kbihu {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.duo-tag {
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.duo-tag-lbb {
  color: #0284C7;
}

.duo-tag-kbihu {
  color: #059669;
}

.duo-card-title {
  font-size: 1.20rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 8px;
  line-height: 1.3;
}

.duo-card-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
}

.duo-spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.duo-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.duo-spec-check {
  font-weight: 800;
  font-size: 0.92rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.duo-card-lbb .duo-spec-check {
  color: #0284C7;
}

.duo-card-kbihu .duo-spec-check {
  color: #059669;
}

.duo-spec-body {
  flex: 1;
  color: #334155;
}

.duo-spec-label {
  font-weight: 700;
  color: #0A2540;
  white-space: nowrap;
  margin-right: 4px;
}

.duo-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

@media (max-width: 640px) {
  .duo-card-actions {
    flex-direction: column;
    gap: 8px;
  }
  .duo-card-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   HIGHLIGHT BERITA & PRESTASI PROFIL BERANDA
   ========================================================================== */
.about-highlights-deck {
  margin-top: 48px;
  padding: 34px 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFD 100%);
  border: 1.5px solid rgba(15, 76, 129, 0.14);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(10, 37, 64, 0.07);
  position: relative;
  overflow: hidden;
}

.about-highlights-deck::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(15, 76, 129, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-highlights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.about-highlights-title-wrap {
  flex: 1;
  min-width: 280px;
}

.highlights-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.highlights-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A2540;
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-left: 3px solid #C59B27;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.05);
  position: relative;
  transition: all 0.25s ease;
}

.highlights-kicker:hover {
  background: #F8FAFC;
  border-color: rgba(197, 155, 39, 0.45);
  border-left-color: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.08);
}

.highlights-kicker svg.highlights-kicker-icon {
  color: #C59B27;
  stroke: #C59B27;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.highlights-kicker:hover svg.highlights-kicker-icon {
  transform: scale(1.08);
}

.highlights-kicker-dot {
  display: none;
}

.highlights-kicker-sub {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-highlights-title {
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.about-highlights-title .title-part-navy {
  color: #0A2540;
  font-weight: 800;
}

.about-highlights-title .title-part-gold {
  background: linear-gradient(135deg, #B45309 0%, #D97706 20%, #F59E0B 45%, #FBBF24 55%, #D97706 80%, #92400E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 850;
  filter: drop-shadow(0 1px 2px rgba(180, 83, 9, 0.16));
  display: inline-block;
}

/* Executive Flourish Divider under Highlights Title */
.highlights-title-flourish {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 10px 0;
}

.highlights-title-flourish .flourish-bar-main {
  width: 54px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FBBF24 0%, #D97706 45%, #0F4C81 100%);
  box-shadow: 0 1.5px 5px rgba(251, 191, 36, 0.32);
}

.highlights-title-flourish .flourish-gem {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #C59B27;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.65);
  border-radius: 1px;
}

.highlights-title-flourish .flourish-bar-sub {
  width: 14px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.28);
}

.about-highlights-sub {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0;
  line-height: 1.55;
  max-width: 620px;
}

.about-highlights-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Luxury Action Buttons */
.btn-highlights-outline {
  background: #FFFFFF;
  color: #0F4C81;
  border: 1.5px solid rgba(15, 76, 129, 0.22);
  border-radius: 10px;
  font-weight: 700;
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-highlights-outline:hover {
  background: #0F4C81;
  color: #FFFFFF;
  border-color: #0F4C81;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.2);
}

.btn-highlights-outline svg {
  color: #0F4C81;
  transition: color 0.25s ease, transform 0.25s ease;
}

.btn-highlights-outline:hover svg {
  color: #FFFFFF;
  transform: translateX(-1px);
}

.btn-highlights-gold {
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 10px;
  font-weight: 700;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-highlights-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-highlights-gold:hover::before {
  left: 140%;
}

.btn-highlights-gold:hover {
  background: linear-gradient(135deg, #071A2E 0%, #0D3E6A 100%);
  border-color: #FBBF24;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(251, 191, 36, 0.28);
}

.btn-highlights-gold svg {
  filter: drop-shadow(0 1px 3px rgba(251, 191, 36, 0.4));
  transition: transform 0.25s ease;
}

.btn-highlights-gold:hover svg {
  transform: scale(1.12);
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.highlight-card-executive {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.04);
  position: relative;
}

.highlight-card-executive:hover {
  transform: translateY(-4px);
  border-color: #0F4C81;
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.12);
}

.highlight-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-gold-glow {
  background: rgba(251, 191, 36, 0.15);
  color: #B45309;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge-navy-glow {
  background: rgba(15, 76, 129, 0.1);
  color: #0F4C81;
  border: 1px solid rgba(15, 76, 129, 0.25);
}

.highlight-pill-year, .highlight-pill-date {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}

.highlight-card-content-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}

.highlight-card-media {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #0A2540;
}

.highlight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.highlight-card-executive:hover .highlight-card-img {
  transform: scale(1.06);
}

.highlight-media-cat {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
  color: #FBBF24;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.highlight-media-cat.cat-news {
  color: #FFFFFF;
}

.highlight-card-info {
  display: flex;
  flex-direction: column;
}

.highlight-winner-chip, .highlight-author-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0F4C81;
  margin-bottom: 6px;
}

.highlight-card-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.highlight-card-excerpt {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.highlight-card-footer {
  margin-top: auto;
}

.highlight-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F4C81;
  transition: all 0.2s ease;
}

.highlight-card-executive:hover .highlight-action-link {
  color: #B45309;
  transform: translateX(4px);
}

.badge-cat-gold {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}

.desc-desktop {
  display: inline;
}

.desc-mobile {
  display: none;
}

@media (max-width: 991px) {
  .about-highlights-deck {
    padding: 24px 20px;
    margin-top: 36px;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .desc-desktop {
    display: none !important;
  }
  .desc-mobile {
    display: inline !important;
  }

  .about-highlights-deck {
    padding: 16px 12px !important;
    margin-top: 24px !important;
    border-radius: 0 !important;
  }
  .about-highlights-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }
  .about-highlights-title-wrap {
    min-width: 100% !important;
    width: 100% !important;
  }
  .about-highlights-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .about-highlights-sub {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
  .about-highlights-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .about-highlights-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.74rem !important;
    padding: 7px 5px !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-radius: 8px !important;
    gap: 5px !important;
  }
  .about-highlights-actions .btn svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
  }
  .about-highlights-grid {
    gap: 12px !important;
  }
  .highlight-card-executive {
    padding: 12px 10px !important;
    border-radius: 14px !important;
  }
  .highlight-card-top-row {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .highlight-badge {
    font-size: 0.62rem !important;
    padding: 2.5px 7px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .highlight-badge svg {
    width: 11px !important;
    height: 11px !important;
    margin-right: 2px !important;
  }
  .highlight-pill-year,
  .highlight-pill-date {
    font-size: 0.66rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-align: right !important;
  }
  .highlight-card-content-layout {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .highlight-card-media {
    height: 140px !important;
    border-radius: 10px !important;
  }
  .highlight-card-title {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .highlight-card-excerpt {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  .highlight-winner-chip,
  .highlight-author-chip {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
  }
  .highlight-action-link {
    font-size: 0.76rem !important;
  }
}

/* ==========================================================================
   24. CRISP HIGH-CONTRAST INSTITUTIONAL SECTION BADGES
   ========================================================================== */
.section-badge:not(.hero-unified-badge) {
  background-color: #FFFFFF;
  color: #0A2540;
  font-weight: 700;
  letter-spacing: 0.015em;
  border: 1.5px solid rgba(13, 59, 102, 0.18);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-badge:not(.hero-unified-badge):hover {
  border-color: rgba(197, 155, 39, 0.5);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.1);
  transform: translateY(-1px);
}

.section-badge:not(.hero-unified-badge) svg {
  color: #C59B27;
  stroke: currentColor;
  stroke-width: 2.3;
}

/* ==========================================================================
   25. PSB BALANCED WAVE BANNER (EXECUTIVE ASYMMETRIC BALANCE SUITE)
   ========================================================================== */
.psb-wave-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  border-radius: 16px;
  padding: 30px 28px;
  color: #FFFFFF;
  box-shadow: 0 10px 32px rgba(10, 37, 64, 0.20);
  border: 1px solid rgba(251, 191, 36, 0.35);
  position: relative;
  overflow: hidden;
}

.psb-wave-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.psb-wave-banner-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.psb-wave-banner-main {
  min-width: 0;
}

.psb-wave-banner-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.psb-wave-tag-gold {
  background: #FBBF24;
  color: #0A2540;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.psb-wave-tag-year {
  color: #FDE68A;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.psb-wave-banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #FFFFFF;
  line-height: 1.35;
}

.psb-wave-banner-title .text-gold {
  color: #FBBF24;
}

.psb-wave-banner-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 18px;
  line-height: 1.6;
}

.psb-wave-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 22px;
}

.psb-wave-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.psb-wave-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.psb-wave-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Kolom Kanan: Panel Kuota & Status Gelombang */
.psb-wave-banner-side {
  width: 100%;
}

.psb-wave-status-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.psb-wave-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 9px;
  margin-bottom: 11px;
}

.psb-wave-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FBBF24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.psb-wave-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  animation: psbWavePulse 1.8s infinite ease-in-out;
}

@keyframes psbWavePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.psb-wave-status-unit {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
}

.psb-wave-track-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
}

.psb-wave-track-item:last-of-type {
  margin-bottom: 0;
}

.psb-wave-track-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
  flex-shrink: 0;
  margin-top: 4px;
}

.psb-wave-track-dot.secondary {
  background: #94A3B8;
  box-shadow: none;
}

.psb-wave-track-content {
  flex: 1;
}

.psb-wave-track-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.80rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.psb-wave-track-title strong {
  font-weight: 700;
}

.psb-wave-badge-active {
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.psb-wave-badge-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.60rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.psb-wave-track-date {
  font-size: 0.74rem;
  color: #FDE68A;
  font-weight: 600;
  margin-bottom: 2px;
}

.psb-wave-track-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.35;
  margin: 0;
}

.psb-wave-status-foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.69rem;
  color: #FDE68A;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 960px) {
  .psb-wave-banner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .psb-wave-banner {
    padding: 22px 16px;
    border-radius: 14px;
  }
  .psb-wave-banner-title {
    font-size: 1.15rem;
  }
  .psb-wave-features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .psb-wave-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .psb-wave-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   VISITOR LATEST INFORMATION POPUP MODAL (Compact Executive Redesign)
   ========================================================================== */

.popup-info-overlay {
  z-index: 2200 !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px !important;
  background-color: rgba(7, 25, 45, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.popup-info-card {
  width: 100%;
  max-width: 490px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 0 28px -3px rgba(6, 182, 212, 0.38), 0 28px 65px -12px rgba(5, 18, 32, 0.88);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transform: scale(0.94) translateY(18px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  box-sizing: border-box;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Thin Luminous Traveling Border Beam (Biru Tosca / Turquoise) */
.popup-info-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: conic-gradient(
    from var(--beam-angle) at 50% 50%,
    rgba(8, 145, 178, 0.12) 0deg,
    rgba(8, 145, 178, 0.12) 220deg,
    rgba(6, 182, 212, 0.3) 260deg,
    #0891B2 295deg,
    #06B6D4 320deg,
    #22D3EE 342deg,
    #A5F3FC 355deg,
    #14B8A6 360deg
  );
  z-index: -1;
  animation: rotateBorderBeam 4s linear infinite;
}

/* Traveling Ambient Glow Aura Surrounding the Pop-up (Biru Tosca / Turquoise) */
.popup-info-card::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: conic-gradient(
    from var(--beam-angle) at 50% 50%,
    transparent 0deg,
    transparent 230deg,
    rgba(6, 182, 212, 0.2) 270deg,
    rgba(8, 145, 178, 0.5) 305deg,
    rgba(34, 211, 238, 0.85) 335deg,
    rgba(165, 243, 252, 1) 352deg,
    rgba(20, 184, 166, 0.7) 360deg
  );
  z-index: -2;
  filter: blur(15px);
  opacity: 0.9;
  pointer-events: none;
  animation: rotateBorderBeam 4s linear infinite;
}

@keyframes rotateBorderBeam {
  to {
    --beam-angle: 360deg;
  }
}

.popup-info-overlay.active .popup-info-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Ornate Topline */
.popup-gold-filigree-topline {
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, #0A2540 0%, #C59B27 35%, #FBBF24 50%, #C59B27 65%, #0A2540 100%);
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

/* Pure Landscape 16:9 Media Frame (True Cinematic Proportion) */
.popup-info-media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  position: relative;
  overflow: hidden;
  background: #0A2540;
  flex-shrink: 0;
}

.popup-info-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.popup-info-card:hover .popup-info-img {
  transform: scale(1.03);
}

/* Body Content */
.popup-info-body {
  padding: 16px 22px 15px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 0 0 8px 8px;
}

/* Editorial Meta Row in Body (Clean & Unobstructed) */
.popup-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.popup-pill-category {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9.5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: inline-block;
}

.popup-meta-bullet {
  color: #94A3B8;
  font-size: 0.85rem;
}

.popup-pill-date-clean {
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 600;
}

.popup-info-headline {
  font-size: 1.08rem;
  line-height: 1.38;
  color: #0A2540;
  font-weight: 800;
  margin: 0 0 7px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popup-info-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single Full-Width Action Button */
.popup-btn-read {
  width: 100%;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 750;
  border-radius: 5px;
  background: linear-gradient(135deg, #0A2540 0%, #0F4C81 100%);
  color: #FBBF24;
  border: 1.5px solid #FBBF24;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}

.popup-btn-read:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.3);
  background: linear-gradient(135deg, #0F4C81 0%, #0A2540 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Footer Utility Row */
.popup-info-footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #F1F5F9;
}

.popup-dont-show-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: #64748B;
  cursor: pointer;
  user-select: none;
}

.popup-dont-show-label input[type="checkbox"] {
  accent-color: #0F4C81;
  width: 14px;
  height: 14px;
  cursor: pointer;
  border-radius: 2px;
}

.popup-link-dismiss {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4.5px 13px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.popup-link-dismiss:hover {
  color: #EF4444;
  background: #FEE2E2;
  border-color: #FCA5A5;
}

@media (max-width: 520px) {
  .popup-info-overlay {
    padding: 12px !important;
  }
  .popup-info-card {
    max-width: 360px;
    border-radius: 6px;
  }
  .popup-info-card::before {
    border-radius: 8px;
  }
  .popup-info-card::after {
    border-radius: 16px;
  }
  .popup-gold-filigree-topline {
    border-radius: 6px 6px 0 0;
  }
  .popup-info-media-frame {
    max-height: 205px;
  }
  .popup-info-body {
    padding: 12px 15px 12px;
    border-radius: 0 0 6px 6px;
  }
  .popup-info-headline {
    font-size: 0.94rem;
    margin: 0 0 6px;
  }
  .popup-info-excerpt {
    font-size: 0.78rem;
    margin: 0 0 12px;
  }
  .popup-btn-read {
    padding: 9.5px 15px;
    font-size: 0.82rem;
  }
  .popup-pill-category {
    font-size: 0.68rem;
    padding: 2.5px 8.5px;
  }
  .popup-pill-date-clean {
    font-size: 0.74rem;
  }
  .popup-dont-show-label {
    font-size: 0.72rem;
  }
  .popup-link-dismiss {
    font-size: 0.74rem;
    padding: 4px 11px;
  }
}


