/* ============================================================
   BMKG Template CSS — GAIA
   Color palette mirrored from bmkg.go.id
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --bk-blue-primary: #0133cc;
    --bk-blue-tint: rgba(1, 51, 204, 0.09);
    --bk-blue-800: #1e3a8a;
    --bk-black-primary: #0f172a;
    --bk-black-light: #334155;
    --bk-gray-primary: #56657b;
    --bk-gray-light: #f8fafc;
    --bk-gray-subtle: #f1f5f9;
    --bk-gray-stroke: #cbd5e1;
    --bk-gray-400: #94a3b8;
    --bk-green-primary: #007b00;
    --bk-green-tint: rgba(0, 123, 0, 0.09);
    --bk-red-primary: #cf0c00;
    --bk-red-tint: rgba(207, 12, 0, 0.09);
    --bk-orange-primary: #ed7b03;
    --bk-orange-tint: rgba(237, 123, 3, 0.09);
    --bk-white: #ffffff;
    --bk-font: 'DM Sans', 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
    --bk-radius-sm: 8px;
    --bk-radius: 12px;
    --bk-radius-lg: 16px;
    --bk-radius-xl: 20px;
    --bk-shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.06);
    --bk-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --bk-shadow-lg: 0 8px 32px rgba(100, 116, 139, 0.10);
}

/* ---- Fancybox Popup (hidden by default, shown via Fancybox) ---- */
.bk-popup {
    display: none;
    padding: 0;
}

/* Remove white fancybox wrapper background for our signin popups */
.fancybox-slide--html .fancybox-content {
    background: transparent;
    padding: 0;
}

.bk-popup.bk-popup-signin {
    border-radius: var(--bk-radius-xl);
    overflow: hidden;
}

