html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    background: black;
    font-family: 'Inter', sans-serif;
}

header {
    --thickness: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    overflow: visible;
    height: 120px;
    background: transparent;
}

header nav {
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}

/*
header .backdrop {

    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: hsl(0 0% 100% / 0.15);
    pointer-events: none;
    z-index: 1;
}
    */

header .backdrop {
    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background-color: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 1;
}

/*
header .backdrop-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--thickness);
    background: hsl(0deg 0% 100% / 0.2);
    -webkit-backdrop-filter: blur(12px) brightness(0.96);
    backdrop-filter: blur(12px) brightness(0.96);
    pointer-events: none;
    z-index: 1;
}
    */

header .backdrop-edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--thickness);
    background: rgba(0,0,0,0.15);
    -webkit-backdrop-filter: blur(12px) brightness(0.96);
    backdrop-filter: blur(12px) brightness(0.96);
    pointer-events: none;
    z-index: 1;
}

header .backdrop,
header .backdrop-edge {
    z-index: 1;
}

.logo img {
    height: 85px;
    width: auto;
    padding-right: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
    z-index: 5;
}

nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    font-size: 1.2em;
}

nav a {
    text-decoration: none;
    color: black;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ffc109;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-menu a::after {
    background-color: none;
    transform: scaleX(0);
}

.dropdown-menu a:hover::after {
    transform: scaleX(0);
}

nav a:hover::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    min-width: 160px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 36, 76, 0.08);
    border-radius: 0 8px 8px 8px;
    top: 100%;
    left: 0;
    z-index: 30;
    padding: 8px 0;
}

.nav-dropdown.show-menu .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #185fa5;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
    color: black !important;
}

.dropdown-menu a:hover {
    background: #eaf2fc;
    color: #003366 !important;
}



header,
header .logo span,
header nav ul li a {
    transition: color 0.2s;
}

header.light {
    color: white;
}

