/* Soul Coffee Truck „Nad vodojemy" (DIRECTION.md §3.6). The group system (tokens, header, sheet, hero
   frame, controls, events, footer) is group.css, the kit's file verbatim, linked first; this file sets the
   brand, composes the page and owns the truck's season card (VENUE-HERO-2.md). */

:root {
  --brand: #00554b;
  --brand-lift: #00796b;
  --font-write: "Courier Prime", "Courier New", monospace;
  --label-weight: 700;
}

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.skip { font: 500 .9375rem/1 var(--font-read); }

/* ---------- 1. the hero: the truck on its deck and its season card (focal in build.mjs) ---------- */
.sg-hero__photo { min-height: 15rem; background: #2c3a2f; }
.card-vodojemy {
  --hero-object-padding: 1.25rem;
  display: grid; gap: .75rem;
  background: #00554b; color: #fff;
}
.card-vodojemy__label { font: 500 1rem/1.2 var(--font-read); text-transform: none; letter-spacing: 0; }
.card-vodojemy__title { text-wrap: normal; }
.card-vodojemy__season-label { display: block; margin-bottom: .375rem; font: 400 .8125rem/1.3 var(--font-write); }
.card-vodojemy__season-range { display: block; font: 700 2rem/1.05 var(--font-display); letter-spacing: -.01em; }
.card-vodojemy__state { font: 500 1rem/1.4 var(--font-read); text-wrap: pretty; }
.card-vodojemy__place { font: 400 .875rem/1.4 var(--font-write); text-wrap: pretty; }
.card-vodojemy__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.card-vodojemy__actions .sg-btn { height: 3rem; padding-inline: 1.25rem; background: #fff; border-color: #fff; color: #00554b; }
.card-vodojemy__actions .sg-btn:hover { background: #edf4f2; color: #00554b; }
.card-vodojemy__actions .sg-btn:focus-visible { outline-color: #fff; }
.card-vodojemy__actions .sg-link { display: inline-flex; align-items: center; min-height: 2.75rem; font: 500 .9375rem/1.2 var(--font-read); color: #fff; }
.card-vodojemy__actions .sg-link:hover { color: #fff; text-decoration-thickness: 2px; }
@media (min-width: 48rem) {
  .card-vodojemy { --hero-object-padding: 1.5rem; }
  .card-vodojemy__season-range { font-size: 2.25rem; }
}
@media (min-width: 64rem) {
  .card-vodojemy { --hero-object-padding: 1.75rem; }
  .card-vodojemy__season-range { font-size: 2.5rem; }
}

/* ---------- 2. Nad vodojemy: Tomáš's six paragraphs in two columns, Pod vámi as their coda ---------- */
.sg-section.story { padding: 3.5rem 0 4rem; }
.story__title { grid-column: 1 / -1; margin-bottom: 1.5rem; font-size: 2.125rem; font-weight: 700; line-height: 1.08; }
.story__lead { grid-column: 1 / -1; max-width: 42ch; font: 400 1.375rem/1.4 var(--font-read); text-wrap: pretty; }
.story__body { grid-column: 1 / -1; min-width: 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.6; }
.story__body--left { margin-top: 2rem; }
.story__body--right { margin-top: 1rem; }
.sg-body p { text-wrap: pretty; }
.sg-body p + p { margin-top: 1rem; }
.story__body .sg-link { overflow-wrap: anywhere; }
.below { margin-top: 3rem; padding-block: 2rem; background: #00554b; color: #fff; }
.below__title { grid-column: 1 / -1; margin-bottom: 1.25rem; font-size: 1.75rem; font-weight: 700; line-height: 1.15; }
.below__body { grid-column: 1 / -1; min-width: 0; }
.below__body, .below__body .sg-body { font-size: 1.0625rem; line-height: 1.55; }
.below .sg-body, .below .sg-link { color: #fff; opacity: 1; }
.below .sg-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.below .sg-link:hover { color: #fff; text-decoration-thickness: 2px; }
.below .sg-body p:has(> .sg-link) { margin-top: 1.25rem; }
@media (min-width: 48rem) {
  .sg-section.story { padding: 4.5rem 0 5rem; }
  .story__title { font-size: 2.75rem; margin-bottom: 2rem; }
  .story__lead { font-size: 1.5rem; }
  .below { margin-top: 4rem; padding-block: 2.5rem; }
}
@media (min-width: 64rem) {
  .sg-section.story { padding: 6rem 0; }
  .story__grid { align-items: start; }
  .story__title { font-size: 3.5rem; }
  .story__lead { grid-column: 1 / 9; font-size: 1.75rem; }
  .story__body { grid-row: 3; margin-top: 2.5rem; }
  .story__body--left { grid-column: 1 / 7; }
  .story__body--right { grid-column: 7 / 13; }
  .below { margin-top: 5rem; padding-block: 3rem; }
  .below__title { grid-column: 1 / 5; font-size: 2.25rem; margin-bottom: 0; }
  .below__body { grid-column: 7 / 13; }
  .below__body, .below__body .sg-body { font-size: 1.125rem; }
}

/* ---------- 3. Program: the group's events for the truck ---------- */
.sg-section.program { padding-top: 4rem; }
.program__title { margin-bottom: var(--head-gap); font-size: 2.125rem; line-height: 1.08; }
@media (min-width: 48rem) {
  .sg-section.program { padding-top: 5rem; }
  .program__title { font-size: 2.75rem; }
}
@media (min-width: 64rem) {
  .sg-section.program { padding-top: 6rem; }
  .program__title { font-size: 3.5rem; }
}
