.resources-page {
  --resources-line: rgba(15, 23, 42, 0.1);
  --resources-line-strong: rgba(30, 58, 138, 0.22);
  --resources-panel: rgba(255, 255, 255, 0.9);
  --resources-muted-panel: #f5f7fb;
  color: var(--corp-navy);
  background: var(--corp-bg);
}

.resources-main {
  background: #ffffff;
  overflow: hidden;
}

.resources-page .breadcrumbs {
  margin: 0 0 clamp(42px, 6vw, 78px);
}

.resources-hero {
  position: relative;
  display: grid;
  align-items: center;
  height: var(--corp-hero-height);
  min-height: var(--corp-hero-height);
  padding-block: 18px clamp(72px, 9vw, 116px);
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(251, 252, 254, 0.96) 100%),
    linear-gradient(90deg, rgba(30, 58, 138, 0.08) 0 1px, transparent 1px 96px);
}

.resources-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--resources-line);
}

.resources-hero__content {
  max-width: 850px;
}

.resources-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--corp-navy);
  font-size: clamp(3rem, 5.6vw, 5.55rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.resources-hero__content > p:not(.corp-eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--corp-secondary);
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.54;
}

.resources-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.resources-overview-band {
  padding-top: 18px;
  background: #ffffff;
}

.resources-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(44px, 6vw, 72px) 0 0;
  border: 1px solid var(--resources-line);
  border-radius: 20px;
  background: var(--resources-panel);
  box-shadow: var(--corp-shadow);
  overflow: hidden;
}

.resources-overview-band .resources-overview {
  margin: 0;
}

.resources-overview div {
  padding: clamp(20px, 3vw, 28px);
  border-right: 1px solid var(--resources-line);
}

.resources-overview div:last-child {
  border-right: 0;
}

.resources-overview dt,
.resources-search span,
.resource-row__area,
.resource-row__type,
.resource-row__use strong {
  color: var(--corp-blue);
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.resources-overview dd {
  margin: 8px 0 0;
  color: var(--corp-navy);
  font-weight: 700;
  line-height: 1.38;
}

.resources-index {
  background: #ffffff;
}

.resources-index__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  overflow: visible;
}

.resources-index-card {
  position: relative;
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.resources-index-card:hover,
.resources-index-card:focus-within {
  z-index: 2;
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.14);
}

.resources-index-card span {
  color: var(--corp-muted);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.resources-index-card h3 {
  margin: 46px 0 0;
  color: var(--corp-navy);
  font-size: 1.28rem;
  line-height: 1.18;
}

.resources-index-card p {
  margin: 14px 0 0;
  color: var(--corp-secondary);
  line-height: 1.58;
}

.resources-library {
  background: linear-gradient(180deg, #fbfcfe, #ffffff);
}

.resources-library__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.resources-library__header h2,
.resources-support h2 {
  margin: 0;
  color: var(--corp-navy);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.resources-library__intro,
.resources-support p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--corp-secondary);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
}

.resources-library__summary {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid var(--resources-line);
  border-radius: 16px;
  background: #ffffff;
}

.resources-library__summary strong {
  color: var(--corp-navy);
  font-size: var(--fs-lead);
  line-height: 1.1;
}

.resources-library__summary span {
  color: var(--corp-muted);
  font-size: var(--fs-caption);
  line-height: 1.35;
}

.resources-library__tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--resources-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.resources-search {
  display: grid;
  gap: 8px;
}

.resources-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--resources-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--corp-navy);
  font: inherit;
}

.resources-search input::placeholder {
  color: #7a8797;
}

.resources-search input:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

.resources-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resources-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--resources-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--corp-navy);
  font: inherit;
  font-size: var(--fs-caption);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.resources-filters button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--corp-muted);
  font-size: var(--fs-eyebrow);
}

.resources-filters button:hover,
.resources-filters button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--resources-line-strong);
  color: var(--corp-blue);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.resources-filters button.is-active {
  background: var(--corp-blue);
  border-color: var(--corp-blue);
  color: #ffffff;
}

