/* =====================================================================
   Today TeleHealth · site header and footer (every page)
   Selectors are scoped (.th / .tf) so Hello's reset and the Elementor kit don't restyle them.
   ===================================================================== */
.th-shell,.tf{
  --th-band:#1A6160; --th-bg:#F3F8F8; --th-surface:#FFFFFF; --th-fg:#1E2B2B; --th-muted:#4E5D5D; --th-line:#DBE5E5; --th-field:#C3D2D2;
  --th-accent:#1A6160; --th-hover:#04B5AE; --th-soft:#E3F3F2; --th-on-band:#7FE8E2;
  --th-font:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --th-wrap:1200px; --th-h:76px;
}
.th-anchor{display:block; height:0; outline:0}
.th,.th *,.th *::before,.th *::after,.tf,.tf *,.tf *::before,.tf *::after{box-sizing:border-box}
.th .th-sr,.tf .tf-sr{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; margin:0; padding:0}
.th ul,.tf ul{list-style:none; margin:0; padding:0}
.th p,.tf p,.tf h2{margin:0}
.th svg,.tf svg{flex:none}

/* ---------- sticky shell (the Elementor wrappers sit inside it) ---------- */
.th-shell:has(.th.is-sticky){position:sticky; top:0; z-index:90}
.admin-bar .th-shell:has(.th.is-sticky){top:32px}
@media (max-width:782px){ .admin-bar .th-shell:has(.th.is-sticky){top:46px} }
@media (max-width:600px){ .admin-bar .th-shell:has(.th.is-sticky){top:0} }
.th-shell .elementor-section,.th-shell .e-con,.th-shell .elementor-widget{margin:0!important}

/* ================= HEADER ================= */
.th{position:relative; z-index:90; font-family:var(--th-font); font-size:16px; line-height:1.5; color:var(--th-fg); background:rgba(255,255,255,.96); border-bottom:1px solid var(--th-line);
  -webkit-backdrop-filter:saturate(1.4) blur(10px); backdrop-filter:saturate(1.4) blur(10px); transition:box-shadow .2s; -webkit-font-smoothing:antialiased}
.th.is-scrolled{box-shadow:0 10px 30px -22px rgba(18,52,51,.45)}
.th :focus-visible{outline:3px solid var(--th-accent); outline-offset:2px; border-radius:6px}
.th .th-wrap{width:100%; max-width:var(--th-wrap); margin-inline:auto; padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px))}
.th .th-bar{display:flex; align-items:center; gap:24px; min-height:var(--th-h)}

/* logo */
.th a.th-logo{display:inline-flex; align-items:center; gap:10px; flex:none; color:var(--th-fg); text-decoration:none}
.th .th-logo img{display:block; height:auto; max-height:52px; width:180px; max-width:46vw; object-fit:contain}
.th .th-logo-mark{display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--th-accent); color:#fff}
.th .th-logo-word{font-size:20px; line-height:1; font-weight:800; letter-spacing:-.02em; color:var(--th-fg); white-space:nowrap}
.th .th-logo-word span{color:var(--th-accent)}

/* desktop menu */
.th .th-nav{margin-left:auto}
.th .th-menu{display:flex; align-items:center; gap:4px}
.th .th-item{position:relative}
.th a.th-link,.th button.th-drop-btn{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; margin:0; border:0; border-radius:10px; background:transparent; box-shadow:none;
  font-family:var(--th-font); font-size:16px; line-height:1; font-weight:600; color:var(--th-fg); text-decoration:none; text-transform:none; letter-spacing:0; cursor:pointer; transition:background-color .15s,color .15s}
.th a.th-link:hover,.th button.th-drop-btn:hover,.th button.th-drop-btn:focus{background:var(--th-soft); color:var(--th-accent)}
.th a.th-link[aria-current="page"],.th button.th-drop-btn.is-current{color:var(--th-accent); box-shadow:inset 0 -2px 0 var(--th-accent); border-radius:10px 10px 0 0}
.th .th-drop-btn svg{transition:transform .2s}
.th .th-drop-btn[aria-expanded="true"] svg{transform:rotate(180deg)}

