.resources-main {
  overflow: hidden;
  font-family: "Inter", sans-serif;
  /* Solid white strip behind the transparent navbar (like the rest of the
     site), plus a bit of breathing room below it before the cream hero
     starts. Keep .resources-hero's own top padding small (just internal
     spacing for the kicker) — it should NOT also carry navbar clearance,
     or the two stack into a huge empty gap. */
  padding-top: 120px;
}

@media (max-width: 700px) {
  /* .header switches to position: relative below this breakpoint (see style.css),
     so it no longer overlays the content and doesn't need extra top padding. */
  .resources-main {
    padding-top: 32px;
  }
}

@media (max-width: 550px) {
  /* style.css re-fixes .header at this breakpoint (overlaid navbar for the
     home hero), so .resources-main needs its top clearance back here too. */
  .resources-main {
    padding-top: 120px;
  }
}

.resources-hero {
  position: relative;
  padding: 32px 7vw 82px;
  overflow: hidden;
  background: #f1f1e1;
}

.resources-hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -60px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(96, 129, 56, 0.28);
  border-radius: 50%;
}

.resources-kicker {
  margin: 0 0 18px;
  color: #608138;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.resources-title {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  color: #000000;
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.resources-intro {
  max-width: 720px;
  margin: 30px 0 0;
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.75;
}

.resources-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px 6vw 104px;
}

.resource-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 38px 32px 32px;
  border: 1px solid #dfe3d7;
  border-radius: 14px;
  background: #f9fbfa;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.resource-card:hover {
  background: #ffffff;
  box-shadow: -6px 17px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.resource-card-index {
  margin: 0 0 28px;
  color: #608138;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.resource-card-title {
  margin: 0 0 18px;
  min-height: 2.08em;
  color: #1a1a1a;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.resource-card-title a {
  color: inherit;
  text-decoration: none;
}

.resource-card-title a:hover,
.resource-card-title a:focus-visible {
  color: #608138;
}

.resource-card-copy {
  margin: 0 0 28px;
  color: #4c5247;
  font-size: 13px;
  line-height: 1.65;
}

.resource-card-link,
.resource-issue-links a {
  color: #608138;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.resource-card-link {
  align-self: flex-start;
  margin-top: auto;
}

.resource-card-link::after {
  content: " \2192";
  font-size: 17px;
  font-weight: 400;
}

.resource-issue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.resource-issue-links a {
  padding: 9px 11px;
  border: 1px solid #cfd7c2;
  border-radius: 999px;
}

.resource-issue-links a:hover,
.resource-card-link:hover {
  color: #b35910;
}

@media (max-width: 980px) {
  .resources-sections {
    grid-template-columns: 1fr;
  }

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

  .resource-card-title {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .resources-hero {
    padding: 24px 24px 64px;
  }

  .resources-sections {
    padding: 64px 24px 80px;
  }

  .resource-card {
    min-height: 310px;
    padding: 30px 24px 26px;
  }
}

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