@charset "utf-8";

/* Wealden CFRs | Main website stylesheet */

/* BASE STYLES */
:root {
    --red: #c8102e;
    --red-dark: #a70d25;
    --navy: #102b44;
    --ink: #203449;
    --muted: #586779;
    --pale: #fff2f3;
    --line: #e4e9ee;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.55;
    background: #fff;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: auto;
}

.top {
    background: #fff;
}

.brandrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
}

.identity {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.heart {
    width: 54px;
    height: 54px;
    background: var(--red);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 30px;
    transform: rotate(-8deg);
}

.identity strong {
    display: block;
    color: var(--red);
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -.7px;
}

.identity small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.affiliation {
    text-align: right;
    border-left: 3px solid #005eb8;
    padding-left: 16px;
    font-size: 13px;
    line-height: 1.3;
}

.affiliation strong {
    color: #005eb8;
    font-size: 23px;
    display: block;
}

.nav {
    background: var(--red);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 3px 12px #0001;
}

.navinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.links a {
    display: block;
    text-decoration: none;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
}

.links a {
    position: relative;
    border-radius: 5px;
    transition: background-color .2s ease, color .2s ease;
}

.links a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .links a:hover {
        background: rgba(255,255,255,.12);
        color: #fff;
    }
    .links a:hover::after {
        transform: scaleX(1);
    }
}

