/* Transparent Header on Home Hero */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 253, 249, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.header--transparent {
  background: transparent !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);
  transition: filter 0.3s ease;
}

.header .logo img {
  transition: filter 0.3s ease;
}

.header.header--transparent .navigation a {
  color: #ffffff;
  transition: color 0.25s ease;
}

.header.header--transparent .navigation a:hover,
.header.header--transparent .navigation a[aria-current] {
  color: #86efac;
}

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

.header.header--transparent .nav-actions .icon-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  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;
  transition: stroke 0.25s ease;
}

.header.header--transparent .nav-actions .icon-button:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

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

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

@media (max-width: 800px) {
  .header.header--transparent .navigation.open a {
    color: var(--ink);
  }
  .header.header--transparent .navigation.open {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
}

.welcome-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  margin-top: -83px;
  padding: 135px 0 70px;
  background-image:
    linear-gradient(90deg, rgba(8, 38, 27, .68) 0%, rgba(10, 45, 32, .48) 30%, rgba(10, 45, 32, .18) 55%, rgba(12, 54, 38, 0) 72%),
    url("keluarga-anakku.jpeg?v=prof_v5");
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  border-bottom: 1px solid #d6e1d5;
}

.welcome-layout {
  display: flex;
  align-items: center;
}

.welcome-card {
  width: min(640px, 58%);
  padding: 0;
  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 28px;
  font-size: clamp(50px, 5.2vw, 76px);
  line-height: .94;
  letter-spacing: -.06em;
  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: 0 0 0 22px;
  border-left: 3px solid #86efac;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 550;
  line-height: 1.42;
  letter-spacing: -.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.85);
}

.welcome-card cite {
  display: block;
  margin: 24px 0 0 25px;
  color: #ffffff;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.welcome-card cite span {
  display: block;
  margin-top: 4px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.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;
}

.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 (Matches Box 2 style & fills Box 4 height) */
.education-feature-story {
  border-color: #eedcc0;
  flex: 1;
  min-height: 280px;
  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;
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.education-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.38) 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: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

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

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

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

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

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

@media (max-width: 600px) {
  .education-feature-story {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .education-story-media {
    width: 100%;
    height: 240px;
    min-height: 240px;
  }
  .education-story-content {
    padding: 20px 18px;
  }
}

.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: 20px;
}

.footer-social-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

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

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #c9d8c6;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(20, 63, 48, 0.05);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(20, 63, 48, 0.12);
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
}

.social-icon-btn.tiktok:hover {
  background: #000000;
  color: #25f4ee;
  border-color: #000000;
}

.social-icon-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.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;
}

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

.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;
  }
}
