:root {
    --sea-950: #1a2d75;
    --sea-800: #243c98;
    --sea-500: #3f5fcc;
    --foam-100: #f3f7f8;
    --sand-100: #fffaf0;
    --signal: #d84b2a;
    --ink: #1b2d3a;
    --muted: #5b6f7e;
    --radius: 14px;
    --shadow: 0 12px 35px rgba(7, 39, 58, 0.16);
    --mobile-panel-width: min(50vw, 340px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 20% -10%, #d8eefa 0%, #edf7fc 30%, #f8fbfd 100%);
    line-height: 1.6;
    width: min(100%, 1200px);
    max-width: 1200px;
}

a {
    color: inherit;
}

.site-header {
    position: relative;
    background: rgba(36, 60, 152, 1);
    background: linear-gradient(180deg, #15225a 0%, #1b2d79 100%);        
    background: linear-gradient(180deg,  var(--sea-500) 0%, var(--sea-950) 100%);
    color: #ffffff;
    backdrop-filter: blur(6px);
    overflow: visible;
}

.header-main {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 0 auto;
    padding: 8px 24px 4px;
}

.header-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content-col {
    display: grid;
    gap: 8px;
    align-items: center;
}

.header-content-col .main-nav {
    width: 100%;
    justify-self: center;
}

.brand-wrap {
    display: grid;
    justify-items: start;
    align-items: center;
    row-gap: 2px;
    text-align: left;
}

.site-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    margin: 0 auto;
    overflow: visible;
    z-index: 2;
}

.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.site-logo .custom-logo {
    display: block;
    margin: 0 auto;
}

.site-logo img {
    display: block;
    height: clamp(88px, 10vw, 120px);
    width: auto;
    min-width: 88px;
    min-height: 88px;
    margin: 0 auto;
}

.org-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: clamp(0.6rem, 2vw, 0.78rem);
    opacity: 0.84;
}

.site-title {
    margin: 1vw 0;
    width: 100%;
    text-align: center;
    justify-self: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.02em;
}

.site-title a {
    text-decoration: none;
    color: #ffffff;
}

.mobile-menu-trigger,
.mobile-side-panel {
    display: none;
}

.main-nav .menu,
.main-nav ul,
.footer-menu,
.page_item_has_children > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .menu,
.main-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.main-nav li {
    display: inline-flex;
}

.main-nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: #f0f7fc;
    text-decoration: none;
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    color: #f0f7fc;
}

.site-main {
    margin: 0 auto;
    padding: 28px 24px 60px;
}

.hero-section {
    background-image: linear-gradient(125deg, rgba(12, 44, 98, 0.64) 0%, rgba(22, 82, 156, 0.56) 50%, rgba(64, 143, 232, 0.5) 100%), var(--hero-bg-image, none);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    border-radius: 24px;
    padding: clamp(30px, 6vw, 62px);
    box-shadow: var(--shadow);
    animation: fade-up 0.6s ease;
}

.hero-kicker {
    margin: 0 0 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 4px 14px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
}

.hero-section h1,
.hero-section h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 0.95;
    margin: 0;
    max-width: 750px;
}

.hero-section h1 {
    font-weight: 400;
}

.hero-copy {
    margin: 16px 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 1.1rem;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-ghost {
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
}

.btn-primary {
    background: var(--signal);
    color: #ffffff;
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.section-block {
    margin-top: 30px;
    background: var(--sand-100);
    border-radius: var(--radius);
    padding: clamp(20px, 4vw, 32px);
    box-shadow: 0 8px 24px rgba(8, 41, 59, 0.08);
    animation: fade-up 0.75s ease;
}

.section-block h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--sea-800);
}

.card-grid,
.news-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card,
.news-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #d9e6ed;
}

.info-card h3,
.news-card h3 {
    margin-top: 0;
}

.info-card a,
.news-card a {
    color: var(--sea-800);
    font-weight: 700;
}

.info-card:hover,
.news-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.events-block {
    background: var(--foam-100);
}

