:root {
  --red: #e30b18;
  --red-dark: #b30812;
  --ink: #111111;
  --muted: #626771;
  --line: #e2e5ea;
  --soft: #f4f5f7;
  --paper: #ffffff;
  --shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #111;
}

.site-header::before {
  display: none;
}

.top-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #343941;
  font-size: 12px;
  font-weight: 700;
}

.strip-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand img {
  width: min(350px, 100%);
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
}

.ad-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #111318;
  color: #fff;
  text-align: center;
}

.ad-slot::before {
  display: none;
}

.ad-slot img,
.side-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-top {
  min-height: 82px;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-top: 0;
  border-bottom: 0;
  background: var(--red);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
}

.nav-inner a {
  flex: 0 0 auto;
  padding: 14px 17px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 3px solid transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.nav-inner a:hover {
  border-bottom-color: #fff;
  color: #fff;
}

.market-strip {
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
  color: #111;
}

.market-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.market-inner span {
  flex: 0 0 auto;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  color: #4d535c;
  font-size: 13px;
  font-weight: 800;
}

.market-inner span:first-child {
  padding-left: 0;
}

.market-inner b {
  margin-right: 6px;
  color: var(--red);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1160px);
  gap: 0;
  justify-content: center;
  align-items: start;
  padding: 20px 16px 34px;
}

.page-shell > .container {
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.lead-zone,
.sidebar,
.news-section,
.headline-box,
.news-card {
  min-width: 0;
}

.hero-news {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  background: #151515;
  box-shadow: var(--shadow);
}

.hero-track,
.hero-slide {
  grid-area: 1 / 1;
  min-height: 420px;
}

.hero-slide {
  position: relative;
  display: none;
  overflow: hidden;
}

.hero-slide.active {
  display: grid;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18));
  content: "";
}

.hero-slide.ad-slide::after {
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.76), rgba(227, 11, 24, 0.24));
}

.hero-slide > img,
.hero-slide .thumb-fallback,
.hero-news .skeleton.image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  grid-area: 1 / 1;
}

.skeleton.image {
  background: linear-gradient(135deg, #222, #505050);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: block;
  grid-area: 1 / 1;
  align-self: end;
  max-width: 720px;
  padding: 36px 96px 42px 38px;
  color: #fff;
}

.pill,
.source-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.03;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.55;
}

.slider-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-arrow,
.slider-dot {
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
}

.slider-arrow {
  width: 34px;
  height: 34px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 4px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.55;
}

.slider-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--red);
  opacity: 1;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  background: #fff;
}

.quick-panel > div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.quick-panel > div:last-child {
  border-right: 0;
}

.panel-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-panel strong {
  font-size: 15px;
}

.block-title {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--red);
}

.block-title span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  background: var(--red);
  color: #fff;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 900;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.ad-box {
  min-height: 236px;
}

.headline-box,
.news-section,
.news-card {
  border: 1px solid var(--line);
  background: #fff;
}

.headline-box {
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 22px 14px;
}

.section-heading.compact {
  padding: 17px 18px 8px;
}

.section-heading span {
  width: 6px;
  height: 30px;
  background: var(--red);
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

#headline-list {
  display: grid;
  margin: 0;
  padding: 0 18px 18px 42px;
}

#headline-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

#headline-list li:last-child {
  border-bottom: 0;
}

.news-section {
  grid-column: 1 / -1;
  margin-top: 22px;
  overflow: hidden;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 18px;
}

.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 15px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.filter.active,
.filter:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 22px 22px;
  border-top: 1px solid var(--line);
}

