/* ==========================================================================
   Terapan.id — Halaman jualan: detail training & posisi (mobile-first)
   Satu kolom, minim ornamen; harga hanya muncul di blok "Pilih Paket" paling bawah.
   Dipakai setelah home.css + posisi.css (komponen accordion, FAQ, sticky bar).
   ========================================================================== */

.th-sp #masalah,
.th-sp #tentang,
.th-sp #kurikulum,
.th-sp #prosedur,
.th-sp #paket,
.th-sp #faq {
    scroll-margin-top: 84px;
}

/* ---------- Hero ---------- */
.th-sp-hero {
    padding: 24px 0 32px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 178, 122, .16), transparent 45%),
        var(--th-primary-dark);
    color: #fff;
}

.th-sp-hero-grid {
    display: grid;
    gap: 22px;
}

.th-sp-tagline {
    margin-bottom: 14px !important;
    color: #ffd2b0;
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-xs);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.th-sp-title {
    color: #fff;
    font-size: var(--th-fs-h1);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}

.th-sp-title small {
    display: block;
    margin-bottom: 6px;
    color: #ffb27a;
    font-size: var(--th-fs-sm);
    font-weight: 700;
    letter-spacing: .16em;
}

.th-sp-lead {
    margin-top: 14px !important;
    color: rgba(255, 255, 255, .84);
    font-size: var(--th-fs-base);
    line-height: 1.6;
    text-wrap: pretty;
}

.th-sp-lead b {
    color: #fff;
}

.th-sp-facts {
    margin-top: 12px !important;
    color: rgba(255, 255, 255, .7);
    font-size: var(--th-fs-sm);
}

/* teaser: thumbnail = tombol play (iframe YouTube baru dimuat saat diklik) */
.th-sp-teaser {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #0b2a31;
    aspect-ratio: 16 / 10;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    cursor: pointer;
}

.th-sp-teaser.is-static {
    cursor: default;
}

.th-sp-teaser img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.th-sp-teaser:not(.is-static)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 40, 48, .05) 40%, rgba(6, 40, 48, .45) 100%);
}

.th-sp-teaser:not(.is-static):hover img {
    transform: scale(1.03);
}

.th-sp-teaser:focus-visible {
    outline: 3px solid #ffb27a;
    outline-offset: 3px;
}

.th-sp-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--th-accent);
    box-shadow: 0 8px 24px rgba(232, 101, 10, .45);
    transform: translate(-50%, -50%);
    transition: transform .2s;
}

.th-sp-play::before,
.th-sp-play-sm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    transform: translate(-50%, -50%);
}

.th-sp-play::before {
    border-width: 12px 0 12px 19px;
}

.th-sp-teaser:hover .th-sp-play {
    transform: translate(-50%, -50%) scale(1.08);
}

.th-sp-play-sm {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
}

.th-sp-play-sm::before {
    border-width: 5px 0 5px 8px;
}

.th-sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-top: 16px;
}

.th-sp-hero-actions .th-btn {
    flex: 1 1 100%;
}

.th-sp-mentor {
    color: rgba(255, 255, 255, .78);
    font-size: var(--th-fs-sm);
}

.th-sp-mentor b {
    color: #fff;
    font-weight: 600;
}

/* ---------- Konten satu kolom ---------- */
.th-sp-wrap {
    max-width: 860px;
}

.th-sp-block {
    padding: 36px 0;
    border-bottom: 1px solid var(--th-border);
}

