@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --beranda-primary: #f4b000;
    --beranda-primary-dark: #d59400;
    --beranda-secondary: #1d2a4a;
    --beranda-muted: #6c7a91;
    --beranda-surface: #ffffff;
    --beranda-background: #f6f8fb;
    --beranda-shadow-soft: 0 25px 60px -30px rgba(18, 30, 54, 0.5);
    --beranda-shadow-card: 0 18px 35px -25px rgba(22, 31, 51, 0.45);
    --beranda-radius-lg: 24px;
    --beranda-radius-md: 18px;
    --struktur-line-color: rgba(29, 42, 74, 0.18);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--beranda-secondary);
    background: var(--beranda-background);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

p {
    color: var(--beranda-muted);
}

a {
    color: inherit;
}

a:hover,
a:focus {
    color: var(--beranda-primary-dark);
}

section {
    position: relative;
}

body.has-navbar-offset {
    scroll-padding-top: calc(var(--navbar-offset, 72px) + 16px);
}

section[id],
.beranda-hero {
    scroll-margin-top: calc(var(--navbar-offset, 72px) + 24px);
}

/* Navbar ------------------------------------------------------------------ */

.navbar-beranda {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 37, 63, 0.08);
    box-shadow: 0 32px 60px -38px rgba(13, 23, 45, 0.55);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.navbar-beranda.is-scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(24, 37, 63, 0.12);
    box-shadow: 0 26px 46px -30px rgba(15, 26, 47, 0.55);
}

.navbar-beranda .navbar-brand {
    color: var(--beranda-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;    
}

.navbar-beranda .navbar-brand:hover,
.navbar-beranda .navbar-brand:focus {
    color: var(--beranda-primary-dark);
}

.navbar-beranda .navbar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text-top {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--beranda-secondary);
}

.brand-text-bottom {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--beranda-muted);
}

.navbar-nav-gap {
    gap: 0 1.6rem;
}

.navbar-beranda .nav-link {
    font-weight: 500;
    color: var(--beranda-muted);
    padding: 0.45rem 0;
    position: relative;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar-beranda .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-beranda .dropdown-toggle::after {
    display: none;
}

.navbar-beranda .dropdown-caret {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: 0.1rem;
}

.navbar-beranda .nav-item.dropdown.show .dropdown-caret {
    transform: rotate(-135deg);
}

.navbar-beranda .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.navbar-beranda .nav-link:hover,
.navbar-beranda .nav-link:focus,
.navbar-beranda .nav-link.active {
    color: var(--beranda-secondary);
}

.navbar-beranda .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--beranda-primary) 0%, var(--beranda-primary-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.navbar-beranda .nav-link:hover::after,
.navbar-beranda .nav-link:focus::after,
.navbar-beranda .nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}


