/* ========================================
   Resources Page Styles
   ======================================== */

.nav-active {
  color: var(--gold) !important;
}

/* ========================================
   Resources Hero
   ======================================== */
.res-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  overflow: hidden;
}

.res-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.res-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.res-hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.res-hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-header {
  margin-bottom: var(--space-xl);
}

.stats-intro {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.stat-card {
  background: rgba(201, 168, 76, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.stat-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stat-card-link:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-number svg {
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.stat-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.stat-source {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ========================================
   Resource List
   ======================================== */
.res-list-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.res-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.res-category {
  border-left: 3px solid var(--gold-dim);
  padding-left: var(--space-lg);
}

.res-category-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.res-category-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.res-link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.res-link-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.res-link-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.04);
}

.res-link-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.res-link-icon svg {
  width: 100%;
  height: 100%;
}

.res-link-card h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

.res-link-card p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ========================================
   Crisis Grid (uses resource-card from style.css)
   ======================================== */
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .res-hero {
    min-height: 45vh;
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .res-category {
    padding-left: var(--space-md);
  }

  .crisis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .res-hero-title {
    font-size: 1.75rem;
  }
}
