/* =========================================================
   AMERICAN LEGION POST 581 - MAIN STYLESHEET
     1.  Variables/Global
     2.  Header/Branding
     3.  Navigation
     4.  Shared Components
     5.  Home Page
     6.  History Page
     7.  About Page
     8.  Events Page
     9.  Legionnaires Page
     10. What We Do Page
     11. Useful Information Page
     12. Rentals Page
     13. How To Get Involved Page
     14. Mobile Responsive
========================================================= */


/* =========================
   1. VARIABLES / GLOBAL
========================= */

:root {
    --bs-body-bg: #000000;
    --bs-body-color: #f0f0f0;
    --bs-link-hover-color-rgb: 255, 170, 170;
    --bs-link-color-rgb: 170, 170, 255;
    --bs-link-color: #aaaaff;
    --bs-body-font-family: "Archivo", sans-serif;

    --post-gold: #c9953a;
    --post-cream: #f2e8d8;
    --post-dark-panel: rgba(0, 0, 0, 0.55);
    --post-border: rgba(201, 149, 58, 0.55);
}

html,
body {
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background-image: url('/images/flag.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

* {
    box-sizing: border-box;
}

main {
    max-width: 1200px;
    min-height: 100vh;
    margin: auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

main img {
    max-width: 100%;
    height: auto;
}

main img.float-right {
    max-width: 500px;
    float: right;
}


/* =========================
   2. HEADER / BRANDING
========================= */

header .header-background {
    background: transparent;
    color: #ffffff;
}

.site-brand {
    margin-left: 20px;
    color: var(--post-cream);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 25px 0;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-small,
.brand-large,
.brand-location {
    display: block;
    font-family: "Cinzel", serif;
}

.brand-small {
    font-size: 1.4rem;
}

.brand-large {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.brand-location {
    color: var(--post-gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
}


/* =========================
   3. NAVIGATION
========================= */

.navbar {
    margin-left: auto;
    margin-right: auto;
    background: transparent !important;
    padding-top: 10px;
}

.navbar-collapse {
    width: 100%;
}

.navbar-nav {
    width: auto;
    justify-content: center;
    gap: 8px;
}

.nav-link {
    color: var(--post-cream) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    padding: 10px 10px !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--post-gold) !important;
    background: transparent !important;
}

.navbar-toggler {
    border: 1px solid rgba(201,149,58,0.65) !important;
    background: rgba(0,0,0,0.65) !important;
    padding: 10px 14px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter:
        brightness(0)
        saturate(100%)
        invert(74%)
        sepia(39%)
        saturate(620%)
        hue-rotate(357deg)
        brightness(93%)
        contrast(90%);
}


/* =========================
   4. SHARED COMPONENTS
========================= */

.jumbotron {
    color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 0;
    padding: 0;
}

.jumbotron > div {
    background: rgba(0, 0, 0, 0.65);
}

.image-wrapper {
    color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: var(--image-height, 40vh);
    padding: 15vh 0 0 0;
    background-image: var(--image-url);
}

.image-wrapper > div {
    padding: 0 var(--image-text-padding, 50px);
    background: var(--image-text-background, none);
}

.home-kicker {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.home-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.home-button {
    display: inline-block;
    min-width: 210px;
    padding: 14px 28px;

    color: var(--post-cream);
    border: 1px solid var(--post-gold);
    text-decoration: none;
    text-transform: uppercase;

    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 2px;

    background: rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

.home-button:hover {
    color: var(--post-gold);
    border-color: var(--post-gold);
    background: rgba(255, 255, 255, 0.05);
}

.home-button-gold {
    background: linear-gradient(135deg, #8a5a20, var(--post-gold));
    color: white;
}

.info-button {
    display: inline-block;
    margin-top: auto;
    align-self: center;

    padding: 12px 24px;

    border: 1px solid var(--post-gold);

    color: var(--post-cream);
    text-decoration: none;
    text-transform: uppercase;

    font-family: "Cinzel", serif;
    letter-spacing: 2px;
}

.info-button:hover {
    color: var(--post-gold);
}

.events-section {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;

    border: 1px solid rgba(201,149,58,0.45);
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
}

.events-section-title {
    position: relative;
    margin: 0 auto 35px auto;
    text-align: center;

    color: var(--post-gold);
    font-family: "Cinzel", serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;

    width: fit-content;
    padding: 0 30px;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.events-section-title::before,
.events-section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 140px;
    height: 1px;
    background: rgba(201,149,58,0.55);
}

.events-section-title::before {
    right: 100%;
    margin-right: 20px;
}

.events-section-title::after {
    left: 100%;
    margin-left: 20px;
}


/* =========================
   5. HOME PAGE
========================= */

.home-hero-box {
    max-width: 750px;
    margin: 30px auto 20px auto;
    text-align: center;
}

.home-hero-box h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.home-hero-box p {
    color: var(--post-cream);
    font-size: 1.35rem;
    line-height: 1.5;
}

.home-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;

    max-width: 1100px;
    margin: 40px auto;
}

.info-card {
    display: flex;
    flex-direction: column;

    background: var(--post-dark-panel);
    border: 1px solid rgba(201, 149, 58, 0.45);
    border-radius: 12px;
    padding: 35px;
    backdrop-filter: blur(5px);
}

.info-card h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-align: center;
}

.info-card p {
    color: var(--post-cream);
    line-height: 1.8;
    font-size: 1.1rem;
}

.hours-table {
    width: 100%;
    color: var(--post-cream);
    margin-bottom: 20px;
}

.hours-table td {
    padding: 8px 0;
}

.hours-table td:last-child {
    text-align: right;
}

.bottom-feature-bar {
    width: 100%;
    margin-top: 60px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: rgba(0, 0, 0, 0.65);
    border-top: 1px solid rgba(201, 149, 58, 0.45);
    border-bottom: 1px solid rgba(201, 149, 58, 0.45);
    backdrop-filter: blur(4px);
}

.feature-item {
    padding: 30px 20px;
    text-align: center;
}

.feature-item h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--post-cream);
    margin: 0;
    line-height: 1.5;
}


/* =========================
   6. HISTORY PAGE
========================= */

.history-hero {
    max-width: 750px;
    margin: 40px auto 60px auto;
    text-align: center;
}

.history-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
}

.history-hero p {
    color: var(--post-cream);
    font-size: 1.25rem;
    line-height: 1.6;
}

.history-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-left: 80px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;

    width: 2px;
    background: rgba(201, 149, 58, 0.7);
}

.history-entry {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    gap: 60px;

    margin-bottom: 60px;
    padding-bottom: 35px;

    border-bottom: 1px solid rgba(201, 149, 58, 0.25);
}

.history-entry::before {
    content: "";
    position: absolute;
    left: -61px;
    top: 10px;

    width: 16px;
    height: 16px;

    border-radius: 50%;
    background: var(--post-gold);
    box-shadow: 0 0 10px rgba(201, 149, 58, 0.7);
}

.history-entry h2,
.history-entry h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.history-entry h4 {
    color: var(--post-cream);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.history-entry p {
    color: var(--post-cream);
    line-height: 1.7;
}

.history-image {
    display: flex;
    align-items: center;
}

.history-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid rgba(201, 149, 58, 0.45);
    display: block;
}

.history-promise {
    max-width: 800px;
    margin: 50px auto;
    padding: 35px;
    text-align: center;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
}

.history-promise h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.history-promise p {
    color: var(--post-cream);
    font-size: 1.1rem;
}


/* =========================
   7. ABOUT PAGE
========================= */

.about-hero {
    max-width: 850px;
    margin: 30px auto;
    text-align: center;
}

.about-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.about-hero p {
    color: var(--post-cream);
    font-size: 1.15rem;
    line-height: 1.7;
}

.about-layout {
    max-width: 1400px;
    margin: 30px auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.family-web {
    position: relative;
    min-height: 860px;
}

.family-circle {
    position: absolute;

    width: 215px;
    height: 215px;

    border: 2px solid var(--post-gold);
    border-radius: 50%;
    background: var(--post-dark-panel);
    color: var(--post-cream);

    text-align: center;
    padding: 25px 15px;

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

    text-decoration: none;
}

.family-circle:hover {
    color: var(--post-gold);
    border-color: var(--post-cream);
}

.family-circle h3 {
    margin: 0;

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

    height: 100%;
    text-align: center;

    font-size: 1.45rem;
    line-height: 1.15;

    font-family: "Cinzel", serif;
    text-transform: uppercase;

    padding: 10px;
}

.center-circle {
    width: 240px;
    height: 240px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    cursor: default;
}

.center-circle:hover {
    color: var(--post-cream);
    border-color: var(--post-gold);
}

.center-circle h2 {
    margin: 0;

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

    height: 100%;
    text-align: center;

    font-size: 2.2rem;
    line-height: 1.15;

    font-family: "Cinzel", serif;
    text-transform: uppercase;

    padding: 10px;
}

.family-top {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.family-left {
    left: -60px;
    top: 30%;
}

.family-right {
    right: -60px;
    top: 30%;
}

.family-bottom-left {
    left: 8%;
    bottom: 80px;
}

.family-bottom-right {
    right: 8%;
    bottom: 80px;
}

.comrades-panel {
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(201,149,58,0.65);
    border-radius: 10px;
    padding: 30px;
}

.comrades-panel h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.principle {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--post-cream);
}

.principle strong {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    font-size: 2.5rem;
    line-height: 1;
    text-align: center;
}

.principle b {
    color: var(--post-gold);
    text-transform: uppercase;
    font-family: "Cinzel", serif;
    letter-spacing: 1px;
}

.about-tagline {
    margin: 40px auto;
    text-align: center;
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.5rem;
}


/* =========================
   8. EVENTS PAGE
========================= */

.events-hero {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.events-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.events-hero p {
    color: var(--post-cream);
    font-size: 1.2rem;
    line-height: 1.7;
}

.featured-event {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin: 60px auto;

    display: grid;
    grid-template-columns: 420px 1fr;

    border: 1px solid rgba(201,149,58,0.45);
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-event-content {
    padding: 40px;
}

.event-label {
    display: inline-block;
    background: rgba(201,149,58,0.18);
    border: 1px solid rgba(201,149,58,0.45);
    padding: 8px 14px;
    color: var(--post-gold);
    text-transform: uppercase;
    font-family: "Cinzel", serif;
    margin-bottom: 20px;
}

.featured-event h2 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 3rem;
    text-transform: uppercase;
}

.event-meta,
.event-location {
    color: var(--post-gold);
    margin-bottom: 12px;
    font-family: "Cinzel", serif;
}

.featured-event p {
    color: var(--post-cream);
    line-height: 1.8;
    margin: 25px 0;
}

.events-table-wrapper,
.menu-card-grid,
.calendar-grid,
.long-calendar-box {
    width: 100%;
    max-width: 100%;
}

.events-table-wrapper {
    overflow-x: auto;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,0.45);
}

.events-table th,
.events-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(201,149,58,0.18);
    color: var(--post-cream);
}

.events-table th {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
}

.menu-card-grid,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.menu-card,
.calendar-card {
    min-height: 220px;
    padding: 35px;

    border: 1px solid rgba(201,149,58,0.45);
    background: var(--post-dark-panel);

    text-decoration: none;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-card h3,
.calendar-card h3 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.menu-card span,
.calendar-card span {
    color: var(--post-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: auto;
}

.menu-card:hover h3,
.menu-card:hover span,
.calendar-card:hover h3,
.calendar-card:hover span {
    color: #ffffff;
}

.long-calendar-box {
    text-align: center;
}

.long-calendar-box h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.long-calendar-box p {
    color: var(--post-cream);
    margin-bottom: 30px;
}

.calendar-embed iframe,
.calendar-desktop iframe,
.calendar-mobile iframe {
    width: 100%;
    max-width: 100%;
    height: 1500px;
}

.calendar-mobile {
    display: none;
}


/* =========================
   9. LEGIONNAIRES PAGE
========================= */

.legionnaires-hero {
    max-width: 850px;
    margin: 30px auto 40px auto;
    text-align: center;
}

.legionnaires-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.legionnaires-hero p {
    color: var(--post-cream);
    font-size: 1.15rem;
    line-height: 1.7;
}

.officer-list,
.team-list {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 40px auto;
}

.officer-card,
.team-card {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;

    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 6px;
    overflow: hidden;
}

.officer-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
}

.officer-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.officer-card div {
    padding: 18px 20px;
}

.officer-card h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.officer-card h3 {
    color: var(--post-cream);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.officer-card p {
    color: var(--post-cream);
    margin-bottom: 6px;
    line-height: 1.5;
}

.officer-card a {
    color: var(--post-gold);
    text-decoration: none;
}

.officer-card a:hover {
    color: var(--post-cream);
}

.small-officers .officer-card {
    grid-template-columns: 130px 1fr;
}

.small-officers .officer-card img {
    height: 120px;
}

.team-card {
    display: flex;
    flex-direction: column;
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.team-card div {
    padding: 22px 24px;
}

.team-card h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.team-card p {
    color: var(--post-cream);
    margin-bottom: 6px;
    line-height: 1.5;
}


/* Continuous Members */

.member-years-section {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 60px auto;
    padding: 35px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 6px;
}

.member-years-section p {
    color: var(--post-cream);
    text-align: center;
    margin-bottom: 25px;
}

.member-years-table-wrapper {
    max-height: 700px;
    overflow-y: auto;
    border: 1px solid rgba(201,149,58,0.35);
}

.member-years-table {
    width: 100%;
    border-collapse: collapse;
}

.member-years-table th,
.member-years-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(201,149,58,0.2);
    color: var(--post-cream);
}

.member-years-table th {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.95);
}

.member-years-table td:last-child,
.member-years-table th:last-child {
    text-align: center;
    width: 120px;
}


/* =========================
   10. WHAT WE DO PAGE
========================= */

.programs-hero {
    max-width: 900px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.programs-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.programs-hero p {
    color: var(--post-cream);
    font-size: 1.2rem;
    line-height: 1.8;
}

.impact-grid,
.program-card-grid,
.support-grid,
.cta-grid {
    display: grid;
    gap: 25px;
}

.impact-grid,
.support-grid {
    grid-template-columns: repeat(4, 1fr);
}

.program-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

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

.impact-card,
.program-card,
.support-card,
.cta-card {
    min-height: 260px;
    width: 100%;
    height: 100%;

    box-sizing: border-box;

    padding: 30px 24px;

    background: var(--post-dark-panel);
    border: 1px solid rgba(201,149,58,0.45);
    border-radius: 10px;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.impact-card h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.program-card h3 {
    min-height: 70px;

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

.program-card h3,
.support-card h3,
.cta-card h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.impact-card p,
.program-card p,
.support-card p,
.cta-card p {
    color: var(--post-cream);
    line-height: 1.6;
    margin-top: auto;
}

.cta-card {
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-card:hover {
    border-color: var(--post-gold);
    transform: translateY(-4px);
}

.cta-card:hover h3,
.cta-card:hover p {
    color: #ffffff;
}


/* ==============================
   11. USEFUL INFORMATION PAGE
============================== */

.useful-hero {
    max-width: 900px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.useful-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.useful-hero p {
    color: var(--post-cream);
    font-size: 1.2rem;
    line-height: 1.7;
}

.useful-section,
.useful-contact-layout {
    width: min(1200px, calc(100% - 40px));
    margin: 40px auto;
    padding: 35px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;
}

.useful-section h2,
.useful-contact-box h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.useful-section h2,
.useful-section > p {
    text-align: center;
}

.useful-section p,
.useful-contact-box p {
    color: var(--post-cream);
}

.useful-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.useful-card {
    min-height: 140px;
    padding: 20px;
    border: 1px solid var(--post-border);
    background: rgba(0,0,0,0.45);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.useful-card h3 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.useful-card span {
    color: var(--post-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.useful-card:hover h3,
.useful-card:hover span {
    color: #ffffff;
}

.crisis-box {
    margin-top: 25px;
    padding: 30px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    text-align: center;
}

.crisis-box h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
}

.crisis-box p {
    color: var(--post-cream);
    margin-bottom: 8px;
}

.crisis-box strong {
    font-size: 2rem;
    color: var(--post-cream);
    font-family: "Cinzel", serif;
}

.useful-contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.useful-contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.useful-contact-box a,
.useful-officer-card a {
    color: var(--post-cream);
    text-decoration: none;
}

.useful-contact-box a:hover,
.useful-officer-card a:hover {
    color: var(--post-gold);
}

.useful-officer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.useful-officer-card {
    padding: 25px;
    border: 1px solid var(--post-border);
    background: rgba(0,0,0,0.45);
    border-radius: 8px;
    text-align: center;
}

.useful-officer-card h3 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
}

.useful-officer-card p {
    color: var(--post-cream);
    margin-bottom: 5px;
}


/* =====================
   12. RENTALS PAGE
===================== */

.rental-hero {
    max-width: 950px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.rental-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.rental-hero p {
    color: var(--post-cream);
    font-size: 1.2rem;
    line-height: 1.7;
}

.rental-feature {
    width: min(1200px, calc(100% - 40px));
    margin: 30px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;
    overflow: hidden;
}

.rental-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.rental-content {
    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rental-content h2,
.rental-box h2,
.catering-banner h2,
.rental-contact-box h2,
.rental-community-box h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rental-content p,
.rental-box,
.catering-banner p,
.rental-contact-box p,
.rental-community-box p {
    color: var(--post-cream);
    line-height: 1.7;
}

.rental-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rental-tags span {
    border: 1px solid var(--post-border);
    color: var(--post-cream);
    padding: 10px 14px;
    text-transform: uppercase;
    font-family: "Cinzel", serif;
    font-size: 0.85rem;
}

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

.ideal-grid div {
    border: 1px solid rgba(201,149,58,0.45);
    background: rgba(0,0,0,0.45);
    color: var(--post-cream);
    text-align: center;
    padding: 20px;
    text-transform: uppercase;
    font-family: "Cinzel", serif;
}

.rental-info-grid {
    width: min(1200px, calc(100% - 40px));
    margin: 30px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.rental-box {
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;
    padding: 35px;
}

.rental-box ul {
    margin: 20px 0 0 0;
    padding-left: 22px;
}

.rental-box li {
    margin-bottom: 12px;
}

.rental-rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rental-rates-table th,
.rental-rates-table td {
    border-bottom: 1px solid rgba(201,149,58,0.25);
    color: var(--post-cream);
    padding: 14px;
    text-align: center;
}

.rental-rates-table th {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
}

.rental-note {
    margin-top: 20px;
    font-size: 0.95rem;
}

.catering-banner,
.rental-contact-box,
.rental-community-box {
    width: min(1200px, calc(100% - 40px));
    margin: 30px auto;
    padding: 35px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;
}

.catering-banner {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 30px;
}

.catering-price {
    color: var(--post-cream);
    text-align: center;
    font-family: "Cinzel", serif;
    border-left: 1px solid var(--post-border);
}

.catering-price strong {
    color: var(--post-gold);
    font-size: 4rem;
    line-height: 1;
}

.rental-contact-box,
.rental-community-box {
    text-align: center;
}

.rental-contact-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.rental-contact-links a {
    color: var(--post-cream);
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-size: 1.3rem;

    border: 1px solid rgba(201,149,58,0.45);
    padding: 20px;
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    line-height: 1.7;
}

.rental-contact-links a:hover {
    color: var(--post-gold);
}


/* ==============================
   13. HOW TO GET INVOLVED PAGE
============================== */

.involved-hero {
    max-width: 900px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.involved-hero h1 {
    color: var(--post-cream);
    font-family: "Cinzel", serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.involved-hero p,
.involved-section-text {
    color: var(--post-cream);
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
}

.involved-action-grid {
    width: min(1200px, calc(100% - 40px));

    margin: 40px auto;

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 20px;

    align-items: stretch;
}

.involved-action-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.involved-action-card,
.fund-card,
.way-card {
    min-height: 250px;
    padding: 28px 22px;

    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;

    text-align: center;
    text-decoration: none;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.involved-action-card h3,
.fund-card h3,
.way-card h3,
.involved-info-box h2,
.donation-impact-box h2,
.final-cta-box h2 {
    color: var(--post-gold);
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.involved-action-card h3 {
    font-size: 1.15rem;
    line-height: 1.2;
}

.involved-action-card p,
.fund-card p,
.way-card p,
.involved-info-box p,
.donation-impact-box p,
.final-cta-box p {
    color: var(--post-cream);
    line-height: 1.6;
}

.involved-action-card span,
.fund-card span,
.way-card span {
    color: #000;
    background: var(--post-gold);
    padding: 10px 14px;
    margin-top: auto;
    text-transform: uppercase;
    font-family: "Cinzel", serif;
    font-weight: 700;
    border-radius: 4px;
}

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

.donation-impact-box,
.final-cta-box {
    width: min(1200px, calc(100% - 40px));
    margin: 35px auto;
    padding: 35px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;
    text-align: center;
}

.involved-two-column {
    width: min(1200px, calc(100% - 40px));
    margin: 40px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.involved-info-box {
    padding: 35px;
    border: 1px solid var(--post-border);
    background: var(--post-dark-panel);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    text-align: center;
}

.involved-info-box ul {
    columns: 2;
    color: var(--post-cream);
    margin: 25px auto;
    padding-left: 0;
    list-style-position: inside;
    text-align: center;
}

.involved-info-box li {
    margin-bottom: 10px;
}

.involved-info-box .home-button {
    margin-top: auto;
    align-self: center;
}

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


/* =========================
   14. MOBILE RESPONSIVE
========================= */

@media (max-width: 1400px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

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

    .site-brand {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .brand-small,
    .brand-large,
    .brand-location {
        text-align: center;
    }

    .brand-location,
    .home-location {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        text-align: center;
    }

    .navbar {
        width: 100%;
        padding-top: 0;
    }

    .navbar-toggler {
        margin-left: 20px;
        margin-bottom: 10px;
    }

    .navbar-collapse {
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        padding: 10px 20px;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        gap: 5px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .page-layout,
    main,
    .hero,
    .events-hero,
    .programs-hero,
    .involved-hero,
    .rental-hero,
    .useful-hero {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .home-hero-box {
        width: min(100%, 300px) !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .home-hero-box h1 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-hero-box p,
    .home-kicker {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-kicker {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .home-hero-box p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .home-buttons {
        width: 100%;
        padding: 0 16px;
    }

    .home-button {
        width: 100%;
        max-width: 260px;
        min-width: 0;
    }

    .events-section {
        width: calc(100% - 24px);
        padding: 24px 14px;
        box-sizing: border-box;
    }

    .events-section-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
        line-height: 1.2;
        text-align: center;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .events-section-title::before,
    .events-section-title::after {
        display: none;
    }

    .home-info-grid,
    .bottom-feature-bar,
    .history-entry,
    .about-layout,
    .featured-event,
    .menu-card-grid,
    .calendar-grid,
    .impact-grid,
    .program-card-grid,
    .support-grid,
    .cta-grid,
    .useful-card-grid,
    .useful-officer-grid,
    .useful-contact-layout,
    .rental-feature,
    .rental-info-grid,
    .catering-banner,
    .ideal-grid,
    .rental-contact-links,
    .involved-action-grid,
    .fund-grid,
    .involved-two-column,
    .ways-grid {
        grid-template-columns: 1fr !important;
    }

    .history-hero h1,
    .events-hero h1,
    .programs-hero h1,
    .rental-hero h1,
    .involved-hero h1,
    .about-hero h1 {
        font-size: 2.8rem !important;
    }

    .useful-hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-align: center !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .useful-hero p {
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .history-timeline {
        padding-left: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .history-timeline::before,
    .history-entry::before {
        display: none;
    }

    .history-entry {
        gap: 20px;
        width: 100%;
    }

    .history-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .family-web {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .family-circle {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        border-radius: 12px;
    }

    .center-circle {
        width: auto;
        height: auto;
        transform: none;
    }

    .featured-event h2 {
        font-size: 2rem;
    }

    .calendar-desktop {
        display: none;
    }

    .calendar-mobile {
        display: block;
    }

    .long-calendar-box,
    .calendar-grid {
        text-align: center;
        justify-items: center;
    }

    .calendar-card {
        width: 100%;
        max-width: 500px;
    }

    .calendar-embed {
        display: flex;
        justify-content: center;
    }

    .calendar-embed iframe,
    .calendar-desktop iframe,
    .calendar-mobile iframe {
        margin: 0 auto;
    }

    .legionnaires-hero {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .legionnaires-hero h1,
    .officer-card h2,
    .team-card h2,
    .family-card h2 {
        font-size: 1.8rem !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        text-align: center !important;
    }

    .officer-card,
    .small-officers .officer-card {
        grid-template-columns: 1fr;
    }

    .officer-card,
    .team-card,
    .family-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .officer-card img,
    .small-officers .officer-card img,
    .team-card img {
        height: auto;
    }

    .officer-card p,
    .team-card p,
    .family-card p,
    .officer-card a {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .rental-box,
    .rental-info-grid,
    .rental-rates-table {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .rental-box {
        padding: 24px 16px !important;
        text-align: center;
    }

    .rental-box ul {
        padding-left: 0 !important;
        list-style-position: inside;
    }

    .rental-box li {
        overflow-wrap: break-word;
        word-break: normal;
    }

    .rental-rates-table {
        table-layout: fixed;
        font-size: 0.9rem;
    }

    .rental-rates-table th,
    .rental-rates-table td {
        padding: 10px 6px !important;
        overflow-wrap: break-word;
    }

    .rental-contact-links {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .rental-contact-links a {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        font-size: 1.05rem !important;
        padding: 18px 14px !important;
    }

    .catering-price {
        border-left: none;
        border-top: 1px solid var(--post-border);
        padding-top: 25px;
    }

    .useful-contact-layout {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        padding: 24px 14px !important;
        overflow: hidden !important;
    }

    .useful-contact-box,
    .useful-officer-grid,
    .useful-officer-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .useful-contact-box h2,
    .useful-officer-card h3 {
        font-size: 1.4rem !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;
        overflow-wrap: break-word !important;
    }

    .useful-contact-box p,
    .useful-contact-box a,
    .useful-officer-card p,
    .useful-officer-card a {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    .useful-contact-box a {
    color: var(--post-cream);
    text-decoration: none;
    }

    .useful-contact-box a:hover {
    color: var(--post-gold);
    }
    }

    .involved-info-box ul {
        columns: 1;
    }
    
    .useful-section h2,
    .events-section h2 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }

    .useful-section h2 {
        font-size: 1.45rem !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        padding: 0 10px !important;
    }

   .useful-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .useful-section h2 {
        font-size: 1.35rem !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
    }
}
