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

:root {
    --brand: #16A75C;
    --brand-dark: #128a4d;
    --brand-soft: rgba(22, 167, 92, 0.18);
    --text-dark: #111;
    --text-muted: #666;
    --text-soft: #777;
    --surface: #fff;
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--surface);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.btn-success {
    background: var(--brand);
    border-color: var(--brand);
}

.btn-success:hover,
.btn-success:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.navbar-brand img {
    max-height: 42px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand) !important;
}

.navbar .dropdown-menu {
    margin-top: 0;
    top: 100%;
}

.navbar .navbar-nav>.nav-item.dropdown:last-child .dropdown-menu {
    right: 0;
    left: auto;
}

@media (min-width: 992px) {
    .navbar .dropdown {
        position: relative;
    }

    .navbar .dropdown-menu {
        display: block;
        border: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar .dropdown:hover>.dropdown-menu,
    .navbar .dropdown-menu:hover,
    .navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar .dropdown-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 10px;
    }

    .navbar .nav-item.dropdown>.nav-link {
        padding-bottom: 14px;
    }
}

@media (max-width: 991px) {
    .offcanvas-body .nav-link {
        padding: 12px 0;
        font-size: 1.05rem;
    }

    .navbar .dropdown-menu {
        display: block;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        box-shadow: none;
        opacity: 0;
        transform: translateY(-4px);
        transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
        background: transparent;
    }

    .navbar .dropdown-menu.show {
        max-height: 420px;
        opacity: 1;
        transform: translateY(0);
        padding: 6px 0 8px;
    }

    .offcanvas-body .dropdown-item {
        padding: 8px 12px 8px 18px;
        color: #444;
    }

    .offcanvas-body .dropdown-item:hover,
    .offcanvas-body .dropdown-item:focus {
        color: var(--brand);
        background: rgba(22, 167, 92, 0.08);
    }

    .offcanvas-body .nav-item.dropdown.show > .nav-link::after {
        transform: rotate(180deg);
    }

    .offcanvas-body .nav-link.dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
}

.hero-kuansing {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: #fff;
    background: url("../images/hero.jpeg") center/cover no-repeat;
    overflow: hidden;
}

.hero-kuansing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

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

.hero-eyebrow {
    font-size: 1.05rem;
    opacity: 0.9;
}

.hero-title {
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
}

.hero-line {
    display: block;
}

.hero-line-1 {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    white-space: nowrap;
}

.hero-line-2 {
    font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    opacity: 0.92;
    max-width: 52ch;
}

.hero-search-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
}

.hero-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 64px;
    padding: 0 20px;
    border-radius: 10px;
    border: none;
    font-size: 1.05rem;
    outline: none;
    box-shadow: none;
}

.hero-search-btn {
    flex: 0 0 auto;
    height: 64px;
    padding: 0 28px;
    border-radius: 10px;
    border: none;
    background: var(--brand);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.hero-search-btn:hover {
    background: var(--brand-dark);
}

.sambutan-section {
    padding: 80px 0;
    background: var(--surface);
}

.sambutan-title {
    font-size: 2rem;
    font-weight: 700;
}

.sambutan-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    max-width: 52ch;
}

.sambutan-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 6px;
    border-top: 5px solid var(--brand);
    border-right: 5px solid var(--brand);
    box-shadow: var(--shadow-sm);
}

.sambutan-card-body {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 22px;
    border-radius: 12px;
    background: var(--surface);
}

.sambutan-photo {
    width: 110px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    background: #f3f3f3;
}

.sambutan-content {
    padding-right: 70px;
}

