/* =========================================================================
   North Lambeth Club — traditional British members' club
   Palette: bottle green · burgundy · brass/gold · cream
   Headings: Playfair Display (serif)   Body: Inter (sans)
   ========================================================================= */

/* ---------- Variables ---------- */
:root {
    --green:        #1f3d2b;
    --green-dark:   #162c1f;
    --green-light:  #2c5440;
    --burgundy:     #6b2233;
    --burgundy-dark:#511a27;
    --brass:        var(--ghost-accent-color, #c8a24a);
    --brass-dark:   #a8842f;
    --cream:        #f4ecd9;
    --cream-soft:   #faf5e9;
    --paper:        #fffdf8;
    --ink:          #2a2118;
    --ink-soft:     #5a4f42;
    --line:         #e3d8bf;
    --white:        #ffffff;

    --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1180px;
    --container-narrow: 760px;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 3px rgba(42,33,24,0.08);
    --shadow-md: 0 6px 22px rgba(42,33,24,0.12);
    --shadow-lg: 0 18px 50px rgba(42,33,24,0.18);
    --transition: 0.22s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
body.nav-is-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--burgundy); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.18; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: 76px 0; }
.section-empty { text-align: center; color: var(--ink-soft); font-size: 1.05rem; padding: 30px 0; }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-dark);
    margin-bottom: 12px;
}
.section-eyebrow-light { color: var(--brass); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0 0 0.3em; }
.section-title-light { color: var(--cream); }
.section-title-center { text-align: center; }
.section-subtitle { font-size: 1.1rem; color: var(--ink-soft); max-width: 620px; margin: 0; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-header-center { flex-direction: column; align-items: center; text-align: center; }
.section-link {
    font-weight: 600; font-size: 0.95rem; white-space: nowrap;
    color: var(--green); border-bottom: 2px solid var(--brass); padding-bottom: 2px;
}
.section-link:hover { color: var(--burgundy); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 13px 26px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--brass); color: var(--green-dark); border-color: var(--brass); }
.btn-primary:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-banner-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-banner-outline:hover { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-cta { background: var(--brass); color: var(--green-dark); border-color: var(--brass); padding: 10px 20px; }
.btn-cta:hover { background: var(--brass-dark); color: var(--white); border-color: var(--brass-dark); }

/* ---------- Header ---------- */
.header-accent-bar { height: 4px; background: linear-gradient(90deg, var(--brass) 0%, var(--brass-dark) 50%, var(--brass) 100%); }
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--green);
    box-shadow: var(--shadow-sm);
}
.site-header-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.site-logo-link { display: inline-flex; align-items: center; }
.site-logo { max-height: 52px; width: auto; }
.site-title-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--cream);
    letter-spacing: 0.01em;
}
.site-title-text:hover { color: var(--brass); }

.site-nav .nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav .nav a {
    display: block;
    font-weight: 500;
    font-size: 0.96rem;
    color: var(--cream);
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.site-nav .nav a:hover { color: var(--brass); }
.site-nav .nav-current a { color: var(--brass); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle-bar { width: 26px; height: 2px; background: var(--cream); transition: all var(--transition); }
.nav-toggle-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / page banner ---------- */
.page-banner {
    position: relative;
    background-color: var(--green-dark);
    background-image: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}
.page-banner-large { padding: 130px 0; }
.page-banner-home { padding: 150px 0; }
.page-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(22,44,31,0.55) 0%, rgba(22,44,31,0.78) 100%);
}
.page-banner-inner { position: relative; z-index: 1; max-width: 800px; }
.page-banner-eyebrow {
    display: inline-block;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--brass); margin-bottom: 16px;
}
.page-banner-title { color: var(--white); font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 0.3em; }
.page-banner-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,0.9); margin: 0 auto; max-width: 640px; }
.page-banner-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Welcome ---------- */
.section-welcome { background: var(--paper); }
.welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.welcome-text { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 24px; }
.welcome-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.welcome-features li {
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brass);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.welcome-features strong { display: block; font-family: var(--font-head); color: var(--green); font-size: 1.05rem; margin-bottom: 4px; }
.welcome-features span { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Events / What's On ---------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card-link { display: block; color: inherit; }
.event-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-light); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; }
.event-card-media-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); }
.event-card-body { padding: 20px 22px 24px; }
.event-card-when {
    display: inline-block;
    background: var(--green);
    color: var(--brass);
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px; margin-bottom: 12px;
}
.event-card-title { font-size: 1.3rem; margin: 0; color: var(--green); }
.event-card:hover .event-card-title { color: var(--burgundy); }

