.resource-hub {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) 0 4rem;
  color: #eef4ff;
}

.resource-hub-hero {
  max-width: 820px;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.resource-eyebrow,
.resource-section-heading > p {
  margin: 0 0 .55rem;
  color: #9ebdff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.resource-hub h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  background: linear-gradient(110deg, #fff 15%, #b8cbff 55%, #d7b5ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.resource-hub-hero > p:last-child {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: #c7d2e8;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.resource-hub-section {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.resource-section-heading h2,
.resource-hub-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  line-height: 1.15;
}

.resource-section-note {
  max-width: 820px;
  margin: 1rem 0 1.5rem;
  color: #bbc9e2;
  line-height: 1.65;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.resource-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem;
  border: 1px solid rgba(173, 202, 255, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 39, 68, .9), rgba(14, 22, 39, .82));
  color: #eef4ff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(173, 202, 255, .58);
  background: linear-gradient(145deg, rgba(35, 54, 94, .95), rgba(18, 29, 51, .9));
}

.resource-card strong {
  color: #fff;
  font-size: 1.1rem;
}

.resource-card span {
  color: #bdcbe3;
  font-size: .94rem;
  line-height: 1.55;
}

.resource-card-featured {
  border-color: rgba(177, 153, 255, .52);
  background: linear-gradient(145deg, rgba(52, 41, 91, .92), rgba(21, 31, 53, .88));
}

.resource-card-urgent {
  border-color: rgba(255, 185, 115, .55);
  background: linear-gradient(145deg, rgba(91, 50, 32, .82), rgba(35, 28, 34, .9));
}

.resource-hub-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin: clamp(3.5rem, 8vw, 6rem) 0 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(177, 153, 255, .34);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(46, 38, 83, .92), rgba(20, 42, 73, .88));
}

.resource-hub-cta p:not(.resource-eyebrow) {
  margin: .8rem 0 0;
  color: #c7d2e8;
  line-height: 1.6;
}

.resource-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.resource-boundary {
  width: 100%;
  margin-top: 2rem;
}

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

  .resource-hub-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .resource-hub {
    width: min(100% - 1.2rem, 1180px);
    padding-top: 2.5rem;
  }

  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 130px;
  }

  .resource-hub-actions > a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-card {
    transition: none;
  }
}
