.wrap-header-mobile,
.menu-mobile {
    display: none !important;
}

.fContainer {
    padding: clamp(10px, 2vw, 20px) clamp(12px, 3vw, 32px);
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(10px, 2vw, 24px);
    min-width: 0;
}

.wrapper img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 50px;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
}

.brand {
    flex: 0 1 auto;
    min-width: 0;
}

.brand .firstname {
    font-size: clamp(14px, 2.2vw, 25px);
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

.navbar_baru a:focus-visible,
.navbar_baru button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
}

.carousel-container {
    width: 100%;
    max-width: 100%;
}

.carousel-container > .row.m-rl--1 {
    margin-right: 0;
    margin-left: 0;
}

.carousel-inner {
    min-height: 0;
    aspect-ratio: 2572 / 678;
}

.carousel-inner .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.navbar_baru {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
}

.navbar_baru > a,
.navbar_baru > .d > .d-btn {
    line-height: 1.4;
    text-align: center;
}

img,
video,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.portal-berita,
.portal-berita p,
.portal-berita h5 {
    overflow-wrap: anywhere;
}

.table-poppins {
    max-width: 100%;
}

.visitor-stats {
    padding: clamp(32px, 5vw, 64px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(45, 158, 255, .36), transparent 34%),
        linear-gradient(125deg, #062957 0%, #0759a5 58%, #087bc1 100%);
}

.visitor-stats-heading {
    margin-bottom: 24px;
    text-align: center;
}

.visitor-stats-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #a8dcff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

.visitor-stats-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
}

.visitor-stats-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.visitor-stat-card {
    position: relative;
    min-height: 150px;
    padding: 20px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 12px 30px rgba(0, 23, 57, .16);
    text-align: center;
    backdrop-filter: blur(8px);
}

.visitor-stat-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .17);
    color: #bde9ff;
    font-size: 17px;
}

.visitor-stat-value {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.visitor-stat-card h3 {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 500;
}

.visitor-stat-total {
    background: linear-gradient(145deg, rgba(255, 190, 73, .28), rgba(255, 255, 255, .1));
}

.visitor-stat-total .visitor-stat-icon {
    color: #ffe1a3;
}

.visitor-stats-error {
    color: #fff;
    text-align: center;
}

.visitor-sidebar-counter {
    padding: 14px 16px;
    border-left: 4px solid #087bc1;
    border-radius: 0 10px 10px 0;
    background: #f2f7fc;
    color: #24415e;
}

.visitor-sidebar-counter p {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.visitor-sidebar-counter p + p {
    margin-top: 8px;
}

.visitor-sidebar-counter strong {
    color: #0759a5;
    font-size: 18px;
}

@media (max-width: 991px) {
    .navbar_baru {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6px 12px;
        font-size: 16px;
    }

    .navbar_baru > a,
    .navbar_baru > .d {
        display: block;
        width: 100%;
    }

    .navbar_baru > a,
    .navbar_baru > .d > .d-btn {
        display: block;
        width: 100%;
        padding: 11px 12px;
        text-align: center;
        white-space: normal;
    }

    .d-content,
    .dropdown-submenu > .submenu-content {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        min-width: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        white-space: normal;
    }

    .d:hover > .d-content,
    .d:focus-within > .d-content,
    .dropdown-submenu:hover > .submenu-content,
    .dropdown-submenu:focus-within > .submenu-content {
        display: block;
    }

    .row_baru {
        flex-direction: column;
        gap: 0;
    }

    .column_baru {
        width: 100%;
        min-width: 0;
        padding: 4px 8px;
    }

    .column_baru a,
    .submenu-btn,
    .submenu-content a {
        display: block;
        padding: 10px 12px;
        text-align: center;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dropdown-submenu > .submenu-content {
        padding-left: 12px;
        background: #003f80;
    }

    .carousel-container {
        padding-right: 0;
        padding-left: 0;
    }

    .portal-berita [class*="col-"] {
        padding-right: 15px;
        padding-left: 15px;
    }

    .visitor-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .fContainer {
        padding: 10px 12px;
    }

    .wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .wrapper img {
        height: 50px;
        max-width: 100%;
    }

    .brand .firstname {
        font-size: clamp(13px, 4vw, 16px);
        line-height: 1.3;
        text-align: center;
    }

    .navbar_baru {
        padding: 4px 8px;
        font-size: 15px;
    }

    .navbar_baru > a,
    .navbar_baru > .d > .d-btn {
        padding: 10px 8px;
        font-size: 14px;
        text-align: center;
    }

    .btn-berita {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
        text-align: center;
    }

    .table.datatable-basic {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .btn-back-to-top {
        right: 12px;
        bottom: 12px;
    }

    .visitor-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .visitor-stat-card {
        min-height: 136px;
        padding: 16px 10px;
        border-radius: 12px;
    }

    .visitor-stat-card h3 {
        font-size: 12px;
    }
}
