:root {
    --header-bg: #ffffff;
    --navy: #000;
    --green: #b75318;
    --green-tint: #f2f6e8;
    --border: #e3e8ee;
    --header-h: 84px;
    --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--navy);
    background: #f5f7fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* ---------- Top bar ---------- */
.top-bar {
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    border-bottom: 3px solid #b75318;
}

.top-bar-inner {
    max-width: 1200px;
    height: 38px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.top-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.top-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.top-links a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.top-links .sep {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767.98px) {
    .top-bar {
        font-size: 13px;
    }

    .top-bar-inner {
        height: 34px;
    }
}

/* phones: not enough room for both, so keep just the links */
@media (max-width: 575.98px) {
    .top-tagline {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(11, 47, 85, 0.06);
}

.header-inner {
    max-width: 1200px;
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 68px;
    width: auto;
}

/* ---------- Nav ---------- */
.main-nav {
    flex: 1;
    height: 100%;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--navy);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-link.active,
.nav-item.open>.nav-toggle {
    color: var(--green);
}

.nav-link.active {
    font-weight: 600;
}

.nav-link:focus-visible,
.nav-toggle:focus-visible,
.dropdown a:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s;
}

.nav-item.open .caret {
    transform: rotate(180deg);
}

/* ---------- Dropdowns ---------- */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(11, 47, 85, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

/* invisible bridge so the menu doesn't close while the pointer crosses the gap */
.dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.nav-item.open>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown a {
    display: block;
    padding: 9px 18px;
    color: var(--navy);
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background: var(--green-tint);
    color: var(--green);
}

/* ---------- Mobile menu button ---------- */
.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s, background 0.2s;
}

.menu-toggle span {
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

.site-header.menu-open .menu-toggle span {
    background: transparent;
}

.site-header.menu-open .menu-toggle span::before {
    transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Header search ---------- */
.main-nav {
    order: 1;
}

.header-search {
    order: 2;
    display: flex;
    align-items: center;
    height: 28px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.menu-toggle {
    order: 3;
}

.search-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--navy);
    cursor: pointer;
    transition: color 0.15s;
}

.search-toggle:hover,
.site-header.search-open .search-toggle {
    color: var(--green);
}

.search-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.search-toggle svg {
    width: 18px;
    height: 18px;
}

.search-toggle .icon-close,
.site-header.search-open .search-toggle .icon-search {
    display: none;
}

.site-header.search-open .search-toggle .icon-close {
    display: block;
}

/* search bar that drops down under the header */
.search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.site-header.search-open .search-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.search-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #cfd6de;
    border-radius: 0;
    font: inherit;
    font-size: 16px;
    color: #1b1b1b;
}

.search-form input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.search-form button {
    height: 48px;
    padding: 0 22px;
    border: 0;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.search-form button:hover {
    filter: brightness(0.9);
}

.search-form button:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991.98px) {
    .header-inner {
        gap: 16px;
    }

    /* search icon sits just left of the hamburger */
    .header-search {
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
    }

    .menu-toggle {
        margin-left: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(11, 47, 85, 0.1);
        display: none;
    }

    .site-header.menu-open .main-nav {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 16px;
    }

    .nav-item {
        border-bottom: 1px solid var(--border);
    }

    .nav-item:last-child {
        border-bottom: 0;
    }

    .nav-link,
    .nav-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        border-radius: 0;
    }

    .dropdown {
        position: static;
        min-width: 0;
        padding: 0 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown::before {
        display: none;
    }

    .nav-item.open>.dropdown {
        display: block;
    }

    .dropdown a {
        padding: 10px 16px;
        white-space: normal;
    }
}

/* ---------- Hero slider ---------- */
.hero-slider {
    --blue: #b75318;
    --lime: #b75318;
    --lime-hover: #b75318;
    --ink: #1b1b1b;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0f2740;
    color: #fff;
}

/* all slides share one grid cell, so the slider grows to fit the tallest one */
.slides {
    display: grid;
}

.slide {
    grid-area: 1 / 1;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 78% 30%, #1d4a7a 0%, #0f2740 62%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* background photo (set per slide with --slide-img) with a slow zoom */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--slide-img, none) center / cover no-repeat;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.slide.is-active::before {
    transform: scale(1);
}

.slide-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    min-height: 460px;
    margin: 0 auto;
    padding: 96px 88px 96px 16px;
    display: flex;
    align-items: center;
}

