:root {
    --warna-primary: #0369a1;
    --warna-sub-primary: #025886;

    /* Spacing Scale - Visual Rhythm */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Container Padding - Responsive */
    --container-pad: 120px;

    /* Section Spacing */
    --section-gap: var(--space-xl);
    --section-pad: 22px;
}

*,
:after,
:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #2a2a2a;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    font-size: 14px !important;
}

a {
    color: inherit;
    vertical-align: baseline;
    outline: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

a,
a:hover {
    text-decoration: none;
}

a:hover {
    color: var(--warna-sub-primary);
}

:where(a, button, [role="button"], input, select, textarea, .btn, .nav__link, .guestbook-link, .guestbook-tab-btn, .search-detail-btn):focus-visible {
    outline: 2px solid rgba(3, 105, 161, 0.65) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.25) !important;
}

:where(a, button, [role="button"], input, select, textarea, .btn, .nav__link, .guestbook-link, .guestbook-tab-btn, .search-detail-btn):focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.swal2-popup,
.swal2-styled {
    box-shadow: none !important;
}

.swal-logout-popup {
    padding: 18px 20px !important;
    text-align: center !important;
}

.swal-logout-popup .swal2-icon {
    margin: 6px auto 10px !important;
}

.swal-logout-popup .swal2-title {
    margin: 0 0 10px !important;
    font-size: 20px;
    line-height: 1.3;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
}

.swal-logout-popup .swal2-title,
.swal-logout-popup .swal2-html-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
}

.swal-logout-text {
    text-align: center !important;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
}

.swal-logout-popup .swal2-actions {
    margin: 10px auto 0 !important;
}

.swal-logout-confirm,
.swal-logout-cancel {
    box-shadow: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
}

.swal-logout-confirm {
    background-color: var(--warna-primary) !important;
    color: #fff !important;
}

.swal-logout-cancel {
    background-color: #6c757d !important;
    color: #fff !important;
}

.swal-login-popup {
    padding: 16px 18px !important;
    text-align: center !important;
}

.swal-login-popup .swal2-icon {
    margin: 4px auto 8px !important;
}

.swal-login-popup .swal2-title {
    margin: 0 !important;
    font-size: 18px;
    line-height: 1.3;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
}

.swal-login-popup .swal2-title,
.swal-login-popup .swal2-html-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
}

.swal-login-text {
    text-align: center !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.swal-copy-popup {
    padding: 18px 20px !important;
    text-align: center !important;
}

.swal-copy-popup .swal2-icon {
    margin: 6px auto 10px !important;
}

.swal-copy-popup .swal2-title,
.swal-copy-popup .swal2-html-container {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.swal-copy-title {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.swal-copy-html {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

.swal-copy-text {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center !important;
}

.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:focus {
    background-color: transparent;
    color: inherit;
}

.dropdown-menu .dropdown-item.text-primary {
    color: var(--warna-primary) !important;
}

.dropdown-menu .dropdown-item.text-primary:active,
.dropdown-menu .dropdown-item.text-primary.active,
.dropdown-menu .dropdown-item.text-primary:focus {
    background-color: transparent;
    color: var(--warna-primary) !important;
}

.header-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
}

.header-user-toggle-icon {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-user-toggle .md-mob-ft-size-text {
    line-height: 1;
}

.header-user-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    transform: translateY(1px);
}

.header-user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--warna-primary);
}

.header-user-menu .dropdown-item i {
    font-size: 16px;
    line-height: 1;
    width: 18px;
    text-align: center;
    color: var(--warna-primary);
}

.header-user-menu .dropdown-item:hover,
.header-user-menu .dropdown-item:focus,
.header-user-menu .dropdown-item:active,
.header-user-menu .dropdown-item.active {
    background-color: #f1f5f9;
    color: var(--warna-primary);
}

.header-user-menu .dropdown-item.text-danger:hover,
.header-user-menu .dropdown-item.text-danger:focus,
.header-user-menu .dropdown-item.text-danger:active,
.header-user-menu .dropdown-item.text-danger.active {
    color: #dc2626 !important;
}

.header-user-menu .dropdown-item.text-danger {
    color: #dc2626 !important;
}

.header-user-menu .dropdown-item.text-danger i {
    color: #dc2626;
}

.header-user-menu .dropdown-divider {
    margin: 6px 0;
}

ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

input:focus {
    border-color: var(--warna-primary) !important;
    outline: none !important;
    box-shadow: none !important;
}

.container {
    width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

.header {
    position: relative;
    background: var(--warna-primary);
    width: 100%;
    z-index: 99;
}

.nav {
    border-top: 1px solid var(--warna-sub-primary);
    background: var(--warna-primary);
    z-index: 999;
}

.nav,
.nav__wrap {
    position: relative;
}

.nav__wrap {
    text-align: center;
    z-index: 2;
}

.nav__row {
    position: relative;
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.nav__sub {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 40px;
    text-align: left;
    z-index: 1;
    width: 230px;
    background: var(--warna-sub-primary);
    padding: 10px 10px 20px;
    height: 0;
}

.nav__sub--news {
    width: 220px;
}

.nav__sub--news.cc2 {
    width: 220px !important;
}

.nav__item {
    display: inline-block;
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.nav__item:hover .nav__link {
    background: var(--warna-sub-primary);
    color: #f5f5f5;
}

.nav__item:hover .nav__sub {
    top: 46px;
    visibility: visible;
    opacity: 1;
    height: auto;
}

.nav__item:last-child .nav__sub,
.nav__item:nth-of-type(11) .nav__sub,
.nav__item:nth-of-type(12) .nav__sub,
.nav__item:nth-of-type(13) .nav__sub,
.nav__item:nth-of-type(14) .nav__sub,
.nav__item:nth-of-type(15) .nav__sub,
.nav__item:nth-of-type(16) .nav__sub,
.nav__item:nth-of-type(17) .nav__sub {
    left: auto;
    right: 0;
}

.nav__subwrap {
    position: relative;
    display: block;
}

.nav__subitem {
    column-count: 1;
    position: relative;
    width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.nav__subitem.cc2 {
    column-count: 1;
}

.nav__sublink {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 130%;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav__sublink--hot,
.nav__sublink:hover {
    background: #fff;
    color: var(--warna-sub-primary);
}

.nav__link {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    display: block;
    padding: 14px 0;
    position: relative;
}

.nav__link--has-sub::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
}

.nav__link:hover {
    background: var(--warna-sub-primary);
}

.icoBurger {
    width: 16px;
    height: 16px;
    vertical-align: baseline;
    margin-bottom: -1px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.25 8C14.25 8.19891 14.171 8.38968 14.0303 8.53033C13.8897 8.67098 13.6989 8.75 13.5 8.75H2.5C2.30109 8.75 2.11032 8.67098 1.96967 8.53033C1.82902 8.38968 1.75 8.19891 1.75 8C1.75 7.80109 1.82902 7.61032 1.96967 7.46967C2.11032 7.32902 2.30109 7.25 2.5 7.25H13.5C13.6989 7.25 13.8897 7.32902 14.0303 7.46967C14.171 7.61032 14.25 7.80109 14.25 8ZM2.5 4.75H13.5C13.6989 4.75 13.8897 4.67098 14.0303 4.53033C14.171 4.38968 14.25 4.19891 14.25 4C14.25 3.80109 14.171 3.61032 14.0303 3.46967C13.8897 3.32902 13.6989 3.25 13.5 3.25H2.5C2.30109 3.25 2.11032 3.32902 1.96967 3.46967C1.82902 3.61032 1.75 3.80109 1.75 4C1.75 4.19891 1.82902 4.38968 1.96967 4.53033C2.11032 4.67098 2.30109 4.75 2.5 4.75ZM13.5 11.25H2.5C2.30109 11.25 2.11032 11.329 1.96967 11.4697C1.82902 11.6103 1.75 11.8011 1.75 12C1.75 12.1989 1.82902 12.3897 1.96967 12.5303C2.11032 12.671 2.30109 12.75 2.5 12.75H13.5C13.6989 12.75 13.8897 12.671 14.0303 12.5303C14.171 12.3897 14.25 12.1989 14.25 12C14.25 11.8011 14.171 11.6103 14.0303 11.4697C13.8897 11.329 13.6989 11.25 13.5 11.25Z" fill="white"/></svg>');
}

.icoBurger {
    position: relative;
}

/* ---------------- Button */

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--warna-primary);
    --bs-btn-border-color: var(--warna-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--warna-sub-primary);
    --bs-btn-hover-border-color: var(--warna-sub-primary);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--warna-sub-primary);
    --bs-btn-active-border-color: var(--warna-sub-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--warna-primary);
    --bs-btn-disabled-border-color: var(--warna-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--warna-sub-primary);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--warna-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--warna-sub-primary);
    --bs-btn-hover-border-color: var(--warna-sub-primary);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--warna-sub-primary);
    --bs-btn-active-border-color: var(--warna-sub-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--warna-primary);
    --bs-btn-disabled-border-color: var(--warna-primary);
}

