@charset "UTF-8";

:root {
  --editorial-blue: #3156d8;
  --editorial-blue-dark: #203f9b;
  --editorial-ink: #101c33;
  --editorial-muted: #69778d;
  --editorial-line: #dfe6ef;
  --editorial-soft: #eef4ff;
  --editorial-surface: #ffffff;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--editorial-ink);
  color: #fff;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.digital-news-home {
  display: grid;
  gap: 20px;
}

.home-compact-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  height: 190px;
  min-height: 190px;
  box-sizing: border-box;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 23px;
  background:
    radial-gradient(circle at 78% 15%, rgba(88, 205, 255, .46), transparent 25%),
    linear-gradient(120deg, #183d9e 0%, #315ee3 55%, #159bc2 100%);
  color: #fff;
  box-shadow: 0 14px 35px rgba(40, 76, 164, .18);
}

.home-compact-banner::after {
  position: absolute;
  right: 16%;
  bottom: -92px;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.home-compact-banner__copy,
.home-compact-banner__aside {
  position: relative;
  z-index: 1;
}

.home-compact-banner__copy > span {
  display: block;
  margin-bottom: 6px;
  color: #bcd7ff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

.home-compact-banner__copy strong {
  display: block;
  font-size: clamp(23px, 2.05vw, 31px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.home-compact-banner__copy p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  line-height: 1.45;
}

.home-compact-banner__aside {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
  min-width: 195px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 17px;
  background: rgba(8, 29, 82, .25);
  backdrop-filter: blur(8px);
}

.home-compact-banner__aside b {
  grid-row: span 2;
  font-size: 41px;
  line-height: .9;
  letter-spacing: -.06em;
}

.home-compact-banner__aside > span {
  color: #c8dbff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.home-compact-banner__aside a {
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.home-compact-banner__aside a:hover,
.home-compact-banner__aside a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-front,
.most-read,
.news-feed {
  border: 1px solid var(--editorial-line);
  background: var(--editorial-surface);
  box-shadow: 0 14px 38px rgba(28, 53, 88, .055);
}

.editorial-front {
  padding: 30px;
  border-radius: 28px;
}

.editorial-front__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--editorial-ink);
}

.editorial-front__eyebrow,
.news-feed__label,
.most-read__title > span,
.topic-section__header span,
.editorial-picks__title span {
  display: block;
  color: var(--editorial-blue);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
}

.editorial-front__header h1 {
  margin: 7px 0 0;
  color: var(--editorial-ink);
  font-size: clamp(35px, 3.8vw, 52px);
  line-height: 1;
  letter-spacing: -.06em;
}

.editorial-front__header > p {
  max-width: 380px;
  margin: 0;
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
  word-break: keep-all;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5.8fr) minmax(0, 3.2fr);
  gap: 0;
  margin-top: 0;
}

.editorial-secondary {
  display: grid;
  align-content: start;
  gap: 0;
  padding-right: 20px;
}

.editorial-lead {
  min-width: 0;
  padding: 0 20px;
  border-right: 1px solid var(--editorial-line);
  border-left: 1px solid var(--editorial-line);
}

.editorial-picks {
  min-width: 0;
  padding-left: 20px;
}

.editorial-picks__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--editorial-ink);
}

.editorial-picks__title h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-size: 18px;
  letter-spacing: -.03em;
}

.editorial-grid .article-card {
  min-width: 0;
  background: transparent;
}

.front-lead-card .article-media {
  width: 100%;
  margin-bottom: 17px;
  overflow: hidden;
  border-radius: 17px;
  background: #edf1f6;
  aspect-ratio: 16 / 9;
}

.front-lead-card .article-media img,
.front-secondary-card .article-media img,
.front-pick-card .article-media img,
.topic-card .article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card:hover .article-media img {
  transform: scale(1.025);
}

.article-meta {
  margin: 0 0 7px;
  color: var(--editorial-blue);
  font-size: 8px;
  font-weight: 950;
  line-height: 1.4;
  letter-spacing: .06em;
}