/* see-through white card over the photo */
.slide-content {
    max-width: 560px;
    padding: 22px 28px 24px;
    background: rgba(255, 255, 255, 0.82);
    border-top: 4px solid var(--blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    color: var(--ink);
}

.slide-content h1,
.slide-content h2 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--blue);
}

.slide-content p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--ink);
}

/* text-only button with an arrow that nudges right on hover */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 4px 0;
    background: none;
    color: var(--lime);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    transition: color 0.2s;
}

.btn::after {
    content: "\2192";
    transition: transform 0.2s;
}

.btn:hover {
    color: var(--lime-hover);
    text-decoration-line: underline;
}

.btn:hover::after {
    transform: translateX(4px);
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.slider-dot:focus-visible,
.slider-play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* text eases up as each slide comes in */
.slide-content>* {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.is-active .slide-content>* {
    opacity: 1;
    transform: none;
}

.slide.is-active .slide-content> :nth-child(1) {
    transition-delay: 0.25s;
}

.slide.is-active .slide-content> :nth-child(2) {
    transition-delay: 0.4s;
}

.slide.is-active .slide-content> :nth-child(3) {
    transition-delay: 0.55s;
}

.slide.is-active .slide-content> :nth-child(4) {
    transition-delay: 0.7s;
}

/* dots + pause, stacked down the right edge */
.slider-controls {
    position: absolute;
    top: 50%;
    right: 32px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateY(-50%);
}

.slider-dots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: height 0.3s, background 0.3s, border-color 0.3s;
}

/* bigger invisible click/tap area around the small dot */
.slider-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dot[aria-current="true"] {
    height: 20px;
    background: var(--lime);
    border-color: var(--lime);
}

.slider-play {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
}

.slider-play:hover {
    border-color: #fff;
}

.slider-play svg {
    width: 9px;
    height: 9px;
}

.slider-play .icon-play {
    display: none;
}

.slider-play.is-paused .icon-play {
    display: block;
}

.slider-play.is-paused .icon-pause {
    display: none;
}

@media (max-width: 767.98px) {

    /* leave room on the right for the dot column */
    .slide-inner {
        min-height: 420px;
        padding: 48px 48px 48px 16px;
    }

    .slider-controls {
        right: 16px;
    }

    .slide-content {
        padding: 18px 20px 20px;
    }

    .slide-content p {
        font-size: 0.9375rem;
    }
}

/* ---------- Intro + Cards background ---------- */
/* one image behind both sections: contour lines in the top-left and bottom-right corners */
.intro-cards {
    background: #fff url("../img/aps.jpg") center / cover no-repeat;
}

/* cards stack below 900px and the section gets tall and narrow, so "cover" would
   zoom into the blank middle; show each corner of the image at its own end instead */
@media (max-width: 899.98px) {
    .intro-cards {
        background:
            url("../img/aps.jpg") left top / max(900px, 180%) auto no-repeat,
            url("../img/aps.jpg") right bottom / max(900px, 180%) auto no-repeat,
            #fff;
    }
}

/* ---------- Intro ---------- */
.intro {
    background: transparent;
}

.intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 16px 56px;
}

.intro p {
    max-width: 680px;
    margin: 0 auto;
    /* justified, with hyphenation so there are no big gaps between words */
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #222;
}

@media (max-width: 767.98px) {
    .intro-inner {
        padding: 48px 16px 40px;
    }

    /* phone lines are too short to justify cleanly, so align left */
    .intro p {
        font-size: 0.9375rem;
        text-align: left;
    }
}

/* ---------- Cards ---------- */
.cards {
    background: transparent;
}

.cards-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 16px 72px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* the shadow sits on a wrapper so it follows the cut corner */
.card-wrap {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.15)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.card-wrap:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.15)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.card-wrap:has(.card-link:focus-visible) {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.card {
    --cut: 24px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9ecef;
}

.card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-wrap:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 28px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.card h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--green);
}

.card-arrow {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: var(--green);
    transition: transform 0.25s ease;
}

.card-wrap:hover .card-arrow {
    transform: translate(3px, -3px);
}

.card p {
    margin: 0 0 18px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #444;
}

.card-link {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-underline-offset: 4px;
    outline: none;
}

.card-link svg {
    width: 12px;
    height: 12px;
}

.card-wrap:hover .card-link {
    text-decoration: underline;
}

