/* ============================================================
   OA Tidewater – Main Stylesheet
   Warm & Welcoming Coastal Theme
   ============================================================ */

/* ---- CSS Variables --------------------------------------- */
:root {
    --color-ocean:      #2E6DA4;
    --color-ocean-dark: #1A4A7A;
    --color-sky:        #5BA3C9;
    --color-sky-light:  #D6EAF8;
    --color-sand:       #F4A261;
    --color-sand-light: #FEF0E3;
    --color-seafoam:    #7EC8A8;
    --color-navy:       #1A3A5C;
    --color-bg:         #FAF8F5;
    --color-white:      #FFFFFF;
    --color-text:       #2D3748;
    --color-muted:      #718096;
    --color-border:     #E2E8F0;
    --color-error:      #C53030;
    --color-success:    #276749;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', system-ui, sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.16);

    --max-width:  1200px;
    --nav-height: 80px;
    --transition: 0.25s ease;
}

/* ---- Reset & Base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
}

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

a { color: var(--color-ocean); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-ocean-dark); text-decoration: underline; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Accessibility --------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-ocean);
    color: white;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Layout --------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--color-sky-light); }
.section-sand { background: var(--color-sand-light); }
.section-dark { background: var(--color-navy); color: white; }
.section-dark h2, .section-dark h3 { color: white; }

.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }

/* ---- Top Bar -------------------------------------------- */
.top-bar {
    background: var(--color-navy);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: .4rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.top-bar a { color: var(--color-sand); }
.top-bar a:hover { color: white; }
.top-bar-link { font-weight: 700; }

/* ---- Header --------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-sky-light);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}
.logo-link { display: flex; align-items: center; }
.site-logo { height: 56px; width: auto; }

/* ---- Navigation ----------------------------------------- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.main-nav a {
    display: block;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .9rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    background: var(--color-ocean);
    color: white;
    text-decoration: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--color-navy);
    border-radius: 3px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Hero Section --------------------------------------- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-navy);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .45;
}
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 720px;
}
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero p  { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Buttons -------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary { background: var(--color-ocean); color: white; }
.btn-primary:hover { background: var(--color-ocean-dark); color: white; }

.btn-secondary { background: transparent; color: white; border-color: white; }
.btn-secondary:hover { background: white; color: var(--color-ocean); }

.btn-sand { background: var(--color-sand); color: white; }
.btn-sand:hover { background: #e08a4a; color: white; }

.btn-outline { background: transparent; color: var(--color-ocean); border-color: var(--color-ocean); }
.btn-outline:hover { background: var(--color-ocean); color: white; }

.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-danger { background: var(--color-error); color: white; border-color: var(--color-error); }
.btn-danger:hover { background: #9b2c2c; }

/* ---- Cards --------------------------------------------- */
.card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 1.75rem; }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-title { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-navy); margin-bottom: .5rem; }
.card-meta { font-size: .85rem; color: var(--color-muted); margin-bottom: .75rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.card-meta span { display: flex; align-items: center; gap: .25rem; }

/* ---- Grid ----------------------------------------------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---- Section Headers ------------------------------------ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--color-muted); font-size: 1.05rem; }
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--color-sand);
    border-radius: 2px;
    margin: 1rem auto;
}

/* ---- Meeting Cards -------------------------------------- */
.meeting-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    border-left: 5px solid var(--color-ocean);
}
.meeting-card.type-zoom   { border-left-color: var(--color-seafoam); }
.meeting-card.type-hybrid { border-left-color: var(--color-sand); }

