.cfp-page-resources {
  background: #f6f5f2;
}

.resources-redesign {
  --res-night: #031015;
  --res-night-raised: #052226;
  --res-insight-card: #0a3035;
  --res-teal: #087f78;
  --res-teal-bright: #05a194;
  --res-paper: #f6f5f2;
  --res-card: #fbfaf7;
  --res-ink: #0d1714;
  --res-muted: #52625e;
  --res-line: #c7ceca;
  background: var(--res-paper);
  color: var(--res-ink);
}

.resources-wrap {
  width: min(calc(100% - 96px), 1440px);
  margin-inline: auto;
}

.cfp-page-resources .site-header:not(.is-scrolled) {
  background: #031015;
  border-bottom-color: rgba(245, 250, 250, .14);
  backdrop-filter: none;
}

.cfp-page-resources .site-header:not(.is-scrolled) .brand-logo-default {
  opacity: 1;
}

.cfp-page-resources .site-header:not(.is-scrolled) .brand-logo-scrolled {
  opacity: 0;
}

.cfp-page-resources .site-header:not(.is-scrolled) .brand-wordmark,
.cfp-page-resources .site-header:not(.is-scrolled) .nav > a:not(.nav-contact-cta),
.cfp-page-resources .site-header:not(.is-scrolled) .nav > .nav-item > a,
.cfp-page-resources .site-header:not(.is-scrolled) .menu-toggle {
  color: #f5fafa;
}

.cfp-page-resources .site-header:not(.is-scrolled) .nav > .nav-item > a.is-current {
  color: var(--res-teal-bright);
}

.resources-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--res-night);
  color: #f5fafa;
}

.resources-hero-media {
  position: absolute;
  inset: 0 0 0 37%;
  overflow: hidden;
}

.resources-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.resources-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-top: 98px;
}

.resources-hero-copy {
  width: min(42%, 600px);
}

.resources-hero h1 {
  max-width: none;
  margin: 0;
  color: #f5fafa;
  font-family: var(--font-condensed);
  font-size: clamp(72px, 6.4vw, 106px);
  font-weight: 800;
  line-height: .86;
  white-space: nowrap;
  text-transform: uppercase;
}

.resources-hero h1 span {
  color: var(--res-teal-bright);
}

.resources-hero-copy > p {
  max-width: 480px;
  margin: 28px 0 0;
  color: rgba(245, 250, 250, .88);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
}

.resources-section {
  padding: 66px 0 72px;
}

.resources-section-title {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.resources-section-title h2 {
  margin: 0;
  color: var(--res-ink);
  font-family: var(--font-condensed);
  font-size: clamp(40px, 3.4vw, 56px);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
}

.resources-section-title > span {
  width: 54px;
  height: 3px;
  margin-top: 12px;
  background: var(--res-teal);
}

.resources-section-title-light h2 {
  color: #f5fafa;
}

.resources-section-title-light > span {
  background: var(--res-teal-bright);
}

.resources-featured {
  background: var(--res-paper);
}

.resources-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resources-featured-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(126, 174, 170, .52);
  border-radius: 4px;
  background: #ecece8;
  color: var(--res-ink);
}

.resources-featured-media {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  border-bottom: 1px solid rgba(126, 174, 170, .42);
  background: #ecece8;
}

.resources-featured-media img {
  position: absolute;
  inset: 18px;
  display: block;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
}

.resources-featured-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px 26px 26px;
  background: #ecece8;
}

.resources-featured-copy > p {
  margin: 0 0 8px;
  color: var(--res-teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resources-featured-copy h3 {
  margin: 0;
  color: var(--res-ink);
  font-family: var(--font-condensed);
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
}

.resources-featured-copy > span {
  margin-top: 14px;
  color: var(--res-muted);
  font-size: 14px;
  line-height: 1.48;
}

.resources-featured-copy > a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--res-teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resources-featured-copy .arrow-icon,
.resources-table-row .arrow-icon,
.resources-contact-cta .arrow-icon,
.resources-insights-grid .arrow-icon {
  width: 15px;
  height: 15px;
}

.resources-library {
  background: #fff;
  color: var(--res-ink);
}

.resources-library-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.resources-library-tabs button {
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--res-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.resources-library-tabs button:is(.is-active, :hover, :focus-visible) {
  border-color: var(--res-teal);
  background: var(--res-teal);
  color: #fff;
  outline: 0;
}

.resources-library-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(190px, 260px) minmax(180px, 230px);
  gap: 14px;
  margin-bottom: 18px;
}

.resources-library-toolbar label {
  min-width: 0;
}

.resources-library-toolbar input,
.resources-library-toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--res-line);
  border-radius: 3px;
  background-color: #fff;
  color: var(--res-ink);
  color-scheme: light;
  font: inherit;
  font-size: 14px;
}

