/* ============================================================
   NEWS & MEDIA — list page
   ============================================================ */

.news-hero {
  padding: calc(var(--nav-h) + 56px) 0 32px;
}

.news-hero h1 {
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.news-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.news-search-wrap {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.news-search-wrap input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
}

.news-search-wrap input::placeholder {
  color: var(--text-muted);
}

.news-search-wrap input:focus {
  outline: none;
  border-color: var(--teal);
}

.news-search-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.news-game-filter-row {
  margin-bottom: 36px;
}

.news-game-filter-row select {
  padding: 9px 18px;
  border-radius: 6px;
  border: none;
  background: #36373b;
  color: var(--text);
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.news-game-filter-row select:focus {
  outline: 2px solid var(--teal);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 90px;
}

.news-card {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.news-card-image {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body h3 {
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.news-read-more i {
  font-size: 0.7rem;
}

.news-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-category {
  display: inline-block;
  background: rgba(6, 182, 212, 0.12);
  color: var(--teal);
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.news-empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
}

/* ============================================================
   NEWS ARTICLE — detail page
   ============================================================ */

.article-hero {
  padding: calc(var(--nav-h) + 64px) 0 0;
  text-align: center;
}

.article-category {
  color: var(--text-muted);
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article-hero h1 {
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.15;
}

.article-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #000;
}

.article-image-wrap img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.article-byline {
  font-weight: 600;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-share a {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.2s;
}

.article-share a:hover {
  color: var(--teal);
}

.article-info {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.article-body p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.85;
  margin-bottom: 22px;
}

.article-source-cta {
  display: inline-flex;
  margin-bottom: 8px;
}

.article-back-row {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 90px;
  text-align: right;
}

.article-back-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-meta {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .news-card-meta span:not(:last-child)::after {
    content: '\2022';
    margin-left: 8px;
    color: var(--text-muted);
  }

  .article-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .news-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search-wrap {
    width: 100%;
  }
}