/* stretches the link over the whole card so any part of it is clickable */
.card-link::before {
    content: "";
    position: absolute;
    inset: 0;
}

@media (max-width: 899.98px) {
    .cards-inner {
        grid-template-columns: 1fr;
        max-width: 440px;
        padding-bottom: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .card-wrap,
    .card-img img,
    .card-arrow {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .slide,
    .slide::before,
    .slide-content>* {
        transition: none;
    }
}

/* ---------- Announcements & Events ---------- */
.news-events {
    background: #f5f7fa;
}

.news-events-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 16px 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.panel {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
    padding: 24px 24px 8px;
}

.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.panel-head h2 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1b1b1b;
}

.panel-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.panel-more svg {
    width: 12px;
    height: 12px;
}

.panel-more:hover {
    text-decoration: underline;
}

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

.panel-list li+li {
    border-top: 1px solid var(--border);
}

.panel-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    color: inherit;
    text-decoration: none;
}

.panel-item h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1b1b1b;
    transition: color 0.15s;
}

.panel-item:hover h3 {
    color: var(--green);
}

.panel-item:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.panel-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
}

/* announcements: small date above the title */
.announce-date {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

/* events: date badge on the left */
.event-date {
    flex-shrink: 0;
    width: 56px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1;
}

.event-date .day {
    font-size: 1.375rem;
    font-weight: 700;
}

.event-date .mon {
    margin-top: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-meta svg {
    width: 13px;
    height: 13px;
    color: var(--green);
}

@media (max-width: 899.98px) {
    .news-events-inner {
        grid-template-columns: 1fr;
        max-width: 552px;
        padding: 48px 16px 56px;
    }
}

@media (max-width: 767.98px) {
    .panel {
        padding: 20px 18px 4px;
    }
}

/* ---------- Latest news ---------- */
.news {
    background: #fff;
}

.news-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 16px 72px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1b1b1b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e9ecef;
}

.news-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.04);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-tag {
    color: var(--green);
}

.news-meta time {
    color: #888;
}

.news-meta time::before {
    content: "\00b7";
    margin-right: 10px;
    color: #bbb;
}

.news-item h3 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.news-item h3 a {
    color: #1b1b1b;
    text-decoration: none;
    transition: color 0.15s;
}

/* stretches the title link over the whole item */
.news-item h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.news-item:hover h3 a {
    color: var(--green);
}

.news-item h3 a:focus-visible {
    outline: none;
}

.news-item:has(h3 a:focus-visible) {
    outline: 2px solid var(--green);
    outline-offset: 6px;
}

.news-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 899.98px) {
    .news-inner {
        max-width: 552px;
        padding: 48px 16px 56px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    /* layers: black, then the contour image (::before), then a plain black overlay
       at 0.85 (::after), then the footer content */
    position: relative;
    isolation: isolate;
    background: var(--navy);
    border-top: 3px solid var(--green);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
}

/* the image is very dark (its lines are 40/255), so it is brightened here (lines
   become white); otherwise the 0.85 overlay would hide the lines completely */
.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.site-footer::before {
    background: url("../img/ers.jpg") center / cover no-repeat;
    filter: brightness(6.4);
}

.site-footer::after {
    background: rgba(0, 0, 0, 0.92);
}

/* logo + social icons row above the links */
.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    display: block;
    flex-shrink: 0;
}

.footer-logo img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.site-footer .footer-social a:hover {
    background: var(--green);
    border-color: var(--green);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h2 {
    margin: 0 0 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.footer-col h2::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 10px;
    background: var(--green);
}

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

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
}

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

@media (max-width: 899.98px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 559.98px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 36px;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Inner page hero ---------- */
.page-hero {
    background: #f5f7fa;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 16px 40px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: #777;
}

.breadcrumb a {
    color: var(--green);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #1b1b1b;
}

.page-hero p {
    max-width: 600px;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
}

/* ---------- Contact page ---------- */
.contact {
    background: #fff;
}

.contact-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 56px 16px 64px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    margin: 0 0 8px;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1b1b1b;
}

.contact-info>p {
    margin: 0 0 24px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
}

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

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-list strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.contact-list div>span,
.contact-list div>a {
    font-size: 1rem;
    color: #1b1b1b;
    text-decoration: none;
    text-underline-offset: 3px;
}

