/* =====================================================
   SMART LIBRARY - HALAMAN PENGUNJUNG
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f9fc;
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar-pengunjung {
    position: sticky;
    top: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #e8edf3;

    z-index: 1000;

    backdrop-filter: blur(12px);
}


.navbar-container {
    max-width: 1250px;

    min-height: 76px;

    margin: auto;

    padding: 0 25px;

    display: flex;
    align-items: center;
    gap: 30px;
}


.logo-website {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #16243a;

    text-decoration: none;

    min-width: 245px;
}

.logo-website-icon {
    width: 45px;
    height: 45px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 13px;

    background: #eaf3ff;

    color: #2773d5;

    font-size: 23px;
}


.logo-website-text {
    display: flex;
    flex-direction: column;
}


.logo-website-text strong {
    font-size: 16px;
    font-weight: 800;
}


.logo-website-text small {
    margin-top: 2px;

    color: #7e8794;

    font-size: 10px;
}


.menu-utama {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 28px;
}


.menu-utama a {
    position: relative;

    color: #596273;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    padding: 27px 0;
}


.menu-utama a:hover {
    color: #2871d2;
}


.menu-utama a.menu-aktif {
    color: #2871d2;
}


.menu-utama a.menu-aktif::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    background: #2871d2;

    border-radius: 10px;
}


.navbar-aksi {
    display: flex;
    align-items: center;
    gap: 10px;
}


.btn-search-nav {
    width: 40px;
    height: 40px;

    border: none;

    background: transparent;

    color: #374151;

    font-size: 18px;

    cursor: pointer;
}


.btn-masuk,
.btn-info-anggota {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 39px;

    padding: 0 16px;

    border-radius: 22px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}


.btn-masuk {
    color: #2871d2;

    border: 1px solid #a9c8f5;

    background: #ffffff;
}


.btn-info-anggota {
    color: #ffffff;

    background: #16a878;

    border: 1px solid #16a878;
}


.btn-masuk:hover {
    background: #eef5ff;
}


.btn-info-anggota:hover {
    background: #128e66;
}


/* =====================================================
   HERO
===================================================== */

.hero-pengunjung {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(218, 237, 255, .9),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f4f9ff,
            #ffffff
        );

    padding: 60px 25px 45px;
}


.hero-container {
    max-width: 1250px;

    margin: auto;

    min-height: 475px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 35px;
}


.hero-content {
    padding-left: 35px;

    position: relative;

    z-index: 2;
}


.badge-hero {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    background: #eaf3ff;

    color: #3b6ea9;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;
}


.hero-content h1 {
    margin: 20px 0 5px;

    max-width: 570px;

    font-size: 48px;

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;
}


.hero-content h1 span {
    color: #2871d2;
}


.hero-content h2 {
    margin: 0 0 17px;

    color: #344762;

    font-size: 21px;

    font-weight: 600;
}


.hero-content > p {
    max-width: 525px;

    color: #6d7786;

    line-height: 1.7;

    font-size: 14px;
}


.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 25px;
}


.btn-utama,
.btn-sekunder {
    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 21px;

    border-radius: 25px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;
}


.btn-utama {
    color: #ffffff;

    background: #16a878;

    box-shadow: 0 9px 20px rgba(22, 168, 120, .17);
}


.btn-sekunder {
    color: #34445b;

    background: #ffffff;

    border: 1px solid #dce4ee;
}


.btn-utama:hover {
    transform: translateY(-2px);

    background: #128f66;
}


.btn-sekunder:hover {
    background: #f7f9fc;
}


.statistik-website {
    display: flex;

    align-items: center;

    gap: 35px;

    margin-top: 33px;
}


.statistik-item {
    display: flex;

    align-items: center;

    gap: 9px;
}


.statistik-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 17px;
}


.statistik-icon.biru {
    color: #3274ce;

    background: #e8f2ff;
}


.statistik-icon.hijau {
    color: #15966a;

    background: #e5f8ef;
}


.statistik-icon.orange {
    color: #d78325;

    background: #fff1df;
}


.statistik-item div:last-child {
    display: flex;

    flex-direction: column;
}


.statistik-item strong {
    font-size: 15px;
}


.statistik-item span {
    margin-top: 2px;

    color: #89919c;

    font-size: 9px;
}


/* =====================================================
   GAMBAR HERO
===================================================== */

.hero-image-area {
    height: 450px;

    position: relative;
}


.hero-image {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 150px 30px 30px 150px;

    background:
        linear-gradient(
            135deg,
            #dfeaf5,
            #9bb8cf
        );

    box-shadow: 0 20px 50px rgba(37, 61, 91, .13);
}


