:root {
  --max: 1320px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main,
.site-header,
.breaking-news,
.site-footer {
  width: 100%;
}

.site-container {
  width: min(calc(100% - 48px), var(--max));
}

.editorial-hero,
.secondary-stack,
.trending-widget,
.news-grid,
.news-card,
.news-card__body,
.live-media,
.live-widget,
.video-section,
.video-grid,
.video-card,
.section-explorer__grid,
.utility-grid,
.footer-grid {
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: anywhere;
}

.editorial-hero {
  grid-template-columns: minmax(0, 1.85fr) minmax(250px, .72fr) minmax(275px, .72fr);
}

.lead-story h1 {
  max-width: 820px;
  font-size: clamp(4rem, 4.1vw, 6rem);
  line-height: 1.01;
}

.lead-story p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.secondary-story h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.trending-widget h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-card h3 {
  display: -webkit-box;
  min-height: 6rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card__body {
  min-height: 225px;
}

.live-widget {
  padding-right: min(45%, 330px);
}

.live-widget h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.live-widget p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.video-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(245px, .75fr);
}

.video-card {
  grid-template-columns: minmax(105px, 42%) minmax(0, 1fr);
}

.video-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.section-tile strong,
.section-tile span {
  overflow-wrap: normal;
  word-break: normal;
}

.footer-brand img {
  padding: 7px 10px;
  border-radius: 5px;
  background: #fff;
}

@media (min-width: 1500px) {
  :root {
    --max: 1420px;
  }

  .site-container {
    width: min(calc(100% - 72px), var(--max));
  }
}

@media (max-width: 1180px) {
  .editorial-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
  }

  .trending-widget {
    grid-column: 1 / -1;
  }

  .trending-widget ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .trending-widget li {
    align-content: start;
  }

  .section-explorer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-container {
    width: min(calc(100% - 32px), var(--max));
  }

  .live-media,
  .utility-grid {
    grid-template-columns: 1fr;
  }

  .live-widget {
    padding-right: 42%;
  }

  .updates-widget {
    grid-column: auto;
  }

  .video-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  }
}

@media (max-width: 700px) {
  .site-container {
    width: min(calc(100% - 24px), var(--max));
  }

  .editorial-hero,
  .news-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .lead-story {
    min-height: 510px;
  }

  .lead-story__overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .lead-story h1 {
    font-size: clamp(3.4rem, 10vw, 4.4rem);
  }

  .secondary-stack {
    grid-template-columns: 1fr;
  }

  .trending-widget ol {
    grid-template-columns: 1fr;
  }

  .live-widget {
    min-height: auto;
    padding: 27px;
  }

  .live-timeline {
    position: static;
    width: auto;
    margin-top: 28px;
  }

  .video-card {
    grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
  }

  .video-card--featured {
    display: block;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .lead-story {
    min-height: 470px;
  }

  .lead-story h1 {
    font-size: 3.3rem;
  }

  .section-explorer__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    grid-template-columns: 1fr;
  }
}
