/* Main site additions on top of site.css (the trail guide design) */

.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blaze); border-radius: 0; }

/* Home hero is shorter so the "this week" band shows on first load */
.hero-home { min-height: min(calc(72dvh - 68px), 620px); }
.hero-home .hero-panel { padding: 3.5rem 0 7.5rem; }
.hero-home h1 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }

/* At-a-glance band */
.glance { position: relative; z-index: 2; margin-top: -5.5rem; }
.glance-grid {
  display: grid; grid-template-columns: 1fr 1.35fr 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(23, 63, 53, .06), 0 18px 40px rgba(23, 63, 53, .14);
}
.glance-grid > * { padding: 1.6rem 1.75rem; }
.glance-grid > * + * { border-left: 1px solid var(--line); }
.glance h2 { font-size: 1.05rem; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; color: var(--spruce); margin-bottom: 1rem; }
.glance .meeting { border-radius: var(--radius) 0 0 var(--radius); }
.glance .meeting h2 { color: var(--spruce-3); }
.glance .meeting-date { font-size: 1.85rem; }
.glance-more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--spruce); }

.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; align-items: start; padding: .55rem 0; }
.event + .event { border-top: 1px solid var(--line); }
.event-date { text-align: center; background: var(--spruce); color: #fff; border-radius: var(--radius); padding: .3rem 0 .35rem; line-height: 1; }
.event-date span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blaze); }
.event-date b { display: block; font: 900 1.35rem var(--wide); font-stretch: 112%; margin-top: .15rem; }
.event-title { font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.event-meta { font-size: .88rem; color: var(--ink-2); }
.event a { color: inherit; }

.svc { list-style: none; margin: 0; padding: 0; }
.svc a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; text-decoration: none; font-weight: 700; color: var(--spruce); }
.svc li + li a { border-top: 1px solid var(--line); }
.svc i { font-size: 1.3rem; color: var(--ink-2); }
.svc a:hover span { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--spruce); color: #e4ece8; }
.page-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35, 87, 74,.96) 0%, rgba(35, 87, 74,.85) 35%, rgba(35, 87, 74,.2) 80%); }
.page-hero .wrap { padding: 4.5rem 0 3.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; max-width: 18ch; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; max-width: 52ch; margin: 0; }

