/* v1 (camp) — "What to do in the Dells" guide styles */

.nav-links a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--ember); }

.ttd1-hero { position: relative; color: var(--cream); isolation: isolate; padding: 170px 0 90px; overflow: hidden; }
.ttd1-hero-bg { position: absolute; inset: 0; z-index: -2; }
.ttd1-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ttd1-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 14, 9, 0.88), rgba(20, 14, 9, 0.35) 75%), linear-gradient(0deg, rgba(20, 14, 9, 0.5), transparent 50%); }
.ttd1-hero .eyebrow { color: var(--honey); }
.ttd1-hero h1 { font-size: clamp(46px, 7.5vw, 96px); max-width: 11ch; text-wrap: balance; }
.ttd1-hero p { max-width: 50ch; font-size: 19px; opacity: 0.92; margin: 18px 0 28px; }
.ttd1-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ttd1-badges span { border: 1.5px dashed rgba(234, 165, 58, 0.8); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 15px; }
.ttd1-badges b { font-family: var(--serif); color: var(--honey); font-size: 18px; }

.ttd1-sec { padding: clamp(56px, 8vw, 100px) 0; }
.ttd1-head { margin-bottom: 28px; max-width: 640px; }
.ttd1-head p { color: var(--bark-2); margin: 12px 0 0; }

.g-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Matrix: trail-guide table */
.g-matrix-scroll { overflow-x: auto; border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); }
.g-matrix { width: 100%; border-collapse: collapse; min-width: 760px; }
.g-matrix thead th { padding: 16px 12px; font-family: var(--serif); font-weight: 600; font-size: 20px; text-align: left; background: var(--pine); color: var(--cream); }
.g-matrix thead th .g-icon { color: var(--honey); vertical-align: -4px; margin-right: 8px; }
.g-matrix thead td { background: var(--pine); }
.g-now { font-style: normal; font-family: var(--hand); font-size: 20px; font-weight: 700; color: var(--honey); margin-left: 8px; transform: rotate(-6deg); display: inline-block; }
.g-matrix tbody th { text-align: left; padding: 12px 16px; font-weight: 700; font-size: 15.5px; white-space: nowrap; border-top: 1px dashed var(--line-2); background: var(--paper-2); }
.g-matrix tbody th .g-icon { color: var(--ember-2); vertical-align: -5px; margin-right: 8px; }
.g-cell { border-top: 1px dashed var(--line-2); border-left: 1px dashed var(--line-2); padding: 0; vertical-align: top; }
.g-cell button { width: 100%; min-height: 76px; border: 0; background: transparent; text-align: left; padding: 10px 12px; display: grid; gap: 2px; transition: background 0.15s; }
.g-cell button:hover { background: #fff1d6; }
.g-cell b { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ember-2); font-weight: 600; }
.g-cell span { font-size: 13px; color: var(--bark-2); line-height: 1.3; }
.g-cell.is-empty { text-align: center; vertical-align: middle; color: var(--bark-3); }

