:root {
    --green-dark:   #0f5c3a;
    --green-mid:    #1d7a52;
    --green-light:  #e8f7ef;
    --green-accent: #2da06b;
    --gold:         #c9993a;
    --text-main:    #1a1a1a;
    --text-muted:   #6b7280;
    --border:       rgba(0,0,0,0.08);
    --surface:      #fff;
    --bg:           #f5f4f0;
    --radius:       16px;
    --ink:#1B2430;
    --ink-soft:#3E4A5C;
    --paper:#FFFFFF;
    --paper-raised:#FFFFFF;
    --emas:#B8862E;
    --line:#D8D3C7;
    --rule:#C9C2B2;
}
.news-section {
    max-width: 900px;
    margin: 2rem auto;
}

.news-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    transition: background 0.2s;
}

.news-card:last-child {
    border-bottom: none;
}

.news-card:hover .news-title {
    color: orange;
}

.news-thumb {
    width: 110px;
    height: 78px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #cbd5e1;
}

.news-thumb-placeholder {
    width: 110px;
    height: 78px;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumb-placeholder svg {
    opacity: 0.4;
}

.news-body {
    flex: 1;
}

.news-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--accent);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 5px;
}

.news-title {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 0 0 6px;
    transition: color 0.2s;
    cursor: pointer;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-meta svg {
    flex-shrink: 0;
}

/* Two-column grid rows */
.news-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    border-bottom: 0px solid var(--border);
}

.news-row:last-child {
    border-bottom: none;
}

.news-row .news-card {
    border-bottom: none;
}

@media (max-width: 600px) {
    .news-row {
        grid-template-columns: 1fr;
    }
    .news-row .news-card {
        border-bottom: 1px solid var(--border);
    }
    .news-row .news-card:last-child {
        border-bottom: none;
    }
}
.section-header {
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1e293b;
    margin-bottom: 4px;
}

.title-underline {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #f97316; /* warna oranye */
    border-radius: 2px;
}

.lihat-semua {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.lihat-semua:hover {
    color: #f97316;
}

.lihat-semua span {
    font-size: 1rem;
    font-weight: 700;
}
.article-list {
    max-width: 860px;
    margin: 0 auto;
}

.article-card {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.article-card:last-child {
    border-bottom: none;
}

.article-thumb {
    width: 220px;
    height: 148px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
    display: block;
}

.article-body {
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.article-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f97316; /* oranye */
    text-transform: uppercase;
}

.article-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #1e293b;
}

.article-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #f97316;
}

.article-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .article-thumb {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .article-card .row {
        flex-direction: column;
    }
}