.resources-library-toolbar input {
  padding: 0 48px 0 16px;
}

.resources-library-toolbar select {
  padding: 0 38px 0 14px;
}

.resources-library-toolbar input::placeholder {
  color: var(--res-muted);
}

.resources-library-toolbar option {
  background: #fff;
  color: var(--res-ink);
}

.resources-library-search {
  position: relative;
}

.resources-library-search > span:last-child {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--res-teal-bright);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-55%);
}

.resources-table {
  border-top: 1px solid var(--res-line);
}

.resources-table-head,
.resources-table-row {
  display: grid;
  grid-template-columns: minmax(390px, 1.5fr) minmax(145px, .52fr) minmax(145px, .5fr) 90px 92px;
  align-items: center;
}

.resources-table-head {
  min-height: 48px;
  border-bottom: 1px solid var(--res-line);
  color: var(--res-muted);
}

.resources-table-head span {
  padding: 0 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.resources-table-row {
  min-height: 92px;
  border-bottom: 1px solid var(--res-line);
}

.resources-table-row[hidden] {
  display: none;
}

.resources-table-row > span,
.resources-table-row > a {
  padding: 16px;
  color: var(--res-muted);
  font-size: 14px;
  line-height: 1.35;
}

.resources-table-row > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--res-teal-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resources-table-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.resources-table-title > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--res-teal);
}

.resources-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resources-table-title strong {
  display: block;
  color: var(--res-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.resources-table-title p {
  margin: 5px 0 0;
  color: var(--res-muted);
  font-size: 12px;
  line-height: 1.4;
}

.resources-library-empty {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--res-line);
  background: var(--res-card);
  color: var(--res-muted);
}

.resources-insights {
  padding-top: 18px;
  background: var(--res-night);
}

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

.resources-insights-grid article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  padding: 24px;
  border-radius: 4px;
  background: var(--res-insight-card);
  color: #f5fafa;
}

.resources-icon-placeholder {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px dashed var(--res-teal-bright);
  border-radius: 999px;
  color: var(--res-teal-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}

.resources-insights-grid h3 {
  margin: 0;
  color: #f5fafa;
  font-family: var(--font-condensed);
  font-size: clamp(24px, 1.8vw, 31px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.resources-insights-grid p {
  margin: 12px 0 0;
  color: rgba(245, 250, 250, .8);
  font-size: 14px;
  line-height: 1.48;
}

.resources-insights-grid div > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--res-teal-bright);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.resources-contact-cta {
  background: var(--res-teal);
  color: #fff;
}

.resources-contact-cta-inner {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: center;
  min-height: 142px;
}

.resources-contact-icon {
  width: 84px;
  height: 84px;
}

.resources-contact-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-condensed);
  font-size: clamp(44px, 3.8vw, 64px);
  font-weight: 800;
  line-height: .92;
  text-transform: uppercase;
}

.resources-contact-copy p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.42;
}

.resources-contact-cta-inner > a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 3px;
  background: #fff;
  color: var(--res-night);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 1500px) {
  .resources-wrap {
    width: min(calc(100% - 128px), 1680px);
  }

  .resources-hero {
    min-height: clamp(580px, 34vw, 640px);
  }

  .resources-hero h1 {
    font-size: clamp(96px, 6vw, 118px);
  }

  .resources-featured-copy {
    min-height: 250px;
  }

  .resources-contact-cta-inner {
    grid-template-columns: 104px minmax(0, 1fr) 280px;
    min-height: 158px;
  }

  .resources-contact-icon {
    width: 96px;
    height: 96px;
  }

  .resources-contact-copy h2 {
    font-size: clamp(60px, 4vw, 72px);
  }
}

