/* =====================================================
           ROOT
           Umum untuk semua halaman
        ====================================================== */

:root {
    --k01-biru-muda: #b7dff8;
    --k01-biru: #84c1e7;
    --k01-biru-tua: #2f79a8;
    --k01-navy: #000066;

    --k01-putih: #ffffff;
    --k01-hitam: #111827;
    --k01-abu: #64748b;
    --k01-abu-muda: #f1f5f9;
    --k01-border: #e2e8f0;

    --k01-kuning: #ffff00;
    --k01-merah: #e00000;
    --k01-hijau: #8bcf00;

    --k01-radius: 12px;
    --k01-radius-kecil: 8px;

    --k01-bayangan: 0 4px 20px rgba(0, 0, 102, 0.08);

    --k01-bayangan-hover: 0 8px 28px rgba(0, 0, 102, 0.14);

    --k01-transisi: all 0.2s ease;

    --k01-lebar: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8fafc;
    color: var(--k01-hitam);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(0, 0, 102, 0.25);
    outline-offset: 3px;
}

.k01-container {
    width: min(calc(100% - 30px), var(--k01-lebar));

    margin-inline: auto;
}

.k01-section {
    margin-bottom: 30px;
}

.k01-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 18px;
}

.k01-section-title {
    position: relative;

    margin: 0;
    padding-left: 14px;

    color: var(--k01-navy);

    font-size: 1.25rem;
    font-weight: 800;
}

.k01-section-title::before {
    content: "";

    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;

    width: 4px;

    background: var(--k01-navy);

    border-radius: 10px;
}

.k01-link-more {
    color: var(--k01-navy);

    font-size: 0.85rem;
    font-weight: 700;

    white-space: nowrap;
}

.k01-link-more:hover {
    color: var(--k01-biru-tua);
}

/* =====================================================
           UMUM
           TOP HEADER
        ====================================================== */

.k01-top-header {
    background: var(--k01-navy);
    color: var(--k01-putih);

    font-size: 0.82rem;
}

