/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f7fbff;
    color: #17324d;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   WARNA
========================================================= */

:root {
    --red: #d71920;
    --red-dark: #b51218;

    --yellow: #f4c430;
    --yellow-light: #fff5c7;

    --blue: #4db6e6;
    --blue-dark: #1479ad;
    --blue-light: #eaf7fd;

    --navy: #123b5d;
    --text: #17324d;
    --muted: #6c7d8d;

    --white: #ffffff;

    --border: #dceaf2;

    --shadow:
        0 12px 35px rgba(26, 83, 115, 0.10);
}


/* =========================================================
   HEADER LAMA / UMUM
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: none;

    min-height: 82px;

    isolation: isolate;
}


/* Garis bawah header */

.site-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        #0B3C5D 0%,
        #00A88F 45%,
        #d9b46c 70%,
        #0B3C5D 100%
    );

    z-index: 20;

    pointer-events: none;
}


/* =========================================================
   HEADER INNER LAMA
========================================================= */

.header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   BRAND LAMA
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;

    flex-shrink: 0;
}

.brand-logo {
    width: 70px;
    height: 70px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.2;

    min-width: 0;
}

.brand-text strong {
    color: var(--navy);

    font-size: 18px;
    font-weight: 800;

    white-space: nowrap;
}

.brand-text span {
    color: var(--red);

    font-size: 12px;
    font-weight: 700;

    margin-top: 4px;

    white-space: nowrap;
}


/* =========================================================
   NAVIGASI LAMA
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;
}

.main-nav a {
    padding: 10px 14px;

    color: #526979;

    font-size: 14px;
    font-weight: 700;

    border-radius: 9px;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.main-nav a:hover {
    color: var(--red);

    background: #fff1f1;
}

.main-nav a.active {
    color: var(--red);
}

.main-nav .login-link {
    color: white;

    background: var(--blue-dark);

    margin-left: 6px;

    padding-left: 20px;
    padding-right: 20px;
}

.main-nav .login-link:hover {
    color: white;

    background: var(--navy);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #eaf7fd 0%,
            #ffffff 55%,
            #fff7d7 100%
        );

    padding: 90px 0 100px;

    border-bottom: 1px solid var(--border);
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   HERO DECORATION
========================================================= */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    opacity: 0.65;
}

.hero-red {
    width: 220px;
    height: 220px;

    background: var(--red);

    right: -100px;
    top: -90px;
}

.hero-yellow {
    width: 150px;
    height: 150px;

    background: var(--yellow);

    left: -80px;
    bottom: -80px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    border-radius: 30px;

    background: #ffffff;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    box-shadow:
        0 6px 18px rgba(20, 80, 110, 0.08);
}

.hero h1 {
    margin-top: 20px;

    max-width: 720px;

    color: var(--navy);

    font-size: clamp(40px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;

    color: var(--red);
}

.hero-content > p {
    max-width: 620px;

    margin-top: 23px;

    color: var(--muted);

    font-size: 18px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

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

    min-height: 46px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    transition: 0.2s ease;
}

.btn-red {
    background: var(--red);

    color: white;

    box-shadow:
        0 8px 20px rgba(215, 25, 32, 0.22);
}

.btn-red:hover {
    background: var(--red-dark);

    transform: translateY(-2px);
}

.btn-outline {
    background: white;

    color: var(--blue-dark);

    border: 1px solid #b9dceb;
}

.btn-outline:hover {
    background: var(--blue-light);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    background: white;

    border-radius: 24px;

    padding: 35px;

    box-shadow: var(--shadow);

    border-top: 7px solid var(--red);

    position: relative;
}

.hero-card-top {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;
}

.hero-dot {
    width: 9px;
    height: 9px;

    background: var(--yellow);

    border-radius: 50%;
}

.hero-card-icon {
    width: 75px;
    height: 75px;

    margin: 28px 0 22px;

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

    border-radius: 20px;

    background: var(--blue-light);

    color: var(--blue-dark);

    font-size: 48px;
    font-weight: 300;
}

.hero-card h3 {
    color: var(--navy);

    font-size: 23px;

    line-height: 1.25;
}

.hero-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   NEWS SECTION
========================================================= */

.news-section {
    padding: 90px 0;

    background: white;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    margin-bottom: 35px;
}

.section-label {
    color: var(--red);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin-top: 7px;

    color: var(--navy);

    font-size: 36px;

    line-height: 1.15;
}

.section-heading p {
    margin-top: 9px;

    color: var(--muted);
}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.news-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    border-radius: 17px;

    box-shadow:
        0 8px 25px rgba(23, 67, 94, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 38px rgba(23, 67, 94, 0.13);
}

.news-image-link {
    display: block;
}

.news-image {
    width: 100%;
    height: 215px;

    object-fit: cover;
}

.news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    color: white;

    font-size: 32px;
    font-weight: 900;
}

