.homepage-resources {
  scroll-margin-top: 96px;
  color: #355764;
  background: #fffdf7;
}

.homepage-resources-featured {
  padding: clamp(52px, 5.5vw, 82px) clamp(26px, 5.2vw, 84px) 0;
  background: linear-gradient(135deg, #edfafa 0%, #f8fcf7 55%, #fffaf1 100%);
}

.homepage-resources-header,
.homepage-featured-article,
.homepage-resources-closing {
  width: min(100%, 1400px);
  margin-inline: auto;
}

.homepage-resources-header {
  text-align: center;
}

.homepage-resources-rule,
.homepage-featured-rule {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #f0ba28;
}

.homepage-resources-rule {
  width: 62px;
  margin: 0 auto 13px;
}

.homepage-resources-eyebrow,
.homepage-featured-label {
  margin: 0;
  color: #075f82;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.homepage-resources-header h2 {
  max-width: 760px;
  margin: 10px auto 0;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -.035em;
  line-height: .98;
}

.homepage-resources-header > p:last-child {
  max-width: 760px;
  margin: 17px auto 0;
  color: #496772;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.45;
}

.homepage-featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 330px;
  overflow: hidden;
  margin-top: clamp(34px, 3.8vw, 52px);
  border: 1px solid rgba(7, 95, 130, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(50, 76, 69, .07);
}

.homepage-featured-article[hidden] {
  display: none;
}

.homepage-featured-image {
  display: block;
  min-height: 330px;
  overflow: hidden;
  background: #dff2f3;
}

.homepage-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.homepage-featured-image:hover img,
.homepage-featured-image:focus-visible img {
  transform: scale(1.015);
}

.homepage-featured-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 50px);
}

.homepage-featured-rule {
  width: 58px;
  height: 3px;
  margin-top: 10px;
}

.homepage-featured-copy h3 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}

.homepage-featured-copy h3 a {
  color: #075f82;
}

.homepage-featured-copy h3 a:hover,
.homepage-featured-copy h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.homepage-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  margin-top: 14px;
  color: #607983;
  font-size: .92rem;
}

.homepage-featured-meta span + span::before {
  content: "|";
  margin: 0 11px;
  color: #9badb3;
}

.homepage-featured-summary {
  max-width: 720px;
  margin: 17px 0 0;
  color: #355764;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.55;
}

.homepage-featured-button {
  display: inline-flex;
  min-width: 228px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  padding: 13px 24px;
  border-radius: 999px;
  color: #fff;
  background: #075f82;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(7, 95, 130, .14);
}

.homepage-featured-button:hover,
.homepage-featured-button:focus-visible {
  background: #064e6b;
}

.homepage-resources-noscript {
  margin: 28px 0 0;
  text-align: center;
}

.homepage-resources-noscript a {
  color: #075f82;
  font-weight: 800;
  text-decoration: underline;
}

.homepage-resources-closing {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: clamp(50px, 5vw, 64px) 26px clamp(72px, 7vw, 92px);
  text-align: center;
}

.homepage-resources-reassurance {
  display: grid;
  grid-template-columns: minmax(70px, 210px) auto minmax(70px, 210px);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  width: min(100%, 940px);
}

.homepage-resources-reassurance > span {
  height: 1px;
  background: #87bdc4;
}

.homepage-resources-reassurance p {
  margin: 0;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.homepage-resources-all {
  display: inline-flex;
  width: min(100%, 620px);
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  padding: 15px 28px;
  border: 3px solid #075f82;
  border-radius: 999px;
  color: #075f82;
  background: #fffdf7;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
}

.homepage-resources-all:hover,
.homepage-resources-all:focus-visible {
  color: #fff;
  background: #075f82;
}

.homepage-featured-image:focus-visible,
.homepage-featured-copy h3 a:focus-visible,
.homepage-featured-button:focus-visible,
.homepage-resources-all:focus-visible {
  outline: 3px solid #f0ba28;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .homepage-featured-article {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .homepage-featured-copy h3 {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
  }

  .homepage-resources-reassurance {
    grid-template-columns: minmax(50px, 1fr) auto minmax(50px, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .homepage-resources-featured {
    padding: 42px 18px 0;
  }

  .homepage-resources-header h2 {
    font-size: 2.65rem;
  }

  .homepage-featured-article {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 30px;
    border-radius: 15px;
  }

  .homepage-featured-image,
  .homepage-featured-image img {
    min-height: 220px;
    height: 220px;
  }

  .homepage-featured-image img {
    object-position: center 42%;
  }

  .homepage-featured-copy {
    padding: 27px 22px 30px;
  }

  .homepage-featured-copy h3 {
    font-size: 2rem;
  }

  .homepage-featured-meta {
    display: grid;
    gap: 4px;
  }

  .homepage-featured-meta span + span::before {
    content: none;
  }

  .homepage-featured-button {
    width: 100%;
  }

  .homepage-resources-closing {
    padding: 42px 18px 58px;
  }

  .homepage-resources-reassurance {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .homepage-resources-reassurance p {
    font-size: 1.25rem;
    line-height: 1.3;
    white-space: normal;
  }

  .homepage-resources-all {
    min-height: 60px;
    gap: 18px;
    margin-top: 24px;
    border-width: 2px;
    font-size: 1rem;
  }
}