.resources-filters button.is-active span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.resources-table {
  display: grid;
  gap: 14px;
  overflow: visible;
}

.resource-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(210px, 0.38fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.resource-row:hover,
.resource-row:focus-within {
  z-index: 2;
  transform: translate(10px, -4px);
  border-color: rgba(37, 99, 235, 0.24);
  background: var(--resources-muted-panel);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.13);
}

.resources-table .resource-row.is-filter-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.resource-row__type {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: var(--corp-blue-soft);
}

.resource-row__main {
  min-width: 0;
}

.resource-row__main h3 {
  margin: 6px 0 0;
  color: var(--corp-navy);
  font-size: var(--fs-lead);
  line-height: 1.22;
}

.resource-row__main p,
.resource-row__use {
  margin: 8px 0 0;
  color: var(--corp-secondary);
  line-height: 1.5;
}

.resource-row__use {
  margin: 0;
  font-size: var(--fs-caption);
}

.resource-row__use strong {
  display: block;
  margin-bottom: 5px;
}

.resource-row__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--resources-line);
  border-radius: 8px;
  color: var(--corp-blue);
  font-weight: 800;
  white-space: nowrap;
}

.resource-row__link:hover,
.resource-row__link:focus-visible {
  border-color: var(--resources-line-strong);
  background: #ffffff;
  color: var(--corp-accent);
}

.resources-empty {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--corp-blue);
  font-weight: 700;
}

.resources-support {
  background: #ffffff;
}

.resources-support__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--resources-line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: var(--corp-shadow);
}

.resources-page a:focus-visible,
.resources-page button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .resources-overview,
  .resources-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resources-overview div:nth-child(2) {
    border-right: 0;
  }

  .resources-overview div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--resources-line);
  }

  .resource-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .resource-row__use {
    grid-column: 2 / -1;
  }
}

@media (max-width: 780px) {
  .resources-library__header,
  .resources-library__tools,
  .resources-support__panel {
    grid-template-columns: 1fr;
  }

  .resources-filters button {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .resources-hero {
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .resources-hero {
    padding-block: 14px 60px;
  }

  .resources-overview-band {
    padding-top: 14px;
  }

  .resources-hero h1 {
    font-size: clamp(2.72rem, 14vw, 3.6rem);
  }

  .resources-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resources-hero__actions .button,
  .resources-support__panel .button {
    width: 100%;
    justify-content: center;
  }

  .resources-overview,
  .resources-index__grid {
    grid-template-columns: 1fr;
  }

  .resources-overview div {
    border-right: 0;
    border-bottom: 1px solid var(--resources-line);
  }

  .resources-overview div:nth-child(3) {
    border-top: 0;
  }

  .resources-overview div:last-child {
    border-bottom: 0;
  }

  .resources-index-card {
    min-height: 0;
  }

  .resources-index-card h3 {
    margin-top: 34px;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .resource-row:hover,
  .resource-row:focus-within {
    transform: translateY(-4px);
  }

  .resource-row__type {
    justify-self: start;
    min-width: 70px;
  }

  .resource-row__use {
    grid-column: auto;
  }

  .resource-row__link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .resources-filters button {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resources-page *,
  .resources-page *::before,
  .resources-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026-06 resources cleanup */
.resources-hero {
  height: var(--corp-hero-height);
  min-height: var(--corp-hero-height);
  padding-block: clamp(34px, 5vw, 64px);
}

.resources-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.resources-overview,
.resources-library__tools,
.resource-row,
.resources-support__panel {
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.065);
}

.resources-index-card {
  min-height: 220px;
}

.resources-filters button {
  border-radius: 999px;
  color: #17345f;
  background: rgba(30, 58, 138, 0.055);
}

.resources-filters button.is-active,
.resources-filters button:hover,
.resources-filters button:focus-visible {
  color: #ffffff;
  background: #1e3a8a;
  border-color: #1e3a8a;
}

.resource-row__action,
.resource-row .button,
.resources-support .button {
  font-weight: 820;
}

@media (max-width: 760px) {
  .resources-hero {
    height: auto;
    min-height: auto;
  }
}
