/* =============================================================
   TEMA BERANDA UNTUK HALAMAN LAIN
   Menyamakan Artikel, Detail Artikel, Tentang, Legal, dan 404
   dengan tampilan beranda (home.css): latar terang, aksen ungu,
   font Plus Jakarta Sans + Inter.
   Selektor diawali .ds-theme agar menang atas <style> di halaman.
   ============================================================= */

.ds-theme .container { max-width: 1200px; }

/* ─────────────── HERO (Artikel, Tentang, Legal) ─────────────── */
.ds-theme .art-hero,
.ds-theme .about-hero,
.ds-theme .legal-hero {
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(167,139,250,.18), transparent 70%),
        radial-gradient(50% 50% at 0% 100%, rgba(196,181,253,.16), transparent 70%),
        #fff;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
}
.ds-theme .art-hero::before,
.ds-theme .about-hero::before,
.ds-theme .legal-hero::before,
.ds-theme .about-hero-orb { display: none; }

.ds-theme .art-hero h1,
.ds-theme .about-hero h1,
.ds-theme .legal-hero h1 {
    color: var(--ink);
    font-family: var(--font-head);
    letter-spacing: -.035em;
}
.ds-theme .art-hero-text h1 span,
.ds-theme .about-hero h1 span {
    background: linear-gradient(90deg, var(--brand), #a855f7);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.ds-theme .art-hero-text p,
.ds-theme .about-hero p,
.ds-theme .legal-hero-meta { color: var(--ink-3); }

/* Badge di atas judul: pil putih seperti .h-eyebrow beranda */
.ds-theme .art-hero-badge,
.ds-theme .about-hero-badge,
.ds-theme .legal-badge {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.ds-theme .legal-breadcrumb,
.ds-theme .legal-breadcrumb a { color: var(--ink-3); }
.ds-theme .legal-breadcrumb a:hover { color: var(--brand); }

/* Tombol di hero Tentang */
.ds-theme .about-hero .btn-amber {
    background: var(--brand); color: #fff;
    box-shadow: 0 8px 20px -8px rgba(109,40,217,.7);
    border-radius: 12px;
}
.ds-theme .about-hero .btn-amber:hover { background: var(--brand-ink); }
.ds-theme .about-hero .btn-hero-outline {
    background: #fff; color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
}
.ds-theme .about-hero .btn-hero-outline:hover { background: var(--soft); border-color: #cfc8e6; }

/* Kotak pencarian artikel (di atas latar terang) */
.ds-theme .art-search-wrap {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.ds-theme .art-search-wrap:focus-within { background: #fff; border-color: #c4b5fd; box-shadow: 0 0 0 4px var(--brand-soft); }
.ds-theme .art-search-wrap input { color: var(--ink); }
.ds-theme .art-search-wrap input::placeholder { color: #94a3b8; }
.ds-theme .art-search-wrap button { background: var(--brand); border-radius: 10px; }
.ds-theme .art-search-wrap button:hover { background: var(--brand-ink); }

/* ─────────────── LATAR & KARTU ─────────────── */
.ds-theme .art-content,
.ds-theme .art-detail-page,
.ds-theme .legal-body { background: var(--soft); }

.ds-theme .art-detail-wrap,
.ds-theme .art-side-box,
.ds-theme .legal-article,
.ds-theme .legal-toc {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ─────────────── ARTIKEL: aksen biru -> ungu ─────────────── */
.ds-theme .art-breadcrumb a:hover,
.ds-theme .art-detail-cat,
.ds-theme .art-detail-body a { color: var(--brand); }
.ds-theme .art-detail-title { color: var(--ink); font-family: var(--font-head); letter-spacing: -.025em; }
.ds-theme .art-detail-body { color: var(--ink-2); }
.ds-theme .art-detail-body h2,
.ds-theme .art-detail-body h3 { color: var(--ink); }
.ds-theme .art-detail-body blockquote {
    border-left-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-ink);
}
.ds-theme .art-detail-body table thead tr { background: var(--ink); }
.ds-theme .art-side-head { color: var(--ink); font-family: var(--font-head); }
.ds-theme .art-side-title { color: var(--ink); }
.ds-theme .art-side-item:hover .art-side-title,
.ds-theme .art-side-all { color: var(--brand); }

/* ─────────────── LEGAL: aksen biru -> ungu ─────────────── */
.ds-theme .toc-list a { color: var(--ink-2); }
.ds-theme .toc-list a:hover,
.ds-theme .toc-list a.active { background: var(--brand-soft); color: var(--brand-ink); }
.ds-theme .toc-cta a { background: var(--brand); border-radius: 10px; }
.ds-theme .toc-cta a:hover { background: var(--brand-ink); }
.ds-theme .section-num { background: var(--brand-soft); color: var(--brand-ink); }
.ds-theme .legal-section h2 { color: var(--ink); }
.ds-theme .legal-section p,
.ds-theme .legal-section ul,
.ds-theme .legal-section ol { color: var(--ink-2); }
.ds-theme .legal-highlight {
    background: var(--brand-soft);
    border-left-color: var(--brand);
    color: var(--brand-ink);
}
.ds-theme .legal-highlight strong { color: #4c1d95; }
.ds-theme .legal-contact-box {
    background: linear-gradient(135deg, var(--brand-soft), #ede9fe);
    border-color: #d9ccff;
}
.ds-theme .legal-contact-box p { color: #4c1d95 !important; }
.ds-theme .legal-contact-box a { color: var(--brand); }
.ds-theme .data-table th { background: var(--brand-soft); color: var(--brand-ink); border-color: #e4dbff; }

/* ─────────────── TENTANG ─────────────── */
.ds-theme .about-section-alt { background: var(--soft); }
.ds-theme .about-section-title { color: var(--ink); font-family: var(--font-head); }
.ds-theme .about-section-desc { color: var(--ink-3); }
.ds-theme .about-section-label { background: var(--brand-soft); color: var(--brand); }

/* Section "Keunggulan" yang tadinya gelap -> latar lembut + kartu putih */
.ds-theme .about-section-dark { background: var(--soft); color: var(--ink-2); }
.ds-theme .about-section-dark .about-section-title { color: var(--ink); }
.ds-theme .about-section-dark .about-section-desc { color: var(--ink-3); }
.ds-theme .about-section-dark .about-section-label { background: var(--brand-soft); color: var(--brand); }
.ds-theme .keunggulan-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.ds-theme .keunggulan-card:hover { background: #fff; border-color: #d9ccff; box-shadow: var(--shadow); }
.ds-theme .keunggulan-icon { background: var(--brand-soft); color: var(--brand); }
.ds-theme .keunggulan-card h4 { color: var(--ink); }
.ds-theme .keunggulan-card p  { color: var(--ink-3); }

.ds-theme .about-cta { background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%); border-radius: 28px; }
.ds-theme .about-cta h2 { color: #fff; }

/* ─────────────── 404 ─────────────── */
.ds-theme .err-wrap {
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(167,139,250,.18), transparent 70%),
        radial-gradient(50% 50% at 0% 100%, rgba(196,181,253,.16), transparent 70%),
        #fff;
}
.ds-theme .err-title { color: var(--ink); font-family: var(--font-head); }
.ds-theme .err-links a { color: var(--brand); }
