/* IFS site stylesheet — hand-written, no build step.
   Palette matches the live site: navy/blue primary, orange accent,
   white topbar, light gray/blue content bands. */

:root {
    --navy: #16337e;
    --blue: #1d4e9e;
    --blue-dark: #142a63;
    --orange: #f26f21;
    --text: #333;
    --muted: #6b7280;
    --bg: #fff;
    --band-gray: #eef0f3;
    --band-blue: #eaf1fb;
    --card: #fff;
    --border: #dfe3ea;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
    background: #f7f7f7;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    color: #444;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 1rem;
}

.topbar-contacts span,
.topbar-contacts a {
    margin-right: 1rem;
    color: inherit;
    text-decoration: none;
}

.topbar-contacts a:hover {
    text-decoration: underline;
}

.topbar-social a {
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    margin-left: 0.3rem;
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .hide-sm {
        display: none;
    }
}

/* ── Header (white) ─────────────────────────────────────── */
.site-header {
    background: #fff;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.6rem 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-logo {
    height: 56px;
    width: auto;
}

.brand-name {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.25;
}

.header-cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.button {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid var(--blue);
    font-size: 0.9rem;
}

.button:hover {
    background: var(--blue-dark);
}

.button-outline {
    background: #fff;
    color: var(--blue);
}

.button-outline:hover {
    background: var(--band-blue);
}

/* ── Nav bar (navy) ─────────────────────────────────────── */
.main-nav-bar {
    background: var(--navy);
}

.main-nav-inner {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    font-size: 0.92rem;
}

.main-nav a:hover {
    background: var(--blue);
    color: #fff;
}

/* Dropdown submenu: CSS-only, opens on hover and keyboard focus */
.nav-item {
    position: relative;
}

.nav-item>a {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    z-index: 60;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    color: var(--text) !important;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:hover {
    background: var(--band-blue);
    color: var(--blue) !important;
}

.dropdown-group {
    padding: 0.45rem 0.9rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    background: #f8f9fb;
}

@media (max-width: 860px) {
    .dropdown {
        position: static;
        border: none;
        box-shadow: none;
        min-width: 0;
    }

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

    /* always expanded in mobile menu */
    .dropdown a {
        color: rgba(255, 255, 255, .85) !important;
        background: none;
        padding-left: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .dropdown {
        background: var(--blue-dark);
    }

    .dropdown-group {
        background: none;
        color: rgba(255, 255, 255, .55);
        padding-left: 1.2rem;
    }
}

.nav-toggle,
.nav-burger {
    display: none;
}

@media (max-width: 860px) {
    .nav-burger {
        display: block;
        color: #fff;
        padding: 0.55rem 0.9rem;
        cursor: pointer;
        user-select: none;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    .main-nav a {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .nav-toggle:checked~.main-nav {
        display: flex;
    }

    .main-nav-inner {
        flex-wrap: wrap;
    }
}

/* ── Hero slider ────────────────────────────────────────── */
.hero-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.hero-slider .slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.hero-slider img {
    width: 100%;
    display: block;
}

/* ── Content bands & cards ──────────────────────────────── */
.band {
    padding: 1.5rem 0;
}

.band-gray {
    background: var(--band-gray);
}

.band-blue {
    background: var(--band-blue);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.card-title {
    margin: -1.25rem -1.25rem 1rem;
    padding: 0.6rem 1.25rem;
    background: #f3f4f6;
    border-bottom: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
    font-size: 1.05rem;
    color: var(--text);
}

.section-title {
    text-align: center;
    color: var(--navy);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0.25rem 0 0.5rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--orange);
    margin: 0.4rem auto 1rem;
    border-radius: 2px;
}

/* President + quick links row */
.president-row {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .president-row {
        grid-template-columns: 1fr;
    }
}

.president-card p {
    text-align: justify;
}

.pres-photo {
    float: left;
    width: 120px;
    margin: 0 1.2rem 0.5rem 0;
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* left-aligned card heading with short orange underline (WP home style) */
.head-left {
    margin: 0.25rem 0 1rem;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text);
}

.head-left::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin-top: 0.4rem;
    border-radius: 2px;
}

/* Quick links: two columns of blue buttons */
.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    align-content: start;
}

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

.quick-link {
    background: var(--blue);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    line-height: 1.3;
}

.quick-link:hover {
    background: var(--blue-dark);
}

.quick-link-alert {
    grid-column: 1 / -1;
    background: var(--orange);
}

.quick-link-alert:hover {
    background: #d95d13;
}

/* Home columns: banner rail + main */
.home-columns {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
}

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

.home-banners img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    display: block;
}

/* Notification cards */
.notice-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .notice-cards {
        grid-template-columns: 1fr;
    }
}