.links a:focus-visible {
    background: rgba(255,255,255,.12);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.links a:focus-visible::after {
    transform: scaleX(1);
}

.menu {
    display: none;
    background: none;
    border: 1px solid #ffffff77;
    color: #fff;
    border-radius: 7px;
    padding: 8px 12px;
}

.social {
    text-decoration: none;
    font-weight: bold;
    padding: 7px 12px;
    border: 1px solid #ffffff88;
    border-radius: 6px;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 440px;
    background: url("images/community-event.jpg") center 43% / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}

/* Keep the left-hand headline readable while revealing more of the photograph on the right. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(8,24,42,.88) 0%,
        rgba(8,24,42,.78) 35%,
        rgba(8,24,42,.42) 70%,
        rgba(8,24,42,.18) 100%);
}

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

.hero .container {
    padding: 65px 0;
}

.eyebrow {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1.06;
    max-width: 620px;
    margin: 15px 0;
}

.hero p {
    font-size: 18px;
    max-width: 580px;
}

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

.btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 7px;
    padding: 12px 21px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn:hover {
    background: var(--red-dark);
}

.btn.white {
    background: #fff;
    color: var(--navy);
}

.btn.outline {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
}

.highlights {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.highlightgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
}

.highlight {
    padding: 10px 20px;
    border-right: 1px solid var(--line);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.highlight:last-child {
    border: 0;
}

.symbol {
    font-size: 32px;
    color: #c8102e;
    line-height: 1.2;
    display: inline-block;
}

.highlight strong {
    display: block;
    text-transform: uppercase;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.3;
}

.highlight p {
    font-size: 12px;
    margin: 4px 0 0;
    color: var(--muted);
}

section {
    padding: 70px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split.reverse .photo {
    order: 2;
}

.photo {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
}

.sectiontag {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sectiontitle {
    font-size: clamp(26px, 3vw, 37px);
    line-height: 1.16;
    color: var(--navy);
    margin: 9px 0 17px;
}

.copy p {
    margin: 0 0 14px;
}

.soft {
    background: #f7f9fb;
}

.pink {
    background: var(--pale);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 5px 18px #122b4410;
}

.card h3 {
    margin: 8px 0;
    color: var(--navy);
    font-size: 19px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
}

.card .btn {
    margin-top: 8px;
}

.places {
    padding: 20px 24px;
    border-left: 4px solid var(--red);
    background: #fff;
    border-radius: 8px;
    line-height: 2;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 35px;
    position: relative;
}

.milestone {
    padding: 23px 17px 26px;
    background: rgba(255,255,255,.96);
    border-radius: 10px;
    position: relative;
    min-height: 225px;
    border: 1px solid rgba(16,43,68,.07);
    border-top: 4px solid var(--red);
    box-shadow: 0 7px 22px rgba(16,43,68,.11);
    transition: transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    overflow: hidden;
}

.milestone strong {
    color: #c8102e;
    font-size: 27px;
    display: block;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
}

.milestone p {
    font-size: 12px;
    margin: 0;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    color: #586779;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 22px;
}

.gallery button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform .2s;
}

.gallery button:hover img {
    transform: scale(1.04);
}

.lightbox {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    max-width: min(95vw, 1100px);
    position: relative;
    overflow: visible;
    max-height: 90vh;
    box-shadow: 0 15px 50px rgba(0,0,0,.35);
}

.lightbox::backdrop {
    background: rgba(8, 22, 36, .88);
}

.lightbox img {
    max-height: 90vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #005eb8;
    outline-offset: 3px;
}

.crestlogo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex: none;
}

.nhslogo {
    width: 210px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.landscape-band {
    background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.86)), url("images/team-gathering.jpg") center 38%/cover;
}

.landscape-band .places {
    background: #fffffff0;
}

.history-band {
    background: linear-gradient(90deg, rgba(247,249,251,.96), rgba(247,249,251,.84)), url("images/team-air-ambulance.jpg") center 48%/cover;
}

.footer a:hover {
    text-decoration: none;
}

.highlight .symbol {
    font-size: 30px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.card .symbol {
    font-size: 34px;
    margin-bottom: 8px;
}

.lightbox button.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(16,43,68,.8);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.lightbox button.lightbox-close:hover {
    background: #c8102e;
    transform: scale(1.08);
}

.lightbox button.lightbox-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.lightbox button.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(16,43,68,.8);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
}

.lightbox button.lightbox-arrow.prev {
    left: 12px;
}

.lightbox button.lightbox-arrow.next {
    right: 12px;
}

.lightbox button.lightbox-arrow:hover {
    background: #c8102e;
}

.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(16,43,68,.8);
    color: white;
    font-size: 12px;
    pointer-events: none;
}

.btn i {
    margin-left: 8px;
    font-size: 13px;
    transition: transform .2s ease;
}

.btn:hover .fa-arrow-down {
    transform: translateY(3px);
}

.btn:hover .fa-arrow-right {
    transform: translateX(3px);
}

.history-intro {
    max-width: 850px;
    margin-bottom: 30px;
    font-size: 16px;
}

.milestone::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 58px;
    line-height: 1;
    color: rgba(200,16,46,.07);
    opacity: 1;
    pointer-events: none;
    transition: color .3s ease,
        transform .35s ease;
}

.milestone:hover::before {
    color: rgba(200,16,46,.28);
    transform: translateX(9px);
}

.milestone-current::before {
    color: rgba(200,16,46,.13);
}

.milestone-current:hover::before {
    color: rgba(200,16,46,.35);
}

.milestone h3 {
    color: #102b44;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 9px;
}

.milestone:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 32px rgba(16,43,68,.19);
    border-color: rgba(200,16,46,.22);
}

.milestone-current {
    background: linear-gradient(
        145deg,
        #ffffff,
        #fff1f3
    );
}

/* TABLET TIMELINE */
@media (max-width: 1000px) {
    .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .milestone {
        min-height: 205px;
    }

}

/* TABLET / MOBILE NAVIGATION */
@media (max-width: 850px) {

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

    .highlight:nth-child(2) {
        border: 0;
    }

    .split {
        gap: 26px;
    }

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

    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu {
        display: block;
    }

    .navinner {
        min-height: 52px;
        flex-wrap: wrap;
    }

    .links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 12px;
    }

    .links.open {
        display: flex;
    }

    .links a {
        padding: 11px;
    }

    .social {
        margin-left: auto;
    }

}