.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.event-list li {
    background: #ffffff;
    border-left: 5px solid var(--sea-500);
    border-radius: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
}

.event-list span {
    font-weight: 700;
    color: var(--sea-800);
}

.event-list h3 {
    margin: 0;
}

.event-list p {
    margin: 4px 0 0;
    color: var(--muted);
}

.day-schedule ul {
    list-style-position: inside;
    padding-left: 1rem;
    color: var(--sea-800);
}

.day-schedule ul li {
    color: var(--sea-800);
}

.day-schedule ul li::marker {
    color: var(--sea-800);
}

.news-date {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.news-card-empty {
    grid-column: 1 / -1;
}



.news-widgets-grid {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.facebook-feed-embed,
.weather-widget-embed {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;    
}

.facebook-feed-embed iframe,
.weather-widget-embed iframe {
    display: block;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    background: #ffffff;
}

.consent-embed {
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d7e5ef;
    background: #ffffff;
}

.consent-embed iframe {
    display: none;
}

.consent-embed.is-loaded iframe {
    display: block;
}

.consent-embed-placeholder {
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.consent-embed-placeholder p {
    margin: 0 0 12px;
    color: var(--ink);
}

.content-section {
    background: #ffffff;
    border-radius: var(--radius);
    padding: clamp(20px, 4vw, 32px);
    box-shadow: 0 8px 24px rgba(8, 41, 59, 0.08);
}

.content-section h1,
.content-section h2 {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--sea-800);
}

.content-section ul {
    padding-left: 20px;
}

.akwen-embed {
    margin-top: 16px;
}

.akwen-embed iframe {
    width: 100%;
    min-height: 560px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
}

.akwen-embed-fallback {
    margin-top: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid #d7e5ef;
    border-radius: 12px;
    padding: 18px;
}

.akwen-embed-fallback h2 {
    margin: 0 0 10px;
}

.akwen-embed-fallback p {
    margin: 0 0 12px;
}

.akwen-preview-link {
    display: block;
    margin: 10px 0 14px;
}

.akwen-preview-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #d7e5ef;
    box-shadow: 0 8px 20px rgba(8, 41, 59, 0.12);
}

.events-calendar-grid {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.event-calendar-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #d7e5ef;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(8, 41, 59, 0.08);
}

.event-calendar-date {
    margin: 0 0 8px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(36, 60, 152, 0.1);
    color: var(--sea-800);
    font-weight: 700;
    font-size: 0.86rem;
}

.event-calendar-card h2 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.28rem, 2.3vw, 1.6rem);
    line-height: 1.05;
    color: var(--ink);
}

.site-footer {
    background: linear-gradient(180deg, #1b2d79 0%, #15225a 100%);
    color: #ddebf4;
    padding: 24px;
}

.footer-grid {
    margin: 0 auto;
    width: 100%;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.site-footer h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
}

.site-footer p {
    line-height: 1.15;
    margin: 0 0 8px;
}

.footer-menu li {
    margin-bottom: 2px;
}

.footer-menu a {
    line-height: 1.3;
}

.footer-menu a {
    color: #e1f1fa;
    text-decoration: none;
}

.footer-policy-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-policy-links a,
.footer-inline-button {
    color: #e1f1fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
}

.footer-inline-button {
    background: transparent;
    border: 1px solid rgba(225, 241, 250, 0.42);
    border-radius: 999px;
    padding: 5px 11px;
    cursor: pointer;
}

.footer-inline-button:hover,
.footer-policy-links a:hover {
    color: #ffffff;
}

.footer-social {
    justify-self: end;
    text-align: right;
    margin-right: 8px;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: transparent;
    border: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.facebook-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.facebook-link svg {
    width: 64px;
    height: 64px;
}

.copyright {
    margin: 18px auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.copyright p {
    margin: 0;
}

.copyright .footer-policy-links {
    margin-top: 0;
}

.cookie-btn {
    border: 1px solid rgba(22, 41, 98, 0.28);
    background: #ffffff;
    color: #1b2d3a;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-primary {
    background: var(--sea-800);
    border-color: var(--sea-800);
    color: #ffffff;
}

.cookie-btn:hover {
    filter: brightness(0.97);
}

.cookie-consent-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 90;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid #cdddea;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(8, 41, 59, 0.26);
    display: block;
}

.cookie-consent-banner[hidden],
.cookie-consent-modal[hidden] {
    display: none !important;
}

.cookie-consent-content {
    padding: 16px;
    text-align: center;
}

.cookie-consent-content p {
    margin: 0;
}

.cookie-consent-content a {
    display: block;
    color: var(--sea-800);
    font-weight: 700;
    margin-top: 4px;
}

.cookie-consent-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    background: rgba(15, 27, 55, 0.5);
    padding: 14px;
}

.cookie-consent-modal-card {
    width: min(680px, 100%);
    border-radius: 14px;
    border: 1px solid #d3e0ea;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 16px 44px rgba(9, 29, 71, 0.32);
}

.cookie-consent-modal-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--sea-800);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.cookie-consent-modal-card p {
    margin: 0;
}