/* ---------------- End Button */

/* ---------------- Font Size */

.ft-1 {
    font-size: 1px !important;
}

.ft-2 {
    font-size: 2px !important;
}

.ft-3 {
    font-size: 3px !important;
}

.ft-4 {
    font-size: 4px !important;
}

.ft-5 {
    font-size: 5px !important;
}

.ft-6 {
    font-size: 6px !important;
}

.ft-7 {
    font-size: 7px !important;
}

.ft-8 {
    font-size: 8px !important;
}

.ft-9 {
    font-size: 9px !important;
}

.ft-10 {
    font-size: 10px !important;
}

.ft-11 {
    font-size: 11px !important;
}

.ft-12 {
    font-size: 12px !important;
}

.ft-13 {
    font-size: 13px !important;
}

.ft-14 {
    font-size: 14px !important;
}

.ft-15 {
    font-size: 15px !important;
}

.ft-16 {
    font-size: 16px !important;
}

.ft-17 {
    font-size: 17px !important;
}

.ft-18 {
    font-size: 18px !important;
}

.ft-19 {
    font-size: 19px !important;
}

.ft-20 {
    font-size: 20px !important;
}

.ft-21 {
    font-size: 21px !important;
}

.ft-22 {
    font-size: 22px !important;
}

.ft-23 {
    font-size: 23px !important;
}

.ft-24 {
    font-size: 24px !important;
}

.ft-25 {
    font-size: 25px !important;
}

.ft-26 {
    font-size: 26px !important;
}

.ft-27 {
    font-size: 27px !important;
}

.ft-28 {
    font-size: 28px !important;
}

/* ---------------- End Font Size */

.bg-silver,
.bg-silver>th,
.bg-silver>tr>th {
    background-color: #e2e2e2 !important;
}

.bg-putih,
.bg-white {
    background: #ffffff !important;
}

.c-444 {
    color: #444 !important;
}

.border-1 {
    border: 1px solid #eee;
}

.login-card {
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
}

.login-card--stroke {
    box-shadow: none;
    border: 1px solid #e5e5e5;
}

.login-shell {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.login-shell--locked {
    padding: 2rem 1.5rem;
}

.login-shell-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-right: 0;
    padding: 1.5rem;
}

.login-shell-left--locked {
    flex-direction: column;
    text-align: center;
    gap: 16px;
}

.login-shell-img {
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-shell-right {
    padding: 2rem;
    background: #ffffff;
}

.login-lock-message {
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
}

.login-btn-icon {
    font-size: calc(1em - 2px);
}

.login-or {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #666;
}

.login-or::before,
.login-or::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #e5e5e5;
}

.login-or span {
    padding: 0 6px;
}

.password-rules {
    color: #6c757d;
}

.password-rule {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.password-rule::before {
    content: "- ";
}

.password-rule.is-valid {
    color: #198754;
}

.password-rule.is-invalid {
    color: #dc3545;
}

.login-alert {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 4px 8px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.2;
}

.login-password {
    position: relative;
    display: block;
}

.login-password .login-password-input {
    padding-right: 42px;
}

.login-password .login-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: #222;
}

.login-password .login-password-toggle:focus {
    box-shadow: none;
    outline: none;
}

.card-top {
    width: 100%;
    position: relative;
    background-color: white;
    color: #111;
    padding-right: var(--container-pad);
    padding-left: var(--container-pad);
}

.card-top.dflex-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-top .right-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-top .logo {
    height: 65px;
    max-width: 243px;
}

.wrap {
    margin: 0;
    padding: 0;
}

.bar-info-top {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #d1d5db;
}

.bar-info-top .card-top {
    min-height: 38px;
    background-color: #ffffff !important;
}

.main-header-sticky {
    position: relative;
    z-index: 999;
    background-color: #ffffff;
}

.main-header-sticky.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
}

.main-header-spacer {
    display: none;
}

.bar-info-top-content {
    padding-bottom: .35rem !important;
    padding-top: .35rem !important;
    color: #222;
}

.bar-info-top .bar-info-top-content {
    display: flex;
    align-items: center;
}

.bar-info-top .right-section {
    gap: 4px;
}

.bar-info-top .guestbook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: auto;
    min-height: 28px;
    padding: 0 6px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.bar-info-top .guestbook-link i {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-2px);
}

.bar-info-top .guestbook-link:hover,
.bar-info-top .guestbook-link:focus {
    color: inherit;
}

.bar-info-top .header-divider {
    width: 1px;
    height: 16px;
    background-color: #d1d5db;
    display: inline-block;
    margin: 0 2px;
}

.modal-backdrop {
    background-color: #0f172a !important;
}

.modal-backdrop.show {
    opacity: 0.7 !important;
}

