.wca-press-page { margin: 0; }

.wca-press {
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wca-ui-color-surface-alt);
  color: var(--wca-ui-color-text);
  font: 1rem/1.55 var(--wca-ui-font-family);
}

.wca-press main { flex: 1; }
.wca-press :is(h1, h2, h3, p, figure) { margin: 0; }
.wca-press :is(h1, h2, h3) { overflow-wrap: anywhere; }
.wca-press [hidden] { display: none !important; }

.wca-press-wrap {
  width: min(100% - 2 * var(--wca-ui-space-6), 75rem);
  margin-inline: auto;
}

.wca-press-skip {
  position: fixed;
  inset-block-start: var(--wca-ui-space-2);
  inset-inline-start: var(--wca-ui-space-2);
  z-index: 2;
  padding: var(--wca-ui-space-3);
  background: var(--wca-ui-color-surface);
  transform: translateY(-200%);
}

.wca-press-skip:focus { transform: none; }

.wca-press-header,
.wca-press-footer {
  background: var(--wca-ui-color-surface);
}

.wca-press-header__inner,
.wca-press-footer__inner,
.wca-press-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--wca-ui-space-4);
  justify-content: space-between;
}

.wca-press-header__inner { min-block-size: 4.75rem; }
.wca-press-footer__inner { padding-block: var(--wca-ui-space-6); }
.wca-press-footer { border-block-start: 1px solid var(--wca-ui-color-outline); }
.wca-press-footer__inner > span { color: var(--wca-ui-color-text-muted); }

.wca-press-header .wca-press-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--wca-ui-space-3);
  color: var(--wca-ui-color-text);
  font-weight: 700;
  text-decoration: none;
}

.wca-press-brand img { display: block; width: clamp(5.25rem, 10vw, 7.5rem); height: auto; }
.wca-press-brand span {
  padding-inline-start: var(--wca-ui-space-3);
  border-inline-start: 1px solid var(--wca-ui-color-outline);
}

.wca-press-hero {
  position: relative;
  isolation: isolate;
  background: #152116;
  color: #fff;
}

.wca-press-hero__artwork,
.wca-press-hero__artwork img,
.wca-press-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wca-press-hero__artwork { z-index: -2; }
.wca-press-hero__artwork img { object-fit: cover; object-position: 74% 54%; }
.wca-press-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 28, 17, .96) 0%, rgba(15, 28, 17, .8) 38%, rgba(15, 28, 17, .08) 85%);
}

.wca-press-hero__inner {
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
  display: grid;
  justify-items: start;
  gap: var(--wca-ui-space-3);
}

.wca-press-kicker {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wca-press-hero .wca-press-kicker { color: var(--wca-ui-brand-yellow); }
.wca-press-hero h1,
.wca-press-article h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.wca-press-hero h1 { font-size: clamp(2.8rem, 7vw, 6.25rem); color: inherit; }
.wca-press-hero p:last-child { max-inline-size: 35ch; font-size: clamp(1rem, 2vw, 1.25rem); }

.wca-press-archive,
.wca-press-article-shell {
  display: grid;
  gap: clamp(var(--wca-ui-space-6), 4vw, 3rem);
  padding-block: clamp(var(--wca-ui-space-6), 5vw, 3.5rem);
}
.wca-press-archive { row-gap: clamp(var(--wca-ui-space-4), 2.5vw, 2rem); }

.wca-press-categories,
.wca-press-archive__tools,
.wca-press-search,
.wca-press-meta,
.wca-press-sharing__actions,
.wca-press-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wca-ui-space-2) var(--wca-ui-space-3);
}

.wca-press-archive__tools { justify-content: space-between; align-items: end; }
.wca-press-search { align-items: end; }
.wca-press-search .wca-field { margin: 0; }
.wca-press-search .wca-field__control { max-inline-size: 100%; }
.wca-press-archive__tools .wca-press-sharing { max-inline-size: 100%; }
.wca-press-pager { justify-content: center; gap: var(--wca-ui-space-4); }
.wca-press-pager > span { color: var(--wca-ui-color-text-muted); }

.wca-press-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: var(--wca-ui-space-6);
}

.wca-press .wca-press-section-title {
  margin-block-end: var(--wca-ui-space-4);
  font: 700 clamp(1.55rem, 3vw, 2.2rem)/1.25 Georgia, serif;
}

.wca-press .wca-press-card {
  position: relative;
  display: grid;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--wca-ui-color-outline);
  border-radius: var(--wca-ui-radius-md);
  box-shadow: none;
}

.wca-press .wca-press-card:focus-within {
  outline: 3px solid var(--wca-ui-color-focus);
  outline-offset: 2px;
}

.wca-press-card__image { width: 100%; height: auto; display: block; align-self: start; }
.wca-press-card__body {
  display: grid;
  align-content: start;
  gap: var(--wca-ui-space-3);
  padding: clamp(var(--wca-ui-space-4), 3vw, 2rem);
}

