/* ============================================================
   Alat & Panduan Gratis — Sukses Dengan Emas
   Palet disamakan dengan plugin e-book: ink #183e36, gold #a47d34,
   krem #f7f3e9, garis #e5ddca, teks redup #606a60.
   ============================================================ */

.sde-hub,
.sde-others {
    --ink: #183e36;
    --gold: #a47d34;
    --cream: #f7f3e9;
    --line: #e5ddca;
    --muted: #606a60;
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.sde-hub *,
.sde-others * { box-sizing: border-box; }

/* ── kerangka halaman hub ─────────────────────────────────── */
.sde-hub {
    max-width: 1200px;
    margin: 24px auto;
    padding: clamp(24px, 4.5vw, 64px);
    background: var(--cream);
    border-radius: 20px;
}

.sde-hub__eyebrow,
.sde-others__eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.sde-hub h1 {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(34px, 4.6vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 22px;
    max-width: 20ch;
}

.sde-hub h1 em { color: var(--gold); font-style: normal; }

.sde-hub__lead {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;
    max-width: 62ch;
    margin: 0 0 26px;
    color: #2c463e;
}

.sde-hub__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    list-style: none;
    padding: 0;
    margin: 0 0 44px;
    font-size: 13px;
    color: var(--muted);
}

.sde-hub__facts li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    margin-right: 8px;
}

/* ── kartu alat ───────────────────────────────────────────── */
.sde-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sde-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: clamp(22px, 2.4vw, 32px);
    box-shadow: 0 12px 34px rgba(24, 62, 54, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.sde-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(24, 62, 54, .10);
}

.sde-card__kicker {
    font-size: 10px;
    letter-spacing: .13em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}

.sde-card h2 {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(22px, 2.1vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -.025em;
}

.sde-card__for {
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: #34493f;
}

.sde-card ul {
    margin: 0 0 22px;
    padding-left: 0;
    list-style: none;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
}

.sde-card ul li::before {
    content: "·";
    color: var(--gold);
    font-weight: 700;
    margin-right: 9px;
}

.sde-card__foot { margin-top: auto; }

.sde-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--ink);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    cursor: pointer;
}

.sde-btn:hover { background: #2b594d; }

.sde-btn--gold { background: var(--gold); }
.sde-btn--gold:hover { background: #8c6a2b; }

.sde-btn--ghost {
    background: transparent;
    color: var(--ink) !important;
    border: 1px solid var(--ink);
}

.sde-btn--ghost:hover { background: rgba(24, 62, 54, .06); }

.sde-card__meta {
    margin: 12px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
}

/* ── blok ajakan di bawah ─────────────────────────────────── */
.sde-hub__cta {
    margin-top: 40px;
    padding: clamp(26px, 3vw, 40px);
    border-radius: 16px;
    background: var(--ink);
    color: #f4f1e8;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.sde-hub__cta h2 {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
}

.sde-hub__cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #cfd9cf;
    max-width: 56ch;
}

.sde-hub__cta .sde-btn { width: auto; padding: 15px 26px; white-space: nowrap; }

.sde-hub__privasi {
    margin-top: 30px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.sde-hub__privasi summary { cursor: pointer; font-weight: 700; color: var(--ink); }

/* ── blok "alat gratis lainnya" di halaman alat ───────────── */
.sde-others {
    max-width: 1200px;
    margin: 40px auto 24px;
    padding: clamp(22px, 3vw, 38px);
    background: var(--cream);
    border-radius: 18px;
    border: 1px solid var(--line);
}

.sde-others h2 {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(20px, 2.1vw, 26px);
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0 0 22px;
    line-height: 1.2;
}

.sde-others__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sde-mini {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none !important;
    color: var(--ink) !important;
    transition: border-color .18s ease, transform .18s ease;
}

.sde-mini:hover { border-color: var(--gold); transform: translateY(-2px); }

.sde-mini__kicker {
    font-size: 9.5px;
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 8px;
}

.sde-mini h3 {
    font-size: 15.5px;
    line-height: 1.35;
    margin: 0 0 8px;
    font-weight: 700;
}

.sde-mini p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 14px;
}

.sde-mini__go {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold);
}

/* ── responsif ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sde-hub__grid { grid-template-columns: 1fr; }
    .sde-others__grid { grid-template-columns: 1fr; }
    .sde-hub__cta { grid-template-columns: 1fr; }
    .sde-hub__cta .sde-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .sde-card, .sde-mini { transition: none; }
    .sde-card:hover, .sde-mini:hover { transform: none; }
}


/* ============================================================
   Netralkan margin bawaan tema Kadence.
   Tema memakai .entry-content p / h2 / h3 (0,1,1) yang mengalahkan
   selektor satu kelas, sehingga paragraf diberi margin 32px dan
   judul 23px. Selektor di bawah sengaja dinaikkan spesifisitasnya.
   ============================================================ */

