/* --- Header Transitions: Transparent on Hero Top, Pure White on Scroll --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

/* Default / Scrolled State: Clean Pure White Header */
.header:not(.header--transparent) {
  background: #ffffff !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid #e2ede2 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.header:not(.header--transparent) .logo img {
  filter: none !important;
  transition: filter 0.25s ease;
}

.header:not(.header--transparent) .navigation a {
  color: #183b2e !important;
  font-weight: 600;
  transition: color 0.2s ease;
  text-shadow: none !important;
}

.header:not(.header--transparent) .navigation a:hover,
.header:not(.header--transparent) .navigation a[aria-current] {
  color: #1b6546 !important;
}

.header:not(.header--transparent) .navigation a[aria-current]:after {
  background: #1b6546 !important;
}

.header:not(.header--transparent) .nav-actions .icon-button {
  color: #183b2e !important;
  border: 1px solid #dfe7df !important;
  background: #ffffff !important;
  transition: all 0.2s ease;
}

.header:not(.header--transparent) .nav-actions .icon-button svg {
  stroke: #183b2e !important;
}

.header:not(.header--transparent) .nav-actions .icon-button:hover {
  background: #edf5ed !important;
  border-color: #1b6546 !important;
}

.header:not(.header--transparent) .count {
  background: #1b6546 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.header:not(.header--transparent) .nav-actions > .btn {
  background: #1b6546 !important;
  color: #ffffff !important;
  border: 1px solid #1b6546 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(27, 101, 70, 0.28) !important;
  transition: all 0.25s ease;
}

.header:not(.header--transparent) .nav-actions > .btn:hover {
  background: #134932 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 101, 70, 0.35) !important;
}

.header:not(.header--transparent) .menu-button svg {
  stroke: #183b2e !important;
}

/* Transparent Header with Top Dark Gradient Vignette for Maximum Contrast */
.header.header--transparent {
  background: linear-gradient(180deg, rgba(8, 28, 20, 0.85) 0%, rgba(8, 28, 20, 0.58) 50%, rgba(8, 28, 20, 0.18) 80%, transparent 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.header.header--transparent .logo img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) !important;
  transition: filter 0.3s ease;
}

/* Desktop navigation links when transparent */
@media (min-width: 801px) {
  .header.header--transparent .navigation a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    font-weight: 650;
    transition: color 0.25s ease;
  }

  .header.header--transparent .navigation a:hover,
  .header.header--transparent .navigation a[aria-current] {
    color: #86efac !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  }

  .header.header--transparent .navigation a[aria-current]:after {
    background: #86efac !important;
  }

  .mobile-menu-card {
    display: contents;
  }

  .mobile-menu-header {
    display: none;
  }

  .mobile-menu-links {
    display: contents;
  }
}

.header.header--transparent .nav-actions .icon-button {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.header.header--transparent .nav-actions .icon-button svg {
  stroke: #ffffff !important;
  transition: stroke 0.25s ease;
}

.header.header--transparent .nav-actions .icon-button:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.header.header--transparent .count {
  background: #ffffff !important;
  color: #143f30 !important;
  font-weight: 700;
}

.header.header--transparent .nav-actions > .btn {
  background: #ffffff !important;
  color: #143f30 !important;
  border-color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.25s ease;
}

.header.header--transparent .nav-actions > .btn:hover {
  background: #e8f5e5 !important;
  color: #0f3627 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.header.header--transparent .menu-button svg {
  stroke: #ffffff !important;
}

/* ==========================================================================
   Mobile Navigation Drawer (Habitline-inspired floating card & backdrop blur)
   ========================================================================== */
@media (max-width: 800px) {
  .navigation {
    display: none !important;
  }

  .navigation.open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99999 !important;
    background: rgba(6, 20, 14, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 16px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    animation: mobileNavFadeIn 0.25s ease forwards;
  }

  @keyframes mobileNavFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .mobile-menu-card {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 440px !important;
    border-radius: 20px !important;
    padding: 18px 18px 22px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid #e0ebe2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: 8px !important;
    animation: mobileCardSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileCardSlideDown {
    from { transform: translateY(-16px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
  }

  .mobile-menu-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #edf4ee !important;
  }

  .mobile-menu-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  .mobile-menu-logo img {
    height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: none !important;
  }

  .mobile-menu-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #f0f7f2 !important;
    border: 1px solid #d4e5d8 !important;
    color: #183b2e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }

  .mobile-menu-close:hover {
    background: #e2ede4 !important;
    color: #0f3627 !important;
    transform: scale(1.05) !important;
  }

  .mobile-menu-close svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #183b2e !important;
  }

  .mobile-menu-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .navigation a,
  .navigation.open a,
  .header.header--transparent .navigation.open a,
  .header:not(.header--transparent) .navigation.open a {
    color: #183b2e !important;
    text-shadow: none !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
  }

  .navigation a:hover,
  .navigation a[aria-current],
  .navigation.open a:hover,
  .navigation.open a[aria-current],
  .header.header--transparent .navigation.open a:hover,
  .header.header--transparent .navigation.open a[aria-current] {
    background: #eef6f0 !important;
    color: #1b6546 !important;
    text-shadow: none !important;
  }

  .navigation a[aria-current]:after {
    display: none !important;
  }
}

.welcome-hero {
  min-height: 820px;
  display: flex;
  align-items: center;
  margin-top: -83px;
  padding: 130px 0 0;
  background: #144530; /* Fallback only */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #143f30;
}

/* Full Background Video Integration - 100% Pure Video without Color Tint */
.welcome-hero-video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.welcome-hero-video-bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 28, 19, 0.45) 0%, rgba(6, 28, 19, 0.18) 40%, transparent 70%),
              linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 30%, transparent 60%);
}