.news-wrapperku {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ── Section Header ── */
.section-headerku {
    margin-bottom: 14px;
}

.section-headerku h2 {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 5px;
}

.title-underlineku {
    display: block;
    width: 36px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.section-dividerku {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 0 16px;
}

/* ── Featured Card (big image top) ── */
.featured-cardku {
    margin-bottom: 18px;
}

.featured-thumb-wrapku {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.featured-thumb-wrapku img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.featured-thumb-wrapku:hover img {
    transform: scale(1.03);
}

.featured-badgeku {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
}

.featured-titleku {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 6px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.featured-titleku:hover {
    color: orange;
}

.featured-metaku {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.72rem;
}

.featured-authorku {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.featured-dateku {
    color: var(--text-muted);
}

.featured-excerptku {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Small List Cards ── */
.small-cardku {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.small-cardku:last-child {
    border-bottom: none;
}

.small-thumbku {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #cbd5e1;
}

.small-bodyku {
    flex: 1;
}

.small-titleku {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 4px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.small-titleku:hover {
    color: orange;
}

.small-dateku {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Column separator ── */
.col-sectionku {
    border-right: 1px solid var(--border);
    padding-right: 24px;
}

.col-sectionku:last-child {
    border-right: none;
    padding-right: 0;
}

@media (max-width: 768px) {
    .col-sectionku {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .col-sectionku:last-child {
        border-bottom: none;
    }
}

/*NAVBAR*/
/* ===== NAVBAR ===== */
.muhammadiyah-navbar {
    position: sticky;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #1b3f6e 0%, #1b5e8e 25%, #1a8a5a 65%, #1a9e4a 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: 62px;
    padding: 0 20px;
}

/* Brand */
.brand-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo { width: 100%; height: 38px; display: block; }

.brand-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1;
}

/* Divider desktop */
.nav-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.25);
    margin: 0 20px;
    flex-shrink: 0;
}

/* Nav links desktop */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    flex: 1;
    height: 62px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li a {
    display: flex;
    align-items: center;
    height: 100%;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0 12px;
    transition: background 0.2s;
    white-space: nowrap;
}

.nav-links li a:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Right actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-search {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.btn-search:hover { background: rgba(255,255,255,0.18); }

.btn-login {
    background: #fff;
    color: #1b3f6e;
    border: none;
    border-radius: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-login:hover { background: #e8f4ee; color: #1b3f6e; }

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    margin-left: auto;
    transition: background 0.2s;
}

.hamburger:hover { background: rgba(255,255,255,0.15); }

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(to bottom, #1b4a80, #1a7a50);
    border-top: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu.open {
    display: flex;
    max-height: 400px;
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.mobile-nav-links li a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.mobile-nav-links li:last-child a { border-bottom: none; }

.mobile-nav-links li a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.mobile-actions .btn-login {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 991px) {
    .nav-links,
    .nav-divider,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-search-mobile {
        display: none !important;
    }
    .brand-logo{
        width:70%;
    }
}

@media (min-width: 992px) {
    .mobile-menu { display: none !important; }
    .hamburger { display: none !important; }
}

/* ===== FOOTER ===== */
.muhammadiyah-footer {
    background: linear-gradient(to right, #1b3f6e 0%, #1b5e8e 30%, #1a8a5a 70%, #1a9e4a 100%);
    color: #fff;
    padding: 48px 0 0 0;
}

.footer-main {
    padding-bottom: 40px;
}

/* Brand kolom kiri */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 200px;
    height: 150px;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-brand-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin: 24px 0 20px 0;
    width: 100%;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.footer-socials a {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Menu kolom */
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #fff;
}

/* Bottom bar */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 14px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.footer-bottom span {
    font-weight: 700;
    color: #fff;
}

/*jam*/
.card {
    width: 100%;
    max-width: 380px;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 8px 32px rgba(0,0,0,0.06);
    position: relative;
}

/* ── HEADER ── */
.header {
    background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 100%);
    padding: 1.5rem 1.25rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.location-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.pin-icon {
    width: 14px; height: 14px;
    fill: none;
    stroke: rgba(255,255,255,0.7);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.location-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
}

.city-name {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 4px;
    position: relative;
}

.date-str {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}

.hijri-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.02em;
}

.moon-icon {
    width: 12px; height: 12px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
}

/* Fallback notice */
.fallback-notice {
    background: rgba(201,153,58,0.15);
    border-top: 1px solid rgba(201,153,58,0.25);
    padding: 7px 14px;
    font-size: 11.5px;
    color: #8a6820;
    display: flex;
    align-items: center;
    gap: 6px;
    display: none;
}
.fallback-notice.show { display: flex; }

/* ── PRAYER LIST ── */
.prayer-list {
    padding: 4px 0;
}

.prayer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    position: relative;
}
.prayer-row:last-child { border-bottom: none; }

.prayer-row.active {
    background: var(--green-light);
}
.prayer-row.active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--green-accent);
    border-radius: 0 2px 2px 0;
}

.prayer-name {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}
.prayer-row.active .prayer-name {
    color: var(--green-dark);
    font-weight: 500;
}

.prayer-time {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.02em;
}
.prayer-row.active .prayer-time {
    color: var(--green-dark);
}

.next-tag {
    font-size: 10px;
    background: var(--green-accent);
    color: #fff;
    border-radius: 4px;
    padding: 2px 7px;
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 0.03em;
    vertical-align: middle;
}

/* ── FOOTER ── */
.footer {
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}
.footer a { color: var(--green-mid); text-decoration: none; }

/* ── STATES ── */
.state-box {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}
.state-box svg {
    display: block;
    margin: 0 auto 12px;
    opacity: 0.45;
}

/* Spinner animation */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
    width: 28px; height: 28px;
    border: 2.5px solid var(--border);
    border-top-color: var(--green-mid);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

/* Staggered row animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.prayer-row {
    animation: fadeUp 0.3s ease both;
}
.prayer-row:nth-child(1) { animation-delay: 0.04s; }
.prayer-row:nth-child(2) { animation-delay: 0.08s; }
.prayer-row:nth-child(3) { animation-delay: 0.12s; }
.prayer-row:nth-child(4) { animation-delay: 0.16s; }
.prayer-row:nth-child(5) { animation-delay: 0.20s; }
.prayer-row:nth-child(6) { animation-delay: 0.24s; }


/*article*/

.font-display{
    font-family:'Lora', serif;
}

.font-mono{
    font-family:'JetBrains Mono', monospace;
    letter-spacing:.04em;
}

/* Progress bar signature element */
#read-progress{
    position:fixed;
    top:0; left:0;
    height:3px;
    width:0%;
    background:var(--ink);
    z-index:1050;
    transition:width .1s linear;
}

/* Top masthead */
.masthead{
    border-bottom:1px solid var(--ink);
    background:var(--paper);
}
.masthead .brand{
    font-family:'Lora', serif;
    font-weight:700;
    font-size:1.5rem;
    letter-spacing:.01em;
    color:var(--ink);
}
.masthead .brand span{color:var(--emas);}
.masthead .date-strip{
    font-family:'JetBrains Mono', monospace;
    font-size:.72rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink-soft);
}

/* Breadcrumb / kicker */
.kicker{
    font-family:'JetBrains Mono', monospace;
    font-size:.75rem;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--green-mid);
    font-weight:600;
}

h1.headline{
    font-family:'Lora', serif;
    font-weight:700;
    font-size:2.6rem;
    line-height:1.15;
    color:var(--ink);
    margin-top:.5rem;
}
@media (max-width:576px){
    h1.headline{font-size:1.9rem;}
}

.deck{
    font-family:'Lora', serif;
    font-style:italic;
    font-size:1.2rem;
    color:var(--ink-soft);
    line-height:1.55;
}

.byline-row{
    border-top:1px solid var(--rule);
    border-bottom:1px solid var(--rule);
    padding:.75rem 0;
    font-family:'JetBrains Mono', monospace;
    font-size:.78rem;
    letter-spacing:.03em;
    color:var(--ink-soft);
}
.byline-row strong{color:var(--ink);}

.hero-figure img{
    width:100%;
    height:auto;
    display:block;
}
.hero-figure figcaption{
    font-family:'JetBrains Mono', monospace;
    font-size:.72rem;
    color:var(--ink-soft);
    padding:.5rem 0;
    border-left:2px solid var(--green-mid);
    padding-left:.6rem;
}

/* Article body */
.article-bodyku p{
    margin-bottom:1.4rem;
    color:var(--ink);
}
.article-bodyku p:first-of-type::first-letter{
    font-family:'Lora', serif;
    font-weight:700;
    font-size:3.6rem;
    float:left;
    line-height:.85;
    padding-right:.5rem;
    padding-top:.3rem;
    color:var(--green-mid);
}
.article-bodyku h2{
    font-family:'Lora', serif;
    font-weight:700;
    font-size:1.5rem;
    margin-top:2.2rem;
    margin-bottom:1rem;
    color:var(--ink);
}
.article-bodyku blockquote{
    font-family:'Lora', serif;
    font-style:italic;
    font-size:1.3rem;
    line-height:1.5;
    color:var(--ink);
    border-left:3px solid var(--green-mid);
    padding:.3rem 0 .3rem 1.3rem;
    margin:2rem 0;
}

.tag-pill{
    font-family:'JetBrains Mono', monospace;
    font-size:.7rem;
    letter-spacing:.05em;
    text-transform:uppercase;
    border:1px solid var(--rule);
    color:var(--ink-soft);
    padding:.3rem .7rem;
    border-radius:2px;
    display:inline-block;
    margin:0 .4rem .4rem 0;
    background:var(--paper-raised);
}

/* Divider between article and sidebar sections handled via border */
.content-col{
    border-right:1px solid var(--line);
}
@media (max-width:991.98px){
    .content-col{border-right:none;}
}

/* Sidebar */
.sidebar-block{
    margin-bottom:2.25rem;
}
.sidebar-heading{
    font-family:'JetBrains Mono', monospace;
    font-size:.72rem;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--ink);
    font-weight:600;
    border-bottom:2px solid var(--ink);
    padding-bottom:.5rem;
    margin-bottom:1rem;
}

.reco-item{
    display:flex;
    gap:.85rem;
    padding-bottom:1.1rem;
    margin-bottom:1.1rem;
    border-bottom:1px solid var(--line);
    text-decoration:none;
    color:inherit;
}
.reco-item:last-child{
    border-bottom:none;
    margin-bottom:0;
}
.reco-item img{
    width:78px;
    height:78px;
    object-fit:cover;
    flex-shrink:0;
    border-radius:2px;
}
.reco-item .reco-kicker{
    font-family:'JetBrains Mono', monospace;
    font-size:.65rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--green-mid);
    display:block;
    margin-bottom:.2rem;
}
.reco-item .reco-title{
    font-family:'Lora', serif;
    font-weight:600;
    font-size:.95rem;
    line-height:1.3;
    color:var(--ink);
}
.reco-item:hover .reco-title{
    color:var(--green-mid);
}

/* Ad slots */
.ad-slot{
    background:var(--paper-raised);
    border:0px dashed var(--rule);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    color:var(--ink-soft);
    font-family:'JetBrains Mono', monospace;
    font-size:.72rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-align:center;
}
.ad-slot .ad-label{
    font-size:.62rem;
    color:var(--rule);
    margin-bottom:.4rem;
}
.ad-slot--square{ min-height:250px; }
.ad-slot--tall{ min-height:600px; }
.ad-slot--leader{ min-height:100px; }

.sticky-side{
    position:sticky;
    top:1.5rem;
}

footer.site-footer{
    border-top:1px solid var(--ink);
    background:var(--ink);
    color:var(--paper);
    font-family:'JetBrains Mono', monospace;
    font-size:.75rem;
    letter-spacing:.04em;
}

/*category*/

.page-header {
    background: linear-gradient(360deg, #eaf2fb 0%, #ffffff 100%);
    padding: 40px 0 30px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    font-weight: 800;
    color: #0d3b73;
    font-size: 2.2rem;
    margin: 0;
}

.card-tile {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.card-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.card-tile:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0) 70%);
}

.card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
}

.card-caption h5 {
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Kolom kiri mengikuti tinggi kolom kanan (row Bootstrap default: align-items stretch) */
.featured {
    display: flex;
}

.featured .card-tile {
    flex: 1 1 auto;
    height: 100%;
}

.featured .card-caption h5 {
    font-size: 1.5rem;
}

.small-card .card-tile {
    height: 190px;
}

.small-card .card-caption h5 {
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .featured {
        display: block;
    }
    .featured .card-tile {
        height: 260px;
    }
    .small-card .card-tile {
        height: 160px;
    }
}

/* ===================== Pemisah antar section ===================== */

.section-divider {
    height: 10px;
    background: #f4f6f8;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

/* ===================== SECTION 2: DAFTAR ARTIKEL + SIDEBAR ===================== */

.article-row {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.article-row:first-child {
    padding-top: 0;
}

.article-thumbku {
    flex: 0 0 200px;
    width: 200px;
    height: 145px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
}

.article-thumbku img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-bodymu h2 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #171717;
}

.article-bodymu h2 a {
    color: inherit;
    text-decoration: none;
}

.article-bodymu h2 a:hover {
    color: #0d6efd;
}

.article-bodymu p {
    font-size: 0.92rem;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.55;
}

.article-dateku {
    font-size: 0.78rem;
    color: #adb5bd;
    letter-spacing: .03em;
    font-weight: 600;
}

.sidebar-box {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
}

.sidebar-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .03em;
    margin-bottom: 10px;
}

.sidebar-title-underline {
    width: 55px;
    height: 3px;
    background: #1a7a4c;
    margin-bottom: 20px;
}

.popular-featured img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.popular-featured {
    position: relative;
    margin-bottom: 14px;
}

.popular-featured .badge-number {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.popular-featured-title {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.4;
    color: #171717;
    text-decoration: none;
    display: block;
}

.popular-featured-title:hover {
    color: #0d6efd;
}

.popular-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.popular-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #eee;
}

.popular-list li:first-child {
    border-top: none;
}

.popular-number {
    flex: 0 0 26px;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.popular-list a {
    color: #171717;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.45;
}

.popular-list a:hover {
    color: #0d6efd;
}

@media (max-width: 767px) {
    .article-thumbku {
        flex: 0 0 110px;
        width: 110px;
        height: 90px;
    }
    .article-bodymu h2 {
        font-size: 0.95rem;
    }
    .article-bodymu p {
        display: none;
    }
}