.wca-press-card__body :is(h2, h3) { font: 700 clamp(1.45rem, 2.8vw, 2.3rem)/1.14 Georgia, serif; }
.wca-press-card:not(.wca-press-card--featured) h3 { font-size: 1.4rem; }
.wca-press-card__body p { color: var(--wca-ui-color-text-muted); overflow-wrap: anywhere; }
.wca-press-card a.wca-press-card__link { color: var(--wca-ui-color-text); text-decoration: none; }
.wca-press-card__link::after { content: ""; position: absolute; inset: 0; }
.wca-press-card:hover .wca-press-card__link { text-decoration: underline; }
.wca-press-card__read { color: var(--wca-ui-color-link); font-weight: 700; }
.wca-press-card__read span { margin-inline-start: var(--wca-ui-space-1); }
.wca-press-meta { color: var(--wca-ui-color-text-muted); font-size: .875rem; font-weight: 600; }
.wca-press-meta > :not(:last-child)::after {
  content: "";
  display: inline-block;
  margin-inline-start: var(--wca-ui-space-3);
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.wca-press .wca-press-empty { display: grid; gap: var(--wca-ui-space-4); padding: var(--wca-ui-space-6); justify-items: start; }
.wca-press .wca-press-back { justify-self: start; }
.wca-press-article-shell { max-inline-size: 63rem; gap: var(--wca-ui-space-6); }
.wca-press-article {
  min-inline-size: 0;
  border-radius: var(--wca-ui-radius-md);
  background: var(--wca-ui-color-surface);
  border: 1px solid var(--wca-ui-color-outline);
  overflow: hidden;
}

.wca-press-article__header,
.wca-press-prose {
  width: min(100% - 2 * clamp(var(--wca-ui-space-4), 6vw, 4rem), 47rem);
  margin-inline: auto;
  padding-block: clamp(var(--wca-ui-space-6), 5vw, 3.5rem);
}

.wca-press-article__header { display: grid; justify-items: start; gap: var(--wca-ui-space-4); }
.wca-press-article h1 { font-size: clamp(2.25rem, 5.5vw, 4.6rem); }
.wca-press-article__dek { color: var(--wca-ui-color-text-muted); font-size: clamp(1.1rem, 2.4vw, 1.45rem); overflow-wrap: anywhere; }
.wca-press-article__cover img { display: block; width: 100%; height: auto; }
.wca-press-article__cover figcaption {
  padding: var(--wca-ui-space-2) var(--wca-ui-space-4) 0;
  color: var(--wca-ui-color-text-muted);
  font-size: .75rem;
  text-align: end;
}

/* Keep the standard light editing surface for authored text colors in both shell themes. */
.wca-press-reading {
  color: var(--wca-ui-color-text);
  background: var(--wca-ui-color-surface);
}

.wca-press-prose {
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.wca-press-prose > * + * { margin-block-start: 1.05em; }
.wca-press-prose img { max-inline-size: 100%; block-size: auto; border-radius: var(--wca-ui-radius-sm); }
.wca-press-prose pre,
.wca-press-prose table { display: block; max-inline-size: 100%; overflow-x: auto; }
.wca-press-prose th,
.wca-press-prose td { text-align: start; padding: var(--wca-ui-space-2); border: 1px solid var(--wca-ui-color-outline); }
.wca-press-prose blockquote { margin-inline: 0; border-inline-start: 3px solid var(--wca-ui-brand-green); padding-inline-start: var(--wca-ui-space-4); }
.wca-press-contact { padding-block-start: var(--wca-ui-space-4); border-block-start: 1px solid var(--wca-ui-color-outline); }
.wca-press-contact h2 { font-size: 1rem; }
.wca-press-sharing__actions { padding-block: var(--wca-ui-space-2); }
.wca-press-sharing__status { color: var(--wca-ui-color-text-muted); overflow-wrap: anywhere; font-size: .875rem; }
.wca-press-sharing__status:empty { display: none; }
.wca-press-timeline { display: grid; gap: var(--wca-ui-space-6); }
.wca-press-timeline .wca-card { display: grid; gap: var(--wca-ui-space-2); margin: 0; padding: var(--wca-ui-space-6); }
.wca-press-timeline__gallery { display: flex; flex-wrap: wrap; gap: var(--wca-ui-space-3); padding-block-start: var(--wca-ui-space-2); }
.wca-press-timeline__gallery img { width: 10rem; max-inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--wca-ui-radius-sm); }

.wca-ui .wca-press-preview {
  display: grid;
  justify-items: start;
  gap: var(--wca-ui-space-3);
}

.wca-ui .wca-press-preview img {
  inline-size: min(100%, 34rem);
  block-size: auto;
  border-radius: var(--wca-ui-radius-sm);
  border: 1px solid var(--wca-ui-color-outline);
}

.wca-ui .wca-press-rich-editor .note-editor {
  min-inline-size: 0;
  margin: 0;
  border: 1px solid var(--wca-ui-color-outline);
  border-radius: var(--wca-ui-radius-sm);
  background: var(--wca-ui-color-surface);
  color: var(--wca-ui-color-text);
}

.wca-ui .wca-press-rich-editor :is(.note-toolbar, .note-statusbar) {
  background: var(--wca-ui-color-surface-alt);
  border-color: var(--wca-ui-color-outline);
}

.wca-ui .wca-press-rich-editor :is(.note-editable, .note-btn) {
  background: var(--wca-ui-color-surface);
  color: var(--wca-ui-color-text);
}

.wca-ui .wca-press-rich-editor .note-btn { border-color: var(--wca-ui-color-outline); }
.wca-ui .wca-press-rich-editor .note-editable img { max-inline-size: 100%; block-size: auto; }
.wca-ui .wca-press-rich-editor :is(.note-editable, .note-btn):focus-visible {
  outline: 2px solid var(--wca-ui-color-focus);
  outline-offset: -2px;
}

@media (min-width: 54rem) {
  .wca-press-card--featured { grid-template-columns: 1.3fr 1fr; }
  .wca-press-card--featured .wca-press-card__image { height: 100%; object-fit: cover; }
  .wca-press-card--featured .wca-press-card__body { align-content: center; }
}

@media (max-width: 40rem) {
  .wca-press-wrap { width: calc(100% - 2 * var(--wca-ui-space-4)); }
  .wca-press-header__inner { gap: var(--wca-ui-space-2); }
  .wca-press-hero::after { background: linear-gradient(90deg, rgba(15, 28, 17, .93), rgba(15, 28, 17, .44)); }
}
