/* ============================================
   RESOURCES — Page-specific styles
   ============================================ */

/* --- Hero --- */
.res-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.res-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.res-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.res-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(45, 49, 66, 0.80) 0%,
    rgba(45, 49, 66, 0.55) 55%,
    rgba(200, 135, 74, 0.20) 100%
  );
}
.res-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 580px;
  padding: 48px 0;
}
.res-hero__content h1 { color: var(--white); margin-bottom: 14px; }
.res-hero__content p  {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
}

/* --- Intro --- */
.res-intro {
  max-width: 580px;
  margin: 0 auto 52px;
}
.res-intro h2 { margin-bottom: 4px; }
.res-intro p  { color: var(--charcoal-light); font-size: 0.97rem; margin-top: 8px; }

/* --- Article Grid --- */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.res-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 3px solid var(--sage);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.res-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(45,49,66,0.12);
}
.res-card--featured {
  grid-column: span 2;
  border-top-color: var(--amber);
  background: var(--white);
  box-shadow: var(--shadow);
}
.res-card__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.res-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.res-card p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 20px;
}
.res-card__link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage);
  transition: color var(--transition), letter-spacing var(--transition);
  margin-top: auto;
}
.res-card__link:hover { color: var(--sage-dark); letter-spacing: 0.02em; }

/* --- Ask Us Banner --- */
.res-ask__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0;
}
.res-ask__text h3 { margin-bottom: 6px; font-size: 1.15rem; }
.res-ask__text p  { font-size: 0.92rem; color: var(--charcoal-light); margin-bottom: 0; }
.res-ask .btn     { flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .res-grid { grid-template-columns: 1fr 1fr; }
  .res-card--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .res-hero   { min-height: 38vh; }
  .res-grid   { grid-template-columns: 1fr; }
  .res-card--featured { grid-column: span 1; }
  .res-ask__inner { flex-direction: column; align-items: flex-start; }
}
