:root {
    --brand-900: #072f5c;
    --brand-800: #0b4d8a;
    --brand-700: #0e5aa6;
    --brand-500: #2a79d4;
    --brand-100: #eaf4ff;
    --accent: #d8ecff;
    --surface: #ffffff;
    --surface-soft: #f4f8fc;
    --text: #16324f;
    --muted: #60758d;
    --shadow: 0 24px 60px rgba(8, 46, 91, 0.14);
    --radius-xl: 28px;
    --radius-lg: 22px;
}

.medical-record-highlight {
    background: linear-gradient(90deg, var(--brand-900), var(--brand-800));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.medical-record-highlight .container {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.85rem, 2vw, 1.75rem);
    flex-wrap: wrap;
}

.medical-record-highlight a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.medical-record-highlight a:hover,
.medical-record-highlight a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .25rem;
}

.medical-record-form-section {
    margin-top: 2rem;
}

.medical-record-form-heading {
    margin-bottom: 1.5rem;
}

.medical-record-form-heading h3 {
    margin: .4rem 0;
}

.medical-record-form {
    display: grid;
    gap: 1.25rem;
}

.medical-form-card {
    min-width: 0;
    margin: 0;
    padding: 1.4rem;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background: #f8fbfe;
}

.medical-form-card legend {
    float: none;
    width: auto;
    margin: 0 0 1rem;
    padding: 0;
    color: #07366a;
    font-size: 1.05rem;
    font-weight: 800;
}

.medical-form-card legend span {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: .45rem;
    place-items: center;
    border-radius: 50%;
    background: #0b66b2;
    color: #fff;
    font-size: .85rem;
}

.medical-record-warning {
    margin: 1.5rem 0;
    padding: 1.15rem 1.25rem;
    border-left: 4px solid #0b66b2;
    background: #edf6ff;
}

.medical-record-warning h3 {
    margin-top: 0;
}

.medical-upload {
    display: grid;
    min-height: 150px;
    padding: 1.4rem;
    place-items: center;
    align-content: center;
    gap: .35rem;
    border: 1px dashed #7ea9d3;
    border-radius: 8px;
    background: #fff;
    color: #164f85;
    text-align: center;
    cursor: pointer;
}

.medical-upload i {
    font-size: 2rem;
}

.medical-upload span {
    color: #5b7590;
    font-size: .9rem;
}

.medical-upload input,
.medical-record-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.medical-file-list {
    display: grid;
    gap: .45rem;
    margin-top: .8rem;
}

.medical-file-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .7rem;
    border-radius: 6px;
    background: #eaf3fc;
    color: #164f85;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.medical-lgpd-consent {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background: #fff;
}

.medical-lgpd-consent input {
    flex: 0 0 auto;
    margin-top: .3rem;
}

.medical-form-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    main .py-5 > .container > .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .medical-record-highlight .container {
        justify-content: center;
        min-height: 30px;
    }

    .medical-form-card {
        padding: 1.1rem;
    }

    .medical-form-actions .btn {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(42, 121, 212, 0.18), transparent 36%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 28%, #f7fbff 100%);
}

h1, h2, h3, h4 {
    color: var(--brand-900);
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-700);
    font-weight: 800;
}

.topbar {
    background: linear-gradient(90deg, var(--brand-900), var(--brand-800));
    color: #fff;
    padding: .85rem 0;
}

@media (min-width: 992px) {
    .topbar .container {
        justify-content: center !important;
        gap: clamp(5rem, 13vw, 12rem) !important;
    }
}

.topbar-link {
    color: inherit;
    text-decoration: none;
}

.topbar-link:hover {
    color: #fff;
    text-decoration: underline;
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(14, 90, 166, 0.08);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--brand-900);
}

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

.navbar-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .entity-name {
    position: relative;
    justify-content: center;
    align-items: flex-start;
    padding-left: 1.45rem;
    line-height: 1;
    color: var(--brand-900);
}

.navbar-brand .entity-name::before {
    content: "";
    position: absolute;
    left: .1rem;
    top: 50%;
    width: 1px;
    height: 4.7rem;
    background: rgba(7, 47, 92, .22);
    transform: translateY(-50%);
}

.navbar-brand strong,
.navbar-brand small {
    display: block;
    font-size: .94rem;
    font-weight: 700;
    color: var(--brand-900);
    font-style: normal;
}