/* ---- Base Reset ---- */
.bk-body {
    background: var(--bk-gray-light);
    color: var(--bk-black-primary);
    font-family: var(--bk-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.bk-body a {
    text-decoration: none;
}

.bk-body a:hover {
    text-decoration: none;
}

/* Topbar & navbar container lebih lebar dari content area */
.bk-topbar>.container,
.bk-navbar-wrap>.container {
    max-width: 100%;
    padding-left: 70px;
    padding-right: 70px;
}

@media (max-width: 991.98px) {

    .bk-topbar>.container,
    .bk-navbar-wrap>.container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ---- Topbar ---- */
.bk-topbar {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    color: #56657b;
    font-size: 12px;
    padding: 7px 0;
}

.bk-topbar-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.bk-topbar-left {
    color: #56657b;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.bk-topbar-right {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.bk-tb-label {
    color: #56657b;
    font-weight: 500;
}

.bk-tb-clock {
    color: #16a34a;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.bk-tb-sep {
    color: #16a34a;
    font-weight: 600;
}

/* ---- Navbar ---- */
.bk-navbar {
    background: #fff;
    border-bottom: none;
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    transition: box-shadow .2s;
    z-index: 1000;
}

.bk-navbar.is-scrolled {
    box-shadow: 0 2px 16px rgba(1, 51, 204, .10);
}

.bk-navbar-inner {
    align-items: center;
    display: flex;
    gap: 20px;
    height: 76px;
    justify-content: space-between;
}

.bk-nav-logo {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    text-decoration: none;
}

.bk-nav-logo-group {
    align-items: center;
    display: flex;
    gap: 10px;
}

.bk-nav-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.bk-nav-logo-tagline {
    border-left: 2px solid #dce3ee;
    color: var(--bk-gray-primary);
    display: flex;
    flex-direction: column;
    font-size: 10.5px;
    gap: 2px;
    line-height: 1.4;
    padding-left: 14px;
    white-space: nowrap;
}

.bk-nav-logo-tagline span:first-child {
    color: var(--bk-blue-primary);
    font-size: 13px;
    font-weight: 700;
}

.bk-nav-logo-tagline-sep {
    display: none;
}

/* Nav links */
.bk-nav {
    align-items: stretch;
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-nav-item {
    position: relative;
}

.bk-nav-link {
    align-items: center;
    border-radius: 8px;
    color: #828D9D;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 5px;
    height: 44px;
    margin: auto 0;
    padding: 0 14px;
    text-decoration: none;
    transition: color .15s, background .15s;
    white-space: nowrap;
}

.bk-nav-link:hover {
    background: var(--bk-blue-tint);
    color: var(--bk-blue-primary);
}

.bk-nav-link.is-active {
    background: var(--bk-blue-tint);
    color: var(--bk-blue-primary);
    font-weight: 700;
}

/* Nav right actions */
.bk-nav-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

/* User avatar dropdown */
.bk-user-menu {
    position: relative;
}

.bk-user-trigger {
    align-items: center;
    background: var(--bk-gray-subtle);
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    text-decoration: none;
    transition: background .15s;
}

.bk-user-trigger:hover {
    background: var(--bk-blue-tint);
    border-color: var(--bk-blue-primary);
}

.bk-user-avatar {
    align-items: center;
    background: var(--bk-blue-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    overflow: hidden;
    width: 34px;
}

.bk-user-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bk-user-name {
    color: var(--bk-black-primary);
    font-size: 13px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-dropdown {
    background: var(--bk-white);
    border: 1px solid var(--bk-gray-stroke);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow-lg);
    display: none;
    min-width: 180px;
    padding: 6px;
    padding-top: 14px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 200;
}

.bk-user-menu:hover .bk-dropdown,
.bk-user-menu.is-open .bk-dropdown {
    display: block;
}

.bk-dropdown-item {
    align-items: center;
    border-radius: 8px;
    color: var(--bk-black-light);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    padding: 9px 12px;
    text-decoration: none;
    transition: background .13s;
}

.bk-dropdown-item:hover {
    background: var(--bk-blue-tint);
    color: var(--bk-blue-primary);
}

.bk-dropdown-item.is-danger:hover {
    background: var(--bk-red-tint);
    color: var(--bk-red-primary);
}

.bk-dropdown-divider {
    border: none;
    border-top: 1px solid var(--bk-gray-stroke);
    margin: 6px 0;
}

/* Mobile burger */
.bk-burger {
    background: none;
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 8px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
}

.bk-burger span {
    background: var(--bk-black-primary);
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: transform .2s;
    width: 22px;
}

/* mobile collapse hidden globally */
.bk-nav-collapse {
    display: none;
}

@media (max-width: 991.98px) {
    .bk-burger {
        display: flex;
    }

    .bk-nav-collapse {
        background: var(--bk-white);
        border-top: 1px solid var(--bk-gray-stroke);
        left: 0;
        padding: 12px 0;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 999;
    }

    .bk-nav-collapse.is-open {
        display: block;
    }

    .bk-nav {
        flex-direction: column;
        gap: 2px;
        padding: 0 16px;
    }

    .bk-nav-item {
        width: 100%;
    }

    .bk-nav-link {
        border-radius: var(--bk-radius-sm);
        height: auto;
        justify-content: flex-start;
        margin: 0;
        padding: 10px 12px;
        width: 100%;
    }

    .bk-nav-link:hover,
    .bk-nav-link.is-active {
        background: var(--bk-blue-tint);
    }

    /* Topbar clock: hide WITA & WIT on mobile to save space */
    #bk-clock-wita,
    #bk-clock-wit {
        display: none;
    }

    .bk-nav-actions {
        border-top: 1px solid var(--bk-gray-stroke);
        margin-top: 12px;
        padding: 12px 16px 0;
    }

    .bk-navbar-inner {
        gap: 10px;
        height: auto;
        min-height: 64px;
        padding: 8px 0;
    }

    .bk-nav-logo {
        flex: 1 1 auto;
        gap: 8px;
        min-width: 0;
    }

    .bk-nav-logo-img {
        height: 32px;
        max-width: 140px;
    }

    .bk-nav-logo-tagline {
        min-width: 0;
        overflow: hidden;
        padding-left: 10px;
        white-space: normal;
    }

    .bk-nav-logo-tagline span:not(:first-child) {
        display: none;
    }

    .bk-nav-logo-tagline span:first-child {
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .bk-topbar-inner {
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .bk-topbar-right {
        flex-wrap: wrap;
        font-size: 10.5px;
        gap: 6px;
    }

    .bk-nav-logo-img {
        height: 26px;
        max-width: 90px;
    }

    .bk-nav-logo {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .bk-nav-logo-tagline {
        border-left: none;
        display: flex;
        flex-basis: 100%;
        overflow: visible;
        padding-left: 0;
        white-space: normal;
    }

    .bk-nav-logo-tagline span:not(:first-child) {
        display: block;
        font-size: 10px;
        white-space: normal;
    }
}

/* ---- Buttons ---- */
.bk-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--bk-font);
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 10px 18px;
    position: relative;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
    white-space: nowrap;
}

.bk-btn:hover,
.bk-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.bk-btn:focus-visible {
    outline: 3px solid rgba(1, 51, 204, 0.20);
    outline-offset: 2px;
}

.bk-btn:active {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transform: translateY(0);
}

.bk-btn:disabled,
.bk-btn.disabled,
.bk-btn[disabled] {
    cursor: not-allowed;
    filter: grayscale(.15);
    opacity: .62;
    transform: none;
}

.bk-btn-primary {
    background: linear-gradient(135deg, #0b5ed7 0%, var(--bk-blue-primary) 58%, #0a369d 100%);
    border-color: rgba(1, 51, 204, 0.20);
    box-shadow: 0 10px 22px rgba(1, 51, 204, 0.20);
    color: #fff;
}

.bk-btn-primary:hover {
    background: linear-gradient(135deg, #126bf0 0%, #0133cc 55%, #082f8f 100%);
    box-shadow: 0 14px 28px rgba(1, 51, 204, 0.26);
    color: #fff;
}

.bk-btn-outline {
    background: #fff;
    border-color: rgba(1, 51, 204, 0.26);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    color: var(--bk-blue-primary);
}

.bk-btn-outline:hover {
    background: var(--bk-blue-tint);
    border-color: rgba(1, 51, 204, 0.38);
    box-shadow: 0 8px 18px rgba(1, 51, 204, 0.10);
    color: #0a369d;
}

.bk-btn-ghost {
    background: #fff;
    border-color: rgba(148, 163, 184, 0.34);
    color: var(--bk-black-primary);
}

.bk-btn-ghost:hover {
    background: var(--bk-gray-subtle);
    border-color: rgba(86, 101, 123, 0.28);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    color: var(--bk-black-primary);
}

.bk-btn-sm {
    border-radius: 9px;
    font-size: 13px;
    min-height: 36px;
    padding: 8px 13px;
}

.bk-btn-lg {
    border-radius: 12px;
    font-size: 15px;
    min-height: 50px;
    padding: 13px 26px;
}

.bk-btn-danger {
    background: linear-gradient(135deg, #e63b2f 0%, var(--bk-red-primary) 62%, #9f0900 100%);
    border-color: rgba(207, 12, 0, 0.18);
    box-shadow: 0 10px 22px rgba(207, 12, 0, 0.18);
    color: #fff;
}

.bk-btn-danger:hover {
    background: linear-gradient(135deg, #f04a3f 0%, #bf0b00 62%, #8b0800 100%);
    box-shadow: 0 14px 28px rgba(207, 12, 0, 0.24);
    color: #fff;
}

/* ---- Hero / Page Header ---- */
.bk-hero {
    background: linear-gradient(135deg, var(--bk-black-primary) 0%, #1e3a8a 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.bk-hero::before {
    background: radial-gradient(ellipse at 30% 50%, rgba(1, 51, 204, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 119, 255, 0.15) 0%, transparent 50%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.bk-hero-bg-img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: .10;
    position: absolute;
    width: 100%;
}

.bk-hero-content {
    position: relative;
    z-index: 1;
}

.bk-hero-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.bk-hero-sub {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    margin-bottom: 28px;
}

/* GAIA logo lockup (di dalam hero) */
/* Grid 2 kolom x 2 baris:
   kolom 1 = icon (merge 2 baris)
   kolom 2 baris 1 = "GAIA"
   kolom 2 baris 2 = tagline
*/
.bk-gaia-lockup {
    --gaia-size: clamp(32px, 7vw, 72px);

    display: inline-grid;
    grid-template-columns: auto max-content;
    grid-template-rows: auto auto;

    column-gap: calc(var(--gaia-size) * .18);
    row-gap: calc(var(--gaia-size) * .22);

    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;
    text-align: left;
}

.bk-gaia-icon {
    grid-column: 1;
    grid-row: 1 / span 2;

    /* Rasio icon terhadap tulisan GAIA */
    height: calc(var(--gaia-size) * 2.15);
    width: auto;

    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}

.bk-gaia-word {
    grid-column: 2;
    grid-row: 1;

    color: #fff;
    font-family: 'Quicksand', var(--bk-font);

    /* sedikit lebih besar */
    font-size: calc(var(--gaia-size) * 1.12);
    font-weight: 300;

    letter-spacing: .08em;
    line-height: 1;

    /* turunkan posisi GAIA */
    transform: translateY(9px);
}

.bk-gaia-tagline {
    grid-column: 2;
    grid-row: 2;

    color: #fff;
    display: block;

    font-family: 'Quicksand', var(--bk-font);

    /* Rasio GAIA : tagline sekitar 4.65 : 1 */
    font-size: calc(var(--gaia-size) / 4.65);
    font-weight: 400;

    letter-spacing: .01em;
    line-height: 1.4;

    opacity: .92;
    text-align: left;
    width: 100%;
}

/* Search bar in hero */
.bk-search-form {
    align-items: center;
    background: #fff;
    border-radius: var(--bk-radius-lg);
    box-shadow: 0 8px 32px rgba(1, 51, 204, 0.24);
    display: flex;
    overflow: hidden;
}

.bk-search-input {
    border: none;
    color: var(--bk-black-primary);
    flex: 1;
    font-family: var(--bk-font);
    font-size: 15px;
    outline: none;
    padding: 14px 20px;
}

.bk-search-input::placeholder {
    color: var(--bk-gray-400);
}

.bk-search-btn {
    background: var(--bk-blue-primary);
    border: none;
    border-radius: 0 var(--bk-radius-lg) var(--bk-radius-lg) 0;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    transition: background .15s;
    white-space: nowrap;
}

.bk-search-btn:hover {
    background: #0124a8;
}

/* ---- Page section header ---- */
.bk-page-header {
    background: var(--bk-white);
    border-bottom: 1px solid var(--bk-gray-stroke);
    padding: 28px 0;
}

.bk-page-title {
    color: var(--bk-black-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.bk-breadcrumb {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 6px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.bk-breadcrumb li {
    color: var(--bk-gray-primary);
}

.bk-breadcrumb a {
    color: var(--bk-blue-primary);
    text-decoration: none;
}

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

.bk-breadcrumb .sep {
    color: var(--bk-gray-400);
}

/* Breadcrumb di atas hero (background gelap) */
.bk-hero .bk-breadcrumb li,
.bk-profile-hero .bk-breadcrumb li {
    color: rgba(255, 255, 255, .65);
}

.bk-hero .bk-breadcrumb a,
.bk-profile-hero .bk-breadcrumb a {
    color: #fff;
}

.bk-hero .bk-breadcrumb .sep,
.bk-profile-hero .bk-breadcrumb .sep {
    color: rgba(255, 255, 255, .4);
}

/* ---- Cards ---- */
.bk-card {
    background: var(--bk-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--bk-radius-lg);
    box-shadow: var(--bk-shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.bk-card:hover {
    box-shadow: var(--bk-shadow-lg);
    transform: translateY(-2px);
}

.bk-card-body {
    padding: 24px;
}

.bk-card-header {
    border-bottom: 1px solid var(--bk-gray-stroke);
    padding: 18px 24px;
}

.bk-card-title {
    color: var(--bk-black-primary);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

/* Knowledge card */
.bk-knowledge-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bk-knowledge-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e8eeff, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.bk-knowledge-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bk-knowledge-thumb-overlay {
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity .2s;
}

.bk-knowledge-card:hover .bk-knowledge-thumb-overlay {
    opacity: 1;
}

.bk-knowledge-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.bk-knowledge-category {
    color: var(--bk-blue-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.bk-knowledge-title {
    color: var(--bk-black-primary);
    display: -webkit-box;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-knowledge-excerpt {
    color: var(--bk-gray-primary);
    display: -webkit-box;
    font-size: 13px;
    flex: 1;
    line-height: 1.65;
    margin-bottom: 16px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bk-knowledge-meta {
    align-items: center;
    border-top: 1px solid var(--bk-gray-stroke);
    color: var(--bk-gray-primary);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.bk-knowledge-meta i {
    color: var(--bk-gray-400);
    font-size: 11px;
}

/* ---- Home section header ---- */
.bk-home-section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bk-home-section-title {
    color: var(--bk-black-primary);
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.bk-home-section-title i {
    color: var(--bk-blue-primary);
    margin-right: 8px;
}

.bk-home-section-more {
    color: var(--bk-blue-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bk-home-section-more:hover {
    text-decoration: underline;
}

/* ---- Top Kontributor (header widget) ---- */
.bk-topkontributor {
    align-items: center;
    display: flex;
    gap: 12px;
}

.bk-topkontributor-label {
    color: var(--bk-gray-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bk-topkontributor-list {
    display: flex;
    gap: 8px;
}

.bk-topkontributor-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 999px;
    display: flex;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.bk-topkontributor-item:hover {
    border-color: var(--bk-blue-primary);
    box-shadow: 0 6px 16px rgba(1, 51, 204, .12);
    transform: translateY(-2px);
}

.bk-topkontributor-avatar {
    align-items: center;
    background: var(--bk-blue-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.bk-topkontributor-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.bk-topkontributor-name {
    color: var(--bk-black-primary);
    font-size: 12.5px;
    font-weight: 700;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-topkontributor-total {
    color: var(--bk-gray-primary);
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .bk-home-section-head {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }

    .bk-topkontributor {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .bk-topkontributor-label {
        display: none;
    }

    .bk-topkontributor {
        width: 100%;
    }

    .bk-topkontributor-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .bk-topkontributor-item {
        flex: 0 1 auto;
        padding: 5px 10px 5px 5px;
    }

    .bk-topkontributor-name {
        max-width: 130px;
    }
}

/* ---- Home card (Siaran Pers style) ---- */
.bk-hcard {
    background: #fff;
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}

.bk-hcard:hover {
    box-shadow: 0 8px 32px rgba(15, 23, 42, .10);
    transform: translateY(-3px);
}

.bk-hcard-thumb {
    aspect-ratio: 160/81;
    background: linear-gradient(135deg, #e8eeff, #dbeafe);
    overflow: hidden;
    width: 100%;
}

.bk-hcard-img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.42);
    transition: transform .35s ease;
    width: 100%;
}

.bk-hcard:hover .bk-hcard-img {
    transform: scale(1.46);
}

.bk-hcard-noimg {
    align-items: center;
    color: var(--bk-blue-primary);
    display: flex;
    font-size: 40px;
    height: 100%;
    justify-content: center;
    opacity: .25;
    width: 100%;
}

.bk-hcard-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 24px;
}

.bk-hcard-label {
    color: var(--bk-gray-primary);
    font-size: 12px;
    font-weight: 500;
}

.bk-hcard-title {
    color: var(--bk-black-primary);
    display: -webkit-box;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bk-hcard-stats {
    align-items: center;
    color: var(--bk-gray-primary);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 12px;
    margin-top: 2px;
}

.bk-hcard-stats i {
    color: var(--bk-gray-400);
    font-size: 11px;
    margin-right: 3px;
}

.bk-hcard-more {
    color: var(--bk-blue-primary);
    font-size: 13.5px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 12px;
}

.bk-hcard-more i {
    font-size: 11px;
    margin-left: 2px;
}

/* ---- Filter chips ---- */
.bk-filter-bar {
    align-items: center;
    background: var(--bk-white);
    border-bottom: 1px solid var(--bk-gray-stroke);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
}

.bk-filter-bar li {
    margin: 0;
    padding: 0;
}

.bk-chip {
    background: var(--bk-gray-subtle);
    border: 1.5px solid transparent;
    border-radius: 999px;
    color: var(--bk-black-light);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    text-decoration: none;
    transition: all .15s;
}

.bk-chip:hover {
    border-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

.bk-chip.is-active {
    background: var(--bk-blue-tint);
    border-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

/* ---- Section ---- */
/* ---- Knowledge Alert (like BMKG weather alert) ---- */
.bk-kalert-section {
    background: #fff;
    padding: 20px 0 8px;
}

.bk-kalert-wrap {
    align-items: center;
    display: flex;
    gap: 8px;
}

.bk-kalert-viewport {
    cursor: grab;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.bk-kalert-viewport.is-dragging {
    cursor: grabbing;
}

.bk-kalert-viewport a,
.bk-kalert-viewport img,
.bk-reels-slider-viewport img,
.bk-reels-slider-viewport video,
.bk-catrow-viewport a,
.bk-catrow-viewport img {
    -webkit-user-drag: none;
    user-drag: none;
}

.bk-kalert-track {
    display: flex;
    transition: transform .45s cubic-bezier(.25, .46, .45, .94);
    will-change: transform;
}

.bk-kalert-card {
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: 12px;
    display: flex;
    flex-shrink: 0;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
}

.bk-kalert-icon {
    align-items: center;
    border-radius: 8px;
    display: flex;
    flex-shrink: 0;
    font-size: 18px;
    height: 40px;
    justify-content: center;
    width: 40px;
    /* default = orange */
    background: #ffedd5;
    color: #ea580c;
}

.bk-kalert-icon--orange {
    background: #ffedd5;
    color: #ea580c;
}

.bk-kalert-icon--red {
    background: #fee2e2;
    color: #dc2626;
}

.bk-kalert-icon--blue {
    background: #dbeafe;
    color: #2563eb;
}

.bk-kalert-icon--purple {
    background: #ede9fe;
    color: #7c3aed;
}

.bk-kalert-icon--green {
    background: #dcfce7;
    color: #16a34a;
}

.bk-kalert-icon--teal {
    background: #ccfbf1;
    color: #0d9488;
}

.bk-kalert-body {
    flex: 1;
    min-width: 0;
}

.bk-kalert-date {
    color: var(--bk-gray-primary);
    font-size: 11px;
    margin-bottom: 2px;
}

.bk-kalert-title {
    color: var(--bk-black-primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bk-kalert-desc {
    color: var(--bk-black-light);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.bk-kalert-link {
    color: var(--bk-blue-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bk-kalert-link:hover {
    text-decoration: underline;
}

.bk-kalert-link i {
    font-size: 11px;
    margin-left: 3px;
}

.bk-kalert-arrow {
    align-items: center;
    background: none;
    border: none;
    color: #c2763a;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 300;
    height: 44px;
    justify-content: center;
    line-height: 1;
    opacity: .7;
    padding: 0 4px;
    transition: opacity .15s, color .15s;
    width: 28px;
}

.bk-kalert-arrow:hover {
    color: #ea580c;
    opacity: 1;
}

.bk-kalert-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.bk-kalert-dot {
    background: #fed7aa;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    height: 6px;
    transition: background .2s, width .2s;
    width: 16px;
}

.bk-kalert-dot.is-active {
    background: #f97316;
    width: 28px;
}

/* ---- end Knowledge Alert ---- */

.bk-section {
    padding: 72px 0;
}

.bk-section-title {
    color: var(--bk-black-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.bk-section-sub {
    color: var(--bk-gray-primary);
    font-size: 14px;
}

.bk-section-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

/* ---- Diskusi topik row ---- */
.bk-topik {
    background: var(--bk-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--bk-radius);
    padding: 20px 24px;
    transition: box-shadow .2s, border-color .2s;
}

.bk-topik:hover {
    border-color: var(--bk-blue-primary);
    box-shadow: var(--bk-shadow);
}

.bk-topik-title {
    color: var(--bk-black-primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    text-decoration: none;
}

.bk-topik-title:hover {
    color: var(--bk-blue-primary);
}

.bk-topik-excerpt {
    color: var(--bk-gray-primary);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-topik-meta {
    align-items: center;
    color: var(--bk-gray-primary);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 14px;
}

/* ---- Badge / Pill ---- */
.bk-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 3px 10px;
    text-transform: uppercase;
}

.bk-badge-blue {
    background: var(--bk-blue-tint);
    color: var(--bk-blue-primary);
}

.bk-badge-green {
    background: var(--bk-green-tint);
    color: var(--bk-green-primary);
}

.bk-badge-red {
    background: var(--bk-red-tint);
    color: var(--bk-red-primary);
}

.bk-badge-orange {
    background: var(--bk-orange-tint);
    color: var(--bk-orange-primary);
}

.bk-badge-gray {
    background: var(--bk-gray-subtle);
    color: var(--bk-gray-primary);
}

/* ---- Stats counter ---- */
.bk-stat {
    background: var(--bk-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--bk-radius);
    padding: 20px 24px;
    text-align: center;
}

.bk-stat-number {
    color: var(--bk-blue-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.bk-stat-label {
    color: var(--bk-gray-primary);
    font-size: 13px;
}

/* ---- Form controls ---- */
.bk-form-label {
    color: var(--bk-black-primary);
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bk-form-control {
    background: var(--bk-white);
    border: 1.5px solid var(--bk-gray-stroke);
    border-radius: var(--bk-radius-sm);
    color: var(--bk-black-primary);
    font-family: var(--bk-font);
    font-size: 14px;
    padding: 10px 14px;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}

.bk-form-control:focus {
    border-color: var(--bk-blue-primary);
    box-shadow: 0 0 0 3px rgba(1, 51, 204, 0.12);
    outline: none;
}

.bk-form-group {
    margin-bottom: 20px;
}

/* ---- User profile ---- */
.bk-profile-hero {
    background: linear-gradient(135deg, var(--bk-black-primary), #1e3a8a);
    color: #fff;
    padding: 40px 0;
}

.bk-avatar {
    align-items: center;
    background: var(--bk-blue-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-weight: 800;
    justify-content: center;
    overflow: hidden;
}

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

.bk-avatar-xl {
    font-size: 36px;
    height: 96px;
    width: 96px;
}

.bk-avatar-lg {
    font-size: 24px;
    height: 64px;
    width: 64px;
}

.bk-avatar-md {
    font-size: 16px;
    height: 44px;
    width: 44px;
}

/* ---- Pagination ---- */
.bk-pagination {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
}

.bk-page-link {
    align-items: center;
    border: 1.5px solid var(--bk-gray-stroke);
    border-radius: var(--bk-radius-sm);
    color: var(--bk-black-light);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
    text-decoration: none;
    transition: all .15s;
}

.bk-page-link:hover {
    background: var(--bk-blue-tint);
    border-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

.bk-page-link.is-active {
    background: var(--bk-blue-primary);
    border-color: var(--bk-blue-primary);
    color: #fff;
}

.bk-page-link.is-disabled {
    color: var(--bk-gray-400);
    pointer-events: none;
}

.bk-page-link-sm {
    font-size: 12px;
    height: 30px;
    min-width: 30px;
    padding: 0 8px;
}

.bk-pagination-compact {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 12px 0 0;
}

.bk-pagination-compact-info {
    color: var(--bk-gray-primary);
    font-size: 12px;
}

.bk-pagination-compact-nav {
    display: flex;
    gap: 6px;
}

/* ---- Footer ---- */
.bk-footer {
    background: var(--bk-black-primary);
    color: rgba(255, 255, 255, .72);
    margin-top: auto;
    padding: 56px 0 0;
}

.bk-footer-logo {
    display: block;
    height: 72px;
    width: auto;
    margin-bottom: 16px;
    max-width: 120px;
}

.bk-footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.bk-footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-footer-social a {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    color: rgba(255, 255, 255, .72);
    display: flex;
    font-size: 15px;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    transition: background .15s, color .15s;
    width: 36px;
}

.bk-footer-social a:hover {
    background: var(--bk-blue-primary);
    color: #fff;
}

.bk-footer-col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.bk-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-footer-links a {
    align-items: center;
    color: rgba(255, 255, 255, .6);
    display: inline-flex;
    font-size: 13.5px;
    gap: 6px;
    text-decoration: none;
    transition: color .15s;
}

.bk-footer-links a svg {
    opacity: .7;
    transition: opacity .15s;
}

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

.bk-footer-links a:hover svg {
    opacity: 1;
}

.bk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 48px;
    padding: 20px 0;
}

.bk-footer-bottom-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

.bk-footer-copy {
    color: rgba(255, 255, 255, .42);
    font-size: 12.5px;
}

/* ---- Login popup ---- */
.bk-popup-overlay {
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 2000;
}

.bk-popup-overlay.is-open {
    display: flex;
}

.bk-popup-box {
    background: var(--bk-white);
    border-radius: var(--bk-radius-xl);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.3);
    max-width: 420px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bk-popup-header {
    background: linear-gradient(135deg, var(--bk-black-primary), #1e3a8a);
    color: #fff;
    padding: 32px 32px 28px;
    text-align: center;
}

.bk-popup-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 12px 0 0;
}

.bk-popup-body {
    padding: 28px 32px 32px;
}

.bk-popup-close {
    background: rgba(255, 255, 255, .15);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    height: 32px;
    position: absolute;
    right: 14px;
    top: 14px;
    transition: background .15s;
    width: 32px;
}

.bk-popup-close:hover {
    background: rgba(255, 255, 255, .25);
}

/* ---- Alert / Toast ---- */
.bk-alert {
    border-radius: var(--bk-radius-sm);
    font-size: 14px;
    padding: 12px 16px;
}

.bk-alert-blue {
    background: var(--bk-blue-tint);
    border-left: 3px solid var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

.bk-alert-green {
    background: var(--bk-green-tint);
    border-left: 3px solid var(--bk-green-primary);
    color: var(--bk-green-primary);
}

.bk-alert-red {
    background: var(--bk-red-tint);
    border-left: 3px solid var(--bk-red-primary);
    color: var(--bk-red-primary);
}

.bk-alert-orange {
    background: var(--bk-orange-tint);
    border-left: 3px solid var(--bk-orange-primary);
    color: var(--bk-orange-primary);
}

/* ---- Divider ---- */
.bk-divider {
    border: none;
    border-top: 1px solid var(--bk-gray-stroke);
    margin: 0;
}

/* ---- Utilities ---- */
.bk-text-blue {
    color: var(--bk-blue-primary) !important;
}

.bk-text-muted {
    color: var(--bk-gray-primary) !important;
}

.bk-text-dark {
    color: var(--bk-black-primary) !important;
}

.bk-bg-white {
    background: var(--bk-white) !important;
}

.bk-bg-subtle {
    background: var(--bk-gray-subtle) !important;
}

.bk-bg-light {
    background: var(--bk-gray-light) !important;
}

/* ---- Responsive grid ---- */
.bk-grid {
    display: grid;
    gap: 24px;
}

.bk-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bk-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 991.98px) {
    .bk-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {

    .bk-grid-3,
    .bk-grid-2 {
        grid-template-columns: 1fr;
    }

    .bk-hero {
        padding: 40px 0;
    }

    .bk-section {
        padding: 40px 0;
    }
}

/* ---- Scrollbar (Webkit) ---- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bk-gray-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--bk-gray-400);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bk-blue-primary);
}

/* ---- Reels launcher (inherit from original, just recolor) ---- */
/* ---- Reels card slider ---- */
.bk-reels-cards-section {
    background: #fff;
    padding: 28px 0 20px;
}


.bk-reels-slider-wrap {
    align-items: center;
    display: flex;
    gap: 10px;
}

.bk-reels-slider-viewport {
    cursor: grab;
    flex: 1;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.bk-reels-slider-viewport.is-dragging {
    cursor: grabbing;
}

.bk-reels-slider-track {
    display: flex;
    gap: 16px;
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-reel-card {
    background: #eef2ff;
    border-radius: 16px;
    cursor: pointer;
    flex: 0 0 calc(20% - 13px);
    min-width: 160px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.bk-reel-card:hover {
    box-shadow: 0 8px 24px rgba(1, 51, 204, .14);
    transform: translateY(-3px);
}

.bk-reel-card-thumb {
    aspect-ratio: 9/14;
    background: #c7d2fe;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bk-reel-card-media {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bk-reel-card-no-thumb {
    align-items: center;
    color: #818cf8;
    display: flex;
    font-size: 32px;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.bk-reel-card-play {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    color: var(--bk-blue-primary);
    display: flex;
    font-size: 13px;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 10px;
    width: 36px;
}

.bk-reel-card:hover .bk-reel-card-play {
    background: var(--bk-blue-primary);
    color: #fff;
}

.bk-reel-card-info {
    padding: 10px 12px 12px;
}

.bk-reel-card-judul {
    color: var(--bk-black-primary);
    display: -webkit-box;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-reel-card-link {
    color: var(--bk-gray-primary);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-reel-card-link i {
    color: var(--bk-blue-primary);
    font-size: 10px;
}

.bk-reels-slider-arrow {
    align-items: center;
    background: #fff;
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 50%;
    color: var(--bk-gray-primary);
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 22px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s;
    width: 40px;
}

.bk-reels-slider-arrow:hover {
    background: var(--bk-blue-tint);
    border-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

@media (max-width: 767.98px) {
    .bk-reel-card {
        flex: 0 0 calc(50% - 8px);
    }
}

/* ---- Admin badge ---- */
.bk-admin-badge {
    background: var(--bk-orange-tint);
    border-radius: 4px;
    color: var(--bk-orange-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 7px;
    text-transform: uppercase;
}

/* ---- Sidebar ---- */
.bk-sidebar-card {
    background: var(--bk-white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--bk-radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
}

.bk-sidebar-card-header {
    border-bottom: 1px solid var(--bk-gray-stroke);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 14px 18px;
    text-transform: uppercase;
}

.bk-sidebar-card-body {
    padding: 16px 18px;
}

.bk-side-item {
    align-items: center;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 8px 6px;
    text-decoration: none;
    transition: background-color .15s;
}

.bk-side-item:hover {
    background-color: var(--bk-gray-light);
}

.bk-side-icon {
    align-items: center;
    background: var(--bk-blue-tint);
    border-radius: 8px;
    color: var(--bk-blue-primary);
    display: flex;
    flex-shrink: 0;
    font-size: 14px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.bk-side-body {
    min-width: 0;
}

.bk-side-title {
    color: var(--bk-black-primary);
    display: -webkit-box;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-side-sub {
    color: var(--bk-gray-primary);
    display: block;
    font-size: 11.5px;
    margin-top: 2px;
}

.bk-side-empty {
    color: var(--bk-gray-primary);
    font-size: 13px;
    margin: 0;
    padding: 6px;
}

.bk-side-tag {
    background: var(--bk-gray-subtle);
    border-radius: 999px;
    color: var(--bk-black-light);
    display: inline-flex;
    font-size: 12.5px;
    font-weight: 600;
    gap: 6px;
    margin: 0 6px 8px 0;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.bk-side-tag:hover {
    background: var(--bk-blue-tint);
    color: var(--bk-blue-primary);
}

.bk-side-tag-count {
    color: var(--bk-gray-primary);
    font-weight: 700;
}

/* ---- Loading spinner ---- */
.bk-spinner {
    animation: bk-spin .8s linear infinite;
    border: 2px solid var(--bk-gray-stroke);
    border-radius: 50%;
    border-top-color: var(--bk-blue-primary);
    display: inline-block;
    height: 20px;
    width: 20px;
}

@keyframes bk-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Empty state ---- */
.bk-empty {
    color: var(--bk-gray-primary);
    padding: 60px 24px;
    text-align: center;
}

.bk-empty-icon {
    color: var(--bk-gray-stroke);
    font-size: 48px;
    margin-bottom: 16px;
}

.bk-empty-title {
    color: var(--bk-black-light);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ---- University partner cards ---- */
.bk-university-grid,
.bk-university-slider,
.bk-partner-grid,
.bk-partner-slider,
.university-grid,
.university-slider,
.partner-grid,
.partner-slider {
    align-items: stretch;
}

.bk-university-card,
.bk-partner-card,
.university-card,
.partner-card,
.elementor-image-carousel .swiper-slide,
.elementor-image-carousel-wrapper .swiper-slide {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 188px;
    justify-content: flex-start;
}

.bk-university-logo,
.bk-partner-logo,
.university-logo,
.partner-logo,
.elementor-image-carousel .swiper-slide-image {
    aspect-ratio: 1 / 1;
    display: block;
    flex: 0 0 auto;
    height: 84px;
    max-height: 84px;
    max-width: 84px;
    object-fit: contain;
    width: 84px;
}

.bk-university-card img,
.bk-partner-card img,
.university-card img,
.partner-card img {
    height: 84px;
    max-height: 84px;
    max-width: 84px;
    object-fit: contain;
    width: 84px;
}

.bk-university-name,
.bk-partner-name,
.university-name,
.partner-name,
.elementor-image-carousel-caption {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.45;
    min-height: 76px;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* ---- Sticky scroll navbar JS helper ---- */
.bk-navbar-wrap {
    position: sticky;
}

/* ================================================================
   CATEGORY ROW SECTION — baris per kategori di halaman home
   ================================================================ */
.bk-catrow-section {
    background: #fff;
    padding: 40px 0 44px;
}

.bk-catrow-section--alt {
    background: #f8faff;
}

/* Wrapper: arrow + viewport */
.bk-catrow-wrap {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 20px;
    position: relative;
}

/* Arrow buttons */
.bk-catrow-arrow {
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--bk-gray-stroke);
    border-radius: 50%;
    color: var(--bk-gray-primary);
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 22px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    transition: background .15s, border-color .15s, color .15s, opacity .2s;
    width: 40px;
    z-index: 2;
}

.bk-catrow-arrow:hover {
    background: var(--bk-blue-tint);
    border-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

/* Scrollable viewport */
.bk-catrow-viewport {
    cursor: grab;
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-y;
    user-select: none;
}

.bk-catrow-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.bk-catrow-viewport::-webkit-scrollbar {
    display: none;
}

/* Inner track */
.bk-catrow-track {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

/* Individual content card */
.bk-catrow-card {
    background: #fff;
    border: 1px solid var(--bk-gray-stroke);
    border-radius: 12px;
    display: flex;
    flex: 0 0 200px;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}

.bk-catrow-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, .10);
    transform: translateY(-3px);
}

.bk-catrow-thumb {
    aspect-ratio: 160/81;
    background: linear-gradient(135deg, #e8eeff, #dbeafe);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bk-catrow-stats--overlay {
    align-items: center;
    background: linear-gradient(0deg, rgba(15, 23, 42, .75), rgba(15, 23, 42, 0));
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    left: 0;
    margin-top: 0;
    padding: 12px 8px 6px;
    position: absolute;
    width: 100%;
}

.bk-catrow-stats--overlay .bk-catrow-meta {
    color: #fff;
    padding-top: 0;
}

.bk-catrow-stats--overlay .bk-catrow-meta i {
    opacity: .9;
}

.bk-catrow-img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.42);
    transition: transform .35s ease;
    width: 100%;
}

.bk-catrow-card:hover .bk-catrow-img {
    transform: scale(1.46);
}

.bk-catrow-noimg {
    align-items: center;
    color: var(--bk-blue-primary);
    display: flex;
    font-size: 52px;
    height: 100%;
    justify-content: center;
    opacity: .22;
    width: 100%;
}

.bk-catrow-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 14px;
}

.bk-catrow-meta-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.bk-catrow-date {
    color: var(--bk-gray-primary);
    font-size: 12px;
}

.bk-catrow-date i {
    font-size: 13px;
    margin-right: 5px;
    opacity: .7;
}

.bk-catrow-title {
    color: var(--bk-black-primary);
    display: -webkit-box;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-catrow-contributor {
    color: var(--bk-gray-primary);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-catrow-contributor i {
    font-size: 12px;
    margin-right: 5px;
    opacity: .7;
}

.bk-catrow-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bk-catrow-badge {
    align-items: center;
    background: var(--bk-blue-tint);
    border: 1px solid rgba(0, 50, 200, .14);
    border-radius: 999px;
    color: var(--bk-blue-primary);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    line-height: 1.2;
    padding: 5px 10px;
}

.bk-catrow-badge--muted {
    background: #f8fafc;
    border-color: var(--bk-gray-stroke);
    color: var(--bk-gray-primary);
}

.bk-catrow-badge i {
    font-size: 11px;
}

.bk-catrow-stats {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.bk-catrow-meta {
    color: var(--bk-gray-primary);
    font-size: 12px;
    padding-top: 4px;
}

.bk-catrow-stats .bk-catrow-meta,
.bk-catrow-meta-row .bk-catrow-meta {
    padding-top: 0;
}

.bk-catrow-meta i {
    font-size: 12px;
    margin-right: 5px;
}

@media (max-width: 767px) {
    .bk-catrow-card {
        flex: 0 0 170px;
    }

    .bk-catrow-title {
        font-size: 13px;
    }

    .bk-catrow-arrow {
        height: 32px;
        width: 32px;
        font-size: 18px;
    }

    .bk-catrow-section {
        padding: 28px 0 32px;
    }
}

/* ==================== Grid Ikon Taksonomi ==================== */
.bk-taxo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 16px;
    justify-content: center;
}

.bk-taxo-item {
    align-items: center;
    color: var(--bk-black-primary);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    flex: 0 1 calc(25% - 16px);
    min-width: 160px;
}

.bk-taxo-icon {
    align-items: center;
    background: var(--bk-blue-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 28px;
    height: 84px;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
    width: 84px;
}

.bk-taxo-icon i {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
}

.bk-taxo-item:hover .bk-taxo-icon {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transform: translateY(-3px);
}

.bk-taxo-label {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .bk-taxo-grid {
        gap: 24px 12px;
    }

    .bk-taxo-item {
        flex-basis: calc(50% - 12px);
        min-width: 120px;
    }

    .bk-taxo-icon {
        height: 68px;
        width: 68px;
        font-size: 22px;
    }
}

/* ==================== Roda Ikon Taksonomi (cloud + panah) — khusus test_mockup_home (test 1), TIDAK dipakai home asli ==================== */
.bk-taxo1-wheel {
    aspect-ratio: 840 / 520;
    margin: 24px auto 48px;
    max-width: 840px;
    position: relative;
    width: 100%;
}

.bk-taxo1-center {
    align-items: center;
    display: flex;
    height: 230px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
}

.bk-taxo1-rings {
    inset: 0;
    position: absolute;
}

.bk-taxo1-bulb-core {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
    display: flex;
    height: 62%;
    justify-content: center;
    position: relative;
    width: 62%;
}

.bk-taxo1-bulb-svg {
    height: 62%;
    width: 62%;
}

.bk-taxo1-node {
    height: 0;
    position: absolute;
    width: 0;
}

.bk-taxo1-node-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 0;
    position: absolute;
    text-align: center;
    text-decoration: none;
    top: 0;
    transform: translate(-50%, -50%);
    width: 150px;
}

.bk-taxo1-icon {
    font-size: 60px;
    transition: transform .18s ease;
}

.bk-taxo1-node:hover .bk-taxo1-icon {
    transform: translateY(-4px) scale(1.08);
}

.bk-taxo1-label {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .bk-taxo1-center {
        height: 172px;
        width: 172px;
    }

    .bk-taxo1-node-inner {
        width: 118px;
    }

    .bk-taxo1-icon {
        font-size: 44px;
    }

    .bk-taxo1-label {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .bk-taxo1-center {
        height: 116px;
        width: 116px;
    }

    .bk-taxo1-node-inner {
        width: 84px;
    }

    .bk-taxo1-icon {
        font-size: 30px;
    }

    .bk-taxo1-label {
        font-size: 11px;
    }
}

/* ==================== Grid Ikon Taksonomi (versi kartu) ==================== */
.bk-taxo2-section {
    padding-top: 56px;
}

.bk-taxo2-container {
    max-width: 100%;
    padding-left: 70px;
    padding-right: 70px;
}

@media (max-width: 991.98px) {
    .bk-taxo2-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.bk-taxo2-totals {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-bottom: 8px;
}

.bk-taxo2-total-item {
    align-items: center;
    color: var(--bk-black-primary, #1e1b3a);
    display: flex;
    gap: 8px;
}

.bk-taxo2-total-item i {
    color: var(--bk-blue-primary);
    font-size: 18px;
}

.bk-taxo2-total-item-link {
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.bk-taxo2-total-item-link:hover {
    background: var(--bk-blue-tint);
    transform: translateY(-1px);
}

.bk-taxo2-total-item-link:hover .bk-taxo2-total-label {
    color: var(--bk-blue-primary);
}

.bk-taxo2-total-num {
    font-size: 20px;
    font-weight: 800;
}

.bk-taxo2-total-label {
    color: var(--bk-gray-primary);
    font-size: 13px;
    font-weight: 600;
}

.bk-taxo2-total-sep {
    background: var(--bk-gray-stroke);
    height: 24px;
    width: 1px;
}

@media (max-width: 575px) {
    .bk-taxo2-totals {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .bk-taxo2-total-sep {
        display: none;
    }
}

.bk-taxo2-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 14px 0 26px;
}

.bk-taxo2-card {
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    cursor: pointer;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    min-width: 0;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
}

.bk-taxo2-card:hover {
    background: var(--bk-blue-tint, rgba(1, 51, 204, .06));
    box-shadow: 0 24px 48px rgba(15, 23, 42, .22);
    transform: translateY(-12px) scale(1.04);
}

.bk-taxo2-icon {
    align-items: center;
    display: flex;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .12));
    font-size: 42px;
    height: 64px;
    justify-content: center;
    transition: transform .25s ease;
    width: 64px;
}

.bk-taxo2-card:hover .bk-taxo2-icon {
    transform: scale(1.16) rotate(-4deg);
}

.bk-taxo2-label {
    color: var(--bk-black-primary, #1e1b3a);
    font-size: 15.5px;
    font-weight: 700;
    transition: color .25s ease;
}

.bk-taxo2-card:hover .bk-taxo2-label {
    color: var(--bk-blue-primary);
}

.bk-taxo2-desc {
    color: var(--bk-gray-primary);
    font-size: 12.5px;
    line-height: 1.5;
    min-height: 3em;
}

.bk-taxo2-count {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 700;
    gap: 6px;
    margin-top: 4px;
    padding: 5px 12px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .bk-taxo2-track {
        flex-wrap: wrap;
    }

    .bk-taxo2-card {
        flex: 1 1 calc(33.333% - 14px);
        min-width: 160px;
    }
}

@media (max-width: 767px) {
    .bk-taxo2-section {
        padding-top: 40px;
    }

    .bk-taxo2-track {
        gap: 12px;
    }

    .bk-taxo2-card {
        flex-basis: calc(50% - 6px);
        padding: 18px 14px;
    }

    .bk-taxo2-icon {
        height: 44px;
        width: 44px;
        font-size: 28px;
    }

    .bk-taxo2-count {
        font-size: 11px;
        padding: 5px 10px;
    }

    .bk-taxo2-desc {
        font-size: 12px;
    }
}

/* ==================== Tab Populer ==================== */
.bk-tabpop-nav {
    border-bottom: 1px solid var(--bk-gray-stroke);
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.bk-tabpop-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--bk-gray-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 18px;
    white-space: nowrap;
}

.bk-tabpop-tab i {
    margin-right: 6px;
}

.bk-tabpop-tab.active {
    border-bottom-color: var(--bk-blue-primary);
    color: var(--bk-blue-primary);
}

@media (max-width: 767px) {
    .bk-tabpop-tab {
        font-size: 13px;
        padding: 10px 12px;
    }
}