/* Reusable interior-page components. All colours come from the selected palette. */
.hub-hero{background:var(--paper);padding:clamp(40px,5vw,64px) 0 0}
.hub-breadcrumbs{margin-bottom:24px}
.hub-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.hub-breadcrumbs li{display:flex;gap:10px;align-items:center}
.hub-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4vw,56px);align-items:center;padding-bottom:56px}
.hub-hero h1{font-weight:400;font-size:clamp(3rem,5.3vw,4.65rem);line-height:1.08;letter-spacing:-.05em;margin:18px 0 0;max-width:680px;overflow-wrap:anywhere;text-wrap:balance}
.hub-hero h1 em{color:var(--forest-2)}
.hub-hero-copy{min-width:0}
.hub-hero-description{font-size:1.06rem;max-width:620px;margin:0 0 24px;color:var(--muted)}
.hub-hero-description p{font-size:inherit;color:inherit;margin:0 0 16px}
.hub-hero-description p:last-child{margin-bottom:0}
.hub-hero-copy>.btn{max-width:100%;white-space:normal;text-align:left}
.hub-hero-copy>.hub-updated{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;font-size:.78rem;line-height:1.5;color:var(--muted);margin:16px 0 0}
.hub-updated svg{width:14px;height:14px;flex:0 0 auto}
.hub-updated time{font-weight:600;color:var(--ink)}
.hub-hero-image{aspect-ratio:1;width:100%;max-width:540px;margin:0;justify-self:end;border-radius:28px;overflow:hidden;box-shadow:0 28px 56px -30px rgba(8,60,44,.4);background:var(--sage)}
.hub-hero-image img{display:block;width:100%;height:100%;object-fit:cover}
.hub-rating{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:fit-content;max-width:100%;margin:22px 0;color:var(--forest);font-size:.85rem;line-height:1.5}
.rating-stars{display:inline-flex;gap:3px;font-size:1.18rem;line-height:1;white-space:nowrap;color:#b2ad9f}
.rating-star{display:inline-block;position:relative;width:1em;flex-shrink:0}
.rating-star-fill{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#b77710}
.rating-score{font-size:.95rem;font-weight:600}
.rating-score>span{font-size:.8rem;font-weight:400;color:var(--muted)}
.hub-jumps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.hub-jumps a{display:flex;align-items:center;gap:18px;padding:21px 24px 21px 0;min-height:74px}
.hub-jumps a+a{border-left:1px solid var(--line);padding-left:26px}
.hub-jumps strong{font-size:.95rem;font-weight:600}
.hub-jumps svg{margin-left:auto;transform:rotate(90deg);color:var(--forest)}
.hub-jumps a:hover strong{text-decoration:underline;text-underline-offset:5px}
.hub-feature,.hub-needs{background:var(--white)}
.section.section-bg-white{background:var(--white)}
.section.section-bg-paper{background:var(--paper)}
.section.section-bg-line{background:var(--line)}
.section.section-bg-sage{background:var(--sage)}
.hub-feature,.hub-groups,.hub-needs{padding-block:clamp(56px,6.4vw,88px);scroll-margin-top:24px}
.hub-feature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(38px,5.5vw,78px);align-items:center}
.hub-feature-image{position:relative;align-self:stretch;min-height:480px;border-radius:12px;overflow:hidden;margin:0;background:var(--sage)}
.hub-feature-image img{height:100%;width:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 50%}
.hub-feature-image figcaption{position:absolute;bottom:0;left:0;max-width:280px;padding:19px 23px;background:var(--paper);color:var(--ink);font-size:.9rem;line-height:1.5}
.hub-feature h2,.hub-section-heading h2,.hub-needs h2,.hub-cta h2{font-size:clamp(2.15rem,3.5vw,3.65rem);font-weight:400;line-height:1.14;letter-spacing:-.04em;margin:17px 0 22px}
.hub-feature h2 em,.hub-section-heading h2 em,.hub-needs h2 em{color:var(--forest-2)}
.hub-feature-copy>div>p,.hub-needs-grid>div>div>p{font-size:1.01rem;margin-bottom:0}
.hub-service-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;padding:0;margin:28px 0 30px}
.hub-service-list li{border-top:1px solid var(--line);font-size:.87rem;line-height:1.45;min-width:0}
.hub-service-list li>span,.hub-service-list li>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;min-height:49px}
.hub-service-list a{color:var(--forest)}
.hub-service-list a:hover{text-decoration:underline;text-underline-offset:4px}
.hub-service-list svg{width:15px;height:15px;flex:0 0 auto}
.hub-service-list-heading{font-size:1.12rem;font-weight:600;line-height:1.4;letter-spacing:-.015em;color:var(--forest);margin:28px 0 12px}
.hub-service-list.hub-service-list-emphasis,.hub-group-card .hub-service-list.hub-service-list-emphasis{margin-top:0}
.hub-service-list-emphasis li{font-size:1.05rem;line-height:1.5;font-weight:500}
.hub-service-list-emphasis a{transition:color .18s ease;text-decoration:none;overflow-wrap:anywhere}
.hub-service-list-emphasis a:hover,.hub-service-list-emphasis a:focus-visible{color:#9b4b20;text-decoration:none}
.hub-service-list-emphasis a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
@media(max-width:700px){.hub-service-list.hub-service-list-emphasis,.hub-group-card .hub-service-list.hub-service-list-emphasis{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hub-service-list-emphasis a{transition:none}}
.hub-feature .btn{font-size:.9rem;margin-top:2px}
.hub-technical{padding:18px 20px;margin:0 0 26px;background:var(--paper);border-left:3px solid var(--sage);border-radius:0 8px 8px 0}
.hub-technical h3{font-size:1rem;font-weight:600;line-height:1.4;margin:0 0 7px}
.hub-technical p{font-size:.87rem;line-height:1.6;margin:0 0 10px}
.hub-technical-label,.hub-technical .text-link{font-size:.85rem;color:var(--forest);font-weight:500}
.hub-groups{background:var(--paper)}
.hub-section-heading{max-width:760px;margin-bottom:34px}
.hub-section-heading p{max-width:650px;margin:0}
.hub-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hub-group-card{display:flex;flex-direction:column;padding:clamp(26px,3.1vw,44px);border:1px solid var(--line);border-radius:12px;background:var(--white);scroll-margin-top:24px}
.hub-group-card h3{font-size:clamp(1.65rem,2.25vw,2.15rem);font-weight:400;line-height:1.18;margin:22px 0 17px;max-width:430px}
.hub-group-card>p{font-size:.95rem;margin-bottom:0;max-width:490px}
.hub-group-card .hub-service-list{margin:26px 0 30px}
.hub-group-card>.text-link{margin-top:auto;align-self:flex-start;font-size:.91rem}
.hub-needs-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(40px,8vw,116px);align-items:start}
.hub-needs h2{max-width:450px}
.hub-need-list{border-top:1px solid var(--line)}
.hub-need{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding:23px 0}
.hub-need h3{font-size:1.12rem;font-weight:500;line-height:1.4;margin:0 0 6px;letter-spacing:-.015em}
.hub-need p{font-size:.89rem;margin:0;max-width:530px}
.hub-need>svg{flex:0 0 auto;color:var(--forest);transition:transform .2s}
a.hub-need:hover h3{text-decoration:underline;text-underline-offset:4px}
a.hub-need:hover>svg{transform:translateX(4px)}
.hub-cta{background:var(--forest);color:var(--white);padding-block:clamp(48px,5.2vw,70px)}
.hub-cta-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:center}
.hub-cta h2{max-width:780px;margin-bottom:17px}
.hub-cta .eyebrow{color:var(--accent)}
.hub-cta h2 em{color:var(--white)}
.hub-cta p{color:var(--white);max-width:650px;margin:0;font-size:.98rem}
.hub-cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.hub-email{font-size:.9rem;text-decoration:underline;text-underline-offset:5px}
@media(max-width:900px){
  .hub-hero-grid{gap:32px;grid-template-columns:1fr}
  .hub-hero-image{justify-self:start}
  .hub-feature-grid{gap:32px}
  .hub-feature-image{min-height:450px}
  .hub-service-list{column-gap:16px}
  .hub-group-grid{gap:18px}
  .hub-group-card .hub-service-list{grid-template-columns:1fr}
  .hub-needs-grid{gap:38px;grid-template-columns:.8fr 1.2fr}
}
@media(max-width:700px){
  .hub-hero{padding-top:26px}
  .hub-breadcrumbs{margin-bottom:20px}
  .hub-hero-grid,.hub-feature-grid,.hub-group-grid,.hub-needs-grid,.hub-cta-grid{grid-template-columns:1fr}
  .hub-hero-grid{gap:22px;padding-bottom:32px}
  .hub-hero h1{font-size:clamp(2.85rem,10vw,3.8rem);margin-top:13px}
  .hub-hero-description{font-size:1rem}
  .hub-hero-image{justify-self:start;max-width:540px;border-radius:20px}
  .hub-rating{margin:18px 0}
  .hub-jumps{grid-template-columns:1fr}
  .hub-jumps a,.hub-jumps a+a{border-left:0;border-top:1px solid var(--line);padding:15px 0;min-height:55px}
  .hub-jumps a:first-child{border-top:0}
  .hub-feature-grid{gap:30px}
  .hub-feature-image{height:340px;min-height:0}
  .hub-feature h2,.hub-section-heading h2,.hub-needs h2,.hub-cta h2{font-size:clamp(2.1rem,7.5vw,2.8rem)}
  .hub-feature,.hub-groups,.hub-needs{padding-block:48px}
  .hub-feature .btn{width:100%;justify-content:space-between}
  .hub-group-card{padding:27px 24px}
  .hub-group-card h3{font-size:1.85rem}
  .hub-group-card .hub-service-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-needs-grid{gap:29px}
  .hub-needs h2{max-width:500px}
  .hub-cta-grid{gap:28px}
  .hub-cta-actions{align-items:stretch}
  .hub-cta .btn{justify-content:space-between}
}
@media(max-width:380px){.hub-service-list,.hub-group-card .hub-service-list{grid-template-columns:1fr}}

/* Explicit per-section selections must win over component-specific defaults. */
.theme-cevirix .section.section-background-configurable.section-bg-white{background:var(--white)}
.theme-cevirix .section.section-background-configurable.section-bg-paper{background:var(--paper)}
.theme-cevirix .section.section-background-configurable.section-bg-line{background:var(--line)}
.theme-cevirix .section.section-background-configurable.section-bg-sage{background:var(--sage)}
