/* News & events: latest news on the Press page, the all-news page (news/index.html) and the item pages in /news.
   One format for every release: header, event visual, release text with a side rail
   (event details, PDF, media contact), organizations, links, media contact. */

/* ---------- Shared: meta line and event visual frame ---------- */
.news-item__meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}
.news-item__meta time { color: var(--fg); font-weight: 500; }
.news-item__type { color: var(--accent-2); }
/* the whole visual stays visible; the frame takes the colour of the image border (--edge, set by the build) */
.news-card__media, .news-mini__media, .news-row__media {
  display: block; overflow: hidden; aspect-ratio: 1.9 / 1;
  border: 1px solid #3a3242; border-radius: 4px; background: var(--edge, #110f15);
}
.news-card__media img, .news-mini__media img, .news-row__media img {
  display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease);
}
.news-card, .news-mini, .news-row { position: relative; }
.news-card__title a, .news-mini__title a, .news-row__title a { color: var(--fg); text-decoration: none; transition: color .2s var(--ease); }
/* one link per item, the whole item is the click target */
.news-card__title a::after, .news-mini__title a::after, .news-row__title a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover .news-card__title a, .news-mini:hover .news-mini__title a, .news-row:hover .news-row__title a,
.news-card__title a:focus-visible, .news-mini__title a:focus-visible, .news-row__title a:focus-visible { color: var(--accent-2); }
.news-card:hover img, .news-mini:hover img, .news-row:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .news-card:hover img, .news-mini:hover img, .news-row:hover img { transform: none; } }

/* ---------- Press page: latest news ---------- */
.news-latest__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.news-latest__top { flex: none; margin-bottom: 6px; }
@media (max-width: 699px) { .news-latest__top { display: none; } }
.news-feature { display: grid; gap: 48px; }
@media (min-width: 860px) { .news-feature { grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 48px); } }
.news-card .news-item__meta { margin-top: 22px; }
.news-card__title {
  margin: 14px 0 12px; max-width: 30ch;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 600;
}
.news-card__sum { color: var(--fg-2); max-width: 56ch; font-size: 16px; }
.news-minis { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; }
@media (min-width: 860px) { .news-minis { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 3vw, 48px); } }
.news-mini {
  display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.news-mini + .news-mini { margin-top: -1px; }
@media (min-width: 860px) { .news-mini + .news-mini { margin-top: 0; } }
.news-mini__title { margin: 10px 0 0; font-size: 1.08rem; line-height: 1.28; letter-spacing: -.015em; font-weight: 600; }
.news-latest__all { margin-top: clamp(36px, 4vw, 52px); }
@media (max-width: 540px) {
  .news-mini { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
  .news-latest__all .btn { width: 100%; justify-content: center; }
}

/* ---------- All news page ---------- */
.news-all { padding-top: clamp(40px, 5vw, 64px); }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 4vw, 56px); }
.news-filter[hidden], .news-filter button[hidden], .news-group[hidden], .news-row[hidden] { display: none; }
.news-filter button {
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.news-filter button span { margin-left: 6px; color: var(--fg-3); }
.news-filter button:hover { border-color: var(--fg-3); color: var(--fg); }
.news-filter button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.news-filter button[aria-pressed="true"] span { color: var(--bg); opacity: .55; }
.news-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.news-row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
@media (min-width: 760px) { .news-row { grid-template-columns: 264px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); padding: 28px 0; } }
.news-row__title {
  margin: 12px 0 10px; max-width: 34ch;
  font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 600;
}
.news-row__body > p:last-child { color: var(--fg-2); max-width: 62ch; font-size: 15.5px; }
.news-empty { color: var(--fg-3); }
@media (max-width: 540px) { .news-row__body > p:last-child { font-size: 14.5px; } }

/* ---------- Release page: header ---------- */
.pr-head { padding-bottom: clamp(32px, 4vw, 48px); }
.page-head .pr-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  color: var(--fg-3); text-decoration: none; transition: color .2s var(--ease);
}
.pr-back:hover, .pr-back:focus-visible { color: var(--fg); }
.page-head .pr-kicker { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 20px; }
.pr-kicker span:first-child { color: var(--accent-2); }
.page-head h1.pr-title {
  max-width: 30ch;
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em;
}
.pr-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px;
  margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line);
}
.pr-meta__line {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}
.pr-meta__line time { color: var(--fg); font-weight: 500; }
.pr-download .pr-download__size { font-weight: 400; opacity: .6; }