/* Inner page layout: jump links + content */
.page { display: grid; grid-template-columns: 220px 1fr; gap: 4rem; padding: 3.5rem 0 5rem; align-items: start; }
.jump { position: sticky; top: 92px; }
.jump p { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.jump ul { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.jump a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -3px; border-left: 3px solid transparent; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.jump a:hover { color: var(--spruce); border-left-color: var(--blaze); }
.content { min-width: 0; }
.content > section { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.content > section:last-child { border-bottom: 0; margin-bottom: 0; }
.content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--spruce); margin-bottom: 1rem; }
.content h3 { font-size: 1.15rem; font-stretch: 112%; color: var(--spruce); margin: 1.75rem 0 .5rem; }
.content p, .content li { max-width: 68ch; }
.content p a, .content li a { color: var(--spruce); font-weight: 700; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lede { font-size: 1.15rem; color: var(--ink-2); }

.callout { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--blaze); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 1.25rem 0; }
.callout p:last-child { margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.btn-spruce { background: var(--spruce); color: #fff; }
.btn-spruce:hover { background: var(--spruce-2); }
.btn-outline { border: 2px solid var(--spruce); color: var(--spruce); }
.btn-outline:hover { background: var(--spruce); color: #fff; }

/* Document links */
.docs { list-style: none; margin: 1rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem; }
.docs a { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .8rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--spruce); }
.docs a:hover { border-color: var(--spruce); }
.docs i { font-size: 1.35rem; color: var(--ink-2); }
.docs small { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.facts div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: .25rem 0 0; font-weight: 700; color: var(--spruce); }
.facts dd a { color: var(--spruce); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 700; color: var(--spruce); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font: 700 1.4rem var(--wide); color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink-2); }

/* Agenda archive */
.archive-wrap { overflow-x: auto; }
.archive { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.archive th, .archive td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.archive th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--snow); }
.archive td:first-child { font-weight: 700; color: var(--spruce); }
.archive a { color: var(--spruce); font-weight: 700; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.archive .none { color: #6f7a75; }
.archive tr:last-child td { border-bottom: 0; }

/* People / committees */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.people > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.people h3 { margin: 0 0 .5rem; font-size: 1rem; }
.people p, .people ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .97rem; }
.people p + ul { margin-top: .6rem; }

/* Image + text inside content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin: 1.5rem 0; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1.5rem 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Event cards (events page) */
.event-cards { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem; }
.event-cards li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.event-cards .event-date { padding: .55rem 0 .6rem; }
.event-cards .event-date b { font-size: 1.8rem; }
.event-cards h3 { margin: 0 0 .3rem; }
.event-cards p { margin: 0; color: var(--ink-2); }

/* Map embed */
.map { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: var(--radius); }

@media (max-width: 1000px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .glance-grid > .glance-svc { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .page { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; }
  .jump { position: static; }
  .jump ul { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; }
  .jump a { border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .8rem; margin: 0; background: var(--white); font-size: .9rem; }
}
@media (max-width: 700px) {
  .hero-home { min-height: 0; }
  .hero-home .hero-img { height: 100%; }
  .hero-home .hero-panel { padding: 5.5rem 0 4.5rem; }
  .hero-home h1 { font-size: 1.85rem; margin-bottom: 0; }
  .hero-home .hero-text > p, .hero-home .blaze { display: none; }
  .glance { margin-top: -3.5rem; }
  .glance-grid { grid-template-columns: 1fr; }
  .glance-grid > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .glance .meeting { border-radius: var(--radius) var(--radius) 0 0; }
  .page-hero::after { background: linear-gradient(0deg, rgba(35, 87, 74,.97) 0%, rgba(35, 87, 74,.8) 60%, rgba(35, 87, 74,.45) 100%); }
  .page-hero .wrap { padding: 6rem 0 2.25rem; }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .event-cards li { grid-template-columns: 4rem 1fr; gap: 1rem; }
}

/* History timeline list */
.dates-list { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--spruce); }
.dates-list li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .7rem 0 .7rem 1.25rem; position: relative; }
.dates-list li::before { content: ""; position: absolute; left: -9px; top: 1.05rem; width: 8px; height: 16px; background: var(--blaze); }
.dates-list b { font: 900 1.35rem var(--wide); font-stretch: 112%; color: var(--spruce); }

/* Amenity chips on light backgrounds */
.content .amenity-list { margin: 1rem 0 1.5rem; }
.content .amenity-list li { padding: .45rem .8rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); font-weight: 700; color: var(--spruce); font-size: .95rem; }
.content .signs { margin-top: 1rem; }
.content .tabs { margin-bottom: 1.25rem; }
.content .signs h3 { color: #fff; margin: 0 0 .45rem; font-size: 1.1rem; }

/* The full menu needs about 1,240px; narrower screens use the Menu button */
@media (max-width: 1240px) {
  .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--spruce); padding: .5rem 16px 1.25rem; border-top: 1px solid var(--spruce-2); }
  .nav.open { display: flex; }
  .nav a { padding: .95rem .25rem; border-bottom: 1px solid var(--spruce-2); border-radius: 0; font-size: 1.1rem; }
  .nav .pay { margin: 1rem 0 0; text-align: center; border-radius: var(--radius); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blaze); padding-left: .9rem; }
}