/* ---------- Membership teaser ---------- */
.section-membership-teaser { background: var(--green); color: var(--cream); }
.membership-teaser { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.membership-teaser-content { flex: 1 1 360px; }
.membership-teaser-content .section-eyebrow { color: var(--brass); }
.membership-teaser-content .section-title { color: var(--white); }
.membership-teaser-content p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 520px; }
.membership-teaser-price {
    flex: 0 0 auto;
    background: var(--cream);
    color: var(--green-dark);
    border-radius: var(--radius-lg);
    padding: 32px 44px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--brass);
}
.price-amount { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--green); }
.price-period { display: block; font-size: 0.95rem; color: var(--ink-soft); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Venue teaser ---------- */
.section-venue-teaser {
    position: relative;
    background-color: var(--green-dark);
    background-size: cover; background-position: center;
    color: var(--cream);
    padding: 110px 0;
}
.section-venue-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(22,44,31,0.86) 0%, rgba(81,26,39,0.7) 100%); }
.section-venue-teaser .container { position: relative; z-index: 1; }
.venue-teaser { max-width: 560px; }
.venue-teaser p { color: rgba(255,255,255,0.9); margin-bottom: 26px; font-size: 1.08rem; }

/* ---------- People ---------- */
.section-people-alt { background: var(--paper); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person-card-link { display: block; color: inherit; }
.person-card-image { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-light); }
.person-card-image img { width: 100%; height: 100%; object-fit: cover; }
.person-card-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); }
.person-card-info { padding: 18px 16px 22px; }
.person-card-name { font-size: 1.18rem; margin: 0 0 4px; }
.person-card-role { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Find us ---------- */
.section-find-us { background: var(--cream-soft); }
.find-us-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.find-us-address { font-size: 1.2rem; color: var(--green); font-family: var(--font-head); margin: 0 0 22px; }
.find-us-hours { background: var(--green); color: var(--cream); border-radius: var(--radius-lg); padding: 30px 34px; }
.find-us-hours-title { color: var(--brass); font-size: 1.3rem; margin: 0 0 16px; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hours-list li:last-child { border-bottom: 0; }
.find-us-hours .hours-list span:last-child { color: var(--brass); font-weight: 600; }

/* ---------- Membership page ---------- */
.membership-layout { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.membership-card {
    background: var(--green);
    color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 6px solid var(--brass);
    position: sticky; top: 100px;
}
.membership-card-name { color: var(--white); font-size: 1.5rem; margin-bottom: 18px; }
.membership-card-price { margin-bottom: 8px; }
.membership-card-price .price-amount { color: var(--brass); }
.membership-card-price .price-period { color: rgba(255,255,255,0.8); }
.membership-card-note { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 14px 0 22px; }
.membership-card-small { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 16px; }
.benefits-list { list-style: none; margin: 0; padding: 0; }
.benefits-list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px dashed var(--line); font-size: 1.04rem; }
.benefits-list li:last-child { border-bottom: 0; }
.benefits-list li::before {
    content: ""; position: absolute; left: 0; top: 15px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--brass);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23162c1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

/* How to join steps */
.join-steps { border-top: 1px solid var(--line); padding-top: 56px; }
.steps-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--burgundy); color: var(--cream);
    font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 16px;
}
.step-title { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ---------- Venue page ---------- */
.occasions-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occasions-grid li {
    background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 16px; text-align: center; font-weight: 600; color: var(--green);
}
.section-included { background: var(--paper); }
.included-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.included-cta-card {
    background: var(--green); color: var(--cream);
    border-radius: var(--radius-lg); padding: 34px 30px;
    box-shadow: var(--shadow-md); border-top: 6px solid var(--brass);
}
.included-cta-card h3 { color: var(--brass); font-size: 1.4rem; }
.included-cta-card p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.included-cta-note { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 14px; margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.contact-info-label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 4px; }
.contact-hours-title { font-size: 1.3rem; margin: 0 0 14px; }
.contact-details .hours-list li { border-bottom: 1px solid var(--line); }
.contact-details .hours-list span:last-child { color: var(--green); font-weight: 600; }
.contact-map { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.contact-form-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 34px; box-shadow: var(--shadow-sm); }
.contact-form-intro { color: var(--ink-soft); margin-bottom: 20px; }
.contact-tally { width: 100%; border: 0; min-height: 560px; display: block; }

/* ---------- Posts (news) ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-link { display: block; color: inherit; }
.post-card-image-wrap { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-image { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 20px 22px 24px; }
.post-card-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 8px; }
.post-card-title { font-size: 1.25rem; margin: 0 0 8px; }
.post-card-excerpt { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 12px; }
.post-card-date { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Single post / page ---------- */
.post-full { padding: 64px 0; }
.page-full { padding-top: 56px; }
.post-meta-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.post-header-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-dark); }
.post-meta-bar time { font-size: 0.88rem; color: var(--ink-soft); }
.post-content { font-size: 1.08rem; color: var(--ink); }
.post-content h2 { font-size: 1.8rem; margin: 1.6em 0 0.5em; }
.post-content h3 { font-size: 1.4rem; margin: 1.4em 0 0.4em; }
.post-content a { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.post-content img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.post-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brass); font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--green); }
.post-content ul, .post-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.post-content li { margin-bottom: 0.4em; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* Event post header */
.event-post-header { background: var(--green); color: var(--cream); padding: 64px 0; }
.event-post-header-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.event-post-header-back, .person-profile-back { display: inline-block; color: var(--brass); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.event-post-header-title { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 16px; }
.event-post-header-when { display: inline-block; background: var(--brass); color: var(--green-dark); font-weight: 700; padding: 7px 16px; border-radius: 100px; font-size: 0.92rem; }
.event-post-header-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.event-post-header-image img { width: 100%; height: 100%; object-fit: cover; }

/* Person profile header */
.person-profile-header { background: var(--green); color: var(--cream); padding: 64px 0; }
.person-profile-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.person-profile-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-lg); }
.person-profile-image img { width: 100%; height: 100%; object-fit: cover; }
.person-profile-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--green-light); color: rgba(255,255,255,0.7); }
.person-profile-name { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 8px; }
.person-profile-role { color: var(--brass); font-size: 1.15rem; margin: 0; }