.k01-top-header-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.k01-running-wrapper {
    min-width: 0;
    flex: 1;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.k01-running-label {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-right: 12px;

    color: var(--k01-kuning);
    font-weight: 700;
}

.k01-running-content {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.k01-running-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: k01-running 30s linear infinite;
}
.k01-running-track:hover {
    animation-play-state: paused;
}
.k01-running-track a {
    flex-shrink: 0;
    margin-right: 18px;
    color: #fff;
    transition: var(--k01-transisi);
}
.k01-running-track a:hover {
    color: var(--k01-kuning);
}
.k01-running-separator {
    flex-shrink: 0;
    margin-right: 18px;
    color: var(--k01-kuning);
    font-weight: 900;
}
@keyframes k01-running {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.k01-running-content a {
    margin-right: 35px;

    color: #fff;

    transition: var(--k01-transisi);
}

.k01-running-content a:hover {
    color: var(--k01-kuning);
}

.k01-top-menu {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-shrink: 0;
}

.k01-top-menu a {
    color: rgba(255, 255, 255, 0.9);
}

.k01-top-menu a:hover {
    color: var(--k01-kuning);
}

.k01-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.k01-social a {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    background: rgba(255, 255, 255, 0.12);

    transition: var(--k01-transisi);
}

.k01-social a:hover {
    background: var(--k01-biru);
    color: var(--k01-navy);
    transform: translateY(-2px);
}

/* =====================================================
           UMUM
           MAIN HEADER
        ====================================================== */

.k01-main-header {
    background: #fff;
    border-bottom: 1px solid var(--k01-border);
}

.k01-main-header-inner {
    min-height: 125px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.k01-brand {
    display: flex;
    align-items: center;

    min-width: 0;
}

.k01-logo {
    width: 82px;
    height: 82px;

    flex-shrink: 0;

    object-fit: contain;

    margin-right: 15px;
}

.k01-brand-title {
    margin: 0;

    color: var(--k01-navy);

    font-size: clamp(1.35rem, 3vw, 2rem);

    font-weight: 900;
    line-height: 1.1;
}

.k01-brand-tagline {
    margin: 7px 0 0;

    color: var(--k01-abu);

    font-size: 0.9rem;
}

.k01-header-banner {
    width: min(100%, 600px);
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: linear-gradient(135deg, var(--k01-biru-muda), var(--k01-biru));

    border-radius: var(--k01-radius);

    color: var(--k01-navy);
    font-weight: 800;
}

.k01-header-banner small {
    display: block;
    font-weight: 500;
    opacity: 0.8;
}

/* =====================================================
           UMUM
           PRIMARY MENU
        ====================================================== */

.k01-primary-menu {
    background: #1a74d2;
}

.k01-primary-menu .navbar {
    padding: 0;
}

.k01-primary-menu .navbar-nav {
    gap: 2px;
}

.k01-primary-menu .nav-link {
    position: relative;

    padding: 13px 16px !important;

    color: #fff !important;

    font-size: 0.9rem;
    font-weight: 700;

    border-radius: 0;

    transition: var(--k01-transisi);
}

.k01-primary-menu .nav-link:hover,
.k01-primary-menu .nav-link:focus,
.k01-primary-menu .nav-link.active {
    background: #299de5;
    color: #fff !important;
}

.k01-primary-menu .dropdown-menu {
    min-width: 220px;

    margin-top: 0;

    padding: 7px;

    border: 0;

    border-radius: 0 0 var(--k01-radius-kecil) var(--k01-radius-kecil);

    box-shadow: var(--k01-bayangan);
}

.k01-primary-menu .dropdown-item {
    padding: 9px 12px;

    border-radius: 6px;

    font-size: 0.88rem;
}

.k01-primary-menu .dropdown-item:hover {
    background: var(--k01-biru-muda);
    color: var(--k01-navy);
}

/* =====================================================
           MENU BERTINGKAT
           Struktur dapat dilanjutkan dengan nested UL
        ====================================================== */

.k01-submenu {
    position: relative;
}

.k01-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -7px;
}

.k01-submenu:hover > .dropdown-menu {
    display: block;
}

/* form pencarian */
.k01-search-form {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 280px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.k01-search-form.k01-search-show {
    display: block;
}

.k01-search-form form {
    display: flex;
    gap: 8px;
}

.k01-search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 8px 10px;
    outline: none;
}

.k01-search-form button {
    width: 42px;
    border: 0;
    border-radius: 7px;
    background: var(--k01-navy);
    color: #fff;
}

.k01-search-toggle {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 18px;
    padding: 8px 10px;
}

/* =====================================================
           UMUM
           FOOTER WIDGET
        ====================================================== */

.k01-footer-widget {
    padding: 45px 0 30px;

    background: #07183d;

    color: rgba(255, 255, 255, 0.8);
}

.k01-footer-title {
    margin: 0 0 18px;

    color: #fff;

    font-size: 1rem;
    font-weight: 800;
}

.k01-footer-description {
    font-size: 0.88rem;
    line-height: 1.8;
}

.k01-footer-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.k01-footer-list li {
    margin-bottom: 9px;
}

.k01-footer-list a {
    color: rgba(255, 255, 255, 0.75);

    font-size: 0.87rem;

    transition: var(--k01-transisi);
}

.k01-footer-list a:hover {
    color: var(--k01-kuning);
    padding-left: 3px;
}

.k01-footer-contact {
    display: flex;
    gap: 10px;

    margin-bottom: 12px;

    font-size: 0.87rem;
}

.k01-footer-contact i {
    flex-shrink: 0;

    color: var(--k01-biru);
}

/* =====================================================
           UMUM
           FOOTER COPYRIGHT
        ====================================================== */

.k01-footer-copyright {
    padding: 15px 0;

    background: #04102b;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.8rem;
}

.k01-footer-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.k01-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.k01-footer-menu a:hover {
    color: #fff;
}

/* =====================================================
            KHUSUS
            BACK TO TOP
            ====================================================== */

.k01-back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 44px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    border: 0;
    border-radius: 50%;

    background: #1a74d2;
    color: #fff;

    font-size: 1.1rem;

    box-shadow: 0 5px 18px rgba(0, 0, 102, 0.22);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}

.k01-back-to-top:hover {
    background: #299de5;
    color: #fff;

    transform: translateY(-3px);
}

.k01-back-to-top.k01-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.k01-back-to-top:focus-visible {
    outline: 3px solid rgba(47, 121, 168, 0.35);
    outline-offset: 3px;
}

/* =====================================================
           KHUSUS
           BERANDA
           LAYOUT 3 KOLOM
        ====================================================== */

.k01-beranda {
    margin-bottom: 50px;
    padding-top: 30px;
}

.k01-layout-beranda {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 25px; /* * Penting: * stretch membuat kolom sidebar memiliki * tinggi yang sama dengan konten tengah. * Dengan demikian sticky dapat bekerja * sepanjang tinggi konten utama. */
    align-items: stretch;
}
.k01-left-sidebar,
.k01-right-sidebar {
    width: 100%;
    min-width: 0;
}
.k01-sidebar-sticky {
    position: sticky;
    top: 20px;
    height: max-content; /* * Jangan gunakan max-height dan overflow * agar sticky tidak terpotong. */
    max-height: none;
    overflow: visible;
}

/* =====================================================
           KHUSUS
           SIDEBAR STICKY
        ====================================================== */

.k01-sidebar-sticky {
    position: sticky;
    top: 20px;

    height: max-content;
    max-height: none;

    overflow: visible;
}

.k01-sidebar-box {
    margin-bottom: 25px;

    padding: 18px;

    background: #fff;

    border: 1px solid var(--k01-border);

    border-radius: var(--k01-radius);

    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.k01-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 15px;
    padding-bottom: 11px;

    border-bottom: 2px solid var(--k01-biru-muda);

    color: var(--k01-navy);

    font-size: 1rem;
    font-weight: 800;
}

.k01-sidebar-heading::before {
    content: "";

    width: 5px;
    height: 18px;

    border-radius: 10px;

    background: var(--k01-navy);
}

/* =====================================================
           KHUSUS
           LEFT SIDEBAR POST
        ====================================================== */

.k01-post-mini {
    display: flex;
    gap: 10px;

    padding-bottom: 13px;
    margin-bottom: 13px;

    border-bottom: 1px solid var(--k01-border);
}

.k01-post-mini:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.k01-post-mini-thumb {
    width: 78px;
    height: 62px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 7px;
}

.k01-post-mini-title {
    margin: 0;

    color: var(--k01-hitam);

    font-size: 0.82rem;
    font-weight: 700;

    line-height: 1.4;
}

.k01-post-mini-title:hover {
    color: var(--k01-navy);
}

.k01-post-mini-date {
    display: block;

    margin-top: 5px;

    color: var(--k01-abu);

    font-size: 0.7rem;
}

/* =====================================================
           KHUSUS
           SLIDER
        ====================================================== */

.k01-slider {
    overflow: hidden;

    border-radius: var(--k01-radius);

    box-shadow: var(--k01-bayangan);
}

.k01-slider .carousel-item {
    position: relative;

    aspect-ratio: 16 / 8;
}

.k01-slider img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.k01-slider-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 40, 0.85),
        rgba(0, 0, 40, 0)
    );
}