.navbar-beranda .dropdown-menu {
    position: absolute;
    border-radius: 18px;
    padding: 0.75rem;
    border: 1px solid rgba(24, 37, 63, 0.08);
    box-shadow: var(--beranda-shadow-card);
    background: rgba(255, 255, 255, 0.97);
    margin-top: 0.85rem;
    min-width: 14rem;
    gap: 0.35rem;
    transform: translateY(6px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-beranda .dropdown-menu.show {
    display: grid;
    transform: translateY(0);
    opacity: 1;
}

.navbar-beranda .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.55rem;
    right: 2.4rem;
    width: 0.85rem;
    height: 0.85rem;
    background: inherit;
    border-left: 1px solid rgba(24, 37, 63, 0.08);
    border-top: 1px solid rgba(24, 37, 63, 0.08);
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
}

.navbar-beranda .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
    color: var(--beranda-muted);
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.navbar-beranda .dropdown-item:hover,
.navbar-beranda .dropdown-item:focus {
    background: rgba(244, 176, 0, 0.14);
    color: var(--beranda-secondary);
}

.navbar-beranda .navbar-toggler {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.35rem;
    transition: color 0.3s ease;
    box-shadow: none;
    z-index: 1100;
}

.navbar-beranda .navbar-toggler:hover,
.navbar-beranda .navbar-toggler:focus {
    background: transparent;
    box-shadow: none;
    color: var(--beranda-primary-dark);
}

.navbar-collapse-beranda {
    justify-content: flex-end;
}

.navbar-beranda .navbar-actions {
    display: inline-flex;
    align-items: center;
}

.navbar-beranda .navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #1f253a;
    background: linear-gradient(135deg, var(--beranda-primary) 0%, #ffd361 100%);
    border: none;
    box-shadow: 0 18px 40px -22px rgba(244, 176, 0, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-beranda .navbar-cta:hover,
.navbar-beranda .navbar-cta:focus {
    transform: translateY(-2px);
    color: #1f253a;
    box-shadow: 0 22px 46px -20px rgba(244, 176, 0, 0.92);
}

@media (max-width: 1199.98px) {
    .navbar-nav-gap {
        gap: 0 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-beranda {
        padding: 0.85rem 0;
    }

    .navbar-collapse-beranda {
        order: 3;
        width: 100%;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0.85rem;
        padding: 1rem 0 0;
        border-top: 1px solid rgba(29, 42, 74, 0.08);
    }

    .navbar-nav-gap {
        gap: 0.5rem 0;
        width: 100%;
    }

    .navbar-beranda .nav-link {
        padding: 0.6rem 0;
    }

    .navbar-beranda .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .navbar-beranda .nav-link::after {
        display: none;
    }

    .navbar-beranda .dropdown-menu {
        position: static;
        float: none;
        margin: 0.35rem 0 0;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(24, 37, 63, 0.06);
        box-shadow: var(--beranda-shadow-soft);
        padding: 0.45rem 0.6rem;
        border-radius: 14px;
        gap: 0.2rem;
        transform: none;
        opacity: 1;
        transition: none;
    }

    .navbar-beranda .dropdown-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .navbar-beranda .dropdown-menu::before {
        content: none;
    }

    .navbar-beranda .dropdown-menu.show {
        display: block;
    }

    .navbar-beranda .navbar-actions {
        width: 100%;
    }

    .navbar-beranda .navbar-cta {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .navbar-beranda .navbar-brand img {
        width: 36px;
        height: 36px;
    }

    .brand-text-top {
        font-size: 0.85rem;
    }

    .brand-text-bottom {
        font-size: 0.75rem;
    }
}

/* Hero ------------------------------------------------------------------ */

.beranda-hero {
    background: radial-gradient(circle at 20% 20%, rgba(244, 176, 0, 0.18), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(29, 42, 74, 0.08), transparent 60%),
        var(--beranda-background);
    color: var(--beranda-secondary);
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.beranda-hero__badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(244, 176, 0, 0.16);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--beranda-primary-dark);
}

.beranda-hero .display-5 {
    line-height: 1.15;
}


.beranda-hero .display-5 span {
    color: var(--beranda-primary);
}

.beranda-hero .lead {
    max-width: 34rem;
    color: rgba(36, 48, 82, 0.72);
}

.beranda-hero__cta,
.beranda-hero__cta--outline {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.85rem 1.7rem;
}

.beranda-hero__cta {
    background-color: var(--beranda-primary);
    border-color: var(--beranda-primary);
    color: #1e2438;
    box-shadow: 0 14px 24px -12px rgba(244, 176, 0, 0.8);
}

.beranda-hero__cta:hover,
.beranda-hero__cta:focus {
    background-color: var(--beranda-primary-dark);
    border-color: var(--beranda-primary-dark);
}

.beranda-hero__cta--outline {
    border: 1px solid rgba(29, 42, 74, 0.2);
    color: var(--beranda-secondary);
}

.beranda-hero__cta--outline:hover,
.beranda-hero__cta--outline:focus {
    background-color: rgba(244, 176, 0, 0.12);
    color: var(--beranda-secondary);
}

.beranda-hero__card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--beranda-radius-lg);
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: var(--beranda-secondary);
    border: 1px solid rgba(29, 42, 74, 0.08);
    box-shadow: var(--beranda-shadow-soft);
}

.beranda-hero__image {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(244, 176, 0, 0.35);
    box-shadow: 0 12px 22px -18px rgba(21, 33, 55, 0.55);
}

.beranda-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beranda-hero__content {
    max-width: 22rem;
}

.beranda-hero__wave {
    display: none;
}

/* Highlight ------------------------------------------------------------------ */

.beranda-highlight {
    background: var(--beranda-background);
}

.highlight-card {
    position: relative;
    background: var(--beranda-surface);
    border-radius: var(--beranda-radius-md);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(24, 37, 63, 0.08);
    box-shadow: var(--beranda-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.highlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.2) 0%, rgba(244, 176, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.highlight-card * {
    position: relative;
    z-index: 1;
}

.highlight-card:hover,
.highlight-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 28px 45px -35px rgba(18, 30, 54, 0.7);
    border-color: rgba(244, 176, 0, 0.35);
}

.highlight-card:hover::after,
.highlight-card:focus-within::after {
    opacity: 1;
}

.highlight-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(244, 176, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.highlight-card__link {
    font-weight: 600;
    color: var(--beranda-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.highlight-card__link::after {
    content: '>';
    font-weight: 700;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-card__link::after,
.highlight-card:focus-within .highlight-card__link::after {
    transform: translateX(4px);
}

/* Flow ------------------------------------------------------------------ */

.beranda-flow {
    background: var(--beranda-surface);
}

.flow-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(244, 176, 0, 0.18);
    color: var(--beranda-primary-dark);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.flow-step {
    background: linear-gradient(180deg, rgba(246, 248, 251, 0.75) 0%, #ffffff 55%);
    border-radius: var(--beranda-radius-md);
    border: 1px solid rgba(24, 37, 63, 0.07);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--beranda-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px -32px rgba(16, 29, 51, 0.65);
}

.flow-step__number {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(244, 176, 0, 0.18);
    color: var(--beranda-primary-dark);
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--beranda-secondary);
}

/* Berita ------------------------------------------------------------------ */

.berita-instansi {
    background: var(--beranda-surface);
}

.berita-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(19, 33, 58, 0.08);
    color: var(--beranda-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.berita-index-grid {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}

.berita-index-page,
.agenda-page,
.prestasi-page {
    position: relative;
    background: radial-gradient(circle at 12% 18%, rgba(244, 176, 0, 0.16), transparent 55%),
        radial-gradient(circle at 88% 12%, rgba(29, 42, 74, 0.08), transparent 60%),
        var(--beranda-background);
    overflow: hidden;
}

.berita-index-page::after,
.agenda-page::after,
.prestasi-page::after {
    content: none;
}

.berita-index-hero {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    padding: 1.8rem 1.4rem 2.4rem;
    position: relative;
}

.berita-index-title {
    display: inline-block;
    font-size: clamp(2rem, 1.6rem + 1.45vw, 2.8rem);
    color: #1f2745;
    margin-bottom: 1.15rem;
    position: relative;
}

.berita-index-subtitle {
    color: rgba(36, 48, 82, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
}

.berita-index-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1.4rem;
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 176, 0, 0), rgba(244, 176, 0, 0.65), rgba(244, 176, 0, 0));
    transform: translateX(-50%);
}

.berita-index-card {
    background: linear-gradient(160deg, #ffffff 0%, #f5f7ff 100%);
    border-radius: var(--beranda-radius-md);
    border: 1px solid rgba(24, 37, 63, 0.04);
    overflow: hidden;
    box-shadow: 0 18px 36px -28px rgba(16, 27, 48, 0.65);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.berita-index-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 176, 0, 0.4);
    box-shadow: 0 32px 60px -34px rgba(16, 27, 48, 0.78);
    background: linear-gradient(160deg, #ffffff 0%, #f3f6ff 100%);
}

.berita-index-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(18, 30, 54, 0.06);
}

.berita-index-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.berita-index-card:hover .berita-index-card__media img {
    transform: scale(1.06);
}

.berita-index-card__media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: rgba(24, 37, 63, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.berita-index-card__body {
    padding: 1.85rem 1.8rem 1.45rem;
    position: relative;
}

.berita-index-card__title-link {
    text-decoration: none;
}

.berita-index-card__title {
    font-size: 1.2rem;
    color: #1f2745;
    margin-bottom: 0.6rem;
}

.berita-index-card__excerpt {
    color: rgba(36, 48, 82, 0.7);
    margin-bottom: 1.25rem;
}

.berita-index-card__excerpt--empty {
    min-height: 1.5rem;
}

.berita-index-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.35rem;
    font-size: 0.92rem;
    color: rgba(36, 48, 82, 0.6);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon svg {
    width: 1rem;
    height: 1rem;
    fill: rgba(244, 176, 0, 0.9);
}

.berita-index-card__date {
    display: block;
    padding: 0.85rem 1.8rem 1.6rem;
    font-size: 0.9rem;
    color: rgba(36, 48, 82, 0.6);
    border-top: 1px solid rgba(24, 37, 63, 0.06);
    background: transparent;
}

/* Gallery ------------------------------------------------------------------ */

.beranda-gallery {
    background: var(--beranda-background);
}

.gallery-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(244, 176, 0, 0.18);
    color: var(--beranda-primary-dark);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.beranda-gallery-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--beranda-shadow-card);
    background: rgba(18, 30, 54, 0.06);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(180deg, rgba(15, 24, 43, 0) 0%, rgba(15, 24, 43, 0.8) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card:hover .gallery-card__caption,
.gallery-card:focus-within .gallery-card__caption {
    transform: translateY(0);
}

.gallery-card__label {
    font-weight: 600;
}

.gallery-card__zoom {
    border: none;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-card__zoom:hover,
.gallery-card__zoom:focus {
    background: rgba(255, 255, 255, 0.35);
}

.gallery-modal {
    background: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.gallery-modal__image {
    width: 100%;
    height: auto;
}

.gallery-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
}

.gallery-modal__close:hover,
.gallery-modal__close:focus {
    background: rgba(15, 23, 42, 0.85);
}

/* Buttons ------------------------------------------------------------------ */

.btn.btn-outline-warning {
    border-color: rgba(244, 176, 0, 0.65);
    color: var(--beranda-primary-dark);
    font-weight: 600;
}

.btn.btn-outline-warning:hover,
.btn.btn-outline-warning:focus {
    border-color: var(--beranda-primary);
    background-color: rgba(244, 176, 0, 0.16);
    color: var(--beranda-secondary);
}

/* Responsive ------------------------------------------------------------------ */

@media (max-width: 1199.98px) {
    .beranda-hero {
        padding: 5rem 0 6rem;
    }

    .beranda-hero__card {
        padding: 2rem;
    }
}

@media (max-width: 991.98px) {
    body {
        background: var(--beranda-surface);
    }

    .beranda-hero {
        padding: 4.5rem 0 5.5rem;
    }

    .beranda-hero .lead {
        max-width: 100%;
    }

    .beranda-hero__card {
        padding: 2rem;
        flex-direction: row;
    }

    .flow-step {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .beranda-hero {
        text-align: center;
    }

    .beranda-hero__card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .beranda-hero__content {
        max-width: none;
    }

    .highlight-card {
        padding: 2rem 1.75rem;
    }

    .gallery-card__caption {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .beranda-hero {
        padding: 3.75rem 0 4.5rem;
    }

.beranda-hero__card {
        padding: 1.75rem 1.5rem;
    }

    .beranda-hero__badge,
    .flow-badge,
    .berita-badge,
    .gallery-badge {
        font-size: 0.75rem;
    }

    .flow-step {
        padding: 1.75rem 1.4rem;
    }

    .flow-step__number {
        width: 44px;
        height: 44px;
    }

    .berita-index-card__body {
        padding: 1.55rem 1.45rem 1.3rem;
    }

    .berita-index-card__date {
        padding: 0.75rem 1.45rem 1.3rem;
    }
}

/* Statistik Section ------------------------------------------------------ */

.beranda-stats {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(244, 176, 0, 0.18), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(29, 42, 74, 0.08), transparent 60%),
        var(--beranda-background);
}

.stats-overlay {
    display: none;
}

.stats-badge {
    background: rgba(244, 176, 0, 0.16);
    color: var(--beranda-primary-dark);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    text-transform: uppercase;
}

.text-stats-muted {
    color: rgba(36, 48, 82, 0.78);
}

.stats-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(29, 42, 74, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    color: var(--beranda-secondary);
    box-shadow: 0 22px 45px -32px rgba(18, 30, 54, 0.35);
}

.stats-card:hover,
.stats-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(244, 176, 0, 0.3);
    box-shadow: 0 28px 60px -30px rgba(18, 30, 54, 0.45);
}

.stats-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: rgba(244, 176, 0, 0.16);
    color: var(--beranda-primary-dark);
}

.stats-card__icon svg {
    width: 38px;
    height: 38px;
}

.stats-card__value {
    font-size: clamp(2.1rem, 2.6vw + 1rem, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    color: #1f2745;
}

.stats-card__label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(36, 48, 82, 0.6);
    margin-bottom: 0;
}

.beranda-stats h2 {
    color: #1f2745;
}

@media (max-width: 991.98px) {
    .stats-card {
        padding: 1.8rem 1.4rem;
    }

    .stats-card__icon {
        width: 58px;
        height: 58px;
        margin-bottom: 1.2rem;
    }

    .stats-card__icon svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 575.98px) {
    .stats-card {
        padding: 1.6rem 1.3rem;
    }

    .stats-card__value {
        font-size: 2.1rem;
    }
}

/* Footer ----------------------------------------------------------------- */

.footer-beranda {
    background: linear-gradient(160deg, #101a32 0%, #18264a 100%);
    position: relative;
    overflow: hidden;
}

.footer-beranda::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 140% at 10% 0%, rgba(255, 204, 0, 0.14) 0%, rgba(255, 204, 0, 0) 55%),
        radial-gradient(120% 140% at 90% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.footer-beranda .footer-top,
.footer-beranda .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.footer-column {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-column__accent {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--beranda-primary) 0%, var(--beranda-primary-dark) 100%);
    display: inline-block;
}

.footer-column__title {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-about {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    align-items: center;
}

.footer-logo {
    display: block;
    width: 72px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.footer-about__name {
    color: #ffffff;
    font-weight: 700;
}

.footer-social {
    display: inline-flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    background: rgba(244, 176, 0, 0.5);
    transform: translateY(-2px);
}

.footer-schedule {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-schedule__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-schedule dt {
    font-weight: 600;
    margin: 0;
}

.footer-schedule dd {
    margin: 0;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links--divider li {
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links--divider li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact__label {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.86);
}

.footer-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact__item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: baseline;
}

.footer-contact__type {
    font-weight: 600;
    color: #ffffff;
}

.footer-contact__link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-contact__link:hover,
.footer-contact__link:focus {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact__address {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-map {
    position: relative;
    width: 100%;
    min-height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.75);
    aspect-ratio: 4 / 3;
}

.footer-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.18);
}

.footer-bottom small {
    color: rgba(255, 255, 255, 0.74);
}

.footer-bottom small strong {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .footer-about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column__title {
        letter-spacing: 0.03em;
    }

    .footer-about {
        justify-items: center;
    }

.footer-schedule__row {
    flex-direction: column;
    align-items: flex-start;
}
}

/* Layanan Page ------------------------------------------------------------ */

.layanan-hero {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(244, 176, 0, 0.18), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(29, 42, 74, 0.08), transparent 50%),
        var(--beranda-background);
    overflow: hidden;
}

.layanan-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: url("data:image/svg+xml,%3Csvg width='1440' height='90' viewBox='0 0 1440 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 90L48 86C96 82 192 74 288 60C384 46 480 26 576 18C672 10 768 14 864 28C960 42 1056 66 1152 74C1248 82 1344 74 1392 70L1440 66V0H1392C1344 0 1248 0 1152 0C1056 0 960 0 864 0C768 0 672 0 576 0C480 0 384 0 288 0C192 0 96 0 48 0H0V90Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
    pointer-events: none;
}

.layanan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(244, 176, 0, 0.16);
    color: var(--beranda-primary-dark);
}

.layanan-hero__illustration {
    max-width: 420px;
    border-radius: var(--beranda-radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 176, 0, 0.18));
    padding: 1.5rem;
}

.layanan-wrapper {
    position: relative;
    margin-top: -40px;
    padding-top: 64px;
}

.layanan-search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--beranda-surface);
    border-radius: var(--beranda-radius-md);
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    border: 1px solid rgba(29, 42, 74, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.layanan-search:focus-within {
    border-color: rgba(244, 176, 0, 0.6);
    box-shadow: 0 22px 35px -25px rgba(22, 31, 51, 0.35);
}

.layanan-search__icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.layanan-search__icon i {
    color: var(--beranda-primary);
}

.layanan-search .form-control {
    border: none;
    box-shadow: none;
    font-weight: 500;
    padding: 0.65rem 0.75rem;
    color: var(--beranda-secondary);
}

.layanan-search .form-control::placeholder {
    color: var(--beranda-muted);
}

.layanan-search__clear {
    border: none;
    background: rgba(244, 176, 0, 0.18);
    color: var(--beranda-primary-dark);
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.35rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.layanan-search__clear:hover,
.layanan-search__clear:focus {
    background: rgba(244, 176, 0, 0.28);
    transform: translateY(-1px);
}

.layanan-card {
    background: var(--beranda-surface);
    border-radius: var(--beranda-radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(29, 42, 74, 0.08);
    box-shadow: var(--beranda-shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.layanan-card:hover,
.layanan-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 42px -32px rgba(22, 31, 51, 0.4);
    border-color: rgba(244, 176, 0, 0.45);
}

.layanan-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.8rem;
    background: none;
    border: 0;
}

.layanan-card__icon i {
    color: #ffffff;
    -webkit-text-stroke: 1.2px rgba(244, 176, 0, 0.9);
    text-stroke: 1.2px rgba(244, 176, 0, 0.9);
}

.layanan-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--beranda-secondary);
}

.layanan-card__subtitle {
    font-size: 0.95rem;
    color: var(--beranda-muted);
}

.layanan-card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.layanan-card__button {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(244, 176, 0, 0.5);
    color: var(--beranda-secondary);
    background: rgba(244, 176, 0, 0.16);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.layanan-card__button:hover,
.layanan-card__button:focus {
    background: rgba(244, 176, 0, 0.28);
    border-color: rgba(244, 176, 0, 0.65);
    transform: translateY(-1px);
}

.layanan-card__button-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    position: relative;
    transition: transform 0.3s ease;
}

.layanan-card__button-icon::before,
.layanan-card__button-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.layanan-card__button-icon::before {
    width: 8px;
    height: 2px;
}

.layanan-card__button-icon::after {
    width: 2px;
    height: 8px;
    transition: opacity 0.3s ease;
}

.layanan-card.is-expanded .layanan-card__button-icon {
    transform: rotate(180deg);
}

.layanan-card.is-expanded .layanan-card__button-icon::after {
    opacity: 0;
}

.layanan-card__section {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--beranda-secondary);
}

.layanan-card__list {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--beranda-muted);
    font-weight: 500;
}

.layanan-card__list li {
    position: relative;
}

.layanan-card__list li::marker {
    color: var(--beranda-primary-dark);
}

.layanan-card__list li + li {
    margin-top: 0.25rem;
}

#layananEmptyState {
    max-width: 420px;
    margin-inline: auto;
    border-radius: var(--beranda-radius-md);
    background: rgba(29, 42, 74, 0.04);
}

@media (max-width: 991.98px) {
    .layanan-hero__illustration {
        max-width: 360px;
    }

    .layanan-wrapper {
        margin-top: -24px;
    }
}

@media (max-width: 767.98px) {
    .layanan-card {
        padding: 1.5rem;
    }

    .layanan-card__title {
        font-size: 1.15rem;
    }

    .layanan-card__subtitle {
        font-size: 0.92rem;
    }

    .layanan-search {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .layanan-search .form-control {
        flex: 1 1 100%;
    }

    .layanan-search__clear {
        margin-left: auto;
    }

    .layanan-card__button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .layanan-badge {
        width: 100%;
        justify-content: center;
    }

    .layanan-wrapper {
        padding-top: 48px;
    }

    #layananEmptyState {
        padding-inline: 1.25rem;
    }
}
/* Agenda page ---------------------------------------------------------------- */




.agenda-breadcrumb__list {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    justify-content: center;
}

.agenda-breadcrumb__list .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(29, 42, 74, 0.45);
    content: '\203a';
    font-size: 0.9rem;
    vertical-align: middle;
}

.agenda-title {
    display: inline-block;
    font-size: clamp(2rem, 1.6rem + 1.45vw, 2.8rem);
    font-weight: 700;
    color: #1f2745;
    margin-bottom: 1.1rem;
}

.agenda-header {
    max-width: 760px;
    margin: 0 auto 2.6rem;
    text-align: center;
    padding: 1.8rem 1.4rem 2.4rem;
}

.agenda-subtitle {
    font-size: 1.05rem;
    color: rgba(36, 48, 82, 0.7);
    margin: 0;
    line-height: 1.7;
    position: relative;
}

.agenda-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1.4rem;
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 176, 0, 0), rgba(244, 176, 0, 0.65), rgba(244, 176, 0, 0));
    transform: translateX(-50%);
}

