/*
Theme Name: Start Aš
Theme URI: https://start-as.lt
Author: Renginio genas, MB
Description: Custom theme for the „Start Aš“ study-fair site, built from the design handoff (code export is the visual source of truth).
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: startas
*/

/* WordPress-specific additions on top of css/tokens.css + css/main.css
   (both copied verbatim from the design export — do not fork them here). */

/* Program rows with a time column — restored per the row-template note in code/index.html */
.stage__row { grid-template-columns: 80px 1fr auto; }
.row__time { font-weight: var(--weight-black); font-size: var(--text-body-lg); color: var(--color-text-muted); }
.stage__row--confirmed .row__time { color: var(--color-navy); }
@media (max-width: 600px) {
  .stage__row { grid-template-columns: 54px 1fr auto; }
}

/* Real partner logos inside the fixed 110px tiles (docs/04 §19) */
.partner img { max-height: 48px; max-width: 70%; }
a.partner { transition: border-color var(--transition-fast); }
a.partner:hover { border-color: var(--color-red); }

/* FAQ answers from the editor (paragraph blocks) */
.faq__a p { margin: 0 0 8px; }
.faq__a p:last-child { margin-bottom: 0; }

/* Form success state — replaces the form card contents (docs/06 §8) */
.form-success { display: flex; flex-direction: column; gap: 10px; }
.form-success__title { font-size: var(--text-h3); font-weight: var(--weight-black); }
.form-success__text { font-size: var(--text-body); font-weight: var(--weight-light); line-height: var(--leading-body); color: var(--color-text-soft); }
.ticket-form .form-success__title { color: var(--color-white); }
.ticket-form .form-success__text { color: var(--on-dark-muted); }
.form-error { font-size: var(--text-small); font-weight: var(--weight-medium); color: var(--color-red-dark); }
.ticket-form .form-error { color: var(--color-red-tint); }

/* Tickets teaser band — text only, no grid below the section head */
.tickets-band--teaser .section-head--left { margin-bottom: 0; }

/* Interior page-header band — derived templates (docs/08 §3–6) */
.page-band { background: var(--color-navy); }
.page-band__inner { padding: var(--space-64) 0; }
.page-band__title { font-size: var(--text-h2); line-height: var(--leading-h2); letter-spacing: var(--tracking-h2); font-weight: var(--weight-black); color: var(--color-white); margin: 0; }

/* Blog-archive card extras (docs/08 §3) */
.card__date { font-size: var(--text-small); font-weight: var(--weight-light); color: var(--color-text-muted); margin-bottom: 6px; }

/* 404 (docs/08 §5) — full-height navy band, footer pinned to the bottom */
body.error404 { min-height: 100vh; display: flex; flex-direction: column; }
body.error404 main { flex: 1; display: flex; flex-direction: column; }
body.error404 .error-band { flex: 1; display: flex; align-items: center; }
.error-band .container { width: 100%; }
.error-band .hero__content { max-width: none; align-items: center; text-align: center; }
.error-band .accent { color: var(--color-red); }
