/* Halaman /redaksi
   Gaya: dokumen editorial, mirip "Susunan Redaksi" di koran/media tradisional.
   Tidak ada gradient, avatar inisial, atau card heavy. Tipografi-led. */

.redaksi-page {
    padding: 0 0 56px;
}

.redaksi-doc {
    max-width: 760px;
    margin: 24px auto 0;
    padding: 0 20px;
    color: #1f2937;
    line-height: 1.7;
}

.redaksi-doc__masthead {
    position: relative;
    border-bottom: 2px solid #111827;
    padding: 6px 0 18px;
    margin-bottom: 28px;
}

.redaksi-doc__rule {
    width: 56px;
    height: 4px;
    background: #b91c1c;
    border-radius: 2px;
    margin-bottom: 14px;
}

.redaksi-doc__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.redaksi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #1f2937;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}

.redaksi-badge svg { flex: none; opacity: 0.85; }

.redaksi-badge strong { font-weight: 700; color: #0f172a; }

.redaksi-badge:hover { background: #f3f4f6; }

.redaksi-badge--legal {
    border-color: #fecaca;
    background: #fff1f2;
    color: #7f1d1d;
}
.redaksi-badge--legal strong { color: #7f1d1d; }

.redaksi-badge--press {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
}
.redaksi-badge--press:hover { background: #dbeafe; }

.redaksi-badge--cta {
    border-color: #b91c1c;
    background: #b91c1c;
    color: #fff;
    font-weight: 600;
}
.redaksi-badge--cta:hover { background: #991b1b; border-color: #991b1b; }
.redaksi-badge--cta svg { opacity: 1; }

.redaksi-doc__kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b91c1c;
}

.redaksi-doc__masthead h1 {
    margin: 6px 0 10px;
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.redaksi-doc__legal {
    margin: 0;
    font-size: 15px;
    color: #4b5563;
}

.redaksi-doc__block {
    margin: 28px 0;
}

.redaksi-doc__block h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: 0.01em;
}

.redaksi-doc__block p {
    margin: 0 0 10px;
    font-size: 15.5px;
    color: #1f2937;
}

.redaksi-doc__lead {
    font-size: 16px;
    line-height: 1.75;
}

.redaksi-doc__note {
    font-size: 14.5px;
    color: #4b5563;
    margin-top: 12px;
}

.redaksi-doc__sign {
    margin: 36px 0 0;
    padding-top: 18px;
    border-top: 1px dashed #d1d5db;
    color: #374151;
    font-size: 15px;
}

.redaksi-doc__sign p { margin: 2px 0; }

/* ============================================================
   Halaman /pedoman-media-siber
   Re-use struktur redaksi-doc, plus daftar bersarang gaya legal.
   ============================================================ */

.pedoman-doc__intro {
    font-size: 16px;
    line-height: 1.8;
    color: #1f2937;
    font-style: italic;
    border-left: 3px solid #b91c1c;
    padding-left: 14px;
    margin: 0 0 16px;
}

.pedoman-doc__article {
    margin: 32px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    counter-reset: pedoman-list;
}

.pedoman-doc__article:first-of-type {
    border-top: none;
    padding-top: 0;
}

.pedoman-doc__article h2 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: none;
    padding-bottom: 0;
}

.pedoman-doc__article h2 em {
    font-style: italic;
    font-weight: 600;
    color: #475569;
}

.pedoman-doc__list {
    margin: 0;
    padding-left: 28px;
    list-style-position: outside;
}

.pedoman-doc__list > li {
    margin: 0 0 10px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #1f2937;
    padding-left: 4px;
}

.pedoman-doc__list > li::marker {
    color: #b91c1c;
    font-weight: 700;
}

.pedoman-doc__list--nested {
    margin: 10px 0 4px;
    padding-left: 26px;
}

.pedoman-doc__list--nested > li {
    margin-bottom: 6px;
    font-size: 15px;
    color: #374151;
}

.pedoman-doc__list--nested > li::marker {
    color: #6b7280;
    font-weight: 600;
}

.pedoman-doc__sign {
    text-align: left;
    font-size: 14.5px;
}

.pedoman-doc__refs {
    margin-top: 14px;
    color: #6b7280;
    font-size: 13.5px;
}

@media (max-width: 640px) {
    .pedoman-doc__intro {
        font-size: 15px;
        padding-left: 12px;
    }
    .pedoman-doc__article h2 { font-size: 16px; }
    .pedoman-doc__list { padding-left: 22px; }
    .pedoman-doc__list > li { font-size: 15px; }
    .pedoman-doc__list--nested { padding-left: 20px; }
}

html.theme-dark .pedoman-doc__intro { color: #e5e7eb; border-left-color: #f87171; }
html.theme-dark .pedoman-doc__article { border-top-color: #334155; }
html.theme-dark .pedoman-doc__article h2 { color: #f1f5f9; }
html.theme-dark .pedoman-doc__article h2 em { color: #cbd5e1; }
html.theme-dark .pedoman-doc__list > li { color: #e2e8f0; }
html.theme-dark .pedoman-doc__list > li::marker { color: #fca5a5; }
html.theme-dark .pedoman-doc__list--nested > li { color: #cbd5e1; }
html.theme-dark .pedoman-doc__list--nested > li::marker { color: #94a3b8; }
html.theme-dark .pedoman-doc__refs { color: #94a3b8; }

/* ============================================================
   Halaman /info-iklan — grid kantor
   ============================================================ */

.iklan-doc__offices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.iklan-office {
    border: 1px solid #e5e7eb;
    border-left: 3px solid #b91c1c;
    border-radius: 8px;
    padding: 16px 16px 14px;
    background: #fff;
    transition: box-shadow .15s, transform .15s;
}

.iklan-office:hover {
    box-shadow: 0 6px 18px -12px rgba(185, 28, 28, 0.35);
    transform: translateY(-1px);
}

.iklan-office__title {
    margin: 0 0 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.iklan-office__address,
.iklan-office__phone {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.iklan-office__address svg,
.iklan-office__phone svg {
    flex: none;
    margin-top: 3px;
    color: #b91c1c;
}

.iklan-office__phone a {
    color: #b91c1c;
    font-weight: 600;
    text-decoration: none;
}

.iklan-office__phone a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .iklan-doc__offices {
        grid-template-columns: 1fr;
    }
}

html.theme-dark .iklan-office {
    background: #0f172a;
    border-color: #334155;
    border-left-color: #f87171;
}
html.theme-dark .iklan-office__title { color: #f1f5f9; }
html.theme-dark .iklan-office__address,
html.theme-dark .iklan-office__phone { color: #cbd5e1; }
html.theme-dark .iklan-office__address svg,
html.theme-dark .iklan-office__phone svg { color: #fca5a5; }
html.theme-dark .iklan-office__phone a { color: #fca5a5; }

/* ============================================================
   Halaman /tentang-kami — pillar Visi & Misi + daftar prinsip
   ============================================================ */

.tentang-doc__lead {
    font-size: 16.5px;
    line-height: 1.85;
    color: #111827;
    margin: 0 0 14px;
}

.tentang-doc__pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.tentang-pillar {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.tentang-pillar:hover {
    border-color: #fecaca;
    box-shadow: 0 6px 18px -12px rgba(185, 28, 28, 0.35);
}

.tentang-pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f2;
    color: #b91c1c;
    margin-bottom: 10px;
}

.tentang-pillar h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tentang-pillar p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.tentang-doc__principles {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.tentang-doc__principles li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px dotted #e5e7eb;
    font-size: 15.5px;
    color: #1f2937;
    line-height: 1.7;
}

.tentang-doc__principles li:last-child {
    border-bottom: none;
}

.tentang-doc__principles li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 17px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #b91c1c 0 4px, transparent 5px);
    border: 1.5px solid #b91c1c;
}

.tentang-doc__principles strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .tentang-doc__pillars {
        grid-template-columns: 1fr;
    }
}

html.theme-dark .tentang-doc__lead { color: #f1f5f9; }
html.theme-dark .tentang-pillar { background: #0f172a; border-color: #334155; }
html.theme-dark .tentang-pillar:hover { border-color: #7f1d1d; }
html.theme-dark .tentang-pillar__icon { background: #3f1d1d; color: #fca5a5; }
html.theme-dark .tentang-pillar h3 { color: #f1f5f9; }
html.theme-dark .tentang-pillar p { color: #cbd5e1; }
html.theme-dark .tentang-doc__principles li { color: #e2e8f0; border-bottom-color: #334155; }
html.theme-dark .tentang-doc__principles strong { color: #f8fafc; }
html.theme-dark .tentang-doc__principles li::before { border-color: #fca5a5; background: radial-gradient(circle, #fca5a5 0 4px, transparent 5px); }

/* ============================================================
   Halaman /kontak — flash message + form
   ============================================================ */

.kontak-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    line-height: 1.5;
}

.kontak-flash--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.kontak-flash svg { flex: none; }

.kontak-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
}

.kontak-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.kontak-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kontak-form__field label {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
}

.kontak-form__field input,
.kontak-form__field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    line-height: 1.55;
    color: #0f172a;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.kontak-form__field input:focus,
.kontak-form__field textarea:focus {
    outline: none;
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.kontak-form__field textarea {
    resize: vertical;
    min-height: 140px;
}

.kontak-form__error {
    color: #b91c1c;
    font-size: 12.5px;
    margin-top: 2px;
}

.kontak-form__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.kontak-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 4px;
}

.kontak-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #b91c1c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.kontak-form__submit:hover { background: #991b1b; }
.kontak-form__submit:active { transform: translateY(1px); }

.kontak-form__hint {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.kontak-form__hint a {
    color: #b91c1c;
    font-weight: 600;
}

@media (max-width: 640px) {
    .kontak-form__row {
        grid-template-columns: 1fr;
    }
}

html.theme-dark .kontak-flash--success { background: #052e1e; border-color: #065f46; color: #a7f3d0; }
html.theme-dark .kontak-form__field label { color: #94a3b8; }
html.theme-dark .kontak-form__field input,
html.theme-dark .kontak-form__field textarea {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
html.theme-dark .kontak-form__field input:focus,
html.theme-dark .kontak-form__field textarea:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
html.theme-dark .kontak-form__hint { color: #94a3b8; }
html.theme-dark .kontak-form__hint a { color: #fca5a5; }

/* Roster: definition list bergaya kolom kiri label, kanan nama */
.redaksi-roster {
    margin: 0;
    padding: 0;
}

.redaksi-roster__row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px dotted #e5e7eb;
}

.redaksi-roster__row:last-child {
    border-bottom: none;
}

.redaksi-roster dt {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
}

.redaksi-roster dt small {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.redaksi-roster dd {
    margin: 0;
    font-size: 15.5px;
    color: #111827;
}

/* Kartu kontak 3-kolom */
.redaksi-contact-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.redaksi-contact-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.redaksi-contact-cell:hover {
    border-color: #fecaca;
    box-shadow: 0 6px 16px -10px rgba(185, 28, 28, 0.4);
    transform: translateY(-1px);
}

.redaksi-contact-cell--static {
    cursor: default;
}

.redaksi-contact-cell--static:hover {
    border-color: #e5e7eb;
    box-shadow: none;
    transform: none;
}

.redaksi-contact-cell__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f2;
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.redaksi-contact-cell__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.redaksi-contact-cell__label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #6b7280;
}

.redaksi-contact-cell__value {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

.redaksi-doc a {
    color: #b91c1c;
}

.redaksi-doc a:hover {
    text-decoration: underline;
}

/* Responsif */
@media (max-width: 768px) {
    .redaksi-contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .redaksi-doc {
        padding: 0 16px;
    }
    .redaksi-roster__row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 10px 0;
    }
    .redaksi-roster dt {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #6b7280;
    }
    .redaksi-roster dd {
        font-size: 15.5px;
    }
    .redaksi-doc__masthead h1 { font-size: 24px; }
    .redaksi-badge { font-size: 11.5px; padding: 5px 10px; }
}

/* Dark mode */
html.theme-dark .redaksi-doc { color: #e5e7eb; }
html.theme-dark .redaksi-doc__masthead { border-bottom-color: #f3f4f6; }
html.theme-dark .redaksi-doc__masthead h1 { color: #f8fafc; }
html.theme-dark .redaksi-doc__legal { color: #cbd5e1; }
html.theme-dark .redaksi-doc__kicker { color: #fca5a5; }
html.theme-dark .redaksi-doc__block h2 { color: #f1f5f9; border-bottom-color: #334155; }
html.theme-dark .redaksi-doc__block p { color: #e2e8f0; }
html.theme-dark .redaksi-doc__note { color: #cbd5e1; }
html.theme-dark .redaksi-doc__sign { color: #cbd5e1; border-top-color: #475569; }
html.theme-dark .redaksi-roster__row { border-bottom-color: #334155; }
html.theme-dark .redaksi-roster dt { color: #94a3b8; }
html.theme-dark .redaksi-roster dt small { color: #64748b; }
html.theme-dark .redaksi-roster dd { color: #f1f5f9; }
html.theme-dark .redaksi-doc a { color: #fca5a5; }
html.theme-dark .redaksi-badge { background: #1f2937; border-color: #334155; color: #e2e8f0; }
html.theme-dark .redaksi-badge strong { color: #f8fafc; }
html.theme-dark .redaksi-badge:hover { background: #334155; }
html.theme-dark .redaksi-badge--legal { background: #3f1d1d; border-color: #7f1d1d; color: #fecaca; }
html.theme-dark .redaksi-badge--legal strong { color: #fee2e2; }
html.theme-dark .redaksi-badge--press { background: #1e293b; border-color: #1e3a8a; color: #bfdbfe; }
html.theme-dark .redaksi-badge--cta { background: #b91c1c; border-color: #b91c1c; color: #fff; }
html.theme-dark .redaksi-contact-cell { background: #0f172a; border-color: #334155; color: #f1f5f9; }
html.theme-dark .redaksi-contact-cell:hover { border-color: #7f1d1d; }
html.theme-dark .redaksi-contact-cell__icon { background: #3f1d1d; color: #fca5a5; }
html.theme-dark .redaksi-contact-cell__label { color: #94a3b8; }
html.theme-dark .redaksi-contact-cell__value { color: #f8fafc; }
