/* ──────────────────────────────────────────────────────────────
   BCB — Resources Hub page CSS
   Loads automatically by the slug-match auto-loader on /resources/.
   All selectors scoped to body.page-resources so utility class
   names (.eyebrow, .h-title, .body-lg, .gs, .cluster, etc.) cannot
   bleed into other pages that may use the same names differently.
   ────────────────────────────────────────────────────────────── */

/* ─── Hero: full-bleed banner with right-side text overlay ─── */
body.page-resources .res-hero {
  position: relative;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
body.page-resources .res-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/uploads/2026/05/office-quiet-corner.jpg");
  background-size: cover;
  background-position: 50% 72%;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 93%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 93%, transparent 100%);
  z-index: 0;
}
body.page-resources .res-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 36%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.82) 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 93%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 93%, transparent 100%);
  z-index: 1;
}
body.page-resources .res-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(24px, 5vw, 64px);
  min-height: clamp(440px, 56vh, 580px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
body.page-resources .res-hero__text { max-width: 560px; }
body.page-resources .res-hero__prompt {
  font-family: var(--font-accent); font-weight: 700;
  font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
}
body.page-resources .res-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06; letter-spacing: -0.022em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
}
body.page-resources .res-hero__title em { font-style: italic; font-weight: 700; color: var(--pink-300); }
body.page-resources .res-hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 16px;
  font-weight: 500;
  text-wrap: pretty;
}
body.page-resources .res-hero__blurb {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 30px;
  text-wrap: pretty;
}
body.page-resources .res-hero__cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
body.page-resources .res-hero__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px;
  border-radius: 999px;
  background: var(--pink-500);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
body.page-resources .res-hero__btn:hover { background: var(--pink-600); transform: translateY(-1px); }
body.page-resources .res-hero__sub-link {
  font-size: 14px;
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.32);
  padding-bottom: 2px;
}
body.page-resources .res-hero__sub-link:hover { color: #fff; border-color: #fff; }
@media (max-width: 760px) {
  body.page-resources .res-hero__inner { justify-content: stretch; align-items: flex-end; padding-top: clamp(220px, 38vh, 320px); }
  body.page-resources .res-hero::after { background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0,0,0,0.62) 68%, rgba(0,0,0,0.86) 100%); }
  body.page-resources .res-hero__text { max-width: none; }
}

/* ─── Shared section primitives ─ */
body.page-resources .sec { padding: var(--sec-pad-y) 24px; background: transparent; }
body.page-resources .sec--sm { padding: var(--sec-pad-y-sm) 24px; }
body.page-resources .inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-600); margin: 0 0 14px; }
body.page-resources .h-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.018em; color: var(--navy-700); margin: 0 0 18px; text-wrap: balance; }
body.page-resources .h-title em { font-style: italic; font-weight: 700; color: var(--pink-600); }
body.page-resources .body-lg { font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.65; color: var(--navy-600); margin: 0 0 18px; text-wrap: pretty; }
body.page-resources .link-arrow { font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; color: var(--pink-600); text-decoration: none; border-bottom: 1px solid rgba(194,99,138,0.30); padding-bottom: 2px; font-style: italic; }
body.page-resources .link-arrow:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ─── PICK A LANE (router) ────────────────────────────── */
body.page-resources .pal { padding: clamp(44px, 6vw, 80px) 24px clamp(36px, 5vw, 56px); }
body.page-resources .pal__inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .pal__head { max-width: 760px; margin: 0 auto clamp(28px, 3vw, 40px); text-align: center; }
body.page-resources .pal__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.018em; color: var(--navy-700); margin: 0 0 8px; }
body.page-resources .pal__title em { font-style: italic; color: var(--pink-600); }
body.page-resources .pal__sub { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--navy-500); margin: 0; }
body.page-resources .pal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 780px) { body.page-resources .pal__grid { grid-template-columns: 1fr; } }
body.page-resources .pal__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(62,80,104,0.10);
  border-left: 3px solid var(--pink-500);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  box-shadow: 0 1px 3px rgba(31,45,64,0.04), 0 10px 28px rgba(31,45,64,0.06);
}
body.page-resources .pal__row:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(31,45,64,0.06), 0 22px 48px rgba(31,45,64,0.13); background: #fff; border-left-color: var(--pink-600); }
body.page-resources .pal__cue { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--navy-700); margin: 0 0 4px; }
body.page-resources .pal__dest { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-accent); font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-600); }
body.page-resources .pal__arrow { width: 36px; height: 36px; border-radius: 50%; background: rgba(194,99,138,0.10); color: var(--pink-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s ease, transform .15s ease; }
body.page-resources .pal__row:hover .pal__arrow { background: var(--pink-500); color: #fff; transform: translateX(3px); }
body.page-resources .pal__arrow svg { width: 16px; height: 16px; }

/* ─── Cluster ────────────────── */
body.page-resources .cluster { padding: 0 24px clamp(40px, 5vw, 64px); }
body.page-resources .cluster__inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .cluster__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(62,80,104,0.16); }
body.page-resources .cluster__num { font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-600); }
body.page-resources .cluster__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.018em; color: var(--navy-700); margin: 6px 0 0; }
body.page-resources .cluster__note { font-family: var(--font-sans); font-style: italic; font-size: 14px; color: var(--navy-500); align-self: end; }