.article-card h3 {
  margin: 0;
  color: var(--editorial-ink);
  line-height: 1.1;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.article-title-link {
  color: inherit;
  text-decoration: none;
}

.article-title-link:hover,
.article-title-link:focus-visible {
  color: var(--editorial-blue);
}

.article-excerpt {
  display: -webkit-box;
  margin: 10px 0 13px;
  overflow: hidden;
  color: var(--editorial-muted);
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--editorial-blue);
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

.front-lead-card h3 {
  max-width: 720px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
}

.front-lead-card .article-excerpt {
  max-width: 700px;
  font-size: 13px;
  -webkit-line-clamp: 3;
}

.front-secondary-card {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--editorial-line);
}

.front-secondary-card + .front-secondary-card {
  padding-top: 18px;
}

.front-secondary-card .article-media {
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 13px;
  background: #edf1f6;
  aspect-ratio: 16 / 9;
}

.front-secondary-card h3 {
  font-size: clamp(20px, 1.7vw, 27px);
}

.front-secondary-card .article-excerpt {
  -webkit-line-clamp: 2;
}

.front-pick-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--editorial-line);
}

.front-pick-card .article-media {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 12px;
  background: #edf1f6;
}

.front-pick-card h3 {
  font-size: 17px;
}

.front-pick-card .article-excerpt,
.front-pick-card .article-link {
  display: none;
}

@media (min-width: 1081px) {
  .editorial-grid {
    align-items: stretch;
  }

  .editorial-secondary {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .front-secondary-card,
  .front-secondary-card + .front-secondary-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
    padding: 0 0 13px;
  }

  .front-secondary-card + .front-secondary-card {
    padding-top: 13px;
  }

  .front-secondary-card .article-media {
    margin-bottom: 9px;
    aspect-ratio: 16 / 8.2;
  }

  .front-secondary-card .article-learning-info {
    margin-bottom: 5px;
  }

  .front-secondary-card .article-learning-info span:nth-child(n+3) {
    display: none;
  }

  .front-secondary-card .article-meta {
    margin-bottom: 5px;
  }

  .front-secondary-card h3 {
    font-size: clamp(18px, 1.42vw, 23px);
  }

  .front-secondary-card .article-excerpt {
    display: none;
  }

  .front-secondary-card .article-link {
    display: none;
  }

  .editorial-picks {
    display: flex;
    flex-direction: column;
  }

  .editorial-picks > [data-front-picks] {
    display: grid;
    flex: 1;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .front-pick-card {
    align-items: center;
    align-content: center;
    min-height: 0;
    padding: 10px 0;
  }
}

.most-read {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
}

.most-read__title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px 23px;
  background: linear-gradient(135deg, var(--editorial-ink), #263958);
  color: #fff;
}

.most-read__title > span {
  color: #92abff;
}

.most-read__title h2 {
  margin: 5px 0 0;
  font-size: 24px;
  letter-spacing: -.04em;
}

.most-read__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.most-read__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 20px 16px;
  border-right: 1px solid var(--editorial-line);
}

.most-read__list li:last-child {
  border-right: 0;
}

.most-read__list span {
  color: var(--editorial-blue);
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.most-read__list a {
  color: #35445b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.most-read__list a:hover,
.most-read__list a:focus-visible {
  color: var(--editorial-blue);
}

.news-feed {
  padding: 30px;
  border-radius: 27px;
}

.news-feed--cards-only {
  padding-top: 30px;
}

.news-feed__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--editorial-line);
}

.news-feed__header h2 {
  margin: 6px 0 0;
  color: var(--editorial-ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.055em;
}

.news-feed__header div > p {
  margin: 9px 0 0;
  color: var(--editorial-muted);
  font-size: 12px;
}

.article-result-status {
  margin: 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--editorial-soft);
  color: var(--editorial-blue);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.article-source {
  display: none;
}

.topic-sections {
  display: grid;
}

.topic-section {
  padding: 29px 0 30px;
  border-bottom: 1px solid var(--editorial-line);
}

.topic-section:last-child {
  border-bottom: 0;
}

.topic-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}

.topic-section__header h3 {
  margin: 5px 0 0;
  color: var(--editorial-ink);
  font-size: 27px;
  letter-spacing: -.045em;
}