/* ---------- Release page: event visual ---------- */
.pr-figure { margin: 0 auto clamp(48px, 6vw, 80px); }
.pr-figure__frame {
  width: min(100%, 800px); overflow: hidden;
  border: 1px solid #3a3242; border-radius: 4px; background: #110f15;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 22px 70px rgba(0,0,0,.2);
}
.pr-figure__frame img { display: block; width: 100%; height: auto; }
.pr-figure figcaption {
  width: min(100%, 800px); margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; line-height: 1.6; color: var(--fg-3);
}

/* ---------- Release page: text and side rail ---------- */
.pr-layout { display: grid; gap: 48px; padding-bottom: clamp(64px, 8vw, 112px); }
@media (min-width: 980px) {
  .pr-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .pr-aside { position: sticky; top: calc(var(--header-h) + 28px); }
}
.pr-body { max-width: 68ch; }
.pr-body > * + * { margin-top: 22px; }
.pr-body p { color: var(--fg-2); font-size: 17.5px; line-height: 1.65; }
.pr-body strong { color: var(--fg); font-weight: 600; }
.pr-body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pr-body a:hover { text-decoration-color: var(--accent); }
.pr-body .pr-dateline {
  color: var(--fg); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.pr-quote { margin: 34px 0; padding: 4px 0 4px clamp(18px, 2.4vw, 28px); border-left: 2px solid var(--accent); }
.pr-body .pr-quote p { color: var(--fg); font-size: clamp(18.5px, 1.7vw, 21px); line-height: 1.58; letter-spacing: -.005em; }
.pr-quote__by { color: var(--fg-3); }
.pr-body h2 { margin-top: 44px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
.pr-body h2 + p { margin-top: 12px; }

.pr-aside { display: grid; gap: 16px; }
.pr-card {
  padding: 20px 22px 22px; border: 1px solid var(--line-2); border-radius: 4px; background: #14111a;
}
.pr-card--accent { border-top: 2px solid var(--accent); background: linear-gradient(180deg, rgba(116,31,106,.12), transparent 70%), #14111a; }
.pr-card h2 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.pr-card dl { margin: 0; display: grid; gap: 14px; }
.pr-card dl div { display: grid; gap: 3px; }
.pr-card dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-3); }
.pr-card dd { margin: 0; color: var(--fg); font-size: 15px; line-height: 1.45; }
.pr-card dd small { display: block; margin-top: 3px; color: var(--fg-2); font-size: 13.5px; }
.pr-card p { color: var(--fg-2); font-size: 14.5px; line-height: 1.5; }
.pr-card .btn { margin-top: 16px; width: 100%; justify-content: center; }
.pr-card .email-row { margin-top: 10px; }
.pr-card .email-row a { color: var(--fg); text-decoration: none; }
.pr-card .email-row a:hover, .pr-card .email-row a:focus-visible { color: var(--accent-2); }

/* ---------- Release page: organizations and links ---------- */
.pr-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.pr-rows a {
  display: grid; grid-template-columns: minmax(150px, .8fr) 1fr 22px; align-items: baseline; gap: 20px;
  min-height: 68px; padding: 20px 0; border-bottom: 1px solid var(--line-2); color: var(--fg); text-decoration: none;
  transition: color .2s var(--ease);
}
.pr-rows a:hover, .pr-rows a:focus-visible { color: var(--accent-2); }
.pr-rows__name { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pr-rows__detail { color: var(--fg-2); font-size: 14px; }
.pr-rows__arrow { justify-self: end; font-size: 16px; }
.pr-note { margin-top: 16px; color: var(--fg-3); font-size: 13.5px; max-width: 62ch; }
.pr-contact .email-row a { color: var(--fg); font-size: clamp(19px, 2.6vw, 29px); letter-spacing: -.03em; text-decoration: none; }
.pr-contact .email-row a:hover, .pr-contact .email-row a:focus-visible { color: var(--accent-2); }
.pr-contact__intro { margin-bottom: 18px; }
.pr-foot { padding-block: 0 clamp(56px, 7vw, 96px); }

@media (max-width: 540px) {
  .pr-rows a { grid-template-columns: 1fr 22px; gap: 5px 12px; }
  .pr-rows__detail { grid-column: 1; grid-row: 2; }
  .pr-rows__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .pr-meta .btn { width: 100%; justify-content: center; }
  .pr-body p { font-size: 16.5px; }
}

.pr-card, #event-details { scroll-margin-top: calc(var(--header-h) + 24px); }

/* News groups on the all-news page: Upcoming (date order), then Past (newest first) */
.news-group + .news-group { margin-top: clamp(40px, 5vw, 56px); }
.news-group__title { display: block; margin: 0 0 14px; font-weight: 400; }
.pr-quote__cite { display: block; margin-top: 14px; color: var(--fg-3); font-size: 15px; font-style: normal; }
