/* Explore page and the Walk Around the Square. Kept in its own file so changes show up straight away. */

/* ---- Explore ---- */
.explore-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin: 1rem 0 2rem; border: 2px solid var(--green);
  border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.explore-hero picture, .explore-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.explore-hero .words { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.explore-hero .kicker { margin: 0; font-weight: bold; text-transform: uppercase; letter-spacing: .06em; color: var(--brick); font-size: .95rem; }
.explore-hero h2 { margin: 0; font-size: 1.9rem; color: var(--green-dark); }
.explore-hero ol { margin: .2rem 0 .4rem 1.2rem; padding: 0; }
.explore-hero .button { align-self: flex-start; font-size: 1.15rem; }
.explore-group { margin: 2.2rem 0 0; }
.explore-group > h2 { margin-bottom: .2rem; }
.explore-group > p { margin-top: 0; color: var(--muted); }
.explore-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1rem 0; }
.explore-tiles li { max-width: none; }
.explore-tiles a { display: block; height: 100%; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.explore-tiles a:hover { border-color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.explore-tiles img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.explore-tiles .cap { display: block; padding: .8rem 1.1rem 1rem; }
.explore-tiles strong { display: block; color: var(--green-dark); font-size: 1.15rem; }
@media (max-width: 48rem) { .explore-hero { grid-template-columns: 1fr; } .explore-hero img { aspect-ratio: 3 / 2; height: auto; } }

/* ---- Walk Around the Square ---- */
.walk-howto { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; background: var(--card); border: 2px solid var(--green);
  border-radius: 12px; padding: .8rem 1.2rem; margin: 1rem 0; }
.walk-howto p { margin: 0; max-width: none; }
.walk-swatch { display: inline-block; width: 1.4em; height: 1em; vertical-align: -.1em; background: rgba(242,210,122,.55); border: 2px solid var(--brick); border-radius: 2px; }
.walk-toggle { font: inherit; padding: .4rem .9rem; border: 2px solid var(--green); border-radius: 8px; background: #fff; color: var(--green-dark); cursor: pointer; }
.walk-toggle[aria-pressed="true"] { background: var(--green); color: #fff; }
.map-stack .map-overlay a > :not(title) { fill: rgba(242,210,122,.38); stroke: var(--brick); stroke-width: 1.6; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s; }
.map-stack .map-overlay a:hover > :not(title), .map-stack .map-overlay a:focus > :not(title), .map-stack .map-overlay a.on > :not(title) { fill: rgba(242,210,122,.85); stroke-width: 3; }
.map-stack .map-overlay a:focus { outline: none; }
.map-stack .map-overlay a:focus > :not(title) { stroke: var(--focus); }
.map-stack.plain .map-overlay a > :not(title) { fill: transparent; stroke: transparent; }
.map-stack.plain .map-overlay a:hover > :not(title), .map-stack.plain .map-overlay a:focus > :not(title) { fill: rgba(242,210,122,.85); stroke: var(--brick); }
.walk-caption { min-height: 2.2em; text-align: center; font-size: 1.2rem; font-weight: bold; color: var(--green-dark); margin: .4rem 0 1rem; max-width: none; }
.walk-list { columns: 16rem; column-gap: 2rem; padding-left: 1.2rem; }
.walk-list li { break-inside: avoid; margin-bottom: .25rem; max-width: none; }

/* ---- The Chronicles ---- */
.chron-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center; margin: 1rem 0 1.5rem; padding: 1.6rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.chron-hero h1 { color: #fff; margin: 0 0 .4rem; }
.chron-hero .kicker { margin: 0; color: var(--gold); font-weight: bold; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.chron-hero .lead { margin: .4rem 0 1rem; }
.chron-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; padding: 0; margin: 0; }
.chron-facts li { max-width: none; }
.chron-facts strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--gold); }
.chron-ask { background: #fff; color: var(--ink); border-radius: 12px; padding: 1rem 1.2rem 1.2rem; text-align: center; }
.chron-ask h2 { margin: .5rem 0 .2rem; font-size: 1.35rem; color: var(--green-dark); }
.chron-ask p { margin: .2rem auto .8rem; }
.chron-ask .button { font-size: 1.1rem; }
.chron-newest { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; background: #fff6dc; border: 2px solid #b08a00; border-radius: 12px; padding: .9rem 1.3rem; margin: 0 0 1.5rem; }
.chron-newest .icon { width: 2.6rem; height: 2.6rem; color: var(--green-dark); }
.chron-newest p { margin: 0; max-width: none; }
.chron-newest strong { font-size: 1.2rem; }
.chron-tools { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; margin: 0 0 1rem; }
.decade-jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.decade-jump a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: bold; }
.decade-jump a:hover { background: var(--green-dark); color: #fff; text-decoration: underline; }
.chron-find label { font-weight: bold; margin-right: .5rem; }
.chron-find input { font: inherit; padding: .45rem .7rem; border: 2px solid #6b6b6b; border-radius: 8px; width: 9rem; }
.chron-count { margin: 0 0 .5rem; color: var(--muted); }
.decade { margin: 0 0 1.8rem; scroll-margin-top: 1rem; }
.decade > h3 { display: flex; align-items: baseline; gap: .8rem; margin: 0 0 .6rem; padding-bottom: .3rem; border-bottom: 3px solid var(--gold); color: var(--green-dark); font-size: 1.6rem; }
.decade > h3 small { font-size: 1rem; font-weight: normal; color: var(--muted); }
.issue-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .7rem; }
.issue-grid li { max-width: none; }
.issue-grid a { display: block; height: 100%; padding: .7rem .9rem; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 8px; text-decoration: none; color: var(--ink); }
.issue-grid a:hover { border-color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.issue-grid .yr { display: block; font-size: 1.5rem; font-weight: bold; color: var(--green-dark); line-height: 1.2; }
.issue-grid .meta { display: block; font-size: .95rem; color: var(--muted); }
.issue-grid .open { display: block; margin-top: .3rem; font-weight: bold; color: var(--brick); }
.issue-grid a:hover .open { text-decoration: underline; }
.chron-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 48rem) { .chron-hero, .chron-info { grid-template-columns: 1fr; } }

/* Explore cards: the same icon set everywhere */
.tile-banner { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; --icon-accent: var(--gold); }
.tile-banner .icon { width: 4.5rem; height: 4.5rem; vertical-align: 0; }
.explore-tiles strong .icon { color: var(--green); margin-right: .45rem; vertical-align: -.3em; }
.explore-hero .button .icon { color: #fff; --icon-accent: var(--gold); }

/* Chronicles cards: one-line highlights */
.issue-grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.issue-grid .blurb { display: block; margin-top: .35rem; font-size: .98rem; line-height: 1.4; }
.chron-note { color: var(--muted); max-width: 46rem; margin-top: 0; }
