/* ============================================================
   News section
   ============================================================ */

.news-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6.5rem clamp(1rem, 4vw, 2.5rem) 5rem;
}

/* ---- Hero ---- */
.news-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.news-hero .eyebrow { color: var(--cyan); }
.news-hero h1 {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.02em;
  margin: .5rem 0 .8rem;
}
.news-hero p { color: var(--txt-dim); max-width: 560px; margin: 0 auto; }

.news-toolbar {
  display: flex; justify-content: center; gap: .75rem;
  margin-top: 1.4rem;
}

/* ---- Featured (latest) ---- */
.news-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--bg-2);
  margin-bottom: 2.5rem;
  min-height: 340px;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.news-featured:hover {
  transform: translateY(-3px);
  border-color: var(--panel-brd);
  box-shadow: 0 24px 70px -28px rgba(255,45,149,.5);
}
.news-featured-media { position: relative; overflow: hidden; }
.news-featured-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-featured:hover .news-featured-media img { transform: scale(1.05); }
.news-featured-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--bg-2) 100%);
}
.news-featured-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.news-featured-body .news-card-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: .6rem 0 .8rem;
}
.news-featured-body .news-card-excerpt { font-size: 1rem; -webkit-line-clamp: 4; line-clamp: 4; }

/* ---- Grid ---- */
.news-section-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-faint); margin: 0 0 1.1rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

/* ---- Card ---- */
.news-card {
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-brd);
  box-shadow: 0 20px 50px -24px rgba(255,45,149,.5);
}
.news-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #100c1c; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.06); }
.news-card-media.no-img {
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-sunset); font-size: 2.5rem;
}

.news-source-badge {
  position: absolute; top: .7rem; left: .7rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(7,6,13,.78);
  padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}
.news-draft-badge {
  position: absolute; top: .7rem; right: .7rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: .25rem .6rem; border-radius: 999px;
}

.news-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.news-card-title {
  font-family: "Archivo", sans-serif; font-weight: 800; font-style: italic;
  font-size: 1.12rem; line-height: 1.2; color: var(--txt); margin-bottom: .5rem;
}
.news-card-excerpt {
  font-size: .9rem; color: var(--txt-dim); line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  flex: 1;
}
.news-card-meta {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .9rem; font-size: .76rem; color: var(--txt-faint);
}
.news-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--txt-faint); }

/* ---- Single article ---- */
.news-article-wrap { max-width: 820px; margin: 0 auto; padding: 6.5rem clamp(1rem, 4vw, 2rem) 5rem; }
.news-article-cover {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: 20px; margin-bottom: 1.8rem;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px -24px rgba(0,0,0,.8);
}
.news-article-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .8rem;
}
.news-article-title {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.04; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.news-article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
  color: var(--txt-faint); font-size: .85rem;
  padding-bottom: 1.4rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.news-article-meta a { color: var(--pink); }
.news-article-source-pill {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(255,45,149,.16); border: 1px solid rgba(255,45,149,.35);
  padding: .2rem .6rem; border-radius: 999px;
}
.news-article-actions { display: flex; gap: .6rem; margin-top: 2.5rem; flex-wrap: wrap; }

.news-empty { text-align: center; padding: 4rem 0; color: var(--txt-faint); }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .news-featured { grid-template-columns: 1fr; min-height: 0; }
  .news-featured-media { aspect-ratio: 16/9; }
  .news-featured-media::after { background: linear-gradient(180deg, transparent 55%, var(--bg-2) 100%); }
}