.k01-slider-content {
    max-width: 700px;

    color: #fff;
}

.k01-slider-category {
    display: inline-block;

    margin-bottom: 8px;
    padding: 4px 9px;

    background: var(--k01-navy);

    border-radius: 5px;

    color: #fff;

    font-size: 0.7rem;
    font-weight: 700;
}

.k01-slider-title {
    margin: 0;

    font-size: clamp(1.1rem, 3vw, 1.8rem);

    font-weight: 800;

    line-height: 1.25;
}

/* =====================================================
           KHUSUS
           POST CARD
        ====================================================== */

.k01-post-card {
    height: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--k01-border);

    border-radius: var(--k01-radius);

    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);

    transition: var(--k01-transisi);
}

.k01-post-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--k01-bayangan-hover);
}

.k01-post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
}

.k01-post-card-body {
    padding: 15px;
}

.k01-post-card-category {
    color: var(--k01-biru-tua);

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
}

.k01-post-card-title {
    margin: 7px 0;

    color: var(--k01-navy);

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.4;
}

.k01-post-card-title:hover {
    color: var(--k01-biru-tua);
}

.k01-post-card-excerpt {
    margin: 0;

    color: var(--k01-abu);

    font-size: 0.82rem;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.k01-post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;

    color: var(--k01-abu);

    font-size: 0.7rem;
}

/* =====================================================
           KHUSUS
           POST LIST
        ====================================================== */