/* MOBILE */
@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1140px);
    }

    .brandrow {
        align-items: flex-start;
    }

    .identity strong {
        font-size: 15px;
    }

    .identity small {
        font-size: 9px;
    }

    .heart {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .affiliation {
        font-size: 10px;
        padding-left: 8px;
    }

    .affiliation strong {
        font-size: 16px;
    }

    .hero {
        min-height: 460px;
        background-position: center;
    }

    .hero::before {
        background: linear-gradient(90deg,
            rgba(8,24,42,.88),
            rgba(8,24,42,.65));
    }

    .hero .container {
        padding: 45px 0;
    }

    .hero p {
        font-size: 16px;
    }

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

    .highlight {
        padding: 12px 8px;
    }

    .highlight .symbol {
        font-size: 25px;
        width: 32px;
    }

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

    .split.reverse .photo {
        order: 0;
    }

    .photo {
        height: 260px;
    }

    section {
        padding: 48px 0;
    }

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

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

    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery img {
        height: 145px;
    }

    .crestlogo {
        width: 48px;
        height: 48px;
    }

    .nhslogo {
        width: 104px;
        max-height: 66px;
    }

    .identity {
        gap: 8px;
    }

    .landscape-band, .history-band {
        background-position: center;
    }

    .milestone {
        min-height: 225px;
        padding: 18px 13px 22px;
    }

    .milestone strong {
        font-size: 25px;
    }

    .milestone h3 {
        font-size: 14px;
    }

    .milestone p {
        font-size: 12px;
    }

}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

    .milestone::before {
        transition: none;
    }

    .milestone,
    .milestone::before {
        transition: none;
    }

    .milestone:hover {
        transform: none;
    }

}

/* =========================================
   OUR PATCH / INTERACTIVE MAP
   ========================================= */
.area-intro {
    max-width: 850px;
    font-size: 16px;
    margin-bottom: 28px;
}

.area-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(16,43,68,.13);
}

.area-map {
    position: relative;
    min-height: 480px;
    background: #edf2f5;
}

#wealden-map {
    width: 100%;
    height: 480px;
    z-index: 1;
}

.community-marker {
    display: block;
    width: 14px;
    height: 14px;
    background: var(--red);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 9px rgba(0,0,0,.3);
    transition: transform .2s ease;
}

.community-marker:hover { transform: scale(1.3); }

.map-reset {
    position: absolute;
    left: 15px;
    bottom: 30px;
    z-index: 500;
    padding: 10px 14px;
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.map-reset:hover { background: var(--red); }
.map-reset i { margin-right: 6px; }

.wealden-popup strong { color: var(--navy); font-size: 15px; }
.wealden-popup span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.area-details { padding: 30px; }
.area-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.area-heading > i { font-size: 25px; color: var(--red); }
.area-heading h3 { color: var(--navy); font-size: 22px; margin: 0; }
.area-details > p { font-size: 14px; color: var(--muted); margin: 0 0 20px; }

.area-towns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-towns button {
    padding: 7px 11px;
    background: #f5f7fa;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease,
                color .2s ease, transform .2s ease;
}

.area-towns button:hover {
    background: var(--pale);
    border-color: var(--red);
    transform: translateY(-2px);
}

.area-towns button.active,
.area-towns button[aria-pressed="true"] {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.area-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    background: var(--pale);
    border-left: 3px solid var(--red);
    border-radius: 6px;
}
.area-note i { color: var(--red); font-size: 22px; flex-shrink: 0; }
.area-note p { margin: 0; font-size: 13px; color: var(--ink); line-height: 1.6; }
.area-disclaimer { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.area-disclaimer i { color: var(--red); margin-right: 5px; }

@media (max-width: 850px) {
    .area-panel { grid-template-columns: 1fr; }
    .area-map { min-height: 350px; }
    #wealden-map { height: 350px; }
    .area-details { padding: 25px; }
}

@media (max-width: 620px) {
    .area-map { min-height: 320px; }
    #wealden-map { height: 320px; }
    .area-details { padding: 20px; }
    .area-heading h3 { font-size: 19px; }
    .area-towns { gap: 6px; }
    .area-towns button { font-size: 11px; padding: 6px 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .area-towns button, .community-marker { transition: none; }
    .area-towns button:hover, .community-marker:hover { transform: none; }
}

/* =========================================
   OUR COMMUNITY – PHOTO CARDS
   ========================================= */

#community .cards {
    align-items: stretch;
}

#community .card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;

    padding: 158px 24px 25px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: 12px;

    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 135px;

    transition: transform .25s ease,
                box-shadow .25s ease;
}

/* Individual card photographs */

/* Hover effect */
#community .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(16, 43, 68, .16);
}