.news-content {
    padding: 23px;
}

.news-meta {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    color: #8292a0;

    font-size: 12px;
}

.category {
    padding: 5px 9px;

    background: var(--yellow-light);

    color: #8b6900;

    border-radius: 6px;

    font-weight: 800;
}

.news-content h3 {
    margin-top: 12px;

    color: var(--navy);

    font-size: 20px;

    line-height: 1.3;
}

.news-content h3 a:hover {
    color: var(--red);
}

.news-content p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 17px;

    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}

.read-more:hover {
    color: var(--red-dark);
}

.read-more span {
    font-size: 17px;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-state {
    text-align: center;

    padding: 60px 20px;

    background: var(--blue-light);

    border-radius: 18px;
}

.empty-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

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

    border-radius: 50%;

    background: var(--blue);

    color: white;

    font-size: 32px;
}

.empty-state h3 {
    color: var(--navy);
}

.empty-state p {
    margin-top: 5px;

    color: var(--muted);
}


/* =========================================================
   SECTION ACTION
========================================================= */

.section-action {
    text-align: center;

    margin-top: 40px;
}

.btn-blue {
    background: var(--blue-dark);

    color: white;
}

.btn-blue:hover {
    background: var(--navy);

    transform: translateY(-2px);
}


/* =========================================================
   PENGUMUMAN
========================================================= */

.announcement-section {
    padding: 80px 0;

    background: #f7fbff;
}

.announcement-box {
    position: relative;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    align-items: center;

    padding: 45px;

    background: white;

    border-radius: 22px;

    border-left: 8px solid var(--yellow);

    box-shadow: var(--shadow);
}

.announcement-icon {
    width: 85px;
    height: 85px;

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

    border-radius: 22px;

    background: var(--yellow);

    color: #6d5500;

    font-size: 44px;
    font-weight: 900;
}

.yellow-label {
    color: #9a7500;
}

.announcement-content h2 {
    margin-top: 7px;

    color: var(--navy);

    font-size: 34px;
}

.announcement-content > p {
    margin-top: 8px;

    color: var(--muted);
}

.announcement-note {
    margin-top: 18px;

    padding: 13px 16px;

    background: var(--yellow-light);

    border-radius: 9px;

    color: #715b00;

    font-size: 13px;
}


/* =========================================================
   PENGUMUMAN DATABASE
========================================================= */

.announcement-heading {
    margin-bottom: 30px;
}

.yellow-label {
    color: #a17b00;
}

.announcement-list {
    display: grid;

    gap: 20px;
}

.announcement-item {
    display: grid;

    grid-template-columns: 75px 1fr;

    gap: 22px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #dceaf2;

    border-left: 7px solid #f4c430;

    border-radius: 17px;

    box-shadow:
        0 8px 28px rgba(23, 67, 94, 0.07);

    transition: 0.2s ease;
}

.announcement-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 32px rgba(23, 67, 94, 0.11);
}