.k01-post-list {
    display: flex;
    gap: 16px;

    padding: 16px 0;

    border-bottom: 1px solid var(--k01-border);
}

.k01-post-list:first-child {
    padding-top: 0;
}

.k01-post-list:last-child {
    border-bottom: 0;
}

.k01-post-list-image {
    width: 150px;
    height: 95px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 8px;
}

.k01-post-list-category {
    color: var(--k01-biru-tua);

    font-size: 0.7rem;
    font-weight: 800;
}

.k01-post-list-title {
    margin: 5px 0;

    color: var(--k01-navy);

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.4;
}

.k01-post-list-title:hover {
    color: var(--k01-biru-tua);
}

.k01-post-list-excerpt {
    margin: 0;

    color: var(--k01-abu);

    font-size: 0.8rem;
}

/* =====================================================
           KHUSUS
           POST UNGGULAN
        ====================================================== */

.k01-featured-post {
    overflow: hidden;

    background: #1a74d2;

    border-radius: var(--k01-radius);

    color: #fff;
}

.k01-featured-post-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    object-fit: cover;
}

.k01-featured-post-body {
    padding: 16px;
}

.k01-featured-post-title {
    margin: 0;

    color: #fff;

    font-size: 1rem;
    font-weight: 800;

    line-height: 1.4;
}

.k01-featured-post-meta {
    margin-top: 10px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.7rem;
}

/* =====================================================
           KHUSUS
           RIGHT SIDEBAR POST
        ====================================================== */

.k01-right-post {
    display: flex;
    gap: 10px;

    margin-bottom: 13px;
}

.k01-right-post:last-child {
    margin-bottom: 0;
}

.k01-right-post-number {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--k01-biru-muda);

    border-radius: 50%;

    color: var(--k01-navy);

    font-size: 0.75rem;
    font-weight: 900;
}

.k01-right-post-title {
    margin: 0;

    font-size: 0.82rem;
    font-weight: 700;

    line-height: 1.4;
}

.k01-right-post-title:hover {
    color: var(--k01-biru-tua);
}

/* =====================================================
           KHUSUS
           KATEGORI TAG
        ====================================================== */

.k01-category-label {
    display: inline-block;

    padding: 4px 9px;

    background: var(--k01-biru-muda);

    border-radius: 5px;

    color: var(--k01-navy);

    font-size: 0.7rem;
    font-weight: 800;
}

/* =====================================================
           KHUSUS
           RESPONSIVE
        ====================================================== */

@media (max-width: 1199.98px) {
    .k01-layout-beranda {
        grid-template-columns:
            220px
            minmax(0, 1fr)
            220px;

        gap: 18px;
    }

    .k01-post-list-image {
        width: 125px;
        height: 85px;
    }
}

