/* Minimal, white page — relies on your styles.css for header look */
/* Keep it scoped so we don't fight site-wide styles */
:root {
  --press-text: #111;
  --press-muted: #6b7280;
  --press-line: #e5e7eb;
  --press-link: #0a58ca;
  --press-radius: 8px;
}

/* Space the content below your absolute header (logo ~100px tall + top gap) */
.press-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 160px 16px 32px; /* push down from absolute header */
  background: #fff;
  color: var(--press-text);
  font-family: Kanit, sans-serif; /* matches your site */
}

/* Head */
.press-head {
  margin-bottom: 10px;
}
.press-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 28px;
}
.press-subtitle {
  margin: 0 0 12px;
  color: var(--press-muted);
}
.press-input {
  width: 100%;
  max-width: 520px;
  padding: 10px 12px;
  border: 1px solid var(--press-line);
  border-radius: 6px;
  background: #fff;
  color: var(--press-text);
}

/* Sections */
.press-section {
  margin: 18px 0 28px;
}
.press-h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

/* Videos: clean vertical list */
.press-videos {
  display: grid;
  gap: 14px;
}
.press-video {
  border: 1px solid var(--press-line);
  border-radius: var(--press-radius);
  background: #fff;
  padding: 12px;
}
.press-video .media {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.press-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.press-video .title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1rem;
}
.press-video .meta {
  margin: 0 0 6px;
  color: var(--press-muted);
  font-size: 0.95rem;
}
.press-video .desc {
  margin: 0;
  color: var(--press-muted);
}

/* Articles: minimal cards grid (2 → 1 on narrow) */
.press-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .press-cards {
    grid-template-columns: 1fr;
  }
}

.press-card {
  border: 1px solid var(--press-line);
  border-radius: var(--press-radius);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.press-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #111;
}
.press-body {
  padding: 10px 12px;
}
.press-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--press-muted);
}
.press-title-sm {
  margin: 8px 0 6px;
  font-weight: 600;
  font-size: 1rem;
}
.press-excerpt {
  margin: 0 0 8px;
  color: var(--press-muted);
}
.press-footrow {
  padding: 10px 12px;
  border-top: 1px solid var(--press-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.press-date {
  color: var(--press-muted);
  font-size: 0.95rem;
}
.press-read {
  color: var(--press-link);
  text-decoration: underline;
  font-weight: 700;
}

/* Footer */
.press-foot {
  margin: 24px 0 32px;
  border-top: 1px solid var(--press-line);
  padding-top: 12px;
}
.press-muted {
  color: var(--press-muted);
}
.press-link {
  color: var(--press-link);
}

/* YouTube click-to-play preview */
.yt-wrap {
  position: relative;
  width: 100%;
}
.yt-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--press-line);
  border-radius: 6px;
  cursor: pointer;
}
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}
.yt-play::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #111;
}
.yt-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 6px;
}