@media (max-width: 576px) {
    .bar-info-top .card-top {
        flex-wrap: nowrap;
        gap: 6px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .bar-info-top .bar-info-top-content {
        font-size: 12px;
        padding-top: .2rem !important;
        padding-bottom: .2rem !important;
    }

    .bar-info-top .bar-info-top-content.c-444 {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bar-info-top .right-section {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 6px;
    }

    .bar-info-top .header-divider {
        margin: 0 3px;
    }

    .bar-info-top .guestbook-link {
        font-size: 11px;
        gap: 3px;
        min-width: auto;
        min-height: 24px;
        padding: 0 6px;
    }

    .bar-info-top .guestbook-link i {
        font-size: 14px;
        transform: translateY(-1px);
    }

    .bar-info-top .login-link,
    .bar-info-top .login-divider {
        display: none;
    }
}

.search-box {
    width: 260px;
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
}

.search-actions form {
    margin: 0;
    height: 38px;
    display: flex;
    align-items: center;
}

.search-box .input-group {
    height: 38px;
}

.search-box .form-control,
.search-box .btn {
    height: 38px;
}

.search-box .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-detail-btn {
    height: 38px;
    padding: 0 14px 0 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    font-weight: 400;
    border-width: 1px;
    letter-spacing: 0;
    background-color: #ffffff;
    box-shadow: none;
    color: var(--warna-primary);
    line-height: 1;
}

.search-detail-btn--modal {
    display: none;
    margin-top: 8px;
}

.search-detail-btn .search-detail-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 105, 161, 0.12);
    color: var(--warna-primary);
    font-size: 14px;
    line-height: 1;
}

.search-detail-btn .search-detail-text {
    line-height: 1;
}

.search-detail-btn.btn-outline-primary:hover,
.search-detail-btn.btn-outline-primary:focus {
    background-color: #ffffff !important;
    border-color: var(--warna-primary) !important;
    color: var(--warna-primary) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.search-detail-btn.btn-outline-primary:hover .search-detail-icon,
.search-detail-btn.btn-outline-primary:focus .search-detail-icon {
    background: rgba(3, 105, 161, 0.12) !important;
    color: var(--warna-primary) !important;
}

.search-detail-btn,
.search-detail-btn:visited,
.search-detail-btn:hover,
.search-detail-btn:focus,
.search-detail-btn:active {
    color: var(--warna-primary) !important;
}

.search-box input {
    height: 38px;
    font-size: 14px;
    border-color: var(--warna-primary);
}

#pencarianDetailModal .modal-dialog {
    max-width: 720px;
}

#pencarianDetailModal .modal-header {
    padding: 14px 18px;
}

#pencarianDetailModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

#pencarianDetailModal .modal-body {
    padding: 16px 18px 20px;
}

#pencarianDetailModal .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

#pencarianDetailModal .form-control,
#pencarianDetailModal .form-select {
    height: 40px;
    font-size: 14px;
    border-radius: 8px;
    color: #0f172a;
}

#pencarianDetailModal .form-control::placeholder {
    color: #0f172a;
    opacity: 1;
}

#pencarianDetailModal option {
    font-size: 14px;
}

#pencarianDetailModal .form-control:focus,
#pencarianDetailModal .form-select:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #d1d5db !important;
}

#pencarianDetailModal .btn-primary {
    height: 40px;
    font-size: 15px;
    border-radius: 8px;
}

.mobile-search-btn {
    display: none;
}

.visi-991,
.visi-768,
.visi-576 {
    display: none;
}

.md-mob-ft-size-icon {
    display: none;
}

.modal-menu-r-navutama .modal-dialog-r-navutama {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    margin: 0;
    width: 330px;
}

.modal-menu-r-navutama .modal-content-r-navutama {
    height: 100%;
    border-radius: 0;
}

.menu-list-r-navutama {
    list-style: none;
    padding: 0;
    margin: 0;
    height: calc(100vh - 130px);
    overflow: auto;
}

.menu-item-r-navutama {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item-r-navutama:hover {
    background-color: #f8f9fa;
}

.voice-reader-item {
    cursor: default;
}

.menu-toggle-item {
    cursor: default;
}

.menu-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 38px;
    height: 20px;
    flex: 0 0 auto;
}

.menu-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.menu-switch-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d0d0d0;
    border-radius: 999px;
    transition: 0.2s;
}

.menu-switch-label:before {
    position: absolute;
    content: '';
    height: 14px;
    width: 14px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    transition: 0.2s;
    border-radius: 50%;
}

.menu-switch-input:checked + .menu-switch-label {
    background: var(--warna-primary);
}

.menu-switch-input:checked + .menu-switch-label:before {
    transform: translateX(18px);
}

.menu-switch-input:focus + .menu-switch-label {
    box-shadow: none;
}

.menu-switch-input:disabled + .menu-switch-label {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-switch-input:focus-visible + .menu-switch-label {
    box-shadow: none;
}

.menu-switch-label:active,
.menu-switch-label:focus {
    box-shadow: none;
    outline: none;
}

.menu-text-r-navutama {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.submenu-r-navutama {
    display: none;
    padding-left: 20px;
}

.submenu-r-navutama.show {
    display: block;
}

.sienna-accessibility__toggle,
.sienna-accessibility-toggle,
.accessibility-toggle,
[data-sienna-accessibility],
.asw-menu-btn {
    display: none !important;
}

.asw-container .asw-menu-header {
    background-color: var(--warna-primary) !important;
}

.asw-container .asw-menu-header svg {
    fill: var(--warna-primary) !important;
}

.asw-container .asw-menu-reset-footer-btn {
    background: var(--warna-primary) !important;
}

.asw-container .asw-plus:hover,
.asw-container .asw-minus:hover {
    border-color: var(--warna-primary) !important;
}

.asw-container .asw-btn:hover,
.asw-container .asw-btn.asw-selected {
    border-color: var(--warna-primary) !important;
}

.asw-container .asw-btn.asw-selected svg,
.asw-container .asw-btn.asw-selected span {
    fill: var(--warna-primary) !important;
    color: var(--warna-primary) !important;
}

.asw-container .asw-btn.asw-selected:after {
    background: var(--warna-primary) !important;
}

.asw-container .asw-footer a:hover,
.asw-container .asw-footer a:hover span {
    color: var(--warna-primary) !important;
}

.asw-overlay {
    background: rgba(0, 0, 0, 0) !important;
    pointer-events: none !important;
    z-index: 1040 !important;
}

.asw-overlay.is-active {
    pointer-events: auto !important;
}

.notif-fly {
    position: absolute;
    right: 15px;
    background: #0369a1;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    transition: 1s;
}

.banner-block {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 0;
    font-size: 0;
}

.banner-block>a {
    display: block;
}

.card-top_>img,
.card-top_>a>img,
.card-top>img,
.card-top>a>img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.global-content-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    border-left: 4px solid var(--warna-primary);
    padding-left: 16px;
    position: relative;
}

.global-content-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.global-content-title a:hover {
    color: var(--warna-primary);
}

.global-content-title a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-size: 14px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease;
}

.global-content-title a:hover::after {
    transform: translateX(4px);
}

