.home-news,
.home-footer {
  --editorial-gutter: 24px;
  padding-inline: var(--editorial-gutter);
}

.home-news {
  background: var(--porcelain);
  color: var(--ink);
  padding-block: 24px 36px;
}

.home-news__inner,
.home-footer__inner {
  max-inline-size: 1248px;
  margin-inline: auto;
}

.home-news h2 {
  position: relative;
  top: 1px;
  margin: 0 0 17px;
  color: var(--vermillion);
  font: 500 30px/39px var(--font-heading);
}

.home-news__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-news__story {
  position: relative;
  display: grid;
  grid-template-columns: var(--thumbnail-size, 52px) minmax(0, 1fr) 16px;
  align-items: center;
  column-gap: 14px;
  min-block-size: 76px;
  padding-block: 12px;
}

.home-news__story::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgb(51 45 41 / 17%);
  content: "";
}

.home-news__picture {
  display: block;
  position: relative;
  inline-size: var(--thumbnail-size, 52px);
  block-size: var(--thumbnail-size, 52px);
}

.home-news__thumbnail {
  display: block;
  inline-size: var(--thumbnail-size, 52px);
  block-size: var(--thumbnail-size, 52px);
  background: var(--white);
  border-radius: 4px;
}

.home-news__details {
  display: grid;
  align-content: center;
  justify-items: start;
  row-gap: 4px;
  min-width: 0;
  margin-block: 1px -1px;
}

.home-news__details h3 {
  margin: 0;
  font: 500 20px/24px var(--font-heading);
  overflow-wrap: anywhere;
}

.home-news__details h3 a {
  color: inherit;
  text-decoration: none;
}

.home-news__details h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.home-news__details time {
  display: block;
  font: 400 13px/17px var(--font-body);
}

.home-news__date-link {
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.home-news__arrow {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.home-news__story:has(h3 a:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.home-news__details h3 a:focus-visible {
  outline: 0;
  text-decoration: underline;
}

.home-news__date-link:is(:hover, :focus-visible),
.home-news__details h3 a:hover,
.home-footer__links a:hover {
  text-decoration: underline;
}

.home-footer {
  background: var(--vermillion);
  color: var(--white);
}

.home-footer__inner {
  min-block-size: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.home-footer__brand,
.home-footer__links a {
  display: inline-flex;
  align-items: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  color: var(--white);
  text-decoration: none;
}

.home-footer__brand img {
  display: block;
  width: 131.4px;
  height: 24px;
}

.home-footer__links {
  position: relative;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.home-footer__links a {
  gap: .216em;
  white-space: nowrap;
  font: 500 16px/22px var(--font-body);
}

@media (max-width: 359px) {
  .home-footer { --editorial-gutter: 16px; }
}

@media (min-width: 600px) {
  .home-news,
  .home-footer { --editorial-gutter: 28px; }

  .home-news { padding-block: 48px; }
  .home-news h2 { margin-bottom: 26px; font-size: 36px; line-height: 44px; }
  .home-news__story { min-block-size: 84px; padding: 6px 4px 6px 0; column-gap: 16px; }
  .home-news__story::before { background: rgb(51 45 41 / 12%); }
  .home-news__story:first-child::before { display: none; }
  .home-news__details { row-gap: 3px; }
  .home-news__details h3 { line-height: 25px; }
  .home-news__details time { font-size: 14px; line-height: 18px; }

  .home-footer__inner { min-block-size: 104px; flex-direction: row; align-items: center; justify-content: space-between; }
  .home-footer__links { width: auto; gap: 24px; }
}

@media (min-width: 1024px) {
  .home-news,
  .home-footer { --editorial-gutter: clamp(32px, calc(15.385vw - 125.54px), 96px); }

  .home-news { --thumbnail-size: 46px; padding-block: 52px 56px; }
  .home-news h2 { margin-bottom: 22px; font-size: 44px; line-height: 52px; }
  .home-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .home-news__story { min-block-size: 88px; column-gap: 12px; }
  .home-news__story:nth-child(2)::before { display: none; }
  .home-news__details h3 { font-size: 18px; line-height: 22px; }
}

@media (min-width: 1200px) {
  .home-news { --thumbnail-size: 52px; padding-block: 58px 56px; }
  .home-news__list { column-gap: 32px; }
  .home-news__story { column-gap: 16px; padding-block: 0; }
}

@media (min-width: 1280px) {
  .home-news__story { min-block-size: 80px; }
  .home-news__details h3 { font-size: 20px; line-height: 25px; }
}

@media (min-width: 1440px) {
  .home-news { padding-block: 64px; }
  .home-news__list { column-gap: 48px; }
}


@media (max-width: 599px) {
  .home-footer__brand img { width: 132px; height: 25px; }
  /* A single-column list reflows naturally when a phone rotates. */
  .home-news__list { display: block; }
  /* The phone layout places the text and artwork on different optical centerlines. */
  .home-news h2,
  .home-news__details,
  .home-news__story::before { transform: translate3d(0, -.5px, 0); }
  /* Keep the original 52px grid cell. The source artwork includes its
     fractional top and bottom edge within one additional transparent row. */
  .home-news__picture .home-news__thumbnail {
    position: absolute;
    inset: -.5px auto auto 0;
    block-size: 53px;
    background: transparent;
    border-radius: 0;
  }
  .home-news__arrow { transform: translateY(.25px); }
  .home-footer__links { top: 1.75px; }
  .mobile-type-ready .home-footer__links { top: 0; }
}

@media screen and (max-width: 599px) and (forced-colors: none) {
  .mobile-type-ready :is(.home-research, .home-footer) {
    --edge-half: calc(var(--paint-pixel) / 2);
    --edge-start: calc(var(--paint-pixel) + var(--paint-top));
    --edge-end: calc(100% - var(--paint-pixel) + var(--paint-bottom));
    background: transparent;
    border-image: linear-gradient(to bottom,
      transparent calc(var(--edge-start) - var(--edge-half)),
      var(--vermillion) calc(var(--edge-start) + var(--edge-half)),
      var(--vermillion) calc(var(--edge-end) - var(--edge-half)),
      transparent calc(var(--edge-end) + var(--edge-half))
    ) 0 fill / 0 / var(--paint-pixel) 0;
  }
  .mobile-type-ready .home-news { background: transparent; }
}