/* Home: Shop Frederic first band */
.shop { background: var(--spruce); color: #dbe6e1; padding: 4.5rem 0; margin-top: 4rem; }
.shop-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 4rem; align-items: start; }
.shop h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.shop-intro p { font-size: 1.15rem; max-width: 44ch; }
.shop-intro b { color: var(--blaze); }
.shop-sub { color: #fff; font-size: .95rem; font-stretch: 112%; text-transform: uppercase; margin: 0 0 .8rem; }
.shop-sub + ul { margin-bottom: 2rem; }
.biz-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.biz-picks a { display: flex; gap: .75rem; align-items: flex-start; height: 100%; padding: .95rem 1rem; background: var(--white); color: var(--ink); border-radius: var(--radius); text-decoration: none; transition: transform .2s ease; }
.biz-picks a:hover { transform: translateY(-2px); }
.biz-picks i { font-size: 1.4rem; color: var(--spruce); flex: none; }
.biz-picks b { display: block; color: var(--spruce); line-height: 1.25; }
.biz-picks small { display: block; color: var(--ink-2); font-size: .82rem; margin-top: .15rem; }
.biz-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.biz-tiles a { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid #4b7d6f; border-radius: var(--radius); color: #fff; text-decoration: none; font-weight: 700; font-size: .93rem; }
.biz-tiles a:hover { border-color: var(--blaze); }
.biz-tiles i { font-size: 1.2rem; color: var(--blaze); }
.biz-tiles span { flex: 1; line-height: 1.2; }
.biz-tiles b { color: var(--blaze); font: 800 1rem var(--wide); }

/* Directory page */
.biz-page { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; padding: 3rem 0 5rem; align-items: start; }
.biz-tools label { display: block; font-weight: 700; color: var(--spruce); margin-bottom: .4rem; }
.biz-tools input {
  width: 100%; min-height: 52px; padding: .75rem 1rem; font: 400 1.05rem var(--body); color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
}
.biz-tools input::placeholder { color: #6f7a75; }
.biz-tools input:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(242, 183, 5, .5); }
.biz-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.biz-chips button { font: 700 .9rem var(--body); padding: .5rem .85rem; min-height: 40px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: var(--radius); cursor: pointer; }
.biz-chips button[aria-pressed="true"] { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.biz-status { color: var(--ink-2); font-size: .92rem; margin: 1.25rem 0 0; }
.biz-group { padding-top: 2rem; scroll-margin-top: 90px; }
.biz-group h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.45rem; color: var(--spruce); margin-bottom: 1rem; }
.biz-group h2 i { color: var(--ink-2); }
.biz-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.biz-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blaze); border-radius: var(--radius); padding: .9rem 1rem; }
.biz-card b { display: block; color: var(--ink); margin-bottom: .3rem; }
.biz-card a { font-size: .9rem; font-weight: 700; color: var(--spruce); text-decoration-color: var(--blaze); text-underline-offset: 3px; }
.biz-card span { font-size: .9rem; color: var(--ink-2); }
.biz-side { position: sticky; top: 92px; display: grid; gap: 1rem; }
.biz-cta { background: var(--spruce); color: #dbe6e1; padding: 1.5rem; border-radius: var(--radius); }
.biz-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: .6rem; }
.biz-side-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.biz-side-block h3 { font-size: 1.05rem; font-stretch: 112%; color: var(--spruce); margin-bottom: .4rem; }
.biz-side-block p { color: var(--ink-2); font-size: .95rem; }
.biz-side-block p a { color: var(--spruce); font-weight: 700; }

@media (max-width: 1000px) {
  .shop-grid, .biz-page { grid-template-columns: 1fr; gap: 2.5rem; }
  .biz-side { position: static; }
}
@media (max-width: 700px) {
  .shop { margin-top: 3rem; padding: 3.5rem 0; }
  .biz-picks { grid-template-columns: 1fr 1fr; }
  .biz-tiles { grid-template-columns: 1fr; }
}

/* Rich directory cards (photo, description, hours) */
.biz-card { display: flex; flex-direction: column; }
.biz-card-rich { grid-column: span 2; flex-direction: row; padding: 0; overflow: hidden; }
.biz-photo { flex: 0 0 42%; background: var(--snow); }
.biz-photo img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.biz-card-rich .biz-body { padding: .95rem 1.1rem; }
.biz-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.biz-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.biz-desc { margin: .15rem 0 .35rem; color: var(--ink-2); font-size: .93rem; }
.biz-meta { list-style: none; margin: 0 0 .35rem; padding: 0; font-size: .88rem; color: var(--ink); }
.biz-meta li { display: flex; gap: .45rem; align-items: flex-start; padding: .1rem 0; }
.biz-meta i { color: var(--spruce); margin-top: .2rem; }
.biz-link { font-size: .9rem; font-weight: 700; color: var(--spruce); }
a.biz-own { margin-top: auto; padding-top: .45rem; font-size: .8rem !important; font-weight: 400 !important; color: var(--ink-2) !important; text-decoration-color: var(--line) !important; }

