/* ========================================================================
   HL2MP — Homepage leftovers (News teaser only)
   This file styles #home-news and its small UI bits.
   ===================================================================== */

/* Card look for the news section */
.box{
  border:1px solid #1a2a40;
  border-radius:14px;
  padding:14px;
  background:linear-gradient(180deg, #0e1725cc, #0b121dcc);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Reusable pill-style links used in the teaser nav */
.box-link{
  display:inline-block;
  padding:6px 10px;
  border:1px solid #1a2a40;
  border-radius:10px;
  background:#0e1725;
  color:#8ecbff;
  text-decoration:none;
}
.box-link:hover{ text-decoration:underline; }
.box-link:focus-visible{
  outline:2px solid #8fd7ff;
  outline-offset:2px;
}

/* ===== News teaser specifics ===== */
#home-news { /* section wrapper */ }

#home-news h2{ /* drop the inline margin */
  margin-top:0;
}

/* Make the whole teaser clickable without inline styles */
#home-news > a{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* If a cover image exists, give it a tiny top gap (was inline before) */
#home-news .hero{
  margin-top:8px;
}

/* Title/subtitle spacing (was inline before) */
#home-news h3{
  margin:8px 0 4px;
  line-height:1.25;
}
#home-news p.muted{
  margin:0 0 8px;
}
#home-news p.muted em{
  font-style:italic;
}

/* Author/date line */
#home-news small{
  opacity:.95;
}

/* Teaser nav row (was inline before) */
#home-news nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

/* Nice keyboard focus on the teaser link itself */
#home-news > a:focus-visible{
  outline:2px solid #8fd7ff;
  outline-offset:3px;
  border-radius:10px;
}

/* Mobile tweaks */
@media (max-width: 520px){
  #home-news h3{ margin-top:6px; }
  #home-news nav{ gap:6px; }
}

/* Line divider */
/* ─────────────────────────────────────────
   Section divider — slim, blue→purple
   ───────────────────────────────────────── */
hr.section-divider{
  /* tweak this if you want it even quieter */
  --alpha: .18;

  /* site-friendly hues (cyan/blue → violet) */
  --c1: hsl(200 95% 60% / var(--alpha));  /* blue-cyan */
  --c2: hsl(268 85% 68% / var(--alpha));  /* violet    */

  border: 0;
  height: 4px;                 /* slimmer */
  margin: 26px auto 22px;
  border-radius: 999px;

  /* soft, desaturated gradient with faint side bloom */
  background:
    radial-gradient(90% 120% at 8% 50%,  hsl(200 95% 60% / .10), transparent 55%),
    radial-gradient(90% 120% at 92% 50%, hsl(268 85% 68% / .10), transparent 55%),
    linear-gradient(90deg,
      transparent 0 7%,
      var(--c1) 24%,
      var(--c2) 50%,
      var(--c1) 76%,
      transparent 93%
    );

  /* faint edges + soft drop */
  box-shadow:
    inset 0 0 0 1px rgba(26,42,64,.25),
    0 2px 8px rgba(0,0,0,.28);
  opacity: .9;
}

@media (max-width: 720px){
  hr.section-divider{ height: 3px; margin: 20px auto; --alpha: .16; }
}

/* Emphasized line inside the intro card */
.intro-mix{
  display: block;
  margin-top: .8rem;
  font: 800 clamp(12px, .82rem + .2vw, 14px)/1.65 "Orbitron", system-ui, sans-serif;
  letter-spacing: .05em;
  color: #cfe4ff;
  position: relative;
  text-shadow: 0 0 1px rgba(0,0,0,.55);
}

/* subtle spark before the sentence */
.intro-mix::before{
  content: "✦";
  margin-right: .55rem;
  opacity: .75;
  color: #7de6ff;
  filter: drop-shadow(0 0 6px rgba(0,229,255,.55));
}

/* soft neon hairline underneath */
.intro-mix::after{
  content: "";
  display: block;
  height: 2px;
  margin-top: .35rem;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(0,229,255,.45),
    rgba(157, 0, 255, .34),
    rgba(0,229,255,.45)
  );
  box-shadow:
    0 0 14px rgba(0,229,255,.18),
    0 0 16px rgba(157, 0, 255,.12);
  opacity: .9;
}

/* subtle, on-brand subtitle under gradient section headers */
.cine-subtitle{
  text-align:center;
  margin: 6px auto 12px;                 /* pulls it closer to the carousel */
  max-width: 92vw;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: clamp(14px, .9rem + .4vw, 18px);

  /* same cyan→magenta vibe as the header text */
  background: linear-gradient(90deg, var(--cine-primary), var(--cine-accent));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;

  /* soft glow, very restrained */
  text-shadow:
    0 0 8px rgba(0,229,255,.18),
    0 0 10px rgba(255,0,234,.12);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.45));
}

@media (max-width: 720px){
  .cine-subtitle{ margin: 4px auto 10px; }
}