.navbar-brand .entity-name strong {
    position: relative;
    display: inline-block;
    padding-bottom: .32rem;
    font-size: clamp(1.32rem, 1.04rem + .82vw, 1.64rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.entity-name-kicker {
    display: block;
    margin-bottom: .28rem;
    color: var(--brand-900);
    font-size: clamp(.68rem, .58rem + .28vw, .82rem);
    font-weight: 800;
    letter-spacing: .44em;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .navbar-brand {
        gap: .75rem;
    }

    .navbar-brand img {
        width: 54px;
        height: 54px;
    }

    .navbar-brand strong,
    .navbar-brand small {
        font-size: .74rem;
    }

    .navbar-brand .entity-name strong {
        padding-bottom: .2rem;
        font-size: .78rem;
        line-height: 1;
    }

    .navbar-brand .entity-name::before {
        height: 3.4rem;
    }

    .entity-name-kicker {
        margin-bottom: .18rem;
        font-size: .48rem;
        letter-spacing: .28em;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar {
        padding: .75rem 0;
    }

    .navbar-brand {
        gap: .75rem;
    }

    .navbar-brand img {
        width: 54px;
        height: 54px;
    }

    .navbar-brand strong,
    .navbar-brand small {
        font-size: .82rem;
    }

    .navbar-brand .entity-name strong {
        font-size: 1.2rem;
        line-height: 1;
    }

    .entity-name-kicker {
        font-size: .62rem;
        letter-spacing: .36em;
    }

    .nav-link {
        font-size: .9rem;
        padding-right: .45rem;
        padding-left: .45rem;
    }
}

.nav-link {
    position: relative;
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s ease, background-color .25s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .45rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
    border-radius: 999px;
    opacity: .9;
}

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

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

.dropdown-menu {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: .8rem;
}

.dropdown-item {
    border-radius: 12px;
    padding: .7rem 1rem;
}

@media (min-width: 1200px) {
    .navbar .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(.5rem);
        visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

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


.hero-section {
    min-height: calc(100vh - var(--site-header-height, 184px));
    padding: clamp(1.75rem, 3vh, 2.5rem) 0 clamp(1.25rem, 2.4vh, 1.75rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::after {
    content: none;
}

.hero-video-wrap,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video-wrap {
    z-index: -3;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-position: center;
    filter: saturate(.88) contrast(1.02) brightness(.58);
}

.hero-video-bg {
    object-fit: cover;
    transform: scale(1.08);
    filter: blur(20px) saturate(.85) contrast(1.02) brightness(.38);
}

.hero-video-main {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.12);
    filter: saturate(.9) contrast(1.02) brightness(.62);
}

.hero-video-embed {
    overflow: hidden;
}

.hero-video-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 67.5vw;
    min-width: calc((100vh - var(--site-header-height, 184px)) * 1.9);
    min-height: calc((100vh - var(--site-header-height, 184px)) * 1.08);
    transform: translate(-50%, -50%) scale(1.04);
    border: 0;
    pointer-events: none;
}

.hero-overlay {
    z-index: -2;
    background: linear-gradient(90deg, rgba(7, 47, 92, 0.86) 0%, rgba(7, 47, 92, 0.60) 45%, rgba(7, 47, 92, 0.42) 100%);
}

.hero-section h1,
.inner-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.6rem);
    line-height: 1.05;
    margin: 1rem 0 1.25rem;
}

.hero-section h1 {
    font-size: clamp(2.4rem, 3.45vw, 4rem);
    margin: .7rem 0 .9rem;
}

.hero-section .lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 720px;
}

.hero-section .hero-stats {
    margin-top: 1.25rem !important;
}

.hero-section .stat-card {
    min-height: 82px;
    padding: .75rem;
}

.hero-section .stat-card strong {
    font-size: 1.4rem;
}

@media (min-width: 992px) and (max-height: 780px) {
    .hero-section {
        min-height: calc(100vh - var(--site-header-height, 184px));
        padding-top: .9rem;
        padding-bottom: .9rem;
        align-items: center;
    }

    .hero-section h1 {
        font-size: clamp(2.05rem, 3vw, 3.15rem);
        margin: .45rem 0 .65rem;
        line-height: 1.02;
    }

    .hero-section .lead {
        max-width: 660px;
        margin-bottom: .75rem;
        font-size: .93rem;
        line-height: 1.42;
    }

    .hero-actions .btn-lg {
        padding: .62rem 1.25rem;
        font-size: .95rem;
    }

    .hero-section .hero-stats {
        margin-top: .8rem !important;
    }

    .hero-section .stat-card {
        min-height: 70px;
        padding: .55rem .7rem;
        border-radius: 16px;
    }

    .hero-section .stat-card strong {
        font-size: 1.22rem;
    }

    .hero-section .stat-card span {
        font-size: .86rem;
    }
}

.inner-hero p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 720px;
}

