/* ─────────────────────────────────────────────────────────────────────────
   awards-cluster.css — shared styling for the Emmy / awards cluster
   Added 2026-09-06.

   Styles exactly three shared partials and nothing else:
     includes/awards-cta.php        → .l4-cta
     includes/emmy-event-facts.php  → .l4-facts
     includes/awards-disclosure.php → .l4-disclosure

   These partials appear on both the dark hand-built /events/ pages and the
   light renderer-driven pages, so every block paints its own background and
   inherits no page colour. Every selector is prefixed .l4- so nothing here
   can reach the shared header, the footer, or any other page.

   Type scale and colour follow the existing brand: Playfair Display for
   headings, Montserrat for body, gold #c9a44a.
   ───────────────────────────────────────────────────────────────────────── */

.l4-cta,
.l4-facts,
.l4-disclosure {
  --l4-ink: #0d1115;
  --l4-panel: #151b21;
  --l4-paper: #f4f1ea;
  --l4-text: #f7f5ef;
  --l4-text-dark: #23282d;
  --l4-muted: #b9bec3;
  --l4-muted-dark: #4f565c;
  --l4-gold: #c9a44a;
  --l4-gold-bright: #e0c274;
  --l4-line: rgba(255, 255, 255, 0.14);
  --l4-line-dark: rgba(13, 17, 21, 0.14);
  --l4-display: 'Playfair Display', Georgia, serif;
  --l4-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  box-sizing: border-box;
  font-family: var(--l4-body);
  margin: 3rem 0;
}

.l4-cta *,
.l4-facts *,
.l4-disclosure * {
  box-sizing: border-box;
  max-width: 100%;
}

/* Shared inner width so the three blocks line up with each other. */
.l4-cta__inner,
.l4-facts__inner,
.l4-disclosure > p {
  width: min(100% - 2rem, 1080px);
  margin-inline: auto;
}

/* ── Focus. One visible treatment everywhere, never removed. ───────────── */
.l4-cta a:focus-visible,
.l4-facts a:focus-visible,
.l4-disclosure a:focus-visible {
  outline: 3px solid var(--l4-gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ═══ 1. Conversion module ═════════════════════════════════════════════ */

.l4-cta {
  background: var(--l4-ink);
  color: var(--l4-text);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  border-top: 1px solid rgba(201, 164, 74, 0.28);
  border-bottom: 1px solid var(--l4-line);
}

.l4-cta__heading {
  font-family: var(--l4-display);
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--l4-text);
  margin: 0 0 0.85rem;
}

.l4-cta__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--l4-muted);
  margin: 0 0 1.75rem;
  max-width: 62ch;
}

/* Button and the readable address sit side by side, and stack on phones. */
.l4-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.l4-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;          /* comfortably above the 44px target floor */
  min-width: 44px;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(180deg, var(--l4-gold-bright) 0%, var(--l4-gold) 100%);
  color: #17130a;
  font-family: var(--l4-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 3px;
  transition: filter 0.2s ease;
}

.l4-cta__button:hover { filter: brightness(1.08); }

/* The address is readable text, not something hidden behind the button. */
.l4-cta__email {
  margin: 0;
  font-size: 1rem;
  color: var(--l4-muted);
}

.l4-cta__email a {
  color: var(--l4-gold-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  /* keep the address itself easy to select and copy */
  user-select: text;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

.l4-cta__secondary {
  margin: 1.35rem 0 0;
  font-size: 0.94rem;
  color: var(--l4-muted);
}

.l4-cta__secondary a {
  color: var(--l4-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

.l4-cta__note {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--l4-line);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #8f959b;
  max-width: 64ch;
}

/* ═══ 2. Dated official-instructions card ══════════════════════════════ */

.l4-facts {
  background: var(--l4-paper);
  color: var(--l4-text-dark);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}

.l4-facts__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6d1f;
}

.l4-facts__heading {
  font-family: var(--l4-display);
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  color: #14181c;
}

.l4-facts__lead {
  margin: 0 0 1.9rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--l4-muted-dark);
  max-width: 66ch;
}

/* Definition rows. Two columns where there is room, one on a phone. */
.l4-facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem 2.5rem;
  margin: 0;
}

.l4-facts__grid > div {
  padding-top: 1rem;
  border-top: 1px solid var(--l4-line-dark);
}

.l4-facts__grid dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8a6d1f;
  margin: 0 0 0.45rem;
}

.l4-facts__grid dd {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.62;
  color: #2b3136;
}

/* Sources sit beside the facts, never buried in the footer. */
.l4-facts__sources {
  margin-top: 2.25rem;
  padding: 1.4rem 1.5rem;
  background: rgba(13, 17, 21, 0.05);
  border-left: 3px solid var(--l4-gold);
  border-radius: 2px;
}

.l4-facts__sources-label {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6b5518;
}

.l4-facts__sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.2rem 1.75rem;
}

.l4-facts__sources li a {
  display: inline-block;
  min-height: 44px;
  line-height: 1.45;
  padding: 0.62rem 0;
  font-size: 0.93rem;
  color: #1f4f7a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.l4-facts__sources li a:hover { color: #14385c; }

.l4-facts__verified {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--l4-line-dark);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #5b6167;
}

/* After the event the card steps back visually. */
.l4-facts--past { background: #ebe7dd; }
.l4-facts--past .l4-facts__eyebrow { color: #6f7378; }

/* ═══ 3. Independence disclosure ═══════════════════════════════════════ */

.l4-disclosure {
  background: var(--l4-panel);
  color: var(--l4-muted);
  padding: clamp(1.5rem, 3.5vw, 2.1rem) 0;
  border-top: 1px solid var(--l4-line);
  border-bottom: 1px solid var(--l4-line);
}

.l4-disclosure > p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  max-width: 90ch;
}

.l4-disclosure strong { color: var(--l4-text); }

/* ── Phones ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .l4-cta,
  .l4-facts,
  .l4-disclosure { margin: 2.25rem 0; }

  .l4-cta__inner,
  .l4-facts__inner,
  .l4-disclosure > p { width: min(100% - 1.5rem, 1080px); }

  /* Stack the button above the address, both full width and easy to hit. */
  .l4-cta__actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .l4-cta__button { width: 100%; }
  .l4-cta__email { text-align: left; }

  .l4-facts__grid { gap: 1.25rem; }
  .l4-facts__sources { padding: 1.15rem 1.1rem; }
}

/* ── Reduced motion ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .l4-cta__button { transition: none; }
}

/* ── Print ─────────────────────────────────────────────────────────────── */

@media print {
  .l4-cta { background: #fff; color: #000; border-color: #999; }
  .l4-cta__heading,
  .l4-cta__body,
  .l4-cta__email,
  .l4-cta__note { color: #000; }
  .l4-cta__button { background: none; color: #000; border: 1px solid #000; }
  .l4-facts { background: #fff; }
  .l4-disclosure { background: #fff; color: #000; }
  /* the address must survive on paper */
  .l4-cta__email a::after { content: ""; }
}
