:root {
  --nordic-ink: #070e20;
  --nordic-ice: #9ae7ff;
  --nordic-blue: #174bdc;
}
body {
  background: radial-gradient(ellipse at 74% 18%, #12254b 0%, transparent 42rem), var(--nordic-ink);
}
main { min-width: 0; padding-bottom: 5rem; }
a:focus-visible, summary:focus-visible, .nordic-rail:focus-visible {
  outline: 2px solid var(--nordic-ice);
  outline-offset: 4px;
}
.nordic-hero {
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 70vh, 48rem);
  background: linear-gradient(90deg, rgba(5, 11, 26, .93), rgba(5, 11, 26, .58) 55%, rgba(5, 11, 26, .12)), url('/assets/nordic-family.webp') 65% center / cover;
  border-bottom: 1px solid #2962a9;
}
.nordic-hero > div { width: 100%; }
.nordic-hero h1 { color: #f5fbff; text-wrap: balance; letter-spacing: -.048em; }
.nordic-hero p { color: #d7e7fb; }
.nordic-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 81% 34%, #5ddcff42, transparent 43%);
  animation: nordic-light 8s ease-in-out infinite alternate;
}
@keyframes nordic-light { from { opacity: .35; } to { opacity: 1; } }

.nordic-buy {
  position: fixed;
  z-index: 55;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid #92d7ff;
  background: linear-gradient(110deg, #123ba9, #1d64e4 72%, #0665a7);
  box-shadow: 0 0 22px #2f9cf66b, 0 8px 28px #050820d1;
  color: white;
  font-weight: 750;
  min-height: 48px;
  transition: box-shadow .2s, transform .2s;
}
.nordic-buy:hover { transform: translateY(-3px); box-shadow: 0 0 30px #5bceffb5; }
.nordic-buy svg { width: 1.35rem; height: 1.35rem; }
.nordic-wa-inline { background: var(--nordic-blue); color: white; }

.nordic-shelf { max-width: 82rem; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 3rem); }
.nordic-shelf h2, .nordic-article h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.nordic-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(9rem, 18vw, 13rem);
  gap: .95rem;
  overflow-x: auto;
  padding: .45rem .15rem .9rem;
  scroll-snap-type: x proximity;
  scrollbar-color: #506ea3 #0b1731;
}
.nordic-poster {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #31578a;
  border-radius: 1rem;
  background: #142845;
  scroll-snap-align: start;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.nordic-poster:hover { border-color: #9ae7ff; box-shadow: 0 0 18px #4fa4ff68; transform: translateY(-3px); }
.nordic-poster img { display: block; aspect-ratio: 2 / 3; width: 100%; height: auto; object-fit: cover; }
.nordic-poster figcaption { padding: .75rem .75rem .9rem; }
.nordic-poster figcaption strong, .nordic-poster figcaption span { display: block; }
.nordic-poster figcaption span, .nordic-caption { color: #b9cce8; font-size: .88rem; }
.nordic-poster img[data-unavailable] { visibility: hidden; }
.nordic-caption { margin-top: .45rem; }
.nordic-reading { margin: 1.5rem auto 3rem; }
.nordic-reading a, .nordic-article a { display: block; color: var(--nordic-ice); text-decoration: underline; text-underline-offset: .22em; margin-block: .75rem; }
.nordic-article { max-width: 52rem; padding: clamp(2rem, 8vw, 6rem) 1.25rem; margin: auto; }
.nordic-article h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 850; line-height: 1.05; letter-spacing: -.055em; }
.nordic-article h2 { margin-top: 2.2rem; }
.nordic-article p { color: #d2e3fa; line-height: 1.7; }
.nordic-article .nordic-lead { margin-top: 1rem; font-size: 1.2rem; }
@media (max-width: 639px) {
  .nordic-hero { min-height: 34rem; background-position: 63% center; }
  .nordic-hero h1 { max-width: 12ch; }
}
@media (prefers-reduced-motion: reduce) {
  .nordic-hero::after { animation: none; }
  .nordic-poster, .nordic-buy { transition: none; }
  .nordic-poster:hover, .nordic-buy:hover { transform: none; }
}
.nordic-poster:has(img[data-unavailable]) {
  background: radial-gradient(ellipse at 60% 20%, #214e83, transparent 75%), #142845;
}
.nordic-price-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.nordic-plan { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.1rem,2vw,1.8rem); border-radius: 1.5rem; border: 1px solid #34425b; background: linear-gradient(160deg,#18243b,#101a2d); position: relative; }
.nordic-plan-best { border-color: #a8b5ff; background: linear-gradient(145deg,#223d61,#24213e); }
.nordic-best-label { position: absolute; top: 0; inset-inline-start: 1.2rem; transform: translateY(-50%); background: #b4a4f6; color: #1c2544; font-size: .65rem; letter-spacing: .1em; padding: .42rem .8rem; border-radius: 999px; max-width: 85%; }
.nordic-plan h3 { font-size: 1.25rem; font-weight: 800; margin: .25rem 0 1.6rem; color: #e7efff; }
.nordic-price { color: #f3f8ff; display: flex; gap: .2rem; align-items: flex-start; font-size: clamp(2.5rem,4vw,3.75rem); line-height: 1; }
.nordic-price > span { font-size: .54em; margin-top: .18em; }
.nordic-price strong { letter-spacing: -.06em; }
.nordic-price-device { color: #a6b8d4; font-size: .82rem; margin-top: .8rem; }
.nordic-plan ul { list-style: none; padding: 1.4rem 0; margin: 1.25rem 0; border-top: 1px solid #3b4761; display: grid; gap: .8rem; flex: 1; }
.nordic-plan li { display: flex; align-items: start; gap: .65rem; font-size: .84rem; color: #d5deed; line-height: 1.45; }
.nordic-plan li::before { content: '✓'; color: #83dbff; font-weight: 700; }
.nordic-order { border: 1px solid #6b81a4; border-radius: 100px; padding: .8rem; text-align: center; font-size: .85rem; color: white; font-weight: 750; }
.nordic-order:hover, .nordic-plan-best .nordic-order { background: linear-gradient(100deg,#8aeaff,#b6a4ff); color: #10162e; border-color: transparent; }
.nordic-sport-rail { grid-auto-columns: clamp(14rem,26vw,21rem); }
.nordic-sport img { aspect-ratio: 16/9; }
.nordic-local-header { min-height: 4.5rem; padding: 1rem clamp(1rem,5vw,4rem); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #33486a; }
.nordic-local-brand { font-weight: 800; font-size: 1.25rem; }
.nordic-language { position: relative; }
.nordic-language summary { cursor: pointer; padding: .65rem 1rem; border: 1px solid #6381b9; border-radius: 1rem; }
.nordic-language div { position: absolute; z-index: 8; inset-inline-end: 0; width: 10rem; background: #101d33; padding: .7rem; border-radius: 1rem; }
.nordic-language a { display: block; padding: .35rem .6rem; }
.nordic-local-inner { max-width: 85rem; margin: auto; padding: clamp(2rem,6vw,6rem); }
.nordic-local-inner h1 { font-size: clamp(2rem,5vw,4.4rem); max-width: 14ch; font-weight: 850; line-height: 1.04; margin: 1rem 0; }
.nordic-local-inner p { max-width: 32rem; }
.nordic-local-cta { display: inline-flex; margin-top: 1.5rem; color: #fff; padding: .9rem 1.4rem; border-radius: 999px; background: #1b56d4; font-weight: 700; }
.nordic-local-footer { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 2rem 5%; border-top: 1px solid #34425b; color: #c1d9ef; }
@media (max-width: 1023px) { .nordic-price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .nordic-price-grid { grid-template-columns: 1fr; gap: 1.65rem; } }
@media(max-width:639px) {
 .nordic-hero { background-image: linear-gradient(90deg,rgba(5,11,26,.94),rgba(5,11,26,.57)),url('/assets/nordic-family-mobile.webp'); }
}

/* Compact entertainment and league rows. */
#featured .nordic-shelf {
  max-width: 76rem;
  padding-block: .9rem;
  padding-inline: clamp(.85rem, 3vw, 2rem);
}
#featured .nordic-shelf h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  margin-bottom: .45rem;
}
#featured .nordic-rail {
  grid-auto-columns: clamp(6.5rem, 12vw, 9rem);
  gap: .55rem;
  padding: .25rem .1rem .55rem;
}
#featured .nordic-sport-rail {
  grid-auto-columns: clamp(8.75rem, 13vw, 11.5rem);
}
#featured .nordic-poster { border-radius: .7rem; }
#featured .nordic-poster figcaption { padding: .45rem .5rem .55rem; }
#featured .nordic-poster figcaption strong { font-size: .75rem; line-height: 1.15; }
#featured .nordic-poster figcaption span { font-size: .66rem; margin-top: .2rem; }
.nordic-compact-leagues { max-width: 76rem; }
.nordic-compact-leagues > div { padding: .8rem 1rem; }
.nordic-compact-leagues h2 { font-size: 1rem; }
.nordic-compact-leagues > div > p { margin-top: .25rem; font-size: .74rem; }
.nordic-compact-leagues ul {
  display: grid; grid-auto-flow: column;
  grid-template-columns: repeat(5,minmax(125px,1fr));
  gap: .45rem; margin-top: .6rem; overflow-x: auto;
}
.nordic-compact-leagues li { padding: .55rem .65rem; border-radius: .6rem; }
.nordic-compact-leagues li p { font-size: .74rem; line-height: 1.3; }
.nordic-compact-leagues li p:last-child { margin-top: .2rem; }
@media(max-width:639px) {
  .nordic-hero { background-position: 78% center; }
  #featured .nordic-shelf { padding-block: .75rem; }
}