.agenda-list {
    display: grid;
    gap: 1.75rem;
}

.agenda-card {
    background: linear-gradient(160deg, #ffffff 0%, #f6f8ff 100%);
    border-radius: var(--beranda-radius-md);
    border: 1px solid rgba(24, 37, 63, 0.06);
    padding: 1.65rem 1.85rem;
    box-shadow: 0 18px 36px -28px rgba(16, 27, 48, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.agenda-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 176, 0, 0.4);
    box-shadow: 0 28px 55px -30px rgba(16, 27, 48, 0.7);
}

.agenda-card__title {
    font-size: clamp(1.12rem, 1.02rem + 0.6vw, 1.35rem);
    font-weight: 700;
    color: #1f2745;
}

.agenda-card__meta {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.agenda-card__meta li {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(36, 48, 82, 0.68);
}

.agenda-card__meta strong {
    font-weight: 600;
    color: #1f2745;
}

.agenda-card__meta-date {
    justify-content: center;
    text-align: center;
    gap: 0.2rem;
    flex-direction: column;
}

.agenda-card__meta-date span {
    display: block;
}

.agenda-card__meta-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f4b000;
    font-size: 0.78rem;
}

.agenda-pagination .pagination {
    gap: 0.4rem;
}

.agenda-pagination .page-link {
    border-radius: 12px;
    border-color: rgba(29, 42, 74, 0.12);
    color: var(--beranda-secondary);
    padding: 0.55rem 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.agenda-pagination .page-link:hover {
    background: rgba(244, 176, 0, 0.18);
    border-color: rgba(244, 176, 0, 0.35);
}

.agenda-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 120px;
    margin-top: 0.4rem;
}

.sidebar-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-panel__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.9rem;
    position: relative;
    color: var(--beranda-secondary);
}