/* ---------------- Home Section Spacing */
.home-section {
    --home-section-gap: var(--section-gap);
    --home-section-pad: var(--section-pad);
    --home-section-stack-gap: var(--space-md);
    margin: var(--home-section-gap) 0 0 !important;
    padding-top: var(--home-section-pad);
    padding-bottom: var(--home-section-pad);
    display: flex;
    flex-direction: column;
    gap: var(--home-section-stack-gap);
}

.home-section>.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home-section .global-content-title {
    margin-bottom: 14px;
}

.home-section .gallery-header {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

.home-section .gallery-header .global-content-title {
    margin-bottom: 0;
}

.home-section .gallery-more-link--bottom {
    margin-top: 0;
}

.home-section .stats-docs__dots {
    margin-top: 0;
}

.home-section .row {
    row-gap: var(--home-section-stack-gap);
}

.home-section .row>[class*="col-"] {
    margin-bottom: 0 !important;
}

.home-section--categories {
    --home-section-stack-gap: var(--space-2xl);
}

.home-section--categories .row {
    --bs-gutter-y: var(--home-section-stack-gap);
    --bs-gutter-x: 64px;
}

.home-section.terpopuler-block--home {
    margin-bottom: 0 !important;
    padding-top: var(--home-section-pad);
    padding-bottom: calc(var(--home-section-pad) + 8px);
}

.terpopuler-block--home .terpopuler-header {
    align-items: center;
    min-height: 56px;
}

.terpopuler-block--home .global-content-title {
    line-height: 1.2;
}

.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* 1 besar di kiri, 2 kecil di kanan */
    grid-template-rows: repeat(2, 1fr);
    /* 2 baris */
    gap: 10px;
}

.big-news {
    grid-row: span 2;
    /* Membuat tinggi setara dengan 4 grid kecil */
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    /* Sesuaikan */
    transition: all 0.3s ease-in-out;
}

.news-item {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    min-height: 190px;
    /* Sesuaikan */
    transition: all 0.3s ease-in-out;
}

.big-news::before,
.news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    /* Awal: transparan */
    transition: background 0.3s ease-in-out;
}

.big-news:hover::before,
.news-item:hover::before {
    background: rgba(0, 0, 0, 0.4);
    /* Saat hover: lebih gelap */
}

.news-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 15px 5px 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.news-title {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    /* Maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 12px;
    margin-bottom: 10px;
}

/* Gaya untuk item utama list */

.main-news-list {
    display: block;
    text-decoration: none;
    color: black;
    margin-bottom: 20px;
}

.main-news-list img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.main-news-list h2 {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-news-list p {
    font-size: 14px;
    color: gray;
    margin-bottom: 10px;
}

/* Grid untuk berita list */
.news-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.news-item-list {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
}

.news-item-list--with-actions {
    flex-direction: column;
    align-items: stretch;
}

.news-item-list--with-actions .news-item-main {
    display: flex;
    align-items: center;
    width: 100%;
}

.news-item-list:hover {
    border-color: var(--warna-primary);
    background: #ffffff;
}

.news-item-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 12px;
    border: 1px solid #e2e8f0;
}

.cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--warna-primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.cover-placeholder i {
    font-size: 24px;
    color: var(--warna-primary);
}

.cover-placeholder--thumb {
    width: 80px;
    height: 80px;
    margin-right: 12px;
    flex: 0 0 80px;
}

.news-item-list-kategori {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding-bottom: 12px;
    border-radius: 10px;
}

.news-item-list-kategori--with-actions {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
}

.news-item-list-kategori--with-actions .news-item-main {
    display: flex;
    align-items: center;
    width: 100%;
}

.news-item-list-kategori img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
    border: 1px solid #e2e8f0;
}

.cover-placeholder--kategori {
    width: 180px;
    height: 100px;
    margin-right: 20px;
    flex: 0 0 180px;
}

.news-grid-list--square .news-item-list-kategori img {
    width: 100px;
    height: 100px;
}

.news-grid-list--square .cover-placeholder--kategori {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
}

.news-text-list {
    flex: 1;
    min-width: 0;
}

.news-text-list h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1e293b;
}

.news-meta-list {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    row-gap: 4px;
}

.news-meta-list i {
    color: #94a3b8;
}

.news-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.news-meta-sep {
    color: #94a3b8;
    margin: 0;
}


.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.status-badge--inline {
    font-size: 11px;
    padding: 3px 8px;
    line-height: 1;
    flex: 0 0 auto;
}

.badge-status--success {
    background: #16a34a;
    color: #ffffff;
}

.badge-status--danger {
    background: #dc2626;
    color: #ffffff;
}

.badge-status--info {
    background: #0ea5e9;
    color: #ffffff;
}

.badge-status {
    background: #16a34a;
    color: #ffffff;
}

.badge-status--success {
    background: #16a34a;
    color: #ffffff;
}

.badge-status--danger {
    background: #dc2626;
    color: #ffffff;
}

.badge-status--info {
    background: #0ea5e9;
    color: #ffffff;
}

.badge-download {
    background: #16a34a;
    color: #ffffff;
    cursor: pointer;
    margin-left: auto;
}

.badge-download:hover {
    background: #15803d;
    color: #ffffff;
}

/* ---------------- Swiper */

.swiper {
    width: 100%;
    max-width: 100%;
    margin: auto;
}

.swiper-slide {
    position: relative;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.news-item-swiper {
    position: relative;
    width: 100%;
    height: 220px;
    /* Atur tinggi */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: 0.3s ease;
}

.berita-swiper .news-item-swiper {
    height: auto;
    aspect-ratio: 16 / 9;
}

.news-item-swiper--placeholder {
    background: #f8fafc;
}

.cover-placeholder--swiper {
    position: absolute;
    inset: 0;
    border-radius: 10px;
}

.news-item-swiper--placeholder .cover-placeholder--swiper {
    z-index: 0;
}

.news-item-swiper--placeholder .news-overlay-swiper {
    z-index: 1;
}

.news-item-swiper:hover {
    filter: brightness(80%);
}

.video-swiper .news-item-swiper {
    height: auto;
    aspect-ratio: 16 / 9;
}

.news-overlay-swiper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 16px 10px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    color: white;
}

.news-title-swiper {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.news-meta-swiper {
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.9;
}

/* Styling tombol navigasi */
.swiper-button-next,
.swiper-button-prev {
    width: 35px;
    /* Bisa disesuaikan, ini memperlebar area klik */
    height: 100%;
    /* Biar mencakup tinggi penuh */
    top: 20px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Efek hover nanti biar terlihat */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out;
    border-radius: 10px 10px 10px 10px;
    color: #eceaea;
    z-index: 20;
    pointer-events: auto;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.4);
    /* Biar pas hover lebih jelas */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 25px !important;
}

/* ---------------- End Swiper */

/* ================================================================
   SECTION TERPOPULER & TERUNDUH - Unified Container
   ================================================================ */

.terpopuler-block {
    background: #eef2f6 !important;
    padding-top: 12px;
    padding-bottom: 12px;
}