.hero-section h1,
.hero-section .lead,
.hero-section .eyebrow {
    color: #fff;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.84);
}

.content-card,
.sidebar-card,
.news-card,
.testimonial-card,
.quick-link-card,
.pillar-card,
.document-card,
.partner-card,
.popup-card {
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.stat-card {
    display: flex;
    min-height: 98px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
}

.quick-link-card,
.partner-card {
    display: block;
    height: 100%;
    padding: 1.7rem;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.quick-link-item {
    min-width: 0;
}

.quick-link-card {
    display: grid;
    grid-template-rows: 58px minmax(3.2rem, auto) minmax(2.7rem, auto);
    min-height: 250px;
    align-content: center;
    justify-items: center;
    justify-content: center;
    padding: 1.4rem 1rem;
    text-align: center;
    row-gap: .55rem;
}

.quick-link-card h3,
.quick-link-card p {
    width: 100%;
}

.quick-link-card h3 {
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
}

.quick-link-card p {
    align-self: start;
    margin-bottom: 0;
    font-size: .9rem;
    line-height: 1.45;
}

.quick-link-card:hover,
.partner-card:hover,
.news-card:hover {
    transform: translateY(-6px);
}

.quick-link-card i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .quick-link-card {
        min-height: 220px;
    }
}

@media (max-width: 479.98px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

.bg-soft {
    background: linear-gradient(180deg, rgba(234, 244, 255, 0.72), rgba(255, 255, 255, 0.3));
}

.pillar-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid rgba(14, 90, 166, 0.08);
}

.pillar-card-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.pillar-card-heading .identity-icon {
    flex: 0 0 58px;
}

.pillar-card-heading .eyebrow {
    font-size: .9rem;
}

.pillar-card p:last-child {
    margin-bottom: 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.news-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    text-decoration: none;
    border: 1px solid rgba(11, 77, 138, 0.08);
}

.news-featured-image,
.news-content-image-button {
    position: relative;
    display: block;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #eef5fb;
    cursor: zoom-in;
}

.news-featured-image {
    width: 100%;
    margin-bottom: 1.75rem;
}

.news-featured-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.news-content-image-button {
    margin: 1.25rem auto;
}

.news-content-image-button img {
    display: block;
    max-width: 100%;
    height: auto;
}

.news-featured-image > span,
.news-image-zoom-hint {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: rgba(6, 31, 59, .88);
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}

.news-featured-image:hover > span,
.news-featured-image:focus-visible > span,
.news-content-image-button:hover .news-image-zoom-hint,
.news-content-image-button:focus-visible .news-image-zoom-hint {
    opacity: 1;
}

.news-detail-body iframe,
.news-detail-body video {
    max-width: 100%;
}

.news-search {
    margin-bottom: 1.5rem;
    padding: 1.35rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6, 31, 59, .07);
}

.news-search > label {
    display: block;
    margin-bottom: .6rem;
    color: var(--brand-900);
    font-weight: 800;
}

.news-search-controls {
    display: flex;
    gap: .65rem;
}

.news-search-controls .form-control {
    min-width: 0;
    min-height: 50px;
    border-radius: 8px;
}

.news-search-controls .btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    white-space: nowrap;
}

.news-archive-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.news-years {
    position: sticky;
    top: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6, 31, 59, .07);
}

.news-years h2,
.news-results-heading h2 {
    margin: 0;
    color: var(--brand-900);
    font-size: 1.2rem;
}

.news-years nav {
    display: grid;
    margin-top: 1rem;
}

.news-years a {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem .8rem;
    border-bottom: 1px solid rgba(11, 77, 138, .08);
    color: var(--text);
    text-decoration: none;
}

.news-years a:last-child {
    border-bottom: 0;
}

.news-years a.active,
.news-years a:hover {
    border-radius: 6px;
    background: var(--brand-100);
    color: var(--brand-700);
}

.news-years strong {
    color: var(--brand-600);
    font-size: .82rem;
}

.news-results {
    min-width: 0;
}

.news-results-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.news-results-heading span {
    color: var(--muted);
    font-size: .9rem;
}

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

.edict-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6, 31, 59, .07);
}

.edict-item-heading {
    min-width: 0;
}

.edict-item h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.4;
}

