/* ============================================================
   SHARED ADDITIONS: sub-pages (things-to-do / rainy-day / restaurants)
   ============================================================ */
.page-hero{
  position:relative; min-height:clamp(460px, 52vh, 640px); margin-top:calc(-1 * var(--header-h, 118px));
  padding-top:calc(var(--header-h, 118px));
  display:flex; align-items:flex-end; overflow:hidden;
  background:linear-gradient(180deg,#0F4A50 0%, var(--teal-deep) 55%, var(--teal-mid) 100%);
}
.page-hero .hero-sky-grain{ position:absolute; inset:0; opacity:.5; mix-blend-mode:overlay; pointer-events:none;
  background-image:radial-gradient(circle at 20% 30%, rgba(255,255,255,.10), transparent 45%),
                    radial-gradient(circle at 80% 15%, rgba(255,255,255,.08), transparent 40%); }
.page-hero .hero-postmark{ position:absolute; top:18%; right:6%; width:min(150px,18vw); opacity:.85; animation:spin 90s linear infinite; }
.page-hero-content{ position:relative; z-index:2; width:100%; padding-top:clamp(2.5rem, 5vh, 3.5rem); padding-bottom:6vh; }
.page-hero-eyebrow{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.28em; text-transform:uppercase; color:var(--seafoam); display:block; margin-bottom:.9em; }
.page-hero.listing-hero{ align-items:flex-start; }
.page-hero h1{ color:var(--white); font-size:clamp(2.4rem,6vw,4.6rem); }
.page-hero h1 em{ font-style:italic; font-weight:400; color:var(--sand); }
.page-hero p{ color:var(--teal-pale); max-width:38em; margin-top:1em; font-size:1.02rem; line-height:1.65; }
.page-breadcrumb{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--seafoam); opacity:.8; margin-bottom:1.4em; display:block; }
.page-breadcrumb a{ text-decoration:underline; text-underline-offset:3px; opacity:.85; }
.page-breadcrumb a:hover{ opacity:1; color:var(--white); }

/* Card icon bar: full card width, just short, so it doesn't dominate the card */
.card-icon-badge{
  position:relative; height:150px; overflow:hidden;
  background:linear-gradient(150deg, var(--teal-deep) 0%, #123C41 100%);
  display:flex; align-items:center; justify-content:center;
  margin:-1.8em -1.7em 1em;
}
.card-icon-badge::before{
  content:""; position:absolute; inset:0; opacity:.5; mix-blend-mode:overlay;
  background-image:radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 55%),
                    radial-gradient(circle at 85% 80%, rgba(255,255,255,.1), transparent 50%);
}
.card-icon-badge svg{ position:relative; width:52px; height:52px; color:rgba(251,249,244,.88); }

/* Photo variant: reserved for real photography (used sparingly) */
.card-photo{
  position:relative; border-radius:8px; overflow:hidden; height:140px;
  margin:-.2em 0 .4em;
}
.card-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.restaurant-card .card-icon-badge{ margin:-1.6em -1.7em 1em; }

/* Town section + activity cards */
.town-section{ margin-bottom:5rem; }
.town-section:last-child{ margin-bottom:0; }
.town-heading{ display:flex; align-items:baseline; gap:1em; margin-bottom:.4em; flex-wrap:wrap; }
.town-heading h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); }
.town-distance{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); white-space:nowrap; }
.town-intro{ max-width:44em; opacity:.8; line-height:1.7; margin-bottom:1.8em; font-size:.98rem; }

