.resource-library-page main {
  background: #f7fbfa;
  color: #0d1b3e;
}

.resource-library-page .container {
  width: min(1180px, calc(100% - 40px));
}

.resource-library-hero {
  background: #0d1b3e;
  color: #fff;
  padding: 150px 0 72px;
}

.resource-library-hero__eyebrow,
.resource-library-label,
.resource-card__hub {
  color: #00cdab;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resource-library-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin: 16px 0 24px;
  max-width: 920px;
}

.resource-library-hero p:last-child {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  max-width: 860px;
}

.resource-hub-nav-wrap {
  background: #fff;
  border-bottom: 1px solid rgba(13, 27, 62, .12);
  position: sticky;
  top: 0;
  z-index: 20;
}

.resource-hub-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: thin;
}

.resource-hub-nav__link {
  border: 1px solid rgba(13, 27, 62, .14);
  border-radius: 999px;
  color: #0d1b3e;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
}

.resource-hub-nav__link:hover,
.resource-hub-nav__link:focus-visible,
.resource-hub-nav__link.--active {
  background: #0d1b3e;
  color: #fff;
}

.resource-library-section,
.resource-library-connection,
.resource-cta {
  padding: 72px 0;
}

.resource-library-section:nth-of-type(even) {
  background: #fff;
}

.resource-library-section__heading {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.resource-library-section__heading h2,
.resource-library-connection h2,
.resource-cta h2,
.article-carousel h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.resource-library-section__heading p,
.resource-library-connection p,
.resource-cta p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}

.resource-library-section__heading > a,
.resource-library-more,
.resource-library-button {
  color: #0d1b3e;
  font-weight: 700;
  white-space: nowrap;
}

.resource-library-button {
  align-items: center;
  border: 1px solid #0d1b3e;
  border-radius: 3px;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
}

.resource-library-button::after {
  content: "→";
  font-size: 18px;
}