.notice-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.notice-card:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* Office bearers: round photos with blue ring */
.bearer-featured {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.bearer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    justify-items: center;
}

.bearer {
    text-align: center;
    max-width: 190px;
}

.bearer img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--blue);
    background: var(--band-blue);
}

.bearer-big img {
    width: 150px;
    height: 150px;
}

.bearer h3 {
    font-size: 0.92rem;
    margin: 0.5rem 0 0.1rem;
}

.bearer p {
    margin: 0;
    font-size: 0.82rem;
}

.chip-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.chip {
    background: var(--navy);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    text-decoration: none;
}

.chip:hover {
    background: var(--blue);
}

/* ── Page banner (inner pages) ──────────────────────────── */
.page-banner {
    background-color: #7b7f87;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    padding: 0 1.5rem;
    position: relative;
}

.page-banner-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 500;
    color: #ffffff;
    padding: 1.6rem 0;
    z-index: 2;
}

.page-banner-crumbs-wrap {
    display: flex;
    align-items: center;
    position: relative;
    height: 100px;
    margin-right: 1.5rem;
}

/* White slanted breadcrumb box */
.crumbs-box {
    background: #ffffff;
    height: 100%;
    padding: 0 3.2rem 0 2.5rem;
    transform: skewX(-22deg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 2;
    position: relative;
    margin: 0 14px;
}

/* Unskew children so text and icons render upright */
.crumbs-box > * {
    transform: skewX(22deg);
}

.crumb-home {
    color: #475569;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.crumb-home:hover {
    color: #0b1a3e;
}

.crumb-arrow {
    color: #0b1a3e;
    font-size: 0.85rem;
    font-weight: 700;
}

.crumb-current {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Left and Right slanted dark blue gradient bars */
.blue-slanted-bar {
    width: 22px;
    height: 140%;
    position: absolute;
    top: -20%;
    background: linear-gradient(135deg, #0b1a3e 0%, #16337e 100%);
    transform: skewX(-22deg);
    box-shadow: 0 4px 10px rgba(11, 26, 62, 0.3);
    z-index: 1;
}

.blue-slanted-bar.left-bar {
    left: -8px;
}

.blue-slanted-bar.right-bar {
    right: -8px;
}

/* Tile cards (publications-style): centered title under image */
.card.tile {
    text-align: center;
    padding-bottom: 0.9rem;
}

.card.tile img {
    border: 1px solid var(--border);
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.card.tile h3 {
    font-weight: 500;
    font-size: 1.02rem;
}

/* ── Generic listing/content pages ──────────────────────── */
main>.container>h1,
.prose h1 {
    color: var(--navy);
}

h1 {
    font-size: 1.6rem;
    margin: 1.25rem 0 0.75rem;
}

h2 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--navy);
}

main {
    min-height: 55vh;
}

/* Inner pages emit content directly into <main>; constrain everything
   except the home page's full-width bands and the hero slider. */
main> :not(.band):not(.hero-slider):not(.page-banner) {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.card-grid,
.poster-grid,
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.card-grid .card,
.poster-card,
.person-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text);
    display: block;
    margin-bottom: 0;
}

a.card:hover,
.poster-card:hover {
    box-shadow: 0 3px 10px rgba(20, 42, 99, .15);
    border-color: var(--blue);
}

.card-grid img,
.poster-card img,
.person-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.card-grid h3,
.poster-card h3,
.person-card h3 {
    margin: 0.6rem 0 0.2rem;
    font-size: 0.95rem;
}

.poster-pdf {
    font-size: 2rem;
    text-align: center;
    padding: 2rem 0;
    background: var(--band-blue);
    border-radius: 6px;
}

.event-poster {
    max-width: 100%;
    border-radius: 8px;
}

.people-grid .person-card {
    text-align: center;
}

.people-grid .person-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--blue);
    margin: 0 auto;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
}

