:root {
    --olive: #747652;
    --olive-dark: #4d5038;
    --cream: #f5f1e7;
    --paper: #fffdf8;
    --ink: #252720;
    --muted: #68695f;
    --line: #d9d5c8;
    --link: #FFA500;
    --dark: #252720;
    --accent: #a49b69;

    --max-width: 1180px;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

textarea {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(37, 39, 32, 0.97);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    max-width: var(--max-width);
    margin: auto;
    padding: 16px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-subtitle {
    margin-top: 5px;
    font-size: 0.8rem;
    opacity: 0.65;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
    font-size: 0.9rem;
}

.main-nav a {
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
}

/* Sub-nav wrapper styles */
.sub-nav {
    display: inline-flex;
}

/* CSS pseudo-elements for parentheses and dashes */
.main-nav a[href="/manage/association/"]::before {
    margin-left: -18px;
    content: "(";
}

.main-nav a[href="/manage/users/"]::after {
    content: ")";
}

.main-nav a[href^="/manage/"]:not([href="/manage/"]):not([href="/manage/users/"])::after {
    content: "-";
}

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(90deg,
            rgba(38, 40, 31, 0.9),
            rgba(38, 40, 31, 0.55),
            rgba(38, 40, 31, 0.2)),
        linear-gradient(135deg,
            var(--olive-dark),
            var(--olive));

    color: white;
}

.hero-content {
    width: min(var(--max-width), 100%);
    margin: auto;
    padding: 90px 24px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #d6cf9c;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 620px;
    margin: 30px 0;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: white;
    color: var(--ink);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.button-small {
    padding: 9px 15px;
    background: var(--dark);
    color: white;
    font-size: 0.88rem;
}

.section {
    padding: 90px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: auto;
}

.section-narrow {
    max-width: 800px;
    margin: auto;
}

.section h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section h2.section-feature-heading {
    margin: 0 0 25px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.3rem;
    color: var(--muted);
}

.section-dark {
    background: var(--dark);
    color: white;
}

.section-dark .eyebrow {
    color: #c7bf86;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.section-introduction {
    max-width: 480px;
    color: var(--cream);
}

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

.feature-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.feature-icon {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #d0c889;
}

.feature-card h3 {
    font-size: 1.4rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.68);
}

.text-link {
    color: #d8d19a;
    font-weight: 700;
}

.live-badge {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.proposal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.proposal-card {
    display: flex;
    min-height: 270px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.proposal-number {
    min-width: 90px;
    padding: 25px;
    background: var(--olive);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.proposal-content {
    padding: 30px;
}

.proposal-content h3 {
    margin: 12px 0;
    font-size: 2rem;
}

.proposal-content p {
    color: var(--muted);
}

.status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-development {
    background: #e5e1c8;
    color: #575535;
}

.status-future {
    background: #e7e5df;
    color: #66655e;
}

.proposal-card-future {
    opacity: 0.8;
}

.section-accent {
    background: var(--olive);
    color: white;
}

.section-accent .eyebrow {
    color: #e3dda9;
}

.section-accent .lead {
    color: rgba(255, 255, 255, 0.8);
}

.involvement-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 35px 0;
}

.involvement-list span {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
}

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

.history-placeholder {
    min-height: 350px;
    padding: 40px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background:
        linear-gradient(135deg,
            #77795b,
            #34362c);

    color: white;
    border-radius: var(--radius);
}

.history-placeholder span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

.history-placeholder strong {
    margin-top: 10px;
    font-size: 2rem;
}

.site-footer {
    padding: 50px 24px 25px;
    background: #1c1e19;
    color: white;
}

.footer-inner {
    max-width: var(--max-width);
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.proposal-hero {
    padding: 90px 24px 60px;
    background: var(--olive-dark);
    color: white;
}

.proposal-hero h1 {
    margin: 12px 0;
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1;
}

.proposal-lead {
    max-width: 760px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.proposal-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 50px;
    align-items: start;
}

.proposal-section {
    margin-bottom: 70px;
}

.proposal-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.principle-card,
.sidebar-card,
.document-box {
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.principle-card p,
.sidebar-card p,
.document-box p {
    color: var(--muted);
}

.diagram-block {
    margin: 30px 0;
    padding: 25px;
    overflow-x: auto;
    background: var(--dark);
    color: white;
    border-radius: var(--radius);
}

.diagram-block pre {
    margin: 0;
    font-family: monospace;
    line-height: 1.5;
}

.proposal-warning {
    padding: 30px;
    background: #ece7d2;
    border-left: 5px solid var(--olive);
    border-radius: var(--radius);
}

.proposal-sidebar {
    align-self: start;
}

.sidebar-card {
    margin-bottom: 20px;
}

.sidebar-card ul {
    padding-left: 20px;
}

.document-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.document-status {
    white-space: nowrap;
    padding: 7px 10px;
    background: #e7e5df;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 800px) {

    .proposal-layout,
    .principle-grid {
        grid-template-columns: 1fr;
    }

    .proposal-sidebar {
        position: static;
    }

    .document-box {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* MOBILE */

@media (max-width: 800px) {

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

    .main-nav {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .hero {
        min-height: 580px;
    }

    .feature-grid,
    .proposal-grid,
    .history-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner,
    .footer-bottom {
        flex-direction: column;
    }
}

/* Proposal document typography */

.proposal-document {
    font-size: 1.05rem;
    line-height: 1.7;
}

.proposal-document h1 {
    margin: 2.5rem 0 1rem;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.proposal-document>h1:first-child {
    margin-top: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.proposal-document h2 {
    margin: 0.5rem 0 1.5rem;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.proposal-document h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.proposal-document p {
    margin: 0 0 1.2rem;
}

.proposal-document ul,
.proposal-document ol {
    margin: 0 0 1.4rem 1.5rem;
}

.proposal-document li {
    margin-bottom: 0.35rem;
}

.proposal-document blockquote {
    margin: 1.5rem 0;
    padding: 0.8rem 1.2rem;
    border-left: 4px solid var(--olive);
    background: rgba(0, 0, 0, 0.035);
}

.proposal-document hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.section-dark .proposal-card h3 {
    color: #000;
}

/* Proposal subscription form */

.subscribe-field {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.subscribe-field label {
    text-align: right;
}

.subscribe-field input {
    width: 100%;
    box-sizing: border-box;
}

/* Subscription confirmation */

#subscription-content h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 1rem;
}

/* Volunteer interest form */

.volunteer-field {
    margin-bottom: 1rem;
}

.volunteer-field label {
    display: block;
    margin-bottom: 0.4rem;
}

.volunteer-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

#jobs>.section-inner>p {
    color: #fff;
}

#jobs .section-introduction {
    color: #fff;
}

/* Job Board */

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

.job-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 10px;
}

.job-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.job-card-content .button {
    align-self: flex-start;
    margin-top: auto;
}

.job-card h3 {
    margin: 12px 0;
    font-size: 1.8rem;
}

.job-card p {
    color: var(--muted);
}

.job-project {
    margin: 12px 0 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.job-timing {
    font-weight: 700;
}

.job-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 50px;
    align-items: start;
}

.job-detail-block {
    margin-bottom: 35px;
}

.manage-section h2,
.job-detail-block h2,
.job-detail-block h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.job-role-item,
.job-resource-item {
    margin-bottom: 18px;
}

.job-role-item p,
.job-resource-item p {
    margin: 5px 0;
}

@media (max-width: 800px) {

    .job-grid,
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Job volunteering */

.job-volunteer-role {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.job-volunteer-role:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.job-volunteer-role p {
    margin: 0.45rem 0;
}

.job-volunteer-form {
    margin-top: 1rem;
}

.job-volunteer-form label {
    display: block;
    margin: 0.8rem 0 0.35rem;
    font-weight: 700;
}

.job-volunteer-form textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    margin-bottom: 0.8rem;
}

/* My involvement in a job */

.job-my-status {
    display: inline-block;
    margin: 0.6rem 0;
    padding: 0.45rem 0.7rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.job-my-role {
    margin: 0.7rem 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.job-detail-sidebar .eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
}

.job-my-role-status {
    margin: 0.7rem 0 0.35rem;
    font-weight: 800;
}

/* Job coordinator volunteer offers */

.job-coordinator-note {
    margin-top: 0;
    font-weight: 700;
}

.job-volunteer-offer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.job-volunteer-offer:first-child {
    margin-top: 0;
}

.job-volunteer-offer p {
    margin: 0.4rem 0;
}

.job-offer-status {
    font-weight: 800;
}

.job-guest-communication-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.job-guest-communication-form h4 {
    margin-top: 0;
}

.job-guest-communication-form label {
    display: block;
    margin: 0.8rem 0;
    font-weight: 700;
}

.job-guest-communication-form select,
.job-guest-communication-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
}

.job-guest-communication-form textarea {
    resize: vertical;
}

/* Job detail sidebar text contrast */

.job-detail-sidebar .sidebar-card strong {
    color: #000;
}

.job-detail-sidebar .job-volunteer-form label {
    color: #000;
}

/* Job work records */

.job-work-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.job-work-total span {
    font-weight: 800;
}

#job-work-details {
    margin-top: 1rem;
}

#job-work-details summary {
    cursor: pointer;
    font-weight: 700;
}

.job-work-log-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.job-work-log-item p {
    margin: 0.35rem 0;
}

/* Record job work */

.job-work-entry {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.job-work-entry h4 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.job-work-field {
    margin-bottom: 0.9rem;
}

.job-work-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

#job-work-message {
    margin-bottom: 0;
    font-weight: 700;
}

/* Job completion */

.job-completion {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.job-completion>.eyebrow {
    margin-bottom: 0.75rem;
}

#job-completion-content>strong {
    display: block;
    margin-bottom: 0.6rem;
}

#job-completion-content p {
    margin: 0.4rem 0;
}

#job-completion-content .button {
    margin-top: 1rem;
}

/* Home page Job Board and helping */

.home-job-board {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.home-job-board-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.home-job-board-heading h3 {
    margin: 0;
    font-size: 2rem;
}

.home-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-jobs-empty {
    grid-column: 1 / -1;
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.home-jobs-empty h4 {
    margin-top: 0;
    font-size: 1.3rem;
}

.home-jobs-empty p {
    margin-bottom: 0;
    color: var(--muted);
}

.home-job-board .job-card h3 {
    color: var(--ink);
}

.home-job-board .job-card .button {
    margin-top: auto;
}

.home-job-board-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

@media (max-width: 800px) {
    .home-job-board-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-help-grid {
        grid-template-columns: 1fr;
    }
}

/* Public Job role requirements */

.job-role-item>strong,
.job-role-item>ul,
.job-role-item>ul li {
    color: var(--ink);
}

/* Management tables */

.management-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 30px;
    background: var(--paper);
}

.management-table th,
.management-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.management-table th {
    font-weight: 700;
}

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

.management-table a {
    font-weight: 700;
}

.management-compact-list {
    margin: 0;
    padding-left: 18px;
}

.management-compact-list li {
    margin-bottom: 5px;
}

.management-compact-list li:last-child {
    margin-bottom: 0;
}

.job-management-list {
    overflow-x: auto;
    margin-bottom: 45px;
}

@media (max-width: 800px) {
    .management-table {
        min-width: 720px;
    }
}

/* Public committee navigation, shared by existing pages. */
.committee-menu {
    position: relative;
}

.committee-menu summary {
    color: var(--link);
    cursor: pointer;
    opacity: .8;
    list-style: none;
}

.committee-menu summary::-webkit-details-marker {
    display: none;
}

.committee-menu summary::after {
    content: " ▾";
}

.committee-menu summary:hover,
.committee-menu summary:focus-visible {
    opacity: 1;
}

.committee-menu-items {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 12px;
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    box-shadow: 0 6px 18px #0002;
    z-index: 100;
}

.committee-menu-items a {
    display: block;
    padding: 6px;
    color: #222;
}

@media (max-width: 600px) {
    .committee-menu-items {
        right: auto;
        left: 0;
    }
}

/* Central public/private navigation. Nested groups expand within the dropdown. */
.main-nav.shared-navigation {
    align-items: center;
}

.main-nav.shared-navigation a::before,
.main-nav.shared-navigation a::after {
    content: none;
    margin: 0;
}

.shared-nav-menu {
    position: relative;
}

.shared-nav-menu>summary {
    cursor: pointer;
    list-style: none;
    color: var(--link);
    opacity: .8;
}

.shared-nav-menu>summary::-webkit-details-marker {
    display: none;
}

.shared-nav-menu>summary::after {
    content: " ▾";
}

.shared-nav-menu>summary:hover,
.shared-nav-menu>summary:focus-visible {
    opacity: 1;
}

.shared-nav-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 200;
    width: 280px;
    max-width: calc(100vw - 32px);
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 6px 18px #0002;
}

.shared-nav-panel a {
    display: block;
    padding: 8px;
    color: #222;
}

.shared-nav-panel a:hover {
    background: #f3f3f3;
}

.shared-nav-submenu {
    margin: 2px 0;
}

.shared-nav-submenu>summary {
    padding: 8px;
    color: #222;
}

.shared-nav-submenu>.shared-nav-panel {
    position: static;
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    border: 0;
    border-left: 2px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 6px 10px;
    padding: 2px 0 2px 8px;
}

.shared-nav-dashboard {
    font-weight: 600;
}

.shared-nav-signout {
    border: 0;
    background: none;
    color: var(--link);
    cursor: pointer;
    padding: 0;
    font: inherit;
    opacity: .8;
}

.shared-nav-signout:hover,
.shared-nav-signout:focus-visible {
    opacity: 1;
}

.shared-navigation :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.shared-navigation a[aria-current="page"] {
    opacity: 1;
    text-decoration: underline;
}

.navigation-auth-pending main,
.navigation-auth-pending .site-footer {
    display: none;
}

@media (max-width: 600px) {
    .main-nav.shared-navigation {
        gap: 14px;
    }

    .shared-nav-panel {
        width: 260px;
        max-height: 65vh;
    }
}

/* Board minutes retain safe Markdown formatting and typed spacing. */
.board-minute-content {
    overflow-wrap: anywhere;
}

.board-minute-content p,
.board-minute-content li {
    white-space: pre-wrap;
}

.board-minute-content pre {
    white-space: pre-wrap;
    overflow-x: auto;
}

.board-minute-content table {
    border-collapse: collapse;
    max-width: 100%;
}

.board-minute-content th,
.board-minute-content td {
    border: 1px solid #ccc;
    padding: .4rem;
}


/* Shared committee navigation image buttons; visible text names the link. */
.committee-image-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    border: 1px solid #c9d8cf;
    border-radius: 8px;
    background: #f0f5f1;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.committee-image-button img {
    display: block;
    flex: 0 0 48px;
}

.committee-image-button span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.committee-image-button:hover {
    background: #e4eee7;
}

.committee-image-button:focus-visible {
    outline: 3px solid #234b46;
    outline-offset: 4px;
}