/* Home-page "news" section: a static port of dev.qvegas.com's qv_stories widget
 * (lead_cover layout), restyled onto this site's style.css palette. Rendered by
 * loadNews() in js/home.js. Source of truth for the look: WebsiteDev/css/qv-site.css. */

/* The site header is fixed (~72px), so the top padding clears it as the old hero did. */
.qv-news-section { background: var(--black); padding: calc(72px + clamp(40px, 5vw, 64px)) 0 clamp(56px, 7vw, 88px); }
.qv-news-section a { text-decoration: none; }
.qvn-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 5.5vw, 80px); }
.qvn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.qvn-head-text { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.qvn-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--neon-pink); }
.qvn-h2 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; }
.qvn-more { font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--neon-blue); transition: color .2s; }
.qvn-more::after { content: ' →'; display: inline-block; transition: transform .25s; }
.qvn-more:hover { color: var(--neon-pink); }
.qvn-more:hover::after { transform: translateX(4px); }

.qvn-news { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 32px; align-items: start; }
.qvn-story { display: flex; flex-direction: column; color: inherit; }
.qvn-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--neon-pink); }
.qvn-title { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--white); transition: color .2s; }
.qvn-story:hover .qvn-title { color: var(--neon-pink); }
.qvn-body { font-size: 17px; line-height: 1.65; color: var(--light); }

.qvn-lead { grid-column: span 6; gap: 18px; }
.qvn-lead .qvn-kicker { font-size: 12px; }
.qvn-lead .qvn-title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }
.qvn-media { height: 380px; border-radius: 16px; overflow: hidden; background: var(--dark-surface); }
.qvn-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.qvn-story:hover .qvn-media img { transform: scale(1.05); }
.qvn-media.is-empty { background: radial-gradient(120% 90% at 20% 10%, rgba(255,20,147,.22), transparent 60%), radial-gradient(120% 90% at 90% 90%, rgba(0,212,255,.18), transparent 60%), var(--dark-surface); }

.qvn-list { grid-column: 7 / span 3; display: flex; flex-direction: column; }
.qvn-list a { gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--dark-border); }
.qvn-list a:first-child { padding-top: 0; }
.qvn-list .qvn-title { font-size: 20px; line-height: 1.25; }

.qvn-issue { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 14px; }
.qvn-cover { display: block; aspect-ratio: 8.5 / 11; background: var(--black); border: 1px solid var(--dark-border); border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); overflow: hidden; transform: perspective(900px) rotateY(-8deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
.qvn-cover:hover { transform: perspective(900px) rotateY(0) translateY(-6px); box-shadow: 0 30px 80px -10px rgba(255,20,147,.4); }
.qvn-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qvn-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 24px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: border-color .2s, box-shadow .3s; }
.qvn-btn.is-light { background: var(--white); color: var(--black); }
.qvn-btn.is-light:hover { box-shadow: 0 10px 40px -10px var(--neon-pink); }
.qvn-btn.is-ghost { background: transparent; color: var(--white); border: 1px solid var(--dark-border); font-weight: 600; }
.qvn-btn.is-ghost:hover { border-color: var(--white); }
.qvn-note { font-size: 13px; color: var(--light-muted); text-align: center; }

@media (max-width: 1180px) {
  .qvn-lead { grid-column: 1 / -1; }
  .qvn-list { grid-column: span 7; }
  .qvn-issue { grid-column: 8 / span 5; }
}
@media (max-width: 720px) {
  .qvn-list, .qvn-issue { grid-column: 1 / -1; }
  .qvn-issue { max-width: 320px; }
  .qvn-media { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .qvn-cover, .qvn-cover:hover, .qvn-story:hover .qvn-media img { transform: none; transition: none; }
}