/* Listing form */
.listing-page { display: grid; grid-template-columns: 1fr 360px; gap: 3.5rem; padding: 3rem 0 5rem; align-items: start; }
.listing-form fieldset { border: 0; margin: 0 0 2.25rem; padding: 0; }
.listing-form legend { font: 800 1.45rem var(--wide); font-stretch: 112%; color: var(--spruce); margin-bottom: 1rem; padding: 0; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.field label, .field-label { font-weight: 700; color: var(--ink); }
.req { font-weight: 400; font-size: .85rem; color: var(--ink-2); margin-left: .3rem; }
.field-help { margin: 0; color: var(--ink-2); font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: 400 1.02rem var(--body); color: var(--ink);
  background: var(--white); border: 2px solid #b9c0b8; border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input::placeholder { color: #6f7a75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(242, 183, 5, .55); }
.field input[type="file"] { font: 400 .98rem var(--body); padding: .6rem; background: var(--white); border: 2px dashed #b9c0b8; border-radius: var(--radius); }
.field [aria-invalid="true"] { border-color: #b3261e !important; }
.field-error { margin: 0; color: #b3261e; font-weight: 700; font-size: .92rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.radios label, .check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.radios input, .check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--spruce); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions .btn { border: 0; cursor: pointer; font: 700 1.02rem var(--body); }
.form-actions .btn:disabled { opacity: .6; cursor: wait; }
.form-note { margin: 0; color: var(--ink-2); font-size: .92rem; }
.form-result { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); border-left: 6px solid var(--blaze); background: var(--white); }
.form-result.is-ok { border-left-color: var(--spruce); }
.form-result.is-error { border-left-color: #b3261e; }
.form-result a { color: var(--spruce); font-weight: 700; }
.listing-preview { position: sticky; top: 92px; }
.listing-preview h2 { font-size: 1.3rem; color: var(--spruce); margin-bottom: .3rem; }
.listing-preview .field-help { margin-bottom: 1rem; }
.listing-preview .biz-card-rich { flex-direction: column; }
.listing-preview .biz-photo img { aspect-ratio: 16 / 10; min-height: 0; }

@media (max-width: 1000px) {
  .listing-page { grid-template-columns: 1fr; gap: 2.5rem; }
  .listing-preview { position: static; }
}
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .biz-card-rich { grid-column: auto; flex-direction: column; }
  .biz-photo img { aspect-ratio: 16 / 10; min-height: 0; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

[hidden] { display: none !important; }
.listing-form, .listing-preview, .listing-form fieldset { min-width: 0; }

/* Spam trap: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer site index */
.footer-index { border-top: 1px solid #2f5a4d; margin-top: 2.5rem; padding-top: 2rem; }
.footer-index h3 { color: #fff; font-size: .95rem; font-stretch: 112%; text-transform: uppercase; margin-bottom: 1rem; }
.footer-index ul { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 2rem; }
.footer-index li { break-inside: avoid; padding: .3rem 0; }
.footer-index a { color: #dbe6e1; text-decoration: none; }
.footer-index a:hover { color: var(--blaze); text-decoration: underline; }
.footer-index + .footer-base { margin-top: 2rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
.footer-base p { margin: 0; }
.footer-credit { color: #a9bdb5; }
.footer-credit a { color: #a9bdb5; text-decoration-color: rgba(242, 183, 5, .6); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--blaze); }

/* Village emblem */
.brand .brand-mark { width: 56px; height: 56px; border-radius: 50%; background: #f7eee0; box-shadow: 0 0 0 2px var(--blaze), 0 2px 8px rgba(0, 0, 0, .25); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.emblem { margin: 0 0 1rem; max-width: 260px; }
.emblem img { display: block; width: 135px; height: auto; background: #f7eee0; border-radius: var(--radius); padding: .6rem .4rem .2rem; box-shadow: 0 0 0 2px rgba(242, 183, 5, .7); }
.emblem figcaption { font-size: .82rem; color: #a9bdb5; margin-top: .6rem; line-height: 1.45; }
.footer-grid .emblem + .footer-name { margin-top: .4rem; }
.emblem-feature { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; }
.emblem-feature img { width: 100%; height: auto; background: #f7eee0; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(23, 63, 53, .12); }
@media (max-width: 700px) {
  .brand .brand-mark { width: 48px; height: 48px; }
  .emblem-feature { grid-template-columns: 1fr; }
  .emblem-feature img { max-width: 220px; }
}

/* Header search */
.header-tools { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.search-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #4b7d6f; border-radius: var(--radius); background: none; color: #fff; cursor: pointer; font-size: 1.3rem; }
.search-btn:hover { border-color: var(--blaze); color: var(--blaze); }
.header-tools { flex-shrink: 0; }
/* Phones: the wordmark, search and Menu share one row, so tighten all three */
@media (max-width: 480px) {
  .brand { gap: .5rem; min-width: 0; }
  .brand .brand-mark { width: 42px; height: 42px; }
  .brand span { font-size: 1.1rem; }
  .header-tools { gap: .4rem; }
  .menu-btn { padding: 0 .7rem; }
}
/* Small phones: Menu keeps its label for screen readers, shows only the icon */
@media (max-width: 360px) {
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.search-dialog { width: min(680px, 100% - 32px); max-height: min(78vh, 720px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 24px 60px rgba(23, 63, 53, .35); overflow: hidden; }
.search-dialog::backdrop { background: rgba(23, 63, 53, .55); }
.search-dialog[open] { display: flex; flex-direction: column; }
.search-box { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.search-box > i { font-size: 1.4rem; color: var(--ink-2); }
.search-box input { flex: 1; min-height: 48px; border: 0; font: 400 1.15rem var(--body); color: var(--ink); background: none; }
.search-box input:focus { outline: none; }
.search-close { width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2); font-size: 1.3rem; cursor: pointer; border-radius: var(--radius); }
.search-close:hover { background: var(--snow); }
.search-results { overflow-y: auto; padding: .5rem; }
.search-results ul { list-style: none; margin: 0; padding: 0; }
.search-results a { display: block; padding: .75rem .9rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus-visible { background: var(--snow); }
.search-results b { display: block; color: var(--spruce); }
.search-kind { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .15rem; }
.search-snip { display: block; font-size: .9rem; color: var(--ink-2); margin-top: .15rem; }
.search-results mark { background: rgba(242, 183, 5, .4); color: inherit; border-radius: 2px; }
.search-hint { padding: 1rem; margin: 0; color: var(--ink-2); }

/* News & announcements */
.news { padding: 4.5rem 0; background: var(--white); border-bottom: 1px solid var(--line); }
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.75rem; }
.news-head h2 { min-width: 0; }
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.news-item { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; background: var(--snow); border: 1px solid var(--line); border-top: 4px solid var(--blaze); border-radius: var(--radius); }
.news-item h3 { font-size: 1.1rem; font-stretch: 105%; color: var(--spruce); margin: .1rem 0; }
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 3px; }
.news-item p { margin: 0 0 .5rem; color: var(--ink-2); font-size: .95rem; }
.news-item .arrow-link { margin-top: auto; align-self: flex-start; font-size: .92rem; }
.news-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--spruce); background: #e6efe9; padding: .15rem .5rem; border-radius: 2px; }
.news-item time { font-size: .88rem; font-weight: 700; color: var(--ink); }
.news-note { margin: 1.5rem 0 0; color: var(--ink-2); font-size: .95rem; }
.news-page { padding: 3rem 0 5rem; }
.news-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1rem; max-width: 820px; }
.news-list .news-item { background: var(--white); scroll-margin-top: 90px; }
.news-list .news-item h3 { font-size: 1.35rem; }
.news-item.is-target { box-shadow: 0 0 0 3px var(--blaze); }

@media (max-width: 1000px) {
  .header-tools { margin-left: auto; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .news { padding: 3.5rem 0; }
  .news-grid { grid-template-columns: 1fr; }
  .search-dialog { margin-top: 1rem; max-height: 85vh; }
}

/* Short news list inside a page's content column */
.news-list-short { max-width: none; margin: 0; }
.news-list-short .news-item h3 { font-size: 1.1rem; }

/* Keep the full menu on one line */
@media (min-width: 1241px) {
  .nav a { white-space: nowrap; padding: .55rem .7rem; }
}

/* Home hero photos (js/site.js fades them in turn). Only the one marked is-on shows; the incoming one sits on top. */
.hero-home .hero-img { opacity: 0; }
.hero-home .hero-img.is-on { opacity: 1; }
.hero-home .hero-img.is-top { z-index: -1; }
.hero-home .hero-img.instant { transition: none; }