.sidebar-panel__title::before {
    content: none;
}

.sidebar-panel__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 2px;
    background: var(--beranda-primary);
}

.berita-sidebar-list,
.sidebar-agenda-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.sidebar-agenda-list {
    border-top: 1px solid rgba(29, 42, 74, 0.12);
}

.berita-sidebar-item,
.sidebar-agenda-item {
    list-style: none;
}

.berita-sidebar-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(29, 42, 74, 0.12);
    transition: color 0.25s ease, transform 0.25s ease;
}

.berita-sidebar-link:hover,
.berita-sidebar-link:focus-visible {
    transform: translateX(4px);
    color: var(--beranda-secondary);
}

.berita-sidebar-title {
    font-weight: 600;
    color: var(--beranda-secondary);
    font-size: 1rem;
}

.berita-sidebar-meta {
    font-size: 0.85rem;
    color: rgba(29, 42, 74, 0.65);
}

.sidebar-agenda-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(29, 42, 74, 0.12);
}

.sidebar-agenda-item:first-child {
    padding-top: 1.2rem;
}

.sidebar-agenda-item:last-child {
    border-bottom: none;
}

.sidebar-agenda-date {
    min-width: 52px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--beranda-secondary);
    position: relative;
    margin-right: 1.2rem;
}

.sidebar-agenda-date::after {
    content: '';
    position: absolute;
    right: -0.6rem;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 1px;
    background: rgba(29, 42, 74, 0.18);
}