/* dropdown */
.th .th-drop{position:absolute; left:50%; top:calc(100% + 10px); z-index:5; width:340px; transform:translateX(-50%); padding:10px; border-radius:18px; background:var(--th-surface);
  border:1px solid var(--th-line); box-shadow:0 24px 50px -24px rgba(18,52,51,.4); display:none}
.th .th-drop.is-open{display:block}
.th .th-drop::before{content:""; position:absolute; left:0; right:0; top:-12px; height:12px}
.th .th-drop a{display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 12px; border-radius:12px; color:var(--th-fg); text-decoration:none}
.th .th-drop a:hover,.th .th-drop a[aria-current="page"]{background:var(--th-soft); color:var(--th-fg)}
.th .th-drop-ic{display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:var(--th-soft); color:var(--th-accent)}
.th .th-drop a:hover .th-drop-ic{background:var(--th-surface)}
.th .th-drop b{display:block; font-size:15.5px; line-height:1.3; font-weight:600}
.th .th-drop small{display:block; font-size:13.5px; line-height:1.35; color:var(--th-muted)}
.th .th-drop-count{font-size:13px; color:var(--th-muted); font-variant-numeric:tabular-nums}
.th .th-drop a.th-drop-all{margin-bottom:6px; padding-bottom:10px; border-bottom:1px solid var(--th-line); border-radius:12px 12px 0 0}
.th .th-drop-all .th-drop-ic,.th .th-drop a.th-drop-all:hover .th-drop-ic{background:var(--th-accent); color:#fff}

/* actions */
.th .th-actions{display:flex; align-items:center; gap:8px; flex:none}
.th button.th-icon-btn{display:grid; place-items:center; width:46px; height:46px; padding:0; margin:0; border-radius:50%; border:1.5px solid var(--th-line); background:var(--th-surface); color:var(--th-fg); box-shadow:none; cursor:pointer;
  transition:border-color .15s,color .15s,background-color .15s}
.th button.th-icon-btn:hover,.th button.th-icon-btn:focus,.th button.th-icon-btn[aria-expanded="true"]{border-color:var(--th-accent); color:var(--th-accent); background:var(--th-soft)}
.th a.th-btn{display:inline-flex; align-items:center; gap:8px; min-height:46px; padding:0 22px; border-radius:999px; background:var(--th-accent); color:#fff;
  font-family:var(--th-font); font-weight:600; font-size:15.5px; line-height:1; text-decoration:none; white-space:nowrap; transition:background-color .15s}
.th a.th-btn:hover,.th a.th-btn:focus{background:var(--th-hover); color:#fff}
.th .th-btn svg{transition:transform .15s}
.th a.th-btn:hover svg{transform:translateX(3px)}
.th button.th-burger{display:none}

/* search panel */
.th .th-search{border-top:1px solid var(--th-line); background:var(--th-surface); display:none}
.th .th-search.is-open{display:block}
.th .th-search .th-wrap{padding-top:20px; padding-bottom:22px}
.th .th-search form{display:flex; gap:10px; margin:0}
.th label.th-search-field{position:relative; display:block; flex:1; margin:0; line-height:1.4}
.th .th-search-field svg{position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--th-muted); pointer-events:none}
.th .th-search input[type="search"]{width:100%; min-height:54px; margin:0; padding:0 16px 0 48px; border-radius:999px; border:1.5px solid var(--th-field); background:var(--th-surface); box-shadow:none;
  font-family:var(--th-font); font-size:17px; color:var(--th-fg)}
.th .th-search input[type="search"]:focus{outline:none; border-color:var(--th-accent); box-shadow:0 0 0 3px rgba(26,97,96,.18)}
.th button.th-search-submit{min-height:54px; padding:0 26px; margin:0; border:0; border-radius:999px; background:var(--th-accent); color:#fff; font-family:var(--th-font); font-size:16px; font-weight:600; cursor:pointer}
.th button.th-search-submit:hover,.th button.th-search-submit:focus{background:var(--th-hover); color:#fff}
.th .th-popular{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; font-size:14px; color:var(--th-muted)}
.th .th-popular a{padding:5px 12px; border-radius:999px; background:var(--th-soft); color:var(--th-accent); font-weight:600; line-height:1.4; text-decoration:none}
.th .th-popular a:hover{background:var(--th-accent); color:#fff}

/* mobile menu */
.th .th-mobile{display:none}
@media (max-width:1023.98px){
  .th-shell,.tf{--th-h:68px}
  .th{-webkit-backdrop-filter:none; backdrop-filter:none; background:var(--th-surface)} /* a blur would trap the fixed menu panel inside the header */
  .th .th-nav,.th .th-actions a.th-btn{display:none}
  .th .th-actions{margin-left:auto}
  .th button.th-burger{display:grid}
  .th .th-mobile{position:fixed; left:0; right:0; bottom:0; top:var(--th-h); z-index:89; overflow-y:auto; overscroll-behavior:contain; background:var(--th-surface); border-top:1px solid var(--th-line); padding:12px 0 32px}
  .th .th-mobile.is-open{display:block}
  .th .th-mobile .th-wrap{display:grid; gap:4px}
  .th a.th-m-link{display:flex; align-items:center; justify-content:space-between; min-height:54px; padding:0 4px; border-bottom:1px solid var(--th-line); font-size:18px; font-weight:600; color:var(--th-fg); text-decoration:none}
  .th a.th-m-link[aria-current="page"]{color:var(--th-accent)}
  .th .th-m-group{border-bottom:1px solid var(--th-line); padding-bottom:12px}
  .th .th-m-group a.th-m-link{border-bottom:0}
  .th .th-m-topics{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
  .th .th-m-topics a{display:flex; justify-content:space-between; gap:8px; padding:10px 12px; border-radius:12px; background:var(--th-bg); color:var(--th-fg); font-size:15px; font-weight:600; text-decoration:none}
  .th .th-m-topics a span{color:var(--th-muted); font-weight:400}
  .th .th-m-cta{margin-top:16px; display:grid; gap:10px}
  .th .th-m-cta a.th-btn{justify-content:center; min-height:52px; font-size:16px}
  .th .th-m-mail{text-align:center; font-size:14.5px; color:var(--th-muted)}
  .th .th-m-mail a{color:var(--th-accent); font-weight:600}
  body.th-lock{overflow:hidden}
}
@media (max-width:479.98px){
  .th .th-logo-word{font-size:18px}
  .th .th-logo-mark{width:36px; height:36px}
  .th .th-search form{flex-direction:column}
  .th .th-m-topics{grid-template-columns:minmax(0,1fr)}
}

/* ================= FOOTER ================= */
.tf{--tf-band:#1A6160; --tf-band-2:#123F3E; --tf-fg:#FFFFFF; --tf-muted:#C9E2E0; --tf-line:rgba(255,255,255,.14); --tf-accent:#7FE8E2;
  font-family:var(--th-font); font-size:16px; line-height:1.625; color:var(--tf-muted); -webkit-font-smoothing:antialiased;
  background-color:var(--tf-band-2);
  background-image:radial-gradient(700px 400px at 100% 0%, rgba(127,232,226,.10), transparent 70%),linear-gradient(180deg,var(--tf-band) 0%,var(--tf-band-2) 70%)}
.tf :focus-visible{outline:3px solid var(--tf-accent); outline-offset:2px; border-radius:6px}
.tf .tf-wrap{width:100%; max-width:var(--th-wrap); margin-inline:auto; padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px))}
.tf .tf-top{display:grid; grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr)); gap:40px 32px; padding-top:clamp(48px,6vw,72px); padding-bottom:40px}
.tf .tf-brand{display:grid; gap:18px; align-content:start; justify-items:start; max-width:340px}
.tf a.tf-logo{display:inline-flex; align-items:center; gap:10px; color:var(--tf-fg); text-decoration:none}
.tf .tf-logo img{display:block; height:auto; width:180px; max-width:100%}
.tf .tf-logo-mark{display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--tf-fg); color:var(--tf-band)}
.tf .tf-logo-word{font-size:20px; line-height:1; font-weight:800; letter-spacing:-.02em; color:var(--tf-fg)}
.tf .tf-logo-word span{color:var(--tf-accent)}
.tf .tf-about{font-size:15.5px; line-height:1.65; color:var(--tf-muted)}
.tf a.tf-mail{display:inline-flex; align-items:center; gap:10px; color:var(--tf-fg); font-weight:600; text-decoration:none; overflow-wrap:anywhere}
.tf a.tf-mail:hover{color:var(--tf-accent)}
.tf .tf-mail span{display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,.1); color:var(--tf-accent); flex:none}
.tf .tf-social{display:flex; flex-wrap:wrap; gap:8px}
.tf .tf-social a{display:grid; place-items:center; width:40px; height:40px; border-radius:50%; border:1px solid var(--tf-line); color:var(--tf-fg); transition:background-color .15s,border-color .15s,color .15s}
.tf .tf-social a:hover,.tf .tf-social a:focus{background:var(--tf-accent); border-color:var(--tf-accent); color:#0F2E2D}
.tf .tf-col .tf-col-title{margin:0 0 16px; font-family:var(--th-font); font-size:13px; line-height:18px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--tf-fg)}
.tf .tf-col ul{display:grid; gap:10px}
.tf .tf-col a{display:inline-flex; align-items:center; gap:8px; color:var(--tf-muted); text-decoration:none; font-size:15.5px; line-height:1.4; transition:color .15s}
.tf .tf-col a:hover,.tf .tf-col a:focus{color:var(--tf-fg); text-decoration:underline; text-underline-offset:3px}
.tf .tf-count{font-size:12.5px; line-height:1.5; padding:1px 8px; border-radius:999px; background:rgba(255,255,255,.1); color:var(--tf-muted); font-variant-numeric:tabular-nums}
.tf .tf-col a.tf-cta{display:inline; margin-top:6px; color:var(--tf-accent); font-weight:600}
.tf .tf-col a.tf-cta:hover{color:var(--tf-fg)}
.tf .tf-nowrap{white-space:nowrap}
.tf .tf-cta svg{display:inline-block; vertical-align:-2px; margin-left:2px; transition:transform .15s}
.tf a.tf-cta:hover svg{transform:translateX(3px)}
.tf .tf-note{display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:start; padding:18px 20px; border-radius:16px; background:rgba(255,255,255,.06); border:1px solid var(--tf-line); font-size:14.5px; line-height:1.6}
.tf .tf-note-ic{display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:rgba(127,232,226,.14); color:var(--tf-accent)}
.tf .tf-note strong{color:var(--tf-fg)}
.tf .tf-note a{color:var(--tf-fg); font-weight:600; text-decoration:underline}
.tf .tf-bottom{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; margin-top:28px; padding-top:22px; padding-bottom:max(22px,env(safe-area-inset-bottom,0px)); border-top:1px solid var(--tf-line); font-size:14px}
.tf .tf-legal{display:flex; flex-wrap:wrap; gap:6px 20px}
.tf .tf-legal a{color:var(--tf-muted); text-decoration:none}
.tf .tf-legal a:hover{color:var(--tf-fg); text-decoration:underline; text-underline-offset:3px}
.tf a.tf-top-link{display:inline-flex; align-items:center; gap:8px; color:var(--tf-fg); font-weight:600; text-decoration:none}
.tf .tf-top-link span{display:grid; place-items:center; width:34px; height:34px; border-radius:50%; border:1px solid var(--tf-line); transition:background-color .15s,color .15s,border-color .15s}
.tf a.tf-top-link:hover span{background:var(--tf-accent); border-color:var(--tf-accent); color:#0F2E2D}

@media (max-width:1099.98px){
  .tf .tf-top{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tf .tf-brand{grid-column:1 / -1; max-width:none}
}
@media (max-width:767.98px){
  .tf .tf-top{grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 20px}
  .tf .tf-bottom{flex-direction:column; align-items:flex-start}
}
@media (max-width:379.98px){
  .tf .tf-top{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion: reduce){
  .th *,.tf *{transition:none!important}
}
