/* ==========================================================================
   iRama — the components style.css does not carry: the contact form, the
   empty state and the news list. Built from the tokens in style.css, so they
   follow the --g-* ramp with everything else. Load after style.css.

   This was the booking components — pricing cards, a slot grid, a date strip,
   a booking summary, a step header — plus an override that fixed the "Book a
   pitch" button inside the nav, which was a .btn in a .nav and lost every
   shared property to `.nav a` on specificity. All of it went with the booking
   feature, along with the opening-hours list and the venue blocks. There is
   no .btn in the nav any more, so the override went too.
   ========================================================================== */

/* ---------- Forms -------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 18px;
}
.form-grid .field--wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: .86rem; font-weight: 550; color: var(--ink-2); }
.field .help { font-size: .8rem; color: var(--body-2); }
.field .errorlist {
  margin: 0; padding: 0; list-style: none;
  font-size: .82rem; color: var(--red-700);
}
.form-error {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--red-200);
  border-left: 3px solid var(--red-600);
  border-radius: var(--r-md);
  background: var(--red-50);
  color: var(--red-900);
  font-size: .92rem;
}
.form-error ul { margin: 0; padding-left: 18px; }

/* ---------- Empty states ------------------------------------------------- */
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 64px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--g-50);
  text-align: center;
}
.empty-state .ico { width: 34px; height: 34px; color: var(--g-400); }
.empty-state p { max-width: 46ch; color: var(--body); }

/* ---------- News --------------------------------------------------------- */
.news-list > article + article {
  margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line);
}

/* A fieldset used only for its legend. */
fieldset.bare { border: 0; padding: 0; margin: 0; min-width: 0; }