.sidebar-agenda-day {
    font-size: 1.5rem;
    line-height: 1;
}

.sidebar-agenda-month {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-top: 0.2rem;
}

.sidebar-agenda-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-agenda-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--beranda-secondary);
    margin: 0;
    line-height: 1.35;
}

.sidebar-agenda-meta {
    font-size: 0.82rem;
    color: rgba(29, 42, 74, 0.6);
}

.sidebar-panel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    color: var(--beranda-secondary);
    text-decoration: none;
    border: 1px solid rgba(29, 42, 74, 0.18);
    border-radius: 0.75rem;
    background-color: rgba(246, 248, 252, 0.9);
    align-self: flex-end;
    margin-top: auto;
    margin-left: auto;
}

.sidebar-panel__cta:hover,
.sidebar-panel__cta:focus-visible {
    color: var(--beranda-primary-dark);
}

/* Berita Detail ----------------------------------------------------------- */

.berita-detail-page {
    position: relative;
    background: var(--beranda-background);
    overflow: hidden;
}

.berita-detail-article {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.berita-detail-breadcrumb {
    text-align: left;
}

.berita-detail-header {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    margin-bottom: 2.25rem;
}

.berita-detail-title {
    margin: 0;
    font-size: clamp(1.9rem, 1.6rem + 1vw, 2.6rem);
    line-height: 1.25;
    color: var(--beranda-secondary);
    letter-spacing: -0.01em;
}

.berita-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    color: rgba(29, 42, 74, 0.7);
}