.activity-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
@media(max-width:960px){ .activity-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .activity-grid{ grid-template-columns:1fr; } }
.activity-card{ position:relative; background:var(--white); border:1px solid rgba(22,40,42,.09); padding:1.8em 1.7em; display:flex; flex-direction:column; gap:.7em; overflow:hidden; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.activity-card:hover{ transform:translateY(-4px); box-shadow:0 18px 36px rgba(22,40,42,.1); }
.activity-card.has-link:hover{ border-color:transparent; }
.activity-card h3{ font-size:1.15rem; line-height:1.3; }
.activity-card h3 a.card-stretched-link{ color:inherit; text-decoration:none; }
.activity-card.has-link:hover h3 a.card-stretched-link{ text-decoration:underline; text-decoration-color:var(--teal-deep); text-underline-offset:3px; }
.activity-card h3 a.card-stretched-link::after{ content:""; position:absolute; inset:0; z-index:1; }
.activity-card p{ font-size:.9rem; line-height:1.62; opacity:.8; }
.activity-meta{ margin-top:auto; padding-top:.6em; border-top:1px dashed rgba(22,40,42,.14); font-family:var(--font-mono); font-size:.68rem; letter-spacing:.03em; color:var(--teal-deep); line-height:1.8; }
.activity-meta div{ display:flex; align-items:flex-start; gap:.5em; }
.activity-meta svg{ width:12px; height:12px; flex-shrink:0; margin-top:.2em; opacity:.7; }
.activity-meta a{ position:relative; z-index:2; color:var(--teal-deep); text-decoration:underline; text-decoration-color:rgba(27,110,118,.35); text-underline-offset:2px; }
.activity-meta a:hover{ text-decoration-color:var(--teal-deep); }
.activity-card-arrow{ position:absolute; top:1.8em; right:1.7em; z-index:1; width:16px; height:16px; opacity:0; transform:translate(-4px,4px); transition:opacity .3s, transform .3s; color:var(--teal-deep); pointer-events:none; }
.activity-card.has-link:hover .activity-card-arrow{ opacity:1; transform:translate(0,0); }
.activity-card.wide{ grid-column:span 2; }
@media(max-width:640px){ .activity-card.wide{ grid-column:span 1; } }

/* Restaurant directory */
.cuisine-filters{ display:flex; flex-wrap:wrap; gap:.6em; margin-bottom:2.6em; }
.cuisine-filter-btn{
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  padding:.65em 1.2em; border:1px solid rgba(22,40,42,.18); background:var(--white); color:var(--ink);
  border-radius:999px; cursor:pointer; transition:all .25s var(--ease);
}
.cuisine-filter-btn:hover{ border-color:var(--teal-deep); color:var(--teal-deep); }
.cuisine-filter-btn.is-active{ background:var(--ink); border-color:var(--ink); color:var(--white); }

.restaurant-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
@media(max-width:960px){ .restaurant-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .restaurant-grid{ grid-template-columns:1fr; } }
.restaurant-card{ position:relative; background:var(--white); border:1px solid rgba(22,40,42,.09); padding:1.6em 1.7em; display:flex; flex-direction:column; gap:.6em; overflow:hidden; transition:opacity .3s, transform .3s; }
.restaurant-card.is-hidden{ display:none; }
.activity-card.is-hidden{ display:none; }
.restaurant-card-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:1em; }
.restaurant-card h3{ font-size:1.15rem; line-height:1.3; }
.restaurant-tags{ display:flex; flex-wrap:wrap; gap:.4em; }
.card-blurb-sm{ font-size:.88rem; line-height:1.55; opacity:.78; margin:0; }
.restaurant-tag{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.06em; text-transform:uppercase; background:var(--sand); color:var(--ink); padding:.3em .7em; border-radius:999px; white-space:nowrap; }
.restaurant-details{ font-size:.86rem; line-height:1.7; opacity:.85; display:flex; flex-direction:column; gap:.35em; }
.restaurant-details div{ display:flex; align-items:flex-start; gap:.55em; }
.restaurant-details svg{ width:14px; height:14px; flex-shrink:0; margin-top:.2em; color:var(--teal-deep); opacity:.75; }
.restaurant-details a{ text-decoration:underline; text-underline-offset:2px; }
.restaurant-details a:hover{ color:var(--teal-deep); }

/* Events iframe (index.html) */
.events-embed{ margin-top:3rem; border:1px solid rgba(22,40,42,.1); background:var(--white); overflow:hidden; }
.events-embed-bar{ display:flex; justify-content:space-between; align-items:center; padding:1.1em 1.6em; border-bottom:1px solid rgba(22,40,42,.08); flex-wrap:wrap; gap:.8em; }
.events-embed-bar h3{ font-size:1.05rem; }
.events-embed-bar p{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; opacity:.6; margin-top:.3em; }
.events-embed iframe{ width:100%; height:70vh; min-height:520px; border:0; display:block; }
.events-fallback{ padding:3em 1.6em; text-align:center; }
.events-fallback p{ opacity:.75; font-size:.92rem; max-width:32em; margin:0 auto 1.4em; line-height:1.6; }

.disclaimer-note{ font-size:.82rem; opacity:.6; margin-top:2.5rem; padding-top:1.5rem; border-top:1px dashed rgba(22,40,42,.15); max-width:50em; line-height:1.7; }