body.page-resources .cluster__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { body.page-resources .cluster__grid { grid-template-columns: 1fr; } }

body.page-resources .res-card {
  display: flex; flex-direction: column;
  padding: 28px 28px 24px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(62,80,104,0.10);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 1px 3px rgba(31,45,64,0.04), 0 14px 36px rgba(31,45,64,0.08);
  position: relative;
  overflow: hidden;
}
body.page-resources .res-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pink-500); opacity: 0; transition: opacity .15s ease; }
body.page-resources .res-card:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(31,45,64,0.07), 0 28px 60px rgba(31,45,64,0.16); border-color: rgba(194,99,138,0.22); }
body.page-resources .res-card:hover::after { opacity: 1; }
body.page-resources .res-card--sky::after { background: var(--sky-500); }

body.page-resources .res-card__meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-accent); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-400); margin: 0 0 14px; }
body.page-resources .res-card__meta::before { content: ""; width: 28px; height: 1px; background: var(--navy-300); }
body.page-resources .res-card__meta--pink { color: var(--pink-600); }
body.page-resources .res-card__meta--pink::before { background: var(--pink-300); }

body.page-resources .res-card__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; color: var(--navy-700); margin: 0 0 12px; }
body.page-resources .res-card__body { font-size: 15px; line-height: 1.6; color: var(--navy-600); margin: 0 0 14px; text-wrap: pretty; }
body.page-resources .res-card__tags { font-family: var(--font-sans); font-style: italic; font-size: 13.5px; line-height: 1.55; color: var(--navy-500); margin: 0 0 18px; }
body.page-resources .res-card__cta {
  margin-top: auto;
  font-family: var(--font-accent);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pink-600);
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(194,99,138,0.30);
  align-self: flex-start;
  transition: border-color .15s ease;
}
body.page-resources .res-card--sky .res-card__cta { color: var(--sky-700); border-color: rgba(142,204,230,0.45); }
body.page-resources .res-card__cta svg { width: 14px; height: 14px; transition: transform .15s ease; }
body.page-resources .res-card:hover .res-card__cta { border-color: var(--pink-500); }
body.page-resources .res-card--sky:hover .res-card__cta { border-color: var(--sky-700); }
body.page-resources .res-card:hover .res-card__cta svg { transform: translateX(3px); }