.berita-detail-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.berita-detail-meta__item .meta-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 176, 0, 0.14);
}

.berita-detail-meta__item .meta-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: var(--beranda-primary-dark);
}

.berita-detail-figure {
    margin: 0 0 2.25rem;
}

.berita-detail-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--beranda-radius-lg);
    overflow: hidden;
    background: rgba(29, 42, 74, 0.05);
    box-shadow: 0 32px 60px -36px rgba(18, 30, 54, 0.55);
}

.berita-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@supports not (aspect-ratio: 16 / 9) {
    .berita-detail-media {
        padding-top: 56.25%;
        height: 0;
    }

    .berita-detail-media img {
        position: absolute;
        inset: 0;
    }
}

.berita-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    font-size: 1.02rem;
}

.berita-detail-content > * {
    margin: 0;
}

.berita-detail-content h2,
.berita-detail-content h3,
.berita-detail-content h4 {
    color: var(--beranda-secondary);
    font-weight: 600;
    line-height: 1.35;
}

.berita-detail-content h2 {
    font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.9rem);
}

.berita-detail-content h3 {
    font-size: clamp(1.25rem, 1.08rem + 0.45vw, 1.6rem);
}

.berita-detail-content h4 {
    font-size: 1.1rem;
}

.berita-detail-content p,
.berita-detail-content li {
    line-height: 1.85;
    color: rgba(29, 42, 74, 0.82);
}

.berita-detail-content ul,
.berita-detail-content ol {
    padding-left: 1.35rem;
}

.berita-detail-content blockquote {
    padding: 1.1rem 1.5rem;
    border-left: 4px solid rgba(244, 176, 0, 0.5);
    background: rgba(244, 176, 0, 0.12);
    border-radius: 14px;
    color: var(--beranda-secondary);
}

.berita-detail-content img {
    border-radius: var(--beranda-radius-md);
    box-shadow: 0 18px 40px -32px rgba(22, 31, 51, 0.55);
}

.share-simple {
    margin-top: 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: transparent;
}

.share-simple__label {
    font-weight: 600;
    color: var(--beranda-secondary);
}

.share-simple__button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(29, 42, 74, 0.2);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    color: var(--beranda-secondary);
}

.share-simple__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.share-simple__button:hover,
.share-simple__button:focus-visible {
    outline: none;
    border-color: rgba(29, 42, 74, 0.3);
    background: #eef2fb;
    transform: translateY(-1px);
}

.share-simple__button--whatsapp {
    color: #1fa755;
    border-color: rgba(31, 167, 85, 0.45);
}

.share-simple__button--whatsapp:hover,
.share-simple__button--whatsapp:focus-visible {
    background: rgba(31, 167, 85, 0.1);
    border-color: rgba(31, 167, 85, 0.6);
}

.share-simple__button--copy {
    cursor: pointer;
}

.share-feedback {
    width: 100%;
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: rgba(29, 42, 74, 0.7);
}

.share-feedback--error {
    color: #c0392b;
}

@media (max-width: 575.98px) {
    .share-simple {
        width: 100%;
        justify-content: flex-start;
    }

    .berita-index-hero {
        padding: 1.5rem 0.75rem 2rem;
    }

    .berita-index-title {
        gap: 0.6rem;
    }

    .berita-index-subtitle::after {
        width: 120px;
        bottom: -1rem;
    }

    .agenda-subtitle::after {
        width: 120px;
        bottom: -1rem;
    }

    .agenda-header {
        padding: 1.4rem 0.75rem 2rem;
    }
}