/* CTA band */
.post-cta-band { background: var(--burgundy); color: var(--cream); text-align: center; padding: 64px 0; }
.post-cta-title { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.post-cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(244,236,217,0.82); margin-top: 0; }
.footer-inner { padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-heading { color: var(--brass); font-size: 1.1rem; margin: 0 0 16px; }
.footer-description { font-size: 0.95rem; line-height: 1.6; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 5px 0; font-size: 0.95rem; }
.footer-links a { color: rgba(244,236,217,0.82); }
.footer-links a:hover { color: var(--brass); }
.footer-hours-list li { display: flex; justify-content: space-between; gap: 12px; }
.footer-nav .nav { list-style: none; margin: 0; padding: 0; }
.footer-nav .nav a { color: rgba(244,236,217,0.82); display: block; padding: 5px 0; font-size: 0.95rem; }
.footer-nav .nav a:hover { color: var(--brass); }
.footer-social { margin-top: 16px; }
.social-link { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(244,236,217,0.1); color: var(--cream); }
.social-link:hover { background: var(--brass); color: var(--green-dark); }
.footer-bottom {
    border-top: 1px solid rgba(244,236,217,0.12);
    padding: 22px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 0.85rem; color: rgba(244,236,217,0.6);
}
.footer-bottom p { margin: 0; }
.footer-powered a { color: var(--brass); }

/* ---------- Error ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-code { display: block; font-family: var(--font-head); font-weight: 800; font-size: 6rem; color: var(--brass); line-height: 1; }
.error-message { font-size: 1.3rem; color: var(--green); margin: 10px 0 28px; }

/* ---------- Koenig editor cards ---------- */
.post-content :is(figure, .kg-card) { margin: 1.6em 0; }
.kg-width-wide { position: relative; width: 100%; max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.kg-width-full img { border-radius: 0; }
.kg-image { margin-left: auto; margin-right: auto; }
.kg-card figcaption { text-align: center; font-size: 0.85rem; color: var(--ink-soft); padding-top: 8px; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 10px; max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-row { display: flex; gap: 10px; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card { width: 100%; }
.kg-bookmark-container { display: flex; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; }
.kg-bookmark-content { padding: 18px 20px; flex: 1 1 auto; }
.kg-bookmark-title { font-weight: 600; color: var(--green); }
.kg-bookmark-thumbnail { flex: 0 0 30%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-button-card a { display: inline-block; background: var(--brass); color: var(--green-dark); font-weight: 600; padding: 12px 24px; border-radius: var(--radius); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .welcome-grid, .find-us-grid, .included-grid, .contact-grid,
    .membership-layout, .event-post-header-grid, .person-profile-grid { grid-template-columns: 1fr; gap: 36px; }
    .membership-card { position: static; }
    .person-profile-grid { grid-template-columns: 180px 1fr; }
    .events-grid, .posts-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .people-grid { grid-template-columns: repeat(3, 1fr); }
    .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .section { padding: 56px 0; }
    .header-actions { display: none; }
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: 76px 0 0; z-index: 99;
        background: var(--green);
        flex-direction: column;
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    .site-nav.nav-open { transform: translateX(0); }
    .site-nav .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(244,236,217,0.12); }
    .nav-cta-mobile { display: block; margin-top: 20px; }
    .welcome-features { grid-template-columns: 1fr; }
    .events-grid, .posts-grid, .steps-grid, .people-grid, .occasions-grid { grid-template-columns: 1fr; }
    .membership-teaser { flex-direction: column; align-items: flex-start; }
    .membership-teaser-price { align-self: stretch; }
    .person-profile-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
    .footer-grid { grid-template-columns: 1fr; }
    .page-banner-cta { flex-direction: column; align-items: stretch; }
}
