.resources-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding-block: 48px 96px;
  color: #fff;
  background-color: #17191b;
}

.resources-hero::after {
  display: none;
}

.resources-hero .shell { position: relative; z-index: 1; }
.resources-breadcrumb { display: flex; gap: 9px; margin-bottom: 72px; color: rgba(255, 255, 255, .72); font-size: 12px; }
.resources-breadcrumb a:hover { color: #fff; }
.resources-hero .eyebrow--inverse { color: var(--color-yellow-bright); }
.resources-hero h1 { max-width: 620px; margin: 0 0 22px; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -.035em; }
.resources-hero .shell > p:last-child { max-width: 600px; margin: 0; color: rgba(255, 255, 255, .85); font-size: 18px; }

.resources-library { padding-block: 82px 104px; background: #f4f1e8; }
.resources-library__inner { max-width: var(--shell); }
.resources-library__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; margin-bottom: 38px; }
.resources-library__header > div { max-width: 760px; }
.resources-library__header .eyebrow { margin-bottom: 18px; }
.resources-library__header h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.resources-library__header > div > p:last-child { margin-bottom: 0; color: var(--color-muted); }
.resources-library__count { display: flex; align-items: baseline; gap: 7px; flex: 0 0 auto; margin: 0; color: var(--color-muted); font-size: 13px; }
.resources-library__count strong { color: var(--color-carbon); font-size: 30px; line-height: 1; }

.resource-filter-groups { display: grid; gap: 14px; margin-bottom: 30px; padding: 20px; border: 1px solid #d8d5cc; background: #e9e6dd; }
.resource-filter-group { min-width: 0; display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 18px; align-items: start; }
.resource-filter-group__label { margin: 11px 0 0; color: #6f6c65; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.resource-filters { min-width: 0; max-width: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.resource-filter { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; color: var(--color-carbon); border: 1px solid #d6d3ca; background: #fff; font-size: 13px; font-weight: 750; line-height: 1.2; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.resource-filter > span { min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 6px; color: var(--color-muted); background: var(--color-light); border-radius: 999px; font-size: 11px; }
.resource-filter:hover, .resource-filter:focus { border-color: var(--color-carbon); }
.resource-filter.is-active { border-color: var(--color-yellow); background: var(--color-yellow); }
.resource-filter.is-active > span { color: var(--color-carbon); background: rgba(255, 255, 255, .5); }

.resource-list { overflow: hidden; border: 1px solid #d8d5cc; background: #fff; box-shadow: 0 22px 58px rgba(18, 20, 22, .06); }
.resource-list__head, .resource-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px 140px 176px; gap: 24px; align-items: center; }
.resource-list__head { min-height: 48px; padding: 11px 24px; color: #73716b; border-bottom: 1px solid #d8d5cc; background: #e9e6dd; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.resource-row { min-height: 104px; padding: 20px 24px; border-bottom: 1px solid #e2dfd7; transition: background-color .2s ease; }
.resource-row:last-child { border-bottom: 0; }
.resource-row:hover { background: #fdfcf8; }

.resource-row__document { min-width: 0; display: flex; align-items: center; gap: 17px; }
.resource-file-icon { position: relative; width: 50px; height: 58px; flex: 0 0 50px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-carbon); }
.resource-file-icon > svg { width: 46px; height: 54px; fill: #f5f3ec; stroke: currentColor; stroke-width: 1.25; }
.resource-file-icon > span { position: absolute; bottom: 7px; left: 0; min-width: 38px; display: block; padding: 2px 4px; color: var(--color-carbon); background: var(--color-yellow); border-radius: 1px; font-size: 9px; font-weight: 900; line-height: 1.35; letter-spacing: .04em; text-align: center; }
.resource-file-icon--xls > span, .resource-file-icon--xlsx > span, .resource-file-icon--csv > span { color: #fff; background: #176e5b; }
.resource-file-icon--doc > span, .resource-file-icon--docx > span { color: #fff; background: #255caa; }
.resource-file-icon--zip > span { color: #fff; background: #66558f; }

.resource-row__title-wrap { min-width: 0; }
.resource-row__title { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.42; overflow-wrap: anywhere; }
.resource-row__title a:hover, .resource-row__title a:focus { color: #8d6900; }
.resource-row__title-trigger { padding: 0; color: inherit; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; }
.resource-row__title-trigger:hover, .resource-row__title-trigger:focus-visible { color: #8d6900; }
.resource-row__filename { max-width: 520px; overflow: hidden; margin: 4px 0 0; color: #7a7871; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.resource-row__mobile-meta { display: none; }

.resource-row__category { display: flex; flex-wrap: wrap; gap: 6px; }
.resource-row__category a, .resource-row__category > span { min-height: 28px; display: inline-flex; align-items: center; padding: 4px 9px; color: var(--color-carbon); background: #eeeae0; font-size: 11px; font-weight: 750; line-height: 1.2; }
.resource-row__category > .resource-row__type-tag { background: var(--color-yellow); }
.resource-row__category a:hover, .resource-row__category a:focus { background: var(--color-yellow); }
.resource-row__date, .resource-row__size { color: #73716b; font-size: 12px; }
.resource-row__file { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.resource-row__size { white-space: nowrap; }
.resource-row__action { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-carbon); border: 1px solid #d4d0c6; background: #fff; cursor: pointer; font: inherit; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.resource-row__action > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.resource-row__action svg { width: 18px; height: 18px; }
.resource-row__action:hover, .resource-row__action:focus { border-color: var(--color-yellow); background: var(--color-yellow); }

.resources-library .navigation.pagination { margin-top: 34px; }
.resources-empty { max-width: 720px; padding: 54px; border: 1px solid #d8d5cc; background: #fff; text-align: center; box-shadow: 0 22px 58px rgba(18, 20, 22, .06); }
.resources-empty__icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--color-carbon); background: var(--color-yellow); border-radius: 50%; }
.resources-empty__icon svg { width: 29px; height: 29px; }
.resources-empty h2 { margin-bottom: 10px; font-size: 30px; }
.resources-empty p { max-width: 560px; margin: 0 auto 22px; color: var(--color-muted); }
.resources-empty .button { gap: 9px; }

.resources-cta { color: var(--color-carbon); background: var(--color-yellow); }
.resources-cta__inner { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 52px; }
.resources-cta .eyebrow { margin-bottom: 16px; }
.resources-cta h2 { max-width: 760px; margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; }
.resources-cta p:not(.eyebrow) { max-width: 760px; margin: 0; color: rgba(20, 22, 24, .72); }
.resources-cta .button { flex: 0 0 auto; gap: 9px; }
.resources-cta .button:hover { border-color: #fff; background: #fff; }

@media (max-width: 1024px) {
  .resource-list__head, .resource-row { grid-template-columns: minmax(0, 1fr) 160px 120px 150px; gap: 18px; }
}

@media (max-width: 900px) {
  .resources-hero { padding-block: 38px 72px; }
  .resources-breadcrumb { margin-bottom: 54px; }
  .resources-library__header, .resources-cta__inner { align-items: flex-start; flex-direction: column; }
  .resources-cta .button { width: 100%; }
  .resource-list__head { display: none; }
  .resource-row { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; min-height: 100px; }
  .resource-row__category, .resource-row__date, .resource-row__size { display: none; }
  .resource-row__mobile-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 6px 0 0; color: #73716b; font-size: 11px; }
  .resource-row__mobile-meta span { position: relative; }
  .resource-row__mobile-meta span + span::before { position: absolute; left: -9px; color: #aaa79f; content: "\2022"; }
}

@media (max-width: 680px) {
  .resources-hero { min-height: 420px; padding-block: 28px 58px; }
  .resources-hero::before { position: absolute; inset: 0; content: ""; background: rgba(12, 13, 14, .52); }
  .resources-breadcrumb { margin-bottom: 42px; }
  .resources-hero h1 { font-size: 42px; }
  .resources-hero .shell > p:last-child { font-size: 16px; }
  .resources-library { padding-block: 60px 72px; }
  .resources-library__header { gap: 18px; margin-bottom: 28px; }
  .resources-library__header h2 { font-size: 34px; }
  .resources-library__count strong { font-size: 25px; }
  .resource-filter-groups { gap: 20px; padding: 18px 16px; }
  .resource-filter-group { display: block; }
  .resource-filter-group__label { margin: 0 0 10px; }
  .resource-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; padding-bottom: 5px; scrollbar-width: thin; }
  .resource-filter { flex: 0 0 auto; }
  .resource-row { padding: 18px 16px; }
  .resource-row__document { gap: 13px; }
  .resource-file-icon { width: 44px; height: 52px; flex-basis: 44px; }
  .resource-file-icon > svg { width: 42px; height: 49px; }
  .resource-row__title { font-size: 15px; }
  .resource-row__action { width: 42px; height: 42px; flex-basis: 42px; }
  .resources-empty { padding: 42px 22px; }
  .resources-cta__inner { min-height: 0; padding-block: 52px; }
}

@media (max-width: 400px) {
  .resource-row { grid-template-columns: 1fr; }
  .resource-row__file { justify-content: flex-start; padding-left: 57px; }
  .resource-row__action { width: auto; min-width: 126px; gap: 8px; padding-inline: 15px; }
  .resource-row__action > span { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; font-size: 12px; font-weight: 800; }
}
