/* ============================================================
   Newsroom Otomatis — Frontend CSS  v2.4
   Kotak Ringkasan Artikel (.nro-summary-box)
   ============================================================ */

/* ----------------------------------------------------------
   Featured image + caption atribusi sumber (v3.13.5)
   Disuntik otomatis via filter 'post_thumbnail_html' — berlaku
   di tema manapun, tidak tergantung template khusus plugin.
   ---------------------------------------------------------- */
.nro-featured-figure {
    margin: 0 0 18px;
}

.nro-featured-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    filter: none;
    opacity: 1;
}

.nro-featured-caption {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #767676;
    font-style: italic;
}

/* ----------------------------------------------------------
   Heading struktur di dalam isi artikel (H3/H4 dari AI)
   ---------------------------------------------------------- */
.entry-content h3,
.nro-content h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 1.7em 0 0.6em;
    color: #1a1d29;
}

.entry-content h4,
.nro-content h4 {
    font-size: 1.12rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 1.4em 0 0.5em;
    color: #1a1d29;
}

/* Heading pertama (langsung setelah lead) tidak perlu jarak atas besar */
.entry-content > h3:first-child,
.nro-content > h3:first-child {
    margin-top: 0.4em;
}

/* ----------------------------------------------------------
   Kotak Ringkasan Utama
   ---------------------------------------------------------- */
.nro-summary-box {
    background-color: #f8f9fb;
    border: 1px solid #dde1e9;
    border-left: 3px solid #3b82f6;
    border-radius: 0 6px 6px 0;
    padding: 16px 20px 14px 20px;
    margin: 28px 0 26px;
    font-family: inherit;
    line-height: 1.6;
    position: relative;
}

/* Header / Label "📌 Ringkasan" */
.nro-summary-box > strong:first-child,
.nro-summary-box > b:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #3b6dbf;
    margin-bottom: 11px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e2e6ee;
}

/* Daftar poin */
.nro-summary-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nro-summary-box ul li {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 6px 0;
    font-size: 0.94rem;
    color: #2c3142;
    line-height: 1.6;
    border-bottom: 1px dashed #e5e8ef;
}

.nro-summary-box ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Bullet kustom — centang biru */
.nro-summary-box ul li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #3b82f6;
    background: #e8f0fe;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 2px;
}

/* Hover ringan pada setiap poin */
.nro-summary-box ul li:hover {
    background: rgba(59, 130, 246, 0.03);
    border-radius: 4px;
}

/* ----------------------------------------------------------
   Responsif — mobile
   ---------------------------------------------------------- */
@media (max-width: 600px) {
    .nro-summary-box {
        padding: 14px 14px 12px 14px;
        margin: 20px 0 18px;
    }

    .nro-summary-box ul li {
        font-size: 0.9rem;
    }
}