.topic-section__header > p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 11px;
  text-align: right;
}

.topic-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.topic-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 53, 88, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.topic-card:hover {
  border-color: #becdee;
  box-shadow: 0 14px 28px rgba(28, 53, 88, .09);
  transform: translateY(-2px);
}

.topic-card .article-media {
  width: 100%;
  margin-bottom: 13px;
  overflow: hidden;
  border-radius: 13px;
  background: #edf1f6;
  aspect-ratio: 16 / 10;
}

.topic-card .article-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.topic-card h3 {
  font-size: clamp(19px, 1.45vw, 24px);
}

.topic-card .article-link {
  margin-top: auto;
}

.topic-section--world .topic-card--feature,
.topic-section--culture .topic-card--feature {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 17px;
}

.topic-section--world .topic-card--feature .article-media,
.topic-section--culture .topic-card--feature .article-media {
  height: 100%;
  min-height: 260px;
  margin: 0;
  aspect-ratio: auto;
}

.topic-section--world .topic-card--feature .article-copy,
.topic-section--culture .topic-card--feature .article-copy {
  justify-content: center;
  padding: 7px;
}

.topic-section--world .topic-card--feature h3,
.topic-section--culture .topic-card--feature h3 {
  font-size: clamp(25px, 2.25vw, 34px);
}

.topic-section--science {
  margin-inline: -30px;
  padding-inline: 30px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.topic-section--science .topic-card {
  background: rgba(255, 255, 255, .9);
}

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

.topic-section--life .topic-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
}

.topic-section--life .topic-card .article-media {
  height: 100%;
  min-height: 145px;
  margin: 0;
  aspect-ratio: auto;
}

.topic-section--life .topic-card .article-excerpt {
  -webkit-line-clamp: 2;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 27px;
}

.load-more-button {
  min-width: 230px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid #c9d6ec;
  border-radius: 15px;
  background: #fff;
  color: #2d456d;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(28, 53, 88, .065);
}

.load-more-button:hover,
.load-more-button:focus-visible {
  border-color: var(--editorial-blue);
  background: var(--editorial-blue);
  color: #fff;
}

.load-more-button span {
  margin-left: 6px;
  color: #7b8ba2;
  font-size: 10px;
}

.load-more-button:hover span,
.load-more-button:focus-visible span {
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 1080px) {
  .editorial-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }

  .editorial-secondary {
    padding-right: 18px;
  }

  .editorial-lead {
    padding-right: 0;
    border-right: 0;
  }

  .editorial-picks {
    grid-column: 1 / -1;
    margin-top: 22px;
    padding: 0;
    border-top: 1px solid var(--editorial-line);
  }

  .editorial-picks > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .front-pick-card {
    padding-right: 12px;
    border-right: 1px solid var(--editorial-line);
  }

  .most-read {
    grid-template-columns: 140px minmax(0, 1fr);
  }

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

  .most-read__list li:nth-child(2) {
    border-right: 0;
  }

  .most-read__list li:nth-child(-n+2) {
    border-bottom: 1px solid var(--editorial-line);
  }

}