.welcome-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
  pointer-events: none;
  filter: none !important;
}

.welcome-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 80px));
  margin: auto;
}

.welcome-card {
  width: 100%;
  max-width: 620px;
  padding: 0 0 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.welcome-card .eyebrow {
  color: #86efac;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.welcome-card h1 {
  margin: 13px 0 24px;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.welcome-card blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid #86efac;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
  color: #e2f2e5;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.welcome-card cite {
  display: block;
  margin: 22px 0 26px 23px;
  font-style: normal;
  font-size: 14px;
  font-weight: 650;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.welcome-card cite span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #a7f3d0;
  margin-top: 3px;
}

/* Avatar wrap — permanently hidden (avatar removed from design) */
.welcome-avatar-wrap,
.avatar-ambient-glow,
.avatar-3d-character,
.avatar-character-inner,
.avatar-img-3d,
.avatar-video-layer,
.avatar-hotspots,
.hotspot-zone,
.avatar-badge-tag,
.avatar-badge-tag.badge-highlight {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure welcome-layout is single column since avatar is gone */
.welcome-layout {
  display: block;
}

@media (max-width: 900px) {
  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }
  .welcome-hero-video-bg-wrap::after {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.38) 32%,
      rgba(0, 0, 0, 0.12) 58%,
      transparent 80%
    );
  }
}

@media (max-width: 600px) {
  .welcome-hero {
    min-height: 740px;
    padding: 130px 0 35px;
  }
}



.welcome-card .actions {
  margin-top: 32px;
}

.welcome-card .btn {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-weight: 650;
  padding: 13px 24px;
  border-radius: 12px;
  transition: all 0.25s ease;
  text-shadow: none;
}

.welcome-card .btn:hover {
  background: #ffffff;
  color: #0f3627;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.welcome-navigation {
  padding: 22px 0 10px;
  background: var(--paper);
}

.welcome-navigation .service-nav {
  margin-top: 0;
}

.welcome-navigation .service-tile {
  min-height: 92px;
  box-shadow: 0 10px 26px rgba(20, 63, 48, .05);
}

.welcome-navigation .headline-line {
  margin-top: 13px;
}

.media-duo-section {
  background: #f3f7ef;
}

.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.media-events-section {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 8px;
}

.media-duo-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid #d7e1d5;
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 42px rgba(20, 63, 48, .06);
}

.media-duo-card.event-box {
  background: #fffaf4;
}

.media-duo-card.story-box {
  background: #f7f4ff;
}

.media-duo-card.podcast-box {
  background: #f0f7f5;
  border-color: #cee5dc;
}

.media-duo-card.education-box {
  background: #fcf6ed;
  border-color: #eedcc0;
  display: flex;
  flex-direction: column;
}

.media-video-container {
  margin-bottom: 16px;
}

.media-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f2c20;
  box-shadow: 0 10px 25px rgba(15, 44, 32, 0.12);
}

.media-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-video-placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e6f0eb;
  border-radius: 14px;
  color: var(--muted);
  gap: 8px;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.media-video-placeholder svg {
  width: 36px;
  height: 36px;
  color: #1b6546;
}

.media-podcast-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 750;
  padding: 5px 11px;
  border-radius: 6px;
}

.media-badge svg {
  width: 15px;
  height: 15px;
}