.edict-files {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.edict-files .document-file-link {
    white-space: nowrap;
}

.financial-report-item {
    display: block;
}

.financial-report-content,
.financial-report-content .document-files {
    width: 100%;
}

.financial-report-content h3 {
    margin-bottom: 1rem;
}

.news-empty {
    display: grid;
    min-height: 220px;
    place-items: center;
    align-content: center;
    gap: .75rem;
    padding: 2rem;
    border: 1px dashed rgba(11, 77, 138, .24);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.news-empty i {
    color: var(--brand-500);
    font-size: 2rem;
}

.news-detail-hero-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
}

.news-detail-hero-heading > div {
    min-width: 0;
}

.news-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.news-category,
.news-meta {
    font-size: .85rem;
    color: var(--brand-700);
    font-weight: 700;
}

.testimonial-card {
    height: 100%;
    padding: 2rem;
    background: linear-gradient(180deg, #fff, #f7fbff);
}

.testimonial-card i {
    font-size: 1.8rem;
    color: var(--brand-500);
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card span {
    color: var(--muted);
}

.testimonial-item.is-hidden,
.testimonial-actions .is-hidden {
    display: none;
}

.testimonial-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 2rem;
}

.testimonial-actions .btn {
    min-width: 210px;
}

.donation-card {
    background: linear-gradient(130deg, var(--brand-900), var(--brand-700));
    color: #fff;
    padding: 2.5rem 3rem;
    border-radius: calc(var(--radius-xl) + 6px);
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 2.5rem;
    align-items: center;
    box-shadow: var(--shadow);
}

.donation-content {
    min-width: 0;
}

.donation-heading {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .9rem;
}

.donation-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.35rem;
}

.donation-card .eyebrow {
    color: #a9d5ff;
}

.donation-card h2 {
    max-width: 720px;
    margin: 0 0 .85rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1.2;
}

.donation-content > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.65;
}

.donation-actions {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding-left: 2.5rem;
    border-left: 1px solid rgba(255, 255, 255, .24);
}

.donation-actions strong {
    color: #fff;
    font-size: 1.05rem;
}

.donation-actions p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    line-height: 1.55;
}

.donation-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: .35rem;
}