@media (max-width: 760px) {
  .editorial-front,
  .news-feed {
    padding: 22px;
    border-radius: 23px;
  }

  .editorial-front__header,
  .news-feed__header,
  .topic-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-front__header > p,
  .topic-section__header > p {
    max-width: none;
    text-align: left;
  }

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

  .editorial-lead {
    grid-row: 1;
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid var(--editorial-line);
  }

  .editorial-secondary {
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 0 0;
  }

  .front-secondary-card,
  .front-secondary-card + .front-secondary-card {
    padding: 0;
    border: 0;
  }

  .editorial-picks > div:last-child {
    grid-template-columns: 1fr;
  }

  .front-pick-card {
    border-right: 0;
  }

  .most-read {
    grid-template-columns: 1fr;
  }

  .most-read__title {
    padding: 16px 20px;
  }

  .most-read__list {
    grid-template-columns: 1fr;
  }

  .most-read__list li,
  .most-read__list li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--editorial-line);
  }

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

  .topic-section--world .topic-card--feature,
  .topic-section--culture .topic-card--feature {
    display: flex;
    grid-column: span 2;
  }

  .topic-section--world .topic-card--feature .article-media,
  .topic-section--culture .topic-card--feature .article-media {
    height: auto;
    min-height: 0;
    margin-bottom: 13px;
    aspect-ratio: 16 / 10;
  }

  .topic-section--life .topic-card {
    display: flex;
  }

  .topic-section--life .topic-card .article-media {
    height: auto;
    min-height: 0;
    margin-bottom: 13px;
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 500px) {
  .editorial-front,
  .news-feed {
    padding: 18px 15px;
  }

  .editorial-front__header h1 {
    font-size: 36px;
  }

  .front-lead-card h3 {
    font-size: 31px;
  }

  .editorial-secondary,
  .topic-section__grid,
  .topic-section--life .topic-section__grid {
    grid-template-columns: 1fr;
  }

  .topic-section--world .topic-card--feature,
  .topic-section--culture .topic-card--feature {
    grid-column: auto;
  }

  .topic-section--science {
    margin-inline: -15px;
    padding-inline: 15px;
  }

}

/* Age-specific home editions: Kids, Junior and Teens */
body[data-home-edition="kids"] {
  --edition-accent: #ff8242;
  --edition-accent-dark: #d95f22;
  --edition-soft: #fff3eb;
  --edition-rgb: 255, 130, 66;
}

body[data-home-edition="junior"] {
  --edition-accent: #8f50df;
  --edition-accent-dark: #6f35bb;
  --edition-soft: #f5efff;
  --edition-rgb: 143, 80, 223;
}

body[data-home-edition="teens"] {
  --edition-accent: #ef4d92;
  --edition-accent-dark: #c72d70;
  --edition-soft: #fff0f6;
  --edition-rgb: 239, 77, 146;
}

body[data-home-edition="mixed"] {
  --edition-accent: #465ee8;
  --edition-accent-dark: #303f9f;
  --edition-soft: #eef1ff;
  --edition-rgb: 70, 94, 232;
}

body[data-home-edition] {
  --editorial-blue: var(--edition-accent);
  --editorial-blue-dark: var(--edition-accent-dark);
  --editorial-soft: var(--edition-soft);
}

body[data-home-edition] .home-compact-banner {
  border-color: rgba(var(--edition-rgb), .18);
  background:
    radial-gradient(circle at 78% 15%, rgba(255, 255, 255, .34), transparent 27%),
    linear-gradient(120deg, var(--edition-accent-dark) 0%, var(--edition-accent) 58%, #19a4b4 128%);
  box-shadow: 0 16px 38px rgba(var(--edition-rgb), .23);
  transition: background .32s ease, box-shadow .32s ease;
}

.home-edition-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr);
  gap: 28px;
  align-items: end;
  padding: 0 0 25px;
  border-bottom: 0;
}

.home-edition-toolbar--summary-only {
  grid-template-columns: minmax(0, 1fr);
}

.home-edition-toolbar--summary-only .home-edition-intro > p {
  max-width: 820px;
}

.home-edition-intro {
  min-width: 0;
}

.home-edition-kicker {
  display: block;
  color: var(--edition-accent);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
}

.home-edition-intro h1 {
  margin: 6px 0 0;
  color: var(--editorial-ink);
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1;
  letter-spacing: -.055em;
}

.home-edition-intro h1 span {
  color: var(--edition-accent);
}

