/* Events & Rules page (prefix ev-)
   Default build: four plain event-type columns (Text modules, no icons), each
   with a red top rule, a small gray "This season" label, the type name, a
   one-sentence description and this season's event names,
   then a sentence + two buttons linking to the event descriptions and the
   Scioly.org wiki. The official rules follow in their own gray section, with two
   buttons for the Rules Manual and the corrections. */

.ev-muted { color: var(--muted); }
.ev-note { margin: 0; }
.ev-note:has(.placeholder-note) { margin-top: 10px; }

/* ---------- Event type blocks: plain columns, each under a 3px red rule ---------- */
.ev-types { column-gap: 36px; }
.ev-types .card { padding: 24px 0 0; border: 0; border-top: 3px solid var(--red); border-radius: 0; background: none; }
.ev-types .card h3 { font-size: 24px; margin-bottom: 10px; }
.ev-types .card p { margin-bottom: 22px; }
.ev-names { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.ev-names li { position: relative; padding-left: 18px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.ev-names li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Season label: a small caps label on the thin rule, between the description and the list ----------
   The site's small caps label, in gray so it doesn't compete with the red rule.
   Wording decided Nov 22: "This season's events". */
.ev-kicker { display: block; padding-top: 16px; border-top: 1px solid var(--line); font: 700 13px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-types .ev-names { padding-top: 12px; border-top: 0; }

/* Line up the name, description, label and list across the row, so every list starts at the
   same height (in Divi: keep the four descriptions about the same length). Four subgrid rows. */
@media (min-width: 641px) {
  .ev-types .card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .ev-types .ev-names { align-self: start; }
}

/* ---------- Links: sentence left, two buttons right, under a rule (Divi: Text + 2 Button modules) ---------- */
.ev-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ev-links { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.ev-links p { flex: 1 1 420px; max-width: 620px; margin: 0; font-size: 18px; color: var(--muted); }

/* ---------- Official rules: heading left, text right ---------- */
.ev-rules { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ev-rules h2 { margin: 0; }
.ev-rules .lead { margin: 0 0 14px; }
.ev-rules .ev-muted { margin: 0 0 26px; font-size: 17px; }

@media (max-width: 980px) {
  .ev-rules { grid-template-columns: 1fr; gap: 22px; }
  .ev-types { row-gap: 40px; }
}
@media (max-width: 640px) {
  .ev-types .card { padding: 22px 0 0; }
  .ev-links p { flex-basis: auto; font-size: 17px; }
  .ev-btns .btn { width: 100%; justify-content: center; }
}