.announcement-icon {
    width: 65px;
    height: 65px;

    display: flex;

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

    border-radius: 18px;

    background: #fff4c5;

    color: #8c6b00;

    font-size: 35px;

    font-weight: 900;
}

.announcement-meta {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 7px;
}

.announcement-meta span {
    color: #a17b00;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}

.announcement-meta small {
    color: #8a9aa6;

    font-size: 11px;
}

.announcement-content h3,
.announcement-content h2 {
    color: #123b5d;

    font-size: 23px;

    line-height: 1.3;
}

.announcement-text {
    margin-top: 12px;

    color: #657887;

    font-size: 15px;

    line-height: 1.75;
}

.announcement-link {
    display: inline-flex;

    margin-top: 17px;

    padding: 10px 15px;

    border-radius: 8px;

    background: #1479ad;

    color: white;

    font-size: 13px;

    font-weight: 800;
}

.announcement-link:hover {
    background: #123b5d;
}

.announcement-empty {
    padding: 65px 25px;

    background: #ffffff;

    border: 1px solid #dceaf2;

    border-radius: 17px;

    text-align: center;
}

.announcement-empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 17px;

    display: flex;

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

    border-radius: 50%;

    background: #eaf7fd;

    color: #1479ad;

    font-size: 28px;

    font-weight: 900;
}

.announcement-empty h2 {
    color: #123b5d;

    font-size: 22px;
}

.announcement-empty p {
    margin-top: 7px;

    color: #718391;

    font-size: 14px;
}


/* =========================================================
   HALAMAN PENGUMUMAN
========================================================= */

.page-hero {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #eaf7fd 0%,
            #ffffff 60%,
            #fff7d7 100%
        );

    border-bottom: 1px solid #dceaf2;
}

.page-hero h1 {
    margin-top: 8px;

    color: #123b5d;

    font-size: clamp(38px, 5vw, 52px);

    line-height: 1.1;
}

.page-hero p {
    max-width: 650px;

    margin-top: 12px;

    color: #6c7d8d;

    font-size: 16px;
}

.announcement-page {
    min-height: 500px;

    padding: 70px 0 90px;

    background: #f7fbff;
}


