/* ================= ROOT ================= */
:root {
    --blue: #1a3a6b;
    --blue-btn: #1976d2;
    --teal: #29bdd4;
    --teal-bg: #cff0f5;
    --teal-nav: #a8dde6;
    --red: #e53935;
    --white: #ffffff;
    --text: #111;
    --nav-text: #1a1a1a;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================= BODY ================= */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

/* ================= BATIK ================= */
.batik {
    position: fixed;
    top: 140px;
    width: 170px;
    height: 78vh;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
}

.batik-l {
    left: 0;
}

.batik-r {
    right: 0;
    transform: scaleX(-1);
}

@media (max-width: 1200px) {
    .batik {
        display: none;
    }
}

/* ================= HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ── NAV BAR ── */
.nav-bar {
    background: var(--white);
    border-bottom: 3px solid var(--teal-nav);
    position: relative;
}

.nav-bar-inner {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    min-height: 46px;
    flex-wrap: wrap;
}

.nav-bar .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: var(--nav-text) !important;
    padding: .72rem .9rem;
    position: relative;
    white-space: nowrap;
}

.nav-bar .nav-link+.nav-link::before {
    content: '|';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: .8rem;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: .9rem;
    right: .9rem;
    height: 3px;
    background: var(--red);
}

.nav-link:hover {
    color: var(--red) !important;
}

