:root {
  color-scheme: light;
  --green: #173b32;
  --green-soft: #31594d;
  --paper: #f5f3e9;
  --white: #fffef9;
  --ink: #1f2924;
  --muted: #68736c;
  --line: #d9ddd3;
  --orange: #df6744;
  --yellow: #f0c86a;
  --heading-font: "Lora", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --content: 1520px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: 0.6875rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.section-pad { padding: 76px 0 82px; }

.topline { background: var(--green); color: #f7f3e9; font-size: 12px; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline p { margin: 0; }
.topline a { color: inherit; text-decoration: none; }
.masthead { position: relative; z-index: 3; background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; }
.brand-mark { width: 39px; height: 45px; display: grid; place-items: center; border: 1.5px solid var(--green); border-radius: 48% 48% 45% 45%; font-family: var(--heading-font); font-size: 22px; }
.brand-name { display: grid; gap: 2px; font-family: var(--heading-font); font-size: 23px; line-height: 1; }
.brand-name small { color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #34443b; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a:focus-visible, .text-link:hover { color: var(--orange); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--green); font-size: 1.3125rem; cursor: pointer; }

.hero { position: relative; min-height: 540px; overflow: hidden; background: var(--green); color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; opacity: .64; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 43, 35, .92), rgba(16, 43, 35, .66) 42%, rgba(16, 43, 35, .1) 85%), linear-gradient(0deg, rgba(16, 43, 35, .2), transparent 60%); content: ""; }
.hero-inner { position: relative; z-index: 1; min-height: 540px; display: flex; align-items: center; }
.hero-copy { width: min(570px, 70%); padding: 64px 0 78px; animation: arrive .7s ease-out both; }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 650px; margin: 0; font-family: var(--heading-font); font-size: 4.875rem; font-weight: 600; line-height: 1; }
.hero-copy > p:not(.eyebrow) { max-width: 430px; margin: 22px 0 29px; color: #edf0e8; font-size: 18px; line-height: 1.7; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 2px; background: var(--yellow); color: var(--ink); font-size: 0.8125rem; font-weight: 700; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); background: #f5d885; }
.photo-credit { position: absolute; z-index: 2; right: 24px; bottom: 16px; color: white; font-size: 10px; text-shadow: 0 1px 5px #111; }
.photo-credit a { text-underline-offset: 3px; }

.welcome { padding: 70px 0 72px; background: var(--white); }
.welcome-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 94px; align-items: center; }
.welcome h2, .section-heading h2, .history-copy h2 { margin: 0; color: var(--green); font-family: var(--heading-font); font-size: 2.875rem; font-weight: 600; line-height: 1.12; }
.intro-copy { max-width: 610px; margin: 18px 0 0; color: #58655d; font-size: 17px; line-height: 1.8; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.quick-links a { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.quick-links a span { color: var(--orange); font-size: 19px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: 2.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--orange); font-size: 1.125rem; }
.news { background: var(--paper); }
.news-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.news-card { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: var(--white); }
.news-card.featured { background: var(--green); color: white; }
.news-card.notices-card { background: #e5e9de; }
.news-card.archive-card { background: #f1dfd4; }
.tag { padding: 6px 9px; background: rgba(223,103,68,.12); color: #a74128; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.featured .tag { background: rgba(240,200,106,.18); color: var(--yellow); }
.news-card h3 { max-width: 290px; margin: 22px 0 10px; font-family: var(--heading-font); font-size: 25px; font-weight: 600; line-height: 1.16; }
.news-card p { margin: 0; color: #59665d; font-size: 15px; line-height: 1.65; }
.news-card.featured p { color: #e2e8df; }
.news-card a, .event-panel a { margin-top: auto; padding-top: 20px; color: var(--green); font-size: 0.75rem; font-weight: 700; text-decoration: none; }
.news-card.featured a { color: var(--yellow); }

.events { background: var(--white); }
.events-page-content .event-tabs { scrollbar-width: none; }
.events-page-content .event-tabs::-webkit-scrollbar { display: none; }
.event-tabs { display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.event-tab { position: relative; flex: 0 0 auto; min-height: 48px; padding: 0 17px; border: 0; background: transparent; color: #59665d; font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.event-tab::after { position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; background: transparent; content: ""; }
.event-tab:hover { color: var(--green); }
.event-tab.is-active { color: var(--green); }
.event-tab.is-active::after { background: var(--orange); }
.event-panel { min-height: 230px; display: flex; align-items: center; gap: 23px; padding: 33px 22px; border-bottom: 1px solid var(--line); }
.event-panel[hidden] { display: none; }
.empty-icon { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 50%; background: #f5e6be; color: var(--green); font-family: var(--heading-font); font-size: 1.625rem; }
.event-panel h3 { margin: 0 0 8px; color: var(--green); font-family: var(--heading-font); font-size: 1.5625rem; font-weight: 600; }
.event-panel p { max-width: 580px; margin: 0; color: #59665d; font-size: 0.9375rem; line-height: 1.7; }
.event-panel a { display: inline-block; padding-top: 13px; color: var(--green); }

.history { background: #e7e9de; }
.history-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.history-image { position: relative; min-height: 350px; margin: 0; overflow: hidden; background: var(--green); }
.history-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.history-image figcaption { position: absolute; left: 17px; bottom: 17px; padding: 9px 12px; background: var(--yellow); color: var(--green); font-size: 11px; font-weight: 700; }
.history-copy > p:not(.eyebrow) { max-width: 540px; margin: 18px 0; color: #58655d; font-size: 16px; line-height: 1.8; }
.history-copy .text-link { margin-top: 8px; }

.community { padding: 66px 0; background: var(--green); color: white; }
.community-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.community .eyebrow { color: var(--yellow); }
.community h2 { max-width: 570px; margin: 0; font-family: var(--heading-font); font-size: 2.625rem; font-weight: 600; line-height: 1.12; }
.community p:not(.eyebrow) { max-width: 530px; margin: 13px 0 0; color: #d8e2da; font-size: 0.9375rem; line-height: 1.7; }
.community .button { flex: 0 0 auto; }
footer { background: #102b23; color: #e4e9df; }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 40px; padding: 37px 0; }
.footer-brand { color: white; font-family: var(--heading-font); font-size: 21px; }
.footer-main p { max-width: 390px; margin: 8px 0 0; color: #bdc9bf; font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: #e4e9df; font-size: 12px; text-decoration: none; }
.footer-bottom { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); color: #aebcb1; font-size: 10px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom a { color: inherit; }

.nav a[aria-current="page"] { color: var(--orange); }
.page-hero { padding: 66px 0 72px; background: #e7e9de; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 36px; }
.page-hero .eyebrow { margin-bottom: 13px; }
.page-hero h1 { max-width: 760px; color: var(--green); font-size: 3.625rem; line-height: 1.05; }
.page-hero p:not(.eyebrow) { max-width: 610px; margin: 17px 0 0; color: #58655d; font-size: 1.0625rem; line-height: 1.75; }
.page-hero .button { align-self: end; }
.page-main { min-height: 390px; }
.news-board { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 55px; align-items: start; }
.news-board h2, .archive-section h2 { margin: 0 0 16px; color: var(--green); font-family: var(--heading-font); font-size: 2rem; font-weight: 600; }
.news-empty { padding: 27px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-empty h3 { margin: 0 0 10px; color: var(--green); font-family: var(--heading-font); font-size: 24px; font-weight: 600; }
.news-empty p { max-width: 600px; margin: 0; color: #59665d; font-size: 16px; line-height: 1.75; }
.news-submit { padding: 23px; background: #f1dfd4; }
.news-submit .tag { display: inline-block; }
.news-submit h3 { margin: 18px 0 10px; color: var(--green); font-family: var(--heading-font); font-size: 24px; font-weight: 600; }
.news-submit p { margin: 0; color: #59665d; font-size: 15px; line-height: 1.7; }
.news-submit .text-link { margin-top: 18px; }
.news-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.news-category { min-height: 170px; padding: 20px 0; border-top: 2px solid var(--green); }
.news-category span { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.news-category h3 { margin: 13px 0 8px; color: var(--green); font-family: var(--heading-font); font-size: 22px; font-weight: 600; }
.news-category p { margin: 0; color: #59665d; font-size: 15px; line-height: 1.65; }
.events-page-content .event-panel { border-top: 1px solid var(--line); border-bottom: 0; }
.events-page-content.section-pad { padding-top: clamp(1rem, 2vw, 1.5rem); }
.events-page-content .section-heading { margin-bottom: 24px; }
.events-page-content .section-heading h1 { max-width: none; color: var(--green); font-size: clamp(2.2rem, 4vw, 2.75rem); line-height: 1.12; }
.events-page-content .section-heading p:not(.eyebrow) { max-width: 610px; margin: 12px 0 0; color: #59665d; font-size: 1rem; line-height: 1.7; }
.event-months { display: grid; gap: 1.75rem; width: 100%; min-width: 0; }
.event-months h2 { margin: 0 0 12px; color: var(--green); font-family: var(--heading-font); font-size: clamp(1.35rem, 3vw, 1.6rem); font-weight: 600; }
.events-page-content .event-list { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.event-card { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-content: stretch; gap: 14px; min-height: 116px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 20px rgba(32, 63, 52, .04); }
.event-card-date { align-self: stretch; min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7px; border-radius: 8px; background: #e7e9de; color: var(--green); line-height: 1; text-decoration: none; }
.event-card-day { font-family: var(--heading-font); font-size: 1.5625rem; font-weight: 600; }
.event-card-month { margin-top: 4px; font-size: 0.625rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.event-card-year { margin-top: 4px; color: var(--muted); font-size: 0.625rem; }
.event-card-content { min-width: 0; }
.event-card-category { width: fit-content; margin: 0 0 5px; color: #8c3d27; font-size: 0.625rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.event-card h3 { margin: 0; color: var(--green); font-family: var(--heading-font); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.event-card-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.event-card-detail { min-width: 0; }
.event-card-detail-description { grid-column: 1 / -1; }
.event-card-detail dt { color: var(--muted); font-size: 0.625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-card-detail dd { min-height: 1em; margin: 2px 0 0; color: var(--green); font-size: 0.8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.history-page-hero { padding-bottom: 64px; background: #f1dfd4; }
.history-page-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 56px; }
.history-page-grid .page-hero-copy h1 { max-width: 640px; }
.history-page-image { position: relative; min-height: 325px; margin: 0; overflow: hidden; background: var(--green); }
.history-page-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.history-page-image figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; background: var(--yellow); color: var(--green); font-size: 0.625rem; font-weight: 700; }
.archive-section { background: var(--white); }
.archive-section > .wrap > p { max-width: 690px; margin: 0; color: #59665d; font-size: 1rem; line-height: 1.8; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.archive-item { padding-top: 17px; border-top: 1px solid var(--line); }
.archive-item span { color: var(--orange); font-size: 0.6875rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.archive-item h3 { margin: 12px 0 8px; color: var(--green); font-family: var(--heading-font); font-size: 1.4375rem; font-weight: 600; }
.archive-item p { margin: 0; color: #59665d; font-size: 0.9375rem; line-height: 1.7; }
.community-page-hero { background: #f1dfd4; }
.community-directory { background: var(--white); }
.community-directory h2 { margin: 0; color: var(--green); font-family: var(--heading-font); font-size: 42px; font-weight: 600; }
.community-directory-intro { max-width: 690px; margin: 14px 0 0; color: #59665d; font-size: 16px; line-height: 1.8; }
.community-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.community-card { position: relative; min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border-top: 2px solid var(--green); background: var(--paper); }
.community-card-number { position: absolute; top: 20px; right: 22px; color: #c9cec3; font-family: var(--heading-font); font-size: 27px; }
.community-card .eyebrow { margin-bottom: 12px; }
.community-card h3 { margin: 0 0 10px; color: var(--green); font-family: var(--heading-font); font-size: 28px; font-weight: 600; }
.community-card > p:not(.eyebrow) { max-width: 470px; margin: 0; color: #59665d; font-size: 15px; line-height: 1.7; }
.community-card .community-card-note { margin-top: 10px !important; color: var(--muted) !important; font-size: 12px !important; }
.community-card .text-link { margin-top: auto; padding-top: 19px; }
.community-card .text-link span, .org-contact .text-link span { color: var(--orange); font-size: 1.125rem; }
.org-detail-section { background: var(--white); }
.org-detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); gap: 52px; align-items: start; }
.village-hall-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(1.25rem, 3vw, 2rem); }
.hall-club { display: grid; grid-template-columns: minmax(0, 650px) auto; justify-content: start; align-items: center; gap: clamp(1.25rem, 4vw, 3rem); margin-top: clamp(1.25rem, 3vw, 2rem); }
.hall-club-form { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hall-club .village-photo-trigger { width: 8rem; max-width: 100%; }
.hall-club img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.church-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.church-window-photos, .church-furnishing-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.church-window-photos figure, .church-furnishing-photos figure { flex: 0 0 160px; }
.hall-history-gallery { margin-top: 48px; }
.hall-history-gallery h3 { margin: 0; color: var(--green); font-family: var(--heading-font); font-size: 1.6875rem; font-weight: 600; }
.hall-history-photos { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
.village-hall-photos figure, .hall-history-photos figure, .church-photos figure, .church-window-photos figure, .church-furnishing-photos figure { margin: 0; padding: 8px; overflow: hidden; border: 1px solid #d4dacf; border-radius: 18px; background: var(--white); box-shadow: 0 7px 20px rgb(23 59 50 / 9%); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.village-hall-photos figure:hover, .hall-history-photos figure:hover, .church-photos figure:hover, .church-window-photos figure:hover, .church-furnishing-photos figure:hover { transform: translateY(-3px); border-color: var(--green-soft); box-shadow: 0 12px 26px rgb(23 59 50 / 14%); }
.village-photo-trigger { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; }
.village-hall-photos img, .hall-history-photos img { width: 100%; height: clamp(190px, 22vw, 280px); border-radius: 10px; background: var(--paper); object-fit: contain; }
.church-photos img { width: 100%; height: clamp(240px, 30vw, 400px); border-radius: 10px; background: var(--paper); object-fit: contain; }
.church-window-photos img, .church-furnishing-photos img { width: 100%; height: 175px; border-radius: 10px; background: var(--paper); object-fit: contain; }
.church-photo-gallery-credit { margin: 12px 0 0; color: var(--muted); font-size: 0.75rem; text-align: right; }
.hall-history-photos figcaption { position: static; max-width: none; margin: 10px 4px 2px; padding: 0; border-radius: 0; background: transparent; color: var(--green); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.village-photo-dialog { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: 94vw; max-height: 94vh; margin: auto; padding: 48px 16px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
.village-photo-dialog::backdrop { background: rgb(10 25 20 / 78%); backdrop-filter: blur(3px); }
.village-photo-dialog img { width: auto; height: auto; max-width: calc(94vw - 32px); max-height: calc(94vh - 80px); border-radius: 10px; object-fit: contain; }
.village-photo-close { position: absolute; top: 10px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--green); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.village-photo-close:hover { border-color: var(--green-soft); background: var(--paper); }
.org-detail-copy h2 { margin: 0 0 14px; color: var(--green); font-family: var(--heading-font); font-size: 2.25rem; font-weight: 600; line-height: 1.15; }
.org-detail-copy > p:not(.eyebrow), .hall-club-copy p { max-width: 650px; margin: 0 0 16px; color: #59665d; font-size: 1rem; line-height: 1.8; }
.hall-club-copy p { margin-bottom: 0; }
.councillors, .council-staff, .council-representative { margin-top: 24px; }
.councillors h3, .council-staff h3, .council-representative h3 { margin: 0 0 10px; color: var(--green); font-family: var(--heading-font); font-size: 1.4375rem; font-weight: 600; }
.councillors ul { margin: 0; padding-inline-start: 1.25rem; line-height: 1.8; }
.councillors li + li { margin-top: .5rem; }
.council-staff p { margin: 0; line-height: 1.8; }
.council-representative h4 { margin: 0 0 4px; font-size: 1rem; }
.councillors a, .council-representative a { color: var(--green); overflow-wrap: anywhere; }
.council-contact a { overflow-wrap: anywhere; }
.council-email, .council-address { margin-top: 16px; }
.org-contact { padding: 24px; background: var(--paper); }
.org-contact h3 { margin: 0 0 9px; color: var(--green); font-family: var(--heading-font); font-size: 1.4375rem; font-weight: 600; }
.org-contact p, .council-address { color: #59665d; font-size: 0.9375rem; line-height: 1.7; }
.org-contact p { margin: 0; }
.council-address { font-style: normal; }
.org-contact .text-link { display: inline-flex; margin-top: 17px; }
.org-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 17px; }
.org-contact-links .text-link { margin-top: 0; }
.org-contact .org-contact-phone { display: flex; width: fit-content; margin-top: 12px; }
.org-return { margin-top: 32px; }
a:focus-visible, button:focus-visible, [role="tabpanel"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px 18px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
  .nav.open { display: flex; flex-direction: column; }
  .nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--content), calc(100% - 36px)); }
  .topline-inner { min-height: 32px; font-size: 10px; }
  .topline-inner > a { font-size: 0; }
  .topline-inner > a span { font-size: 15px; }
  .masthead-inner { min-height: 72px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 35px; height: 40px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px 18px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
  .nav.open { display: flex; flex-direction: column; }
  .nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
  .hero, .hero-inner { min-height: 490px; }
  .hero-image { object-position: 57% center; }
  .hero::after { background: linear-gradient(90deg, rgba(16,43,35,.86), rgba(16,43,35,.42)), linear-gradient(0deg, rgba(16,43,35,.3), transparent 55%); }
  .hero-copy { width: 100%; padding: 48px 0 70px; }
  h1 { max-width: 440px; font-size: 3.3125rem; }
  .welcome { padding: 52px 0; }
  .welcome-grid, .history-grid { grid-template-columns: 1fr; gap: 30px; }
  .welcome h2, .section-heading h2, .history-copy h2 { font-size: 2.3125rem; }
  .quick-links { gap: 0 16px; }
  .section-pad { padding: 54px 0 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .page-hero { padding: 48px 0 52px; }
  .page-hero-grid, .history-page-grid, .news-board { grid-template-columns: 1fr; gap: 26px; }
  .page-hero h1 { font-size: 2.8125rem; }
  .page-hero .button { justify-self: start; }
  .news-grid { grid-template-columns: 1fr; gap: 11px; }
  .news-categories, .archive-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .community-directory-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .community-directory h2 { font-size: 37px; }
  .community-card { min-height: 250px; padding: 22px; }
  .org-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .village-hall-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-club { grid-template-columns: minmax(0, 1fr); }
  .church-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-detail-copy h2 { font-size: 1.9375rem; }
  .news-category { min-height: 0; }
  .news-submit { padding: 21px; }
  .history-page-grid { gap: 32px; }
  .history-page-image { min-height: 255px; }
  .news-card { min-height: 205px; padding: 22px; }
  .news-card h3 { margin-top: 18px; }
  .event-tabs { gap: 0; margin-right: -18px; }
  .event-tab { padding-inline: 13px; font-size: 0.75rem; }
  .event-panel { min-height: 220px; align-items: flex-start; gap: 16px; padding: 26px 4px; }
  .events-page-content .event-list { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .event-card h3 { font-size: 1.1875rem; }
  .empty-icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 1.375rem; }
  .event-panel h3 { font-size: 1.375rem; }
  .history-image { min-height: 270px; }
  .community { padding: 50px 0; }
  .community-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .community h2 { font-size: 2.25rem; }
  .footer-main { flex-direction: column; padding: 31px 0; }
  .footer-bottom-inner { flex-direction: column; gap: 7px; }
  .photo-credit { right: 12px; bottom: 10px; font-size: 9px; }
}
@media (max-width: 560px) {
  .village-hall-photos { grid-template-columns: 1fr; }
  .hall-history-photos { grid-template-columns: 1fr; }
  .church-photos { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .events-page-content .event-tabs { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