.th-sp-kicker {
    margin-bottom: 8px !important;
    color: #b44a00;
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.th-sp-kicker.is-solution {
    color: var(--th-primary);
}

.th-sp-h2 {
    color: var(--th-primary-dark);
    font-size: var(--th-fs-h2);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}

.th-sp-sub {
    margin-top: 10px !important;
    color: var(--th-muted);
    font-size: var(--th-fs-base);
}

/* masalah > solusi */
.th-sp-problem {
    padding: 22px 20px;
    border-left: 4px solid var(--th-accent);
    border-radius: 0 var(--th-radius) var(--th-radius) 0;
    background: var(--th-accent-soft);
}

.th-sp-problem .th-sp-h2 {
    font-size: var(--th-fs-lg);
}

.th-sp-pains {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.th-sp-pains li {
    position: relative;
    padding-left: 20px;
    color: #4a3426;
    font-size: var(--th-fs-base);
    line-height: 1.5;
}

.th-sp-pains li::before {
    content: '';
    position: absolute;
    top: .62em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--th-accent);
}

/* Halaman posisi: "sekarang" > "setelah OJT" per baris, supaya tiap masalah terlihat langsung terjawab */
.th-sp-shift {
    margin-top: 18px;
}

.th-sp-shift-head {
    display: none;
}

.th-sp-shift-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-sp-shift-row {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(9, 78, 93, .05);
}

.th-sp-shift-from,
.th-sp-shift-to {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    padding: 12px 14px;
    line-height: 1.5;
}

.th-sp-shift-from {
    background: #f5f7f8;
    color: var(--th-muted);
    font-size: var(--th-fs-sm);
}

.th-sp-shift-to {
    border-top: 1px dashed var(--th-border);
    color: var(--th-primary-dark);
    font-size: var(--th-fs-base);
    font-weight: 600;
}

.th-sp-shift-from > i,
.th-sp-shift-to > i {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 11px;
}

.th-sp-shift-from > i {
    background: #ffe2cf;
    color: #b44a00;
}

.th-sp-shift-to > i {
    background: var(--th-primary);
    color: #fff;
}

.th-sp-shift-arrow {
    display: none;
}

.th-sp-fit-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 14px !important;
    padding: 14px 16px;
    border-left: 4px solid var(--th-primary);
    border-radius: 0 var(--th-radius) var(--th-radius) 0;
    background: var(--th-primary-soft);
    color: var(--th-primary-dark);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-base);
    font-weight: 600;
    line-height: 1.45;
    text-wrap: pretty;
}

.th-sp-fit-note a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    color: #b44a00 !important;
    font-size: var(--th-fs-sm);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.th-sp-solution {
    margin-top: 32px;
}

.th-sp-solution .th-pd-h3 {
    margin-top: 24px;
}

.th-sp-req li {
    color: #34464c;
}

.th-sp-req li::before {
    background: var(--th-primary);
}

.th-sp-about {
    margin-top: 14px;
}

.th-sp-about.is-clamped:not(.is-open) {
    max-height: 11em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.th-sp-more {
    margin-top: 6px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--th-primary);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.th-sp-cta {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

/* kurikulum: baris ringkas (nomor + judul + jumlah materi), tanpa ikon */
.th-sp .th-cd-modules {
    gap: 8px;
}

.th-sp .th-cd-module .th-cd-row,
.th-sp .th-cd-module.is-static .th-cd-row {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 10px 12px;
}

.th-sp .th-cd-module.is-static .th-cd-row {
    grid-template-columns: 32px minmax(0, 1fr);
}

.th-sp .th-cd-num {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.th-sp .th-cd-module .th-topic-num {
    display: none;
}

.th-sp .th-cd-module .th-topic-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
}

.th-sp .th-cd-module .th-topic-name {
    font-size: var(--th-fs-base);
}

.th-sp .th-cd-module .th-topic-meta {
    font-size: var(--th-fs-xs);
}

.th-sp .th-topic-body {
    padding: 0 12px 12px 56px;
}

.th-sp .th-topic-body .th-syllabus {
    border-top: 0;
    padding-top: 0;
}

.th-sp-syllabus li {
    display: block;
    padding: 9px 2px 9px 14px;
    position: relative;
}

.th-sp-syllabus li::before {
    content: '';
    position: absolute;
    top: 1.15em;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9fbcc3;
}

.th-sp-syllabus li.is-group,
.th-sp-syllabus li.is-final {
    padding-left: 10px;
}

.th-sp-syllabus li.is-group::before,
.th-sp-syllabus li.is-final::before {
    display: none;
}

.th-sp-syllabus li span {
    padding-top: 0;
}

.th-sp .th-cd-num {
    font-size: 14px;
}

.th-sp .th-cd-proc {
    margin-top: 18px;
}

.th-sp .th-cd-proc li {
    padding-bottom: 12px;
}

.th-sp .th-cd-proc p {
    font-size: var(--th-fs-base);
}

/* ---------- Pilih paket (checkout) ---------- */
.th-sp-checkout {
    border-bottom: 0;
}

.th-sp-plans {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.th-sp-plan {
    padding: 20px 18px;
    border: 1px solid var(--th-border);
    border-radius: 16px;
    background: #fff;
}

.th-sp-plan.is-best {
    border: 2px solid var(--th-accent);
    background: #fffaf6;
    box-shadow: var(--th-shadow-lg);
}

.th-sp-plan-label {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px !important;
    color: var(--th-muted);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.th-sp-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--th-accent);
    color: #fff;
    letter-spacing: .04em;
}

.th-sp-plan-name {
    color: var(--th-primary-dark);
    font-size: var(--th-fs-md);
    font-weight: 700;
    line-height: 1.35;
}

.th-sp-plan-inc {
    margin-top: 6px !important;
    color: var(--th-muted);
    font-size: var(--th-fs-sm);
    line-height: 1.5;
}

.th-sp-plan-list {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0 0 0 20px;
    color: #34464c;
    font-size: var(--th-fs-sm);
    line-height: 1.45;
}

.th-sp-plan-list a {
    color: var(--th-primary) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.th-sp-plan-list .is-current {
    font-weight: 600;
}

.th-sp-plan-list em {
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--th-primary-soft);
    color: var(--th-primary);
    font-size: var(--th-fs-xs);
    font-style: normal;
}

.th-sp-plan-foot {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #d8e4e7;
}

.th-sp-price {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    align-items: baseline;
}

.th-sp-price strong {
    color: var(--th-primary-dark);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-xl);
    font-weight: 700;
    line-height: 1.2;
}

.th-sp-price del {
    color: #7b8a8f;
    font-size: var(--th-fs-base);
}

.th-sp-save {
    flex-basis: 100%;
    color: #b44a00;
    font-size: var(--th-fs-sm);
    font-weight: 600;
}

.th-sp-plan-foot .th-btn {
    width: 100%;
}

.th-sp-plan-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--th-primary) !important;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* satuan per course (halaman posisi) */
.th-sp-rows {
    display: grid;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.th-sp-rows li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #d8e4e7;
}

