/* ===== Resources Page ===== */

.hero {
  background: url("../assets/resources-hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}
.hero .lead {
  max-width: 640px;
  margin: 1rem auto;
  font-size: 1.2rem;
}

/* Search + filter */
.resource-search {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
}
.resource-search input,
.resource-search select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  flex: 1;
  max-width: 300px;
}

/* Section spacing */
.section {
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}
.section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card h3 {
  margin-top: 0;
}
.card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary, #0047ab);
  font-weight: bold;
}

/* Highlight (featured) */
.highlight {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 2rem;
}
.highlight img {
  width: 260px;
  border-radius: 8px;
  object-fit: cover;
}

/* Carousels */
.story-carousel, .review-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.story-carousel article, .review-carousel blockquote {
  scroll-snap-align: start;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Media grid */
.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.media-grid article {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
}

/* FAQ */
.faq details {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: bold;
}

/* Metrics */
.metrics {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 1.5rem;
}
.metrics li strong {
  font-size: 2rem;
  display: block;
  color: var(--primary, #0047ab);
}

/* Footer small */
.site-footer {
  background: #222;
  color: #eee;
  padding: 2rem;
  text-align: center;
}