.partner-card {
    display: grid;
    grid-template-rows: 86px minmax(2.7rem, auto);
    gap: .75rem;
    min-height: 178px;
    align-content: center;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.partner-card img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.partner-card > i {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 18px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.8rem;
}

.partner-card span {
    display: flex;
    width: 100%;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--brand-900);
    font-size: clamp(.78rem, .72rem + .18vw, .94rem);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.popup-image {
    display: block;
    width: min(100%, 760px);
    max-height: 46vh;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(11, 77, 138, .1);
    background: #fff;
}

.modal .popup-card {
    max-height: calc(100vh - 3rem);
}

.popup-card .modal-body {
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.inner-hero {
    padding: 4.5rem 0 .75rem;
    background: linear-gradient(180deg, rgba(234, 244, 255, 0.76), transparent);
}

.inner-hero + section {
    padding-top: 1rem !important;
}

.content-card,
.sidebar-card {
    padding: 2rem;
}

.content-body {
    color: #486076;
    line-height: 1.85;
}

.content-body h3 {
    margin-top: 1.5rem;
}

.patient-guidance {
    display: grid;
    gap: 1rem;
}

.patient-guidance-section {
    padding: 1.5rem;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #f8fbfe;
}

.patient-guidance-section h3 {
    margin: 0 0 .75rem;
    color: #07396d;
}

.patient-guidance-section h4 {
    margin: 1rem 0 .5rem;
    color: #164f86;
    font-size: 1rem;
}

.patient-guidance-section p:last-child,
.patient-guidance-section ul:last-child {
    margin-bottom: 0;
}

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

.patient-guidance-grid article {
    padding: 1rem;
    border-left: 3px solid #1976cf;
    background: #fff;
}

.patient-schedule {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-bottom: 0;
}

.patient-visit-rules {
    display: grid;
    gap: .5rem;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.patient-visit-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.patient-visit-reasons article {
    padding: 1rem;
    border-left: 3px solid #1976cf;
    background: #fff;
}

.patient-visit-reasons h4 {
    margin-top: 0;
}

.patient-manual-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: #edf6ff;
}

.patient-manual-card h3 {
    margin: .2rem 0 .35rem;
    color: #07396d;
}

.patient-manual-card p {
    margin: 0;
    color: #486076;
}

.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.accommodation-item {
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fff;
}

.accommodation-image {
    display: grid;
    aspect-ratio: 4 / 3;
    background: #edf3f8;
}

.accommodation-image-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
}

.accommodation-image-button {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.accommodation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.accommodation-image-button:hover img {
    transform: scale(1.03);
}

.accommodation-zoom-hint {
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(6, 31, 59, .82);
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}

.accommodation-image-button:hover .accommodation-zoom-hint,
.accommodation-image-button:focus-visible .accommodation-zoom-hint {
    opacity: 1;
}

.accommodation-copy {
    padding: 1.15rem;
}

.accommodation-copy h3 {
    margin: 0;
    color: #07396d;
    font-size: 1.05rem;
}

.accommodation-copy p {
    margin: .45rem 0 0;
    color: #486076;
}

.evaluation-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.evaluation-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: #f5f9fd;
    color: #07396d;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.evaluation-choice:hover {
    border-color: #1976cf;
    background: #edf6ff;
}

.evaluation-choice > i {
    font-size: 1.75rem;
    color: #0e5aa6;
}

.evaluation-choice strong,
.evaluation-choice small {
    display: block;
}

.evaluation-choice small {
    margin-top: .25rem;
    color: #61778b;
    line-height: 1.45;
}

.evaluation-modal .modal-content {
    max-height: calc(100vh - 2rem);
    border: 0;
    border-radius: 8px;
    overflow: hidden;
}

.evaluation-modal form {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.evaluation-modal .modal-header,
.evaluation-modal .modal-footer {
    padding: 1.25rem 1.5rem;
}

.evaluation-modal .modal-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 1.5rem;
    background: #f4f8fc;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.evaluation-modal .modal-title {
    margin-top: .2rem;
    color: #07396d;
}

.evaluation-anonymous {
    display: flex;
    gap: .65rem;
    align-items: center;
    padding: .9rem 1rem;
    border-left: 3px solid #1976cf;
    background: #fff;
    color: #35516b;
}

.evaluation-section {
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fff;
}

.evaluation-section h3 {
    margin: 0 0 1rem;
    color: #07396d;
    font-size: 1.15rem;
}

.evaluation-question {
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid #e3ebf3;
}

.evaluation-question:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.evaluation-question legend {
    margin-bottom: .7rem;
    color: #294760;
    font-size: .95rem;
    font-weight: 700;
}

.evaluation-rating {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.evaluation-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.evaluation-rating span {
    display: grid;
    min-height: 42px;
    place-items: center;
    padding: .5rem;
    border: 1px solid #cddceb;
    border-radius: 6px;
    color: #38536c;
    cursor: pointer;
}

.evaluation-rating input:checked + span {
    border-color: #0e5aa6;
    background: #0e5aa6;
    color: #fff;
}

.evaluation-rating input:focus-visible + span {
    outline: 3px solid rgba(25, 118, 207, .25);
}

.patient-informative-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #cfe0f1;
    border-radius: 8px;
    background: #edf6ff;
}

.patient-informative-intro > i {
    color: #0e5aa6;
    font-size: 1.7rem;
}

.patient-informative-intro h3 {
    margin: 0 0 .35rem;
    color: #07396d;
}

.patient-informative-intro p {
    margin: 0;
}

.patient-informative-page {
    display: grid;
    gap: 1.25rem;
}

.patient-informative-card {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #f8fbfe;
}

.patient-informative-visual {
    display: grid;
    min-height: 310px;
    place-items: center;
    padding: 1.25rem;
    background: #eef4f9;
}

.patient-informative-visual img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.patient-informative-copy {
    align-self: center;
    padding: 1.75rem;
}

.patient-informative-copy h3 {
    margin: .35rem 0 .85rem;
    color: #07396d;
}

.patient-informative-copy p:last-child {
    margin-bottom: 0;
}

.patient-fraud-alert {
    border-color: #efcaca;
    background: #fffafa;
}

.patient-fraud-alert .patient-informative-visual {
    background: #fff;
}

.patient-fraud-alert .eyebrow {
    color: #bd2026;
}

.patient-document-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.patient-document-list article {
    display: grid;
    gap: .2rem;
    padding: 1rem;
    border-left: 3px solid #1976cf;
    background: #fff;
}

.patient-document-list strong {
    color: #07396d;
}

.organ-donation-page {
    display: grid;
    gap: 1rem;
}

.organ-donation-image {
    display: grid;
    margin: 0 0 .5rem;
    place-items: center;
}

.organ-donation-image img {
    width: min(320px, 100%);
    height: auto;
}

.organ-donation-section {
    padding: 1.5rem;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #f8fbfe;
}

.organ-donation-section h3 {
    margin: 0 0 .75rem;
    color: #07396d;
}

.organ-donation-section p:last-child,
.organ-donation-section ul:last-child {
    margin-bottom: 0;
}

.organ-objectives {
    display: grid;
    gap: .55rem;
}

.accommodation-viewer[hidden] {
    display: none;
}

.accommodation-viewer {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 1rem;
    background: rgba(3, 18, 34, .96);
    color: #fff;
}

.accommodation-viewer-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: .25rem .5rem 1rem;
}