.contact-list a:hover {
    color: var(--green);
    text-decoration: underline;
}

.contact-list a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
    padding: 28px;
}

.contact-form-wrap>p {
    margin: 0 0 20px;
    font-size: 0.875rem;
    color: #555;
}

.req {
    color: var(--green);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1b1b1b;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cfd6de;
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 0.9375rem;
    color: #1b1b1b;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.form-submit {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border: 0;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.form-submit svg {
    width: 16px;
    height: 16px;
}

.form-submit:hover {
    filter: brightness(0.9);
}

.form-submit:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.form-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    background: #f5f7fa;
    border-left: 3px solid var(--green);
    font-size: 0.875rem;
    line-height: 1.5;
    color: #333;
}

.form-note[hidden] {
    display: none;
}

.contact-map {
    margin-top: 28px;
    line-height: 0;
    border: 1px solid var(--border);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

@media (max-width: 899.98px) {
    .contact-inner {
        grid-template-columns: 1fr;
        max-width: 640px;
        padding: 40px 16px 48px;
    }
}

@media (max-width: 559.98px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 20px;
    }

    .contact-map iframe {
        height: 200px;
    }
}

/* ---------- In-page links ---------- */
/* keep sections clear of the sticky header when a menu link jumps to them */
#announcements,
#events,
#news {
    scroll-margin-top: 100px;
}

/* about page sections start flush under the header */
#who-we-are,
#mission-vision,
#board-members {
    scroll-margin-top: 85px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ---------- Current page in a dropdown menu ---------- */
.nav-toggle.active {
    color: var(--green);
    font-weight: 600;
}

/* ---------- About page ---------- */
.about-section {
    background: #fff;
}

.about-section.alt {
    background: #f5f7fa;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 16px;
}

.section-kicker {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
}

.about-inner h2 {
    margin: 0 0 20px;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    color: #1b1b1b;
}


/* who we are */
.who-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.who-text p:not(.section-kicker) {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.facts {
    margin: 0;
    padding: 4px 24px;
    background: #f5f7fa;
    border-top: 3px solid var(--green);
}

.facts div {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.facts div:last-child {
    border-bottom: 0;
}

.facts dt {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.facts dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1b1b1b;
}

/* mission, vision, objectives */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.mv-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
}

.mv-card h3 {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green);
}

.mv-card p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

/* brown icon tile above the Mission and Vision headings */
.mv-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    background: var(--green);
    color: #fff;
}

.mv-icon svg {
    width: 22px;
    height: 22px;
}

.objectives-title {
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b1b1b;
}

.objectives {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.objectives li {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--border);
}

.obj-num {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--green);
}

.objectives h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1b1b;
}

.objectives p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #555;
}

/* board members */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.board-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
}

.board-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
}

.board-avatar.tbc {
    background: #e9ecef;
    color: #9aa3ad;
}

.board-avatar svg {
    width: 26px;
    height: 26px;
}

.board-role {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
}

.board-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1b1b;
}

.board-card h3.tbc {
    font-weight: 500;
    font-style: italic;
    color: #9aa3ad;
}

.board-meta {
    margin: 2px 0 0;
    font-size: 0.8125rem;
    color: #666;
}

.board-note {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 899.98px) {
    .who-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .objectives,
    .board-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 599.98px) {
    .about-inner {
        padding: 48px 16px;
    }

    .mv-grid,
    .objectives,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 22px;
    }
}

/* ---------- Organogram (board members page) ---------- */
.org {
    --org-line: #cfd6de;
    --org-gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 0;
}

.org-council {
    width: 340px;
    max-width: 100%;
    padding: 18px 24px;
    background: var(--navy);
    border-top: 3px solid var(--green);
    color: #fff;
    text-align: center;
}

.org-council h3 {
    margin: 0 0 4px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff;
}

.org-council p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* vertical connector between two boxes */
.org-stem {
    display: block;
    width: 2px;
    height: 28px;
    background: var(--org-line);
}

.org-node {
    width: 280px;
    max-width: 100%;
}

.org-node.lead {
    border-top: 3px solid var(--green);
}

/* the split into the Secretary and Treasurer lines */
.org-branch {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 var(--org-gap);
    width: 100%;
    max-width: 640px;
    padding-top: 28px;
}

/* horizontal bar from the centre of one column to the centre of the other */
.org-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(25% - var(--org-gap) / 4);
    right: calc(25% - var(--org-gap) / 4);
    height: 2px;
    background: var(--org-line);
}