@media (min-width: 901px) and (max-width: 1499px) {
  .resources-hero {
    min-height: clamp(500px, 36vw, 560px);
  }
}

@media (max-width: 1100px) {
  .resources-wrap {
    width: min(calc(100% - 48px), 1440px);
  }

  .resources-hero-media {
    left: 39%;
  }

  .resources-hero-copy {
    width: 44%;
  }

  .resources-hero h1 {
    font-size: clamp(60px, 8vw, 78px);
  }

  .resources-table-head,
  .resources-table-row {
    grid-template-columns: minmax(320px, 1.4fr) minmax(130px, .5fr) minmax(130px, .48fr) 74px 82px;
  }

  .resources-featured-copy {
    padding: 20px;
  }

  .resources-featured-copy > span {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .resources-hero-media {
    inset: 0 0 0 42%;
  }

  .resources-hero-copy {
    width: 46%;
  }

  .resources-hero-copy > p {
    font-size: 15px;
  }

  .resources-featured-grid {
    gap: 14px;
  }

  .resources-featured-copy {
    min-height: 248px;
  }

  .resources-library-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .resources-library-search {
    grid-column: 1 / -1;
  }

  .resources-table {
    border-top: 0;
  }

  .resources-table-head {
    display: none;
  }

  .resources-table-body {
    display: grid;
    gap: 12px;
  }

  .resources-table-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 12px 16px;
    min-height: 0;
    padding: 20px;
    border: 1px solid var(--res-line);
    border-radius: 4px;
    background: var(--res-card);
  }

  .resources-table-title {
    grid-column: 1 / -1;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--res-line);
  }

  .resources-table-row > span,
  .resources-table-row > a {
    padding: 0;
  }

  .resources-table-row > span::before {
    content: attr(data-label) ": ";
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .resources-table-row > a {
    align-self: center;
    justify-self: end;
  }

  .resources-insights-grid article {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 20px;
  }

  .resources-icon-placeholder {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 760px) {
  .resources-wrap {
    width: min(calc(100% - 40px), 1440px);
  }

  .resources-hero {
    display: grid;
    min-height: 0;
    grid-template-rows: auto 330px;
  }

  .resources-hero-inner {
    grid-row: 1;
    min-height: 0;
    align-items: start;
    padding-top: 112px;
    padding-bottom: 42px;
  }

  .resources-hero-media {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: 330px;
  }

  .resources-hero-media img {
    object-fit: cover;
    object-position: center 58%;
  }

  .resources-hero-copy {
    width: 100%;
  }

  .resources-hero h1 {
    max-width: none;
    font-size: clamp(50px, 15vw, 68px);
    line-height: .9;
  }

  .resources-hero-copy > p {
    max-width: 39ch;
    margin-top: 22px;
    font-size: 15px;
  }

  .resources-section {
    padding: 48px 0 52px;
  }

  .resources-section-title {
    margin-bottom: 26px;
  }

  .resources-section-title h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .resources-featured-grid,
  .resources-insights-grid {
    grid-template-columns: 1fr;
  }

  .resources-featured-copy {
    min-height: 220px;
  }

  .resources-library-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resources-library-tabs button:first-child {
    grid-column: 1 / -1;
  }

  .resources-library-toolbar {
    grid-template-columns: 1fr;
  }

  .resources-library-search {
    grid-column: auto;
  }

  .resources-table-row {
    grid-template-columns: 1fr auto;
  }

  .resources-table-row > span:nth-of-type(3) {
    display: none;
  }

  .resources-insights {
    padding-top: 0;
  }

  .resources-contact-cta-inner {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding-block: 34px;
  }

  .resources-contact-icon {
    width: 68px;
    height: 68px;
  }

  .resources-contact-copy h2 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .resources-contact-cta-inner > a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .resources-hero {
    grid-template-rows: auto 280px;
  }

  .resources-hero-media {
    height: 280px;
  }

  .resources-table-row {
    grid-template-columns: 1fr;
  }

  .resources-table-row > a {
    justify-self: start;
  }

  .resources-contact-cta-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .resources-contact-copy p {
    font-size: 14px;
  }
}