/* ─── Categories preview (Recommendations) ────────────── */
body.page-resources .cats__inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .cats__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(62,80,104,0.16); }
body.page-resources .cats__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.018em; color: var(--navy-700); margin: 0; }
body.page-resources .cats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
body.page-resources .cats__chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(62,80,104,0.10);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--navy-700);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 14.5px;
  line-height: 1.3;
  transition: all .15s ease;
}
body.page-resources .cats__chip:hover { background: #fff; border-color: rgba(194,99,138,0.30); color: var(--pink-700); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(31,45,64,0.08); }
body.page-resources .cats__chip svg { width: 14px; height: 14px; color: var(--pink-500); flex-shrink: 0; transition: transform .15s ease; }
body.page-resources .cats__chip:hover svg { transform: translateX(3px); }

/* ─── Featured Family Stories themes ──────────────────── */
body.page-resources .fs-themes { padding: 0 24px clamp(40px, 5vw, 64px); }
body.page-resources .fs-themes__inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .fs-themes__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(62,80,104,0.16); }
body.page-resources .fs-themes__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.018em; color: var(--navy-700); margin: 0; }
body.page-resources .fs-themes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
body.page-resources .fs-theme {
  padding: 22px 22px 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(62,80,104,0.10);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .15s ease;
}
body.page-resources .fs-theme:hover { background: #fff; border-color: rgba(194,99,138,0.22); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(31,45,64,0.10); }
body.page-resources .fs-theme__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.012em; color: var(--navy-700); margin: 0; }
body.page-resources .fs-theme__count { font-family: var(--font-accent); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-600); }
body.page-resources .fs-theme__blurb { font-size: 13.5px; line-height: 1.55; color: var(--navy-500); margin: 4px 0 0; }

/* ─── Disclosure note (sitewide --note-* disclosure/notes accent) ─── */
body.page-resources .disc { padding: 0 24px clamp(48px, 6vw, 72px); }
body.page-resources .disc__inner {
  max-width: 1180px; margin: 0 auto;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex; align-items: flex-start; gap: 16px;
}
body.page-resources .disc__icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--note-fill); color: var(--note-accent); display: flex; align-items: center; justify-content: center; }
body.page-resources .disc__icon svg { width: 18px; height: 18px; }
body.page-resources .disc__body { font-size: 14px; line-height: 1.6; color: var(--navy-600); margin: 0; }
body.page-resources .disc__body strong { color: var(--navy-700); display: block; font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 4px; }

/* ─── Not here? band ──────────────────────────────────── */
body.page-resources .nh { padding: 0 24px clamp(56px, 7vw, 88px); }
body.page-resources .nh__inner { max-width: 1180px; margin: 0 auto; }
body.page-resources .nh__card {
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 4vw, 48px);
  background: var(--card-lift-bg);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(62,80,104,0.10);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(31,45,64,0.04), 0 14px 36px rgba(31,45,64,0.08);
}
body.page-resources .nh__head { margin: 0 0 22px; }
body.page-resources .nh__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; list-style: none; padding: 0; margin: 0; }
body.page-resources .nh__list li { font-size: 14.5px; line-height: 1.55; color: var(--navy-500); }
body.page-resources .nh__list strong { display: block; color: var(--navy-700); font-family: var(--font-sans); font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
body.page-resources .nh__list a { color: var(--pink-600); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(194,99,138,0.30); padding-bottom: 1px; }
body.page-resources .nh__list a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ─── Getting started → flat navy CTA + in-page ombré band ──────── */
body.page-resources .gs { position: relative; background: transparent; color: var(--navy-500); padding: clamp(48px, 7vw, 80px) 24px; margin-top: clamp(24px, 4vw, 48px); }
body.page-resources .footer-ombre-blend { display: block; }
body.page-resources .nh { position: relative; z-index: 1; }
body.page-resources .gs__inner { max-width: 860px; margin: 0 auto; background: var(--card-lift-bg); backdrop-filter: var(--card-lift-blur); -webkit-backdrop-filter: var(--card-lift-blur); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl); padding: clamp(40px,5.5vw,60px) clamp(28px,4vw,48px); box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35); }
body.page-resources .gs__eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-600); margin: 0 0 16px; }
body.page-resources .gs__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-700); margin: 0 0 26px; text-wrap: balance; }
body.page-resources .gs p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.65; margin: 0 0 18px; color: var(--navy-500); }
body.page-resources .gs p strong { color: var(--navy-700); font-weight: 700; }
body.page-resources .gs__cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
body.page-resources .gs__btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; background: var(--pink-500); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s ease, transform .15s ease; }
body.page-resources .gs__btn:hover { background: var(--pink-600); transform: translateY(-1px); }
body.page-resources .gs__sub { font-family: var(--font-sans); font-size: 14px; color: var(--navy-400); text-decoration: none; border-bottom: 1px solid rgba(41,52,72,0.30); padding-bottom: 2px; }
body.page-resources .gs__sub:hover { color: var(--navy-700); border-color: var(--navy-700); }