.org-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* short drop from the bar down to each column's first box */
.org-col::before {
    content: "";
    position: absolute;
    top: -28px;
    left: calc(50% - 1px);
    width: 2px;
    height: 28px;
    background: var(--org-line);
}

.org-note {
    max-width: 560px;
    margin: 32px auto 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

/* phones: keep the tree shape, stack each box's avatar above its text */
@media (max-width: 599.98px) {
    .org {
        --org-gap: 12px;
    }

    .org-node {
        flex-direction: column;
        gap: 10px;
        padding: 16px 12px;
        text-align: center;
    }

    /* branch boxes shrink to fit their half of the screen */
    .org-col .org-node {
        width: 100%;
    }

    .org-node .board-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .org-node h3 {
        font-size: 0.9375rem;
    }
}

/* ---------- List pages (announcements.html) ---------- */
.list-page {
    background: #fff;
}

/* same width as the page banner, so the content lines up with the breadcrumb */
.list-page-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 16px 72px;
}

/* titles are h2 here (under the page's h1); same look as the h3 titles on the home page */
.list-page .panel-item h2 {
    margin: 0 0 4px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1b1b1b;
}

.list-page .panel-item p {
    white-space: pre-line;
}

/* not links on this page, so no hover colour change */
.list-page article.panel-item:hover h2 {
    color: #1b1b1b;
}

.list-page .panel-item[id] {
    scroll-margin-top: 100px;
}

.list-status {
    margin: 0;
    padding: 24px 0;
    font-size: 0.9375rem;
    text-align: center;
    color: #555;
}

/* ---------- News page (news.html) ---------- */
/* titles are h2 here (under the page's h1); same look as the card titles on the home page */
.news-page .news-item h2 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1b1b1b;
}

.news-page .news-item p {
    white-space: pre-line;
}

/* cards aren't links on this page, so the photo doesn't zoom on hover */
.news-page .news-item:hover .news-img img {
    transform: none;
}

.news-page .news-item[id] {
    scroll-margin-top: 100px;
}

.news-page .list-status {
    grid-column: 1 / -1;
}

/* ---------- Document lists (publications, downloads, board minutes) ---------- */
.list-page .list-meta {
    margin: 0 0 6px;
}

.list-page .panel-item .doc-byline {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    color: #777;
}

.list-page .doc-link {
    margin-top: 12px;
}

.list-page .doc-link:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.list-page .panel-item .doc-unavailable {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    font-style: italic;
    color: #999;
}

/* ---------- Membership pages (membership, forum, join, member directory) ---------- */
.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.15s;
}

.btn-solid svg {
    width: 16px;
    height: 16px;
}

.btn-solid:hover {
    filter: brightness(0.9);
}

.btn-solid:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* tables: membership grades and the member directory */
.table-scroll {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.data-table th {
    padding: 12px 16px;
    background: #f5f7fa;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: #666;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
    color: #333;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table td:first-child {
    font-weight: 600;
    color: #1b1b1b;
}

.data-table td.list-status {
    font-weight: 400;
    color: #555;
}

/* subscription and how-to-join cards (reuse the mission & vision cards) */
.mv-card .fee {
    margin: 4px 0 10px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
}

.mv-card .fee small {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #666;
}

.mv-card ol {
    margin: 0 0 20px;
    padding-left: 20px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

.section-note {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
}

.section-note a,
.notice-box a {
    color: var(--green);
    font-weight: 600;
}

.notice-box {
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

.notice-box p {
    margin: 0 0 6px;
}

.notice-box p:last-child {
    margin: 0;
}

/* steps on the How to Join page reuse the objectives cards */
.objectives h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1b1b;
}

/* application form */
.join-form-wrap {
    max-width: 820px;
}

.form-section {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--border);
}

.form-section legend {
    margin: 0 0 14px;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1b1b1b;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #333;
    cursor: pointer;
}

.form-check input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--green);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note.ok {
    background: #e7f5ec;
    border-left-color: #1f7a3f;
    color: #1f5a33;
}

/* spam trap, kept off-screen */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* member directory */
.list-page-inner.wide {
    max-width: 1000px;
}

.directory-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 16px;
}

.directory-tools input {
    flex: 1 1 260px;
    max-width: 420px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd6de;
    background: #fff;
    font: inherit;
    font-size: 0.9375rem;
}

