:root {
    --gov-page-bg: #ffffff;
    --gov-surface: #ffffff;
    --gov-surface-alt: #f7f9fc;
    --gov-border: rgba(21, 34, 54, 0.1);
    --gov-border-strong: rgba(21, 34, 54, 0.18);
    --gov-text: #172232;
    --gov-text-soft: #5f6c80;
    --gov-text-muted: #7a8797;
    --gov-green: #0a8b33;
    --gov-green-dark: #066625;
    --gov-green-soft: #eaf6ed;
    --gov-gold: #d3b14d;
    --gov-navy: #0f1723;
    --gov-shadow: 0 18px 36px rgba(13, 26, 44, 0.08);
    --gov-radius: 1rem;
}

.public-body {
    background: #ffffff;
    color: var(--gov-text);
}

.public-body .container-xxl {
    max-width: 1320px;
}

.government-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.government-main {
    flex: 1 0 auto;
    padding-bottom: 4rem;
}

.public-body a,
.public-body button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.public-body .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.78rem 1.2rem;
    box-shadow: none;
}

.public-body .btn-success {
    background: linear-gradient(180deg, #0b9a39 0%, #08792d 100%);
    border-color: #08792d;
}

.public-body .btn-success:hover,
.public-body .btn-success:focus {
    background: linear-gradient(180deg, #0a8b33 0%, #066625 100%);
    border-color: #066625;
}

.public-body .btn-outline-success {
    color: var(--gov-green-dark);
    border-color: rgba(10, 139, 51, 0.3);
    background: rgba(255, 255, 255, 0.76);
}

.public-body .btn-outline-success:hover,
.public-body .btn-outline-success:focus,
.public-body .btn-outline-light:hover,
.public-body .btn-outline-light:focus {
    transform: translateY(-1px);
}

.public-body .form-control {
    min-height: 50px;
    border-radius: 0.9rem;
    border-color: rgba(21, 34, 54, 0.14);
    box-shadow: none;
}

.public-body .form-control:focus {
    border-color: rgba(10, 139, 51, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(10, 139, 51, 0.12);
}

.government-pagination {
    margin-top: 1.6rem;
}

.public-body .government-pagination .page-link {
    border-radius: 999px;
    border-color: rgba(10, 139, 51, 0.22);
    color: var(--gov-green-dark);
    background: rgba(255, 255, 255, 0.76);
    font-weight: 800;
    padding: 0.55rem 0.9rem;
    box-shadow: none;
}

.public-body .government-pagination .page-item.active .page-link {
    background: linear-gradient(180deg, #0b9a39 0%, #08792d 100%);
    border-color: #08792d;
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(11, 112, 45, 0.18);
}

.public-body .government-pagination .page-item.disabled .page-link {
    opacity: 0.55;
}

.government-header {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.government-header__top {
    position: relative;
    overflow: visible;
    background-color: #ffffff;
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 55%,
            rgba(255, 255, 255, 0.98) 72%,
            rgba(255, 255, 255, 0.92) 84%,
            rgba(255, 255, 255, 0.75) 100%
        ),
        url("/uploads/2020/01/minhacienda-300x160.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right -64px center;
    background-size: 100% 100%, 460px auto;
}

.government-header__top::after {
    display: none;
}

.government-header__topbar {
    position: relative;
    z-index: 1;
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1rem 0 1.15rem;
}

.government-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.government-brand img {
    width: min(100%, 430px);
    height: auto;
}

.government-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.government-utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.government-utility-links a {
    color: var(--gov-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.government-utility-links a:hover,
.government-utility-links a:focus {
    color: var(--gov-green-dark);
}

.locale-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    position: relative;
}

.locale-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #ffffff;
    color: var(--gov-text-soft);
    font-weight: 700;
    box-shadow: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, background 140ms ease;
    cursor: pointer;
}

.locale-switcher__toggle img,
.locale-switcher .dropdown-item img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    flex: 0 0 auto;
}

.locale-switcher__code {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
}

.locale-switcher__toggle::after {
    display: none;
}

.locale-switcher__toggle:hover,
.locale-switcher__toggle:focus {
    color: var(--gov-green-dark);
    border-color: rgba(10, 139, 51, 0.22);
    box-shadow: 0 10px 18px rgba(15, 23, 35, 0.08);
}

.locale-switcher.show .locale-switcher__toggle {
    color: var(--gov-green-dark);
    border-color: rgba(10, 139, 51, 0.28);
    box-shadow: 0 12px 26px rgba(15, 23, 35, 0.12);
}

.locale-switcher .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    border-radius: 16px;
    border: 0;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.18);
    background: #ffffff;
    padding: 0.35rem;
    min-width: 220px;
    z-index: 1065;
    margin-top: 8px;
}

.locale-switcher .dropdown-item {
    display: flex;
    align-items: center;
    border-radius: 12px;
    font-weight: 800;
    color: var(--gov-text);
    padding: 0.6rem 0.75rem;
}

.locale-switcher__option-code {
    min-width: 34px;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
}

.locale-switcher__option-spacer {
    width: 8px;
    flex: 0 0 auto;
}

.locale-switcher__option-label {
    font-weight: 700;
    color: var(--gov-text-soft);
    font-size: 0.86rem;
}

.locale-switcher .dropdown-item.active,
.locale-switcher .dropdown-item:active {
    background: rgba(10, 139, 51, 0.12);
    color: var(--gov-green-dark);
}

.government-nav-wrap {
    background: linear-gradient(180deg, #0a9437 0%, #08752d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.government-navbar {
    min-height: 64px;
}

.government-navbar__toggler {
    margin: 0.7rem 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.government-navbar__toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.government-navbar__toggler .navbar-toggler-icon {
    filter: invert(1);
}

.government-nav {
    gap: 0.12rem;
}

.government-nav__item > .nav-link {
    color: #ffffff;
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 0.95rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.government-nav__item > .nav-link:hover,
.government-nav__item > .nav-link:focus,
.government-nav__item > .nav-link.show {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.government-nav__item:first-child > .nav-link {
    box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.3);
}

.government-search-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 64px;
    padding: 0 0.65rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
}

.government-search-button svg {
    width: 1.6rem;
    height: 1.6rem;
}

.government-dropdown {
    min-width: min(420px, calc(100vw - 2rem));
    margin-top: 0;
    padding: 0;
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
}

.government-dropdown__panel {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    background: var(--gov-surface);
}

.government-dropdown__group {
    padding-top: 0.2rem;
    border-top: 1px solid var(--gov-border);
}

.government-dropdown__group:first-child {
    border-top: 0;
    padding-top: 0;
}

.government-dropdown__heading {
    display: block;
    padding: 0.65rem 0.75rem 0.45rem;
    color: var(--gov-green-dark);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.government-dropdown .dropdown-item {
    padding: 0.8rem 0.75rem;
    border-radius: 0.85rem;
    white-space: normal;
    color: var(--gov-text);
    font-weight: 600;
}

.government-dropdown .dropdown-item:hover,
.government-dropdown .dropdown-item:focus {
    background: #f2f7f3;
    color: var(--gov-green-dark);
}

.government-search.offcanvas {
    max-width: 420px;
}

.government-search .offcanvas-header {
    padding: 1.4rem 1.4rem 1rem;
    border-bottom: 1px solid var(--gov-border);
}

.government-search .offcanvas-body {
    padding: 1.4rem;
}

.government-search__eyebrow {
    margin: 0 0 0.4rem;
    color: var(--gov-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.government-search__form {
    display: grid;
    gap: 0.9rem;
}

.government-search__quicklinks {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.government-search__quicklinks a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: var(--gov-surface-alt);
    border: 1px solid var(--gov-border);
    font-weight: 600;
}

.government-search__quicklinks a:hover,
.government-search__quicklinks a:focus {
    border-color: rgba(10, 139, 51, 0.28);
    color: var(--gov-green-dark);
}

.home-hero-section,
.home-services-section,
.home-content-section,
.home-campaign-section,
.government-page-heading,
.government-page-section {
    padding-top: 1.35rem;
}

.government-hero-carousel {
    overflow: hidden;
    border-radius: 0;
    background: #0f1520;
    box-shadow: 0 24px 42px rgba(13, 26, 44, 0.12);
}

.government-hero-slide {
    position: relative;
}

.government-hero-slide__media {
    width: 100%;
    min-height: clamp(380px, 56vw, 680px);
    max-height: 680px;
    object-fit: cover;
}

.government-hero-slide__media.is-fallback {
    object-fit: cover;
}

.government-hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 15, 24, 0.06) 0%, rgba(9, 15, 24, 0.14) 34%, rgba(9, 15, 24, 0.56) 72%, rgba(9, 15, 24, 0.84) 100%);
}

.government-hero-slide__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 0 clamp(1.25rem, 2vw, 2rem);
}

.government-hero-caption {
    width: min(100%, 80rem);
    padding: 1.1rem 1.25rem 1.15rem;
    border-left: 5px solid var(--gov-green);
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(90deg, rgba(9, 18, 30, 0.82) 0%, rgba(9, 18, 30, 0.68) 78%, rgba(9, 18, 30, 0.1) 100%);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(5, 11, 18, 0.14);
}

.government-hero-caption__eyebrow {
    margin: 0 0 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.government-hero-caption h1,
.government-hero-caption__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.45vw, 2.65rem);
    line-height: 1.08;
    font-weight: 800;
    max-width: 49ch;
}

.government-hero-caption__summary {
    margin: 0.7rem 0 0;
    max-width: 90ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.government-hero-carousel.carousel-fade .carousel-item {
    transition: opacity 0.85s ease-in-out;
}

.government-hero-slide--style-right_slide .government-hero-slide__content {
    justify-content: flex-end;
}

.government-hero-slide--style-right_slide .government-hero-caption {
    border-left: 0;
    border-right: 5px solid var(--gov-green);
    border-radius: 1rem 0 0 1rem;
    background: linear-gradient(270deg, rgba(9, 18, 30, 0.82) 0%, rgba(9, 18, 30, 0.68) 78%, rgba(9, 18, 30, 0.1) 100%);
    text-align: right;
}

.government-hero-slide--style-center_kenburns .government-hero-slide__overlay {
    background:
        radial-gradient(circle at 50% 48%, rgba(9, 15, 24, 0.22) 0%, rgba(9, 15, 24, 0.6) 62%, rgba(9, 15, 24, 0.86) 100%);
}

.government-hero-slide--style-center_kenburns .government-hero-slide__content {
    align-items: center;
    justify-content: center;
    padding: 0;
}

.government-hero-slide--style-center_kenburns .government-hero-caption {
    border-left: 0;
    border-radius: 1.1rem;
    background: rgba(9, 18, 30, 0.72);
    text-align: center;
}

.government-hero-slide--style-center_kenburns .government-hero-caption h1,
.government-hero-slide--style-center_kenburns .government-hero-caption__title,
.government-hero-slide--style-center_kenburns .government-hero-caption__summary {
    margin-left: auto;
    margin-right: auto;
    max-width: 62ch;
}

.government-hero-slide--style-split_60_40 .government-hero-slide__content {
    align-items: stretch;
    padding: 0;
}

.government-hero-slide--style-split_60_40 .government-hero-slide__content .container-xxl {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.government-hero-slide--style-split_60_40 .government-hero-caption {
    width: min(42%, 34rem);
    height: 100%;
    border-left: 0;
    border-radius: 0;
    padding: clamp(1.35rem, 2vw, 2rem) clamp(1.15rem, 2.2vw, 2.1rem);
    background: rgba(9, 18, 30, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.government-hero-slide--style-bottom_band .government-hero-slide__content {
    padding: 0;
}

.government-hero-slide--style-bottom_band .government-hero-slide__content .container-xxl {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.government-hero-slide--style-bottom_band .government-hero-caption {
    width: 100%;
    max-width: none;
    border-left: 0;
    border-radius: 0;
    padding: 1.1rem 1.1rem 1.2rem;
    background: rgba(9, 18, 30, 0.84);
}

.government-hero-slide--style-bottom_band .government-hero-caption h1,
.government-hero-slide--style-bottom_band .government-hero-caption__title {
    max-width: none;
}

.government-hero-slide--style-top_left .government-hero-slide__content {
    align-items: flex-start;
    padding: clamp(1.2rem, 2.4vw, 2.2rem) 0 0;
}

.government-hero-slide--style-top_left .government-hero-slide__media {
    object-position: 50% 15%;
}

.government-hero-slide--style-top_left .government-hero-caption {
    border-left: 5px solid var(--gov-green);
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(90deg, rgba(9, 18, 30, 0.86) 0%, rgba(9, 18, 30, 0.68) 78%, rgba(9, 18, 30, 0.12) 100%);
}

.government-hero-slide--style-top_right .government-hero-slide__content {
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(1.2rem, 2.4vw, 2.2rem) 0 0;
}

.government-hero-slide--style-top_right .government-hero-slide__media {
    object-position: 50% 15%;
}

.government-hero-slide--style-top_right .government-hero-caption {
    border-left: 0;
    border-right: 5px solid var(--gov-green);
    border-radius: 1rem 0 0 1rem;
    background: linear-gradient(270deg, rgba(9, 18, 30, 0.86) 0%, rgba(9, 18, 30, 0.68) 78%, rgba(9, 18, 30, 0.12) 100%);
    text-align: right;
}

.government-hero-slide--style-contain_center .government-hero-slide__media {
    object-fit: contain;
    background: #0f1520;
}

.government-hero-slide--style-contain_center .government-hero-slide__overlay {
    background:
        linear-gradient(180deg, rgba(9, 15, 24, 0.1) 0%, rgba(9, 15, 24, 0.18) 34%, rgba(9, 15, 24, 0.58) 72%, rgba(9, 15, 24, 0.86) 100%);
}

.government-hero-slide--style-bottom_center_glass .government-hero-slide__content {
    justify-content: center;
}

.government-hero-slide--style-bottom_center_glass .government-hero-caption {
    border-left: 0;
    border-radius: 1.1rem;
    background: rgba(9, 18, 30, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
}

.government-hero-slide--style-bottom_center_glass .government-hero-caption h1,
.government-hero-slide--style-bottom_center_glass .government-hero-caption__title,
.government-hero-slide--style-bottom_center_glass .government-hero-caption__summary {
    margin-left: auto;
    margin-right: auto;
    max-width: 70ch;
}

.government-hero-slide--style-content_aligned {
    background: #ffffff;
    padding: 1.15rem 0 1.35rem;
}

.government-hero-slide--style-content_aligned .government-hero-slide__aligned-inner {
    display: grid;
    gap: 0;
}

.government-hero-slide--style-content_aligned .government-hero-slide__media {
    width: 100%;
    min-height: clamp(340px, 38vw, 560px);
    max-height: 560px;
    border-radius: 1rem 1rem 0 0;
    display: block;
    object-fit: contain;
    background: #0f1520;
}

.government-hero-slide--style-content_aligned .government-hero-caption {
    width: 100%;
    max-width: none;
    border-left: 0;
    border-radius: 0 0 1rem 1rem;
    background: rgba(9, 18, 30, 0.9);
}

.government-hero-slide--style-content_aligned .government-hero-caption h1,
.government-hero-slide--style-content_aligned .government-hero-caption__title,
.government-hero-slide--style-content_aligned .government-hero-caption__summary {
    max-width: none;
}

.government-hero-slide--style-content_aligned .government-hero-caption h1,
.government-hero-slide--style-content_aligned .government-hero-caption__title {
    font-size: clamp(1.05rem, 1.6vw, 1.75rem);
}

.government-hero-slide--style-content_aligned .government-hero-caption__summary {
    max-width: 90ch;
}

@keyframes governmentCaptionFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes governmentCaptionSlideInRight {
    from {
        opacity: 0;
        transform: translate3d(26px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes governmentKenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.carousel-item.active .government-hero-slide--style-classic_left .government-hero-caption,
.carousel-item.active .government-hero-slide--style-split_60_40 .government-hero-caption,
.carousel-item.active .government-hero-slide--style-bottom_band .government-hero-caption,
.carousel-item.active .government-hero-slide--style-center_kenburns .government-hero-caption,
.carousel-item.active .government-hero-slide--style-top_left .government-hero-caption,
.carousel-item.active .government-hero-slide--style-top_right .government-hero-caption,
.carousel-item.active .government-hero-slide--style-contain_center .government-hero-caption,
.carousel-item.active .government-hero-slide--style-bottom_center_glass .government-hero-caption {
    animation: governmentCaptionFadeUp 0.75s ease both;
    will-change: transform, opacity;
}

.carousel-item.active .government-hero-slide--style-right_slide .government-hero-caption {
    animation: governmentCaptionSlideInRight 0.75s ease both;
    will-change: transform, opacity;
}

.carousel-item.active .government-hero-slide--style-center_kenburns .government-hero-slide__media {
    animation: governmentKenBurns 14s ease-in-out both;
    transform-origin: 50% 45%;
}

.government-hero-carousel__indicators {
    margin-bottom: 1.25rem;
}

.government-carousel-control {
    width: 8%;
}

.section-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.section-intro--compact {
    margin-bottom: 1rem;
}

.section-intro__eyebrow {
    display: inline-block;
    margin: 0 0 0.4rem;
    color: var(--gov-green-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-intro h2 {
    margin: 0;
    color: var(--gov-text);
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.government-service-card,
.government-banner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--gov-radius);
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: var(--gov-shadow);
}

.government-service-card:hover,
.government-service-card:focus,
.government-banner-card:hover,
.government-banner-card:focus,
.government-shortcut-card:hover,
.government-shortcut-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 24px 34px rgba(15, 23, 35, 0.12);
}

.government-service-card__media,
.government-banner-card__media,
.government-shortcut-card__media {
    background: #e9eef6;
}

.government-service-card__media img,
.government-shortcut-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-shortcuts-section {
    padding-top: 2rem;
}

.government-shortcut-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.government-shortcut-card__media {
    overflow: hidden;
    border-radius: 0.55rem 0.55rem 0 0;
    border: 1px solid rgba(17, 35, 58, 0.08);
    border-bottom: 0;
    box-shadow: 0 12px 24px rgba(13, 26, 44, 0.08);
}

.government-shortcut-card__label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0.95rem 1rem;
    text-align: center;
    border-radius: 0 0 0.55rem 0.55rem;
    box-shadow: 0 10px 20px rgba(13, 26, 44, 0.08);
}

.government-shortcut-card__label--green {
    background: linear-gradient(180deg, #0a8b33 0%, #086a27 100%);
}

.government-shortcut-card__label h2 {
    margin: 0;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 800;
}

.government-service-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
}

.government-service-card__body h3,
.government-news-item__body h2,
.government-news-item__body h3,
.government-featured-news__body h3,
.government-document-list__item h3,
.government-official-card__body h3,
.government-banner-card__body h3,
.government-simple-list li a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.government-service-card__body h3 {
    margin: 0;
    color: var(--gov-text);
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
    -webkit-line-clamp: 2;
}

.government-service-card__body p,
.government-news-item__body p,
.government-featured-news__body p,
.government-document-list__item p,
.government-banner-card__body p,
.government-page-heading__lead,
.government-page-heading__meta,
.rich-copy,
.government-simple-list li p {
    color: var(--gov-text-soft);
}

.government-service-card__body p {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.government-service-card__body span {
    color: var(--gov-green-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.government-featured-news {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    overflow: hidden;
    border-radius: var(--gov-radius);
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: var(--gov-shadow);
    margin-bottom: 1.35rem;
}

.government-featured-news__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.government-featured-news__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.4rem;
}

.government-featured-news__body time,
.government-news-item__meta time,
.government-page-heading__meta time {
    color: var(--gov-text-muted);
    font-size: 0.9rem;
}

.government-featured-news__body h3 {
    margin: 0;
    color: var(--gov-text);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.16;
    font-weight: 800;
    -webkit-line-clamp: 3;
}

.government-featured-news__body p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
}

.government-meta-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: #eef4ef;
    color: var(--gov-green-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.government-news-board {
    display: grid;
    gap: 1.1rem;
}

.government-section-bar {
    position: relative;
    padding-top: 0.25rem;
}

.government-section-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 1.05rem;
    border-top: 2px solid rgba(45, 103, 200, 0.45);
}

.government-section-bar span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    border-radius: 0.35rem 0.35rem 0 0;
    background: linear-gradient(180deg, #2a62c1 0%, #1d4f9a 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(32, 78, 153, 0.16);
}

.government-news-feed {
    display: grid;
    gap: 1rem;
}

.government-news-feed__item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: stretch;
    padding: 0 0 1rem;
    border-bottom: 1px solid rgba(24, 41, 66, 0.1);
}

.government-news-feed__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.government-news-feed__item.is-featured {
    grid-template-columns: 200px minmax(0, 1fr);
}

.government-news-feed__media {
    display: block;
    overflow: hidden;
    border-radius: 0.35rem;
    box-shadow: 0 10px 18px rgba(13, 26, 44, 0.08);
    height: 100%;
}

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

.government-news-feed__body {
    min-width: 0;
}

.government-news-feed__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.government-news-feed__body h3 {
    margin: 0 0 0.45rem;
    color: var(--gov-text);
    font-size: clamp(1.08rem, 1.45vw, 1.42rem);
    line-height: 1.18;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.government-news-feed__item.is-featured .government-news-feed__body h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.government-news-feed__body p {
    margin: 0;
    color: var(--gov-text-soft);
    font-size: 0.94rem;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.government-news-board__footer {
    display: flex;
    justify-content: flex-start;
}

.government-news-list {
    display: grid;
    gap: 1rem;
}

.government-news-item {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    padding: 0.95rem;
    border-radius: var(--gov-radius);
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: var(--gov-shadow);
}

.government-news-item--archive {
    grid-template-columns: 240px minmax(0, 1fr);
}

.government-news-item__media {
    display: block;
    overflow: hidden;
    border-radius: 0.85rem;
    height: 100%;
}

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

.government-news-item__body {
    min-width: 0;
}

.government-news-item__meta,
.government-page-heading__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.government-news-item__body h2,
.government-news-item__body h3 {
    margin: 0 0 0.6rem;
    color: var(--gov-text);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    line-height: 1.22;
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.government-news-item__body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.government-panel-card {
    border-radius: var(--gov-radius);
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: var(--gov-shadow);
    padding: 1.25rem;
}

.government-panel-card--accent {
    background:
        linear-gradient(180deg, rgba(10, 139, 51, 0.06) 0%, rgba(255, 255, 255, 0.98) 58%),
        var(--gov-surface);
    padding: 1.05rem;
}

.government-panel-card--cta {
    background:
        linear-gradient(180deg, rgba(7, 117, 45, 0.08), rgba(7, 117, 45, 0.02)),
        var(--gov-surface);
}

.government-panel-card--links {
    background: var(--gov-surface-alt);
}

.government-panel-card--documents-home {
    margin-top: 0.85rem;
}

.home-documents__header {
    align-items: center;
}

.government-document-list {
    display: grid;
    gap: 0.85rem;
}

.document-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.document-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.government-document-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.government-document-row:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 139, 51, 0.22);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.09);
}

.government-document-row__body {
    min-width: 0;
}

.government-document-row__title {
    display: inline-block;
    margin: 0;
    color: var(--gov-text);
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 800;
    -webkit-line-clamp: 2;
    text-decoration: none;
}

.government-document-row__title:hover,
.government-document-row__title:focus {
    color: var(--gov-green-dark);
}

.government-document-row__meta {
    margin: 0.25rem 0 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--gov-text-soft);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.government-document-row__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    min-width: 220px;
}

@media (max-width: 767.98px) {
    .government-document-row {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
    }

    .government-document-row__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-width: 0;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 139, 51, 0.18);
    background: var(--gov-green-soft);
    color: var(--gov-green-dark);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: capitalize;
}

.government-sidebar {
    display: grid;
    gap: 1rem;
}

.government-official-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.government-official-card--leader {
    grid-column: 1 / -1;
}

.government-official-card--leader .government-official-card__media img {
    height: clamp(150px, 18vw, 180px);
    aspect-ratio: auto;
}

.government-official-card--leader .government-official-card__body h3 {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
}

.government-official-card--leader .government-official-card__body p {
    font-size: 0.78rem;
}

.government-official-card {
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgba(10, 139, 51, 0.12);
    background: linear-gradient(180deg, #f3f8f1 0%, #ffffff 100%);
}

.government-official-card__media img {
    width: 100%;
    height: clamp(120px, 16vw, 140px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: top center;
}

.government-official-card__body {
    padding: 0.55rem 0.65rem 0.65rem;
}

.government-official-card__body h3 {
    margin: 0 0 0.25rem;
    color: var(--gov-text);
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 800;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.government-official-card__body p {
    margin: 0;
    color: var(--gov-green-dark);
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
}

.government-quick-links,
.government-link-list {
    display: grid;
    gap: 0.75rem;
}

.government-quick-links a,
.government-link-list a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--gov-border);
    background: var(--gov-surface-alt);
    color: var(--gov-text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.government-quick-links a:hover,
.government-quick-links a:focus,
.government-link-list a:hover,
.government-link-list a:focus {
    border-color: rgba(10, 139, 51, 0.24);
    color: var(--gov-green-dark);
    background: #f1f7f2;
}

/* Sidebar News Styles */
.sidebar-news-list {
    display: grid;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.sidebar-news-item {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gov-border);
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-item__date {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--gov-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-news-item__title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 700;
}

.sidebar-news-item__title a {
    color: var(--gov-text);
    text-decoration: none;
    display: block;
}

.sidebar-news-item__title a:hover {
    color: var(--gov-green-dark);
}

.btn-sidebar-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.2rem;
    border-radius: 0.8rem;
    background: var(--gov-green-soft);
    color: var(--gov-green-dark);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-more:hover {
    background: var(--gov-green);
    color: #ffffff;
}

.icon-external {
    margin-left: 0.45rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.government-link-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.government-banner-card__media img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.government-banner-card__body {
    padding: 1rem;
}

.government-banner-card__body h3 {
    margin: 0 0 0.45rem;
    color: var(--gov-text);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    -webkit-line-clamp: 2;
}

.government-banner-card__body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.government-campaign-card,
.government-campaign-banner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid var(--gov-border);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fb 100%);
    box-shadow: var(--gov-shadow);
}

.government-campaign-card__content,
.government-campaign-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.6rem;
}

.government-campaign-card__content h2,
.government-campaign-banner__content h2 {
    margin: 0;
    color: var(--gov-text);
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.government-campaign-card__content p:last-of-type,
.government-campaign-banner__content p:last-of-type {
    margin: 0;
    color: var(--gov-text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
}

.government-campaign-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.government-campaign-card__media img,
.government-campaign-banner__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.home-admin-campaign {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin-top: 2.25rem;
    padding-top: 2rem;
}

.home-admin-campaign::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.12) 20%, rgba(15, 23, 42, 0.12) 80%, rgba(15, 23, 42, 0) 100%);
}

.home-admin-campaign__banner {
    background: transparent;
    overflow: visible;
}

.home-admin-campaign__hero {
    width: 100%;
    height: auto;
    display: block;
    border: 6px solid #ffffff;
    border-radius: 2px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.campaign-comment-card {
    display: grid;
    gap: 0.65rem;
    justify-items: center;
    text-align: center;
    padding: 0.65rem 0.55rem;
    border-radius: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-comment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.campaign-comment-card__media {
    width: 100%;
    max-width: 112px;
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    border: 4px solid #ffffff;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.campaign-comment-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.campaign-comment-card__text {
    margin: 15px 0 0;
    padding: 15px;
    border-radius: 2px;
    background: transparent;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 22ch;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.campaign-comment-card:hover .campaign-comment-card__text {
    background-color: #f8f9fa;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.home-admin-campaign__comments .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.campaign-video-surface {
    background: transparent;
}

.campaign-video-surface iframe,
.campaign-video-surface video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000000;
    border: 6px solid #ffffff;
    border-radius: 2px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.government-page-heading {
    position: relative;
}

.government-page-heading__content {
    max-width: 52rem;
}

.government-page-heading--wide .government-page-heading__content {
    max-width: none;
}

.government-breadcrumb {
    margin: 0 0 0.8rem;
}

.government-breadcrumb .breadcrumb-item,
.government-breadcrumb .breadcrumb-item a {
    color: var(--gov-text-muted);
    font-size: 0.92rem;
}

.government-breadcrumb .breadcrumb-item.active {
    color: var(--gov-text-soft);
}

.government-page-heading h1 {
    margin: 0;
    color: var(--gov-text);
    font-size: clamp(1.75rem, 2.8vw, 2.7rem);
    line-height: 1.1;
    font-weight: 800;
}

.government-page-heading__lead {
    margin: 0.8rem 0 0;
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.7;
}

.government-panel-card--content {
    padding: 1.45rem;
}

.government-article-cover {
    margin: 0 0 1.25rem;
}

.government-article-cover img {
    width: 100%;
    border-radius: 0.95rem;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.rich-copy {
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.8;
}

.rich-copy > *:first-child {
    margin-top: 0;
}

.rich-copy > *:last-child {
    margin-bottom: 0;
}

.rich-copy h2,
.rich-copy h3,
.rich-copy h4 {
    color: var(--gov-text);
    line-height: 1.25;
    font-weight: 800;
}

.rich-copy img,
.rich-copy iframe,
.rich-copy video {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 0.85rem;
}

.rich-copy img.content-lightbox,
.rich-copy a.glightbox > img {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rich-copy a.glightbox {
    display: block;
    border-radius: 0.85rem;
    overflow: hidden;
}

.rich-copy a.glightbox:hover img,
.rich-copy a.glightbox:focus img {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(13, 26, 44, 0.18);
}

.rich-copy table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.rich-copy table tbody,
.rich-copy table thead {
    width: 100%;
}

.rich-copy th,
.rich-copy td {
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--gov-border);
    white-space: nowrap;
}

.content-fallback {
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border-left: 4px solid var(--gov-green);
    background: #f3f8f4;
}

.data-table-dump {
    border-radius: 0.95rem;
    background: #101a27;
    color: #dce8f6;
    padding: 1rem;
}

.government-data-table-block {
    display: grid;
    gap: 1rem;
}

.government-data-table__wrap {
    border-radius: 1rem;
    border: 1px solid var(--gov-border);
    background: var(--gov-surface);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.government-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.government-data-table th,
.government-data-table td {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--gov-border);
    vertical-align: top;
}

.government-data-table thead th {
    background: #f3f8f4;
    color: var(--gov-text);
    font-weight: 900;
}

.government-data-table tbody tr:nth-child(even) td {
    background: rgba(10, 139, 51, 0.03);
}

.government-data-table__span {
    font-weight: 900;
    text-align: center;
}

.government-data-table p {
    margin: 0;
}

.government-data-table b,
.government-data-table strong {
    font-weight: 900;
}

.document-files,
.government-simple-list {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.document-files li,
.government-simple-list li {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--gov-border);
}

.document-files li:last-child,
.government-simple-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.document-files a,
.government-simple-list li a {
    color: var(--gov-text);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.document-viewer-block {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.document-viewer__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.document-viewer__toolbar h2 {
    margin: 0;
    color: var(--gov-text);
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    line-height: 1.2;
    font-weight: 800;
}

.document-viewer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.document-viewer__frame {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--gov-border);
    background: linear-gradient(180deg, #f7f9fc 0%, #edf2f8 100%);
    box-shadow: var(--gov-shadow);
}

.document-viewer__frame iframe {
    display: block;
    width: 100%;
    min-height: clamp(560px, 76vh, 980px);
    border: 0;
    background: #eef3fa;
}

.document-viewer__hint {
    margin: -0.1rem 0 0;
    color: var(--gov-text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.document-downloads {
    display: grid;
    gap: 1rem;
}

.government-simple-list li p {
    margin: 0.35rem 0 0;
    font-size: 0.94rem;
    line-height: 1.6;
}

.rich-copy [data-missing-asset="true"],
.document-files [data-missing-asset="true"] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #7c7f85;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.rich-copy [data-missing-asset="true"]::after,
.document-files [data-missing-asset="true"]::after {
    content: "Archivo pendiente";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: #eef1f5;
    color: #5f6670;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.government-search-form {
    display: grid;
    gap: 0.75rem;
}

.government-search-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.government-empty-state {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 0;
    color: var(--gov-text-soft);
    text-align: left;
}

.government-empty-state p,
.government-return-link {
    margin: 0;
}

.government-return-link a {
    color: var(--gov-green-dark);
    font-weight: 800;
}

.government-footer {
    margin-top: auto;
    padding: 2.1rem 0;
    background: linear-gradient(180deg, #0d141f 0%, #0a1019 100%);
    color: rgba(255, 255, 255, 0.82);
}

.government-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem 2rem;
    align-items: start;
}

.government-footer__eyebrow {
    margin: 0 0 0.45rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.government-footer__brand h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
}

.government-footer__brand p:last-child {
    margin: 0.75rem 0 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.government-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem 1rem;
}

.government-footer__links a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
}

.government-footer__links a:hover,
.government-footer__links a:focus {
    color: #ffffff;
}

.government-footer__utility {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
}

.government-footer__utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
}

.government-footer__utility-links a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.government-footer__utility-links a:hover,
.government-footer__utility-links a:focus {
    color: #ffffff;
}

.government-footer .locale-switcher__toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.government-footer .locale-switcher__toggle:hover,
.government-footer .locale-switcher__toggle:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 1200px) {
    .government-nav__item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .government-navbar .navbar-collapse {
        padding-bottom: 0.85rem;
    }

    .government-nav {
        padding-top: 0.3rem;
    }

    .government-nav__item > .nav-link {
        min-height: auto;
        padding: 0.8rem 0;
    }

    .government-search-button {
        min-height: auto;
        margin-top: 0.5rem;
        padding: 0.75rem 0;
        justify-content: flex-start;
    }

    .government-dropdown {
        min-width: 100%;
        border-radius: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .government-header__top {
        background-position: left center, right -52px center;
        background-size: 100% 100%, 400px auto;
    }

    .government-header__topbar {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 1rem 0;
    }

    .government-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .government-brand img {
        width: min(100%, 360px);
    }

    .government-featured-news,
    .government-campaign-card,
    .government-campaign-banner {
        grid-template-columns: 1fr;
    }

    .government-footer__grid {
        grid-template-columns: 1fr;
    }

    .government-footer__links {
        justify-content: flex-start;
    }

    .government-footer__utility {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .government-header__top {
        background-image:
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 1) 68%,
                rgba(255, 255, 255, 0.88) 85%,
                rgba(255, 255, 255, 0.75) 100%
            ),
            url("/uploads/2020/01/minhacienda-300x160.jpg");
        background-position: top left, right -36px top;
        background-size: 100% 100%, 320px auto;
    }

    .government-header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .locale-switcher {
        width: 100%;
    }

    .locale-switcher__toggle {
        width: 100%;
        justify-content: center;
    }

    .government-hero-slide__media {
        min-height: 420px;
    }

    .government-hero-caption {
        width: 100%;
        padding: 1rem 1rem 1.05rem;
        border-radius: 0 0.95rem 0.95rem 0;
    }

    .government-campaign-card__actions {
        flex-direction: column;
    }

    .document-viewer__frame iframe {
        min-height: 72vh;
    }

    .government-featured-news__body,
    .government-campaign-card__content,
    .government-campaign-banner__content,
    .government-panel-card,
    .government-panel-card--content {
        padding: 1rem;
    }

    .government-news-item,
    .government-news-item--archive,
    .government-news-feed__item,
    .government-news-feed__item.is-featured {
        grid-template-columns: 1fr;
    }

    .government-official-list {
        grid-template-columns: 1fr;
    }

    .government-search-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .government-hero-slide__overlay {
        display: none;
    }

    .government-hero-slide__content {
        position: static;
        display: block;
        padding: 0;
        background: #0f1520;
    }

    .government-hero-caption {
        max-width: none;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        background: rgba(9, 18, 30, 0.92);
    }

    .government-hero-slide--style-split_60_40 .government-hero-slide__content .container-xxl {
        display: block;
        height: auto;
    }

    .government-hero-slide--style-split_60_40 .government-hero-caption {
        width: 100%;
        height: auto;
    }

    .government-hero-slide--style-bottom_band .government-hero-slide__content .container-xxl {
        padding-left: 0;
        padding-right: 0;
    }

    .government-hero-slide--style-content_aligned {
        padding: 0.75rem 0 1rem;
    }

    .government-hero-slide--style-content_aligned .government-hero-slide__media {
        min-height: 300px;
        max-height: none;
        border-radius: 0.95rem 0.95rem 0 0;
    }

    .government-hero-slide--style-content_aligned .government-hero-caption {
        border-radius: 0 0 0.95rem 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .government-hero-slide__media {
        min-height: 360px;
    }

    .government-hero-caption h1,
    .government-hero-caption__title {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }

    .document-viewer__frame iframe {
        min-height: 62vh;
    }
}

@media (max-width: 575.98px) {
    .government-brand img {
        width: min(100%, 300px);
    }

    .government-hero-card h1,
    .government-hero-card__title {
        max-width: none;
    }

    .government-nav__item > .nav-link {
        font-size: 0.88rem;
    }

    .government-search-button svg {
        width: 1.4rem;
        height: 1.4rem;
    }
}

@media (max-width: 991.98px) {
    .government-document-row {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
    }

    .government-document-row__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-width: 0;
    }
}

.government-panel-card--content img {
    max-width: 100%;
    height: auto;
}

.government-panel-card--content iframe,
.government-panel-card--content video {
    max-width: 100%;
    display: block;
}

@media (max-width: 767.98px) {
    .government-panel-card--authorities .government-official-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .government-panel-card--authorities .government-official-card--leader {
        grid-column: 1 / -1;
    }

    .government-panel-card--authorities .government-official-card__media img {
        height: 96px;
    }

    .government-panel-card--authorities .government-official-card--leader .government-official-card__media img {
        height: 140px;
    }

    .government-panel-card--authorities .government-official-card__body {
        padding: 0.5rem 0.6rem 0.6rem;
    }

    .government-panel-card--authorities .government-official-card__body h3 {
        font-size: 0.82rem;
        line-height: 1.15;
        -webkit-line-clamp: 2;
    }

    .government-panel-card--authorities .government-official-card__body p {
        font-size: 0.72rem;
        line-height: 1.15;
    }

    .government-panel-card--authorities .government-official-card:not(.government-official-card--leader) .government-official-card__body p {
        display: none;
    }

    .home-admin-campaign__comments .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 575.98px) {
    .government-data-table {
        min-width: 520px;
    }

    .government-data-table th,
    .government-data-table td {
        padding: 0.6rem 0.65rem;
        font-size: 0.92rem;
    }

    .rich-copy th,
    .rich-copy td {
        padding: 0.65rem 0.75rem;
        font-size: 0.92rem;
    }
}

.content-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(29, 38, 58, 0.12);
    border-radius: 10px;
    background: #fff;
    color: #1d263a;
    text-decoration: none;
    font-weight: 700;
}

.content-download-link:hover {
    background: rgba(29, 38, 58, 0.03);
    text-decoration: none;
}

.content-download-link::before {
    content: "FILE";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 26px;
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #fff;
    background: #64748b;
    flex-shrink: 0;
}

.content-download-link--pdf::before { content: "PDF"; background: #dc2626; }
.content-download-link--doc::before { content: "DOC"; background: #2563eb; }
.content-download-link--xls::before { content: "XLS"; background: #16a34a; }
.content-download-link--ppt::before { content: "PPT"; background: #ea580c; }

.block-gallery {
    margin: 1rem 0;
}

.block-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.block-cta-buttons {
    margin: 1rem 0;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.block-cta-buttons--center { justify-content: center; }
.block-cta-buttons--right { justify-content: flex-end; }

.post-header {
    margin: 1.25rem 0 1.25rem;
}

.post-header img {
    width: 100%;
    height: auto;
    display: block;
}

.post-header--hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.post-header--hero .post-header__media img {
    height: 440px;
    object-fit: cover;
}

.post-header--hero .post-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.10) 100%);
}

.post-header--hero .post-header__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1.75rem;
    color: #fff;
}

.post-header--hero .government-breadcrumb a,
.post-header--hero .government-breadcrumb,
.post-header--hero .government-page-heading__content,
.post-header--hero .government-page-heading__content h1,
.post-header--hero .government-page-heading__meta {
    color: #fff;
}

.post-header .government-page-heading__content {
    max-width: none;
}

.post-header--hero .government-breadcrumb .breadcrumb-item.active {
    color: rgba(255,255,255,0.85);
}

.post-header--split .government-page-heading__content {
    padding: 0;
}

.post-header--split .post-header__media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.post-header--split .post-header__media img {
    height: 320px;
    object-fit: cover;
}

.post-header--card .post-header__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.post-header--card .post-header__frame-media {
    height: 420px;
    object-fit: cover;
}

.post-header--card .post-header__card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(29, 38, 58, 0.10);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(10px);
}

.post-header--card .government-page-heading__content {
    padding: 0;
}

.post-inline-media {
    margin: 0 0 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.post-inline-media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 992px) {
    .post-inline-media {
        float: right;
        width: min(44%, 420px);
        margin: 0 0 1rem 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .post-header--hero .post-header__media img {
        height: 360px;
    }

    .post-header--card .post-header__frame-media {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .post-header--hero .post-header__inner {
        padding-bottom: 1.25rem;
    }

    .post-header--split .post-header__media img {
        height: 240px;
    }
}