.resource-featured-grid {
  align-items: stretch;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.resource-featured-grid__featured,
.resource-featured-grid__latest {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.resource-featured-grid__featured > .resource-card,
.resource-featured-grid__latest > .resource-card-grid {
  flex: 1;
}

.resource-library-column-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.resource-library-column-heading .resource-library-label {
  margin: 0;
}

.resource-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card-grid.--latest {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-card-grid.--supporting {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card {
  background: #fff;
  border: 1px solid rgba(13, 27, 62, .13);
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(13, 27, 62, .06);
  min-width: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover {
  box-shadow: 0 18px 44px rgba(13, 27, 62, .12);
  transform: translateY(-3px);
}

.resource-card__link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.resource-card__image {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.resource-card__image.--placeholder {
  background: linear-gradient(135deg, #0d1b3e, #17656d 70%, #00cdab);
}

.resource-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.resource-card__title {
  font-size: 23px;
  line-height: 1.25;
  margin: 10px 0 12px;
}

.resource-card__excerpt {
  color: #46536a;
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.resource-card__date {
  color: #667084;
  font-size: 14px;
  margin-top: auto;
}

.resource-card__read {
  align-items: center;
  color: #0d1b3e;
  display: flex;
  gap: 10px;
  font-weight: 700;
  margin-top: 14px;
}

.resource-card__read-arrow {
  align-items: center;
  background: #00cdab;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.resource-card.--compact {
  box-shadow: none;
  flex: 1;
}

.resource-card.--compact .resource-card__content {
  padding: 16px 18px;
}

.resource-card.--compact .resource-card__title {
  font-size: 18px;
  line-height: 1.2;
  margin: 5px 0 6px;
}

.resource-card.--compact .resource-card__hub {
  font-size: 11px;
}

.resource-card.--compact .resource-card__read {
  font-size: 14px;
  margin-top: auto;
}

.resource-card.--compact .resource-card__read-arrow {
  flex-basis: 22px;
  font-size: 13px;
  height: 22px;
  width: 22px;
}

.resource-card.--pillar .resource-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.resource-card.--pillar .resource-card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 330px;
}

.resource-card.--pillar .resource-card__content {
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.resource-card.--supporting .resource-card__content {
  padding: 20px;
}

.resource-card.--supporting .resource-card__title {
  font-size: 19px;
}

.resource-supporting-title {
  font-size: 26px;
  margin: 48px 0 24px;
}

.resource-library-section__heading.--hub-featured-heading h2 {
  font-size: clamp(29px, 3vw, 34px);
}

.resource-library-section__heading.--hub-recent-heading {
  align-items: center;
}

.resource-library-section__heading.--hub-recent-heading h2 {
  font-size: 26px;
  margin-bottom: 0;
}

.resource-library-connection {
  background: #0d1b3e;
  color: #fff;
}

.resource-library-connection h2,
.resource-cta h2 {
  color: inherit;
}

.resource-cta {
  background: #00cdab;
  text-align: center;
}

.resource-cta .container {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.resource-cta__button,
.resource-load-more {
  background: #0d1b3e;
  border: 0;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  margin-top: 28px;
  padding: 15px 24px;
  text-decoration: none;
}

.article-cta .header__buttons-item.--sign-up:is(:hover, :focus) {
  background-color: #0d1b3e;
  border-color: #0d1b3e;
  color: #fff;
}

.resource-breadcrumb {
  align-items: center;
  display: flex;
  gap: 10px;
}

.resource-breadcrumb a {
  color: #0d1b3e;
  font-weight: 700;
}

.resource-library-section.--hub-lead,
.resource-library-section.--hub-featured {
  background: #fff;
}

.resource-library-section.--hub-lead {
  padding: 28px 0 34px;
}

.resource-library-section.--hub-lead .resource-breadcrumb {
  margin-bottom: 24px;
}

.resource-library-section.--hub-featured {
  padding-top: 30px;
}

.resource-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.resource-filter button {
  background: #fff;
  border: 1px solid rgba(13, 27, 62, .2);
  border-radius: 999px;
  color: #0d1b3e;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 10px 16px;
}

.resource-filter button.--active {
  background: #0d1b3e;
  color: #fff;
}

.resource-load-more {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.resource-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 44px;
}

.resource-pagination a {
  align-items: center;
  border: 1px solid rgba(13, 27, 62, .2);
  color: #0d1b3e;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  text-decoration: none;
  width: 40px;
}

.resource-pagination a[aria-current="page"] {
  background: #0d1b3e;
  color: #fff;
}

.resources-detail-page .basic-body__content img,
.resources-detail-page .basic-body__content video,
.resources-detail-page .basic-body__content iframe,
.resources-detail-page .resource-article-intro img {
  height: auto;
  max-width: 100%;
}

.resources-detail-page .basic-body__content,
.resources-detail-page .resource-article-intro {
  overflow-wrap: anywhere;
}

.resources-detail-page .basic-body__content h2,
.resources-detail-page .basic-body__content h2 * {
  font-size: 32px;
  line-height: 1.2;
}

.resources-detail-page .basic-body__content h3,
.resources-detail-page .basic-body__content h3 * {
  font-size: 24px;
  line-height: 1.25;
}

.resources-detail-page .basic-body__content h4,
.resources-detail-page .basic-body__content h4 *,
.resources-detail-page .basic-body__content h5,
.resources-detail-page .basic-body__content h5 *,
.resources-detail-page .basic-body__content h6,
.resources-detail-page .basic-body__content h6 * {
  font-size: 20px;
  line-height: 1.3;
}

.resource-article-breadcrumb {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.resource-article-breadcrumb a {
  color: #9ca7b9;
  font-weight: 700;
}

.resource-article-breadcrumb,
.resource-article-breadcrumb > span {
  color: #9ca7b9;
}

.resource-article-breadcrumb a:nth-of-type(2) {
  color: #00cdab;
}

.resources-detail-page .banner .container {
  padding-bottom: 64px;
}

.resource-article-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.resource-article-hero__grid.--without-image {
  grid-template-columns: minmax(0, 780px);
}

.resource-article-hero__copy .banner__title {
  font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: 0;
  line-height: 1.06;
  margin: 14px 0 18px;
  text-align: left;
}

.resource-article-category {
  color: #00cdab;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.resource-article-hero__copy .banner__copy {
  text-align: left;
}

.resource-article-hero__image {
  margin: 0;
}

.resource-article-hero__image img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.resource-share-label {
  color: #0d1b3e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.article-carousel {
  background: #0d1b3e;
  color: #fff;
  margin: 56px 0;
  padding: 44px;
}

.article-carousel h2 {
  color: #fff;
  margin-bottom: 28px;
  text-align: center;
}

.article-carousel .resource-card__content {
  text-align: left;
}

.resource-card-grid.--carousel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card.--carousel {
  background: transparent;
  border-color: #00cdab;
  box-shadow: none;
  color: #fff;
}

.resource-card.--carousel .resource-card__title,
.resource-card.--carousel .resource-card__read {
  color: #fff;
}

.resource-card.--carousel .resource-card__excerpt {
  color: rgba(255, 255, 255, .78);
}

.article-carousel > .resource-library-more {
  color: #fff;
  display: table;
  margin: 28px auto 0;
}

.resource-toc .resource-toc__sublist {
  list-style-type: lower-alpha;
  margin: 10px 0 12px 20px;
}

.resource-toc__item.--h3 {
  font-size: .94em;
}

@media (max-width: 1024px) {
  .resource-featured-grid,
  .resource-card-grid,
  .resource-card-grid.--supporting,
  .resource-card-grid.--carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .resource-library-hero {
    padding: 120px 0 56px;
  }

  .resource-library-section,
  .resource-library-connection,
  .resource-cta {
    padding: 52px 0;
  }

  .resource-library-section__heading,
  .resource-featured-grid {
    align-items: start;
    display: flex;
    flex-direction: column;
  }

  .resource-card-grid,
  .resource-card-grid.--latest,
  .resource-card-grid.--supporting,
  .resource-card-grid.--carousel {
    grid-template-columns: 1fr;
  }

  .resource-library-column-heading {
    align-items: flex-start;
  }

  .resource-card.--pillar .resource-card__link,
  .resource-article-hero__grid {
    grid-template-columns: 1fr;
  }

  .resource-card.--pillar .resource-card__image {
    min-height: 0;
  }

  .article-carousel {
    padding: 32px 20px;
  }

  .resources-detail-page .basic-body__content h2,
  .resources-detail-page .basic-body__content h2 * {
    font-size: 26px;
  }

  .resources-detail-page .basic-body__content h3,
  .resources-detail-page .basic-body__content h3 * {
    font-size: 21px;
  }

  .resources-detail-page .basic-body__content h4,
  .resources-detail-page .basic-body__content h4 *,
  .resources-detail-page .basic-body__content h5,
  .resources-detail-page .basic-body__content h5 *,
  .resources-detail-page .basic-body__content h6,
  .resources-detail-page .basic-body__content h6 * {
    font-size: 18px;
  }
}
