/* TherapyBuilt 0.3.31 — one visual grammar for major site hubs.
   A single shared hero/outro with a subtle photographic Sandias wash.
   Image is decorative; all visible copy remains HTML, not baked into an image. */
.tb-hub { color:#293b31; background:#faf8f4; }
.tb-hub .tb-hub-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#f7f5ef;
  border-bottom:1px solid #dce3d9;
  padding:calc(var(--nav-h,64px) + clamp(54px,6vw,92px)) 0 clamp(54px,6vw,85px);
}
/* The *same real Sandias image* used by the homepage, not generated artwork.
   A heavily veiled photo supplies local atmosphere without reducing contrast.
   All five hubs inherit this single treatment. */
.tb-hub .tb-hub-hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(90deg, rgba(247,245,239,.76) 0%, rgba(247,245,239,.42) 47%, rgba(247,245,239,.20) 100%),
    url('../images/sandia-mountains-new-mexico.webp');
  background-size:cover;
  background-position:center 42%;
  background-repeat:no-repeat;
  opacity:.17;
  filter:grayscale(.30) saturate(.72) sepia(.06);
}
/* Protect readability and avoid the stronger mobile crop of the landscape. */
.tb-hub .tb-hub-hero__inner {position:relative;z-index:1}
.tb-hub .tb-hub-hero__inner,
.tb-hub .tb-hub-cta__inner {
  width:100%;max-width:1220px; padding-left:clamp(22px,4vw,48px);padding-right:clamp(22px,4vw,48px);
  margin-inline:auto;
}
.tb-hub .tb-hub-hero__inner--split {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.73fr);gap:clamp(32px,5vw,76px);align-items:center}
.tb-hub .tb-hub-hero__content {max-width:900px}
.tb-hub .tb-hub-hero h1 {
  font-family:Georgia,'Iowan Old Style',serif;
  font-size:clamp(42px,5.2vw,68px);font-weight:400;letter-spacing:-.035em;line-height:1.09;
  color:#263a2e;max-width:940px;margin:0 0 25px;
}
.tb-hub .tb-hub-hero__intro {font-family:'DM Sans',Arial,sans-serif;color:#4a5d4e;font-size:clamp(18px,1.85vw,20px);line-height:1.68;max-width:790px;margin:0 0 23px}
.tb-hub .tb-hub-hero__link {display:inline-flex;gap:11px;align-items:center;font-family:'DM Sans',Arial,sans-serif;color:#31583c!important;font-size:16px;font-weight:700;text-decoration:none;border-bottom:1px solid #668873;padding-bottom:5px}
.tb-hub .tb-hub-hero__link:hover,.tb-hub .tb-hub-hero__link:focus-visible{color:#213d2a!important;border-color:#213d2a}
.tb-hub .tb-hub-hero__aside {background:#e9efe5;padding:clamp(22px,3vw,36px);border:1px solid #d7e1d3}
.tb-hub .tb-hub-hero__aside-label{font-size:15px;color:#46614b;font-weight:700;margin:0 0 14px}
.tb-hub .tb-hub-hero__aside h2{font:400 clamp(29px,3.4vw,39px)/1.17 Georgia,serif;letter-spacing:-.02em;color:#263a2e;margin:0 0 16px}
.tb-hub .tb-hub-hero__aside p:not(.tb-hub-hero__aside-label){font-size:17px;line-height:1.65;color:#4b5b4e;margin:0}
.tb-hub .tb-hub-cta{background:#2b4936;padding:clamp(65px,6.5vw,90px) 0;color:#f8f7f1}
.tb-hub .tb-hub-cta__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,5vw,65px);align-items:center}
.tb-hub .tb-hub-cta__copy{max-width:795px}
.tb-hub .tb-hub-cta h2{font:400 clamp(33px,3.8vw,49px)/1.14 Georgia,serif;letter-spacing:-.02em;color:#f8f7f1;margin:0 0 14px}
.tb-hub .tb-hub-cta p{font:400 18px/1.68 'DM Sans',Arial,sans-serif;color:#e6eee5;margin:0}
.tb-hub .tb-hub-cta__button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 24px;background:#f7f5ed;color:#24442d!important;text-decoration:none;font:700 16px/1.35 'DM Sans',Arial,sans-serif;white-space:normal;border-radius:4px}
.tb-hub .tb-hub-cta__button:hover,.tb-hub .tb-hub-cta__button:focus-visible{background:#e6eee1;color:#24442d!important}
/* The individual hub bodies remain distinct, but readable body copy is consistent. */
.tb-work-archive.tb-hub .tb-work-card__content p,
.tb-resources-archive.tb-hub .tb-guide-card p,
.tb-resources-archive.tb-hub .tb-article-card__excerpt{font-size:16px;line-height:1.7}
.tb-pricing-page.tb-hub .tb-price-proof__inner{display:block;max-width:800px}
.tb-pricing-page.tb-hub .tb-price-proof__inner>div:first-child{max-width:780px}
.tb-pricing-page.tb-hub .tb-price-proof p{max-width:760px}
@media(max-width:900px){
  .tb-hub .tb-hub-hero__inner--split{grid-template-columns:1fr;gap:28px}
  .tb-hub .tb-hub-hero__aside{max-width:700px}
  .tb-hub .tb-hub-cta__inner{grid-template-columns:1fr;gap:25px}
  .tb-hub .tb-hub-cta__button{justify-self:start}
}
@media(max-width:600px){
  .tb-hub .tb-hub-hero::before{background-position:58% 42%;opacity:.12}
  .tb-hub .tb-hub-hero{padding-top:calc(var(--nav-h,64px) + 38px);padding-bottom:50px}
  .tb-hub .tb-hub-hero h1{font-size:clamp(37px,10.1vw,49px);margin-bottom:20px}
  .tb-hub .tb-hub-hero__intro{font-size:17px;line-height:1.7}
  .tb-hub .tb-hub-hero__link{font-size:16px}
  .tb-hub .tb-hub-cta{padding:58px 0}
  .tb-hub .tb-hub-cta h2{font-size:37px}
  .tb-hub .tb-hub-cta p{font-size:17px}
  .tb-hub .tb-hub-cta__button{width:100%}
}