.berita-detail-actions {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(29, 42, 74, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.8rem;
}

.berita-detail-action__link {
    font-weight: 600;
    color: var(--beranda-primary-dark);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.25s ease;
}

.berita-detail-action__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--beranda-primary) 0%, var(--beranda-primary-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.berita-detail-action__link:hover,
.berita-detail-action__link:focus-visible {
    color: var(--beranda-secondary);
}

.berita-detail-action__link:hover::after,
.berita-detail-action__link:focus-visible::after {
    transform: scaleX(1);
}

.berita-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 112px;
}

.berita-detail-sidebar-card {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.berita-detail-sidebar-card .sidebar-panel__title {
    padding-bottom: 1rem;
}

.berita-detail-sidebar-card .sidebar-panel__empty {
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .berita-detail-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .berita-detail-meta {
        font-size: 0.9rem;
        gap: 0.65rem 1.2rem;
    }

    .berita-detail-media {
        border-radius: var(--beranda-radius-md);
    }
}

@media (max-width: 767.98px) {
    .agenda-header {
        padding: 1.2rem 0 1.9rem;
    }

    .agenda-card {
        padding: 1.35rem 1.4rem;
    }

    .agenda-card__title {
        font-size: 1.18rem;
    }

    .sidebar-panel {
        gap: 1rem;
    }
}
.agenda-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Profil - Visi Misi ---------------------------------------------------- */

.profil-hero {
    padding: clamp(4.2rem, 5vw + 2.5rem, 6.2rem) 0 clamp(3.2rem, 4vw + 2rem, 5.2rem);
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.16) 0%, rgba(255, 255, 255, 0.7) 65%),
        radial-gradient(circle at 120% 0%, rgba(29, 42, 74, 0.08) 0%, rgba(29, 42, 74, 0) 55%);
    position: relative;
    overflow: hidden;
}

.profil-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -18% auto;
    width: clamp(12rem, 32vw, 22rem);
    height: clamp(12rem, 32vw, 22rem);
    background: radial-gradient(circle, rgba(244, 176, 0, 0.22) 0%, rgba(244, 176, 0, 0) 68%);
    opacity: 0.45;
}

.profil-hero .container {
    position: relative;
    z-index: 1;
}

.profil-hero__inner {
    display: grid;
    gap: clamp(2rem, 3vw, 3rem);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profil-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--beranda-secondary);
    background: rgba(29, 42, 74, 0.1);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
}

.profil-hero__title {
    font-size: clamp(2.1rem, 1.6rem + 1.5vw, 2.9rem);
    color: var(--beranda-secondary);
    margin: 1.35rem 0 0.75rem;
    line-height: 1.25;
}

.profil-hero__lead {
    font-size: 1.05rem;
    color: var(--beranda-muted);
    max-width: 560px;
    margin-bottom: 0;
}

.profil-hero__highlight {
    align-self: stretch;
}

.profil-hero-card {
    background: var(--beranda-surface);
    border-radius: var(--beranda-radius-lg);
    padding: clamp(1.8rem, 2vw + 1.4rem, 2.4rem);
    border: 1px solid rgba(29, 42, 74, 0.08);
    box-shadow: 0 28px 52px -38px rgba(20, 31, 53, 0.55);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    position: relative;
}

.profil-hero-card__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--beranda-secondary);
}

.profil-hero-card__label::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--beranda-primary);
    box-shadow: 0 0 0 6px rgba(244, 176, 0, 0.12);
}

.profil-hero-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.profil-hero-card__tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--beranda-secondary);
    background: rgba(244, 176, 0, 0.16);
}

.visi-misi-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(29, 42, 74, 0.04) 100%);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: rgba(29, 42, 74, 0.65);
}

.section-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: rgba(29, 42, 74, 0.25);
}

.visi-card,
.misi-card {
    background: var(--beranda-surface);
    border-radius: var(--beranda-radius-lg);
    padding: clamp(2rem, 2vw + 1.5rem, 2.6rem);
    border: 1px solid rgba(29, 42, 74, 0.08);
    box-shadow: 0 26px 48px -38px rgba(20, 31, 53, 0.5);
}

.visi-card__title {
    font-size: clamp(1.6rem, 1.4rem + 0.6vw, 2rem);
    color: var(--beranda-secondary);
    margin: 1.35rem 0 1rem;
    line-height: 1.4;
}

.visi-card__description {
    font-size: 1rem;
    color: var(--beranda-muted);
    margin-bottom: 0;
}

.misi-list {
    list-style: none;
    padding: 1.8rem 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    counter-reset: misi;
}