.link-list a {
    color: var(--blue);
    text-decoration: none;
}

.link-list a:hover {
    text-decoration: underline;
}

.tab-nav {
    display: flex;
    gap: 0.4rem;
    margin: 1.5rem 0 0;
}

.tab-nav button {
    border: 1px solid var(--border);
    background: #fff;
    padding: 0.55rem 1.2rem;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
}

.tab-nav button.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.tab-panel {
    display: none;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 6px 6px 6px;
}

.tab-panel.active {
    display: block;
}

.sig-banner {
    width: 100%;
    border-radius: 8px;
}

.pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination a {
    color: var(--blue);
}

.prose {
    max-width: 50rem;
}

.prose img {
    max-width: 100%;
}

time {
    font-size: 0.85rem;
}

/* Registration landing: two columns, slate email panel (legacy look) */
.reg-columns {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

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

.email-panel {
    background: #4a6a8f;
    color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
}

.email-panel h3 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: 1rem;
}

.email-panel .email-gate {
    margin: 0;
    max-width: none;
}

/* Registration form on slate panel (legacy look) */
.reg-panel {
    background: #4a6a8f;
    color: #fff;
    padding: 1.5rem 2rem 2rem;
    border-radius: 6px;
    margin: 1rem 0 2rem;
}

.reg-panel h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 2rem;
}

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

.reg-span {
    grid-column: 1 / -1;
}

.reg-form label {
    display: block;
    margin: 0.8rem 0 0.25rem;
    font-weight: 600;
    color: #fff;
}

.reg-form input,
.reg-form select,
.reg-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: none;
    border-radius: 4px;
    font: inherit;
}

.reg-form .certify {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1.2rem;
    font-weight: 600;
}

.reg-form .certify input {
    width: auto;
    margin-top: 0.3rem;
}

.captcha-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.captcha-row label {
    margin: 0;
    background: rgba(255, 255, 255, .15);
    padding: 0.55rem 0.9rem;
    border-radius: 4px;
    white-space: nowrap;
}

.captcha-row input {
    flex: 1;
}

.reg-note {
    color: rgba(255, 255, 255, .8);
    margin-top: 0.8rem;
}

.reg-aside-logo {
    max-width: 220px;
    display: block;
    margin: 0 auto 0.5rem;
}

.reg-aside hr {
    border: none;
    border-top: 1px solid var(--border);
}

.reg-aside h4 {
    margin: 1.2rem 0 0.5rem;
}

.help-box {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Admin-issued gateway rehearsal: unmistakably not a real signup. */
.test-banner {
    display: grid;
    gap: 0.35rem;
    border: 1px solid #f0b429;
    border-left: 5px solid #f0b429;
    background: #fff9ec;
    color: #6b4a00;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin: 0 0 1.2rem;
    font-size: 0.88rem;
    line-height: 1.45;
}
.test-banner strong { font-size: 1rem; }

/* Email gate (registration step 1): input + yellow arrow button */
.email-gate {
    display: flex;
    gap: 0.4rem;
    max-width: 22rem;
    margin: 1rem auto;
}

.email-gate input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
}

.gate-btn {
    background: var(--orange);
    border-color: var(--orange);
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
}