.media-badge.youtube {
  background: #fee2e2;
  color: #b91c1c;
}

.media-badge.instagram {
  background: #fce7f3;
  color: #be185d;
}

.media-badge.tiktok {
  background: #e0f2fe;
  color: #0369a1;
}

.media-speaker-info {
  border-top: 1px solid #d8e8e0;
  padding-top: 12px;
}

.media-speaker-info strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}

.media-speaker-info span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Video Edukasi Feature Story Card (Dedicated 9:16 vertical video layout) */
.education-feature-story {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #eedcc0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.education-feature-story:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.12);
}

.education-story-media {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 0 0 15px;
}

.education-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.education-feature-story:hover .education-card-img {
  transform: scale(1.04);
}

.education-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.32) 100%);
  pointer-events: none;
}

.education-card-play {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.education-card-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.education-feature-story:hover .education-card-play {
  transform: scale(1.12);
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
}

.education-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.education-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.education-story-content {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.education-story-content h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.18;
  color: var(--ink);
}

.education-story-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.education-story-content .text-link {
  margin-top: auto;
  font-weight: 700;
  color: #92400e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .education-feature-story {
    flex-direction: column;
    min-height: auto;
  }
  .education-story-media {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    height: auto;
    margin: 0 auto;
    border-radius: 14px 14px 0 0;
  }
  .education-story-content {
    padding: 22px 18px;
    text-align: center;
    align-items: center;
  }
}

.media-vertical-reel-card:hover .reel-frame {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 36px rgba(15, 44, 32, 0.2);
}

.reel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s ease;
}

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

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

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

.reel-pill {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reel-play-button {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.reel-play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.media-vertical-reel-card:hover .reel-play-button {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ffffff;
  color: #be123c;
}

.reel-caption-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 14px 12px;
  color: #ffffff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reel-caption-block strong {
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-caption-block p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-link-action {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Footer Social Media Strip */
.footer-social-strip {
  margin-top: 22px;
}

.footer-social-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink, #183b2e);
  margin-bottom: 12px;
}

.footer-social-icons {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}

/* Perfect 40x40 circle buttons */
.footer .footer-social-icons .social-icon-btn,
.footer-social-icons .social-icon-btn,
.social-icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

.footer .footer-social-icons .social-icon-btn:hover,
.footer-social-icons .social-icon-btn:hover {
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26) !important;
  text-decoration: none !important;
}

.footer .footer-social-icons .social-icon-btn:active,
.footer-social-icons .social-icon-btn:active {
  transform: translateY(-1px) scale(1.04) !important;
}

/* Reset any group.css SVG stroke / fill interference */
.social-icon-btn svg,
.social-icon-btn .social-svg {
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

/* 1. Instagram: Gradient */
.social-icon-btn.instagram,
.social-icon-btn.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}
.social-icon-btn.instagram svg rect,
.social-icon-btn.instagram svg path {
  stroke: #ffffff !important;
  fill: none !important;
}
.social-icon-btn.instagram svg circle {
  fill: #ffffff !important;
  stroke: none !important;
}

/* 2. Facebook: Blue */
.social-icon-btn.facebook,
.social-icon-btn.social-fb {
  background: #1877f2 !important;
}
.social-icon-btn.facebook svg path {
  fill: #ffffff !important;
  stroke: none !important;
}

/* 3. X (Twitter): Black */
.social-icon-btn.x-twitter,
.social-icon-btn.social-x {
  background: #000000 !important;
}
.social-icon-btn.x-twitter svg path {
  fill: #ffffff !important;
  stroke: none !important;
}

/* 4. TikTok: Black */
.social-icon-btn.tiktok,
.social-icon-btn.social-tt {
  background: #000000 !important;
}
.social-icon-btn.tiktok svg path {
  fill: #25f48b !important;
  stroke: none !important;
}

/* 5. YouTube: Red */
.social-icon-btn.youtube,
.social-icon-btn.social-yt {
  background: #ff0000 !important;
}
.social-icon-btn.youtube svg rect {
  fill: #ffffff !important;
  stroke: none !important;
}
.social-icon-btn.youtube svg polygon {
  fill: #ff0000 !important;
  stroke: none !important;
}

.play-indicator svg {
  width: 12px;
  height: 12px;
}

.social-preview-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.social-preview-content h3 {
  font-size: 16.5px;
  line-height: 1.25;
  margin: 6px 0;
  color: var(--ink);
}

.social-preview-content p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 8px;
}

.media-edu-extra {
  border-top: 1px solid #ebd9c0;
  padding-top: 12px;
}