.sambutan-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.sambutan-role {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.sambutan-message {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.sambutan-quote-box {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 38px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sambutan-quote-box i {
    font-size: 20px;
    line-height: 1;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.section-meta-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-meta-desc {
    color: #555;
    line-height: 1.6;
    max-width: 36ch;
}

.section-divider {
    margin: 30px 0 0;
    border: 0;
    height: 1px;
    background: rgba(22, 167, 92, 0.55);
}

.berita-section {
    padding: 90px 0;
    background: var(--surface);
}

.berita-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.berita-thumb {
    border-radius: 26px;
    overflow: hidden;
    background: #f2f2f2;
}

.berita-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.berita-card-title {
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 18px 0 10px;
    color: var(--text-dark);
}

.berita-card-text {
    margin: 0 0 18px;
    color: #555;
    line-height: 1.7;
    max-width: 52ch;
    flex: 1 1 auto;
}

.berita-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    color: var(--text-dark);
    border: 1.6px solid rgba(17, 17, 17, 0.6);
    background: #fff;
    margin-top: auto;
}

.berita-btn:hover {
    transform: translateY(-1px);
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.berita-btn i {
    font-size: 0.95rem;
}

.berita-card-arrow .berita-float-arrow {
    position: absolute;
    top: 110px;
    right: -18px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.berita-card-arrow .berita-float-arrow:hover {
    transform: translateY(-2px);
    background: var(--brand-dark);
}

.dokumentasi-section {
    padding: 100px 0;
    background: var(--surface);
}

.dok-kicker {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 12px;
}

.dok-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 18px;
}

.dok-meta {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 26px;
}

.dok-btn {
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
}

.dok-media {
    position: relative;
    width: 520px;
    height: 440px;
    margin-left: auto;
}

.dok-frame {
    position: absolute;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

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

.dok-frame-lg {
    right: 0;
    top: 0;
    width: 360px;
    height: 420px;
    border-top: 6px solid var(--brand);
    border-right: 6px solid var(--brand);
    z-index: 1;
}

.dok-frame-sm {
    left: 0;
    top: 200px;
    width: 260px;
    height: 260px;
    border-top: 6px solid #fff;
    border-right: 6px solid #fff;
    border-radius: 18px;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.dok-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #d10b0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.dok-play i {
    margin-left: 3px;
}

.dok-play-lg {
    width: 86px;
    height: 86px;
}

.dok-play-lg i {
    font-size: 26px;
}

.dok-play-sm {
    width: 62px;
    height: 62px;
}

.dok-play-sm i {
    font-size: 20px;
}

.dok-frame:hover .dok-play {
    transform: translate(-50%, -50%) scale(1.03);
    background: #b80a0a;
}

.info-section {
    padding: 90px 0;
    background: var(--surface);
}

.info-card {
    border-radius: 16px;
    background: var(--surface);
    padding: 0;
    border: 1.5px solid transparent;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    border-color: var(--brand);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.info-thumb {
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    background: #f2f2f2;
}

.info-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.info-body {
    padding-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.info-card-title {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 18px 0 10px;
    color: var(--text-dark);
}

.info-card-text {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 52ch;
}

.info-social {
    display: flex;
    gap: 18px;
    align-items: center;
    padding-bottom: 10px;
    margin-top: auto;
}

.info-social a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    opacity: 0.9;
    transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.info-social a:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: var(--brand);
}

.agenda-section {
    padding: 100px 0;
    background: var(--surface);
}

.agenda-media {
    position: relative;
    width: 520px;
    height: 430px;
}

.agenda-frame {
    position: absolute;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: var(--shadow-md);
}

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

.agenda-frame-lg {
    left: 0;
    top: 0;
    width: 330px;
    height: 380px;
    border-radius: 26px;
    border-top: 6px solid var(--brand);
    border-left: 6px solid var(--brand);
    z-index: 1;
}

.agenda-frame-sm {
    right: 0;
    bottom: 0;
    width: 260px;
    height: 260px;
    border-radius: 20px;
    border: 6px solid #fff;
    z-index: 2;
}

.agenda-title {
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.agenda-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 56ch;
}

.agenda-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f4f4f4;
    color: var(--text-dark);
    font-weight: 500;
    min-height: 46px;
}

.agenda-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.agenda-check i {
    font-size: 10px;
}

.agenda-btn {
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.layanan-section {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
    color: #fff;
}

.layanan-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(22, 167, 92, 0.9), rgba(22, 167, 92, 0.9)),
        url("../images/layanan.jpeg") center/cover no-repeat;
    filter: saturate(1.05);
}

.layanan-head {
    padding-bottom: 18px;
}

.layanan-kicker {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 6px;
}

.layanan-title {
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.layanan-badge-wrap {
    margin-top: 18px;
}

.layanan-badge {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.92);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.layanan-cards {
    margin-top: 34px;
}

.layanan-card {
    background: var(--surface);
    color: var(--text-dark);
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layanan-label {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 16px;
}

.layanan-pill {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.layanan-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 auto 24px;
    max-width: 34ch;
    flex: 1 1 auto;
}

.layanan-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    background: #fff;
    color: var(--text-dark);
    border: 1.6px solid rgba(17, 17, 17, 0.5);
    margin-top: auto;
}

.layanan-btn:hover {
    transform: translateY(-1px);
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.blogw-section {
    padding: 90px 0;
    background: var(--surface);
}

.blogw-card {
    border-radius: 22px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blogw-thumb {
    background: #f2f2f2;
}

.blogw-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.blogw-body {
    padding: 22px 22px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blogw-date {
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    color: var(--text-soft);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blogw-card-title {
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text-dark);
}

.blogw-text {
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0 0 18px;
}

.blogw-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    border: 1.6px solid rgba(17, 17, 17, 0.5);
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    margin: 0 auto;
    margin-top: auto;
}

.blogw-btn:hover {
    transform: translateY(-1px);
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.blogw-card-highlight {
    border: 1.5px solid rgba(22, 167, 92, 0.55);
}

.blogw-card-highlight .blogw-thumb {
    background: #cfeedd;
}

.contact-section {
    padding: 90px 0;
    background: var(--surface);
}

.contact-title {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.contact-icon i {
    font-size: 18px;
}

.contact-label {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.contact-value {
    color: var(--text-soft);
    font-weight: 600;
    margin-top: 2px;
    font-size: 0.95rem;
}

.contact-form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form-desc {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 58ch;
    margin-bottom: 18px;
}

.contact-input {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px 14px;
    box-shadow: none;
}

.contact-input:focus {
    border-color: rgba(22, 167, 92, 0.55);
    box-shadow: none;
}

.contact-btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
}

.site-footer {
    background: #0b0b0b;
    color: #e9e9e9;
    padding: 70px 0 28px;
}

.dokumen-hero {
    padding: 110px 0 40px;
    background: var(--surface);
}

.dokumen-title {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.dokumen-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 60ch;
}

.dokumen-list {
    padding: 50px 0 90px;
    background: var(--surface);
}

.dokumen-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dokumen-card:hover {
    border-color: rgba(22, 167, 92, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dokumen-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(22, 167, 92, 0.12);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 auto;
}

.dokumen-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2px 0 8px;
}

.dokumen-card-text {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.sambutan-bupati-hero {
    padding: 90px 0 20px;
    background: var(--surface);
}

.sambutan-bupati-header {
    max-width: 720px;
    margin: 0 auto;
}

.sambutan-bupati-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sambutan-bupati-divider {
    width: 52px;
    height: 3px;
    background: var(--brand);
    margin: 0 auto 14px;
}

.sambutan-bupati-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.sambutan-bupati-link {
    color: var(--brand);
    font-weight: 600;
}

.sambutan-bupati-content {
    padding: 30px 0 90px;
    background: var(--surface);
}

.content-panel {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-panel p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-panel p:last-child {
    margin-bottom: 0;
}

.sambutan-bupati-closing {
    font-style: italic;
    color: var(--text-dark);
}

.content-sidebar {
    display: grid;
    gap: 22px;
}

.content-card {
    /* background: #fff; */
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.content-card-header {
    padding: 18px 20px 0;
}

.content-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 10px 0 12px;
}

.content-card-line {
    width: 70px;
    height: 3px;
    background: var(--brand);
    margin: 0 auto;
}

.content-profile {
    position: relative;
    background: url("../images/widget-info-bg.jpg") center/cover no-repeat;
}

.content-profile-body {
    color: #fff;
    padding: 16px 18px;
    display: grid;
    gap: 25px;
    align-items: center;
}

.content-profile-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 15px;
}

.content-profile-row:last-child {
    border-bottom: 0;
}

.content-audio {
    background: var(--brand);
    color: #fff;
    padding: 22px;
    text-align: center;
}

.content-audio-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.content-audio-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.content-audio-player {
    width: 100%;
}

.content-links {
    display: grid;
    gap: 14px;
    padding: 18px 20px 24px;
}

.content-banner {
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    overflow: hidden;
}

.perangkat-daerah-section {
    padding: 60px 0 90px;
    background: var(--surface);
}

.perangkat-daerah-list-wrapper {
    border: 2px solid rgba(22, 167, 92, 0.6);
    border-radius: 10px;
    padding: 0 8px;
}

.perangkat-daerah-header {
    padding-bottom: 18px;
}

.perangkat-daerah-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.perangkat-daerah-divider {
    width: 52px;
    height: 3px;
    background: var(--brand);
    margin: 0 auto;
}

.perangkat-daerah-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.perangkat-daerah-list li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.perangkat-daerah-list li:first-child {
    border-top: 0;
}

.perangkat-daerah-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 6px;
    color: #3e5f8a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.perangkat-daerah-link i {
    color: #3e5f8a;
    font-size: 0.95rem;
    margin-top: 3px;
}

.perangkat-daerah-link:hover {
    color: var(--brand);
    transform: translateX(2px);
}

.perangkat-daerah-link:hover i {
    color: var(--brand);
}

.dokumen-card:hover {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(22, 167, 92, 0.28);
}

.dokumen-card:hover .dokumen-card-title,
.dokumen-card:hover .dokumen-card-text,
.dokumen-card:hover .dokumen-icon {
    color: #fff;
}

.dokumen-card:hover .dokumen-icon {
    background: rgba(255, 255, 255, 0.2);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-brand-title {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
    color: var(--brand);
    transform: translateX(2px);
}

.footer-form {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.footer-input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    outline: none;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer-input:focus {
    border-color: rgba(22, 167, 92, 0.75);
}

.footer-btn {
    width: 90px;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.footer-btn:hover {
    transform: translateY(-1px);
    background: var(--brand-dark);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .hero-line-1 {
        white-space: normal;
    }

    .dokumentasi-section,
    .agenda-section {
        padding: 80px 0;
    }

    .dok-media {
        width: 100%;
        max-width: 520px;
        height: 440px;
        margin: 0 auto;
    }

    .dok-frame-lg {
        width: 340px;
        height: 400px;
    }

    .dok-frame-sm {
        width: 250px;
        height: 250px;
        top: 170px;
    }

    .agenda-media {
        width: 100%;
        max-width: 520px;
        height: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .perangkat-daerah-card {
        padding: 22px 18px;
    }

    .perangkat-daerah-link {
        font-size: 0.95rem;
    }

    .sambutan-bupati-hero {
        padding: 70px 0 10px;
    }

    .content-panel {
        padding: 24px 20px;
    }

    .content-profile-body {
        font-size: 0.85rem;
    }

    .dokumen-hero {
        padding: 90px 0 32px;
    }

    .dokumen-list {
        padding: 40px 0 70px;
    }

    .hero-kuansing {
        min-height: 460px;
        padding: 64px 0;
    }

    .hero-search-wrap {
        gap: 12px;
    }

    .hero-search-input {
        font-size: 1rem;
        height: 56px;
    }

    .hero-search-btn {
        height: 56px;
        padding: 0 22px;
    }

    .sambutan-card-body {
        flex-direction: column;
    }

    .sambutan-content {
        padding-right: 0;
    }

    .berita-section,
    .info-section,
    .blogw-section,
    .contact-section {
        padding: 70px 0;
    }

    .berita-thumb img,
    .info-thumb img,
    .blogw-thumb img {
        height: 220px;
    }

    .berita-card-arrow .berita-float-arrow {
        display: none;
    }

    .dok-media {
        max-width: 360px;
        height: 380px;
    }

    .dok-frame-lg {
        width: 260px;
        height: 320px;
    }

    .dok-frame-sm {
        width: 210px;
        height: 210px;
        top: 170px;
    }

    .dok-play-lg {
        width: 72px;
        height: 72px;
    }

    .dok-play-lg i {
        font-size: 22px;
    }

    .agenda-media {
        max-width: 360px;
        height: 360px;
    }

    .agenda-frame-lg {
        width: 240px;
        height: 300px;
    }

    .agenda-frame-sm {
        width: 210px;
        height: 210px;
    }

    .layanan-section {
        padding: 70px 0 90px;
    }

    .layanan-pill {
        font-size: 1.35rem;
    }

    .site-footer {
        padding: 60px 0 24px;
    }

    .footer-btn {
        width: 100%;
    }
}