.home-edition-intro > p {
  max-width: 670px;
  margin: 10px 0 0;
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.home-edition-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.home-edition-stats > span {
  padding: 7px 10px;
  border: 1px solid rgba(var(--edition-rgb), .2);
  border-radius: 999px;
  background: var(--edition-soft);
  color: #647187;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.home-edition-stats b {
  margin-left: 3px;
  color: var(--edition-accent-dark);
  font-weight: 950;
}

.home-edition-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-edition-tabs button {
  display: flex;
  min-width: 0;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dce5f0;
  border-radius: 17px;
  background: #fff;
  color: #28364d;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 17px rgba(31, 52, 83, .04);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.home-edition-tabs button:hover,
.home-edition-tabs button:focus-visible {
  border-color: var(--edition-accent);
  transform: translateY(-2px);
  outline: 0;
}

.home-edition-tabs button[aria-selected="true"] {
  border-color: var(--edition-accent);
  background: linear-gradient(145deg, #fff, var(--edition-soft));
  box-shadow: 0 11px 22px rgba(var(--edition-rgb), .18);
}

.home-edition-tabs i {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: #edf2f8;
  color: #6d788b;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.home-edition-tabs button[aria-selected="true"] i {
  background: var(--edition-accent);
  color: #fff;
  box-shadow: 0 7px 14px rgba(var(--edition-rgb), .25);
}

.home-edition-tabs button > span {
  min-width: 0;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
}

.home-edition-tabs small {
  display: block;
  margin-top: 5px;
  color: #8190a5;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.editorial-grid {
  margin-top: 25px;
}

.article-learning-info {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px;
}

.article-learning-info span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #728097;
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.article-learning-info span:first-child {
  background: var(--edition-card-soft, var(--edition-soft));
  color: var(--edition-card-accent, var(--edition-accent-dark));
}

.front-pick-card .article-learning-info {
  margin-bottom: 5px;
}

.front-pick-card .article-learning-info span:not(:first-child) {
  display: none;
}

.front-pick-card .article-learning-info span {
  min-height: 17px;
  padding: 3px 6px;
  font-size: 7px;
}

.most-read__title {
  background: linear-gradient(135deg, var(--edition-accent-dark), var(--edition-accent));
}

.most-read__title > span {
  color: rgba(255, 255, 255, .7);
}

.edition-cover-deck--home .edition-cover {
  opacity: .52;
  filter: saturate(.55) brightness(.92);
  transition: opacity .28s ease, filter .28s ease, transform .28s ease, box-shadow .28s ease;
}

.edition-cover-deck--home .edition-cover.is-active {
  z-index: 6;
  opacity: 1;
  filter: none;
  transform: translateY(-6px) scale(1.08) !important;
  box-shadow: 0 14px 26px rgba(var(--edition-rgb), .28);
}

@media (max-width: 1080px) {
  .home-edition-toolbar {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .home-edition-tabs {
    max-width: 660px;
  }
}

@media (max-width: 760px) {
  .home-edition-toolbar {
    padding-bottom: 20px;
  }

  .home-edition-intro h1 {
    font-size: 34px;
  }

  .home-edition-tabs button {
    min-height: 60px;
    gap: 7px;
    padding: 8px;
    border-radius: 14px;
  }

  .home-edition-tabs i {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .home-edition-tabs small {
    display: none;
  }

  .editorial-grid {
    margin-top: 20px;
  }
}

@media (max-width: 500px) {
  .home-edition-kicker {
    font-size: 8px;
  }

  .home-edition-intro h1 {
    font-size: 30px;
  }

  .home-edition-intro > p {
    font-size: 11px;
  }

  .home-edition-stats {
    gap: 5px;
  }

  .home-edition-stats > span {
    padding: 6px 8px;
    font-size: 8px;
  }

  .home-edition-tabs {
    gap: 5px;
  }

  .home-edition-tabs button {
    min-height: 54px;
    justify-content: center;
    padding: 7px 5px;
  }

  .home-edition-tabs i {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    font-size: 10px;
  }

  .home-edition-tabs button > span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-compact-banner,
  .home-edition-tabs button,
  .home-edition-tabs i,
  .edition-cover-deck--home .edition-cover {
    transition: none;
  }
}

/* Mixed editorial home: non-headline stories from five editions */
.home-edition-lineup {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.home-edition-lineup > span {
  display: grid;
  min-width: 0;
  min-height: 67px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--lineup-accent) 30%, #dbe3ee);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--lineup-accent) 8%, #fff));
  color: var(--lineup-accent);
  box-shadow: 0 7px 17px rgba(31, 52, 83, .04);
}

.home-edition-lineup i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: var(--lineup-accent);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 6px 12px color-mix(in srgb, var(--lineup-accent) 24%, transparent);
}

.home-edition-lineup b {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-lineup-issue="junior"] { --lineup-accent: #8f50df; }
[data-lineup-issue="teen"] { --lineup-accent: #ef4d92; }
[data-lineup-issue="kids"] { --lineup-accent: #ff8242; }
[data-lineup-issue="general"] { --lineup-accent: #718099; }
[data-lineup-issue="kinder"] { --lineup-accent: #2bc46f; }

body[data-home-edition="mixed"] .home-compact-banner {
  background:
    radial-gradient(circle at 79% 14%, rgba(255, 255, 255, .3), transparent 27%),
    linear-gradient(120deg, #3156d8 0%, #8053df 55%, #ef4d92 118%);
}

body[data-home-edition="mixed"] .edition-cover-deck--home .edition-cover {
  opacity: .92;
  filter: saturate(.9);
}

.article-card[data-issue="junior"] { --edition-card-accent: #8f50df; --edition-card-soft: #f5efff; }
.article-card[data-issue="teen"] { --edition-card-accent: #ef4d92; --edition-card-soft: #fff0f6; }
.article-card[data-issue="kids"] { --edition-card-accent: #ff8242; --edition-card-soft: #fff3eb; }
.article-card[data-issue="general"] { --edition-card-accent: #718099; --edition-card-soft: #eef2f7; }
.article-card[data-issue="kinder"] { --edition-card-accent: #2bc46f; --edition-card-soft: #eafaf1; }

body[data-home-edition="mixed"] .article-card .article-meta,
body[data-home-edition="mixed"] .article-card .article-link {
  color: var(--edition-card-accent);
}

body[data-home-edition="mixed"] .article-card .article-title-link:hover,
body[data-home-edition="mixed"] .article-card .article-title-link:focus-visible {
  color: var(--edition-card-accent);
}

body[data-home-edition="mixed"] .most-read__title {
  background: linear-gradient(135deg, #303f9f, #8053df);
}

.most-read__list a small {
  display: block;
  margin-bottom: 4px;
  color: #75849a;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.most-read__list li[data-issue="junior"] a small { color: #8f50df; }
.most-read__list li[data-issue="teen"] a small { color: #ef4d92; }
.most-read__list li[data-issue="general"] a small { color: #718099; }
.most-read__list li[data-issue="kinder"] a small { color: #2bc46f; }

.story-topic-strip [data-topic-issue="junior"] b { color: #8f50df; }
.story-topic-strip [data-topic-issue="teen"] b { color: #ef4d92; }
.story-topic-strip [data-topic-issue="kids"] b { color: #ff8242; }
.story-topic-strip [data-topic-issue="general"] b { color: #718099; }
.story-topic-strip [data-topic-issue="kinder"] b { color: #2bc46f; }

.story-card--kinder-finale {
  border-color: rgba(43, 196, 111, .42);
  background: linear-gradient(135deg, #fff, #effcf5);
  box-shadow: 0 13px 30px rgba(43, 196, 111, .1);
}

@media (max-width: 760px) {
  .home-edition-lineup {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .home-edition-lineup::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 500px) {
  .home-edition-lineup {
    grid-template-columns: repeat(5, 68px);
  }

  .home-edition-lineup > span {
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-media img,
  .topic-card {
    transition: none;
  }
}

/* Dense digital story stream below the shared lead banner. */
.story-topic-strip {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  padding: 12px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--editorial-line);
  scrollbar-width: none;
}

.story-topic-strip::-webkit-scrollbar {
  display: none;
}

.story-topic-strip span {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #e2e8f1;
  border-radius: 999px;
  background: #f7f9fc;
  color: #5e6d83;
  font-size: 10px;
  font-weight: 850;
}

.story-topic-strip span.is-active {
  border-color: var(--editorial-ink);
  background: var(--editorial-ink);
  color: #fff;
}

.story-topic-strip b {
  margin-left: 4px;
  color: var(--editorial-blue);
  font-size: 9px;
}

.story-topic-strip .is-active b {
  color: #9db1ff;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: 16px;
}

.story-card {
  position: relative;
  display: flex;
  grid-column: span 4;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 53, 88, .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.story-card:hover {
  z-index: 1;
  border-color: #bfcdee;
  box-shadow: 0 16px 34px rgba(28, 53, 88, .11);
  transform: translateY(-3px);
}

.story-card .article-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #edf1f6;
  aspect-ratio: 16 / 10;
}

.story-card .article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.story-card .article-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.story-card h3 {
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.story-card .article-excerpt {
  margin: 11px 0 16px;
  font-size: 11px;
  -webkit-line-clamp: 2;
}

.story-card .article-link {
  margin-top: auto;
}

.story-card--feature {
  display: grid;
  grid-column: span 8;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  height: 360px;
  min-height: 0;
  background: linear-gradient(145deg, #fff, #f3f7ff);
}

.story-card--feature .article-media,
.story-card--row .article-media {
  height: 100%;
  aspect-ratio: auto;
}

.story-card--feature .article-copy {
  justify-content: center;
  padding: 28px;
}

.story-card--feature h3 {
  font-size: clamp(29px, 2.15vw, 35px);
  line-height: 1.02;
}

.story-card--feature .article-excerpt {
  font-size: 12px;
  -webkit-line-clamp: 4;
}

.story-card--spotlight {
  grid-column: span 4;
  height: 360px;
  background: #f8faff;
}

.story-card--spotlight .article-media {
  aspect-ratio: 16 / 11;
}

.story-card--spotlight h3 {
  font-size: clamp(24px, 1.9vw, 31px);
}

.story-card--row {
  display: grid;
  grid-column: span 12;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  min-height: 225px;
  background: #f8fbff;
}

.story-card--row .article-copy {
  justify-content: center;
  padding: 26px 30px;
}

.story-card--row h3 {
  font-size: clamp(28px, 2.25vw, 37px);
}

@media (max-width: 1080px) {
  .story-card,
  .story-card--spotlight {
    grid-column: span 6;
  }

  .story-card--feature,
  .story-card--row {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .home-compact-banner {
    height: 157px;
    min-height: 157px;
    gap: 14px;
    padding: 18px 20px;
  }

  .home-compact-banner::after {
    right: 17%;
    bottom: -82px;
    width: 190px;
    height: 190px;
    border-width: 34px;
  }

  .home-compact-banner__copy strong {
    font-size: 24px;
  }

  .home-compact-banner__copy p {
    display: none;
  }

  .home-compact-banner__aside {
    min-width: 150px;
    padding: 10px 12px;
  }

  .home-compact-banner__aside b {
    font-size: 34px;
  }

  .story-card,
  .story-card--feature,
  .story-card--spotlight,
  .story-card--row {
    display: flex;
    grid-column: span 12;
    height: auto;
    min-height: 0;
  }

  .story-card--feature .article-media,
  .story-card--row .article-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .story-card--feature .article-copy,
  .story-card--row .article-copy {
    padding: 20px;
  }
}

@media (max-width: 500px) {
  .home-compact-banner {
    grid-template-columns: minmax(0, 1fr) 150px;
    height: 150px;
    min-height: 150px;
    gap: 9px;
    padding: 15px;
    border-radius: 19px;
  }

  .home-compact-banner__copy > span {
    font-size: 7px;
  }

  .home-compact-banner__copy strong {
    font-size: 20px;
  }

  .home-compact-banner__aside {
    min-width: 0;
    column-gap: 6px;
    padding: 9px;
  }

  .home-compact-banner__aside b {
    font-size: 29px;
  }

  .home-compact-banner__aside > span,
  .home-compact-banner__aside a {
    font-size: 8px;
  }

  .news-feed {
    padding: 21px 16px;
  }

  .story-grid {
    display: block;
  }

  .story-card,
  .story-card--feature,
  .story-card--spotlight,
  .story-card--row {
    margin-bottom: 14px;
  }

  .story-card h3,
  .story-card--feature h3,
  .story-card--spotlight h3,
  .story-card--row h3 {
    font-size: 26px;
  }
}