.container-terpopuler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 36px 0;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: visible;
    box-shadow: none;
}

.section-terpopuler {
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    padding: 22px 22px 20px;
}

.section-terpopuler+.section-terpopuler {
    border-left: 1px solid #e2e8f0;
}

/* Section Header */
.section-terpopuler .pb-2 {
    padding: 0 !important;
}

.section-terpopuler .global-content-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-left: none;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-terpopuler .global-content-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--warna-primary);
}

/* List Container */
.list-terpopuler {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
}

.list-terpopuler li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.list-terpopuler li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-terpopuler li:first-child {
    padding-top: 0;
}

.section-terpopuler .list-terpopuler {
    padding: 0;
}

.section-terpopuler .list-terpopuler li {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.section-terpopuler .list-terpopuler li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Number Box - Same for both sections */
.number-terpopuler {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--warna-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 2px;
}

/* Remove outline style - all solid now */
.number-terpopuler.outline-terpopuler {
    background: var(--warna-primary);
    color: #fff;
    border: none;
}

/* Content */
.content-terpopuler {
    flex: 1;
    min-width: 0;
}

.content-terpopuler h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1f2937;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-terpopuler h4 a {
    color: inherit;
    text-decoration: none;
}

.content-terpopuler h4 a:hover {
    color: var(--warna-primary);
}

.content-terpopuler h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-terpopuler h5 a {
    color: inherit;
    text-decoration: none;
}

.content-terpopuler h5 a:hover {
    color: var(--warna-primary);
}

/* Views/Downloads Count */
.views-terpopuler,
.comments-terpopuler {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.views-terpopuler i,
.comments-terpopuler i {
    font-size: 11px;
    color: #d1d5db;
}

/* Empty state card */
.empty-state-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    text-align: center;
    color: #475569;
}

.empty-state-card--clean {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.empty-state-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--warna-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.empty-state-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1f2937;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: var(--warna-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 18px;
    line-height: 1;
}

.empty-state-text {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.empty-state-card--terpopuler {
    margin: 12px 14px 18px;
    padding: 18px 14px;
    border-radius: 12px;
    border: 1px dashed #d4deeb;
    background: #f8fafc;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state-card--terpopuler .empty-state-title {
    font-size: 15px;
    margin-bottom: 4px;
    color: #334155;
}

.empty-state-card--terpopuler .empty-state-text {
    font-size: 12px;
    line-height: 1.5;
    max-width: 240px;
    color: #64748b;
}

.empty-state-icon--terpopuler {
    width: auto;
    height: auto;
    margin: 0 0 10px;
    border: 0;
    background: transparent;
    color: #94a3b8;
}

.empty-state-icon--terpopuler i {
    font-size: 22px;
    line-height: 1;
}

/* ================================================================
   HOME TERPOPULER - Clean Redesign
   ================================================================ */

.terpopuler-block--home {
    background: linear-gradient(180deg, #f2f6fb 0%, #eef2f6 100%) !important;
    padding-top: 24px;
    padding-bottom: 32px;
}

/* Carousel Container */
.terpopuler-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.terpopuler-block--home .container-terpopuler {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.terpopuler-block--home .container-terpopuler::-webkit-scrollbar {
    display: none;
}

/* Navigation Buttons - Hidden (swipe + dots only) */
.terpopuler-nav {
    display: none;
}

/* Indicator Dots */
.terpopuler-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.terpopuler-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terpopuler-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--warna-primary);
}

.terpopuler-block--home .section-terpopuler {
    --accent: var(--warna-primary);
    --accent-soft: rgba(3, 105, 161, 0.10);
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

.terpopuler-block--home .section-terpopuler::before {
    display: none;
}

.terpopuler-block--home .terpopuler-card--views,
.terpopuler-block--home .terpopuler-card--share,
.terpopuler-block--home .terpopuler-card--download {
    --accent: var(--warna-primary);
    --accent-soft: rgba(3, 105, 161, 0.10);
}

.terpopuler-block--home .terpopuler-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 12px 16px;
    background: var(--warna-primary);
    color: #ffffff;
    border-bottom: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    min-height: 48px;
}

.terpopuler-block--home .terpopuler-header__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 15px;
    flex-shrink: 0;
}

.terpopuler-block--home .global-content-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1.3;
    text-align: center;
}

.terpopuler-block--home .global-content-title::before {
    display: none;
}

/* List Container - Clean Version */
.terpopuler-block--home .list-terpopuler {
    list-style: none;
    padding: 12px 14px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* List Items - Card Style with Full Border */
.terpopuler-block--home .list-terpopuler li {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
}

.terpopuler-block--home .list-terpopuler li:hover {
    border-color: var(--warna-primary) !important;
    background: #ffffff;
}

/* Number Badge */
.terpopuler-block--home .number-terpopuler {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.terpopuler-block--home .number-terpopuler.outline-terpopuler {
    background: var(--accent);
    color: #fff;
    border: none;
}

/* Content Area */
.terpopuler-block--home .content-terpopuler {
    flex: 1;
    min-width: 0;
}

.terpopuler-block--home .content-terpopuler h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1f2937;
    line-height: 1.45;
}

.terpopuler-block--home .content-terpopuler h4 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.terpopuler-block--home .content-terpopuler h4 a:hover {
    color: var(--accent);
}


/* Stats Badge */
.terpopuler-block--home .views-terpopuler {
    font-size: 11px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.terpopuler-block--home .views-terpopuler i {
    color: #6b7280;
    font-size: 11px;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .terpopuler-block--home .container-terpopuler {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .terpopuler-block--home .container-terpopuler {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .terpopuler-block--home .section-terpopuler {
        border-radius: 14px;
    }

    .terpopuler-block--home .list-terpopuler {
        padding: 10px 12px 12px;
        gap: 8px;
    }

    .terpopuler-block--home .list-terpopuler li {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .terpopuler-block--home .number-terpopuler {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }

    .terpopuler-block--home .content-terpopuler h4 {
        font-size: 12px;
    }
}

.news-header-detail {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.subjudul-detail {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 15px;
}

.news-meta-detail {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.news-image-detail {
    padding-bottom: 20px;
}

.news-image-detail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.book-detail {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.book-detail-cover {
    flex: 0 0 220px;
    max-width: 220px;
}

.book-detail-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8f9fb;
}

.cover-placeholder--detail {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
}

.cover-placeholder--detail-wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.book-detail-body {
    flex: 1;
    min-width: 0;
}

.book-detail-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.book-detail-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.book-detail-meta li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    font-size: 14px;
    color: #374151;
}

.book-detail-label {
    color: #6c757d;
}

.book-detail-value {
    color: #111827;
    font-weight: 600;
}

@media (max-width: 768px) {
    .book-detail {
        flex-direction: column;
    }

    .book-detail-cover {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .book-detail-meta li {
        grid-template-columns: 1fr;
    }
}

.pdf-attachment {
    margin-top: 20px;
}

.pdf-attachment__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: #f1f3f5;
    border: 1px solid #e0e0e0;
    border-bottom: 0;
    padding: 8px 12px;
    border-radius: 8px 8px 0 0;
}

.pdf-attachment__meta {
    font-size: 12px;
    color: #6c757d;
    padding: 6px 12px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.pdf-attachment__title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-attachment__download {
    background: var(--warna-primary);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
}

.pdf-attachment__download-icon {
    margin-right: 6px;
}

.pdf-attachment__download:hover {
    background: var(--warna-sub-primary);
    color: #fff;
}

.pdf-attachment__frame {
    display: block;
    width: 100%;
    height: 85vh;
    min-height: 720px;
    max-height: 1100px;
    border: 1px solid #e0e0e0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
}

.pdf-attachment__viewer {
    width: 100%;
    max-height: 75vh;
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    overflow: auto;
}

.pdf-attachment__viewer.is-loading::before {
    content: "Memuat PDF...";
    display: block;
    padding: 12px;
    font-size: 12px;
    color: #666;
}

.pdf-attachment__canvas {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eef0f2;
}

.pdf-attachment__viewer.is-ready {
    min-height: 0;
}

.pdf-attachment__viewer.is-error::before {
    content: "Gagal memuat PDF. Silakan gunakan tombol Unduh PDF.";
    display: block;
    padding: 12px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .pdf-attachment__frame {
        height: 75vh;
        min-height: 480px;
    }

    .pdf-attachment__viewer {
        max-height: 70vh;
        min-height: 110px;
    }
}

.share-detail {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.share-detail-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.share-detail-count {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-top: 10px;
}

.share-detail-count strong {
    color: #0f172a;
    font-weight: 700;
}

.share-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;
    border: none;
    background: #1f2937;
    font-size: 16px;
    color: #ffffff;
    line-height: 1;
    cursor: pointer;
    transition: none;
}

.share-btn:hover {
    color: #ffffff;
}

.share-btn:focus {
    outline: none;
    box-shadow: none;
}

.share-btn i {
    display: inline-block;
    width: 18px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
}

.share-btn-facebook {
    background: #1877f2;
}

.share-btn-whatsapp {
    background: #25d366;
}

.share-btn-email {
    background: #dc2626;
}

.share-btn-instagram {
    background: linear-gradient(135deg, #feda75 0%, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5 100%);
}

.share-btn-telegram {
    background: #229ed9;
}


.share-btn-tiktok {
    background: #010101;
}

.share-btn-x {
    background: #111111;
}

.share-btn-threads {
    background: #000000;
}

.share-btn-copy {
    background: #334155;
}

.tags-detail {
    margin-top: 20px;
}

@media (max-width: 576px) {
    .share-detail-actions {
        gap: 8px;
    }

    .share-btn {
        width: 34px;
        height: 34px;
    }
}

.comment-section-detail {
    margin-top: 40px;
}

.comment-box-detail {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.comment-box-detail textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

.comment-box-detail button {
    width: 100%;
    background-color: var(--warna-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
}

.comment-box-detail button:hover {
    background-color: var(--warna-sub-primary);
}

.single-comment-detail {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
}

.comment-author-detail {
    margin-bottom: 3px;
    font-weight: bold;
}

.comment-time-detail {
    font-size: 0.85rem;
    color: #6c757d;
}

.comment-text-detail {
    margin-top: 10px;
    font-size: 14px;
}

.news-sidebar-detail {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.sidebar-title-detail {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.sidebar-item-detail {
    margin-bottom: 10px;
}

.sidebar-item-detail a {
    text-decoration: none;
    color: #007bff;
}

.sidebar-item-detail a:hover {
    text-decoration: underline;
}

.right-detail-isi {
    margin-left: 30px;
}

.right-detail-isi>.pb-2.pt-4:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.sidebar-snap {
    position: relative;
}

.sidebar-snap-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.sidebar-snap-track::-webkit-scrollbar {
    display: none;
}

.sidebar-snap-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
    padding-right: 1px;
}

.sidebar-snap-slide .list-terpopuler li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sidebar-snap-slide .number-terpopuler {
    flex: 0 0 auto;
}

.sidebar-snap-slide .content-terpopuler {
    min-width: 0;
    flex: 1;
}

.sidebar-snap-slide .list-terpopuler.list-terpopuler-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-right: 6px;
}

.sidebar-snap-slide .list-terpopuler.list-terpopuler-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.sidebar-snap-slide .list-terpopuler.list-terpopuler-scroll::-webkit-scrollbar-thumb {
    background: transparent;
}

.sidebar-snap-slide .list-terpopuler.list-terpopuler-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: #cbd5e1;
    padding: 0;
    transition: width 0.2s ease, background 0.2s ease;
}

.sidebar-dot.is-active {
    width: 18px;
    background: var(--warna-primary);
}

.sidebar-tags {
    margin-top: 6px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.sidebar-tags-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #0f172a;
    background: #f8fafc;
    padding: 12px 16px;
    margin: -16px -16px 12px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 10px 10px 0 0;
}

.sidebar-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: none;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 4px;
    align-content: flex-start;
}

.sidebar-tags-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.sidebar-tags-list::-webkit-scrollbar-thumb {
    background: transparent;
}

.sidebar-tags-list::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #dbe3f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sidebar-tag:hover,
.sidebar-tag:focus {
    background: var(--warna-primary);
    color: #fff;
    border-color: var(--warna-primary);
}

.sidebar-tags-empty {
    font-size: 13px;
    color: #6c757d;
}

.sidebar-snap-slide .content-terpopuler h5,
.sidebar-snap-slide .content-terpopuler h5 a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.sidebar-snap-slide .views-terpopuler {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.l-h-20 {
    line-height: 20px;
}

.l-h-22 {
    line-height: 22px;
}

.l-h-24 {
    line-height: 24px;
}

.l-h-25 {
    line-height: 25px;
}

.l-h-26 {
    line-height: 26px;
}

/* ================================================================
   FOOTER - Professional Government Style v3
   ================================================================ */

.site-footer {
    background: var(--warna-primary);
    color: #fff;
    margin-top: 0;
}

.footer-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.footer-block {
    min-width: 0;
}

.footer-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin: 0;
    text-align: justify;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.footer-social {
    margin-top: 20px;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social-link:hover {
    background: #ffffff;
    color: var(--warna-primary);
}

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

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

.footer-list li:last-child {
    margin-bottom: 0;
}

.footer-list a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 14px;
    text-align: justify;
}

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

.footer-contact-list li {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-contact-list span {
    width: 20px;
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.footer-contact-list span i.fa-whatsapp {
    font-size: 16px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    word-break: break-word;
}

.footer-contact-list a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.footer-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 10px;
    text-align: center;
}

.footer-stat span {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.footer-stat strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.footer-stat--full {
    grid-column: span 2;
}

.footer-stat--full span {
    font-size: 11px;
}

.footer-stat--full strong {
    font-size: 20px;
}

.footer-bottom {
    background: var(--warna-sub-primary);
    padding: 16px 0;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-inner a {
    color: #fff;
    text-decoration: underline;
}

/* ---------------- Responsive */

/* ===== Desktop Large (≤1200px) ===== */
@media (max-width: 1200px) {
    :root {
        --container-pad: 60px;
        --section-gap: var(--space-lg);
    }

    .footer-shell,
    .footer-bottom-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* ===== Tablet Landscape (≤991px) ===== */
@media (max-width: 991px) {
    :root {
        --container-pad: 40px;
        --section-gap: var(--space-lg);
        --section-pad: 18px;
    }

    .menu-d-none,
    .menu-d-none-991 {
        display: none;
    }

    .right-detail-isi {
        margin-left: 0;
    }

    .hide-991 {
        display: none;
    }

    .visi-991 {
        display: unset;
    }

    .content-terpopuler h4 {
        max-width: 280px;
    }
}

/* ===== Tablet Portrait (≤767px) ===== */
@media (max-width: 767.98px) {
    :root {
        --container-pad: 24px;
        --section-gap: var(--space-lg);
        --section-pad: 16px;
    }

    .search-box {
        display: none;
    }

    .mobile-search-btn {
        height: 38px;
        display: block;
    }

    .search-detail-btn {
        display: none;
    }

    .search-detail-btn--modal {
        display: inline-flex;
    }

    #pencarianDetailModal .modal-dialog {
        max-width: 100%;
        margin: 0.75rem;
    }

    #pencarianDetailModal .modal-title {
        font-size: 16px;
    }

    #pencarianDetailModal .form-label {
        font-size: 13px;
    }

    #pencarianDetailModal .form-control,
    #pencarianDetailModal .form-select,
    #pencarianDetailModal .btn-primary {
        height: 38px;
        font-size: 13.5px;
    }

    .card-top .logo {
        height: 50px;
        max-width: 187.5px;
    }

    .home-section:not(.terpopuler-block--home) .global-content-title {
        margin-bottom: 12px;
        font-size: 19px;
    }

    .home-section .row {
        flex-direction: column;
    }

    .home-section .row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .home-section--categories {
        --home-section-stack-gap: 50px;
    }

    .news-header-detail {
        font-size: 22px;
    }

    .subjudul-detail {
        font-size: 16px;
    }

    .container-terpopuler {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-terpopuler {
        padding: 18px 18px 20px;
    }

    .section-terpopuler+.section-terpopuler {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .content-terpopuler h4 {
        white-space: unset;
        overflow: unset;
        text-overflow: unset;
        display: block;
        max-width: 100%;
    }

    .hide-790-only,
    .hide-768 {
        display: none;
    }

    .visi-768 {
        display: unset;
    }

    .menu-d-none-768 {
        display: none;
    }

    /* Terpopuler carousel mobile */
    .terpopuler-carousel {
        gap: 0;
    }

    .terpopuler-block--home .terpopuler-header {
        min-height: 42px;
        padding: 10px 14px;
    }

    .terpopuler-block--home .global-content-title {
        font-size: 13px;
    }

    .terpopuler-block--home .list-terpopuler {
        padding: 10px 12px 14px;
        gap: 8px;
    }

    .terpopuler-block--home .list-terpopuler li {
        padding: 10px 12px !important;
        gap: 10px;
    }

    .terpopuler-block--home .number-terpopuler {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .terpopuler-block--home .content-terpopuler h4 {
        font-size: 12px;
    }

    .terpopuler-block--home .views-terpopuler {
        font-size: 10px;
    }

    .terpopuler-dots {
        margin-top: 12px;
    }

    .terpopuler-dot {
        width: 8px;
        height: 8px;
    }

    .terpopuler-dot.is-active {
        width: 24px;
    }

    .footer-shell {
        padding: 36px 20px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-logo {
        margin: 0 0 16px;
    }

    .footer-tagline {
        text-align: justify;
    }

    .footer-social {
        margin-top: 16px;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-title {
        display: block;
    }

    .footer-list {
        text-align: left;
    }

    .footer-address {
        text-align: justify;
    }

    .footer-contact-list {
        display: block;
        text-align: left;
    }

    .footer-stats-grid {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 14px 0;
    }

    .swiper-slide {
        width: 100% !important;
    }

    .news-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .big-news {
        grid-row: span 1;
        min-height: 300px;
    }

    .news-item {
        min-height: 180px;
    }
}

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px) {
    :root {
        --container-pad: 16px;
        --section-gap: var(--space-lg);
        --section-pad: 14px;
    }

    .global-content-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .hide-576 {
        display: none;
    }

    .visi-576 {
        display: unset;
    }


    .news-header-detail {
        font-size: 20px;
    }

    .subjudul-detail {
        font-size: 15px;
    }

    .mobile-search-btn {
        height: 33px;
    }

    .card-top .logo {
        height: 40px;
        max-width: 150px;
    }

}

.category-stats {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 10px;
    padding-top: 6px;
    scroll-snap-type: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.category-stats::-webkit-scrollbar {
    display: none;
    height: 0;
}

.category-stats.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.category-stats.is-dragging .category-stat-card {
    pointer-events: none;
}

.stats-docs {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
}

.stats-docs__header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.stats-docs__title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #0b2239;
}

.stats-docs__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: var(--warna-primary);
    margin: 8px auto 0;
}

.stats-docs__track {
    position: relative;
    z-index: 1;
    --stats-gap: 22px;
    --stats-per-view: 3;
    gap: var(--stats-gap);
    padding: 8px var(--stats-gap) 20px;
    scroll-padding: var(--stats-gap);
}

.stats-docs__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.stats-docs__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: #cbd5e1;
    padding: 0;
}

.stats-docs__dot.is-active {
    width: 18px;
    background: var(--warna-primary);
}

.category-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    flex: 0 0 calc((100% - (var(--stats-per-view) - 1) * var(--stats-gap)) / var(--stats-per-view));
    max-width: calc((100% - (var(--stats-per-view) - 1) * var(--stats-gap)) / var(--stats-per-view));
    scroll-snap-align: none;
    position: relative;
}

.category-stat-card:hover {
    border-color: var(--warna-primary);
    background: #ffffff;
}

.category-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.1) 0%, rgba(3, 105, 161, 0.05) 100%);
    border: 1.5px solid rgba(3, 105, 161, 0.2);
    color: var(--warna-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 60px;
}

.category-stat-card:hover .category-stat-icon {
    background: var(--warna-primary);
    border-color: var(--warna-primary);
    color: #ffffff;
}

.category-stat-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
    line-height: 1.4;
}

.category-stat-count {
    display: inline-block;
    background: #f1f5f9;
    color: var(--warna-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-grid--book-related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.book-card:hover {
    border-color: #e2e8f0;
}

.book-card:focus,
.book-card:focus-visible,
.book-card:active {
    outline: none;
    box-shadow: none;
    border-color: #e2e8f0;
}

.book-card-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    background: #f8fafc;
    overflow: hidden;
}

.cover-placeholder--book {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.book-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-card-body {
    padding: 10px 12px;
}

.book-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 6px;
}

.related-posts .gallery-card--book-related .gallery-card-title {
    font-size: 14px;
    line-height: 1.4;
}

.book-card-meta {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.book-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.book-card-meta-item i {
    font-size: 12px;
    color: currentColor;
}

.book-card-meta-sep {
    color: #cbd5e1;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.gallery-more-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--warna-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gallery-more-link:hover {
    color: var(--warna-sub-primary);
    gap: 10px;
}

.gallery-more-link--bottom {
    display: none;
    margin-top: 16px;
}

.gallery-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.gallery-card:hover {
    border-color: #e2e8f0;
}

.gallery-card-link {
    display: block;
    color: inherit;
}

.gallery-card-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f8fafc;
}

.gallery-card--square .gallery-card-media {
    padding-top: 100%;
}

.gallery-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

.cover-placeholder--gallery {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.gallery-card:hover .gallery-card-media img {
    transform: none;
}

.related-posts .gallery-card-media img {
    transition: none;
}

.related-posts .gallery-card:hover .gallery-card-media img {
    transform: none;
}

.related-posts .gallery-card--book-related .gallery-card-media {
    padding-top: 125%;
    background: #ffffff;
}

.related-posts .gallery-card--book-related .gallery-card-media img {
    object-fit: cover;
    background: #ffffff;
}


.gallery-card-body {
    padding: 14px 16px 16px;
}

.gallery-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card-caption {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
}

.gallery-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-detail-caption {
    font-size: 14px;
    color: #444;
    margin: 4px 0 6px;
}

.gallery-detail-meta {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-detail-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1px;
    margin: 16px 0 18px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    touch-action: pan-y;
}

.gallery-detail-grid.is-dragging {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
}

.gallery-detail-grid.is-dragging img {
    pointer-events: none;
}

.gallery-detail-grid::-webkit-scrollbar {
    display: none;
}

.gallery-detail-slider {
    position: relative;
}

.gallery-detail-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 18px;
}

.gallery-detail-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #cbd5f5;
    padding: 0;
    cursor: pointer;
}

.gallery-detail-dot.is-active {
    background: #2563eb;
}

.gallery-detail-item {
    background: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 16 / 9;
    position: relative;
}

.gallery-detail-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-detail-content {
    font-size: 14px;
    line-height: 1.7;
    color: #2a2a2a;
}

@media (max-width: 576px) {
    .news-grid-list {
        gap: 18px;
    }

    .home-section {
        --home-section-gap: var(--section-gap);
        --home-section-pad: var(--section-pad);
        --home-section-stack-gap: var(--space-md);
    }

    .home-section:not(.terpopuler-block--home) .global-content-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .terpopuler-block--home .terpopuler-header {
        padding: 11px 14px;
        min-height: 50px;
    }

    .terpopuler-block--home .global-content-title {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.1;
        min-height: 36px;
        display: flex;
        align-items: center;
    }

    .stats-docs {
        padding: 18px 16px 14px;
    }

    .stats-docs__title {
        font-size: 18px;
    }

    .category-stat-card {
        padding: 16px 16px;
        flex: 0 0 calc((100% - (var(--stats-per-view) - 1) * var(--stats-gap)) / var(--stats-per-view));
        max-width: calc((100% - (var(--stats-per-view) - 1) * var(--stats-gap)) / var(--stats-per-view));
    }

    .category-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        flex: 0 0 48px;
    }

    .category-stat-title {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .home-section--categories {
        --home-section-stack-gap: var(--space-lg);
    }

    .home-section--categories .row {
        row-gap: var(--home-section-stack-gap);
    }
}

@media (max-width: 1200px) {
    .stats-docs__track {
        --stats-per-view: 3;
    }
}

@media (max-width: 991px) {
    .stats-docs__track {
        --stats-per-view: 2;
        --stats-gap: 18px;
    }
}

@media (max-width: 576px) {
    .stats-docs__track {
        --stats-per-view: 1;
        --stats-gap: 16px;
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid--home .gallery-card:nth-child(n+3),
    .book-grid--home .book-card:nth-child(n+3) {
        display: none;
    }
}

@media (min-width: 992px) {

    .book-grid--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-grid--home .gallery-card:nth-child(n+4) {
        display: none;
    }

    .book-grid--home .book-card:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid--home .gallery-card:nth-child(n+2),
    .book-grid--home .book-card:nth-child(n+2) {
        display: none;
    }

    .gallery-detail-grid {
        gap: 8px;
    }

    .gallery-header .gallery-more-link {
        display: none;
    }

    .gallery-more-link--bottom {
        display: inline-block;
    }
}

.stats-docs__track {
    padding: 0;
}

.stats-docs__dots {
    margin-top: 12px;
}

/* Content Title Link - Dashboard */
.content-title-link {
    color: #444 !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out;
}

.content-title-link:hover {
    color: #0d6efd !important;
    /* Bootstrap Primary Blue */
}


/* ================================================================
   EMPTY STATE - Plain (Soft, Clean, Modern, Minimalist)
   ================================================================ */

/* Empty State - Plain */
.empty-state-plain {
    background: linear-gradient(145deg, #fafbfc 0%, #f3f6f9 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: all 0.25s ease;
}

.empty-state-plain:hover {
    border-color: #d1d5db;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* Icon Container */
.empty-state-plain::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 36px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.1) 0%, rgba(3, 105, 161, 0.04) 100%);
    border: 1.5px solid rgba(3, 105, 161, 0.12);
    border-radius: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.empty-state-plain:hover::before {
    color: var(--warna-primary);
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.14) 0%, rgba(3, 105, 161, 0.06) 100%);
    border-color: rgba(3, 105, 161, 0.22);
    transform: translateY(-6px);
}

.empty-state-plain__title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.empty-state-plain__meta {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    max-width: 320px;
}

/* Responsive - Tablet */
@media (max-width: 767.98px) {
    .empty-state-plain {
        padding: 28px 20px;
        min-height: 180px;
    }

    .empty-state-plain::before {
        width: 64px;
        height: 64px;
        font-size: 30px;
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .empty-state-plain__title {
        font-size: 15px;
    }

    .empty-state-plain__meta {
        font-size: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .empty-state-plain {
        padding: 24px 16px;
        min-height: 160px;
        border-radius: 12px;
    }

    .empty-state-plain::before {
        width: 56px;
        height: 56px;
        font-size: 26px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .empty-state-plain__title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .empty-state-plain__meta {
        font-size: 11px;
    }
}

/* Icon Modifiers - Different icons per section */
.empty-state-plain--galeri::before {
    content: "\f03e";
    /* fa-image */
}

.empty-state-plain--buku::before {
    content: "\f02d";
    /* fa-book */
}

.empty-state-plain--video::before {
    content: "\f03d";
    /* fa-video */
}

.empty-state-plain--berita::before {
    content: "\f1ea";
    /* fa-newspaper */
}