/* Icon */
#community .card .symbol {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
    border-radius: 14px;
    background: var(--pale);
    color: var(--red);
    font-size: 26px;
}

/* Card text */
#community .card h3 {
    margin: 0 0 10px;
    color: var(--navy);
}

#community .card p {
    margin: 0 0 22px;
    line-height: 1.65;
}

/* Align buttons along bottom */
#community .card .btn {
    margin-top: auto;
}

#community .card:nth-child(1) {
    background-image: url("images/defibrillator.jpg");
}#community .card:nth-child(2) {
    background-image: url("images/goodsam.jpg");
}
#community .card:nth-child(3) {
    background-image: url("images/community-event-banner.jpg");
}

/* =========================================
   GET INVOLVED – DARK ACTION SECTION
   ========================================= */

#involved {
    background: #102b44;
    color: #fff;
}

#involved .sectiontag {
    color: #ff8fa2;
}

#involved .sectiontitle {
    color: #fff;
}

.involved-intro {
    max-width: 850px;
    margin-bottom: 30px;
    color: #d5e0e9;
}

.involved-intro a {
    color: #fff;
    text-underline-offset: 3px;
}

.involved-actions {
    display: grid;
    gap: 14px;
}

.involved-action {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;

    border: 1px solid rgba(255,255,255,.12);
    border-left: 4px solid #c8102e;
    border-radius: 10px;

}

/* Icons */

.involved-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 64px;
    height: 64px;

    background: #c8102e;
    color: #fff;
    border-radius: 14px;
    font-size: 28px;
}

/* Text */

.involved-copy {
    flex: 1;
    min-width: 0;
}

.involved-copy h3 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 7px;
}

.involved-copy p {
    color: #d5e0e9;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* Buttons */

.involved-action .btn {
    flex-shrink: 0;
    white-space: nowrap;
    background: #c8102e;
}

.involved-action .btn:hover {
    background: #a70d25;
}

/* Tablet and mobile */

@media (max-width: 850px) {
    .involved-action {
        flex-wrap: wrap;
        gap: 16px;
    }

    .involved-copy {
        flex-basis: calc(100% - 85px);
    }

    .involved-action .btn {
        margin-left: 80px;
    }
}

@media (max-width: 620px) {
    .involved-action {
        padding: 20px;
        gap: 14px;
    }

    .involved-icon {
        width: 50px;
        height: 50px;
        font-size: 23px;
    }

    .involved-copy {
        flex-basis: calc(100% - 64px);
    }

    .involved-copy h3 {
        font-size: 17px;
    }

    .involved-action .btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}

/* =========================================
   GET INVOLVED – TEXTURED PANELS
   ========================================= */

#involved .involved-action {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 12px,
            rgba(255,255,255,.018) 12px,
            rgba(255,255,255,.018) 13px
        ),
        linear-gradient(
            120deg,
            #24435e 0%,
            #203b54 55%,
            #19334b 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 6px 20px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

/* Large faint decorative circle */
#involved .involved-action::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -65px;
    top: -95px;

    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 45px rgba(255,255,255,.018),
        0 0 0 90px rgba(255,255,255,.012);

    pointer-events: none;
}

/* Slightly brighter on hover */
#involved .involved-action:hover {
    transform: translateX(5px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        0 12px 28px rgba(0,0,0,.18);
}

/* Keep movement accessible */
@media (prefers-reduced-motion: reduce) {
    #involved .involved-action {
        transition: none;
    }

    #involved .involved-action:hover {
        transform: none;
    }
}

/* =========================================
   FOOTER – WEALDEN CFRs
   ========================================= */

.footer {
    background: #c8102e;
    color: #fff;
    padding: 0;
}

/* Main footer layout */
.footer-main {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 55px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Emergency panel */
.footer-emergency {
    padding: 28px;
    background:
        linear-gradient(
            135deg,
            #173a58,
            #102b44
        );
    border: 1px solid rgba(255,255,255,.18);
    border-left: 4px solid #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.footer-emergency-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-emergency-heading > i {
    font-size: 35px;
    color: #fff;
    flex-shrink: 0;
}

.footer-emergency h2 {
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.3;
    margin: 0;
    color: #fff;
}

.footer-emergency h2 strong {
    font-size: 1.25em;
}

.footer-emergency p {
    margin: 15px 0 0;
    color: #dbe5ed;
    font-size: 13px;
    line-height: 1.7;
}

/* Contact information */
.footer-details h3 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 10px;
}

