/* ============================================================================
   Places to Stay and Things to Do hubs (inc/hubs.php). Loads after
   directory.css, which already styles the cards, filters, grid/list switch,
   crumbs, FAQ and the closing block. Only what these two pages add.
   ========================================================================= */

/* A planned page that does not exist yet: the words, not a dead link. */
.is-plain { color: inherit; }
.t-next .is-plain, .t-more .is-plain { display: block; padding-top: 14px; }
.t-more .is-plain { padding: 14px 0; }
.t-next .is-plain b, .t-more .is-plain b { display: block; }
.t-next .is-plain span, .t-more .is-plain span { display: block; font-size: 0.93rem; color: var(--ink-2); margin-top: 2px; }
.t-next li > .is-plain { border-top: 2px solid var(--forest); }

/* ---- Places to Stay: the split hero ------------------------------------- */
.hub-hero-b { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 72px); }
.hub-hero-b-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hub-hero-b h1 { margin: 2px 0 16px; }
.hub-hero-b .lede { margin: 0 0 22px; }
.hub-hero-b-media { margin: 0; }
.hub-hero-b-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hub-facts { margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.hub-facts dt { font-weight: 700; }
.hub-facts dd { margin: 2px 0 0; font-size: var(--t-small); color: var(--ink-2); }
.t-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.t-jump a, .t-jump .is-plain {
  font-size: 0.9rem; font-weight: 700; text-decoration: none; padding: 7px 14px;
  border-radius: 999px; background: var(--cream); color: var(--ink);
}
.t-jump a:hover { background: var(--forest); color: var(--cream); }
@media (max-width: 860px) { .hub-hero-b-in { grid-template-columns: 1fr; } .hub-hero-b-media { order: -1; } }


/* ---- Things to Do: the outdoor activities -------------------------------- */
.hub-acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px) var(--gap); }
.hub-act-media { margin: 0 0 14px; }
.hub-act-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
/* Other no-photo blocks on a cream band (itineraries) keep the paper ground and a hairline to stay visible. */
.band--cream .hub-noimg:not(.hub-act-media) { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
/* An activity with no county photo yet: its name in the display face, in the
   photo's frame. Forest ground with a cream inset rule, so beside real photos it
   reads as a designed title tile, not an empty box (pale cream on the cream band
   looked unfinished, QA 2026-11-20). No stock photos, ever. */
.hub-act-media.hub-noimg {
  aspect-ratio: 3 / 2; border-radius: var(--radius); font-size: 1.5rem;
  background: var(--forest); color: var(--cream);
  box-shadow: inset 0 0 0 8px var(--forest), inset 0 0 0 9px rgba(247, 239, 214, 0.45);
}
.hub-act h3 { margin-bottom: 6px; }
.hub-act h3 a { text-decoration: none; }
.hub-act h3 a:hover { color: var(--sun); }
.hub-act p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 8px; }
.hub-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hub-links a { color: var(--forest); font-weight: 700; font-size: 0.92rem; text-underline-offset: 3px; }
.hub-links a:hover { color: var(--sun); }
.hub-links .is-plain { font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
@media (max-width: 1100px) { .hub-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-acts { grid-template-columns: minmax(0, 1fr); } }
.hub-sub { margin: clamp(34px, 4vw, 52px) 0 10px; }
.t-more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.t-more li { border-bottom: 1px solid var(--line); }
.t-more a { display: block; padding: 14px 0; text-decoration: none; }
.t-more b {
  display: block; font-family: var(--face-display); font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1; font-size: 1.12rem;
}
.t-more a span { display: block; font-size: 0.93rem; color: var(--ink-2); margin-top: 2px; }
.t-more a:hover b { color: var(--sun); }
.hub-out { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
@media (max-width: 720px) { .hub-out { grid-template-columns: 1fr; } }

/* ---- Things to Do: history and the arts beside the family ---------------- */
.hub-named-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.hub-named img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: 18px; }
.hub-named h2 { margin-bottom: 12px; }
@media (max-width: 860px) { .hub-named-pair { grid-template-columns: 1fr; } }

/* ---- Things to Do: every listing, A to Z, by group ----------------------- */
.hub-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.hub-groups h3 { margin-bottom: 10px; }
.hub-n { font-family: var(--face-body); font-size: 1rem; font-weight: 700; color: var(--sun); margin-left: 4px; }
.hub-names { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hub-names li { border-bottom: 1px solid var(--line); }
.hub-names a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; text-decoration: none; }
.hub-names b { font-weight: 600; }
.hub-names span { font-size: var(--t-small); color: var(--ink-2); white-space: nowrap; }
.hub-names a:hover b { color: var(--sun); }
@media (max-width: 860px) { .hub-groups { grid-template-columns: 1fr; } }
.towns .is-plain.town { display: block; }
