/* WHY CHOOSE ME POSTER SIDE CAPTION R35 BEGIN */

@media (min-width: 768px) {

  html body figure.r35-side-caption.r35-side-caption {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    gap: clamp(10px, 1.5vw, 20px) !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  /* Gambar poster di kiri, rasio asli dipertahankan */
  html body figure.r35-side-caption.r35-side-caption > img,
  html body figure.r35-side-caption.r35-side-caption > picture {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    align-self: start !important;
  }

  html body figure.r35-side-caption.r35-side-caption
  > picture > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  /* Caption asli HP ditampilkan di sebelah kanan */
  html body figure.r35-side-caption.r35-side-caption
  > figcaption.mobile-v2-editorial-caption {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: clamp(6px, 1vw, 14px) !important;

    box-sizing: border-box !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
  }

  html body figure.r35-side-caption.r35-side-caption
  > figcaption.mobile-v2-editorial-caption > strong {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(13px, 1.35vw, 20px) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  html body figure.r35-side-caption.r35-side-caption
  > figcaption.mobile-v2-editorial-caption > span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(11px, 1vw, 15px) !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }
}

/* WHY CHOOSE ME POSTER SIDE CAPTION R35 END */

/* WHY CHOOSE ME R36.1 BEGIN */

/* Hanya tablet dan desktop, HP tidak diubah */
@media (min-width: 768px) {

  /* Kartu dua kolom dengan ruang caption yang layak */
  html body .why-page-hero > .container
  > figure.r35-side-caption.r35-side-caption {
    display: grid !important;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: clamp(12px, 1.5vw, 22px) !important;

    position: relative !important;
    inset: auto !important;
    transform: none !important;

    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    margin: 0 !important;
    padding: clamp(12px, 1.4vw, 20px) !important;
    overflow: hidden !important;
  }

  /* Gambar portrait tampil utuh di kiri */
  html body .why-page-hero > .container
  > figure.r35-side-caption > img,
  html body .why-page-hero > .container
  > figure.r35-side-caption > picture {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  html body .why-page-hero > .container
  > figure.r35-side-caption > picture > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  /* Caption kanan: tidak pecah di tengah kata */
  html body .why-page-hero > .container
  > figure.r35-side-caption
  > figcaption.mobile-v2-editorial-caption {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    align-self: center !important;
    gap: 8px !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;

    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    overflow: visible !important;
    text-align: left !important;
  }

  html body figure.r35-side-caption
  > figcaption.mobile-v2-editorial-caption > strong {
    display: block !important;
    width: 100% !important;
    font-size: clamp(15px, 1.35vw, 20px) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  html body figure.r35-side-caption
  > figcaption.mobile-v2-editorial-caption > span {
    display: block !important;
    width: 100% !important;
    font-size: clamp(12px, 1vw, 15px) !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

/* Tablet: konten utama di atas, kartu lebar di bawah */
@media (min-width: 768px) and (max-width: 1099px) {
  html body .why-page-hero > .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: clamp(12px, 1.8vw, 20px) !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html body .why-page-hero > .container
  > figure.r35-side-caption.r35-side-caption {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 680px !important;
    align-self: center !important;
    margin: 10px auto 0 !important;
  }
}

/* Desktop: perluas kolom kartu di kanan */
@media (min-width: 1100px) {
  html body .why-page-hero > .container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 38%) !important;
    grid-template-rows: auto auto auto auto !important;
    grid-template-areas:
      "eyebrow poster"
      "heading poster"
      "lead poster"
      "actions poster" !important;

    align-items: center !important;
    align-content: center !important;
    column-gap: clamp(24px, 3vw, 48px) !important;
    row-gap: clamp(12px, 1.5vw, 24px) !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html body .why-page-hero > .container > .why-page-eyebrow {
    grid-area: eyebrow !important;
    justify-self: start !important;
  }

  html body .why-page-hero > .container > h1 {
    grid-area: heading !important;
  }

  html body .why-page-hero > .container > p {
    grid-area: lead !important;
  }

  html body .why-page-hero > .container > .why-page-actions {
    grid-area: actions !important;
  }

  html body .why-page-hero > .container
  > figure.r35-side-caption.r35-side-caption {
    grid-area: poster !important;
    align-self: center !important;
    justify-self: stretch !important;
  }
}

/* WHY CHOOSE ME R36.1 END */

/* WHY CHOOSE ME TYPO R36.2 BEGIN */

/* =========================================================
   H1: Mengapa Memilih Saya
   - Semua perangkat: satu baris
   - Warna tetap dipertahankan
   ========================================================= */
html body .why-page-hero > .container > h1 {
  white-space: nowrap !important;
  display: block !important;
  max-width: none !important;
  width: auto !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 18px !important;
}

html body .why-page-hero > .container > h1 > span {
  white-space: nowrap !important;
  display: inline !important;
}

/* HP */
@media (max-width: 767px) {
  html body .why-page-hero > .container > h1 {
    font-size: clamp(2.05rem, 9.7vw, 2.8rem) !important;
    letter-spacing: -0.045em !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1099px) {
  html body .why-page-hero > .container > h1 {
    font-size: clamp(2.35rem, 4.8vw, 3.25rem) !important;
    letter-spacing: -0.045em !important;
  }
}

/* Desktop / Laptop */
@media (min-width: 1100px) {
  html body .why-page-hero > .container > h1 {
    font-size: clamp(3.15rem, 4.4vw, 4.9rem) !important;
    letter-spacing: -0.05em !important;
  }
}

/* =========================================================
   Caption poster: Pendekatan yang Terarah
   - Warna gold seperti HP
   ========================================================= */
html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption > strong {
  color: #ffbf2d !important;
  white-space: nowrap !important;
  display: block !important;
  width: 100% !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
}

/* Tablet: satu baris menyesuaikan kartu */
@media (min-width: 768px) and (max-width: 1099px) {
  html body .why-page-hero > .container > figure.r35-side-caption.r35-side-caption {
    grid-template-columns: minmax(138px, 39%) minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption {
    align-self: center !important;
    justify-self: stretch !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption > strong {
    font-size: clamp(14px, 1.65vw, 16.5px) !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption > span {
    font-size: clamp(11px, 1.1vw, 13px) !important;
    line-height: 1.45 !important;
  }
}

/* Desktop / Laptop: satu baris, lebih rapi dan menarik */
@media (min-width: 1100px) {
  html body .why-page-hero > .container > figure.r35-side-caption.r35-side-caption {
    grid-template-columns: minmax(165px, 40%) minmax(0, 1fr) !important;
    gap: clamp(18px, 1.8vw, 24px) !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption {
    align-self: center !important;
    justify-self: stretch !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption > strong {
    font-size: clamp(17px, 1.2vw, 20px) !important;
  }

  html body figure.r35-side-caption > figcaption.mobile-v2-editorial-caption > span {
    font-size: clamp(13px, 0.92vw, 15px) !important;
    line-height: 1.5 !important;
  }
}

/* WHY CHOOSE ME TYPO R36.2 END */