.media-edu-item {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 13px;
}

.media-edu-item svg {
  width: 18px;
  height: 18px;
  color: #b45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.media-edu-item strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
}

.media-edu-item span {
  color: var(--muted);
  font-size: 12px;
}

.media-duo-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.media-duo-title h2 {
  max-width: 390px;
  margin-top: 7px;
  font-size: 34px;
  line-height: 1.05;
}

.media-duo-title > .text-link {
  flex-shrink: 0;
  font-size: 12px;
}

.media-example-list {
  display: grid;
  gap: 10px;
}

/* Red & White Calendar Icon Badge (Calendar Object / Graphic) */
.calendar-badge {
  position: relative;
  width: 62px;
  min-width: 62px;
  height: 68px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: visible;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.event-row:hover .calendar-badge {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.16), 0 2px 5px rgba(0, 0, 0, 0.06);
}

.calendar-badge .cal-top {
  position: relative;
  background: linear-gradient(180deg, #ff4747 0%, #dc2626 100%);
  color: #ffffff;
  border-radius: 10px 10px 0 0;
  padding: 5px 4px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.calendar-badge .cal-pin {
  position: absolute;
  top: -5px;
  width: 6px;
  height: 10px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.calendar-badge .cal-pin.left {
  left: 11px;
}

.calendar-badge .cal-pin.right {
  right: 11px;
}

.calendar-badge .cal-month {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.calendar-badge .cal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  padding: 2px 0 4px;
}

.calendar-badge .cal-day {
  font-size: 26px;
  font-weight: 850;
  color: #1e293b;
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}

.media-duo-card .event-row {
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 18px;
}

.media-duo-card .event-row > .text-link {
  grid-column: 2;
  justify-self: start;
}

.media-duo-card .event-row h3 {
  font-size: 17px;
}

.media-feature-story {
  display: grid;
  grid-template-columns: 205px 1fr;
  overflow: hidden;
  border: 1px solid #dcd8e8;
  border-radius: 14px;
  background: white;
}

.media-feature-story .photo {
  width: 100%;
  height: 100%;
  min-height: 255px;
}

.media-feature-story > div:last-child {
  padding: 23px;
}

.media-feature-story h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.08;
}

.media-feature-story p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.media-feature-story .text-link {
  margin-top: 18px;
}

.media-story-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 15px;
  padding: 17px 4px;
  border-bottom: 1px solid #dcd8e8;
}

.media-story-row span {
  grid-column: 1;
  color: var(--muted);
  font-size: 11px;
}

.media-story-row strong {
  grid-column: 1;
  font-size: 15px;
}

.media-story-row svg {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 18px;
}

@media (max-width: 900px) {
  .welcome-hero {
    min-height: 700px;
    margin-top: -83px;
    padding-top: 130px;
    background-position: center, right 20% center;
  }

  .welcome-card {
    width: min(700px, 85%);
  }

  .media-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .welcome-hero {
    min-height: 720px;
    align-items: end;
    margin-top: -71px;
    padding: 160px 0 35px;
    background-image:
      linear-gradient(180deg, rgba(8, 38, 27, .75) 0%, rgba(10, 45, 32, .45) 35%, rgba(8, 38, 27, .96) 80%),
      url("keluarga-anakku.jpeg?v=prof_v5");
    background-position: center, 75% center;
  }

  .welcome-card {
    width: 100%;
    padding: 0;
  }

  .welcome-card h1 {
    font-size: 40px;
  }

  .welcome-card blockquote {
    padding-left: 16px;
    font-size: 19px;
  }

  .welcome-card cite {
    margin-left: 18px;
  }

  .welcome-navigation {
    padding-top: 8px;
  }

  .media-duo-card {
    padding: 22px 18px;
  }

  .media-duo-title {
    align-items: start;
    flex-direction: column;
  }

  .media-duo-title h2 {
    font-size: 30px;
  }

  .media-feature-story {
    grid-template-columns: 1fr;
  }

  .media-feature-story .photo {
    min-height: 220px;
  }
}

/* --- Flagship Full Hero Banner: Klinik, APS, Media, Sekolah, Toko --- */
.clinic-hero,
.aps-hero,
.media-hero,
.school-hero,
.shop-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  margin-top: -83px;
  padding: 135px 0 70px;
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  border-bottom: 1px solid #d6e1d5;
  position: relative;
}