.directory-tools input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}

.directory-count {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

/* forum topics */
.list-page .panel-item .forum-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 0.8125rem;
    color: #777;
}

.forum-locked {
    padding: 1px 8px;
    border-radius: 999px;
    background: #eef0f3;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
}

@media (max-width: 599.98px) {
    .mv-card .fee {
        font-size: 1.625rem;
    }
}

/* How to Join: button to the sign-up page */
.join-cta {
    margin: 32px 0 0;
}

/* subscription cards on membership.html (filled from the database) */
.subscription-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    margin-bottom: 0;
}

.subscription-grid .mv-card p:last-child {
    margin: 0;
}

/* Subscribe button sits at the bottom of each card, lined up across the row */
.subscription-grid .mv-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.subscription-grid .mv-card .btn {
    margin-top: auto;
    padding-top: 20px;
}

.subscription-grid .list-status {
    grid-column: 1 / -1;
}

/* page banner without the line under the title */
.page-hero h1:last-child {
    margin-bottom: 0;
}

/* ---------- Forum: clickable topics and the topic page ---------- */
.list-page a.panel-item:hover h2 {
    color: var(--green);
}

.topic-panel {
    padding: 24px 28px 28px;
}

.topic-panel .forum-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
    color: #777;
}

.topic-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    white-space: pre-line;
}

.topic-empty {
    margin: 0;
    font-size: 0.9375rem;
    font-style: italic;
    color: #888;
}

.topic-back {
    margin-top: 24px;
}

.topic-back:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

@media (max-width: 599.98px) {
    .topic-panel {
        padding: 20px 18px 22px;
    }
}

/* ---------- Clickable items on the list pages ---------- */
/* downloads and board minutes: the title link stretches over the whole item */
.list-page article.panel-item {
    position: relative;
}

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

.item-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.list-page article.panel-item:hover .item-link {
    color: var(--green);
}

.list-page article.panel-item:has(.item-link:focus-visible) {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.item-link:focus-visible {
    outline: none;
}

/* keep the download link clickable above the stretched title link */
.list-page .doc-link {
    position: relative;
    z-index: 1;
}

/* news page: the card title links to the story and the whole card is clickable */
.news-page .news-item h2 a {
    color: #1b1b1b;
    text-decoration: none;
    transition: color 0.15s;
}

.news-page .news-item h2 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.news-page .news-item:hover h2 a {
    color: var(--green);
}

.news-page .news-item:hover .news-img img {
    transform: scale(1.04);
}

.news-page .news-item:has(h2 a:focus-visible) {
    outline: 2px solid var(--green);
    outline-offset: 6px;
}

.news-page .news-item h2 a:focus-visible {
    outline: none;
}

/* events page headings */
.list-heading {
    margin: 0 0 16px;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1b1b1b;
}

.list-page .panel+.list-heading {
    margin-top: 48px;
}

/* ---------- Detail pages (announcement, event, news story, publication, download, minutes) ---------- */
.detail-image {
    margin: -24px -28px 24px;
    height: 340px;
    overflow: hidden;
    background: #e9ecef;
}

.detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-byline {
    margin: 0 0 16px;
    font-size: 0.875rem;
    color: #777;
}

.detail-lead {
    margin: 0 0 16px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.55;
    color: #1b1b1b;
    white-space: pre-line;
}

.detail-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    white-space: pre-line;
}

.detail-facts {
    list-style: none;
    margin: 4px 0 20px;
    padding: 0 0 18px;
    display: grid;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.detail-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #1b1b1b;
}

.detail-facts svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--green);
}

.detail-facts .fact-label {
    min-width: 72px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.detail-download {
    margin-top: 20px;
}

@media (max-width: 599.98px) {
    .detail-image {
        margin: -20px -18px 20px;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ---------- Sign-up steps and payment step (signup.html, portal.html) ---------- */
.signup-steps {
    list-style: none;
    margin: 0 0 24px;
    padding: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    border-bottom: 1px solid var(--border);
}

.signup-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #999;
}

.signup-steps span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid #cfd6de;
    background: #fff;
    font-size: 0.8125rem;
    color: #999;
}

.signup-steps li.active,
.signup-steps li.done {
    color: #1b1b1b;
}

.signup-steps li.active span {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.signup-steps li.done span {
    border-color: var(--green);
    color: var(--green);
}

.pay-lead {
    margin: 0 0 20px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

.pay-methods {
    margin: 0 0 24px;
    padding: 18px 20px;
    background: #f5f7fa;
    border-left: 3px solid var(--green);
}

.pay-methods h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1b1b;
}

.pay-methods p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
}

.pay-methods a {
    color: var(--green);
    text-underline-offset: 3px;
}

.pay-method-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.pay-method-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #333;
}