/* Controls */
.ttd1-controls { position: sticky; top: 72px; z-index: 20; background: rgba(246, 238, 221, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
@media (max-width: 860px) { .ttd1-controls { position: static; } }
.g-seasons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 12px; }
@media (max-width: 760px) { .g-seasons { display: flex; overflow-x: auto; scrollbar-width: none; } .g-seasons::-webkit-scrollbar { display: none; } .g-season { flex: none; min-width: 132px; } }
.g-season { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; transition: background 0.15s, box-shadow 0.15s; }
.g-season .g-icon { grid-row: span 2; width: 26px; height: 26px; color: var(--moss); }
.g-season-label { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.1; }
.g-season-sub { font-size: 12.5px; color: var(--bark-3); font-weight: 600; }
.g-season:hover { box-shadow: var(--shadow); }
.g-season.is-on { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.g-season.is-on .g-icon, .g-season.is-on .g-now { color: var(--honey); }
.g-season.is-on .g-season-sub { color: rgba(255, 249, 238, 0.7); }
.g-cats { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .g-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .g-cats::-webkit-scrollbar { display: none; } .g-chip { flex: none; } }
.g-chip { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1.5px dashed var(--line-2); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14.5px; }
.g-chip .g-icon { width: 17px; height: 17px; color: var(--ember-2); }
.g-chip span { font-size: 12px; color: var(--bark-3); }
.g-chip:hover { border-style: solid; border-color: var(--bark); }
.g-chip.is-on { background: var(--bark); color: var(--cream); border: 1.5px solid var(--bark); }
.g-chip.is-on .g-icon { color: var(--honey); }
.g-chip.is-on span { color: rgba(255, 249, 238, 0.7); }
.g-chip:disabled { opacity: 0.4; cursor: default; }

/* Campfire layout: seasons full width across the top; below, the type filters in a left sidebar beside the
   results (a scrolling row on phones) */
/* the sidebar is as wide as one season button (5 across with 10px gaps) */
.ttd1-layout { display: grid; grid-template-columns: calc((100% - 40px) / 5) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.ttd1-layout .ttd1-controls { display: contents; }
.ttd1-layout .g-seasons { grid-column: 1 / -1; grid-row: 1; margin: 0 0 22px; }
.ttd1-layout .g-cats { grid-column: 1; grid-row: 2; margin-top: 18px; position: sticky; top: 96px; flex-direction: column; flex-wrap: nowrap; gap: 6px; }
.ttd1-layout .g-chip { width: 100%; border-radius: 14px; padding: 10px 14px; }
.ttd1-layout .g-chip span { margin-left: auto; }
.ttd1-layout .ttd1-results { grid-column: 2; grid-row: 2; }
.ttd1-layout .g-group { scroll-margin-top: 100px; }
@media (max-width: 860px) {
  .ttd1-layout { display: block; }
  .ttd1-layout .g-seasons { margin-bottom: 12px; }
  .ttd1-layout .g-cats { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .ttd1-layout .g-chip { width: auto; flex: none; border-radius: 999px; padding: 7px 14px; }
  .ttd1-layout .g-chip span { margin-left: 0; }
}

/* Results */
.g-status { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 4px; color: var(--bark-2); }
.g-status b { font-family: var(--serif); font-size: 22px; color: var(--bark); }
.g-reset { background: none; border: 0; font-weight: 700; color: var(--ember-2); text-decoration: underline; text-underline-offset: 3px; }
.g-group { padding-top: 34px; scroll-margin-top: 240px; }
.g-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.g-group-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed var(--ember); color: var(--ember-2); }
.g-group-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.g-count { font-family: var(--hand); font-size: 24px; color: var(--ember-2); font-weight: 700; }
.g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g-cards { grid-template-columns: 1fr; } }
.g-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow 0.2s, transform 0.2s; }
.g-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.g-card-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bark-3); }
.g-cat { display: inline-flex; align-items: center; gap: 6px; color: var(--moss); }
.g-cat .g-icon, .g-drive .g-icon { width: 16px; height: 16px; }
.g-drive { display: inline-flex; align-items: center; gap: 5px; }
.g-name { font-size: 22px; line-height: 1.12; }
.g-where { margin: -4px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--bark-3); }
.g-where .g-icon { width: 14px; height: 14px; }
.g-blurb { margin: 0; color: var(--bark-2); font-size: 15px; line-height: 1.5; }
.g-tip { margin: 0; display: flex; gap: 8px; font-family: var(--hand); font-size: 20px; line-height: 1.15; color: var(--ember-2); }
.g-tip .g-icon { width: 18px; height: 18px; margin-top: 2px; }
.g-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; }
.g-pips { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.g-pips li { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--paper-3); border: 1px dashed var(--paper-3); }
.g-pips li .g-icon { width: 15px; height: 15px; }
.g-pips li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.g-pips li.on { background: var(--pine); border: 1px solid var(--pine); color: var(--honey); }
.g-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--ember-2); text-decoration: none; }
.g-link .g-icon { width: 16px; height: 16px; stroke-width: 2.2; }
.g-link:hover { text-decoration: underline; }
.g-empty { color: var(--bark-3); padding: 40px 0; }
.g-fine { margin: 40px 0 0; font-size: 14px; color: var(--bark-3); max-width: 70ch; }