/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.btn-download {
    display: inline-block;

    margin-top: 10px;

    padding: 8px 12px;

    background: #087f9b;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}

.btn-download:hover {
    background: #066b82;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--navy);

    color: white;
}

.footer-inner {
    min-height: 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-brand strong {
    font-size: 19px;
}

.footer-brand p {
    margin-top: 5px;

    color: #bdd0de;

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}

.footer-links a {
    color: #dbeaf3;

    font-size: 13px;

    font-weight: 700;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    padding: 15px 0;

    background: #0c2d46;

    color: #a9c0cf;

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .hero-card {
        max-width: 550px;
    }

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

    .header-inner {
        gap: 15px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .main-nav a {
        padding: 9px 10px;

        font-size: 13px;
    }
}


/* =========================================================
   POSISI LOGO DESKTOP
========================================================= */

@media (min-width: 681px) {

    .site-header {
        min-height: 94px;
    }

    .header-inner {
        min-height: 94px;
    }

    .brand-logo {
        width: 66px;
        height: 66px;

        object-fit: contain;

        display: block;

        transform: translateY(-2px);
    }

    .brand {
        display: flex;

        align-items: center;

        gap: 12px;
    }
}


/* =========================================================
   MENU RUMWEB
========================================================= */

.rumweb-main-nav > a {
    color: #ffffff !important;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: .25s ease;
}

.rumweb-main-nav > a:hover {
    color: #FFE1E5 !important;
}

.rumweb-main-nav > a:visited {
    color: #ffffff !important;
}


/* =========================================================
   RUMWEB DESKTOP
========================================================= */

@media (min-width: 821px) {

    .rumweb-main-nav {
        display: flex !important;

        align-items: center !important;

        justify-content: flex-end !important;

        gap: 10px !important;

        margin-left: auto !important;
    }

    .rumweb-main-nav > a {
        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        min-height: 40px !important;

        padding: 10px 14px !important;

        margin: 0 !important;

        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;

        border-radius: 8px !important;

        font-size: 13px !important;

        font-weight: 700 !important;

        line-height: 1.2 !important;

        white-space: nowrap !important;

        text-decoration: none !important;

        box-sizing: border-box !important;
    }

    .rumweb-main-nav > a[href="#berita"] {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;
    }

    .rumweb-main-nav > a[href="pengumuman.php"] {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;
    }

    .rumweb-main-nav > a[href="video.php"] {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;
    }

    .rumweb-main-nav > a[href="kirim_berkas.php"] {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;
    }

    .rumweb-main-nav > a:not(.login-link):hover {
        color: #ffffff !important;

        background: #00A88F !important;

        border-color: #ffffff !important;
    }

    .rumweb-main-nav > a.active {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.45) !important;

        font-weight: 700 !important;
    }

    .rumweb-main-nav > a.active:hover {
        color: #ffffff !important;

        background: #00A88F !important;

        border-color: #ffffff !important;
    }

    .rumweb-main-nav > a.login-link {
        color: #ffffff !important;

        background: transparent !important;

        border: 1px solid rgba(255,255,255,.70) !important;

        border-radius: 999px !important;

        font-weight: 800 !important;
    }

    .rumweb-main-nav > a.login-link:hover {
        color: #ffffff !important;

        background: #F4B942 !important;

        border-color: #ffffff !important;
    }
}


/* =========================================================
   RUMWEB MOBILE
   =========================================================
   PENTING:
   Header HP dibuat TIDAK STICKY.
   Dengan demikian running text ikut bergeser
   dan tidak menimpa bagian BERITA ketika halaman
   kembali dari Pengumuman/Dokumentasi.
========================================================= */

@media (max-width: 820px) {

    .site-header {
        position: relative !important;

        top: auto !important;
        left: auto !important;

        width: 100% !important;

        min-height: 0 !important;
        height: auto !important;

        overflow: visible !important;

        z-index: 1000 !important;

        background: rgba(255,255,255,.98) !important;
    }


    /* Header inner Rumweb */

    .rumweb-header-inner {
        position: relative !important;

        width: calc(100% - 28px) !important;

        min-height: 76px !important;

        height: 76px !important;

        margin: 0 auto !important;

        display: flex !important;

        align-items: center !important;

        justify-content: space-between !important;

        gap: 12px !important;

        z-index: 10002 !important;
    }


    /* Tombol hamburger */

    .rumweb-menu-toggle {
        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        flex-direction: column !important;

        gap: 5px !important;

        width: 42px !important;

        height: 42px !important;

        min-width: 42px !important;

        padding: 8px !important;

        margin: 0 !important;

        border: 0 !important;

        border-radius: 8px !important;

        background: transparent !important;

        cursor: pointer !important;

        flex-shrink: 0 !important;

        position: relative !important;

        z-index: 10006 !important;

        pointer-events: auto !important;

        touch-action: manipulation !important;
    }

    .rumweb-menu-toggle span {
        display: block !important;

        width: 24px !important;

        height: 2px !important;

        background: #ffffff !important;

        border-radius: 2px !important;

        pointer-events: none !important;
    }


    /* Menu dropdown */

    .rumweb-main-nav {
        display: none !important;

        position: absolute !important;

        top: 70px !important;

        left: 0 !important;

        right: 0 !important;

        width: 100% !important;

        height: auto !important;

        min-height: 0 !important;

        margin: 0 !important;

        padding: 10px !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 5px !important;

        overflow: visible !important;

        background: #00A88F !important;

        border: 1px solid rgba(255,255,255,.25) !important;

        border-radius: 14px !important;

        box-shadow:
            0 18px 40px rgba(0,0,0,.22) !important;

        box-sizing: border-box !important;

        z-index: 10005 !important;

        pointer-events: auto !important;
    }


    .rumweb-main-nav.open {
        display: flex !important;

        z-index: 10005 !important;

        pointer-events: auto !important;
    }


    /* Semua tombol menu HP */

    .rumweb-main-nav > a {
        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        width: 100% !important;

        min-height: 44px !important;

        padding: 12px 14px !important;

        margin: 0 !important;

        color: #ffffff !important;

        background: #00A88F !important;

        border: 1px solid rgba(255,255,255,.65) !important;

        border-radius: 7px !important;

        font-size: 14px !important;

        font-weight: 800 !important;

        line-height: 1.2 !important;

        white-space: nowrap !important;

        text-decoration: none !important;

        box-sizing: border-box !important;

        position: relative !important;

        z-index: 10006 !important;

        pointer-events: auto !important;

        touch-action: manipulation !important;
    }


    .rumweb-main-nav > a:not(.login-link):hover {
        color: #ffffff !important;

        background: #008F7A !important;

        border-color: #ffffff !important;
    }


    .rumweb-main-nav > a.active {
        color: #ffffff !important;

        background: #00A88F !important;

        border: 1px solid rgba(255,255,255,.65) !important;

        font-weight: 800 !important;
    }


    .rumweb-main-nav > a.active:hover {
        color: #ffffff !important;

        background: #008F7A !important;

        border-color: #ffffff !important;
    }


    /* Login */

    .rumweb-main-nav > a.login-link {
        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        margin-top: 3px !important;

        color: #ffffff !important;

        background: #F4B942 !important;

        border-color: #ffffff !important;

        border-radius: 7px !important;

        font-weight: 800 !important;
    }

    .rumweb-main-nav > a.login-link:hover {
        color: #ffffff !important;

        background: #D99A20 !important;

        border-color: #ffffff !important;
    }


    /* =====================================================
       RUNNING TEXT
       ===================================================== */

    .running-text {
        position: relative !important;

        display: block !important;

        width: 100% !important;

        height: 38px !important;

        min-height: 38px !important;

        max-height: 38px !important;

        overflow: hidden !important;

        background: #ffffff !important;

        color: #176B3A !important;

        white-space: nowrap !important;

        border-top: 1px solid rgba(0,0,0,.08) !important;

        border-bottom: 1px solid rgba(0,0,0,.08) !important;

        box-sizing: border-box !important;

        z-index: 2 !important;

        pointer-events: none !important;
    }


    .running-text-inner {
        display: inline-block !important;

        position: relative !important;

        min-width: max-content !important;

        padding: 7px 0 !important;

        padding-left: 100vw !important;

        font-size: 16px !important;

        line-height: 1.4 !important;

        font-weight: 700 !important;

        animation:
            runningTextBerita
            38s
            linear
            infinite !important;

        will-change: transform;

        pointer-events: none !important;

        z-index: 2 !important;
    }


    /*
    | Garis bawah header berada setelah running text
    */

    .site-header::after {
        content: "";

        position: absolute;

        left: 0;
        right: 0;

        bottom: 0;

        width: 100%;

        height: 3px;

        background: linear-gradient(
            90deg,
            #0B3C5D 0%,
            #00A88F 45%,
            #d9b46c 70%,
            #0B3C5D 100%
        );

        z-index: 100 !important;

        pointer-events: none !important;
    }


    /* =====================================================
       BERITA
       ===================================================== */

    #berita {
        scroll-margin-top: 0 !important;
    }


    /* =====================================================
       HERO MOBILE
       ===================================================== */

    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-card {
        padding: 25px;
    }


    /* =====================================================
       NEWS MOBILE
       ===================================================== */

    .news-section {
        padding: 65px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .news-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .news-image {
        height: 210px;
    }


    /* =====================================================
       PENGUMUMAN MOBILE
       ===================================================== */

    .announcement-section {
        padding: 60px 0;
    }

    .announcement-box {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 28px;

        border-left-width: 6px;
    }

    .announcement-icon {
        width: 55px;

        height: 55px;

        border-radius: 15px;

        font-size: 28px;
    }

    .announcement-item {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 22px;

        border-left-width: 5px;
    }

    .announcement-content h2,
    .announcement-content h3 {
        font-size: 20px;
    }

    .announcement-text {
        font-size: 14px;

        line-height: 1.7;
    }

    .announcement-empty {
        padding: 45px 20px;

        text-align: center;
    }

    .announcement-empty-icon {
        width: 55px;

        height: 55px;
    }


    /* =====================================================
       PAGE HERO MOBILE
       ===================================================== */

    .page-hero {
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .announcement-page {
        padding: 50px 0 65px;
    }


    /* =====================================================
       FOOTER MOBILE
       ===================================================== */

    .footer-inner {
        padding: 35px 0;

        align-items: flex-start;

        flex-direction: column;
    }

    .footer-links {
        gap: 12px;
    }
}


/* =========================================================
   HP SANGAT KECIL 320 - 380 PX
========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 20px);
    }

    .rumweb-header-inner {
        width: calc(100% - 20px) !important;
    }

    .rumweb-main-nav > a {
        font-size: 13px !important;

        padding: 11px 12px !important;

        min-height: 42px !important;
    }

    .rumweb-main-nav > a.login-link {
        font-size: 13px !important;
    }

    .running-text-inner {
        font-size: 15px !important;
    }
}


/* =========================================================
   ANIMASI RUNNING TEXT
========================================================= */

@keyframes runningTextBerita {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =========================================================
   PERLINDUNGAN TERHADAP KONFLIK CSS LAMA
========================================================= */

/*
|--------------------------------------------------------------------------
| CSS lama menggunakan .main-nav.
| Rumweb menggunakan .rumweb-main-nav.
| Keduanya sengaja dipisahkan agar tidak saling mengganggu.
|--------------------------------------------------------------------------
*/

.rumweb-main-nav,
.rumweb-main-nav *,
.rumweb-menu-toggle,
.rumweb-menu-toggle * {
    -webkit-tap-highlight-color: transparent;
}


/*
|--------------------------------------------------------------------------
| Running text tidak pernah boleh menerima klik/touch.
|--------------------------------------------------------------------------
*/

.running-text,
.running-text-inner {
    pointer-events: none !important;
}


/*
|--------------------------------------------------------------------------
| Saat menu HP terbuka, menu harus berada paling atas.
|--------------------------------------------------------------------------
*/

@media (max-width: 820px) {

    .rumweb-main-nav.open {
        z-index: 10005 !important;
    }

    .rumweb-main-nav.open > a {
        z-index: 10006 !important;
    }

    .rumweb-menu-toggle {
        z-index: 10007 !important;
    }
}

@media screen and (max-width: 768px) {

    body .rumweb-main-nav {
        position: absolute !important;

        top: 100% !important;
        right: 0 !important;
        left: auto !important;

        width: fit-content !important;
        max-width: 250px !important;

        margin: 4px 0 0 0 !important;
        padding: 5px !important;

        background: rgba(77, 182, 230, 0.96) !important;

        border: 1px solid rgba(255,255,255,.25) !important;
        border-radius: 12px !important;

        box-shadow: 0 5px 16px rgba(18,59,93,.20) !important;

        z-index: 9999 !important;
    }

    body .rumweb-main-nav ul {
        margin: 0 !important;
        padding: 0 !important;
        gap: 2px !important;
    }

    body .rumweb-main-nav ul li {
        margin: 0 !important;
        padding: 0 !important;
    }

    body .rumweb-main-nav ul li a {
        padding: 8px 22px !important;
        margin: 0 !important;

        background: transparent !important;
        color: #ffffff !important;

        border-radius: 9px !important;
        white-space: nowrap !important;
    }

    body .rumweb-main-nav ul li a:active,
    body .rumweb-main-nav ul li a.active {
        background: #ffffff !important;
        color: #1479ad !important;
    }
}