/* ── SEARCH ── */
.search-bar-row {
    background: linear-gradient(180deg, #b8e8f0, #cdf4f8);
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.search-wrap {
    position: relative;
    width: 520px;
    max-width: 90vw;
}

.search-wrap input {
    width: 100%;
    border: 1.5px solid #b0d8e0;
    border-radius: 50px;
    padding: .6rem 3rem .6rem 1.2rem;
    font-size: .85rem;
}

.search-wrap .s-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= LOGO ================= */
.logo-anchor {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.logo-block {
    display: block;
    text-decoration: none;
}

.logo-circle {
    margin: 3px;
    width: 120px;
    height: 120px;
    border-radius: 20%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    transition: transform .2s, box-shadow .2s;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .logo-circle {
        width: 72px;
        height: 72px;
    }
}

/* ================= SCROLLABLE NAV ================= */
.iv-nav-wrap {
    background-color: #3ab5c8;
    border-bottom: 3px solid #e0f4f8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.iv-nav-inner {
    display: flex;
    align-items: center;
    position: relative;
}

.iv-nav-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    flex: 1;
}

.iv-nav-scroll::-webkit-scrollbar {
    display: none;
}

.iv-nav-link {
    display: inline-block;
    padding: 14px 18px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .05em;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-color .2s, color .2s;
}

.iv-nav-link:hover {
    border-bottom: 3px solid rgba(255, 255, 255, .6);
    color: #fff;
}

.iv-nav-link.active {
    border-bottom: 3px solid #e8003d;
    color: #fff;
}

.iv-nav-arrow {
    background: rgba(0, 0, 0, .15);
    border: none;
    color: #fff;
    padding: 8px 10px;
    cursor: pointer;
    font-size: .85rem;
    transition: background .2s;
    flex-shrink: 0;
}

.iv-nav-arrow:hover {
    background: rgba(0, 0, 0, .3);
}

/* ================= PAGE BODY ================= */
.page-body {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    padding-bottom: 40px;
    background: #f0f9fb;
}

.container-main {
    max-width: 1400px;
    margin: auto;
    padding: 0 80px;
}

/* ── Hero full width mobile ≤ 900px ── */
@media (max-width: 900px) {
    .row-a {
        flex-direction: column;
        gap: 12px;
    }

    .col-hero,
    .col-berita {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero {
        height: 280px;
        width: 100%;
        border-radius: 12px;
    }

    /* Berita terkini di bawah hero, scroll horizontal */
    .berita-box {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {

    .col-hero,
    .col-berita {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0;
    }

    .hero {
        /* full bleed: keluar dari padding container */
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        height: 56vw;
        /* proporsional, ~220px di iPhone 14 */
        min-height: 180px;
        max-height: 300px;
    }

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-copy {
        padding: 14px 16px;
    }

    .hero-copy h2 {
        font-size: .95rem;
        line-height: 1.35;
    }

    .hero-copy p {
        display: none;
    }
}

@media (max-width: 420px) {
    .hero {
        width: calc(100% + 24px);
        margin-left: -12px;
        height: 58vw;
        min-height: 160px;
    }
}

@media (max-width: 640px) {
    .container-main {
        padding: 0 14px;
    }

    .row-b {
        grid-template-columns: 1fr !important;
    }

    .col-keg .col-6 {
        width: 50% !important;
        /* tetap 2 kolom kartu */
    }
}

/* ================= SECTION TITLE ================= */
.sec-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #0d3d4d;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 3px solid #2a9db5;
    position: relative;
}

.sec-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 28px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* ================= ROW A ================= */
.row-a {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.col-hero {
    flex: 0 0 71%;
    max-width: 71%;
}

.col-berita {
    flex: 0 0 29%;
    max-width: 29%;
}

/* HERO */
.hero-link {
    text-decoration: none;
    display: block;
}

.hero {
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: block;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: transform .4s;
}

.hero:hover img {
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
}

.hero-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 22px;
}

.hero-copy h2 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 6px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.hero-copy p {
    color: #ddeef2;
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

/* BERITA TERKINI */
.berita-box {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    height: 100%;
    box-shadow: 0 2px 14px rgba(42, 157, 181, .1);
}

.berita-hd {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #0d3d4d;
    border-bottom: 2px solid #e8f4f7;
    padding-bottom: 9px;
    margin-bottom: 12px;
}

.b-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.b-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
    transition: opacity .2s;
}

.b-thumb:hover {
    opacity: .85;
}

.b-item-title {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.45;
}

.b-item-title a {
    color: var(--blue);
    text-decoration: none;
    transition: color .2s;
}

.b-item-title a:hover {
    color: var(--red);
}

.b-hr {
    border: none;
    border-top: 1px solid #eef6f8;
    margin: 10px 0;
}

/* ================= ROW B ================= */
.row-b {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 20px;
    align-items: start;
}

/* ── Kartu k-card ── */
.k-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.k-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(42, 157, 181, .09);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.k-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(42, 157, 181, .2);
}

.k-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.k-body {
    padding: 10px 12px;
    flex: 1;
}

.k-body p {
    font-size: .78rem;
    font-weight: 700;
    color: #0d3d4d;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Sudut Bela Negara ── */
.s-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 14px 16px;
    min-height: 72px;
    gap: 10px;
}

.s-block.blue {
    background: linear-gradient(90deg, #2a9db5, #1a6e7e);
    color: #fff;
}

.s-block h6 {
    font-size: .82rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.s-block p {
    font-size: .72rem;
    margin: 0;
    opacity: .85;
}

.s-flag {
    width: 44px;
    height: 32px;
    background: linear-gradient(180deg, #ce1126 50%, #fff 50%);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.s-photo {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    /* background: rgba(255, 255, 255, .2) url("{{ asset('assets/themes/UntukNegeri/untuk-negeri.png') }}") center/cover no-repeat; */
    flex-shrink: 0;
}

.s-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.s-half {
    background: #e8f4f7;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #c8e8f0;
    transition: background .2s;
    cursor: pointer;
}

.s-half:hover {
    background: #d0edf5;
}

.s-half h6 {
    font-size: .8rem;
    font-weight: 800;
    color: #1a5060;
    margin: 0;
}

/* ================= FOOTER ================= */
.site-footer {
    background: var(--teal);
    padding: 12px;
    margin-top: 24px;
    text-align: center;
    color: white;
    font-size: .82rem;
}

/* ================================================================
   ARTICLE PAGE
================================================================ */
.un-breadcrumb {
    background: #f0f9fb;
    border-bottom: 1px solid #d0edf3;
    padding: 10px 0;
    font-size: .78rem;
    color: #555;
}

.un-breadcrumb a {
    color: #2a9db5;
    text-decoration: none;
    font-weight: 600;
}

.un-breadcrumb a:hover {
    text-decoration: underline;
}

.un-breadcrumb-sep {
    margin: 0 6px;
    color: #aac;
    font-size: .65rem;
}

.un-breadcrumb-current {
    color: #1a6e7e;
    font-weight: 700;
}

.un-article-wrap {
    padding: 32px 0 56px;
    background: #f4fbfd;
    min-height: 60vh;
}

.un-article-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 2px 16px rgba(42, 157, 181, .08);
    margin-bottom: 28px;
}

.un-cat-badge {
    display: inline-block;
    background: linear-gradient(90deg, #2a9db5, #1a6e7e);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 14px;
}

.un-article-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d3d4d;
    line-height: 1.4;
    margin-bottom: 14px;
}

.un-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .78rem;
    color: #7a9aaa;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8f4f7;
}

.un-article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.un-article-meta i {
    color: #2a9db5;
}

.un-hero-wrap {
    margin-bottom: 24px;
}

.un-hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.un-img-credit {
    font-size: .72rem;
    color: #9ab;
    margin-top: 6px;
    margin-bottom: 0;
}

.un-hero-placeholder {
    background: linear-gradient(135deg, #2a9db5, #1a6e7e);
    height: 240px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, .2);
    margin-bottom: 24px;
}

.un-ringkasan {
    background: linear-gradient(135deg, #e8f8fb, #d0edf5);
    border-left: 4px solid #2a9db5;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    font-size: .95rem;
    color: #1a5060;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 24px;
}

.un-article-body {
    font-family: 'Open Sans', sans-serif;
    font-size: .97rem;
    color: #2c3e45;
    line-height: 1.85;
}

.un-article-body p {
    margin-bottom: 1rem;
}

.un-article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 12px 0;
}

.un-article-body h2,
.un-article-body h3 {
    font-family: 'Merriweather', serif;
    color: #0d3d4d;
    margin-top: 1.6rem;
}

.un-tags-wrap {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8f4f7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.un-tags-label {
    font-size: .75rem;
    font-weight: 700;
    color: #7a9aaa;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.un-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.un-tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: #e8f4f7;
    color: #1a6e7e;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #c0dde6;
    transition: background .2s, color .2s;
}

.un-tag-pill:hover {
    background: #2a9db5;
    color: #fff;
    border-color: #2a9db5;
}

.un-entities-wrap {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.un-entity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f9fb;
    border: 1px solid #c8e8f0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .78rem;
}

.un-entity-label {
    font-weight: 700;
    color: #2a9db5;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.un-entity-val {
    color: #1a4050;
    font-weight: 600;
}

.un-share-wrap {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8f4f7;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.un-share-label {
    font-size: .78rem;
    font-weight: 700;
    color: #7a9aaa;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.un-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.un-share-btn:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.un-share-wa {
    background: #25d366;
    color: #fff;
}

.un-share-fb {
    background: #1877f2;
    color: #fff;
}

.un-share-tw {
    background: #000;
    color: #fff;
}

.un-related-section {
    margin-top: 8px;
}

.un-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #0d3d4d;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2a9db5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.un-section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #e8003d;
    border-radius: 2px;
}

.un-related-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(42, 157, 181, .08);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}

.un-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(42, 157, 181, .18);
}

.un-related-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.un-related-thumb-placeholder {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #2a9db5, #1a6e7e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, .2);
}

.un-related-body {
    padding: 12px 14px;
}

.un-related-cat {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #2a9db5;
    display: block;
    margin-bottom: 5px;
}

.un-related-title {
    font-size: .83rem;
    font-weight: 700;
    color: #0d3d4d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.un-related-time {
    font-size: .7rem;
    color: #9ab;
    margin-top: 8px;
}

.un-sidebar-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42, 157, 181, .08);
}

.un-sidebar-title {
    background: linear-gradient(90deg, #2a9db5, #1a6e7e);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 12px 18px;
}

.un-sidebar-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: .82rem;
    color: #1a4050;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f0f8fb;
    transition: background .15s, color .15s;
}

.un-sidebar-cat:hover,
.un-sidebar-cat.active {
    background: #e8f6fa;
    color: #2a9db5;
}

.un-sidebar-cat.active {
    font-weight: 800;
}

.un-sidebar-cat i {
    font-size: .6rem;
    color: #aac;
}

.un-sidebar-recent {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f8fb;
    text-decoration: none;
    transition: background .15s;
    align-items: flex-start;
}

.un-sidebar-recent:hover {
    background: #f0f9fb;
}

.un-sidebar-thumb {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.un-sidebar-thumb-placeholder {
    width: 68px;
    height: 52px;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2a9db5, #1a6e7e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .2);
}

.un-sidebar-rec-title {
    font-size: .78rem;
    font-weight: 700;
    color: #0d3d4d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.un-sidebar-rec-date {
    font-size: .68rem;
    color: #9ab;
    margin-top: 5px;
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
================================================================ */

/* ── Tablet Landscape ≤ 1100px ── */
@media (max-width: 1100px) {
    .container-main {
        padding: 0 32px;
    }

    /* Row A: hero sedikit lebih kecil */
    .col-hero {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .col-berita {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .hero {
        height: 340px;
    }

    /* Row B: artikel + kegiatan 2 kolom, sudut full-width di bawah */
    .row-b {
        grid-template-columns: 1fr 1fr;
    }

    .col-sud {
        grid-column: 1 / -1;
    }

    .s-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .s-block {
        flex: 1 1 200px;
    }

    .s-row {
        flex: 1 1 180px;
        align-self: stretch;
    }
}

/* ── Tablet Portrait ≤ 900px ── */

/* ── Mobile ≤ 640px ── */
@media (max-width: 640px) {
    .container-main {
        padding: 0 14px;
    }

    .page-body {
        padding-top: 14px;
    }

    /* Row A */
    .hero {
        height: 240px;
        border-radius: 10px;
    }

    .hero-copy h2 {
        font-size: .95rem;
    }

    .hero-copy p {
        display: none;
    }

    /* Row B: semua 1 kolom */
    .row-b {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .col-sud {
        grid-column: auto;
    }

    .s-stack {
        flex-direction: column;
    }

    .s-block,
    .s-row {
        flex: unset;
    }

    /* Kartu tetap 2 kolom di mobile */
    .k-card img {
        aspect-ratio: 4/3;
    }
}

/* ── Mobile Kecil ≤ 420px ── */
@media (max-width: 420px) {

    /* Kartu jadi horizontal (gambar kiri, teks kanan) */
    .k-card {
        flex-direction: row;
        height: auto;
        max-height: 88px;
    }

    .k-card img {
        width: 100px;
        height: 88px;
        aspect-ratio: unset;
        flex-shrink: 0;
        border-radius: 0;
    }

    .k-body p {
        font-size: .75rem;
        -webkit-line-clamp: 2;
    }

    /* Article page */
    .un-article-card {
        padding: 18px 14px;
    }

    .un-article-title {
        font-size: 1.2rem;
    }
}