.accommodation-viewer-actions {
    display: flex;
    gap: .5rem;
}

.accommodation-viewer-actions button,
.accommodation-viewer-nav {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.accommodation-viewer-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: 0;
    align-items: center;
}

.accommodation-viewer-image-wrap {
    display: grid;
    min-width: 0;
    height: 100%;
    place-items: center;
    overflow: auto;
}

.accommodation-viewer-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    transform: scale(1);
    transform-origin: center;
    transition: transform .2s ease;
}

.accommodation-viewer-counter {
    padding-top: .75rem;
    text-align: center;
    color: rgba(255, 255, 255, .72);
}

body.gallery-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .patient-guidance-grid,
    .patient-schedule,
    .patient-visit-reasons {
        grid-template-columns: 1fr;
    }

    .patient-manual-card {
        grid-template-columns: 1fr;
    }

    .accommodations-grid {
        grid-template-columns: 1fr;
    }

    .evaluation-actions,
    .evaluation-rating {
        grid-template-columns: 1fr;
    }

    .patient-informative-card {
        grid-template-columns: 1fr;
    }

    .patient-informative-visual {
        min-height: 0;
    }

    .accommodation-viewer {
        padding: .75rem;
    }

    .accommodation-viewer-toolbar {
        align-items: flex-start;
    }

    .accommodation-viewer-toolbar strong {
        font-size: .9rem;
    }

    .accommodation-viewer-stage {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: .35rem;
    }

    .accommodation-viewer-nav {
        width: 40px;
        height: 40px;
    }

    .patient-manual-card .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.identity-pillars {
    display: grid;
    gap: 1rem;
}

.identity-pillar {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, rgba(234, 244, 255, .56));
}

.identity-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.55rem;
}

.identity-pillar h3 {
    margin: 0 0 .45rem;
}

.identity-pillar p {
    margin: 0;
}

.strategic-map {
    margin: 0 0 1.5rem;
    overflow-x: auto;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
}

.strategic-map img {
    display: block;
    width: 100%;
    min-width: 680px;
    height: auto;
}

.legacy-partners {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.legacy-partners figure {
    margin: 0;
}

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

.legacy-partners-featured figure,
.legacy-partners-board {
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
}

.legacy-partners-featured img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.legacy-partners-board {
    overflow-x: auto;
}

.legacy-partners-board img {
    display: block;
    width: 100%;
    min-width: 640px;
    height: auto;
}

.legacy-partners-board-small img {
    min-width: 520px;
}

.institutional-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.institutional-partner {
    display: flex;
    min-width: 0;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    padding: 1.25rem;
    border: 1px solid rgba(11, 77, 138, .12);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-900);
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.institutional-partner:hover {
    border-color: rgba(14, 90, 166, .35);
    box-shadow: 0 14px 30px rgba(8, 46, 91, .1);
    transform: translateY(-3px);
}

.institutional-partner-logo {
    display: grid;
    width: 100%;
    height: 100px;
    place-items: center;
}

.institutional-partner-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.institutional-partner-logo i {
    font-size: 2.25rem;
    color: var(--brand-700);
}

.institutional-partner span {
    font-size: .8rem;
    color: var(--brand-700);
}

@media (max-width: 575.98px) {
    .identity-pillar {
        grid-template-columns: 1fr;
    }

    .legacy-partners-featured {
        grid-template-columns: 1fr;
    }

    .institutional-partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .institutional-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.founders-page h3 {
    margin: 0 0 1.25rem;
}

.founders-page h3 + .portrait-grid {
    margin-bottom: 2.25rem;
}

.portrait-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.portrait-card {
    min-height: 272px;
    padding: 1rem;
    border: 1px solid rgba(11, 77, 138, .1);
    border-radius: 8px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.portrait-card img {
    width: 100%;
    height: 168px;
    display: block;
    margin: 0 auto .9rem;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: 1px solid rgba(11, 77, 138, .08);
}

.portrait-card strong,
.portrait-card span,
.portrait-card small {
    display: block;
}

.portrait-card strong {
    color: var(--brand-900);
    font-size: .96rem;
    line-height: 1.25;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-card span {
    color: var(--brand-700);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    margin-top: .35rem;
    min-height: 1.25em;
}

.portrait-card small {
    color: var(--muted);
    font-weight: 700;
    margin-top: .45rem;
    min-height: 1.25em;
}

.portrait-current {
    border-color: rgba(14, 90, 166, .32);
    background: linear-gradient(180deg, #fff, var(--brand-100));
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links a {
    display: block;
    padding: .8rem 0;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid rgba(11, 77, 138, .08);
}

.contact-form .form-control {
    border-radius: 16px;
    border-color: rgba(11, 77, 138, 0.15);
    min-height: 52px;
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.contact-form .form-label {
    font-weight: 700;
    color: var(--brand-900);
}

.contact-form .required-mark {
    color: #c62828;
}

.contact-choice {
    min-width: 0;
    padding: 0;
    border: 0;
}

.contact-form-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(11, 77, 138, 0.12);
}

.contact-form-section h3 {
    margin-bottom: 1.5rem;
}

.document-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid rgba(11, 77, 138, 0.08);
}

.document-files {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
}

.document-description-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .6rem;
    margin-bottom: 0;
}

.document-description-line > span:first-child {
    min-width: 0;
}

.document-file-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .45rem;
    padding: .45rem .7rem;
    border: 1px solid rgba(14, 90, 166, .18);
    border-radius: 8px;
    color: var(--brand-700);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
    background: rgba(234, 244, 255, .5);
    cursor: pointer;
}

.document-file-link i {
    font-size: 1rem;
}

.document-file-link:hover {
    background: var(--brand-100);
    color: var(--brand-900);
}

.transfer-accordion {
    display: grid;
    gap: .85rem;
}

.transfer-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(14, 90, 166, .14);
    border-radius: 8px;
}

.transfer-accordion .accordion-button {
    gap: .75rem;
    padding: 1.1rem 1.25rem;
    color: var(--brand-900);
    background: #fff;
    box-shadow: none;
    font-weight: 800;
}

.transfer-accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--brand-800);
}