.news-card {
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.news-card.lead-card {
  grid-column: span 2;
  grid-row: span 2;
  align-content: start;
  background: #111318;
  color: #fff;
}

.news-card.lead-card .card-body {
  padding: 18px;
}

.news-card.lead-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.news-card.lead-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.news-card.lead-card .meta-row {
  color: rgba(255, 255, 255, 0.72);
}

.news-card.lead-card img,
.news-card.lead-card .thumb-fallback {
  aspect-ratio: 16 / 9;
}

.news-card.side-card {
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: stretch;
}

.news-card.side-card img,
.news-card.side-card .thumb-fallback {
  height: 100%;
  min-height: 116px;
  aspect-ratio: auto;
}

.news-card.side-card .card-body {
  padding: 12px;
}

.news-card.side-card h3 {
  font-size: 15px;
}

.news-card.side-card p,
.news-card.side-card .read-more {
  display: none;
}

.news-card img,
.thumb-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #171717;
}

.thumb-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.card-body {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 14px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.news-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.read-more {
  justify-self: start;
  margin-top: 2px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.loading-card {
  min-height: 300px;
  background: linear-gradient(110deg, #f0f1f3 8%, #fff 18%, #f0f1f3 33%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

.side-ad {
  display: none;
  width: 104px;
  min-height: 420px;
  place-items: center;
  border: 0;
  background: #111318;
  color: #fff;
  text-align: center;
}

.bottom-ad-wrap {
  padding: 0 0 34px;
}

.ad-bottom {
  min-height: 104px;
}

.mobile-ad {
  display: none;
}

.gp-footer {
  margin-top: 0;
  border-top: 5px solid var(--red);
  background: #111318;
  color: #fff;
}

.gp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.7fr) minmax(220px, 0.9fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0 30px;
}

.gp-footer-brand img {
  width: 240px;
  max-width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 16px;
  background: #fff;
  padding: 8px 10px;
}

.gp-footer-brand p,
.gp-footer-contact p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.gp-footer-links,
.gp-footer-contact {
  display: grid;
  gap: 9px;
}

.gp-footer h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
}

.gp-footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.gp-footer-links a:hover,
.gp-footer-bottom a:hover {
  color: #fff;
}

.gp-footer-contact span {
  display: inline-flex;
  justify-self: start;
  margin-top: 6px;
  background: var(--red);
  color: #fff;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.gp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0c0f;
}

.gp-footer-bottom .container {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.gp-footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

@media (max-width: 1420px) {
  .page-shell {
    padding-inline: 0;
  }

  .side-ad {
    display: none;
  }
}

@media (max-width: 1000px) {
  .masthead,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: min(360px, 100%);
    max-height: 82px;
    margin: 0 auto;
    object-position: center;
  }

  .masthead {
    text-align: center;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card.lead-card {
    grid-column: 1 / -1;
  }

  .news-card.side-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .mobile-ad {
    display: block;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .strip-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
  }

  .masthead {
    gap: 14px;
    padding: 15px 0;
  }

  .ad-top {
    min-height: 70px;
  }

  .nav-inner {
    justify-content: flex-start;
  }

  .nav-inner a {
    padding: 13px 10px 11px;
    font-size: 13px;
  }

  .page-shell {
    padding-top: 14px;
  }

  .content-grid {
    gap: 16px;
  }

  .hero-news,
  .hero-track,
  .hero-slide,
  .hero-slide > img,
  .hero-slide .thumb-fallback,
  .hero-news .skeleton.image {
    min-height: 340px;
  }

  .hero-slide::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
  }

  .hero-copy {
    padding: 22px 22px 68px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .slider-controls {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: space-between;
  }

  .quick-panel {
    grid-template-columns: 1fr;
  }

  .quick-panel > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-panel > div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    padding: 18px 16px 14px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .filters {
    padding: 0 16px 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px 16px;
  }

  .news-card.lead-card {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card.lead-card h3 {
    font-size: 25px;
  }

  .news-card.side-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .gp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .gp-footer-brand img {
    margin: 0 auto;
  }

  .gp-footer-contact span {
    justify-self: center;
  }

  .gp-footer-bottom .container {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
    text-align: center;
  }
}
