/* =========================================================
   Overview pages - typography matched to the main website
   Headings : Inter Tight 400, tight letter-spacing, normal case
   Body/UI  : Inter
   Same size scale as /css/typography.css. Loaded last.
   ========================================================= */
:root{
  --ov-sans:'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ov-head:'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ov-xs:12px; --ov-sm:14px; --ov-base:16px; --ov-lead:19px;
  --ov-h4:21px;
  --ov-h3:clamp(21px, 1.8vw, 26px);
  --ov-h2:clamp(28px, 3vw, 44px);
  --ov-h1:clamp(36px, 4.8vw, 72px);
}

/* ---------- base ---------- */
html body{
  font-family:var(--ov-sans) !important;
  font-size:var(--ov-base);
  line-height:1.6;
  letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
html body :where(p, li, a, span, div, td, th, label, small, strong, em, b, section, article, aside, nav, figcaption, input, textarea, select, button){
  font-family:var(--ov-sans) !important;
}

/* ---------- headings & display text ---------- */
html body :where(h1, h2, h3, h4, h5),
html body .topheado, html body .internalHead, html body .heading22, html body .mainhead3,
html body .brodhHead, html body .head4t, html body .head33, html body .f25,
html body .leftappconter h2, html body .swTitle, html body .appHead{
  font-family:var(--ov-head) !important;
  font-style:normal !important;
  font-weight:400 !important;
  text-transform:none !important;
  letter-spacing:-.025em !important;
}
html body :where(h1, h2, h3, h4, h5) > span,
html body .heading22 span, html body .head33 span, html body .head4t span, html body .mainhead3 span,
html body .leftappconter h2 span{ font-family:var(--ov-sans) !important; }

/* sizes */
html body h1, html body .internalHead{ font-size:var(--ov-h1) !important; line-height:1.04 !important; }
html body .topheado{ font-size:var(--ov-h2) !important; line-height:1.15 !important; }
html body h2, html body .leftappconter h2, html body .swTitle, html body .brodhHead{ font-size:var(--ov-h2) !important; line-height:1.1 !important; }
html body .heading22{ font-size:clamp(24px, 2.2vw, 32px) !important; line-height:1.15 !important; }
html body h3, html body .mainhead3{ font-size:var(--ov-h3) !important; line-height:1.2 !important; }
html body h4, html body .head4t, html body .f25{ font-size:var(--ov-h4) !important; line-height:1.3 !important; }
html body h5, html body .head33{ font-size:18px !important; line-height:1.35 !important; }

/* ---------- small labels (spaced capitals, like the main site) ---------- */
html body .heading22 span, html body .head33 span, html body .head4t span,
html body .leftappconter h2 span, html body .bullettext, html body .swNum, html body .swType,
html body .swFeatHead, html body .swTags span, html body .mailidd{
  font-size:var(--ov-xs) !important;
  font-weight:600 !important;
  letter-spacing:.14em !important;
  line-height:1.5 !important;
  text-transform:uppercase !important;
}
html body .mainhead3 span{ font-size:var(--ov-sm) !important; letter-spacing:0 !important; }

/* page intro under the title: a lead paragraph, not a label */
html body .subhead{
  max-width:780px;
  margin-top:18px !important;
  font-size:var(--ov-lead) !important;
  font-weight:400 !important;
  line-height:1.5 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
  color:#4a5262 !important;
}

/* ---------- body copy ---------- */
html body p,
html body .appcOntt, html body .leftappconter p, html body .swDesc, html body .swFeat li,
html body .nomContetn, html body .afteract, html body .detailsss, html body .cntPara1{
  font-size:var(--ov-base) !important;
  line-height:1.65 !important;
}

/* ---------- buttons / links ---------- */
html body .viewDemolin, html body .swCta a, html body .logoview, html body .logoview1, html body .portTabb{
  font-size:var(--ov-sm) !important;
  font-weight:500 !important;
  letter-spacing:.02em !important;
}

/* ---------- old slide-out menu & footer (pages that still use them) ---------- */
html body .menuBagg ul li a{ font-family:var(--ov-head) !important; font-style:normal !important; font-size:22px !important; letter-spacing:-.02em !important; }
html body .footersSwc{ font-size:var(--ov-xs) !important; letter-spacing:.1em !important; }

/* shared header/footer keep their own sizing */
html body .tph, html body .tpFooter{ font-size:var(--ov-base); }

/* ---------- phones ---------- */
@media screen and (max-width:600px){
  :root{ --ov-base:15.5px; --ov-lead:17px; --ov-h4:19px; }
}

/* ---------- Social page tabs (Social Media Design / Flyers) ---------- */
html body .socfixx{
  display:flex !important;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  width:auto !important;
  margin:0 auto 48px !important;
  padding-top:64px !important;
}
html body .socfixx .afteract{
  float:none !important;
  display:inline-block;
  margin:0 !important;
  padding:11px 24px;
  border:1px solid #d9dce3;
  border-radius:40px;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  color:#0e1524 !important;
  text-decoration:none !important;
  transition:background .25s ease, border-color .25s ease, color .25s ease;
}
html body .socfixx .afteract::after{ display:none !important; }
html body .socfixx .afteract:hover{ border-color:#0e1524; }
html body .socfixx .afteract.is-active{ background:#0e1524; border-color:#0e1524; color:#fff !important; }
@media screen and (max-width:600px){ html body .socfixx{ padding-top:32px !important; margin-bottom:28px !important; } }