@media (max-width: 991.98px) {
    .k01-top-header-inner {
        min-height: 40px;
    }

    .k01-top-menu {
        display: none;
    }

    .k01-main-header-inner {
        min-height: 100px;
    }

    .k01-header-banner {
        display: none;
    }

    .k01-layout-beranda {
        grid-template-columns:
            220px
            minmax(0, 1fr);
    }

    .k01-layout-beranda > :nth-child(3) {
        grid-column: 1 / -1;
    }

    .k01-layout-beranda > :nth-child(3) .k01-sidebar-sticky {
        position: static;

        max-height: none;
        overflow: visible;
    }

    .k01-right-sidebar-grid {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .k01-container {
        width: min(calc(100% - 24px), var(--k01-lebar));
    }

    .k01-running-label {
        font-size: 0.72rem;
    }

    .k01-running-content {
        font-size: 0.72rem;
    }

    .k01-main-header-inner {
        min-height: 90px;
    }

    .k01-logo {
        width: 65px;
        height: 65px;
    }

    .k01-brand-tagline {
        font-size: 0.75rem;
    }

    /* =====================================================
       URUTAN MOBILE
       1. MAIN CONTENT
       2. RIGHT SIDEBAR
       3. LEFT SIDEBAR
    ====================================================== */

    .k01-layout-beranda {
        display: flex;
        flex-direction: column;
    }

    .k01-main-content {
        order: 1;
    }

    .k01-right-sidebar {
        order: 2;
    }

    .k01-left-sidebar {
        order: 3;
    }

    .k01-left-sidebar,
    .k01-right-sidebar {
        margin-top: 25px;
    }

    .k01-sidebar-sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .k01-right-sidebar-grid {
        display: block;
    }

    .k01-slider .carousel-item {
        aspect-ratio: 16 / 10;
    }

    .k01-slider-overlay {
        padding: 18px;
    }

    .k01-slider-title {
        font-size: 1rem;
    }

    .k01-post-list-image {
        width: 105px;
        height: 75px;
    }

    .k01-post-list-title {
        font-size: 0.9rem;
    }

    .k01-post-list-excerpt {
        display: none;
    }

    .k01-footer-copyright-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .k01-top-header-inner {
        min-height: 35px;
    }

    .k01-running-label span {
        display: none;
    }

    .k01-brand-title {
        font-size: 1.25rem;
    }

    .k01-brand-tagline {
        display: none;
    }

    .k01-logo {
        width: 58px;
        height: 58px;
    }

    .k01-slider .carousel-item {
        aspect-ratio: 4 / 3;
    }

    .k01-slider-content {
        max-width: 90%;
    }

    .k01-slider-category {
        font-size: 0.6rem;
    }

    .k01-slider-title {
        font-size: 0.9rem;
    }

    .k01-post-list {
        gap: 10px;
    }

    .k01-post-list-image {
        width: 90px;
        height: 70px;
    }

    .k01-post-list-title {
        margin-top: 3px;

        font-size: 0.82rem;
    }

    .k01-post-list-category {
        font-size: 0.6rem;
    }

    .k01-post-card-title {
        font-size: 0.9rem;
    }
}

/* =========================================================
   KHUSUS HALAMAN CATEGORY
   LAYOUT
========================================================= */

.kat-category-section {
    padding: 35px 0 50px;
}

.kat-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 25px;
    align-items: stretch;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.kat-main-content {
    min-width: 0;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.kat-breadcrumb-wrap {
    margin-bottom: 25px;
}

.kat-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--k01-abu);
}

.kat-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kat-breadcrumb li + li::before {
    content: "/";
    color: #94a3b8;
}

.kat-breadcrumb a {
    color: var(--k01-biru-tua);
}

.kat-breadcrumb a:hover {
    color: var(--k01-navy);
}

.kat-breadcrumb .active {
    color: var(--k01-abu);
}

/* =========================================================
   CATEGORY HEADER
========================================================= */

.kat-category-header {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--k01-biru-muda);
}

.kat-category-title {
    margin: 0;
    color: var(--k01-navy);
    font-size: 1.65rem;
    font-weight: 800;
}

.kat-category-description {
    margin: 8px 0 0;
    color: var(--k01-abu);
    font-size: 0.9rem;
}

/* =========================================================
   DAFTAR POST CATEGORY
========================================================= */

.kat-category-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kat-category-post {
    display: grid;
    grid-template-columns: 450px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--k01-border);
}

.kat-category-post-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--k01-radius);
}

.kat-category-post-content {
    min-width: 0;
}

.kat-category-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--k01-abu);
    font-size: 0.76rem;
}

.kat-category-post-meta i {
    margin-right: 3px;
}

.kat-category-post-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.35;
}

.kat-category-post-title a {
    color: var(--k01-navy);
}

.kat-category-post-title a:hover {
    color: var(--k01-biru-tua);
}

.kat-category-post-excerpt {
    margin: 0;
    color: var(--k01-abu);
    font-size: 0.88rem;
    line-height: 1.65;
}

.kat-category-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: var(--k01-biru-tua);
    font-size: 0.82rem;
    font-weight: 700;
}

.kat-category-post-readmore:hover {
    color: var(--k01-navy);
}

/* =========================================================
   PAGINATION
========================================================= */

.kat-category-pagination {
    margin-top: 30px;
}

.kat-category-pagination .page-link {
    color: var(--k01-biru-tua);
    border-color: var(--k01-border);
    font-size: 0.85rem;
}

.kat-category-pagination .page-link:hover {
    background: var(--k01-abu-muda);
}

.kat-category-pagination .active .page-link {
    background: var(--k01-biru-tua);
    border-color: var(--k01-biru-tua);
    color: #fff;
}

/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.kat-right-sidebar {
    min-width: 0;
    align-self: stretch;
}