.pay-method-list strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #1b1b1b;
}

.pay-instructions {
    font-size: 0.8125rem;
    color: #666;
}

.pay-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-top: 20px;
}

.pay-actions .form-submit,
.pay-actions .btn {
    margin-top: 0;
}

button.btn {
    border: 0;
    cursor: pointer;
}

.form-field .field-hint {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #777;
}

.signup-done h3 {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green);
}

.signup-done p {
    margin: 0 0 12px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

.signup-done .btn-solid {
    margin-top: 8px;
}

/* ---------- Members Portal (portal.html) ----------
   The page uses the admin dashboard layout from css/admin.css (sidebar, top bar,
   sign-in card); these rules are the portal's own parts. */

.portal-view[hidden],
.portal-tabs[hidden],
.portal-back[hidden],
.portal-item-title[hidden] {
    display: none;
}

/* sign-in card: Sign In / Create Account tabs */
.portal-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: -4px 0 20px;
    border-bottom: 1px solid var(--border);
}

.portal-tabs button {
    margin-bottom: -1px;
    padding: 10px 0;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
}

.portal-tabs button[aria-selected="true"] {
    border-bottom-color: var(--green);
    color: #1b1b1b;
}

.portal-small {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: center;
    color: #666;
}

.portal-small a,
.portal-note a {
    color: var(--green);
    font-weight: 600;
    text-underline-offset: 3px;
}

/* sidebar group label ("Resources") */
.admin-nav-label {
    margin: 14px 12px 4px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.admin-nav .count:empty {
    display: none;
}

/* content */
.portal-view {
    max-width: 1120px;
}

.portal-welcome {
    margin-bottom: 20px;
}

.portal-welcome .section-kicker {
    margin-bottom: 6px;
}

.portal-welcome h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1b1b1b;
}

/* summary tiles */
.portal-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.portal-stats-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-stats>.admin-loading,
.portal-stats>.admin-notice {
    grid-column: 1 / -1;
    margin: 0;
}

.portal-stat {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
}

.portal-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
}

.portal-icon svg {
    width: 20px;
    height: 20px;
}

.portal-stat>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.portal-stat-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
}

.portal-stat-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1b1b1b;
    overflow-wrap: anywhere;
}

.portal-stat-value .status-pill {
    font-size: 0.8125rem;
}

.portal-stat-sub {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #666;
}

/* panels */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.portal-panel {
    min-width: 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
}

.portal-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: -18px -20px 6px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.portal-panel-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1b1b;
}

.portal-panel-head a {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
}

.portal-panel-head a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#overview-membership {
    padding-top: 12px;
}

/* lists of rows (payments, announcements, events, forum...) */
.portal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-list>li+li {
    border-top: 1px solid var(--border);
}

.portal-list-panel {
    padding-top: 4px;
    padding-bottom: 4px;
}

.portal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.portal-row-link {
    justify-content: flex-start;
    color: inherit;
    text-decoration: none;
}

.portal-row>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.portal-row-link>div:first-of-type {
    flex: 1;
}

.portal-row strong {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1b1b1b;
    transition: color 0.15s;
}

.portal-row>div>span:not(.status-pill) {
    font-size: 0.8125rem;
    color: #777;
}

.portal-row-link:hover strong {
    color: var(--green);
}

.portal-row-end {
    flex-shrink: 0;
    align-items: flex-end;
    text-align: right;
}

.portal-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #bbb;
    transition: color 0.15s, transform 0.15s;
}

.portal-row-link:hover .portal-chevron {
    color: var(--green);
    transform: translateX(2px);
}

.portal-date-box {
    flex-shrink: 0;
    width: 46px;
    padding: 7px 0 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1;
}

.portal-date-box .day {
    font-size: 1.125rem;
    font-weight: 700;
}