.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hero-image.gambar-kosong::before {
    content: "Perpustakaan Kabupaten Agam";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 23px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #52799b,
            #a7c4d8
        );
}


.quote-buku {
    position: absolute;

    left: 30px;
    bottom: 25px;

    max-width: 270px;

    padding: 16px 20px;

    background: rgba(255,255,255,.93);

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}


.quote-buku i {
    color: #2871d2;

    font-size: 20px;
}


.quote-buku p {
    margin: 3px 0 0;

    color: #334155;

    font-size: 12px;

    font-style: italic;

    font-weight: 600;
}


/* =====================================================
   LAYANAN CEPAT
===================================================== */

.layanan-cepat {
    position: relative;

    margin-top: -1px;

    padding: 0 25px 35px;

    background: #ffffff;
}


.layanan-container {
    max-width: 1170px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    padding: 17px 20px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 20px;

    box-shadow: 0 8px 30px rgba(25, 45, 70, .06);
}


.layanan-item {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 8px 17px;

    color: #293548;

    text-decoration: none;

    border-right: 1px solid #edf0f4;
}


.layanan-item:last-child {
    border-right: none;
}


.layanan-item:hover strong {
    color: #2871d2;
}


.layanan-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 12px;

    font-size: 17px;
}


.layanan-icon.biru {
    color: #3274ce;
    background: #e8f2ff;
}


.layanan-icon.hijau {
    color: #15966a;
    background: #e5f8ef;
}


.layanan-icon.orange {
    color: #d78325;
    background: #fff1df;
}


.layanan-icon.merah {
    color: #db5960;
    background: #ffe8e9;
}


.layanan-item div:nth-child(2) {
    flex: 1;

    display: flex;

    flex-direction: column;
}


.layanan-item strong {
    font-size: 11px;
}


.layanan-item span {
    margin-top: 3px;

    color: #8b94a0;

    font-size: 9px;
}


.layanan-item > i {
    color: #b4bac3;

    font-size: 12px;
}

/* =====================================================
   DROPDOWN INFORMASI
===================================================== */

.menu-dropdown {
    position: relative;
}


.menu-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}


.menu-dropdown > a i {
    font-size: 12px;
}


/* MENU TURUNAN */

.dropdown-informasi {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 210px;

    background: white;

    border-radius: 12px;

    padding: 8px 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);

    display: none;

    z-index: 1000;
}


/* ISI DROPDOWN */

.dropdown-informasi a {
    display: block;

    padding: 10px 16px;

    color: #333;

    text-decoration: none;

    font-size: 14px;

    white-space: nowrap;

    transition: 0.2s;
}


/* SAAT CURSOR DIARAHKAN */

.dropdown-informasi a:hover {
    background: #f1f7ff;

    color: #2d7dd2;
}


/* DROPDOWN MUNCUL */

.menu-dropdown:hover .dropdown-informasi {
    display: block;
}

/* =====================================================
   KOLEKSI
===================================================== */

.koleksi-section {
    padding: 70px 25px;

    background: #f7f9fc;
}


.section-container {
    max-width: 1170px;

    margin: auto;
}


.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 30px;
}


.section-heading > div > span {
    color: #2871d2;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.section-heading h2 {
    margin: 7px 0;

    font-size: 29px;

    font-weight: 800;
}


.section-heading p {
    margin: 0;

    color: #7e8794;

    font-size: 12px;
}


.lihat-semua {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #2871d2;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;
}


.koleksi-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


.buku-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8ecf1;

    border-radius: 17px;

    transition: .25s;
}


.buku-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(25, 50, 80, .08);
}


.buku-cover {
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.9);

    font-size: 60px;
}