/* =========================================================
   STICKY SIDEBAR
========================================================= */

.kat-sidebar-sticky {
    position: sticky;
    top: 20px;
    height: max-content;
}

/* =========================================================
   WIDGET SIDEBAR
========================================================= */

.kat-widget {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--k01-border);
    border-radius: var(--k01-radius);
    box-shadow: var(--k01-bayangan);
}

.kat-widget:last-child {
    margin-bottom: 0;
}

.kat-widget-title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: var(--k01-navy);
    font-size: 1rem;
    font-weight: 800;
    border-bottom: 2px solid var(--k01-biru-muda);
}

.kat-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 55px;
    height: 2px;
    background: var(--k01-biru-tua);
}

.kat-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kat-widget li {
    padding: 9px 0;
    border-bottom: 1px solid var(--k01-border);
}

.kat-widget li:last-child {
    border-bottom: 0;
}

.kat-widget li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--k01-hitam);
    font-size: 0.84rem;
}

.kat-widget li a:hover {
    color: var(--k01-biru-tua);
}

.kat-widget li i {
    margin-top: 3px;
    color: var(--k01-biru-tua);
}

/* =========================================================
   SIDEBAR POST LIST
========================================================= */

.kat-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =========================================================
   SIDEBAR POST
========================================================= */

.kat-sidebar-post {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--k01-border);
}

.kat-sidebar-post:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* =========================================================
   THUMBNAIL
========================================================= */

.kat-sidebar-post-image {
    display: block;
    width: 85px;
    height: 65px;
    overflow: hidden;
    border-radius: var(--k01-radius-kecil);
}

.kat-sidebar-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--k01-transisi);
}

.kat-sidebar-post-image:hover img {
    transform: scale(1.05);
}

/* =========================================================
   CONTENT
========================================================= */

.kat-sidebar-post-content {
    min-width: 0;
}

.kat-sidebar-post-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.kat-sidebar-post-title a {
    color: var(--k01-hitam);
    text-decoration: none;
}

.kat-sidebar-post-title a:hover {
    color: var(--k01-biru-tua);
}

/* =========================================================
   DATE
========================================================= */

.kat-sidebar-post-date {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    color: var(--k01-abu);
    font-size: 0.68rem;
    line-height: 1.3;
}

.kat-sidebar-post-date i {
    font-size: 0.68rem;
    color: var(--k01-biru-tua);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .kat-category-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .kat-category-post {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .kat-category-post-image {
        height: 135px;
    }
}

@media (max-width: 767.98px) {
    .kat-category-section {
        padding: 25px 0 40px;
    }

    /* -----------------------------------------
       MOBILE LAYOUT
       MAIN CONTENT
       ↓
       RIGHT SIDEBAR
    ----------------------------------------- */

    .kat-category-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .kat-main-content {
        width: 100%;
        order: 1;
    }

    .kat-right-sidebar {
        width: 100%;
        order: 2;
    }

    /* -----------------------------------------
       STICKY DIMATIKAN DI HP
    ----------------------------------------- */

    .kat-sidebar-sticky {
        position: static;
    }

    /* -----------------------------------------
       POST MOBILE
    ----------------------------------------- */

    .kat-category-post {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 15px;
    }

    .kat-category-post-image {
        height: 100px;
    }

    .kat-category-post-title {
        font-size: 1rem;
    }

    .kat-category-post-excerpt {
        display: none;
    }

    .kat-category-post-meta {
        font-size: 0.7rem;
        gap: 7px;
    }

    .kat-category-post-readmore {
        margin-top: 7px;
        font-size: 0.76rem;
    }

    .kat-category-title {
        font-size: 1.35rem;
    }

    .kat-category-description {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .kat-category-post {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
    }

    .kat-category-post-image {
        height: 85px;
    }

    .kat-category-post-title {
        font-size: 0.9rem;
    }

    .kat-category-post-meta {
        display: none;
    }

    .kat-category-post-readmore {
        display: none;
    }
}

/* =========================================================
   KHUSUS HALAMAN DETAIL POST
   LAYOUT
========================================================= */

.det-post-section {
    padding: 35px 0 50px;
}

.det-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 25px;
    align-items: stretch;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.det-post-main {
    min-width: 0;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.det-breadcrumb-wrap {
    margin-bottom: 25px;
}

.det-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--k01-abu);
    font-size: 0.82rem;
}

.det-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.det-breadcrumb li + li::before {
    content: "/";
    color: #94a3b8;
}

.det-breadcrumb a {
    color: var(--k01-biru-tua);
    text-decoration: none;
}

.det-breadcrumb a:hover {
    color: var(--k01-navy);
}

.det-breadcrumb .active {
    color: var(--k01-abu);
}

/* =========================================================
   POST HEADER
========================================================= */

.det-post-header {
    margin-bottom: 25px;
}

.det-post-title {
    margin: 0;
    color: var(--k01-navy);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.25;
}

/* =========================================================
   POST META
========================================================= */

.det-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: 15px;
    color: var(--k01-abu);
    font-size: 0.82rem;
}