.cookie-switch-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.cookie-switch-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid #dce8f1;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fcff;
}

.cookie-switch-item.is-disabled {
    opacity: 0.8;
}

.cookie-switch-item input {
    margin-top: 3px;
}

.cookie-switch-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
}

.cookie-modal-open {
    overflow: hidden;
}

.privacy-cookie-section {
    margin-top: 26px;
    border-top: 1px solid #d6e4ef;
    padding-top: 18px;
}

.privacy-cookie-section h2,
.privacy-cookie-section h3 {
    color: var(--sea-800);
}

.privacy-cookie-section ul {
    padding-left: 20px;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 780px) {
    .header-main {
        grid-template-columns: 96px 1fr;
        gap: 10px;
        padding: 8px 14px 4px;
    }

    .header-content-col {
        justify-items: start;
    }

    .brand-wrap {
        justify-items: start;
        text-align: left;
    }

    .main-nav {
        display: none;
    }

    .site-logo img {
        height: clamp(64px, 16vw, 88px);
    }

    .mobile-menu-trigger {
        position: fixed;
        top: calc(var(--mobile-header-bottom, 84px) + 6px);
        right: 14px;
        z-index: 30;
        display: inline-flex;
        width: 46px;
        height: 46px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 12px;
        background: rgba(27, 45, 121, 0.74);
        backdrop-filter: blur(8px);
        cursor: pointer;
        transition: transform 0.32s ease, background-color 0.2s ease;
    }

    .mobile-menu-trigger span {
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: #ffffff;
        transform-origin: center;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }

    .mobile-side-panel {
        position: fixed;
        top: calc(var(--mobile-header-bottom, 84px) + 6px);
        right: 0;
        z-index: 28;
        display: block;
        width: var(--mobile-panel-width);
        max-width: 50vw;
        max-height: calc(100vh - var(--mobile-header-bottom, 84px) - 14px);
        overflow-y: auto;
        padding: 14px 12px;
        border-radius: 14px 0 0 14px;
        background: rgba(21, 34, 90, 0.78);
        backdrop-filter: blur(8px);
        box-shadow: -10px 12px 28px rgba(8, 22, 58, 0.3);
        transform: translateX(105%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s ease, opacity 0.28s ease;
    }

    .mobile-nav,
    .mobile-nav-menu,
    .mobile-nav ul {
        width: 100%;
    }

    .mobile-nav-menu,
    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-nav-menu a,
    .mobile-nav a {
        display: block;
        text-decoration: none;
        color: #f0f7fc;
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        font-weight: 700;
    }

    body.mobile-menu-open .mobile-side-panel {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.mobile-menu-open .mobile-menu-trigger {
        transform: translateX(calc(var(--mobile-panel-width) * -1));
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .mobile-menu-trigger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .event-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .main-nav .menu {
        gap: 6px;
        justify-content: flex-start;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 0.95rem;
    }

    .footer-social {
        justify-self: end;
        text-align: right;
        margin-right: 6px;
    }

    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }
}