.resources-page {
  --resources-line: #dfe5ef;
}

.resources-hero .about-hero-media img {
  object-position: center 45%;
}

.resources-hero .about-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 12, 24, .93) 0%, rgba(8, 12, 24, .68) 52%, rgba(8, 12, 24, .2) 100%);
}

.resources-hero h1 {
  font-size: clamp(2.49rem, 4.54vw, 4.65rem);
}

.resources-intro {
  padding: 120px 0;
}

.resources-intro-grid {
  align-items: end;
}

.resources-intro-copy {
  border-top: 1px solid var(--resources-line);
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.8;
  padding-top: 20px;
}

.resources-intro-copy p + p {
  margin-top: 20px;
}

.resources-nav {
  background: #fff;
  border-bottom: 1px solid var(--resources-line);
  border-top: 1px solid var(--resources-line);
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
}

.resources-nav .container {
  display: flex;
  gap: 30px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 16px;
  padding-top: 16px;
  scrollbar-width: thin;
}

.resources-nav a {
  color: var(--about-muted);
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.resources-nav a:hover,
.resources-nav a:focus-visible {
  color: var(--blue);
}

.resources-section {
  padding: 120px 0;
}

.resources-section-heading {
  margin-bottom: 54px;
}

.resources-section-heading > p {
  color: var(--about-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
}

.resource-download-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-download-card {
  background: #fff;
  border: 1px solid var(--resources-line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.resource-download-card:hover {
  border-color: rgba(25, 91, 178, .3);
  box-shadow: 0 18px 44px rgba(25, 91, 178, .1);
  transform: translateY(-5px);
}

.resource-download-card > img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.resource-download-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.resource-download-copy h3,
.resource-video-copy h3 {
  color: var(--about-ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 18px 0 10px;
}

.resource-download-copy p,
.resource-video-copy p {
  color: var(--about-muted);
  line-height: 1.7;
}

.resource-download-copy .btn {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

.resource-download-copy .capability-number {
  flex: 0 0 48px;
}

.resource-videos {
  background: radial-gradient(circle at 88% 8%, rgba(0, 212, 170, .1), transparent 28%), var(--bg-dark);
  color: #fff;
}

.resource-videos .display,
.resource-videos .resources-section-heading > p {
  color: #fff;
}

.resource-videos .resources-section-heading > p {
  color: rgba(255, 255, 255, .68);
}

.resource-video-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-video-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.resource-video-preview {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.resource-video-preview img {
  height: 100%;
  object-fit: cover;
  opacity: .76;
  transition: transform .5s ease;
  width: 100%;
}

.resource-video-card:hover .resource-video-preview img {
  transform: scale(1.04);
}

.resource-video-label {
  background: rgba(8, 12, 24, .74);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  left: 20px;
  letter-spacing: .1em;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 20px;
}

.resource-video-copy {
  padding: 26px 28px 30px;
}

.resource-video-copy h3 {
  color: #fff;
  margin-top: 0;
}

.resource-video-copy p {
  color: rgba(255, 255, 255, .68);
}

.resource-news-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-news-card {
  background: #fff;
  border: 1px solid var(--resources-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.resource-news-card img {
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.resource-news-copy {
  padding: 26px;
}

.resource-news-copy time,
.resource-news-type {
  color: var(--blue);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.resource-news-copy h3 {
  color: var(--about-ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 14px 0;
}

.resource-news-copy p {
  color: var(--about-muted);
  font-size: .94rem;
  line-height: 1.7;
}

.resource-events {
  background: var(--about-soft);
}

.resource-event-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
}

.resource-event-copy > p {
  color: var(--about-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 24px;
}

.resource-event-list {
  margin-top: 22px;
}

.resource-event-list li {
  border-bottom: 1px solid var(--resources-line);
  color: var(--about-ink);
  font-weight: 650;
  padding: 14px 0;
}

.resource-event-list li::before {
  color: var(--teal);
  content: '→';
  margin-right: 12px;
}

.resource-register {
  background: #fff;
  border: 1px solid var(--resources-line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 48px rgba(25, 44, 80, .08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
}

.resource-register h3 {
  color: var(--about-ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
  text-align: center;
}

.resource-register label {
  color: var(--about-ink);
  display: block;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.resource-register input {
  background: #fff;
  border: 1px solid #d1d9e6;
  border-radius: var(--r-sm);
  color: var(--about-ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.resource-register input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 91, 178, .12);
  outline: none;
}

.resource-register button {
  justify-content: center;
  margin-top: 4px;
  width: 100%;
}

.resource-faq {
  padding: 120px 0;
}

.resource-faq-list {
  border-top: 1px solid var(--resources-line);
  margin: 48px auto 0;
  max-width: 860px;
}

.resource-faq-item {
  border-bottom: 1px solid var(--resources-line);
}

.resource-faq-item summary {
  align-items: center;
  color: var(--about-ink);
  cursor: pointer;
  display: flex;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  gap: 24px;
  justify-content: space-between;
  list-style: none;
  padding: 24px 4px;
}

.resource-faq-item summary::-webkit-details-marker {
  display: none;
}

.resource-faq-item summary::after {
  color: var(--blue);
  content: '+';
  flex: 0 0 auto;
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.resource-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.resource-faq-item p {
  color: var(--about-muted);
  line-height: 1.8;
  padding: 0 42px 24px 4px;
}

.resources-cta {
  background: linear-gradient(135deg, #102d54, var(--bg-dark));
}

@media (max-width: 900px) {
  .resource-download-grid,
  .resource-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-event-grid {
    gap: 42px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .resources-intro,
  .resources-section,
  .resource-faq {
    padding: 82px 0;
  }

  .resources-nav .container {
    justify-content: flex-start;
  }

  .resource-download-grid,
  .resource-news-grid,
  .resource-video-grid {
    grid-template-columns: 1fr;
  }

  .resource-download-card > img,
  .resource-news-card img {
    height: 190px;
  }

  .resource-register {
    padding: 26px;
  }
}