.misi-list li {
    counter-increment: misi;
    border-radius: var(--beranda-radius-md);
    border: 1px solid rgba(29, 42, 74, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 45px -40px rgba(18, 30, 54, 0.55);
    padding: 1.4rem 1.6rem;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.3rem 1.2rem;
}

.misi-list li::before {
    content: counter(misi, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(244, 176, 0, 0.18);
    color: var(--beranda-secondary);
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.misi-list h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--beranda-secondary);
    align-self: center;
}

.misi-list p {
    margin: 0;
    grid-column: 2 / -1;
    color: var(--beranda-muted);
}

@media (max-width: 991.98px) {
    .profil-hero {
        text-align: center;
    }

    .profil-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .profil-hero-card {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .profil-hero {
        padding-top: 3.6rem;
        padding-bottom: 3.6rem;
    }

    .profil-hero-card {
        padding: 1.8rem;
    }

    .section-label::before {
        width: 16px;
    }

    .misi-list {
        padding-top: 1.5rem;
    }

    .misi-list li {
        grid-template-columns: minmax(48px, 64px) 1fr;
        padding: 1.2rem 1.35rem;
    }

    .misi-list li::before {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .profil-hero__inner {
        gap: 1.8rem;
    }

    .misi-list li {
        grid-template-columns: 1fr;
    }

    .misi-list li::before {
        margin-bottom: 0.6rem;
        justify-self: flex-start;
    }

    .misi-list h3,
    .misi-list p {
        grid-column: 1 / -1;
    }
}

/* Struktur Organisasi ---------------------------------------------------- */

.struktur-hero {
    padding: clamp(4.5rem, 5vw, 6.5rem) 0 clamp(3rem, 5vw, 5rem);
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.16) 0%, rgba(255, 255, 255, 0) 52%),
        radial-gradient(circle at top right, rgba(29, 42, 74, 0.08) 0%, rgba(29, 42, 74, 0) 60%);
    position: relative;
    overflow: hidden;
}

.struktur-hero::after {
    content: '';
    position: absolute;
    inset: auto -8rem -6rem;
    height: clamp(14rem, 20vw, 18rem);
    background: radial-gradient(circle, rgba(244, 176, 0, 0.14) 0%, rgba(244, 176, 0, 0) 70%);
    z-index: 0;
}

.struktur-hero .container {
    position: relative;
    z-index: 1;
}

.struktur-badge {
    background: rgba(244, 176, 0, 0.16);
    color: var(--beranda-primary-dark);
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.struktur-wrapper {
    position: relative;
    isolation: isolate;
}

.struktur-chart {
    display: flex;
    flex-direction: column;
    position: relative;
    --struktur-connector: clamp(1.8rem, 1.3rem + 1vw, 2.4rem);
    --struktur-gap: calc(var(--struktur-connector) + 0.6rem);
    gap: var(--struktur-gap);
}

.struktur-row {
    display: grid;
    gap: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem);
    position: relative;
    align-items: flex-start;
}

.struktur-row--tri {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.struktur-row--top {
    grid-template-areas: 'babinsa leader bhabin';
}

.struktur-row--single {
    grid-template-columns: minmax(220px, 360px);
    justify-content: center;
    margin: 0 auto;
}

.struktur-row--mid::before,
.struktur-row--single::before,
.struktur-row--bottom::before,
.struktur-row--top::before {
    content: none;
}

.struktur-card {
    background: var(--beranda-surface);
    border-radius: 20px;
    padding: clamp(1.6rem, 1.2rem + 0.6vw, 2rem) clamp(1.1rem, 0.95rem + 0.4vw, 1.5rem);
    border: 1px solid rgba(29, 42, 74, 0.08);
    box-shadow: 0 20px 40px -30px rgba(22, 31, 51, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.struktur-card:hover,
.struktur-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 52px -28px rgba(22, 31, 51, 0.55);
}

.struktur-card--highlight {
    border: 1px solid rgba(244, 176, 0, 0.45);
    background: linear-gradient(180deg, rgba(244, 176, 0, 0.12) 0%, rgba(255, 255, 255, 0.92) 35%, #ffffff 100%);
    box-shadow: 0 28px 58px -30px rgba(24, 37, 63, 0.5);
}

.struktur-card--highlight .struktur-title {
    font-size: clamp(1.4rem, 1.15rem + 1.2vw, 1.9rem);
}

.struktur-card--highlight .struktur-role {
    font-size: 1.02rem;
    color: rgba(29, 42, 74, 0.7);
}

.struktur-card--highlight .struktur-nip {
    color: rgba(29, 42, 74, 0.7);
    font-weight: 600;
}

.struktur-card--highlight .struktur-meta {
    color: var(--beranda-primary-dark);
}

.struktur-card--with-parent::before,
.struktur-card--has-children::after,
.struktur-card--root::after {
    content: none;
}

.struktur-card--babinsa {
    grid-area: babinsa;
}

.struktur-card--leader {
    grid-area: leader;
}

.struktur-card--bhabin {
    grid-area: bhabin;
}

.struktur-avatar {
    width: clamp(96px, 9vw, 124px);
    height: clamp(96px, 9vw, 124px);
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    position: relative;
    box-shadow: 0 16px 36px -28px rgba(18, 30, 54, 0.6);
}

.struktur-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 4px solid rgba(255, 255, 255, 0.65);
    mix-blend-mode: screen;
}

.struktur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.struktur-meta {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(29, 42, 74, 0.65);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.struktur-title {
    font-size: clamp(1.08rem, 0.98rem + 0.55vw, 1.3rem);
    color: var(--beranda-secondary);
    margin-bottom: 0.35rem;
}

.struktur-role {
    color: rgba(29, 42, 74, 0.72);
    font-weight: 500;
    margin-bottom: 0.55rem;
}

.struktur-nip {
    display: inline-block;
    font-size: 0.82rem;
    color: rgba(29, 42, 74, 0.6);
    font-weight: 500;
    letter-spacing: 0.015em;
}

@media (max-width: 1199.98px) {
    .struktur-row--tri {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .struktur-hero {
        text-align: center;
    }

    .struktur-row--tri {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .struktur-card {
        padding: 1.85rem 1.35rem;
    }

    .struktur-avatar {
        width: 104px;
        height: 104px;
    }

    .struktur-row--tri {
        grid-template-columns: 1fr;
    }

    .struktur-row--single {
        grid-template-columns: 1fr;
        justify-content: stretch;
        margin: 0;
    }

    .struktur-row--top {
        grid-template-areas: 'leader' 'babinsa' 'bhabin';
    }

    .struktur-chart {
        --struktur-gap: calc(var(--struktur-connector) + 0.9rem);
        gap: var(--struktur-gap);
    }
}

@media (max-width: 575.98px) {
    .struktur-hero {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .struktur-hero h1 {
        font-size: 1.9rem;
        line-height: 1.35;
    }
}
