:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #3a3a3a;
  --bluish: #e4ebf1;
  --line: #e0e0e0;
  --header: #ffffff;
  --card: #ffffff;
  --footer: #f4f5f6;
  --red: #da352f;
  --dot: #f00d0d;
  --pill: #918e8e;
  --feed: #374151;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --container: 1400px;
  --font: "Open Sans", Helvetica, Arial, sans-serif;
  --condensed: "Roboto Condensed", "Arial Narrow", sans-serif;
}

html.dark {
  --bg: #161616;
  --text: #f3f3f3;
  --muted: #d0d0d0;
  --bluish: #0d0d0d;
  --line: #333333;
  --header: #121212;
  --card: #1c1c1c;
  --footer: #2a2a2a;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul { margin: 0; padding: 0; }

.container {
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  display: none;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}
.theme-toggle {
  width: 45px;
  height: 25px;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  position: relative;
  cursor: pointer;
  padding: 0;
}
html.dark .theme-toggle { background: #303030; }
.theme-knob {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
  color: #111;
}
html.dark .theme-knob { transform: translateX(18px); color: #111; }
.theme-knob svg { width: 14px; height: 14px; }
html.dark .icon-moon { display: none; }
html:not(.dark) .icon-sun { display: none; }

.socials { display: flex; align-items: center; gap: 6px; }
.social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social.fb { background: #1877f2; }
.social.x { background: #000; }
.social.ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social.tt { background: #000; }
.social.yt { background: #ff0000; }
.top-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  margin: 6px 4px;
}
.flags { display: flex; gap: 6px; align-items: center; }
.flags img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }
.top-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  white-space: nowrap;
}
.top-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-width: 180px;
}
.top-search input,
.mobile-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 6px 4px;
  width: 100%;
  outline: none;
  font-size: 14px;
}
.top-search button,
.mobile-search button,
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  margin-bottom: 15px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 14px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo { width: 210px; height: auto; }
.logo-dark { display: none; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }
.menu-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #3f5e6f;
  cursor: pointer;
  padding: 0;
}
html.dark .menu-btn { color: #fff; }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-btn span { width: 24px; }
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
}
.menu-btn span::before { top: -7px; width: 26px; }
.menu-btn span::after { top: 7px; width: 26px; }
.mobile-search { display: flex; grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 4px; }
.nav-desktop { display: none; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
}
.nav-list + .nav-list { margin-top: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 6px; }
.nav-item > a {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-item > a:hover { color: var(--red); }
.slash { color: #222; font-weight: 600; }
html.dark .slash { color: #ddd; }
.has-sub > a { padding-right: 14px; }
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: -12px;
  opacity: 0.8;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--header);
  border: 1px solid var(--line);
  z-index: 50;
  padding: 4px 0;
  box-shadow: var(--shadow);
}
.submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #7b7b7b;
  border-bottom: 1px solid #eee;
}
html.dark .submenu a { color: #eee; border-color: #333; }
.submenu a:hover { background: #eee; color: #111; }
html.dark .submenu a:hover { background: #2a2a2a; color: #fff; }
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { display: block; }

.banner-link { display: block; text-align: center; margin: 8px auto 18px; }
.banner-link img { width: min(1100px, 100%); margin: 0 auto; border: 3px solid var(--red); }

.hero { position: relative; margin-bottom: 10px; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
}
.hero-media { position: relative; aspect-ratio: 16/10; background: #111; overflow: hidden; }
.hero-media img,
.hero-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; position: absolute; inset: 0; }
.hero-copy {
  background: var(--bluish);
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h2 {
  margin: 8px 0 12px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}
.hero-copy p { margin: 0 0 8px; line-height: 1.55; font-size: 16px; }
.hero-related { margin-top: 8px; padding-left: 18px; }
.hero-related li { margin: 10px 0; font-weight: 700; font-size: 15px; }
.hero-related a:hover { color: var(--red); }
.hero-nav {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.hero-nav button {
  pointer-events: auto;
  width: 42px;
  height: 64px;
  border: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c5c5c5;
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--dot); }

.pill-wrap { text-align: center; margin: 8px 0 18px; }
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 22px 4px 78px;
  color: #fff;
}
.pill-bar {
  position: absolute;
  inset: 0 0 0 25px;
  background: var(--pill);
  border-radius: 0 999px 999px 0;
}
.pill-dot {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  aspect-ratio: 1;
  z-index: 2;
}
.pill-dot span {
  position: absolute;
  inset: 4px;
  background: var(--dot);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--header);
}
html.dark .pill-dot span { box-shadow: 0 0 0 4px #000; }
.section-band .pill-dot span,
.band .pill-dot span { box-shadow: 0 0 0 4px var(--bluish); }
.pill-arrow {
  position: absolute;
  left: 16px;
  top: 2px;
  height: calc(100% - 4px);
  width: 46px;
  background: #111;
  clip-path: polygon(0 0, 34% 0, 100% 50%, 34% 100%, 0 100%);
  z-index: 1;
}
.pill-label {
  position: relative;
  z-index: 3;
  font-family: var(--condensed);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1;
}

.read-more { margin: 14px 0 6px; }
.read-more .pill-wrap { text-align: left; margin: 0; }
.read-more .pill { min-height: 36px; padding-left: 86px; }
.read-more .pill-label { font-size: 16px; letter-spacing: 0.04em; }
aside .socials { margin: 0 10px 16px; }

.trends {
  margin: 22px 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
}
.trends strong {
  color: var(--red);
  letter-spacing: 0.08em;
  font-size: 14px;
}
.trends a { font-weight: 700; font-size: 15px; }
.trends a:hover { color: var(--red); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 10px;
}
.promo-image { display: block; margin: 0 auto 16px; }
.promo-image img { width: min(900px, 100%); margin: 0 auto; }

.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: 1fr; }
.cards-3, .cards-4, .cards-5 { grid-template-columns: 1fr; }
.card {
  background: var(--card);
  min-width: 0;
}
.card a { display: block; height: 100%; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card a:hover img { transform: scale(1.04); }
.card h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card time, .feed time {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card a:hover h3 { color: var(--red); }

.side-title {
  margin: 0 10px 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.feed {
  background: var(--feed);
  color: #fff;
  padding: 8px 12px 18px;
}
html.dark .feed { background: #111; }
.feed h3 {
  margin: 0 0 8px;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.3;
}
.feed h3 a { color: #fff; }
.feed-item {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.feed-item:hover { color: #ffd0d0; }
.magazine { text-align: center; margin-top: 16px; }
.magazine img { width: min(280px, 100%); margin: 0 auto 10px; box-shadow: var(--shadow); }
.mag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.more-wrap { text-align: center; margin: 18px 0 8px; }
.more-btn {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.more-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

.section { margin: 28px 0; }
.band { background: var(--bluish); padding: 16px 0 28px; }
.band-lifestyle {
  position: relative;
  padding: 28px 0 36px;
  overflow: hidden;
  color: #fff;
}
.band-lifestyle::before,
.band-auto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(251,113,133,0.6), rgba(129,140,248,0.6), rgba(168,85,247,0.5), rgba(34,211,238,0.4), rgba(232,121,249,0.5), rgba(249,168,212,0.45));
}
.band-auto { position: relative; padding: 28px 0 36px; overflow: hidden; color: #fff; }
.band-auto::before {
  background: linear-gradient(to left, rgba(15,23,42,0.75), rgba(30,41,59,0.7), rgba(59,130,246,0.45), rgba(99,102,241,0.4), rgba(24,24,27,0.75));
}
.band-lifestyle .container,
.band-auto .container { position: relative; z-index: 1; }
.band-lifestyle .pill-dot span,
.band-auto .pill-dot span { box-shadow: 0 0 0 4px transparent; }

.life-grid, .auto-grid {
  display: grid;
  gap: 14px;
}
.overlay-card {
  position: relative;
  display: block;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
}
.overlay-card.tall { min-height: 280px; }
.overlay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,30,30,0.78), rgba(30,30,30,0));
}
.overlay-card h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  margin: 0;
  padding: 0 16px;
  z-index: 1;
  font-family: var(--condensed);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
}
.overlay-card:hover h3 { text-decoration: underline; }

.opinion-grid, .people-grid {
  display: grid;
  gap: 28px 16px;
  margin-top: 36px;
}
.opinion, .person {
  position: relative;
  background: var(--card);
  border-radius: 15px;
  text-align: center;
  padding: 58px 16px 22px;
  min-height: 180px;
}
.opinion img, .person img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--bluish);
  background: #ddd;
}
.opinion .who, .person .who {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.opinion h3, .person h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.stories {
  position: relative;
  min-height: 280px;
  padding: 28px 0 36px;
  color: #fff;
  background: #1b2430 center/cover no-repeat;
}
.stories::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.55);
}
.stories .container { position: relative; z-index: 1; }
.stories-logo { width: 220px; margin: 0 auto 16px; }
.story-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.story-card { color: #fff; min-width: 0; }
.story-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.story-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.tv-row { display: grid; gap: 14px; }
.lead-story {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
.lead-story img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.lead-story h2 { margin: 0 0 10px; font-size: 28px; font-weight: 500; line-height: 1.25; }
.lead-story p { margin: 0 0 10px; line-height: 1.55; color: var(--muted); }
.lead-story:hover h2 { color: var(--red); }

.voice-grid {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}
.voice-card, .news-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  text-align: center;
}
.voice-card h2, .news-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.news-card form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.news-card input {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 10px 12px;
  min-width: 240px;
}
.news-card button, .voice-card a.mag-btn { margin-top: 8px; }

.site-footer {
  background: var(--footer);
  padding: 28px 0 18px;
  margin-top: 20px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo { width: 180px; }
.footer-meta { line-height: 1.7; }
.footer-meta a { color: var(--red); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
  font-weight: 700;
  font-size: 13px;
}
.footer-links a:hover { color: var(--red); }
.copy { color: var(--muted); font-size: 13px; }
.drawer-extra { display: none; }

@media (min-width: 700px) {
  .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .opinion-grid, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .life-grid { grid-template-columns: 1fr 1fr; }
  .auto-grid { grid-template-columns: 1fr 1fr; }
  .auto-grid .feature { grid-column: 1 / -1; min-height: 320px; }
  .tv-row { grid-template-columns: 1fr 1fr; }
  .lead-story { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .voice-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 8fr 4fr; min-height: 460px; }
  .hero-media { aspect-ratio: auto; min-height: 460px; }
  .hero-copy h2 { font-size: 28px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4, .cards-5 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .life-grid { grid-template-columns: 1.15fr 1fr 1.15fr; }
  .life-grid .tall { grid-row: span 2; min-height: 430px; }
  .auto-grid { grid-template-columns: repeat(3, 1fr); }
  .opinion-grid, .people-grid { grid-template-columns: repeat(4, 1fr); }
  .tv-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .topbar { display: block; }
  .mobile-search { display: none; }
  .header-row { grid-template-columns: 280px 1fr; padding-top: 10px; }
  .nav-desktop { display: block; }
  .cards-5 { grid-template-columns: repeat(5, 1fr); }
  .nav-drawer { display: none; }
}

@media (max-width: 1279px) {
  body.menu-open .site-header { z-index: 70; }
  .nav-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 88vw);
    background: var(--header);
    z-index: 60;
    padding: 72px 18px 24px;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }
  body.menu-open .nav-drawer { transform: translateX(0); }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 55;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-item > a { display: block; padding: 12px 0; }
  .slash, .caret { display: none; }
  .submenu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 10px; }
  .drawer-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .drawer-extra a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
  }
  .menu-btn { position: relative; z-index: 70; }
}
