/* /press (preview since 2026-11-05): the TEDxDUTH press room. Uses the site tokens
   from style.css (--bg, --ink, --ink-weak, --muted, --card, --red, --border-light,
   --radius, --focus, --font-display) so it follows the light and .dark themes.
   Everything is scoped under .press. Layout: hero with actions, a wrapping section
   menu, fact strip, then sections of cards; one reading column for long text. */
.press { display: flex; flex-direction: column; gap: 28px; padding-block: 8px 64px; }
.press-preview { background: #ffe066; color: #1a1a1a; border-radius: 10px; padding: 10px 14px; font-size: .92rem; line-height: 1.5; }
.press-preview code { font-size: .9em; }

/* Hero */
.press-hero { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.press-hero .kicker { margin: 0; color: var(--red); }
.press-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.15; letter-spacing: 0; margin: 0; text-wrap: balance; }
.press-hero .lead { font-size: 1.15rem; line-height: 1.6; margin: 0; max-width: 62ch; }
.press-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.press-updated { margin: 0; color: var(--muted); font-size: .88rem; }

/* Buttons and links */
.press-dls { display: flex; flex-wrap: wrap; gap: 10px; }
.press-dl {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 14px; min-height: 44px;
  border: 2px solid var(--ink); border-radius: 10px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .95rem; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.press-dl:hover { background: var(--ink); color: var(--bg); }
.press-dl.is-primary { background: var(--red); border-color: var(--red); color: #fff; padding: 13px 18px; font-size: 1rem; }
.press-dl.is-primary:hover { filter: brightness(1.08); background: var(--red); color: #fff; }
.press-dl-meta { font-weight: 500; font-size: .85rem; opacity: .78; font-variant-numeric: tabular-nums; white-space: nowrap; }
.press-link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 10px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.press-dl:focus-visible, .press-link-btn:focus-visible, .press-toc a:focus-visible, .press-coverage a:focus-visible, .press-photo-img:focus-visible, .press-ext:focus-visible { outline: none; box-shadow: var(--focus); }
.press-ext { color: var(--red); font-weight: 700; align-self: center; padding: 6px 2px; }
.press-dls.is-compact .press-dl { min-height: 40px; padding: 8px 12px; font-size: .9rem; }

/* Section menu */
.press-toc { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 4px; }
.press-toc a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-light); background: var(--card); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .92rem; transition: border-color .2s ease;
}
.press-toc a:hover { border-color: var(--red); }

/* Facts */
.press-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px;
  background: var(--border-light); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; margin: 0;
}
.press-facts > div { background: var(--card); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.press-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.press-facts dd { margin: 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.press-facts a, .press-use a, .press-note a { color: var(--red); font-weight: 700; }
.press-sel { user-select: all; font-weight: 700; }

/* Sections */
.press-section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 90px; }
.press-section-head { display: flex; flex-direction: column; gap: 8px; }
.press-section-head .kicker { margin: 0; }
.press-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; letter-spacing: 0; margin: 0; text-wrap: balance; max-width: 36ch; }
.press-h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.3; margin: 8px 0 0; }
.press-sub { margin: 0; color: var(--muted); font-weight: 600; }
.press-note { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 72ch; }

/* Release */
.press-release { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: clamp(18px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.press-release p, .press-release h3 { max-width: 68ch; margin: 0; }
.press-release p { line-height: 1.75; color: var(--ink-weak); }
.press-release h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; margin-top: 10px; }
.press-standfirst { font-size: 1.12rem; font-weight: 600; color: var(--ink) !important; }
.press-archive { display: flex; flex-direction: column; gap: 10px; }
.press-archive-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border-light); }
.press-archive-list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.press-archive-date { margin: 0; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.press-archive-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.press-archive-title { margin: 0; font-weight: 700; line-height: 1.4; }

/* Numbers */
.press-numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.press-numbers li { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.press-numbers strong { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1.15; color: var(--red); font-variant-numeric: tabular-nums; }
.press-numbers span { color: var(--ink-weak); line-height: 1.45; }

/* Cards */
.press-gfx, .press-logos, .press-media, .press-photos, .press-speakers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.press-gfx { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.press-photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.press-logos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.press-speakers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.press-card { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.press-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.press-card-body h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.press-card-body .press-dls { margin-top: auto; flex-direction: column; }
.press-card .press-dl { width: 100%; justify-content: space-between; }
.press-thumb { background: #3b1d73; aspect-ratio: 4 / 3; position: relative; max-width: 100%; }
.press-thumb img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; display: block; }
.press-photo { margin: 0; display: flex; flex-direction: column; }
.press-photo-img { display: block; aspect-ratio: 3 / 2; background: #111; overflow: hidden; max-width: 100%; }
.press-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.press-photo-img:hover img { transform: scale(1.02); }
.press-photo figcaption { padding: 12px 16px 0; font-size: .92rem; line-height: 1.5; color: var(--ink-weak); }
.press-speaker-photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.press-logo-chip { aspect-ratio: 16 / 7; display: grid; place-items: center; padding: 18px 22px; max-width: 100%; }
.press-logo-chip.is-light { background: #ffffff; }
.press-logo-chip.is-dark { background: #0b0b0b; }
.press-logo-chip img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Rules, usage, panels */
.press-rules { display: flex; flex-direction: column; gap: 10px; }
.press-use { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; max-width: 72ch; line-height: 1.6; }
.press-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.press-panel { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.press-panel h3 { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.3; }
.press-panel p { margin: 0; line-height: 1.65; color: var(--ink-weak); }

/* Coverage */
.press-coverage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.press-coverage a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border-light); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s ease; }
.press-coverage a:hover { border-color: var(--red); }
.press-cov-meta { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.press-cov-title { font-weight: 700; line-height: 1.4; }

/* Media partners */
.press-media { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.press-media-cell { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border-light); text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
a.press-media-cell:hover { border-color: var(--red); }
a.press-media-cell:focus-visible { outline: none; box-shadow: var(--focus); }
.press-media-logo { max-width: 100%; max-height: 54px; object-fit: contain; display: block; background: var(--logo-bg, #fff); border-radius: 6px; padding: 6px 8px; }
.press-media-cell .pv-textlogo { font-weight: 700; text-align: center; font-size: .9rem; }

/* Contact */
.press-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.press-contact-label { font-size: .74rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; }
.press-contact-main { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: var(--ink) !important; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .press { gap: 22px; }
  .press-archive-list li { grid-template-columns: 1fr; gap: 6px; }
  .press-actions .press-dl { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .press-dl, .press-media-cell, .press-toc a, .press-coverage a, .press-photo-img img { transition: none; }
  .press-photo-img:hover img { transform: none; }
}