.det-post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.det-post-meta-item i {
    color: var(--k01-biru-tua);
    font-size: 0.9rem;
}

.det-post-meta-item a {
    color: var(--k01-biru-tua);
    text-decoration: none;
}

.det-post-meta-item a:hover {
    color: var(--k01-navy);
}

.det-post-meta-separator {
    color: #cbd5e1;
}

/* =========================================================
   FEATURED IMAGE
========================================================= */

.det-post-featured {
    margin: 0 0 28px;
}

.det-post-featured img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--k01-radius);
}

/* =========================================================
   POST CONTENT
========================================================= */

.det-post-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.85;
}

.det-post-content p {
    margin: 0 0 20px;
}

.det-post-content h2,
.det-post-content h3,
.det-post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--k01-navy);
    font-weight: 800;
    line-height: 1.35;
}

.det-post-content h2 {
    font-size: 1.5rem;
}

.det-post-content h3 {
    font-size: 1.3rem;
}

.det-post-content h4 {
    font-size: 1.1rem;
}

.det-post-content a {
    color: var(--k01-biru-tua);
}

.det-post-content a:hover {
    color: var(--k01-navy);
}

.det-post-content ul,
.det-post-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.det-post-content li {
    margin-bottom: 8px;
}

.det-post-content blockquote {
    margin: 25px 0;
    padding: 18px 20px;
    background: var(--k01-abu-muda);
    border-left: 4px solid var(--k01-biru-tua);
    border-radius: 0 var(--k01-radius-kecil) var(--k01-radius-kecil) 0;
    color: #475569;
    font-style: italic;
}

.det-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--k01-radius-kecil);
}

/* =========================================================
   POST TAG / CATEGORY
========================================================= */

.det-post-taxonomy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--k01-border);
}

.det-post-taxonomy-label {
    color: var(--k01-navy);
    font-size: 0.82rem;
    font-weight: 800;
}

.det-post-taxonomy a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--k01-abu-muda);
    border-radius: 6px;
    color: var(--k01-biru-tua);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.det-post-taxonomy a:hover {
    background: var(--k01-biru-muda);
    color: var(--k01-navy);
}

/* =========================================================
   POST NAVIGATION
========================================================= */

.det-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--k01-border);
}

.det-post-nav-item {
    min-width: 0;
}

.det-post-nav-item.next {
    text-align: right;
}

.det-post-nav-label {
    display: block;
    margin-bottom: 6px;
    color: var(--k01-abu);
    font-size: 0.72rem;
}

.det-post-nav-title {
    color: var(--k01-navy);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.det-post-nav-title:hover {
    color: var(--k01-biru-tua);
}

/* =========================================================
   RIGHT SIDEBAR
   MENGGUNAKAN SIDEBAR KATEGORI
========================================================= */

.det-post-sidebar {
    min-width: 0;
    align-self: stretch;
}

/* =========================================================
   STICKY SIDEBAR
========================================================= */

.det-post-sidebar .kat-sidebar-sticky {
    position: sticky;
    top: 20px;
    height: max-content;
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 991.98px) {
    .det-post-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .det-post-title {
        font-size: 1.8rem;
    }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 767.98px) {
    .det-post-section {
        padding: 25px 0 40px;
    }

    .det-post-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .det-post-main {
        width: 100%;
        order: 1;
    }

    .det-post-sidebar {
        width: 100%;
        order: 2;
    }

    .det-post-sidebar .kat-sidebar-sticky {
        position: static;
    }

    .det-post-title {
        font-size: 1.5rem;
    }

    .det-post-meta {
        gap: 7px 12px;
        font-size: 0.74rem;
    }

    .det-post-featured {
        margin-bottom: 22px;
    }

    .det-post-content {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .det-post-navigation {
        grid-template-columns: 1fr;
    }

    .det-post-nav-item.next {
        text-align: left;
    }
}

/* =========================================================
   MOBILE KECIL
========================================================= */

@media (max-width: 480px) {
    .det-breadcrumb {
        font-size: 0.76rem;
    }

    .det-post-title {
        font-size: 1.3rem;
    }

    .det-post-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .det-post-featured img {
        aspect-ratio: 4 / 3;
    }
}
/* =========================================================
   SHARE ARTIKEL
   ========================================================= */

.det-post-share {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--k01-border);
    border-bottom: 1px solid var(--k01-border);
}

.det-post-share-title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--k01-hitam);
}

