/* Headline card: one landscape card with animated pictures. Used on the home page and the division pages. */
.hl-section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; position: relative; z-index: 1; }
.hl-section[hidden] { display: none; }
.hl-eyebrow { margin: 0 0 6px; text-align: center; font: 700 13px/1.4 'Poppins', system-ui, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #a4ff00; }
.hl-title { margin: 0 0 34px; text-align: center; font: 800 clamp(26px, 4vw, 40px)/1.15 'Poppins', system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #fff; }

.hl-card { --c: #a4ff00; position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 400px; border: 1px solid rgba(164,255,0,0.18); border-radius: 20px; overflow: hidden; background: #0a0a0a; color: #fff; font-family: 'Poppins', system-ui, sans-serif; }
.hl-media { position: relative; overflow: hidden; background: #111; min-height: 280px; }
.hl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.hl-img.is-active { opacity: 1; animation: hl-zoom 9s ease-out forwards; }
@keyframes hl-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hl-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #0a0a0a); pointer-events: none; }

.hl-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 40px 40px 70px; }
.hl-badge { display: inline-block; padding: 4px 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c); border: 1px solid var(--c); border-radius: 999px; }
.hl-h { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-weight: 700; }
.hl-p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.75); }
.hl-btn { display: inline-block; margin-top: 4px; padding: 12px 26px; background: var(--c); color: #000; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: transform 0.2s, filter 0.2s; }
.hl-btn:hover, .hl-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.1); outline: none; }
.hl-date { font-size: 12px; color: rgba(255,255,255,0.5); }

.hl-controls { position: absolute; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 12px; }
.hl-controls button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.5); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.hl-controls button:hover, .hl-controls button:focus-visible { border-color: var(--c); color: var(--c); outline: none; }
.hl-dots { display: flex; gap: 7px; }
.hl-dot { width: 9px; height: 9px; padding: 0 !important; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4) !important; background: transparent !important; cursor: pointer; }
.hl-dot.is-active { background: var(--c) !important; border-color: var(--c) !important; }
.hl-controls .hl-dot { width: 9px; height: 9px; }

/* One colour per division (add a line here when you add a division) */
.hl-div-shaznation  { --c: #a4ff00; }
.hl-div-shazesports { --c: #ff3c30; }
.hl-div-shaztech    { --c: #0099ff; }
.hl-div-shazgear    { --c: #ffb454; }
.hl-div-shazconnect { --c: #b388ff; }

@media (max-width: 800px) {
  .hl-card { grid-template-columns: 1fr; }
  .hl-media { aspect-ratio: 16 / 10; min-height: 0; }
  .hl-media::after { background: linear-gradient(180deg, transparent 60%, #0a0a0a); }
  .hl-body { padding: 26px 22px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-img { transition: none; }
  .hl-img.is-active { animation: none; }
}

/* Text formatting chosen in the dashboard */
.hl-h strong, .hl-p strong { font-weight: 800; color: #fff; }
.hl-h u, .hl-p u { text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hl-size-small { font-size: 0.85em; }
.hl-size-large { font-size: 1.3em; line-height: 1.2; }
.hl-size-xlarge { font-size: 1.7em; line-height: 1.15; }