.gate-btn:hover {
    background: #d95d13;
}

/* Grievance cell — airy legacy layout */
.grv-layout {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 3rem;
    padding-top: 2.5rem;
}

@media (max-width: 800px) {
    .grv-layout {
        grid-template-columns: 1fr;
    }
}

.grv-form input[type=text],
.grv-form input[type=email],
.grv-form textarea {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 2.2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font: inherit;
    color: var(--text);
}

.grv-form ::placeholder {
    color: #9aa1ab;
}

.grv-file {
    margin-bottom: 1.5rem;
    display: block;
}

.grv-captcha {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.grv-captcha label {
    background: var(--band-gray);
    border: 1px solid var(--border);
    padding: 0.7rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.grv-captcha input {
    width: 12rem;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font: inherit;
}

.grv-submit {
    background: var(--navy);
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
}

.grv-terms {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.grv-terms a {
    color: var(--blue);
}

.bradecom .breadcrumbs .left-curves::before {
    position: absolute;
    content: '';
    left: -4px;
    top: 0px;
    width: 22px;
    height: 100%;
    -ms-transform: skewX(-24deg);
    -webkit-transform: skewX(-24deg);
    transform: skewX(-24deg);
    background-image: -ms-linear-gradient(top, #0f2c7a 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -moz-linear-gradient(top, #0f2c7a 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -o-linear-gradient(top, #0f2c7a 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #0f2c7a), color-stop(100, rgba(255, 255, 255, 0)));
    background-image: -webkit-linear-gradient(top, #0f2c7a 0%, rgba(255, 255, 255, 0) 100%);
    background-image: linear-gradient(to bottom, #0f2c7a 0%, rgba(255, 255, 255, 0) 100%);
}


.recent-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 1rem;
}

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

.recent-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}

.recent-list a {
    color: var(--blue);
    text-decoration: none;
    line-height: 1.5;
}

.recent-list a:hover {
    text-decoration: underline;
}

/* ── Calendar ───────────────────────────────────────────── */
.cal-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 0.3rem;
    margin-top: 1rem;
}

.cal-tab {
    background: var(--band-blue);
    color: var(--blue-dark);
    text-decoration: none;
    padding: 0.35rem 1.1rem;
    border-radius: 5px 5px 0 0;
    font-size: 0.88rem;
    border: 1px solid var(--border);
    border-bottom: none;
}

.cal-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.cal-list .cal-event {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
}

.cal-week td {
    height: 160px;
}

.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.cal-month {
    font-size: 1.15rem;
    color: var(--navy);
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 2rem;
}

.calendar th {
    background: var(--navy);
    color: #fff;
    padding: 0.5rem;
    font-weight: 600;
}

.calendar td {
    border: 1px solid var(--border);
    vertical-align: top;
    height: 90px;
    padding: 0.3rem;
    font-size: 0.78rem;
}

.calendar .cal-empty {
    background: #f6f7f9;
}

.cal-day {
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.cal-event {
    display: block;
    background: var(--band-blue);
    border-left: 3px solid var(--blue);
    color: var(--blue-dark);
    text-decoration: none;
    padding: 0.2rem 0.35rem;
    margin-bottom: 0.25rem;
    border-radius: 3px;
    line-height: 1.3;
}

.cal-event:hover {
    background: var(--blue);
    color: #fff;
}

/* ── Footer (Deep Navy) ─────────────────────────────────── */
.site-footer {
    margin-top: 3rem;
    background: #0b1a3e;
    color: #ffffff;
    font-size: 0.9rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 880px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Column 1: About & Credits */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.footer-brand img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.footer-brand-title {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.15;
    letter-spacing: 0.5px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.4);
    padding-left: 0.75rem;
}

.footer-desc {
    color: #e2e8f0;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.footer-links-row {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.footer-links-row a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links-row a:hover {
    text-decoration: underline;
}

.footer-credits {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.footer-credits p {
    margin: 0.15rem 0;
}

.footer-designer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Headings */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1.25rem;
}

.footer-heading-short {
    border-bottom: 2px solid var(--orange, #f26f21);
    display: inline-block;
    padding-bottom: 0.25rem;
}

.footer-heading-full {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.4rem;
    width: 100%;
}

/* Column 2: Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.4;
}

.footer-circle-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b1a3e;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* QR Code Row */
.footer-qr-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.qr-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Social Icons Row */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b1a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.footer-social-circle:hover {
    transform: translateY(-2px);
    background: var(--orange, #f26f21);
    color: #ffffff;
}

/* Column 3: Publications */
.footer-pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-pub-list li {
    border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.footer-pub-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.pub-arrow {
    font-size: 0.85rem;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.footer-pub-list a:hover {
    color: #93c5fd;
}

.footer-pub-list a:hover .pub-arrow {
    transform: translateX(3px);
}

/* Special Interest Groups (ESHRE Style Grid & Circular Icons) */
.sig-page-container {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.sig-intro-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.sig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sig-card-eshre {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.25rem 1.25rem 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.sig-card-eshre:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -4px rgba(22, 51, 126, 0.15), 0 4px 8px -2px rgba(22, 51, 126, 0.08);
    border-color: var(--blue-dark);
}

.sig-icon-badge {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2.5px solid var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--blue-dark);
    background: #f8fafc;
    transition: all 0.25s ease;
}

.sig-card-eshre:hover .sig-icon-badge {
    background: var(--blue-dark);
    color: #ffffff;
    transform: scale(1.05);
}

.sig-icon-badge svg {
    width: 48px;
    height: 48px;
    transition: color 0.25s ease;
}

.sig-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.sig-card-convener {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 1rem;
    font-weight: 500;
}

.sig-card-btn {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: #f1f5f9;
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.sig-card-eshre:hover .sig-card-btn {
    background: var(--blue-dark);
    color: #ffffff;
    border-color: var(--blue-dark);
}

/* ── Executive Members & Office Bearers (Live Site Style) ──── */
.people-page-container {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.people-pill-header-wrap {
    text-align: center;
    margin: 1rem 0 2.5rem;
}

.people-pill-header {
    background: #0b1a3e;
    color: #ffffff;
    padding: 0.6rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 2px solid #ffffff;
    outline: 2.5px solid #0b1a3e;
    box-shadow: 0 4px 12px rgba(11, 26, 62, 0.2);
}

/* Text-only grid (Board of Directors) */
.people-grid-text {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.person-card-text {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.85rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.person-card-text:hover {
    border-color: #0b1a3e;
    box-shadow: 0 4px 12px rgba(11, 26, 62, 0.1);
    transform: translateY(-2px);
}

.person-text-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #475569;
    margin: 0;
}

.people-grid-live {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 3rem 2rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .people-grid-live {
        grid-template-columns: repeat(4, 1fr);
    }
}

.person-card-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.person-avatar-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    padding: 0;
    box-shadow: 0 4px 14px rgba(11, 26, 62, 0.08);
    margin-bottom: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.person-card-live:hover .person-avatar-wrap {
    transform: scale(1.04);
    border-color: #0b1a3e;
    box-shadow: 0 8px 22px rgba(11, 26, 62, 0.16);
}

.person-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #ffffff;
    display: block;
}

.person-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0b1a3e;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.person-role {
    font-size: 0.92rem;
    font-weight: 500;
    color: #475569;
    margin: 0 0 0.2rem;
    line-height: 1.35;
}

.person-city {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

/* Bottom Navigation Row for People Pages */
.people-nav-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.people-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: center;
}

.people-nav-btn {
    background: #16337e;
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(22, 51, 126, 0.15);
}

.people-nav-btn:hover,
.people-nav-btn.active {
    background: #0b1a3e;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(11, 26, 62, 0.25);
    transform: translateY(-1px);
}