/* =========================================================
   Rooted Resources — community provider directory
   Warm earthy palette, calm cards, clear disclaimers.
   ========================================================= */

body.resources-page{
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(156,175,136,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(1,105,111,.07), transparent 60%),
    var(--bg);
}

/* ---------- HERO ---------- */
.resources-hero{
  padding: 80px 0 36px;
  text-align: center;
}
.resources-hero .eyebrow{
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 14px;
}
.resources-hero h1{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--ink-warm);
}
.resources-hero h1 em{
  font-style: italic;
  color: var(--forest);
}
.resources-hero .lede{
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 14px;
}
.resources-hero .lede-sub{
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 30px;
  font-style: italic;
}
.resources-hero-cta{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.suggest-hero{
  padding-bottom: 16px;
}

/* ---------- DISCLAIMER ---------- */
.resources-disclaimer{
  padding: 18px 0 36px;
}
.disclaimer-card{
  background: var(--soft-cream);
  border: 1px solid var(--paper-edge);
  border-left: 4px solid var(--forest);
  border-radius: 14px;
  padding: 22px 26px;
}
.disclaimer-card h2{
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--forest);
  margin: 0 0 8px;
}
.disclaimer-card p{
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-warm);
  margin: 0;
}
.disclaimer-card p + p{
  margin-top: 10px;
}
.disclaimer-card p.muted{
  color: var(--ink-soft);
  font-size: 14px;
  font-style: italic;
}

/* ---------- CATEGORY GRID ---------- */
.resources-grid-section{
  padding: 24px 0 72px;
}
.resources-grid-head{
  text-align: center;
  margin-bottom: 32px;
}
.resources-grid-head h2{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  color: var(--ink-warm);
  margin: 0 0 8px;
}
.resources-grid-head p{
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

.resources-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.resource-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 16px;
  padding: 26px 26px 22px;
  color: var(--ink-warm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 18px 40px -32px rgba(40,37,29,.2);
}
.resource-card:hover{
  transform: translateY(-3px);
  border-color: var(--forest);
  box-shadow: 0 22px 50px -28px rgba(47,93,58,.32);
}
.resource-card-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-cream);
  border-radius: 12px;
  color: var(--forest);
  margin-bottom: 14px;
}
.resource-card-icon svg{
  width: 24px;
  height: 24px;
}
.resource-card h3{
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--ink-warm);
  margin: 0 0 8px;
}
.resource-card p{
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex-grow: 1;
}
.resource-card-arrow{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resource-card:hover .resource-card-arrow{
  color: var(--forest);
}

/* ---------- SUGGEST CALLOUT ---------- */
.resources-suggest{
  padding: 0 0 80px;
}
.suggest-card{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 22px;
  padding: 44px 36px;
  box-shadow: 0 24px 60px -40px rgba(40,37,29,.22);
}
.suggest-card h2{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--forest);
  margin: 0 0 14px;
}
.suggest-card p{
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 22px;
}

/* =========================================================
   SPECIALTY PAGE
   ========================================================= */
.specialty-hero{
  padding: 56px 0 28px;
  text-align: center;
}
.specialty-hero .crumbs{
  text-align: left;
  margin-bottom: 28px;
}
.specialty-icon{
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-cream);
  border-radius: 16px;
  color: var(--forest);
  margin: 0 auto 18px;
}
.specialty-icon svg{ width: 32px; height: 32px; }
.specialty-hero .eyebrow{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 10px;
}
.specialty-hero h1{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  color: var(--ink-warm);
  margin: 0 0 16px;
}
.specialty-hero .lede{
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* Provider list */
.provider-list-section{
  padding: 32px 0 56px;
}
.provider-list-head{
  text-align: center;
  margin-bottom: 28px;
}
.provider-list-head h2{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--ink-warm);
  margin: 0 0 6px;
}
.provider-list-head .muted{
  font-size: 13px;
  color: var(--taupe);
  margin: 0;
  font-style: italic;
}

.provider-empty{
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 32px;
  background: var(--paper);
  border: 1px dashed var(--paper-edge);
  border-radius: 18px;
}
.provider-empty h3{
  font-family: 'Gambarino', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink-warm);
  margin: 0 0 12px;
}
.provider-empty p{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}

/* Provider card (template — used when Toni adds providers) */
.provider-card{
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: 0 18px 40px -36px rgba(40,37,29,.18);
}
.provider-card-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.provider-card-head h3{
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-warm);
  margin: 0;
  line-height: 1.25;
}
.provider-tag{
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft-cream);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.provider-meta{
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.provider-meta li{
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.provider-meta li strong{
  color: var(--ink-warm);
  font-weight: 600;
  margin-right: 6px;
}
.provider-meta li a{
  color: var(--teal);
  text-decoration: none;
}
.provider-meta li a:hover{
  text-decoration: underline;
}
.provider-note{
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--paper-edge);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-style: italic;
}

/* Specialty next/prev nav */
.specialty-nav-section{
  padding: 32px 0 80px;
}
.specialty-nav-row{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.entry-next-card-link{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  transition: border-color .15s ease;
}
.entry-next-card-link:hover{
  border-color: var(--forest);
}
.entry-next-card-link .muted{
  font-size: 12px;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.entry-next-card-link strong{
  color: var(--ink-warm);
  font-size: 15px;
  font-weight: 600;
}
.specialty-nav-row > a:last-child .entry-next-card-link,
.specialty-nav-row a.entry-next-card-link:last-child{
  text-align: right;
}

/* Responsive */
@media (max-width: 960px){
  .resources-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .resources-grid{ grid-template-columns: 1fr; }
  .specialty-nav-row{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .specialty-nav-row > div{ display: none; }
  .resources-hero{ padding: 56px 0 28px; }
}
