/* Press kit pages (press/*.html). Builds on the devlog layout in style.css. */

.press-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.press-logo {
  width: min(420px, 80%);
  height: auto;
  margin: 8px 0 4px;
}

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.press-hero {
  display: block;
  height: auto;
}

.press-grid img[width] {
  height: auto;
}

.press-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.press-facts dl,
.press-credits {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0;
}

.press-facts dt,
.press-credits dt {
  color: var(--text-muted);
  font-weight: 600;
}

.press-facts dd,
.press-credits dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.press-quote {
  margin: 0 0 16px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  font-style: italic;
}

.press-desc ul,
.press-features {
  padding-left: 20px;
}

.press-desc li,
.press-features li {
  margin-bottom: 6px;
}

.press-note {
  color: var(--text-muted);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.press-grid-art {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.press-grid figure {
  margin: 0;
}

.press-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}

.press-grid a:hover,
.press-grid a:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.press-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.press-grid-art a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.press-grid-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-logo-tile {
  display: flex !important;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 28px;
}

.press-logo-tile-light {
  background: #e9e4da !important;
}

.press-logo-tile img {
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.press-logo-tile .press-icon {
  width: auto;
  height: 100%;
}

.press-grid figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .press-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .press-grid,
  .press-grid-art {
    grid-template-columns: 1fr;
  }
}