header.light .logo span,
header.light nav ul li a {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

header.dark {
    color: #fff;
}

header.dark .logo span,
header.dark nav ul li a {
    color: #fff;
}

.hero {
    height: calc(40vh - 90px);
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
        url("/images/home-page-demo.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.hero .text {
    padding-top: 200px;
    padding-left: 200px;
    color: white;
    font-size: 2rem;
}

.subtitle h2 {
    padding-left: 200px;
    color: white;
    font-size: 1.5rem;
    font-weight: 200;
}

.content {
    padding: 4rem;
    background: grey;
}

.partners {
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slider {
    /*margin-top: 200px !important;*/
    background: #ffffff;
    height: 150pt;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
    display: flex;
    align-items: center;
}

.slider:before {
    left: 0;
    top: 0;
}

.slider:after,
.slider:before {
    content: "";
    height: 150pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider:after,
.slider:before {
    content: "";
    height: 150pt;
    position: absolute;
    width: 400px;
    z-index: 2;
}

.slider .slide-track-1 {
    animation: scroll-l 30s linear infinite;
    display: flex;
    width: 3500px;
    overflow-x: hidden;
}

.slider .slide {
    height: 200pt;
    width: 800px;
    display: flex;
    align-items: center;
    text-align: center;
}

.slider .slide img {
    width: 160px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.logo span {
    font-size: 26px;
    font-weight: 600;
}

.current {
    color: #ffc109 !important;
}

h2 {
    font-size: 60px;
    margin: 0;
    color: #e0e0e0;
}

.bequests-content p {
    line-height: 2;
    font-size: 20px;
    font-weight: lighter;
    color: #e0e0e0;
}

.bequests-content {
    width: 50%;
    max-width: 1000px;
    min-width: 300px;
    margin: 0 auto;
    padding: 5%;
    background: rgba(40, 40, 50, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 4px solid rgba(100, 100, 120, 0.3);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bequests {
    width: 100%;
    height: auto;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/images/plane_background.webp") center/cover no-repeat;
    padding: 10% 0;
}

hr {
    border-top: 1px;
    border-color: white;
    height: 2px;
    background-color: #ffc109;
}

.about {
    width: 100%;
    height: auto;
    /*background-color: #212529; */
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/images/plane_background.webp") center/cover no-repeat;
    padding: 120px 0 0 0;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.about-content {
    width: 100%;
    margin: 330px 0 100px 0;
    padding: 5% 0;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.title-div {
    height: 300px;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.title-text {
    align-self: flex-start;
    margin: auto;
}

.acnc-logo {
    width: 268px;
    float: right;
    margin-left: 28px;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .acnc-logo {
        width: 180px;
        margin-left: 16px;
    }
}

@media (max-width: 600px) {
    .acnc-logo {
        float: none;
        display: block;
        margin: 0 auto 14px auto;
    }
}

.acnc {
    margin: 0 auto;
    padding: 5% 0;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
}

.acnc-home-page {
    margin: 0 auto;
    padding: 2.4rem 0;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
}


.big-blue-quote {
    color: #185fa5;  /* #19548c */
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.01em;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.white-background {
    background-color: white;
    padding: 3rem 1.5rem 3.5rem;
    width: 100%;
}

.white-background-home-page {
    background-color: white;
    padding: 2.4rem 0 0 0;
    width: 100%;
}

.about-text {
    padding: 0 10%;
    display: flex;
    align-items: top;
    flex-direction: row;
    gap: 5%;
}

.about-text h2 {
    color: black;
}

.impact-content {
    align-self: flex-start;
}

strong {
    text-align: left;
    display: block;
    font-size: 2rem;
    padding-bottom: 20px;
}

strong.member-name {
    padding: 0;
}

.about-content h2 {
    color: #e0e0e0;
}

.acnc p {
    color: #000000;
    font-size: 18px;
    white-space: normal;
    line-height: 2;
    margin: 0 0 1.6rem 0;
}

.acnc-home-page p {
    color: #000000;
    font-size: 18px;
    white-space: normal;
    line-height: 2;
    margin: 0 0 1.6rem 0;
}

.about-content p {
    color: #000000;
    white-space: normal;
    line-height: 2;
}

.styled-quote {
    font-family: 'Inter', 'Georgia', serif;
    font-size: 1.16em;
    font-style: italic;
    color: #185fa5;
    background: #f5fafd;
    border-left: 5px solid #83b1e6;
    margin: 32px auto 32px auto;
    padding: 18px 30px 14px 22px;
    box-shadow: 0 3px 16px rgba(0, 36, 76, 0.04);
    position: relative;
}

.wrap-image {
    max-width: 1200px;
    margin: 0 auto;
}

.board {
    align-self: flex-start;
}

.members-list {
    list-style-type: disc;
    padding-left: 1.25em;
    margin: 24px 0 0 0;
}

.members-list li {
    font-size: 1.1em;
    margin-bottom: 0.7em;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
}

.list {
    list-style-type: disc;
    padding-left: 1.25em;
    margin: 24px 0 0 0;
}

.list li {
    font-size: 18px;
    margin-bottom: 0.7em;
    letter-spacing: 0.01em;
    position: relative;
}

a {
    color: #ffc109;
    transition: color 0.2s;
}

a:hover {
    color: hsl(45, 100%, 40%);
    transition: color 0.2s;
}

.news {
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/images/plane_background.webp") center/cover no-repeat;
    padding: 10% 0;
}

.news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.news-item {
    width: 60%;
    background-color: white;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(23, 36, 69, 0.13);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
    position: absolute;
    padding: 40px 40px 32px 40px;
    max-height: 60vh;
    overflow-y: auto;
}

.news-item h2 {
    padding-left: 4%;
    padding-top: 3%;
    padding-right: 4%;
    padding-bottom: 3%;
}

.news-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: #24264d;
}

.news-body {
    font-size: 1.13rem;
    color: #24264d;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.news-item p {
    padding-left: 4%;
    padding-right: 4%;
    line-height: 1.5;
}

.pill-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100px;
    padding: 0.5rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px #555;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: hsl(0 0% 100% / 0.15);
    position: absolute;
    bottom: 20px;
}

.pill-menu .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: background 0.3s;
}

.pill-menu .dot.dot-active {
    background: #ffc109;
}

.news-item.active {
    opacity: 1;
    transform: translateY(0);
}

.news-page {
    height: 100vh;
    overflow: hidden;
}

.events-hero {
    background: #5d99cf;
    color: #fff;
    padding: 160px 0 50px 0;
    text-align: center;
}

.section-title {
    font-family: 'Inter', serif;
    font-size: 2.8em;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}


.events-carousel {
    display: flex;
    gap: 20px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 18px;
    padding-top: 18px;
    scroll-behavior: smooth;
    transition: none;
}


.event-tile {
    background: #fff;
    color: #185fa5;
    border-radius: 24px;
    min-width: 340px;
    max-width: 340px;
    box-shadow: 0 6px 30px rgba(18, 46, 95, 0.08);
    position: relative;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 380px;
    margin: 0 8px;
}

.event-desc::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.event-tile:hover {
    transform: translateY(-4px) scale(1.03);
}

.event-date-circle {
    position: absolute;
    top: 18px;
    left: 24px;
    background: #185fa5;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(18, 46, 95, 0.07);
    border: 3px solid #eaf2fc;
}

.event-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.event-details {
    display: flex;
    flex-direction: column;
    padding: 16px 22px 0 22px;
    overflow-y: auto;
}

.event-time {
    font-size: 0.92em;
    letter-spacing: 0.02em;
    color: #555;
}

.event-title {
    font-size: 1.2em;
    font-weight: 700;
    margin: 6px 0 2px 0;
}

.event-desc {
    font-size: 1em;
    color: #185fa5;
    overflow-y: auto;
    margin-bottom: 25px;
}

.carousel-arrow {
    position: relative;
    top: 50%;
    background: #fff;
    color: #185fa5;
    border-radius: 50%;
    border: none;
    font-size: 1.6em;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 10px rgba(38, 68, 148, .15);
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-arrow.left {
    margin-right: 14px;
}

.carousel-arrow.right {
    margin-left: 14px;
}

@media (max-width: 900px) {
    .events-carousel {
        gap: 18px;
    }

    .event-tile {
        min-width: 260px;
        max-width: 260px;
    }
}

.events-filter {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin: 34px 0 24px 0;
}

.events-filter label {
    font-weight: 600;
    color: #185fa5;
    margin-right: 8px;
}

.events-filter select {
    font-family: 'Inter', sans-serif;
    font-size: 1.07em;
    padding: 6px 32px 6px 10px;
    border-radius: 8px;
    border: 1px solid #185fa5;
    background: #f7fbff;
    color: #185fa5;
}

.events-by-month {
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.month-title {
    font-size: 1.5em;
    color: #185fa5;
    margin-bottom: 18px;
}

.event-list {
    list-style: none;
    border-radius: 8px;
    background: #f5fafd;
    box-shadow: 0 0 8px 8px rgba(21, 59, 164, 0.06);
    padding: 0;
    margin-bottom: 44px;
}

.event-list li:last-child {
    border-bottom: none;
}

.event-date {
    min-width: 76px;
    font-weight: 700;
    color: #68a9e3;
    text-align: right;
}

.event-title-list {
    flex: 1;
    font-weight: 600;
}

.event-time-list {
    color: #555;
    font-size: 0.97em;
    padding-right: 16px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-title {
    font-size: 1.25rem;
    color: #185fa5;
    font-weight: 700;
    margin-top: 30px;
    letter-spacing: 0.5px;
}

.event-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.01em;
    padding: 15px 0;
    border-bottom: 1px solid #eaeafd;
}

.event-title-list {
    color: #185fa5;
    font-weight: 500;
    flex-grow: 1;
    padding-left: 16px;
}

.gradient-background {
    background-color: white;
}

.slideshow {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(41, 66, 133, .12);
    background: #eaf2fc;
    position: relative;
    float: right;
    width: 600px;
    margin-left: 28px;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .slideshow {
        width: 300px;
        height: 200px;
        margin-left: 16px;
    }
}

@media (max-width: 600px) {
    .slideshow {
        float: none;
        display: block;
        margin: 0 auto 14px auto;
    }
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity .6s;
    z-index: 0;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 1;
}

.title-text h2 {
    font-size: 80px;
}

.tagline {
    color: #e0e0e0;
    text-align: center;
}

.taglines {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 50px;
}

.larger-tagline {
    color: #ffc109;
    text-align: center;
}

.larger-taglines {
    font-size: 1.25em;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 230px;
}

h4.larger-tagline {
    margin: 0;
}

h3.tagline {
    margin-top: 10px;
}

.donate-btn {
    background-color: #f2b400;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.7rem 1.4rem;
    border-radius: 9999px;
    border: none;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
        background-color 0.12s ease-out, color 0.12s ease-out;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    font-size: 1.5rem;
}

.donate-btn:hover,
.donate-btn:focus-visible {
    background-color: #ffcf3a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.donate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.align-horizontal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-link {
    margin-top: 100px;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #c68a00;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
        color 0.12s ease-out, border-color 0.12s ease-out;
    max-width: 380px;
}

.hero-link::after {
    content: "↗";
    margin-left: 0.45rem;
    font-size: 0.9rem;
}

.hero-link:hover,
.hero-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 0, 0, 0.16);
}

.hero-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.event-tags {
    display: flex;
    position: absolute;
    top: 0;
    width: 100%;
}

.tag-badge {
    font-size: 0.78rem;
}

.tag-museum {
    color: #e3f2fd;
    background: #1976d2;
}

.tag-foundation {
    color: #fff9e1;
    background: #EFBF04;
}

.event-tag-list {
    margin-right: 16px;
}

.event-tag-pill {
    font-size: 0.7rem;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.9rem;
    border-radius: 9999px 9999px 0 0;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
    white-space: nowrap;
    width: 100%;
}

.event-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.9rem;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
    white-space: nowrap;
}

.footer {
  background: #26272b;
  color: #737373;
  padding: 40px 0 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-section h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #737373;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #3366cc;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #bbb;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }
}

.sitemap ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  max-width: 400px;
}

.sitemap li {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sitemap ul {
    grid-template-columns: 1fr 1fr;
  }
}

.events-section-unique {
  background: #ffffff;
  padding: 2rem 1.5rem 2rem;
}

.events-section-unique__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.events-grid-unique {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.event-card-unique {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background-color: #2c4f7a; /* fallback while image loads */
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.event-card-unique:hover,
.event-card-unique:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.event-card-unique:focus-visible {
  outline: 2px solid #185fa5;
  outline-offset: 3px;
}

.event-card-unique__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.event-card-unique::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.event-card-unique__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  z-index: 1;
}

.events-link-row-unique {
  text-align: center;
  margin: 0;
}

.events-link-unique {
  display: inline-block;
  color: #185fa5;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 95, 165, 0.35);
  padding-bottom: 2px;
  transition: border-color 180ms ease;
}

.events-link-uniqe:hover,
.events-link-unique:focus-visible {
  border-bottom-color: #185fa5;
}

@media (max-width: 640px) {
  .events-grid-unique {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/*
.events-intro-unique {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}
  */

.events-intro-unique {
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: #185fa5;
  margin: 0 0 2rem;
  line-height: 1.5;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  background: #f7f6f3;
  padding: 4rem 1.5rem;
}

.cta-section__inner {
  max-width: 1200px; /* match your site's content width */
  margin: 0 auto;
}

.cta-card {
  background: #ffffff;
  border: 1px solid #e5e3dd;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cta-card__heading {
  color: #185fa5;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.cta-card__button {
  display: inline-block;
  background: #185fa5;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: 200ms ease, transform 150ms ease;
}

.cta-card__button:hover,
.cta-card__button:focus-visible {
    color: white;
  background: #134c87;
  transform: translateY(-1px);
}

.cta-card__button:focus-visible {
  outline: 2px solid #185fa5;
  outline-offset: 3px;
}

.brick-section {
  background: #f7f6f3;
  padding: 4rem 1.5rem;
}

.brick-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.brick-section__heading {
  color: #185fa5;
  font-size: 1.625rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.brick-section__text {
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

.brick-section__button {
  display: inline-block;
  background: #f4b400;
  color: #0d3d6f;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  transition: background-color 200ms ease, transform 150ms ease;
}

.brick-section__button:hover,
.brick-section__button:focus-visible {
  background: #e0a000;
  transform: translateY(-1px);
  color: #0d3d6f;
}

.brick-section__button:focus-visible {
  outline: 2px solid #0d3d6f;
  outline-offset: 3px;
}

.brick-section__image-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.brick-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .brick-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .brick-section__image-wrap {
    order: -1; /* image first on mobile */
  }
}

nav a.nav-donate {
  display: inline-block;
  background: #f4b400;
  color: #0d3d6f;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 0.75rem;
  transition: background-color 200ms ease, transform 150ms ease;
}

nav a.nav-donate::after {
  content: none; /* kills the animated underline pseudo-element */
}

nav a.nav-donate:hover,
nav a.nav-donate:focus-visible {
  background: #e8aa00;
  color: #0d3d6f;
  transform: translateY(-1px);
}

nav a.nav-donate:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.current-donate {
    color: #0d3d6f !important;
}

li {
    font-size: 18px;
    white-space: normal;
    line-height: 2;

}