.footer-affiliation {
    max-width: 420px;
    color: #ffe0e5;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 23px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 22px;
}

.footer-contact:hover {
    text-decoration: underline;
}

.footer-contact i {
    font-size: 19px;
}

/* Facebook button */
.footer-facebook {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #fff;
    color: #102b44;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .2s ease,
        transform .2s ease;
}

.footer-facebook:hover {
    background: #fff2f3;
    transform: translateY(-2px);
}

/* Bottom copyright strip */
.footer-bottom {
    background: #102b44;
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom .container {
    padding-top: 17px;
    padding-bottom: 17px;
}

.footer-bottom p {
    margin: 0;
    color: #d5e0e9;
    font-size: 12px;
    text-align: center;
}

/* Responsive footer */
@media (max-width: 750px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

@media (max-width: 620px) {
    .footer-emergency {
        padding: 22px 18px;
    }

    .footer-emergency-heading {
        gap: 12px;
    }

    .footer-emergency-heading > i {
        font-size: 28px;
    }

    .footer-details h3 {
        font-size: 18px;
    }

    .footer-bottom p {
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-facebook {
        transition: none;
    }

    .footer-facebook:hover {
        transform: none;
    }
}
.footer {
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 18px,
            rgba(255,255,255,.025) 18px,
            rgba(255,255,255,.025) 19px
        ),
        linear-gradient(
            120deg,
            #c8102e,
            #b50d29
        );
}

/* ========================================
   HERO HIGHLIGHTS – REFINED CARDS
   ======================================== */

.highlights {
    background: #f5f7fa;
    padding: 24px 0;
    border-bottom: 1px solid #e7ebf0;
}

.highlightgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(16, 43, 68, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Small red accent */
.highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 38px;
    height: 3px;
    background: #c8102e;
    border-radius: 0 0 3px 3px;
}

/* Icon */
.highlight .symbol {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff0f3;
    color: #c8102e;
    border-radius: 10px;

    font-size: 23px;
}

/* Text */
.highlight strong {
    display: block;
    color: #102b44;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    line-height: 1.4;
}

.highlight p {
    margin: 5px 0 0;
    color: #52667b;
    font-size: 12px;
    line-height: 1.5;
}

/* Gentle interaction */
@media (hover: hover) {
    .highlight:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(16, 43, 68, 0.11);
    }
}

/* Tablet */
@media (max-width: 950px) {
    .highlightgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 560px) {
    .highlights {
        padding: 18px 0;
    }

    .highlightgrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .highlight {
        padding: 17px;
    }

    .highlight .symbol {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .highlight {
        transition: none;
    }

    .highlight:hover {
        transform: none;
    }
}
/* ========================================
   HERO HIGHLIGHTS – RED BAR
   ======================================== */

.highlights {
    background: #c8102e;
    padding: 22px 0;
    border: 0;
}

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

.highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    transition: none;
}

/* Separators between highlights */
.highlight + .highlight {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

/* Remove previous card accents */
.highlight::before,
.highlight::after {
    content: none;
}

.highlight .symbol {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 29px;
    border-radius: 0;
}

.highlight strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.4;
}

.highlight p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    line-height: 1.5;
}

/* No card hover effect */
.highlight:hover {
    transform: none;
    box-shadow: none;
}

/* Tablet */
@media (max-width: 950px) {
    .highlightgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight:nth-child(3) {
        border-left: 0;
    }

    .highlight:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }
}

/* Mobile */
@media (max-width: 560px) {
    .highlights {
        padding: 12px 0;
    }

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

    .highlight {
        padding: 15px 10px;
        border-left: 0 !important;
    }

    .highlight + .highlight {
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }

    .highlight .symbol {
        font-size: 26px;
        width: 38px;
        text-align: center;
    }
}
/* Navigation underline motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .links a::after { transition: none; }
}

/* ========================================
   ABOUT US – EXPANDED SECTION
   ======================================== */

.about-section {
    background: #ffffff;
}

.about-intro {
    margin-bottom: 42px;
}

