/* ==========================================================================
   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 dulu dibatasi 860px; sekarang ikut lebar .container seperti hero & halaman lain */

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

/* poin 1. / 2. dan sub-poin 2.1, 2.2 ... (dibungkus di Course::renumber_letters):
   nomor menggantung, baris lanjutan rata dengan teks setelah nomor; sub-poin menjorok ke dalam */
.th-prose .th-pt,
.th-prose .th-sub {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
}

/* 1.4em ~ lebar "2.1 " */
.th-prose .th-sub {
    padding-left: calc(1.5em + 1.4em);
    text-indent: -1.4em;
}

@media (max-width: 767.98px) {
    .th-prose .th-sub {
        padding-left: calc(1em + 1.4em);
    }
}

.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,
.th-vmodal-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.th-vmodal-frame video {
    object-fit: contain;
    background: #000;
}

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

/* ---------- Popup preview brosur PDF ---------- */
.th-bmodal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    background: rgba(3, 20, 24, .92);
}

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

.th-bmodal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.th-bmodal-bar b {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--th-primary-dark);
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.th-bmodal-dl {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 16px;
}

.th-bmodal-close {
    flex: 0 0 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #eef2f3;
    color: var(--th-primary-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.th-bmodal-close:hover,
.th-bmodal-close:focus-visible {
    background: var(--th-accent);
    color: #fff;
}

.th-bmodal-pages {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px;
}

.th-bmodal-pages canvas {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto 12px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

.th-bmodal-msg {
    margin-top: 30vh;
    color: #fff;
    text-align: center;
}

@media (max-width: 420px) {
    .th-bmodal-dl span {
        display: none;
    }
}

/* ---------- ≥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);
    }
}

/* Halaman posisi & training (2026-10-20): tombol jadi anak grid; HP tetap di bawah gambar (jarak dari gap grid) */
.th-sp-hero-grid--split > .th-sp-hero-actions {
    margin-top: 0;
}

/* Desktop: teks + tombol di kiri, gambar di kanan setinggi kolom kiri (atas & bawah rata) */
@media (min-width: 992px) {
    .th-sp-hero-grid--split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        row-gap: 0;
        align-items: stretch;
    }

    .th-sp-hero-grid--split > .th-sp-hero-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .th-sp-hero-grid--split > .th-sp-hero-actions {
        grid-column: 1;
        grid-row: 2;
        margin-top: 32px;
    }

    /* halaman training: Download Brosur di atas, Lihat Pilihan Paket di bawahnya, lebar sama */
    .th-sp-hero-grid--split > .th-sp-hero-actions--duo {
        display: grid;
        grid-template-columns: minmax(0, 320px);
        gap: 12px;
    }

    /* ritme teks sedikit lebih lega supaya tinggi kolom kiri mendekati gambar */
    .th-sp-hero-grid--split .th-sp-tagline {
        margin-bottom: 18px !important;
    }

    .th-sp-hero-grid--split .th-sp-for {
        margin-top: 16px !important;
    }

    .th-sp-hero-grid--split .th-sp-lead {
        margin-top: 18px !important;
        line-height: 1.7;
    }

    .th-sp-hero-grid--split .th-sp-facts {
        margin-top: 18px !important;
    }

    .th-sp-hero-grid--split > .th-sp-hero-media {
        display: flex;
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .th-sp-hero-grid--split .th-sp-teaser {
        height: 100%;
        min-height: 380px;
        aspect-ratio: auto;
    }
}

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

/* pembungkus kolom kurikulum: tidak ikut layout kecuali di desktop saat semua modul tampil */
.th-cd-col {
    display: contents;
}

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

/* ==========================================================================
   Revisi meeting 2026-10-18 (Pak Billah)
   ========================================================================== */
/* Label section (Tentang OJT, Kurikulum, Cara Belajar, Pilih Paket, ...) diperbesar proporsional */
.th-sp-kicker {
    font-size: var(--th-fs-sm);
    letter-spacing: .08em;
}

@media (min-width: 768px) {
    .th-sp-kicker {
        font-size: var(--th-fs-base);
    }
}

/* "Tutup" / "Baca selengkapnya": teks link saja, tanpa bingkai */
.th-sp-more,
.th-sp-more:focus {
    border: 0;
    box-shadow: none;
}

.th-sp-more:focus-visible {
    outline: 2px solid var(--th-accent);
    outline-offset: 2px;
}

/* Nama mentor di baris fakta hero */
.th-sp-facts b {
    color: #fff;
    font-weight: 600;
}

/* Halaman training: nama posisi (parent) di atas judul training (children), beda warna */
.th-sp-parent {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border: 1px solid rgba(127, 211, 193, .45);
    border-radius: 999px;
    background: rgba(127, 211, 193, .12);
    color: #8fe0cd !important;
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none !important;
    transition: background-color .2s, color .2s;
}

.th-sp-parent:hover,
.th-sp-parent:focus-visible {
    background: rgba(127, 211, 193, .22);
    color: #fff !important;
}

/* Tombol hero halaman training (2026-10-21): Lihat Pilihan Paket = oranye penuh (utama), Download Brosur = outline oranye (sekunder) */
.th-sp-hero-actions--duo .th-btn {
    flex: 1 1 100%;
}

@media (min-width: 576px) {
    .th-sp-hero-actions--duo .th-btn {
        flex: 1 1 0;
    }
}

.th-sp-brosur {
    flex-wrap: wrap;
    gap: 4px 10px;
    border-color: var(--th-accent);
    background: rgba(232, 101, 10, .08);
    color: #ffa45c !important; /* oranye lebih terang supaya terbaca di hero teal */
}

.th-sp-brosur:hover,
.th-sp-brosur:focus-visible {
    border-color: var(--th-accent);
    background: var(--th-accent);
    color: #fff !important;
}

.th-sp-brosur.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.th-sp-brosur small {
    flex-basis: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    font-weight: 400;
    opacity: .9;
}

/* Sebelum > Setelah: kalimat pembuka + tabel jadi satu kartu */
.th-sp-shift--joined {
    padding: 14px;
    border: 1px solid var(--th-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .85);
    box-shadow: var(--th-shadow);
}

.th-sp-fit-note--top {
    margin: 0 0 14px !important;
}

@media (min-width: 768px) {
    .th-sp-shift--joined {
        padding: 20px;
    }
}

/* Pilih Paket: kalimat penjelas jadi judul (jargon dihapus) */
.th-sp-h2--lead {
    font-size: var(--th-fs-lg);
    font-weight: 600;
    line-height: 1.45;
}

/* Kartu Satuan disamakan dengan Paket Lengkap: latar putih, border oranye yang sama, tombol oranye */
.th-sp-plan.th-sp-plan--single {
    border: 2px solid var(--th-accent);
    background: #fff;
    box-shadow: var(--th-shadow-lg);
}

/* Paket Lengkap: harga satuan tiap training */
.th-sp-plan-unit {
    display: block;
    color: var(--th-primary);
    font-weight: 600;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .th-sp-plan-list li::after {
        content: '';
        display: table;
        clear: both;
    }

    .th-sp-plan-unit {
        float: right;
        margin-left: 12px;
    }
}

/* Konten selebar container (1110px) seperti hero & halaman lain; paragraf panjang dibatasi supaya nyaman dibaca */
.th-sp-wrap .th-sp-h2,
.th-sp-wrap .th-sp-sub,
.th-sp-wrap .th-sp-about {
    max-width: 820px;
}

@media (min-width: 992px) {
    /* pilihan paket: Satuan & Paket Lengkap berdampingan */
    .th-sp-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 24px;
    }

    .th-sp-plan {
        display: flex;
        flex-direction: column;
    }

    .th-sp-plan .th-sp-plan-foot {
        margin-top: auto;
    }

    /* kurikulum: 2 kolom supaya tidak memanjang ke bawah; urut ke bawah per kolom, bukan zigzag.
       Masih dilipat (4 modul): 1-2 kiri, 3-4 kanan. Semua tampil: tiap .th-cd-col jadi kolom sendiri (dibagi di view). */
    .th-sp .th-cd-modules {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
        grid-auto-flow: column;
        align-items: start;
        gap: 10px 16px;
    }

    .th-sp .th-cd-modules.is-all {
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .th-sp .th-cd-modules.is-all > .th-cd-col {
        display: grid;
        gap: 10px;
        align-content: start;
    }

    /* daftar training di halaman posisi: 2 kolom, urut ke bawah per kolom (--sp-rows dari view) */
    .th-sp-courses {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(var(--sp-rows, 1), auto);
        grid-auto-flow: column;
        gap: 16px;
    }

    .th-sp-courses > li {
        display: flex;
    }

    .th-sp-courses .th-sp-course {
        flex: 1 1 auto;
    }

    .th-sp-shift--joined {
        padding: 24px;
    }
}

/* kartu training di grid 2 kolom (desktop): foto + teks di atas, tombol selebar kartu di bawah */
@media (min-width: 992px) {
    .th-sp-courses .th-sp-course {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        grid-template-rows: auto 1fr;
        align-items: start;
        gap: 14px 16px;
        padding: 18px;
    }

    .th-sp-courses .th-sp-course img {
        width: 88px;
        height: 88px;
    }

    .th-sp-courses .th-sp-course-btn {
        grid-column: 1 / -1;
        align-self: end;
        width: 100%;
    }
}

/* "Baca selengkapnya" / "Tutup": tombol pill outline (bukan link bergaris bawah), ikon panah berputar saat terbuka */
.th-sp-more,
.th-sp-more:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 14px;
    padding: 9px 20px;
    border: 1.5px solid var(--th-primary);
    border-radius: 999px;
    background: #fff;
    color: var(--th-primary);
    font-family: poppins, sans-serif;
    font-size: var(--th-fs-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(9, 78, 93, .08);
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.th-sp-more::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
    transition: transform .25s ease;
}

.th-sp-more[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.th-sp-more:hover {
    background: var(--th-primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(9, 78, 93, .2);
}

:root[data-theme="dark"] .th-sp-more {
    border-color: var(--th-dk-link);
    background: transparent;
    color: var(--th-dk-link) !important;
    box-shadow: none;
}

:root[data-theme="dark"] .th-sp-more:hover {
    background: var(--th-dk-link);
    color: #1a0d03 !important;
}

/* ==========================================================================
   HP: hero halaman posisi/training lebih ringkas, judul paket tidak terlalu besar
   ========================================================================== */
@media (max-width: 767.98px) {
    /* slogan sudah ada di Home; di HP disembunyikan supaya isi utama cepat terlihat */
    .th-sp-tagline {
        display: none;
    }

    .th-sp-hero .th-sp-parent {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .th-sp-hero .th-sp-teaser {
        aspect-ratio: 16 / 8;
        border-radius: 14px;
    }

    /* Download Brosur + Lihat Pilihan Paket berdampingan */
    .th-sp-hero-actions--duo {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .th-sp-hero-actions--duo .th-btn {
        flex: 1 1 0;
        min-height: 48px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .th-sp-hero-actions--duo .th-sp-brosur small {
        display: none;
    }

    .th-sp-h2--lead {
        font-size: 17px;
        line-height: 1.5;
    }

    .th-sp-partof {
        font-size: 13px;
    }
}

/* ==========================================================================
   Pilih Paket: sorotan ke Paket Lengkap (terang & gelap). Kartu Satuan tetap rapi tapi kalem:
   border tipis netral, tanpa bayangan besar. Tombol tetap sama oranye (permintaan sheet Closing #7).
   ========================================================================== */
.th-sp-plan.th-sp-plan--single {
    border: 1px solid var(--th-border);
    background: #fff;
    box-shadow: 0 1px 3px rgba(9, 78, 93, .06);
}

.th-sp-plan.is-best {
    position: relative;
    border: 2px solid var(--th-accent);
    background: linear-gradient(180deg, #fff4ea 0%, #fffaf6 45%, #fff 100%);
    box-shadow: 0 0 0 4px rgba(196, 82, 12, .12), 0 18px 40px rgba(196, 82, 12, .18);
}

.th-sp-kicker + .th-sp-plans {
    margin-top: 12px;
}

@media (min-width: 992px) {
    .th-sp-plan.is-best {
        transform: translateY(-6px);
    }
}

:root[data-theme="dark"] .th-sp-plan.th-sp-plan--single {
    border-color: var(--th-dk-line);
    background: var(--th-dk-bg-2) !important;
    box-shadow: none;
}

:root[data-theme="dark"] .th-sp-plan.is-best {
    border-color: #e8792f;
    background: linear-gradient(180deg, #2e1d10 0%, var(--th-dk-card) 70%) !important;
    box-shadow: 0 0 0 4px rgba(232, 121, 47, .16), 0 18px 40px rgba(0, 0, 0, .5);
}

:root[data-theme="dark"] .th-sp-price del {
    color: var(--th-dk-muted);
}

/* Judul blok Sebelum/Setelah ("Jika hal ini Anda alami ..."): kalimat, bukan judul besar */
.th-sp-h2.th-sp-h2--fit {
    max-width: 760px;
    font-size: clamp(17px, .5vw + 15px, 20px);
    font-weight: 600;
    line-height: 1.45;
}

/* Judul blok di halaman posisi & training (Tentang, Kurikulum, Breakdown skill, Cara Belajar, ...):
   proporsional dengan isi 16px, tidak sebesar judul halaman */
.th-sp-wrap .th-sp-h2 {
    font-size: clamp(20px, .8vw + 13px, 24px);
    line-height: 1.35;
}

.th-sp-wrap .th-sp-kicker {
    margin-bottom: 6px !important;
    font-size: 13px;
}

.th-sp-wrap .th-sp-h2.th-sp-h2--fit {
    font-size: clamp(17px, .3vw + 15px, 19px);
}

/* ==========================================================================
   Hero halaman training: hierarki jelas & tidak bertumpuk (revisi 2026-10-18 malam)
   Beranda › Program OJT  (breadcrumb kecil)
   [Posisi karir]  ›  Training 1 dari 2   (baris hierarki)
   JUDUL TRAINING
   ========================================================================== */
.th-cd .th-sp-tagline {
    display: none;
}

.th-sp-hier {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 4px 0 12px !important;
}

.th-sp-hier .th-sp-parent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 14px;
    font-size: 14px;
}

.th-sp-hier .th-sp-parent i {
    font-size: 12px;
    opacity: .85;
}

.th-sp-hier-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .7);
    font-family: poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.th-sp-hier-step i {
    font-size: 10px;
    opacity: .6;
}

/* judul training sedikit lebih kecil dari judul halaman posisi: dia "anak" dari posisi */
.th-cd .th-sp-title {
    font-size: clamp(28px, 2vw + 14px, 40px);
    line-height: 1.18;
}

.th-cd .th-sp-facts {
    margin-top: 10px !important;
}

/* ajakan Paket Lengkap: tautan ringkas, bukan kapsul besar */
.th-cd .th-sp-partof {
    min-height: 36px;
    margin-top: 12px;
    padding: 6px 12px;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    /* HP: breadcrumb tidak perlu, chip posisi sudah jadi tautan kembali */
    .th-cd .th-sp-crumb {
        display: none;
    }

    .th-sp-hier .th-sp-parent {
        padding: 5px 12px;
        font-size: 13px;
    }
}

/* Satuan: border oranye tetap ada (sheet Closing #7), tipis & tanpa sorotan; Paket Lengkap paling menonjol */
.th-sp-plan.th-sp-plan--single {
    border: 1.5px solid var(--th-accent);
}

:root[data-theme="dark"] .th-sp-plan.th-sp-plan--single {
    border: 1.5px solid rgba(232, 101, 10, .7);
}

/* ==========================================================================
   Hierarki di hero posisi & training (pola Udemy/Coursera):
   breadcrumb teks kecil di atas judul; posisi karir (parent) berwarna teal;
   di bawah judul training: "Bagian dari Paket Lengkap OJT {posisi}".
   ========================================================================== */
.th-sp .th-sp-crumb,
.th-sp .th-sp-hier {
    display: none;
}

.th-trail ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
}

.th-trail li + li::before {
    content: "›";
    margin: 0 10px;
    color: rgba(255, 255, 255, .55);
    font-size: 16px;
    font-weight: 400;
}

.th-trail a {
    display: inline-block;
    padding: 4px 0;
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.th-trail a:hover,
.th-trail a:focus-visible {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* posisi karir (parent) */
.th-trail a.is-parent {
    color: #8fe0cd !important;
}

/* "Bagian dari Paket Lengkap ..." tepat di bawah judul training */
.th-cd .th-sp-title + .th-sp-partof {
    margin: 12px 0 4px;
}

/* Judul training proporsional (nama training panjang): maks 32px desktop, 24px HP */
.th-cd .th-sp-hero .th-sp-title {
    font-size: clamp(24px, 1.1vw + 17px, 32px);
    line-height: 1.25;
    letter-spacing: -.01em;
}

/* ==========================================================================
   HP: hero posisi/training lebih lega (2026-10-21, permintaan: "keliatan penuh bgt").
   Ritme: antar baris teks 12-16px, antar blok besar (teks | gambar | tombol) 24px.
   ========================================================================== */
@media (max-width: 767.98px) {
    :root .th-sp-hero {
        padding-bottom: 36px;
    }

    .th-sp-hero-grid,
    .th-sp-hero-grid--split {
        gap: 24px;
    }

    .th-sp-hero .th-trail ol {
        margin-bottom: 14px;
    }

    .th-sp-hero .th-sp-title {
        line-height: 1.3;
    }

    .th-sp .th-sp-hero .th-sp-partof {
        margin-top: 16px;
    }

    .th-sp-hero .th-sp-for {
        margin-top: 16px !important;
    }

    .th-sp-hero .th-sp-lead {
        margin-top: 12px !important;
        line-height: 1.7;
    }

    .th-sp-hero .th-sp-facts {
        margin-top: 12px !important;
        line-height: 1.6;
    }
}