.portal-date-box .mon {
    margin-top: 3px;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portal-empty {
    margin: 0;
    padding: 12px 0;
    font-size: 0.875rem;
    color: #777;
}

.portal-subheading {
    margin: 0 0 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1b1b1b;
}

.portal-panel+.portal-subheading {
    margin-top: 28px;
}

.portal-big {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--green);
}

.portal-muted {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
}

.portal-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px 20px;
    margin: 0;
}

.portal-facts dt {
    margin-bottom: 3px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.portal-facts dd {
    margin: 0;
    font-size: 0.9375rem;
    color: #1b1b1b;
    overflow-wrap: anywhere;
}

/* a single item (membership, publication, event...) */
.portal-detail {
    max-width: 860px;
    padding: 24px 28px;
}

.portal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
}

.portal-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.portal-back:hover svg {
    transform: translateX(-3px);
}

.portal-item-title {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1b1b1b;
}

.portal-detail .portal-meta {
    margin: 0 0 16px;
}

.portal-detail .detail-download {
    height: 44px;
    text-decoration: none;
}

.portal-detail .detail-download svg {
    width: 16px;
    height: 16px;
}

.portal-stats-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: #777;
}

.portal-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.portal-member-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.portal-member-head>div {
    flex: 1;
    min-width: 0;
}

.portal-member-head h3,
.portal-detail-title {
    margin: 0 0 2px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b1b1b;
}

.portal-detail-title {
    margin-bottom: 10px;
}

.portal-member-head p {
    margin: 0;
    font-size: 0.9375rem;
    color: #666;
}

.portal-note {
    margin: 14px 0 0;
    font-size: 0.875rem;
    color: #666;
}

/* application progress: Submitted > Under review > Decision */
.portal-tracker {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
}

.portal-tracker li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #999;
}

.portal-tracker li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #dfe4ea;
}

.portal-tracker li:first-child::before {
    display: none;
}

.portal-tracker li.done::before {
    background: var(--green);
}

.portal-tracker-dot {
    position: relative;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid #dfe4ea;
    background: #fff;
    color: #999;
}

.portal-tracker-dot svg {
    width: 16px;
    height: 16px;
}

.portal-tracker li.done {
    color: #1b1b1b;
}

.portal-tracker li.done .portal-tracker-dot {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.portal-tracker li.current {
    color: var(--green);
}

.portal-tracker li.bad,
.portal-tracker li.bad .portal-tracker-dot {
    color: #b42318;
}

.portal-tracker li.bad .portal-tracker-dot {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

/* tables (payments, member directory) */
.portal-table {
    min-width: 600px;
}

.portal-table td.empty {
    padding: 32px 20px;
    text-align: center;
    color: #777;
}

/* status labels, same colours as the admin badges */
.status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.status-ok {
    background: #e7f5ec;
    color: #1f7a3f;
}

.status-wait {
    background: #fff4d6;
    color: #8a5a00;
}

.status-bad {
    background: #fde8e7;
    color: #b42318;
}

@media (max-width: 1099.98px) {
    .portal-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 759.98px) {

    .portal-grid,
    .portal-stats-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 559.98px) {
    .portal-stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .portal-detail {
        padding: 18px;
    }

    .portal-member-head {
        flex-wrap: wrap;
    }
}

/* sign-up: note under a form section (e.g. "Other payment options will be added later.") */
.form-section-note {
    margin: 10px 0 0 28px;
    font-size: 0.8125rem;
    color: #777;
}

/* portal: how to pay, while membership is "Pending payment" */
.portal-pay-note {
    margin: 16px 0 0;
}

/* ---------- Board members: clickable photo and profile popup ---------- */
.board-photo {
    position: relative;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.board-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-photo:hover {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green);
}

.board-photo:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.board-dialog {
    width: min(380px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-top: 3px solid var(--green);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.board-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.board-dialog-photo {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
}

.board-dialog-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-dialog-body {
    padding: 20px 24px 24px;
}

.board-dialog-body h2 {
    margin: 2px 0 4px;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1b1b1b;
}

.board-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1b1b1b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.board-dialog-close svg {
    width: 18px;
    height: 18px;
}

.board-dialog-close:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

/* popup for a role that is still to be confirmed */
.board-dialog-photo.tbc {
    background: #e9ecef;
    color: #9aa3ad;
}

.board-dialog-photo svg {
    width: 96px;
    height: 96px;
}

.board-dialog-body h2.tbc {
    font-weight: 500;
    font-style: italic;
    color: #9aa3ad;
}