.about-intro .photo {
    height: 360px;
    object-fit: cover;
}

.about-intro .copy p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-intro .btn {
    margin-top: 5px;
}

/* Three highlight cards */

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.about-highlight {
    position: relative;
    padding: 28px 25px;
    background: #f7f9fb;
    border: 1px solid #e4e9ee;
    border-top: 4px solid #c8102e;
    border-radius: 12px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.about-highlight-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 19px;

    background: #fff2f3;
    color: #c8102e;
    border-radius: 14px;
    font-size: 27px;
}

.about-highlight h3 {
    margin: 0 0 12px;
    color: #102b44;
    font-size: 19px;
    line-height: 1.3;
}

.about-highlight p {
    margin: 0;
    color: #586779;
    font-size: 14px;
    line-height: 1.75;
}

@media (hover: hover) {
    .about-highlight:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(16,43,68,.11);
    }
}

/* Closing message */

.about-message {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 34px;

    background: linear-gradient(
        120deg,
        #173a58,
        #102b44
    );

    border-left: 5px solid #c8102e;
    border-radius: 12px;
    color: #ffffff;
}

.about-message > i {
    flex-shrink: 0;
    font-size: 35px;
    color: #ff8fa2;
    margin-top: 4px;
}

.about-message h3 {
    color: #ffffff;
    font-size: 22px;
    margin: 0 0 10px;
}

.about-message p {
    color: #dbe5ed;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 14px;
}

.about-message strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
}

/* Tablet */

@media (max-width: 850px) {
    .about-highlights {
        gap: 14px;
    }

    .about-highlight {
        padding: 22px 18px;
    }
}

/* Mobile */

@media (max-width: 620px) {
    .about-intro {
        margin-bottom: 30px;
    }

    .about-intro .photo {
        height: 260px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-highlight {
        padding: 24px;
    }

    .about-message {
        flex-direction: column;
        gap: 14px;
        padding: 25px 22px;
    }

    .about-message > i {
        font-size: 30px;
    }

    .about-message h3 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-highlight {
        transition: none;
    }

    .about-highlight:hover {
        transform: none;
    }
}
/* ABOUT US – FINAL POLISH */

.about-highlights {
    gap: 18px;
    margin-bottom: 24px;
    align-items: stretch;
}

.about-highlight {
    padding: 24px 24px 26px;
    background: #fafbfd;
    box-shadow: 0 4px 16px rgba(16, 43, 68, 0.035);
}

.about-highlight-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    font-size: 25px;
}

.about-highlight h3 {
    margin-bottom: 10px;
}

.about-highlight p {
    line-height: 1.65;
}

/* More compact closing panel */

.about-message {
    padding: 25px 30px;
    gap: 20px;
    align-items: center;
}

.about-message > i {
    margin-top: 0;
}

.about-message h3 {
    margin-bottom: 8px;
}

.about-message p {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 620px) {
    .about-highlight {
        padding: 22px;
    }

    .about-message {
        align-items: flex-start;
        padding: 24px 22px;
    }
}

/* ========================================
   WHAT WE DO – ENHANCED SECTION
   ======================================== */

.role-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: #f6f8fa;
}

/* Very subtle background accent */
.role-section::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: 12%;
    top: -180px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.035);
    pointer-events: none;
}

.role-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
}

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

.role-content .sectiontitle {
    margin-bottom: 22px;
}

.role-content > p {
    color: #465b70;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 17px;
}

.role-content > .role-lead {
    color: #102b44;
    font-weight: 600;
    font-size: 17px;
}

.role-content .role-emergency {
    margin-bottom: 0;
}

.role-emergency strong {
    color: #102b44;
    font-weight: 800;
}

/* Three feature highlights */

.role-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.role-feature {
    min-width: 0;
    padding: 0 18px;
    border-left: 1px solid #e4d5d9;
}

.role-feature:first-child {
    padding-left: 0;
    border-left: 0;
}

.role-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #fff0f3;
    color: #c8102e;
    font-size: 27px;
}

.role-feature h3 {
    margin: 0 0 7px;
    color: #102b44;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.4;
    text-transform: uppercase;
}