.det-post-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.det-post-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--k01-border);
    border-radius: var(--k01-radius-kecil);
    background: var(--k01-putih);
    color: var(--k01-hitam);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--k01-transisi);
}

.det-post-share-btn:hover {
    color: var(--k01-putih);
    background: var(--k01-biru-tua);
    border-color: var(--k01-biru-tua);
}

.det-post-share-btn i {
    font-size: 1rem;
}

/* =========================================================
   BERITA TERKAIT
   ========================================================= */

.det-related {
    margin-top: 35px;
}

.det-related-title {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--k01-hitam);
    border-bottom: 1px solid var(--k01-border);
}

.det-related-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 3px;
    background: var(--k01-biru-tua);
    border-radius: 10px;
}

.det-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.det-related-card {
    overflow: hidden;
    background: var(--k01-putih);
    border: 1px solid var(--k01-border);
    border-radius: var(--k01-radius);
    transition: var(--k01-transisi);
}

.det-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--k01-bayangan-hover);
}

.det-related-image {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.det-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--k01-transisi);
}

.det-related-card:hover .det-related-image img {
    transform: scale(1.05);
}

.det-related-content {
    padding: 15px;
}

.det-related-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
    color: var(--k01-abu);
    font-size: 0.68rem;
}

.det-related-meta i {
    color: var(--k01-biru-tua);
}

.det-related-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.det-related-card-title a {
    color: var(--k01-hitam);
    text-decoration: none;
}

.det-related-card-title a:hover {
    color: var(--k01-biru-tua);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {
    .det-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .det-related-content {
        padding: 12px;
    }

    .det-related-card-title {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .det-post-share-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .det-post-share-btn {
        width: 100%;
        padding: 8px 10px;
    }

    .det-related-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BERANDA — SIDEBAR KIRI & KANAN DISELARASKAN
   Keduanya sticky di desktop dan non-sticky pada tablet/mobile.
========================================================= */
.k01-left-sidebar .k01-sidebar-sticky,
.k01-right-sidebar .k01-sidebar-sticky {
    position: sticky;
    top: 20px;
    height: max-content;
    max-height: none;
    overflow: visible;
}

@media (max-width: 991.98px) {
    .k01-left-sidebar .k01-sidebar-sticky,
    .k01-right-sidebar .k01-sidebar-sticky {
        position: static;
        height: max-content;
        max-height: none;
        overflow: visible;
    }
}

/* =========================================================
   SIDEBAR CATEGORY & DETAIL
   Diselaraskan dengan sidebar Beranda
   Lebar mengikuti detail.html: 340px desktop / 280px tablet.
========================================================= */
.kat-right-sidebar,
.det-post-sidebar {
    min-width: 0;
    align-self: stretch;
}

.kat-right-sidebar .k01-sidebar-sticky,
.det-post-sidebar .k01-sidebar-sticky {
    position: sticky;
    top: 20px;
    height: max-content;
    max-height: none;
    overflow: visible;
}

.kat-right-sidebar .k01-sidebar-box,
.det-post-sidebar .k01-sidebar-box {
    margin-bottom: 25px;
}

@media (max-width: 991.98px) {
    .kat-right-sidebar .k01-sidebar-sticky,
    .det-post-sidebar .k01-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .kat-right-sidebar .k01-sidebar-sticky,
    .det-post-sidebar .k01-sidebar-sticky {
        position: static;
    }
}