.sde-alat-page .entry-hero,
.sde-alat-page .entry-title,
.sde-alat-page .page-title { display: none !important; }

.sde-hub.sde-hub .sde-hub__eyebrow { margin: 0 0 14px; }
.sde-hub.sde-hub .sde-hub__lead { margin: 0 0 26px; }
.sde-hub.sde-hub .sde-hub__facts { margin: 0 0 44px; padding-left: 0; }
.sde-hub.sde-hub .sde-hub__facts li { margin: 0; }

.sde-hub.sde-hub .sde-card__kicker { margin: 0 0 10px; }
.sde-hub.sde-hub .sde-card__for { margin: 0 0 16px; }
.sde-hub.sde-hub .sde-card__meta { margin: 12px 0 0; }
.sde-hub.sde-hub .sde-card h2 { margin: 0 0 12px; }
.sde-hub.sde-hub .sde-card ul { margin: 0 0 22px; padding-left: 0; }
.sde-hub.sde-hub .sde-card li { margin: 0; }

.sde-hub.sde-hub .sde-hub__cta h2 { margin: 0 0 8px; }
.sde-hub.sde-hub .sde-hub__cta p { margin: 0; }
.sde-hub.sde-hub .sde-hub__privasi { margin: 30px 0 0; }
.sde-hub.sde-hub .sde-hub__privasi p { margin: 10px 0 0; }

.sde-others.sde-others .sde-others__eyebrow { margin: 0 0 12px; }
.sde-others.sde-others h2 { margin: 0 0 22px; }
.sde-others.sde-others .sde-mini__kicker { margin: 0 0 8px; }
.sde-others.sde-others .sde-mini h3 { margin: 0 0 8px; }
.sde-others.sde-others .sde-mini p { margin: 0 0 12px; }
.sde-others.sde-others .sde-mini__go { margin-top: auto; }


/* ============================================================
   Kotak CTA di dalam artikel blog
   ============================================================ */

.sde-cta-artikel {
    --ink: #183e36;
    --gold: #a47d34;
    --line: #e5ddca;
    --muted: #606a60;
    margin: 2.2em 0 .6em;
    padding: clamp(20px, 2.4vw, 28px);
    background: #f7f3e9;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    box-sizing: border-box;
}

.sde-cta-artikel * { box-sizing: border-box; }

.sde-cta-artikel.sde-cta-artikel .sde-cta-artikel__kicker {
    margin: 0 0 8px;
    font-size: 10.5px;
    letter-spacing: .14em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
}

.sde-cta-artikel.sde-cta-artikel h3 {
    margin: 0 0 8px;
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: var(--ink);
}

.sde-cta-artikel.sde-cta-artikel p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #34493f;
}

.sde-cta-artikel__aksi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.sde-cta-artikel .sde-btn {
    width: auto;
    padding: 13px 22px;
    font-size: 14px;
}

.sde-cta-artikel.sde-cta-artikel .sde-cta-artikel__lain {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(164, 125, 52, .4);
    padding-bottom: 1px;
}

@media (max-width: 520px) {
    .sde-cta-artikel .sde-btn { width: 100%; }
}

/* ============================================================
   Halaman /konsultasi-gratis/ — disamakan dengan keluarga alat gratis
   ============================================================ */

.sde-konsul-page .entry-hero,
.sde-konsul-page .entry-hero-container-inner {
    background: #f7f3e9 !important;
    padding: clamp(28px, 4vw, 54px) 0 clamp(10px, 1.6vw, 18px);
}

.sde-konsul-page .entry-hero .hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.sde-konsul-page .entry-title {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(32px, 4.4vw, 56px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    color: #183e36 !important;
    text-align: left !important;
}

.sde-konsul-page #primary,
.sde-konsul-page .site-main,
.sde-konsul-page .entry-content-wrap,
.sde-konsul-page .entry-content {
    background: #f7f3e9;
}

.sde-konsul-page #primary { padding: 0 0 clamp(30px, 4vw, 56px); }

.sde-konsul-page .entry-content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px) !important;
    box-shadow: none !important;
    border: 0 !important;
}

.sde-konsul-page .entry-content {
    max-width: 100%;
}