/* Background images and tailored color gradients with top dark vignette */
.clinic-hero {
  background-image:
    linear-gradient(180deg, rgba(8, 28, 20, 0.60) 0%, rgba(8, 28, 20, 0.15) 120px, transparent 200px),
    linear-gradient(90deg, rgba(8, 38, 27, .78) 0%, rgba(10, 45, 32, .58) 35%, rgba(10, 45, 32, .20) 60%, rgba(12, 54, 38, 0) 78%),
    url("clinic-hero-banner.jpg?v=cmc_v3");
}
.aps-hero {
  background-image:
    linear-gradient(180deg, rgba(8, 28, 20, 0.60) 0%, rgba(8, 28, 20, 0.15) 120px, transparent 200px),
    linear-gradient(90deg, rgba(8, 38, 27, .82) 0%, rgba(10, 45, 32, .62) 35%, rgba(10, 45, 32, .22) 60%, rgba(12, 54, 38, 0) 78%),
    url("aps-hero-banner.jpg?v=aps_v1");
}
.media-hero {
  background-image:
    linear-gradient(180deg, rgba(12, 28, 48, 0.60) 0%, rgba(12, 28, 48, 0.15) 120px, transparent 200px),
    linear-gradient(90deg, rgba(14, 35, 60, .84) 0%, rgba(18, 44, 75, .64) 35%, rgba(18, 44, 75, .22) 60%, rgba(18, 44, 75, 0) 78%),
    url("media-hero-banner.jpg?v=media_v1");
}
.school-hero {
  background-image:
    linear-gradient(180deg, rgba(32, 16, 44, 0.60) 0%, rgba(32, 16, 44, 0.15) 120px, transparent 200px),
    linear-gradient(90deg, rgba(42, 20, 58, .82) 0%, rgba(52, 26, 72, .62) 35%, rgba(52, 26, 72, .20) 60%, rgba(52, 26, 72, 0) 78%),
    url("school-hero-banner.jpg?v=school_v1");
}
.shop-hero {
  background-image:
    linear-gradient(180deg, rgba(40, 24, 12, 0.60) 0%, rgba(40, 24, 12, 0.15) 120px, transparent 200px),
    linear-gradient(90deg, rgba(50, 32, 14, .82) 0%, rgba(65, 42, 18, .62) 35%, rgba(65, 42, 18, .22) 60%, rgba(65, 42, 18, 0) 78%),
    url("shop-hero-banner.jpg?v=shop_v1");
}

/* Product Real Photos in Cards and Details */
.product-shot {
  position: relative !important;
  width: 100% !important;
  height: 230px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-image: none !important;
}

.product-real-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.product-card:hover .product-real-img {
  transform: scale(1.05) !important;
}

.product-detail > .product-shot {
  height: 520px !important;
  border-radius: 18px !important;
}

.product-detail > .product-shot .product-real-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

/* Layout */
.clinic-hero-layout,
.aps-hero-layout,
.media-hero-layout,
.school-hero-layout,
.shop-hero-layout {
  display: flex;
  align-items: center;
}