.cover-satu {
    background: linear-gradient(135deg, #3976bf, #82a9d6);
}


.cover-dua {
    background: linear-gradient(135deg, #246b61, #62ad9b);
}


.cover-tiga {
    background: linear-gradient(135deg, #7256a9, #aa91d4);
}


.cover-empat {
    background: linear-gradient(135deg, #c48139, #e1b371);
}


.buku-info {
    padding: 15px;
}


.buku-info h4 {
    margin: 0;

    font-size: 13px;

    font-weight: 700;
}


.buku-info p {
    margin: 5px 0 11px;

    color: #8a929d;

    font-size: 10px;
}


.status-buku {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 15px;

    font-size: 9px;

    font-weight: 700;
}


.status-buku.tersedia {
    color: #16895d;

    background: #e5f8ef;
}


.status-buku.dipinjam {
    color: #d64f59;

    background: #ffe6e8;
}


/* =====================================================
   INFO MEMBER
===================================================== */

.info-member {
    padding: 60px 25px;

    background: #ffffff;
}


.info-member-container {
    max-width: 1170px;

    margin: auto;

    padding: 38px 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    background:
        linear-gradient(
            110deg,
            #eef7ff,
            #f3fbf8
        );

    border-radius: 25px;

    border: 1px solid #e0ebf1;
}


.info-member-container span {
    color: #2871d2;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.info-member-container h2 {
    margin: 7px 0;

    max-width: 600px;

    font-size: 25px;

    font-weight: 800;
}


.info-member-container p {
    max-width: 650px;

    margin: 0;

    color: #747e8b;

    font-size: 12px;

    line-height: 1.6;
}


.btn-member {
    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 13px 19px;

    border-radius: 24px;

    color: #ffffff;

    background: #2871d2;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

.footer-pengunjung {
    padding: 45px 25px 0;

    background: #17263b;

    color: #ffffff;
}


.footer-container {
    max-width: 1170px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1.3fr;

    gap: 60px;

    padding-bottom: 35px;
}


.footer-brand .logo-website {
    color: #ffffff;
}


.footer-brand .logo-website-text small {
    color: #aeb9c7;
}


.footer-brand p {
    max-width: 400px;

    margin-top: 15px;

    color: #aeb9c7;

    font-size: 11px;

    line-height: 1.7;
}


.footer-menu {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-menu h5 {
    margin: 0 0 7px;

    font-size: 12px;
}


.footer-menu a,
.footer-menu span {
    color: #aeb9c7;

    text-decoration: none;

    font-size: 10px;
}


.footer-menu a:hover {
    color: #ffffff;
}


.footer-bottom {
    padding: 18px;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,.1);

    color: #8f9aaa;

    font-size: 9px;
}


/* =====================================================
   PERBAIKAN LAYOUT
===================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.menu-dropdown {
    flex-shrink: 0;
}

.dropdown-informasi {
    top: calc(100% - 1px);
}

/* =====================================================
   MOBILE RESPONSIVE - SMART LIBRARY
===================================================== */



/* Tombol hamburger default disembunyikan */
.btn-menu-mobile {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .navbar-container {
        min-height: 65px;
        padding: 0 20px;
        gap: 10px;
    }

    .navbar-container .logo-website {
        flex: 1;
    }

    .btn-menu-mobile {
        display: flex;
    }

    .navbar-aksi {
        gap: 5px;
    }

    .btn-info-anggota {
        display: none;
    }

    .btn-search-nav {
        width: 38px;
        height: 38px;
    }

    .btn-masuk {
        min-height: 37px;
        padding: 0 13px;
    }


    /* ================= HERO ================= */

    .hero-pengunjung {
        padding: 45px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-content h1 {
        max-width: 650px;
        font-size: 38px;
    }

    .hero-content > p {
        max-width: 600px;
    }

    .hero-image-area {
        height: 350px;
    }

    .hero-image {
        border-radius: 30px;
    }


    /* ================= STATISTIK ================= */

    .statistik-website {
        gap: 25px;
        flex-wrap: wrap;
    }


    /* ================= LAYANAN ================= */

    .layanan-container {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ================= KOLEKSI ================= */

    .koleksi-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ================= MEMBER ================= */

    .info-member-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-member {
        width: fit-content;
    }


    /* ================= FOOTER ================= */

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    /* ---------- NAVBAR ---------- */

    .navbar-container {
        min-height: 62px;
        padding: 0 12px;
        gap: 4px;
    }

    .logo-website {
        gap: 8px;
    }

    .logo-website-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 19px;
    }

    .logo-website-text strong {
        font-size: 13px;
    }

    .logo-website-text small {
        display: none;
    }

    .navbar-aksi {
        gap: 2px;
    }

    .btn-menu-mobile {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .btn-search-nav {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .btn-masuk {
        min-height: 35px;
        padding: 0 10px;
        border-radius: 20px;
        font-size: 11px;
    }

    .btn-masuk i {
        font-size: 14px;
    }


    /* ---------- MOBILE MENU ---------- */

    .menu-utama {
        display: none;
        position: absolute;
        top: 62px;
        left: 10px;
        right: 10px;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 0;
        padding: 8px 0;

        background: #ffffff;
        border: 1px solid #e8edf3;
        border-radius: 14px;

        box-shadow: 0 12px 30px rgba(25, 45, 70, .12);

        z-index: 2000;
    }

    .menu-utama.menu-mobile-terbuka {
        display: flex;
    }

    .menu-utama > a,
    .menu-dropdown > a {
        padding: 13px 17px !important;
        width: 100%;
        border-radius: 8px;
    }

    .menu-utama > a:hover,
    .menu-dropdown > a:hover {
        background: #f4f8fd;
    }

    .menu-utama a.menu-aktif::after {
        display: none;
    }


    /* ---------- DROPDOWN INFORMASI ---------- */

    .menu-dropdown {
        width: 100%;
    }

    .dropdown-informasi {
        position: static;
        width: 100%;
        min-width: 0;

        padding: 0 10px 8px;

        border-radius: 0;
        box-shadow: none;

        background: #f8fafc;
    }

    .menu-dropdown:hover .dropdown-informasi {
        display: block;
    }

    .menu-dropdown > a {
        justify-content: space-between;
    }

    .dropdown-informasi a {
        padding: 10px 15px;
        font-size: 12px;
    }


    /* ---------- HERO ---------- */

    .hero-pengunjung {
        padding: 35px 15px 30px;
    }

    .hero-container {
        gap: 30px;
    }

    .badge-hero {
        max-width: 100%;
        padding: 7px 11px;
        font-size: 9px;
        line-height: 1.4;
    }

    .hero-content h1 {
        margin-top: 17px;
        font-size: 31px;
        line-height: 1.15;
        letter-spacing: -0.8px;
    }

    .hero-content h2 {
        font-size: 16px;
        line-height: 1.4;
    }

    .hero-content > p {
        font-size: 13px;
        line-height: 1.65;
    }


    /* ---------- HERO BUTTON ---------- */

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 20px;
    }

    .btn-utama,
    .btn-sekunder {
        width: 100%;
        min-height: 46px;
    }


    /* ---------- STATISTIK ---------- */

    .statistik-website {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .statistik-item {
        width: 100%;
    }


    /* ---------- HERO IMAGE ---------- */

    .hero-image-area {
        height: 260px;
    }

    .hero-image {
        border-radius: 20px;
    }

    .quote-buku {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        padding: 12px 15px;
    }

    .quote-buku p {
        font-size: 11px;
    }


    /* ---------- LAYANAN CEPAT ---------- */

    .layanan-cepat {
        padding: 0 15px 25px;
    }

    .layanan-container {
        grid-template-columns: 1fr;
        padding: 10px;
        border-radius: 16px;
    }

    .layanan-item {
        min-height: 58px;
        padding: 10px 8px;
        border-right: none;
        border-bottom: 1px solid #edf0f4;
    }

    .layanan-item:last-child {
        border-bottom: none;
    }

    .layanan-item strong {
        font-size: 11px;
    }

    .layanan-item span {
        font-size: 9px;
    }


    /* ---------- KOLEKSI ---------- */

    .koleksi-section {
        padding: 45px 15px;
    }

    .section-heading {
        margin-bottom: 22px;
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .section-heading p {
        font-size: 11px;
        line-height: 1.5;
    }

    .koleksi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .buku-card {
        border-radius: 13px;
    }

    .buku-cover {
        height: 145px;
        font-size: 42px;
    }

    .buku-info {
        padding: 11px;
    }

    .buku-info h4 {
        font-size: 11px;
        line-height: 1.35;
    }

    .buku-info p {
        font-size: 9px;
        margin: 4px 0 8px;
    }

    .status-buku {
        padding: 4px 7px;
        font-size: 8px;
    }


    /* ---------- MEMBER ---------- */

    .info-member {
        padding: 40px 15px;
    }

    .info-member-container {
        padding: 25px 20px;
        border-radius: 18px;
        gap: 20px;
    }

    .info-member-container h2 {
        font-size: 21px;
        line-height: 1.3;
    }

    .info-member-container p {
        font-size: 11px;
    }

    .btn-member {
        width: 100%;
        justify-content: center;
    }


    /* ---------- FOOTER ---------- */

    .footer-pengunjung {
        padding: 35px 15px 0;
    }

    .footer-container {
        gap: 25px;
        padding-bottom: 25px;
    }

    .footer-brand p {
        font-size: 10px;
    }

    .footer-bottom {
        padding: 15px 5px;
        font-size: 8px;
        line-height: 1.5;
    }
}


/* =====================================================
   EXTRA SMALL PHONE
===================================================== */

@media (max-width: 360px) {

    .navbar-container {
        padding: 0 9px;
    }

    .logo-website-text strong {
        font-size: 12px;
    }

    .btn-masuk {
        padding: 0 8px;
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 15px;
    }

    .koleksi-grid {
        gap: 8px;
    }

    .buku-cover {
        height: 130px;
    }

    .buku-info {
        padding: 9px;
    }
}


/* =====================================================
   SMART LIBRARY - NAVBAR FINAL FIX v4
   Jangan hapus CSS di atas. Override ini hanya untuk navbar.
===================================================== */

.navbar-desktop-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-desktop-actions .navbar-selamat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 220px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-desktop-actions .btn-masuk,
.navbar-desktop-actions .btn-info-anggota,
.navbar-desktop-actions .btn-logout {
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-desktop-actions .btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 14px;
    border-radius: 22px;
    color: #fff;
    background: #dc5b62;
    border: 1px solid #dc5b62;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.navbar-desktop-actions .btn-logout:hover {
    color: #fff;
    background: #c94c54;
    border-color: #c94c54;
}

.navbar-mobile-panel {
    display: none !important;
}

@media (min-width: 801px) {
    .btn-menu-mobile {
        display: none !important;
    }

    .navbar-mobile-panel {
        display: none !important;
    }

    .navbar-desktop-actions {
        display: flex !important;
    }
}

@media (max-width: 800px) {

    .navbar-container {
        position: relative;
    }

    /* Menu desktop tidak tampil di HP */
    .navbar-container > .menu-utama {
        display: none !important;
    }

    /* Semua aksi dipindahkan ke panel */
    .navbar-desktop-actions {
        display: none !important;
    }

    .navbar-aksi {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        margin-left: auto;
    }

    .btn-menu-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #374151;
        font-size: 23px;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Pastikan elemen aksi lama tidak muncul di samping hamburger */
    .navbar-aksi > .btn-search-nav,
    .navbar-aksi > .btn-masuk,
    .navbar-aksi > .btn-logout,
    .navbar-aksi > .navbar-selamat,
    .navbar-aksi > .btn-info-anggota {
        display: none !important;
    }

    /* PANEL */
    .navbar-mobile-panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: auto;
        width: min(340px, calc(100vw - 24px));
        max-height: calc(100vh - 80px);
        overflow-y: auto;

        flex-direction: column;
        padding: 10px;

        background: #fff;
        border: 1px solid #e8edf3;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(25,45,70,.15);

        z-index: 3000;
    }

    .navbar-mobile-panel.menu-mobile-terbuka {
        display: flex !important;
    }

    .mobile-menu-title {
        display: block;
        padding: 7px 10px 9px;
        color: #8a929d;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .8px;
        text-transform: uppercase;
    }

    .mobile-nav-link,
    .mobile-action {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;

        box-sizing: border-box;
        color: #374151;
        background: transparent;
        border: 0;
        border-radius: 10px;

        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        text-align: left;
    }

    .mobile-nav-link:hover,
    .mobile-action:hover {
        color: #2871d2;
        background: #f4f8fd;
    }

    .mobile-nav-link i,
    .mobile-action i {
        width: 20px;
        flex: 0 0 20px;
        text-align: center;
        font-size: 16px;
    }

    .mobile-menu-divider {
        display: block;
        height: 1px;
        margin: 8px 4px;
        background: #edf0f4;
    }

    .mobile-search {
        display: flex;
        align-items: center;
        gap: 9px;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        box-sizing: border-box;

        color: #374151;
        background: #f8fafc;
        border: 1px solid #e7edf3;
        border-radius: 10px;

        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        text-align: left;
    }

    .mobile-search:hover {
        color: #2871d2;
        background: #eef5ff;
    }

    .mobile-search i {
        width: 20px;
        text-align: center;
        font-size: 16px;
    }

    .navbar-mobile-panel .navbar-selamat {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        box-sizing: border-box;

        color: #4b5563;
        background: #f8fafc;
        border-radius: 10px;

        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
    }

    .navbar-mobile-panel .navbar-selamat i {
        flex: 0 0 20px;
        width: 20px;
        text-align: center;
    }

    .mobile-dashboard {
        color: #2871d2 !important;
        background: #eef5ff !important;
    }

    .mobile-info {
        color: #16895d !important;
        background: #eefaf5 !important;
    }

    .mobile-logout {
        color: #c94c54 !important;
        background: #fff1f2 !important;
    }

    .mobile-logout:hover {
        color: #b83f47 !important;
        background: #ffe5e7 !important;
    }
}

@media (max-width: 500px) {

    .navbar-container {
        min-height: 62px;
    }

    .navbar-mobile-panel {
        top: calc(100% + 6px);
        right: 9px;
        width: min(340px, calc(100vw - 18px));
        padding: 8px;
        border-radius: 14px;
    }

    .mobile-nav-link,
    .mobile-action,
    .mobile-search {
        min-height: 42px;
        font-size: 12px;
    }

    .navbar-mobile-panel .navbar-selamat {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .navbar-mobile-panel {
        right: 7px;
        width: calc(100vw - 14px);
    }
}


/* =====================================================
   NAVBAR FINAL v5 - URUTAN ANGGOTA
   Logout -> Dashboard -> Selamat Datang
===================================================== */

.navbar-desktop-actions {
    align-items: center;
}

.navbar-desktop-actions .navbar-selamat {
    margin-left: 2px;
}

@media (max-width: 800px) {
    .navbar-mobile-panel .mobile-logout {
        order: 1;
    }

    .navbar-mobile-panel .mobile-dashboard {
        order: 2;
    }

    .navbar-mobile-panel .mobile-welcome {
        order: 3;
    }
}


/* =====================================================
   MOBILE - DROPDOWN INFORMASI v6
===================================================== */

@media (max-width: 800px) {
    .mobile-info-dropdown {
        width: 100%;
    }

    .mobile-info-toggle {
        justify-content: space-between;
        cursor: pointer;
    }

    .mobile-info-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-info-label i {
        width: 20px;
        flex: 0 0 20px;
        text-align: center;
    }

    .mobile-info-chevron {
        width: auto !important;
        flex: 0 0 auto !important;
        font-size: 12px !important;
    }

    .mobile-info-submenu {
        display: none;
        margin: 0 4px 5px;
        padding: 4px 0 4px 18px;
        background: #f8fafc;
        border-left: 2px solid #dce9f8;
        border-radius: 0 8px 8px 0;
    }

    .mobile-info-submenu.mobile-info-submenu-terbuka {
        display: block;
    }

    .mobile-info-submenu a {
        display: block;
        padding: 9px 10px;
        color: #667085;
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.3;
        border-radius: 7px;
    }

    .mobile-info-submenu a:hover {
        color: #2871d2;
        background: #eef5ff;
    }
}


/* =====================================================
   SMART LIBRARY - NAVBAR & MENU FINAL
   Berdasarkan CSS asli, hanya menambahkan/perbaiki override.
===================================================== */

/* Tombol dropdown desktop */
.menu-dropdown > a {
    cursor: pointer;
}

.dropdown-informasi {
    min-width: 220px;
}

/* Panel menu mobile */
@media (max-width: 800px) {

    .navbar-mobile-panel .mobile-info-dropdown {
        width: 100%;
    }

    .navbar-mobile-panel .mobile-info-toggle {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        box-sizing: border-box;

        color: #374151;
        background: transparent;
        border: 0;
        border-radius: 10px;

        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

    .navbar-mobile-panel .mobile-info-toggle:hover {
        color: #2871d2;
        background: #f4f8fd;
    }

    .navbar-mobile-panel .mobile-info-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .navbar-mobile-panel .mobile-info-label > i {
        width: 20px;
        flex: 0 0 20px;
        text-align: center;
        font-size: 16px;
    }

    .navbar-mobile-panel .mobile-info-chevron {
        width: auto !important;
        flex: 0 0 auto !important;
        margin-left: auto;
        font-size: 12px !important;
    }

    .navbar-mobile-panel .mobile-info-submenu {
        display: none;
        width: calc(100% - 8px);
        margin: 0 4px 5px;
        padding: 4px 0 4px 18px;

        box-sizing: border-box;

        background: #f8fafc;
        border-left: 2px solid #dce9f8;
        border-radius: 0 8px 8px 0;
    }

    .navbar-mobile-panel .mobile-info-submenu.mobile-info-submenu-terbuka {
        display: block;
    }

    .navbar-mobile-panel .mobile-info-submenu a {
        display: block;
        width: 100%;
        padding: 9px 10px;
        box-sizing: border-box;

        color: #667085;
        background: transparent;
        text-decoration: none;

        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;

        border-radius: 7px;
    }

    .navbar-mobile-panel .mobile-info-submenu a:hover {
        color: #2871d2;
        background: #eef5ff;
    }

    /* Jangan biarkan aturan hover desktop membuka submenu mobile. */
    .navbar-mobile-panel .mobile-info-dropdown:hover .mobile-info-submenu {
        display: none;
    }

    .navbar-mobile-panel .mobile-info-dropdown:hover
    .mobile-info-submenu.mobile-info-submenu-terbuka {
        display: block;
    }
}

/* Ukuran lebih kecil untuk HP */
@media (max-width: 500px) {

    .navbar-mobile-panel .mobile-info-toggle {
        min-height: 42px;
        font-size: 12px;
    }

    .navbar-mobile-panel .mobile-info-submenu a {
        padding: 8px 10px;
        font-size: 10px;
    }
}

/* Hero hanya memiliki satu tombol utama */
.hero-buttons {
    gap: 0;
}

@media (max-width: 800px) {
    .hero-buttons {
        gap: 0;
    }
}


/* =====================================================
   FIX LAYOUT DESKTOP / LAPTOP
   Mencegah konten melebar dan terpotong ke kanan.
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Container utama harus mengikuti lebar viewport */
.navbar-container,
.hero-container,
.layanan-container,
.section-container,
.footer-container,
.info-member-container {
    width: 100%;
    box-sizing: border-box;
}

/* HERO */
.hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-content,
.hero-image-area,
.hero-image {
    min-width: 0;
}

/* QUICK ACCESS
   Sekarang hanya ada 3 item:
   Koleksi - Layanan - Kegiatan
*/
.layanan-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layanan-item {
    min-width: 0;
}

.layanan-item div:nth-child(2) {
    min-width: 0;
}

.layanan-item strong,
.layanan-item span {
    overflow-wrap: anywhere;
}

/* KOLEKSI */
.koleksi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.buku-card {
    min-width: 0;
}

.buku-info {
    min-width: 0;
}

/* FOOTER */
.footer-container {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr);
}

.footer-brand,
.footer-menu {
    min-width: 0;
}

/* =====================================================
   LAPTOP
===================================================== */

@media (max-width: 1200px) and (min-width: 801px) {

    .navbar-container {
        max-width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        gap: 18px;
    }

    .menu-utama {
        gap: 18px;
    }

    .navbar-desktop-actions {
        gap: 6px;
    }

    .navbar-desktop-actions .navbar-selamat {
        max-width: 170px;
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 35px;
    }

    .layanan-container,
    .section-container,
    .footer-container {
        max-width: calc(100% - 40px);
    }

    .layanan-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .koleksi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 800px) {

    .hero-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .layanan-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koleksi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 500px) {

    .layanan-container,
    .koleksi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =====================================================
   SMART LIBRARY - FINAL LAYOUT SAFETY v10
   CSS asli dipertahankan. Proteksi tambahan untuk layout.
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-container,
.hero-container,
.layanan-container,
.section-container,
.info-member-container,
.footer-container {
    width: 100%;
    max-width: 1170px;
    box-sizing: border-box;
}

.hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.layanan-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.koleksi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.layanan-item,
.buku-card,
.footer-brand,
.footer-menu,
.hero-content,
.hero-image-area {
    min-width: 0;
}

.layanan-item div:nth-child(2),
.buku-info {
    min-width: 0;
}

.layanan-item strong,
.layanan-item span,
.buku-info h4,
.buku-info p {
    overflow-wrap: break-word;
}

@media (max-width: 1200px) and (min-width: 801px) {

    .navbar-container {
        max-width: 100%;
    }

    .hero-container {
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    }

    .layanan-container,
    .section-container,
    .info-member-container,
    .footer-container {
        width: calc(100% - 40px);
        max-width: 1170px;
    }

    .layanan-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .koleksi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {

    .hero-container {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .layanan-container {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koleksi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 500px) {

    .layanan-container,
    .koleksi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =====================================================
   PERBAIKAN KHUSUS INDEX: KOLEKSI UNGGULAN DARI DATABASE
   CSS sebelumnya tetap dipertahankan; bagian ini hanya
   menyesuaikan kartu katalog di halaman beranda.
===================================================== */

.koleksi-section .koleksi-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 3px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding: 3px;
    -webkit-overflow-scrolling: touch;
}

.koleksi-section .koleksi-grid .buku-card {
    display: block;
    flex: 0 0 230px;
    width: 230px;
    min-width: 230px;
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
}

.koleksi-section .buku-cover {
    position: relative;
    overflow: hidden;
    height: 225px;
}

.koleksi-section .buku-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.koleksi-section .buku-cover > i {
    font-size: 58px;
}

.koleksi-section .buku-info {
    min-height: 145px;
}

.koleksi-section .buku-info h4 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 34px;
    line-height: 1.35;
}

.koleksi-section .buku-info p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.koleksi-section .kategori-buku-home {
    display: block;
    margin: 0 0 10px;
    color: #66758a;
    font-size: 10px;
}

.koleksi-section .status-buku {
    font-size: 10px;
}

.koleksi-section .koleksi-kosong {
    width: 100%;
    padding: 35px 20px;
    text-align: center;
    color: #718096;
    background: #fff;
    border: 1px dashed #d5dfeb;
    border-radius: 16px;
}

.koleksi-section .koleksi-kosong i {
    display: block;
    margin-bottom: 10px;
    font-size: 32px;
    color: #2871d2;
}

.koleksi-section .koleksi-kosong strong {
    display: block;
    color: #34445b;
    margin-bottom: 5px;
}

.koleksi-section .koleksi-kosong p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 576px) {
    .koleksi-section .koleksi-grid {
        gap: 14px;
    }

    .koleksi-section .koleksi-grid .buku-card {
        flex-basis: 195px;
        width: 195px;
        min-width: 195px;
    }

    .koleksi-section .buku-cover {
        height: 200px;
    }
}


/* =====================================================
   PENYEMPURNAAN BERANDA SMART LIBRARY
   CSS lama tetap dipertahankan; aturan berikut hanya untuk beranda.
===================================================== */

.pencarian-home-section {
    position: relative;
    z-index: 1;
    padding: 28px 24px 12px;
    background: #f5f8fc;
}

.pencarian-home-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 32px;
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(29, 58, 91, 0.06);
}

.pencarian-home-copy .pencarian-home-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #2871d2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.pencarian-home-copy h2 {
    margin: 0 0 8px;
    color: #20334d;
    font-size: clamp(21px, 2.3vw, 28px);
    line-height: 1.25;
    font-weight: 750;
}

.pencarian-home-copy p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
}

.pencarian-home-form {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 8px 8px 16px;
    background: #f7f9fc;
    border: 1px solid #dce5f0;
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pencarian-home-form:focus-within {
    border-color: #2871d2;
    box-shadow: 0 0 0 4px rgba(40, 113, 210, .10);
}

.pencarian-home-form > i {
    flex: 0 0 auto;
    color: #8292a8;
    font-size: 18px;
}

.pencarian-home-form input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 11px 0;
    color: #26384f;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 13px;
}

.pencarian-home-form input::placeholder {
    color: #9aa7b8;
}

.pencarian-home-form button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 17px;
    color: #fff;
    background: #2871d2;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.pencarian-home-form button:hover {
    background: #1d5eae;
    transform: translateY(-1px);
}

.layanan-cepat .layanan-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.koleksi-section {
    padding-top: 52px;
}

.koleksi-section .section-heading {
    margin-bottom: 22px;
}

.koleksi-section .section-heading p {
    max-width: 560px;
    line-height: 1.7;
}

.koleksi-section .buku-card {
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 55, 82, .045);
    transition: transform .22s ease, box-shadow .22s ease;
}

.koleksi-section .buku-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(31, 55, 82, .11);
}

.koleksi-section .buku-info {
    padding: 15px;
}

.koleksi-section .buku-info h4 {
    color: #26384f;
    font-size: 14px;
}

.koleksi-section .buku-info p {
    color: #7b8798;
    font-size: 12px;
}

@media (max-width: 850px) {
    .pencarian-home-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .pencarian-home-section {
        padding: 18px 15px 5px;
    }

    .pencarian-home-container {
        padding: 20px 16px;
        border-radius: 17px;
    }

    .pencarian-home-form {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .pencarian-home-form input {
        flex-basis: calc(100% - 34px);
    }

    .pencarian-home-form button {
        width: 100%;
    }

    .layanan-cepat .layanan-container {
        grid-template-columns: 1fr;
    }

    .koleksi-section {
        padding-top: 36px;
    }
}

/* =====================================================
   BERANDA MOBILE - STATISTIK 3 KOLOM
   Menampilkan statistik berjajar pada layar HP.
===================================================== */
@media (max-width: 500px) {
    .statistik-website {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 25px;
        align-items: stretch;
    }

    .statistik-website .statistik-item {
        min-width: 0;
        width: 100%;
        min-height: 104px;
        padding: 12px 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 7px;
        text-align: center;
        background: #ffffff;
        border: 1px solid #edf1f6;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(30, 55, 90, 0.05);
    }

    .statistik-website .statistik-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 10px;
        font-size: 16px;
    }

    .statistik-website .statistik-item div:last-child {
        min-width: 0;
        align-items: center;
    }

    .statistik-website .statistik-item strong {
        font-size: 17px;
        line-height: 1.2;
    }

    .statistik-website .statistik-item span {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .statistik-website {
        gap: 6px;
    }

    .statistik-website .statistik-item {
        min-height: 98px;
        padding: 10px 3px;
    }

    .statistik-website .statistik-item span {
        font-size: 9px;
    }
}


/* Statistik beranda: tambahan total eksemplar dan susunan empat kartu di HP. */
.statistik-icon.ungu {
    color: #7651b5;
    background: #f0eaff;
}

@media (max-width: 500px) {
    .statistik-website {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .statistik-website .statistik-item {
        padding-left: 3px;
        padding-right: 3px;
    }

    .statistik-website .statistik-item span {
        font-size: 9px;
    }
}