.meeting-city { font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--color-muted); margin-bottom: .35rem; }
.meeting-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-navy); margin-bottom: .5rem; }
.meeting-time  { font-weight: 700; color: var(--color-ocean); margin-bottom: .25rem; }
.meeting-location { color: var(--color-muted); font-size: .9rem; margin-bottom: .75rem; }
.meeting-badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.badge-inperson { background: var(--color-sky-light); color: var(--color-ocean); }
.badge-zoom     { background: #e6f9f2; color: var(--color-seafoam); }
.badge-hybrid   { background: var(--color-sand-light); color: #c17a3a; }

/* ---- Calendar ------------------------------------------- */
.calendar-instructions { font-size: .88rem; color: var(--color-muted); margin-bottom: .75rem; }
.calendar-wrapper { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; }
.calendar-header {
    background: var(--color-ocean);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.calendar-header h3 { color: white; font-size: 1.3rem; }
.cal-nav-btn {
    background: rgba(255,255,255,.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.35); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.cal-day-name {
    text-align: center;
    padding: .6rem .25rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-muted);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.cal-cell {
    min-height: 90px;
    padding: .4rem .35rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-size: .85rem;
    cursor: pointer;
    transition: background var(--transition);
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell:hover { background: var(--color-sky-light); }
.cal-cell.empty { background: #f8f8f8; cursor: default; }
.cal-cell.today { background: var(--color-sky-light); }
.cal-cell.has-events { position: relative; }
.cal-date { font-weight: 700; color: var(--color-text); display: block; margin-bottom: .2rem; }
.cal-cell.today .cal-date { color: var(--color-ocean); }
.cal-event-dot {
    display: block;
    background: var(--color-ocean);
    color: white;
    border-radius: 4px;
    padding: 1px 4px;
    font-size: .7rem;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

/* Calendar event popup */
.cal-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0,0,0,.5);
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.cal-popup.open { display: flex; }
.cal-popup-inner {
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.cal-popup-close {
	position: absolute;
	top: 2px;
	right: 6px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #050505;
	font-weight: bold;
}

/* ---- Category badge (colors are admin-defined data, so the
   background is always set inline via style="background:#hex") ---- */
.category-badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

/* ---- Calendar + Special Events panel two-column layout --- */
.calendar-with-panel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.special-events-panel {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}
.special-events-panel__title {
    margin-bottom: 1.1rem;
    color: var(--color-navy);
}
.special-event-item {
    display: flex;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background var(--transition);
}
.special-event-item:last-child { border-bottom: none; }
.special-event-item:hover { background: var(--color-bg); }
.special-event-item__media {
    flex: 0 0 72px;
    width: 72px; height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-sky-light), var(--color-sand-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.special-event-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.special-event-item__body { flex: 1; min-width: 0; }
.special-event-item__body h4 { font-size: .95rem; color: var(--color-navy); margin-bottom: .2rem; }
.special-event-item__body p { font-size: .8rem; color: var(--color-muted); margin: 0; }
.special-event-item__loc { margin-top: .15rem !important; }

.oa-event-card--clickable { cursor: pointer; }

/* ---- Events Grid (modern blog-style cards) --------------
   Namespaced under .oa-events-* so it can't collide with any
   other .grid/.card rules on the site. Fixed column counts per
   breakpoint (not auto-fill) for a predictable, intentional layout. */
.oa-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem 2rem;
}
@media (min-width: 700px) {
    .oa-events-grid { grid-template-columns: repeat(1, 1fr); }
}
@media (min-width: 1100px) {
    .oa-events-grid { grid-template-columns: repeat(2, 1fr); }
}

.oa-event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(26,58,92,.07);
    border: 1px solid rgba(26,58,92,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.oa-event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(26,58,92,.14); }

.oa-event-card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-sky-light), var(--color-sand-light));
}
.oa-event-card__img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}

.oa-event-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.75rem;
    color: var(--color-ocean);
}
/* .oa-event-card__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,58,92,.35), transparent 45%);
    pointer-events: none;
} */

.oa-event-card__badge {
    position: absolute; top: .85rem; right: .85rem; z-index: 2;
    background: var(--color-sand); color: white;
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: .35rem .75rem; border-radius: 999px;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

.oa-event-card__date-pill {
	background: var(--color-ocean);
	color: white;
	border-radius: 12px;
	padding: .45rem .9rem;
	text-align: center;
	line-height: 1.15;
	width: 54px;
	box-shadow: 0 8px 16px rgba(26,58,92,.28);
	margin-bottom: 6px;
}
.oa-event-card__date-pill .month { display: block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.oa-event-card__date-pill .day   { display: block; font-size: 1.3rem; font-weight: 800; }
.oa-event-card__date-pill .tba   { display: block; font-size: .78rem; font-weight: 700; padding: .15rem 0; }

.oa-event-card__body {
	padding: 1rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.oa-event-card__title {
    font-family: var(--font-heading);
    font-size: 1.22rem; line-height: 1.3;
    color: var(--color-navy);
    margin-bottom: .65rem;
}
.oa-event-card__meta {
    display: flex; flex-wrap: wrap; gap: .5rem 1rem;
    font-size: .82rem; color: var(--color-muted);
    margin-bottom: .85rem;
}
.oa-event-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.oa-event-card__desc {
    font-size: .9rem; line-height: 1.55; color: #4A5568;
    margin-bottom: 1.1rem;
}
.oa-event-card__actions {
    margin-top: auto;
    display: flex; gap: .6rem; flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* ---- Events List (legacy — kept for calendar popup markup) */
.event-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.event-item:hover { box-shadow: var(--shadow-md); }
.event-date-box {
    flex-shrink: 0;
    width: 80px;
    background: var(--color-ocean);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .5rem;
}
.event-date-box .month { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.event-date-box .day   { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date-box .year  { font-size: .7rem; color: rgba(255,255,255,.7); }
.event-info { padding: 1.25rem; flex: 1; }
.event-info h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.event-meta { font-size: .85rem; color: var(--color-muted); display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }

/* ---- Resources ------------------------------------------ */
.resource-category { margin-bottom: 2.5rem; }
.resource-category h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-ocean);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--color-sky-light);
}
.resource-list li {
    padding: .6rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list a { font-weight: 700; color: var(--color-ocean); }
.resource-list a::before { content: '📄 '; }
.resource-link-ext::before { content: '🔗 ' !important; }

/* ---- Forms --------------------------------------------- */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .9rem; }
.form-control {
    width: 100%;
    padding: .7rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: white;
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-ocean); box-shadow: 0 0 0 3px rgba(46,109,164,.15); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-hint { font-size: .82rem; color: var(--color-muted); margin-top: .3rem; }

/* ---- Contact Form --------------------------------------- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .2rem; }
.contact-detail h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); margin-bottom: .2rem; }

/* ---- 7th Tradition -------------------------------------- */
.donation-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.donation-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-ocean);
    transition: box-shadow var(--transition), transform var(--transition);
}
.donation-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.donation-pct { font-size: 3rem; font-weight: 700; color: var(--color-ocean); font-family: var(--font-heading); }
.donation-card h3 { margin: .5rem 0; }
.donation-card p { color: var(--color-muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ---- Alert / Banner ------------------------------------ */
.alert-banner {
    background: var(--color-sand-light);
    border-left: 5px solid var(--color-sand);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.alert-banner strong { color: var(--color-navy); }

/* ---- Breadcrumb ---------------------------------------- */
.breadcrumb {
    background: var(--color-sky-light);
    padding: .75rem 0;
    font-size: .85rem;
}
.breadcrumb .container { display: flex; gap: .5rem; align-items: center; }
.breadcrumb a { color: var(--color-ocean); }
.breadcrumb span { color: var(--color-muted); }

/* ---- Page Hero (inner pages) --------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-ocean) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: white; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---- Image Gallery Rows -------------------------------- */
.img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.img-row img { border-radius: var(--radius-md); height: 220px; width: 100%; object-fit: cover; }

/* ---- Footer -------------------------------------------- */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,.8); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .85; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.6); }
.site-footer h4 { color: var(--color-sand); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1rem; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .9rem; }
.site-footer a:hover { color: white; text-decoration: none; }
.footer-contact li { font-size: .9rem; margin-bottom: .6rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.footer-disclaimer { margin-top: .35rem; font-style: italic; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: calc(var(--nav-height) + 2px);
        left: 0; right: 0;
        background: white;
        border-bottom: 2px solid var(--color-sky-light);
        box-shadow: var(--shadow-md);
        padding: 1rem;
        z-index: 800;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: .25rem; }
    .main-nav a { padding: .75rem 1rem; }
    .site-header { position: relative; }

    .hero { min-height: 420px; }
    .section { padding: 3.5rem 0; }

    .contact-wrapper { grid-template-columns: 1fr; }

    .event-item { flex-direction: column; }
    .event-date-box { width: 100%; flex-direction: row; justify-content: flex-start;
        gap: .75rem; padding: .75rem 1.25rem; }
    .event-date-box .day { font-size: 1.5rem; }

    .cal-cell { min-height: 60px; }
    .cal-event-dot { display: none; }
    .cal-cell.has-events .cal-date::after {
        content: ' •';
        color: var(--color-ocean);
        font-size: 1rem;
    }

    .calendar-with-panel { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