.role-feature p {
    margin: 0;
    color: #617184;
    font-size: 13px;
    line-height: 1.55;
}

/* Right-hand image */

.role-visual {
    position: relative;
    min-width: 0;
}

.role-visual img {
    display: block;
    width: 100%;
    height: 530px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(16, 43, 68, 0.12);
}

/* Tablet */

@media (max-width: 1050px) {
    .role-layout {
        gap: 30px;
    }

    .role-visual img {
        height: 480px;
    }

    .role-feature {
        padding: 0 12px;
    }
}

/* Mobile and smaller tablets */

@media (max-width: 800px) {
    .role-section {
        padding: 55px 0;
    }

    .role-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .role-visual img {
        height: 360px;
    }
}

/* Small mobile */

@media (max-width: 520px) {
    .role-section {
        padding: 45px 0;
    }

    .role-content > p {
        font-size: 15px;
    }

    .role-features {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .role-feature,
    .role-feature:first-child {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 14px;
        padding: 0;
        border: 0;
    }

    .role-feature-icon {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        margin: 0;
        font-size: 23px;
    }

    .role-feature h3 {
        align-self: end;
        margin-bottom: 3px;
    }

    .role-feature p {
        align-self: start;
    }

    .role-visual img {
        height: 270px;
        border-radius: 10px;
    }
}
/* ========================================
   GALLERY LIGHTBOX – VIEWPORT CENTRING
   Native <dialog> uses the [open] attribute.
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: visible;
}

.lightbox img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    object-fit: contain;
}

@media (max-width: 768px) {
    .lightbox {
        max-width: calc(100vw - 24px);
    }

    .lightbox button.lightbox-arrow {
        width: 38px;
        height: 38px;
    }

    .lightbox button.lightbox-arrow.prev { left: 8px; }
    .lightbox button.lightbox-arrow.next { right: 8px; }
}
 #cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 99999;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    background: #102b44;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px #0005;
    font-family: Arial, sans-serif;
  }

  #cookie-banner[hidden] {
    display: none;
  }

  #cookie-banner p {
    margin: 8px 0 16px;
    line-height: 1.5;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cookie-buttons button,
  #cookie-settings {
    padding: 10px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
  }

  #cookie-accept {
    background: #c8102e;
    color: #fff;
    border: 1px solid #c8102e;
  }

  #cookie-reject {
    background: #fff;
    color: #102b44;
    border: 1px solid #fff;
  }

  #cookie-settings {
    background: transparent;
    border: 0;
    color: inherit;
    text-decoration: underline;
  }
.footer-bottom .cookie-footer-link {
  display: inline-block;
  padding: 4px 0;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  text-decoration: underline;
  box-shadow: none;
}

.footer-bottom .cookie-footer-link:hover {
  color: #ffd9df;
}
.footer-bottom .cookie-footer-link {
    display: block;
    width: fit-content;
    margin: 6px auto 0;
    text-align: center;
}
/* Privacy & Cookies slide-up panel */

.privacy-panel {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 85dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  color: #102b44;
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
  overflow: hidden;
}

.privacy-panel[open] {
  display: flex;
  flex-direction: column;
  animation: privacySlideUp .35s ease-out;
}

.privacy-panel::backdrop {
  background: rgba(0,0,0,.6);
}

@keyframes privacySlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #c8102e;
  color: #fff;
  flex-shrink: 0;
}

.privacy-header h2 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}

.privacy-close {
  border: 0;
  background: rgba(255,255,255,.18);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.privacy-content {
  overflow-y: auto;
  padding: 24px;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  box-sizing: border-box;
}

.privacy-content h3 {
  margin: 22px 0 8px;
  color: #c8102e;
  font-size: 17px;
}

.privacy-content p {
  line-height: 1.65;
  margin: 0 0 12px;
}

.privacy-settings-btn {
  background: #c8102e;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: bold;
  cursor: pointer;
  margin: 8px 0;
}

.privacy-updated {
  margin-top: 24px !important;
  font-size: 13px;
  color: #666;
}

@media (max-width: 600px) {
  .privacy-panel {
    max-height: 90dvh;
  }

  .privacy-header {
    padding: 14px 18px;
  }

  .privacy-content {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-panel[open] {
    animation: none;
  }
}