/* Copy Content Box */
.clinic-hero-copy,
.aps-hero-copy,
.media-hero-copy,
.school-hero-copy,
.shop-hero-copy {
  width: min(640px, 58%);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Breadcrumbs */
.clinic-hero-copy .crumb,
.aps-hero-copy .crumb,
.media-hero-copy .crumb,
.school-hero-copy .crumb,
.shop-hero-copy .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.clinic-hero-copy .crumb a,
.aps-hero-copy .crumb a,
.media-hero-copy .crumb a,
.school-hero-copy .crumb a,
.shop-hero-copy .crumb a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.clinic-hero-copy .crumb a:hover,
.aps-hero-copy .crumb a:hover {
  color: #86efac;
}
.media-hero-copy .crumb a:hover {
  color: #93c5fd;
}
.school-hero-copy .crumb a:hover {
  color: #c4b5fd;
}
.shop-hero-copy .crumb a:hover {
  color: #fde047;
}

.clinic-hero-copy .crumb span,
.aps-hero-copy .crumb span,
.media-hero-copy .crumb span,
.school-hero-copy .crumb span,
.shop-hero-copy .crumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* Eyebrows */
.clinic-hero-copy .eyebrow,
.aps-hero-copy .eyebrow,
.media-hero-copy .eyebrow,
.school-hero-copy .eyebrow,
.shop-hero-copy .eyebrow {
  display: block;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.clinic-hero-copy .eyebrow,
.aps-hero-copy .eyebrow {
  color: #86efac;
}
.media-hero-copy .eyebrow {
  color: #93c5fd;
}
.school-hero-copy .eyebrow {
  color: #c4b5fd;
}
.shop-hero-copy .eyebrow {
  color: #fde047;
}

/* Headings */
.clinic-hero-copy h1,
.aps-hero-copy h1,
.media-hero-copy h1,
.school-hero-copy h1,
.shop-hero-copy h1 {
  margin: 10px 0 22px;
  font-size: clamp(44px, 4.8vw, 70px);
  line-height: 1.0;
  letter-spacing: -.05em;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Leads */
.clinic-hero-copy .sub,
.aps-hero-copy .sub,
.media-hero-copy .sub,
.school-hero-copy .sub,
.shop-hero-copy .sub {
  margin: 0 0 30px;
  color: #ffffff;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.85);
  max-width: 580px;
}

/* Actions */
.clinic-hero-copy .actions,
.aps-hero-copy .actions,
.media-hero-copy .actions,
.school-hero-copy .actions,
.shop-hero-copy .actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Primary Glass Buttons */
.clinic-hero-copy .btn,
.aps-hero-copy .btn,
.media-hero-copy .btn,
.school-hero-copy .btn,
.shop-hero-copy .btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-weight: 650;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  text-shadow: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.clinic-hero-copy .btn:hover,
.aps-hero-copy .btn:hover,
.media-hero-copy .btn:hover,
.school-hero-copy .btn:hover,
.shop-hero-copy .btn:hover {
  background: #ffffff;
  color: #0f3627;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.media-hero-copy .btn:hover {
  color: #0e2a4a;
}
.school-hero-copy .btn:hover {
  color: #351547;
}
.shop-hero-copy .btn:hover {
  color: #3d240d;
}

.clinic-hero-copy .btn svg,
.aps-hero-copy .btn svg,
.media-hero-copy .btn svg,
.school-hero-copy .btn svg,
.shop-hero-copy .btn svg {
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.clinic-hero-copy .btn:hover svg,
.aps-hero-copy .btn:hover svg,
.media-hero-copy .btn:hover svg,
.school-hero-copy .btn:hover svg,
.shop-hero-copy .btn:hover svg {
  transform: translateX(3px);
}

/* Secondary Glass Buttons */
.aps-hero-copy .btn.secondary-glass,
.media-hero-copy .btn.secondary-glass,
.school-hero-copy .btn.secondary-glass,
.shop-hero-copy .btn.secondary-glass {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
}

.aps-hero-copy .btn.secondary-glass:hover,
.media-hero-copy .btn.secondary-glass:hover,
.school-hero-copy .btn.secondary-glass:hover,
.shop-hero-copy .btn.secondary-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .clinic-hero,
  .aps-hero,
  .media-hero,
  .school-hero,
  .shop-hero {
    min-height: 640px;
    padding: 120px 0 60px;
  }
  .clinic-hero-copy,
  .aps-hero-copy,
  .media-hero-copy,
  .school-hero-copy,
  .shop-hero-copy {
    width: min(600px, 75%);
  }
}

@media (max-width: 768px) {
  .clinic-hero,
  .aps-hero,
  .media-hero,
  .school-hero,
  .shop-hero {
    min-height: 560px;
    padding: 105px 0 50px;
    background-position: center, center;
  }
  .clinic-hero {
    background-image:
      linear-gradient(180deg, rgba(8, 38, 27, 0.85) 0%, rgba(10, 45, 32, 0.75) 60%, rgba(12, 54, 38, 0.45) 100%),
      url("clinic-hero-banner.jpg?v=cmc_v3");
  }
  .aps-hero {
    background-image:
      linear-gradient(180deg, rgba(8, 38, 27, 0.88) 0%, rgba(10, 45, 32, 0.78) 60%, rgba(12, 54, 38, 0.48) 100%),
      url("aps-hero-banner.jpg?v=aps_v1");
  }
  .media-hero {
    background-image:
      linear-gradient(180deg, rgba(14, 35, 60, 0.88) 0%, rgba(18, 44, 75, 0.78) 60%, rgba(18, 44, 75, 0.48) 100%),
      url("media-hero-banner.jpg?v=media_v1");
  }
  .school-hero {
    background-image:
      linear-gradient(180deg, rgba(42, 20, 58, 0.88) 0%, rgba(52, 26, 72, 0.78) 60%, rgba(52, 26, 72, 0.48) 100%),
      url("school-hero-banner.jpg?v=school_v1");
  }
  .shop-hero {
    background-image:
      linear-gradient(180deg, rgba(50, 32, 14, 0.88) 0%, rgba(65, 42, 18, 0.78) 60%, rgba(65, 42, 18, 0.48) 100%),
      url("shop-hero-banner.jpg?v=shop_v1");
  }
  .clinic-hero-copy,
  .aps-hero-copy,
  .media-hero-copy,
  .school-hero-copy,
  .shop-hero-copy {
    width: 100%;
  }
  .clinic-hero-copy h1,
  .aps-hero-copy h1,
  .media-hero-copy h1,
  .school-hero-copy h1,
  .shop-hero-copy h1 {
    font-size: 36px;
  }
  .clinic-hero-copy .sub,
  .aps-hero-copy .sub,
  .media-hero-copy .sub,
  .school-hero-copy .sub,
  .shop-hero-copy .sub {
    font-size: 16px;
  }
}

/* Rock-solid Card Photo Images & Editorial Fallback */
:root .photo {
  position: relative;
  overflow: hidden;
  height: 210px;
  background-color: #edf3e9;
  border-radius: 12px;
  display: block;
}

.photo .photo-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.card:hover .photo .photo-real-img,
.social-tile:hover .photo .photo-real-img {
  transform: scale(1.04);
}

.reader-body > .photo {
  height: 420px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.split > .photo, .split > div > .photo {
  height: 400px;
  border-radius: 18px;
}

.featured-article .photo {
  height: 100%;
  min-height: 360px;
}

.event-feature .photo {
  height: 370px;
  border-radius: 15px;
}

.social-tile .photo {
  height: 240px;
}

.modal > .photo {
  margin: 20px 0;
  border-radius: 12px;
  height: 350px;
}

@media(max-width: 800px) {
  .reader-body > .photo { height: 350px; }
  .social-tile .photo { height: 290px; }
  .split > img, .split > .photo { height: 350px; }
}

@media(max-width: 480px) {
  .reader-body > .photo { height: 300px; }
  .social-tile .photo { height: 220px; }
  .split > .photo, .split > div > .photo { height: 300px; }
}

/* Static Podcast Card - No 3D tilt */
.podcast-box {
  transform: none !important;
  perspective: none !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.podcast-box:hover {
  transform: none !important;
}

/* Product Detail - Big Showcase & Gallery */
.product-detail {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Full eBook Cover Showcase */
.product-ebook-visual {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(145deg, #f8faf9 0%, #edf4f0 100%) !important;
  border-radius: 24px !important;
  border: 1.5px solid var(--line) !important;
  padding: 32px 24px !important;
  box-shadow: 0 16px 40px -8px rgba(24, 59, 46, 0.08) !important;
}

.product-ebook-cover-wrap {
  position: relative !important;
  max-width: 380px !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  border-radius: 12px 20px 20px 12px !important;
  overflow: hidden !important;
  box-shadow: -8px 12px 30px rgba(18, 48, 32, 0.25), 0 2px 6px rgba(0,0,0,0.1) !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-ebook-img-full {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ebook-spine-edge {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 18px !important;
  background: linear-gradient(90deg, rgba(0,0,0,0.22) 0%, rgba(255,255,255,0.25) 30%, rgba(0,0,0,0.08) 60%, transparent 100%) !important;
  pointer-events: none !important;
}

/* Physical Product Multi-Image Gallery Slider */
.product-gallery-slider {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.product-gallery-main {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1.5px solid var(--line) !important;
  box-shadow: 0 16px 40px -8px rgba(24, 59, 46, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-gallery-main-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.3s ease !important;
}

.product-gallery-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #173d2a !important;
  transition: all 0.2s ease !important;
  z-index: 5 !important;
}

.product-gallery-nav-btn:hover {
  background: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.product-gallery-nav-btn.prev {
  left: 14px !important;
}

.product-gallery-nav-btn.next {
  right: 14px !important;
}

.product-gallery-badge {
  position: absolute !important;
  bottom: 14px !important;
  right: 14px !important;
  background: rgba(18, 48, 32, 0.75) !important;
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  backdrop-filter: blur(4px) !important;
}

.product-gallery-thumbs {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 4px 2px !important;
}

.product-gallery-thumb-item {
  width: 72px !important;
  height: 72px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  opacity: 0.65 !important;
  transition: all 0.2s ease !important;
  background: #f1f5f9 !important;
  padding: 0 !important;
}

.product-gallery-thumb-item:hover {
  opacity: 0.9 !important;
}

.product-gallery-thumb-item.active {
  border-color: #1b4d3e !important;
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.25) !important;
}

.product-gallery-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.product-detail .book-3d-wrap {
  height: auto !important;
  min-height: 480px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-shadow: 0 16px 40px -8px rgba(24, 59, 46, 0.12) !important;
  border: 1.5px solid var(--line) !important;
  background: #f8fafc !important;
  position: relative !important;
}

.product-detail .book-3d-wrap::after {
  display: none !important;
}

.product-detail .product-shot {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  border-radius: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background-size: cover !important;
}

.product-detail .product-real-img {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 24px !important;
}

.product-detail .book-3d-cover {
  width: 260px !important;
  height: 360px !important;
  padding: 32px 26px !important;
  border-radius: 6px 16px 16px 6px !important;
  box-shadow: 0 20px 45px -10px rgba(18, 48, 32, 0.3) !important;
}

.product-detail .book-3d-cover strong {
  font-size: 26px !important;
  line-height: 1.2 !important;
}

.product-detail .book-3d-cover small {
  font-size: 14px !important;
}

.product-detail .book-3d-pages {
  width: 32px !important;
  height: 350px !important;
}

@media(max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .product-detail .book-3d-wrap,
  .product-detail .product-shot,
  .product-detail .product-real-img {
    min-height: 380px !important;
  }
}
/* ─── MOBILE SHOP GRID: fix overflow ke kanan ─── */

/* Pastikan root dan body tidak overflow secara horizontal dengan clip agar sticky header tetap aktif */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

.social-icon-btn.threads,
.social-icon-btn.social-threads {
  background: #000000 !important;
}

.social-icon-btn.threads svg path {
  fill: #ffffff !important;
}

.social-icon-btn.tiktok svg path {
  fill: #ffffff !important;
}

/* Grid product 2 kolom di mobile: kolom tidak boleh melebihi layar */
@media (max-width: 800px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  /* Kartu produk */
  .product-card,
  .card {
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
  }

  /* Harga */
  .product-card .price {
    font-size: 14px;
  }

  .product-bottom .icon-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  /* Teks judul produk lebih kompak */
  .product-card h3 {
    font-size: 13px;
    line-height: 1.3;
  }

  /* Padding card lebih kecil agar tidak overflow */
  .product-card .card-body {
    padding: 10px;
    gap: 8px;
  }

  /* Tag lebih kecil */
  .product-card .card-meta {
    font-size: 10px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .product-card .tag {
    font-size: 9px;
    padding: 3px 6px;
  }

  /* Visual produk (gambar/cover buku) */
  .product-card .book-cover,
  .product-card .product-shot {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-card .price {
    font-size: 13px;
  }

  .product-card h3 {
    font-size: 12px;
  }

  .product-card .card-body {
    padding: 8px;
  }

  .product-card .book-cover,
  .product-card .product-shot {
    height: 140px;
  }
}

/* ==========================================================================
   PARTNERSHIP SECTION (ANAKKU MEDIA SERVICES) & ALL ARTICLES PAGE
   ========================================================================== */
.partnership-section {
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
  padding: 60px 0 70px;
  border-top: 1px solid #e2ebe4;
  border-bottom: 1px solid #e2ebe4;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.partnership-card {
  background: #ffffff;
  border: 1px solid #d8e5dc;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(18, 54, 38, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partnership-card:hover {
  transform: translateY(-4px);
  border-color: #173d2a;
  box-shadow: 0 12px 30px rgba(18, 54, 38, 0.09);
}

.partnership-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.partnership-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f4ec;
  color: #173d2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.partnership-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #173d2a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.partnership-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4b6354;
  margin-bottom: 18px;
}

.partnership-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #dbe7df;
  padding-top: 16px;
}

.partnership-services-list li {
  font-size: 13.5px;
  color: #274033;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partnership-services-list li::before {
  content: "•";
  color: #1b6546;
  font-size: 18px;
  line-height: 1;
}

.partnership-cta-box {
  background: linear-gradient(135deg, #173d2a 0%, #1e4f37 100%);
  border-radius: 16px;
  padding: 36px 40px;
  margin-top: 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 28px rgba(18, 54, 38, 0.16);
}

.partnership-cta-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #ffffff;
}

.partnership-cta-content p {
  font-size: 14.5px;
  color: #d1e5db;
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

.partnership-cta-btn {
  background: #ffffff !important;
  color: #173d2a !important;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.partnership-cta-btn:hover {
  background: #eaf3ed !important;
  transform: translateY(-2px);
}

/* Event WhatsApp Registration Form Button */
.btn-event-wa {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.btn-event-wa:hover {
  background: #20ba5a !important;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .partnership-grid {
    grid-template-columns: 1fr;
  }
  .partnership-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
  .partnership-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