.th-sp-rows li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.th-sp-rows-name {
    color: var(--th-text);
    font-size: var(--th-fs-base);
    font-weight: 600;
    line-height: 1.4;
}

.th-sp-rows-name a {
    color: inherit !important;
}

.th-sp-rows-price {
    display: block;
    margin-top: 2px;
    color: var(--th-primary-dark);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-base);
    font-weight: 700;
}

.th-sp-rows .th-btn {
    min-height: 44px;
    padding: 8px 16px;
}

.th-sp-trust {
    margin-top: 22px;
    color: var(--th-muted);
    font-size: var(--th-fs-sm);
    line-height: 1.55;
    text-align: center;
}

.th-sp-trust a {
    display: inline-block;
    margin-top: 6px;
    color: var(--th-primary) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Sticky bar HP: tanpa harga ---------- */
.th-sp-bar {
    grid-template-columns: minmax(0, 1fr) auto;
}

.th-sp-bar .th-pd-bar-price strong {
    font-size: var(--th-fs-sm);
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- Popup video teaser ---------- */
.th-vmodal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 12px 12px;
    background: rgba(3, 20, 24, .88);
}

.th-vmodal[hidden] {
    display: none;
}

.th-vmodal-box {
    position: relative;
    width: min(960px, 100%);
}

.th-vmodal-frame {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.th-vmodal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.th-vmodal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.th-vmodal-close:hover,
.th-vmodal-close:focus-visible {
    background: #fff;
    color: var(--th-primary-dark);
}

body.th-vmodal-open {
    overflow: hidden;
}

/* ---------- ≥576px ---------- */
@media (min-width: 576px) {
    .th-sp-hero-actions .th-btn {
        flex: 0 0 auto;
    }

    .th-sp-cta {
        display: inline-flex;
        width: auto;
    }

    .th-sp-plan {
        padding: 24px;
    }

    .th-sp-plan-foot {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .th-sp-plan-foot .th-btn {
        width: auto;
        min-width: 220px;
    }
}

/* ---------- ≥768px ---------- */
@media (min-width: 768px) {
    .th-sp-hero {
        padding: 40px 0 48px;
    }

    .th-sp-block {
        padding: 48px 0;
    }

    .th-sp-problem {
        padding: 26px 28px;
    }

    /* sekarang | panah | setelah OJT */
    .th-sp-shift-head,
    .th-sp-shift-row {
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.15fr);
    }

    .th-sp-shift-head {
        display: grid;
        align-items: end;
        margin-bottom: 8px;
        padding: 0 15px;
        color: var(--th-muted);
        font-family: poppins, sans-serif;
        font-size: var(--th-fs-xs);
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .th-sp-shift-head span + span {
        grid-column: 3;
        color: var(--th-primary);
    }

    .th-sp-shift-from,
    .th-sp-shift-to {
        padding: 16px;
    }

    .th-sp-shift-to {
        border-top: 0;
    }

    .th-sp-shift-arrow {
        display: grid;
        place-items: center;
        background: linear-gradient(90deg, #f5f7f8 50%, #fff 50%);
    }

    .th-sp-shift-arrow i {
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        border: 1px solid var(--th-border);
        border-radius: 50%;
        background: #fff;
        color: var(--th-accent);
        font-size: 12px;
        box-shadow: 0 2px 6px rgba(9, 78, 93, .1);
    }
}

/* ---------- ≥992px: hero dua kolom (teks | teaser) ---------- */
@media (min-width: 992px) {
    .th-sp-hero {
        padding: 56px 0 64px;
    }

    .th-sp-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 56px;
        align-items: center;
    }

    .th-sp-lead {
        font-size: var(--th-fs-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .th-sp-teaser img,
    .th-sp-play {
        transition: none !important;
    }
}

/* ---------- Untuk siapa (hero) & "cocok bila" (kartu paket): bantu calon peserta memutuskan sendiri ---------- */
.th-sp-for {
    margin-top: 12px !important;
    color: rgba(255, 255, 255, .78);
    font-size: var(--th-fs-base);
    line-height: 1.5;
}

.th-sp-for b {
    color: #ffd2b0;
    font-weight: 600;
}

.th-sp-fit {
    margin-top: 6px !important;
    color: var(--th-primary);
    font-size: var(--th-fs-sm);
    font-weight: 600;
    line-height: 1.5;
}

.th-sp-plan.is-best .th-sp-fit {
    color: #b44a00;
}

/* ---------- Corong: konten dilipat supaya CTA tercapai maks. 3 layar ---------- */
/* kurikulum: modul ke-5 dst. muncul lewat tombol "Lihat semua" (tetap ada di HTML untuk Google) */
.th-cd-modules:not(.is-all) > .is-more {
    display: none;
}

.th-sp-showall {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 1px dashed #b9cfd4;
    border-radius: var(--th-radius);
    background: #fff;
    color: var(--th-primary);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.th-sp-showall:hover {
    border-color: var(--th-primary);
    background: var(--th-primary-soft);
}

/* prosedur belajar: satu baris yang bisa dibuka */
.th-sp-fold {
    margin-top: 16px;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    background: #fff;
}

.th-sp-fold summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: var(--th-primary);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-base);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.th-sp-fold summary::-webkit-details-marker {
    display: none;
}

.th-sp-fold summary i {
    font-size: 12px;
    transition: transform .25s;
}

.th-sp-fold[open] summary i {
    transform: rotate(180deg);
}

.th-sp-fold .th-cd-proc {
    margin: 0;
    padding: 4px 16px 16px;
}

/* halaman posisi: daftar course (breakdown skill), tanpa harga */
.th-sp-courses {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.th-sp-course {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--th-border);
    border-radius: 16px;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s;
}

.th-sp-course:hover,
.th-sp-course:focus-visible {
    border-color: #c6dadf;
    box-shadow: var(--th-shadow);
}

.th-sp-course img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--th-primary-soft);
}

.th-sp-course-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.th-sp-course-num {
    color: #b44a00;
    font-size: var(--th-fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.th-sp-course-body b {
    color: var(--th-primary-dark);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-base);
    font-weight: 600;
    line-height: 1.35;
}

.th-sp-course-body small {
    color: var(--th-muted);
    font-size: var(--th-fs-sm);
    line-height: 1.45;
}

.th-sp-course-btn {
    grid-column: 1 / -1;
    min-height: 44px;
    box-shadow: none;
}

.th-sp-bundle-note {
    margin-top: 16px !important;
    padding: 14px 16px;
    border-radius: var(--th-radius);
    background: var(--th-accent-soft);
    color: #7a3500;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    line-height: 1.5;
}

/* ---------- HP: lebih padat ---------- */
@media (max-width: 767.98px) {
    .th-sp-hero {
        padding: 20px 0 24px;
    }

    .th-sp-hero-grid {
        gap: 16px;
    }

    .th-sp-lead {
        margin-top: 10px !important;
        font-size: var(--th-fs-sm);
    }

    .th-sp-teaser {
        aspect-ratio: 16 / 8;
    }

    .th-sp-hero-actions {
        gap: 10px 16px;
        margin-top: 12px;
    }

    .th-sp-block {
        padding: 28px 0;
    }

    .th-sp-problem {
        padding: 18px 16px;
    }

    .th-sp-problem .th-sp-h2 {
        font-size: var(--th-fs-md);
    }

    .th-sp-pains {
        gap: 6px;
        margin-top: 10px;
    }

    .th-sp-pains li {
        font-size: var(--th-fs-sm);
    }

    .th-sp-solution {
        margin-top: 24px;
    }

    .th-sp-h2 {
        font-size: 22px;
    }

    .th-sp-about.is-clamped:not(.is-open) {
        max-height: 7.5em;
    }
}

/* ---------- ≥576px: kartu course dengan tombol di kanan ---------- */
@media (min-width: 576px) {
    .th-sp-course {
        grid-template-columns: 96px minmax(0, 1fr) auto;
        gap: 16px;
    }

    .th-sp-course img {
        width: 96px;
        height: 72px;
    }

    .th-sp-course-btn {
        grid-column: auto;
    }
}

/* ---------- desktop: jarak antar blok lebih rapat ---------- */
@media (min-width: 992px) {
    .th-sp-block {
        padding: 40px 0;
    }

    .th-sp-hero {
        padding: 44px 0 48px;
    }
}

/* HP kecil (<400px): gambar hero lebih tipis supaya harga tetap tercapai dalam 3 layar */
@media (max-width: 399.98px) {
    .th-sp-hero {
        padding: 14px 0 18px;
    }

    .th-sp-tagline {
        margin-bottom: 10px !important;
    }

    .th-sp-teaser {
        aspect-ratio: 16 / 6.2;
    }

    .th-sp-block {
        padding: 22px 0;
    }

    .th-sp-about.is-clamped:not(.is-open) {
        max-height: 6em;
    }

    .th-sp-title {
        font-size: 26px;
    }

    .th-sp-lead {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

.th-sp-course-body .th-sp-course-for {
    color: var(--th-primary);
    font-weight: 600;
}

/* WA sekunder di titik keputusan + sticky bar dengan ikon WA */
.th-sp-ask {
    margin-top: 10px !important;
    text-align: center;
}

.th-sp-ask a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    color: var(--th-muted) !important;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.th-sp-ask a i {
    color: #25d366;
    font-size: 18px;
}

.th-sp-bar {
    grid-template-columns: minmax(0, 1fr) auto 48px;
}

/* ---------- Breadcrumb di atas hero: desktop lengkap, HP cukup link balik ke induk ---------- */
.th-sp-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .6);
    font-size: var(--th-fs-xs);
    line-height: 1.5;
}

.th-sp-crumb li + li::before {
    content: '›';
    margin: 0 8px;
    opacity: .7;
}

.th-sp-crumb a {
    color: rgba(255, 255, 255, .78) !important;
    text-decoration: none !important;
}

.th-sp-crumb a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.th-sp-crumb span[aria-current] {
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 767.98px) {
    .th-sp-crumb li {
        display: none;
    }

    .th-sp-crumb li.is-parent {
        display: block;
    }

    .th-sp-crumb li.is-parent::before {
        content: '‹';
        margin: 0 6px 0 0;
        opacity: 1;
    }

    .th-sp-crumb ol {
        margin-bottom: 8px;
    }

    .th-sp-tagline {
        margin-bottom: 8px !important;
    }
}

/* HP kecil: breadcrumb + tagline dirapatkan supaya harga tetap tercapai dalam 3 layar */
@media (max-width: 399.98px) {
    .th-sp-hero {
        padding-top: 8px;
    }

    .th-sp-crumb ol {
        margin-bottom: 6px;
    }
}

/* ---------- HP: hero lebih lega & satu tujuan (2026-10-08) ----------
   Sebelumnya 9 lapis bertumpuk (crumb, tagline kapital, label OJT, judul, for, lead, fakta, gambar, 2 tombol besar).
   Di HP: tagline jadi teks kecil biasa, "OJT" jadi badge sebaris judul, tombol "Tonton Teaser" diganti label
   di thumbnail (thumbnail sendiri sudah tombol play), sehingga tombol ke paket jadi satu-satunya CTA utama. */
.th-sp-teaser-label {
    display: none;
}

@media (max-width: 767.98px) {
    .th-sp-tagline {
        margin-bottom: 10px !important;
        color: rgba(255, 210, 176, .9);
        font-size: 12.5px;
        font-weight: 500;
        letter-spacing: .01em;
        text-transform: none;
    }

    .th-sp-title {
        font-size: 27px;
        line-height: 1.2;
    }

    .th-sp-title small {
        display: inline-block;
        margin: 0 3px 0 0;
        padding: 3px 8px 2px;
        border-radius: 6px;
        background: var(--th-accent);
        color: #fff;
        font-size: 13px;
        letter-spacing: .08em;
        line-height: 1.4;
        vertical-align: 4px;
    }

    .th-sp-for {
        margin-top: 10px !important;
        font-size: var(--th-fs-sm);
    }

    .th-sp-lead {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        line-height: 1.65;
    }

    .th-sp-facts {
        margin-top: 10px !important;
        font-size: 13px;
    }

    .th-sp-teaser {
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    }

    .th-sp-play {
        width: 56px;
        height: 56px;
    }

    .th-sp-play::before {
        border-width: 10px 0 10px 16px;
    }

    .th-sp-teaser-label {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 1;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(6, 40, 48, .78);
        color: #fff;
        font-family: poppins, sans-serif;
        font-size: 12.5px;
        font-weight: 600;
        line-height: 1.3;
    }

    .th-sp-teaser-btn {
        display: none !important;
    }

    .th-sp-hero-actions {
        margin-top: 14px;
    }

    .th-sp-hero-actions .th-sp-main-btn {
        border-color: transparent;
        background: var(--th-accent);
        color: #fff !important;
        box-shadow: 0 6px 16px rgba(232, 101, 10, .32);
    }

    .th-sp-mentor {
        width: 100%;
        text-align: center;
        font-size: 13px;
    }
}

@media (max-width: 399.98px) {
    .th-sp-title {
        font-size: 24px;
    }
}

/* ---------- Dorongan ke Paket Lengkap di kartu satuan (2026-10-08) ---------- */
.th-sp #th-plan-bundle-card {
    scroll-margin-top: 84px;
}

.th-sp-nudge {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px dashed rgba(232, 101, 10, .55);
    border-radius: 12px;
    background: var(--th-accent-soft, #fff3ea);
    color: #b44a00 !important;
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    text-wrap: pretty;
}

.th-sp-nudge:hover {
    border-style: solid;
}

.th-sp-nudge i {
    flex: none;
    font-size: 12px;
}

/* ---------- Detail = halaman "beli" (2026-10-08) ----------
   Chip di hero: OJT ini bagian dari Paket Lengkap posisinya (klik -> kartu Paket Lengkap).
   Masalah cukup satu kalimat (.th-sp-hook); versi lengkap ada di halaman posisi. */
.th-sp-partof {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    max-width: 100%;
    min-height: 40px;
    margin-top: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 178, 122, .55);
    border-radius: 999px;
    background: rgba(255, 178, 122, .12);
    color: #ffd2b0 !important;
    font-family: poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
    transition: background-color .2s, border-color .2s;
}

.th-sp-partof:hover,
.th-sp-partof:focus-visible {
    border-color: #ffb27a;
    background: rgba(255, 178, 122, .22);
}

.th-sp-partof i {
    flex: none;
    font-size: 12px;
}

.th-sp-hook {
    margin: 0 !important;
    padding: 14px 16px;
    border-left: 4px solid var(--th-accent);
    border-radius: 0 12px 12px 0;
    background: #f3f8f9;
    color: var(--th-muted);
    font-size: var(--th-fs-base);
    line-height: 1.6;
    text-wrap: pretty;
}

.th-sp-hook b {
    display: block;
    margin-bottom: 4px;
    color: var(--th-primary-dark);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-md);
    font-weight: 700;
    line-height: 1.35;
}

.th-sp-solution--first {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .th-sp-partof {
        display: flex;
        margin-top: 12px;
        border-radius: 12px;
    }

    .th-sp-partof span {
        flex: 1;
    }

    .th-sp-hook b {
        font-size: 17px;
    }

    .th-sp-solution--first {
        margin-top: 0;
    }
}

.th-sp-soon-alt {
    margin-top: 12px !important;
}

.th-sp-soon-alt a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    color: var(--th-primary) !important;
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Area sentuh minimal ±44px untuk tombol teks (panduan mobile-friendly Google) */
.th-sp-more,
.th-sp-fit-note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* area sentuh 44px tanpa menggeser tampilan (margin negatif mengimbangi padding) */
.th-sp-crumb a {
    display: inline-block;
    margin: -12px 0;
    padding: 12px 0;
}