.transfer-accordion .accordion-button small {
    margin-left: auto;
    margin-right: .75rem;
    color: inherit;
    font-size: .78rem;
    font-weight: 600;
    opacity: .72;
}

.transfer-accordion .accordion-body {
    padding: 0 1.4rem;
}

.transfer-records {
    display: grid;
}

.transfer-record {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(14, 90, 166, .12);
}

.transfer-record:last-child {
    border-bottom: 0;
}

.transfer-record h4 {
    margin-bottom: .75rem;
    color: var(--brand-900);
}

.transfer-description {
    margin-bottom: 1rem;
}

.transfer-files {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1rem 0;
}

.transfer-empty {
    margin: 0;
    padding: 1.5rem 0;
    color: var(--muted);
}

.transfer-chart {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(14, 90, 166, .1);
}

.transfer-chart h5 {
    margin-bottom: 1.25rem;
    color: var(--brand-900);
}

.transfer-chart-canvas {
    position: relative;
    width: 100%;
    min-height: 360px;
}

.transfer-chart-canvas canvas {
    width: 100% !important;
    height: 360px !important;
}

.donation-projects {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.donation-project {
    display: grid;
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(14, 90, 166, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(6, 31, 59, .08);
}

.donation-project-image {
    min-height: 360px;
    padding: 1rem;
    background: #f2f7fc;
}

.donation-project-image-button {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    place-items: center;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.donation-project-image-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.donation-project-zoom-hint {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(6, 31, 59, .88);
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease;
}

.donation-project-image-button:hover .donation-project-zoom-hint,
.donation-project-image-button:focus-visible .donation-project-zoom-hint {
    opacity: 1;
}

.donation-project-copy {
    padding: 2rem;
}

.donation-project-copy time {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: var(--brand-600);
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.donation-project-copy h2 {
    margin-bottom: .8rem;
    color: var(--brand-900);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.donation-project-summary {
    margin-bottom: 1.25rem;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 600;
}

.donation-project-content > :last-child {
    margin-bottom: 0;
}

.donation-project-content blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--brand-500);
    background: #f2f7fc;
}

.donation-payment {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 90, 166, .14);
}

.donation-payment h3 {
    margin-bottom: 1rem;
    color: var(--brand-900);
    font-size: 1.15rem;
}

.donation-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.donation-pix,
.donation-paypal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid rgba(14, 90, 166, .14);
    border-radius: 8px;
    background: #f8fbfe;
}

.donation-pix > span,
.donation-paypal label {
    color: var(--brand-700);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.donation-pix strong {
    color: var(--brand-900);
    font-size: 1.05rem;
}

.donation-paypal select {
    width: 100%;
}

.paypal-donate-image {
    width: auto;
    max-width: 100%;
    height: auto;
}

.donation-projects-empty {
    margin: 2rem 0 0;
    padding: 1.5rem;
    border: 1px solid rgba(14, 90, 166, .14);
    border-radius: 8px;
    background: #f4f8fc;
    color: var(--muted);
}

.site-footer {
    margin-top: 3rem;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #061f3b;
    color: rgba(255, 255, 255, .82);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
    align-items: start;
    padding: 2.75rem 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

@media (min-width: 992px) {
    .footer-contact-grid {
        grid-template-columns: max-content max-content max-content;
        justify-content: center;
        gap: clamp(5rem, 12vw, 11rem);
    }
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    min-width: 0;
}

.footer-contact-item > i {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.3;
}

.footer-contact-item strong {
    display: block;
    margin-bottom: .45rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.footer-contact-item a {
    display: block;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.footer-social-links a {
    white-space: nowrap;
    overflow-wrap: normal;
}

.footer-address span {
    display: block;
}

.footer-social-links {
    display: flex;
    gap: .55rem;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
}

.footer-social-links a:hover {
    color: #fff;
}

.footer-social-links i {
    color: #fff;
    font-size: 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(2rem, 3.5vw, 4rem);
    row-gap: 2.5rem;
    align-items: start;
    padding: 2.75rem 0 3rem;
}

.footer-company {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.footer-column {
    min-width: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    width: fit-content;
    color: #fff;
    text-decoration: none;
    text-align: left;
}

.footer-brand img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    align-self: center;
}

.footer-brand strong {
    max-width: none;
    font-size: .95rem;
    line-height: 1.35;
    white-space: nowrap;
}

.footer-contact {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin: 0;
    font-style: normal;
}

.footer-contact a {
    display: block;
    max-width: 250px;
    line-height: 1.45;
}

.site-footer h4 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.5;
    text-transform: uppercase;
}

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

.footer-links li {
    display: flex;
    align-items: flex-start;
    min-height: 1.35rem;
}

.footer-links a,
.site-footer a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a {
    position: relative;
    padding-left: .8rem;
    font-size: .88rem;
    line-height: 1.45;
}

.footer-links a::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '›';
    color: #fff;
    font-weight: 800;
}

.footer-links a:hover,
.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.footer-legal a {
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    font-weight: 700;
    padding: .85rem 1.45rem;
    white-space: nowrap;
}

.btn:not(.btn-outline-danger):not(.admin-file-link) {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 16px 40px rgba(14, 90, 166, 0.25);
}

.btn:not(.btn-outline-danger):not(.admin-file-link):hover,
.btn:not(.btn-outline-danger):not(.admin-file-link):focus-visible,
.btn:not(.btn-outline-danger):not(.admin-file-link):active {
    background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 18px 42px rgba(14, 90, 166, .32);
}

.entity-name {
    text-transform: uppercase;
}

.entity-name strong,
.entity-name small,
.entity-name p {
    text-transform: uppercase;
}

.navbar-brand .entity-name {
    white-space: nowrap;
}

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

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

    .footer-company {
        grid-column: 1 / -1;
        align-items: flex-start;
    }

    .footer-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }

    .donation-card {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .donation-actions {
        padding-top: 1.75rem;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .24);
        border-left: 0;
    }

    .news-archive-layout {
        grid-template-columns: 1fr;
    }

    .news-years {
        position: static;
    }

    .news-years nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .35rem;
    }

    .news-years a {
        border: 1px solid rgba(11, 77, 138, .08);
        border-radius: 6px;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 0;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.25rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-company {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-brand strong {
        font-size: .78rem;
    }

    .footer-bottom {
        margin-top: 3rem;
        flex-direction: column;
    }

    .footer-legal {
        row-gap: .35rem;
    }

    .donation-card {
        padding: 1.5rem;
    }

    .donation-card h2 {
        font-size: 1.65rem;
    }

    .donation-actions .btn {
        width: 100%;
    }

    .hero-section,
    .inner-hero {
        padding-top: 3rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .topbar {
        font-size: .85rem;
    }

    .document-card {
        flex-direction: column;
    }

    .donation-project {
        grid-template-columns: 1fr;
    }

    .donation-project-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .donation-project-copy {
        padding: 1.35rem;
    }

    .donation-payment-options {
        grid-template-columns: 1fr;
    }

    .news-search-controls,
    .news-detail-hero-heading {
        flex-direction: column;
    }

    .news-search-controls .btn,
    .news-close {
        width: 100%;
        justify-content: center;
    }

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

    .edict-item {
        align-items: stretch;
        flex-direction: column;
    }

    .edict-files {
        justify-content: flex-start;
    }
}
