/* =========================================================
   RESOURCES PAGE
   ========================================================= */

.resources-hero {
  background: linear-gradient(135deg, #65516f 0%, #4b1f5e 100%);
  color: #fff;
  padding: 72px 0 68px;
  text-align: center;
}

.resources-hero .container {
  max-width: 900px;
}

.resources-eyebrow,
.section-kicker,
.resource-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resources-eyebrow {
  color: #f2dce8;
}

.resources-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 1.05;
}

.resources-intro {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.resources-section {
  padding: 74px 0;
}

.resources-section--soft {
  background: #f7f2f8;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-kicker,
.resource-label {
  color: #9e2949;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: #4b1f5e;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading > p:last-child {
  margin: 0;
  max-width: 720px;
  line-height: 1.75;
}

.resource-grid {
  display: grid;
  gap: 24px;
}

.resource-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.resource-card {
  padding: 30px;
  border: 1px solid rgba(75, 31, 94, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(43, 36, 48, 0.08);
}

.resource-card h3,
.support-feature h3 {
  margin: 8px 0 12px;
  color: #4b1f5e;
  font-size: 1.45rem;
  line-height: 1.25;
}

.resource-card p {
  line-height: 1.7;
}

.resource-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #4b1f5e;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.resource-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #c6283d;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.resource-button:hover,
.resource-button:focus-visible {
  filter: brightness(0.94);
  color: #fff;
}

.resource-article {
  margin-top: 18px;
  border: 1px solid rgba(75, 31, 94, 0.14);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(43, 36, 48, 0.05);
}

.resource-article summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 22px 24px;
  color: #4b1f5e;
  font-size: 1.12rem;
  font-weight: 800;
}

.resource-article summary::-webkit-details-marker {
  display: none;
}

.resource-article summary small {
  display: block;
  margin-bottom: 5px;
  color: #9e2949;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.summary-action {
  flex: 0 0 auto;
  color: #c6283d;
  font-size: 0.86rem;
}

.resource-article[open] .summary-action::after {
  content: " ↓";
}

.resource-article__body {
  padding: 4px 24px 28px;
  border-top: 1px solid rgba(75, 31, 94, 0.09);
}

.resource-article__body p,
.resource-article__body li {
  line-height: 1.75;
}

.resource-article__body h3 {
  margin-top: 28px;
  color: #4b1f5e;
}

.resource-article__body h4 {
  margin: 22px 0 6px;
  color: #6a2b67;
}

.resource-article__body blockquote {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid #c6283d;
  background: #f7f2f8;
  color: #4b1f5e;
  font-weight: 700;
}

.resource-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f7f2f8;
  color: #4b1f5e;
  font-weight: 700;
}

.support-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 32px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(75, 31, 94, 0.12);
  box-shadow: 0 16px 40px rgba(43, 36, 48, 0.07);
}

.support-feature p,
.support-feature li {
  line-height: 1.75;
}

.support-points {
  padding: 24px;
  border-radius: 18px;
  background: #f7f2f8;
}

.support-points ul {
  margin-bottom: 0;
}

.resources-disclaimer {
  padding: 0 0 74px;
}

.disclaimer-card {
  padding: 28px 30px;
  border-radius: 20px;
  background: #fff8ee;
  border: 1px solid rgba(198, 40, 61, 0.2);
}

.disclaimer-card h2 {
  margin-top: 0;
  color: #4b1f5e;
  font-size: 1.35rem;
}

.disclaimer-card p {
  line-height: 1.7;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
  font-weight: 800;
}


@media (max-width: 800px) {
  .resources-hero {
    padding: 52px 0 48px;
  }

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

  .resource-grid--featured,
  .support-feature {
    grid-template-columns: 1fr;
  }

  .resource-card,
  .support-feature {
    padding: 24px;
  }
}


@media (max-width: 520px) {
  .resources-hero h1 {
    font-size: 2.35rem;
  }

  .resources-intro {
    font-size: 1rem;
  }

  .resource-card,
  .support-feature,
  .resource-article summary,
  .resource-article__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .resource-article summary {
    align-items: flex-start;
  }
}


/* =========================================================
   RESOURCE HUB CARDS
   ========================================================= */

.resource-hub {
  padding: 48px 0 20px;
  background: #fff;
}

.resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.resource-hub-card {
  display: block;
  padding: 26px;
  border-radius: 20px;

  background: #fff;
  border: 1px solid rgba(75, 31, 94, 0.14);

  text-decoration: none;
  color: #2b2430;

  box-shadow: 0 12px 32px rgba(43, 36, 48, 0.07);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.resource-hub-card:hover,
.resource-hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(43, 36, 48, 0.12);
}

.resource-hub-card h2 {
  margin: 14px 0 10px;

  color: #4b1f5e;

  font-size: 1.35rem;
  line-height: 1.2;
}

.resource-hub-card p {
  margin-bottom: 16px;

  line-height: 1.65;

  color: #5a505e;
}

.resource-hub-card strong {
  color: #c6283d;
}

.resource-hub-icon {
  display: inline-grid;

  width: 48px;
  height: 48px;

  place-items: center;

  border-radius: 14px;

  background: #f7f2f8;
  color: #4b1f5e;

  font-size: 1.15rem;
  font-weight: 900;
}


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


@media (max-width: 580px) {
  .resource-hub {
    padding-top: 30px;
  }

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

  .resource-hub-card {
    padding: 22px;
  }
}


/* =========================================================
   RESOURCE HUB CARDS
   ========================================================= */

.resource-hub {
  padding: 48px 0 20px;
  background: #fff;
}

.resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.resource-hub-card {
  display: block;
  padding: 26px;
  border-radius: 20px;

  background: #fff;
  border: 1px solid rgba(75, 31, 94, 0.14);

  text-decoration: none;
  color: #2b2430;

  box-shadow: 0 12px 32px rgba(43, 36, 48, 0.07);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.resource-hub-card:hover,
.resource-hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(43, 36, 48, 0.12);
}

.resource-hub-card h2 {
  margin: 14px 0 10px;

  color: #4b1f5e;

  font-size: 1.35rem;
  line-height: 1.2;
}

.resource-hub-card p {
  margin-bottom: 16px;

  line-height: 1.65;

  color: #5a505e;
}

.resource-hub-card strong {
  color: #c6283d;
}

.resource-hub-icon {
  display: inline-grid;

  width: 48px;
  height: 48px;

  place-items: center;

  border-radius: 14px;

  background: #f7f2f8;
  color: #4b1f5e;

  font-size: 1.15rem;
  font-weight: 900;
}


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


@media (max-width: 580px) {
  .resource-hub {
    padding-top: 30px;
  }

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

  .resource-hub-card {
    padding: 22px;
  }
}

/* Resource icon SVG cleanup */
.resource-hub-icon svg,
.resource-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