.sde-konsul-page .entry-content > p {
    max-width: 62ch;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    color: #2c463e;
    margin: 0 0 26px;
}

/* kartu formulir */
.sde-konsul-page .sde-crm {
    --sde-gold: #a47d34;
    --sde-ink: #183e36;
    max-width: 600px;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sde-konsul-page .sde-crm__form {
    background: #fff;
    border: 1px solid #e5ddca;
    border-top: 4px solid #a47d34;
    border-radius: 16px;
    padding: clamp(22px, 2.6vw, 32px);
    box-shadow: 0 16px 44px rgba(24, 62, 54, .07);
}

.sde-konsul-page .sde-crm__title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
    color: #183e36;
    margin: 0 0 6px;
}

.sde-konsul-page .sde-crm__sub {
    font-size: 14px;
    line-height: 1.6;
    color: #606a60;
    opacity: 1;
    margin: 0 0 18px;
}

.sde-konsul-page .sde-crm__field {
    font-size: 13.5px;
    font-weight: 600;
    color: #183e36;
    margin: 0 0 14px;
}

.sde-konsul-page .sde-crm__field input,
.sde-konsul-page .sde-crm__field select,
.sde-konsul-page .sde-crm__field textarea {
    border: 1px solid #c3cabb;
    border-radius: 9px;
    padding: 12px 13px;
    font-size: 15px;
    background: #fff;
    color: #183e36;
    margin-top: 6px;
}

.sde-konsul-page .sde-crm__field input:focus,
.sde-konsul-page .sde-crm__field select:focus,
.sde-konsul-page .sde-crm__field textarea:focus {
    outline: 2px solid #a47d34;
    outline-offset: 1px;
    border-color: #a47d34;
}

.sde-konsul-page .sde-crm__check {
    font-size: 12.5px;
    line-height: 1.6;
    color: #34493f;
    margin: 2px 0 18px;
}

.sde-konsul-page .sde-crm__check input { accent-color: #183e36; }

.sde-konsul-page .sde-crm__btn {
    background: #183e36;
    border-radius: 9px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
}

.sde-konsul-page .sde-crm__btn:hover { background: #2b594d; }

.sde-konsul-page .sde-crm__note {
    font-size: 11.5px;
    line-height: 1.6;
    color: #606a60;
    opacity: 1;
    margin: 12px 0 0;
}

.sde-konsul-page .sde-crm a { color: #71561f; }


/* ── tata letak dua kolom halaman konsultasi ── */
.sde-konsul-page .entry-hero .entry-header,
.sde-konsul-page .entry-hero .entry-title { text-align: left !important; }

.sde-konsul-page .entry-hero .hero-container,
.sde-konsul-page .entry-hero .hero-inner-wrap {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}

.sde-konsul-page .content-bg,
.sde-konsul-page .content-container,
.sde-konsul-page .site-container {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.sde-konsul-page .entry-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: clamp(26px, 4vw, 56px);
    align-items: start;
}

.sde-konsul-page .entry-content .sde-konsul-intro { max-width: 100%; }

.sde-konsul-page .entry-content p.sde-konsul-eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
    text-transform: uppercase;
    color: #a47d34;
    margin: 0 0 12px;
}

.sde-konsul-page .entry-content p.sde-konsul-lead {
    font-size: clamp(15px, 1.5vw, 17.5px);
    line-height: 1.72;
    color: #2c463e;
    margin: 0 0 24px;
}

.sde-konsul-page .entry-content ul.sde-konsul-poin {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #34493f;
}

.sde-konsul-page .entry-content ul.sde-konsul-poin li {
    position: relative;
    padding-left: 26px;
    margin: 0 0 12px;
}

.sde-konsul-page .entry-content ul.sde-konsul-poin li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #a47d34;
    font-weight: 700;
}

@media (max-width: 900px) {
    .sde-konsul-page .entry-content { grid-template-columns: 1fr; }
}


/* judul hero sejajar dengan kolom isi */
.sde-konsul-page .entry-hero-container-inner { background: #f7f3e9 !important; }
/* latar menyatu: tidak ada pita putih di antara hero dan isi */
.sde-konsul-page,
.sde-konsul-page main.wrap,
.sde-konsul-page #inner-wrap,
.sde-konsul-page #primary {
    background: #f7f3e9 !important;
}

.sde-konsul-page .entry-hero .entry-header {
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
}


/* rapatkan jarak judul ke isi (Kadence memberi min-height 200px pada header hero) */
.sde-konsul-page .entry-hero { padding-bottom: 18px !important; }
.sde-konsul-page #primary { margin-top: 0 !important; }
