/* =========================================================
   CasinoHenke - news.css (Nyheter: listing + articles)
   Uses only the variables from site.css
   ========================================================= */

/* ---------- Listing: card grid ---------- */
.news-section { padding-top: 34px; }
.news-section .section-head { margin-bottom: 20px; }
.news-section .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
  box-shadow: 0 4px 14px rgba(41, 25, 43, .07); transition: border-color .2s, box-shadow .2s;
}
.news-card:hover { border-color: var(--plum); box-shadow: 0 10px 24px rgba(41, 25, 43, .13); }
.news-media { position: relative; margin: 0; overflow: hidden; background: var(--wash); }
.news-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s; }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.news-tag { display: inline-block; padding: 3px 10px; border-radius: 100px; background: var(--wash); color: var(--plum); font-size: .68rem; font-weight: 750; letter-spacing: .115em; text-transform: uppercase; }
.news-title { margin: 0 0 8px; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.1; letter-spacing: -.03em; color: var(--plum); }
.news-title a { color: inherit; text-decoration: none; }
.news-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-card:hover .news-title a { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 4px; }
.news-teaser { margin: 0 0 14px; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.news-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.news-more svg { width: 16px; height: 16px; transition: transform .2s; }
.news-card:hover .news-more svg { transform: translateX(3px); }

/* ---------- Article: cover photo first in .prose ---------- */
.prose > .prose-figure:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 600px) {
  .news-section { padding-top: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-body { padding: 14px 15px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card, .news-more svg, .news-media img { transition: none; }
  .news-card:hover .news-media img, .news-card:hover .news-more svg { transform: none; }
}
