/* =====================================================================
   Today TeleHealth · homepage widgets (Home Hero, Service Cards, Topic Chips,
   Posts List + Panel, CTA Band). Tokens and cards come from tth-blog.css.
   ===================================================================== */
.sh-page{--navy-2:#283860; --shadow-card:0 18px 40px -28px rgba(18,52,51,.35); --space-section:clamp(56px,7vw,88px)}

/* buttons */
.sh-page a.hm-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:50px; padding:0 24px; border-radius:999px; border:2px solid transparent;
  font-family:var(--font-display); font-weight:600; font-size:16px; line-height:20px; text-decoration:none; transition:background-color .15s,border-color .15s,color .15s}
.sh-page a.hm-btn--light{background:var(--surface); color:var(--teal)}
.sh-page a.hm-btn--light:hover{background:var(--teal-soft); color:var(--teal)}
.sh-page a.hm-btn--ghost{border-color:rgba(255,255,255,.55); color:var(--band-fg)}
.sh-page a.hm-btn--ghost:hover{border-color:var(--band-fg); background:rgba(255,255,255,.08); color:var(--band-fg)}
.hm-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:4px}

/* ================= 1. HERO ================= */
.sh-page .hm-hero{position:relative; overflow:hidden; background-color:var(--band); color:var(--band-fg);
  background-image:radial-gradient(700px 520px at 85% 40%, var(--band-glow), transparent 70%),radial-gradient(500px 380px at 0% 100%, rgba(50,68,113,.35), transparent 70%)}
.hm-hero .sh-wrap{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(32px,5vw,72px); align-items:center; padding-block:clamp(48px,6vw,84px)}
.hm-hero-copy{display:grid; gap:20px; justify-items:start}
.sh-page .hm-hero .hm-eyebrow{color:var(--teal-on-band)}
.sh-page .hm-hero .hm-hero-title{margin:0; font-family:var(--font-display); font-size:clamp(34px,2.8vw + 1rem,54px); line-height:1.1; font-weight:800; letter-spacing:-.025em; text-wrap:balance; color:var(--band-fg)}
.hm-hero .hm-hero-title em{font-style:normal; color:var(--teal-on-band)}
.sh-page .hm-lede{font-size:clamp(17px,.4vw + 1rem,19px); line-height:1.6; color:var(--band-muted); max-width:56ch}
.hm-notes{display:grid; gap:16px}
.sh-page .hm-note{position:relative; display:grid; grid-template-columns:52px minmax(0,1fr); gap:16px; align-items:start; padding:22px 24px; border-radius:var(--radius-l);
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:var(--band-fg); text-decoration:none;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:background-color .15s,border-color .15s,transform .15s}
.sh-page a.hm-note:hover{background:rgba(255,255,255,.13); border-color:var(--teal-on-band); transform:translateY(-2px); color:var(--band-fg)}
.hm-note-ic{display:grid; place-items:center; width:52px; height:52px; border-radius:14px; background:var(--surface); color:var(--teal)}
.hm-note:nth-child(2) .hm-note-ic{background:var(--teal-on-band); color:#0F2E2D}
.hm-note-who{display:block; font-size:12px; line-height:16px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-on-band)}
.sh-page .hm-note .hm-note-title{margin:4px 0 0; font-family:var(--font-display); font-size:20px; line-height:1.3; font-weight:700; color:var(--band-fg)}
.sh-page .hm-note p{margin-top:6px; font-size:15px; line-height:1.55; color:var(--band-muted)}
.hm-note-go{display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:15px; font-weight:600; color:var(--band-fg)}
.hm-note-go svg{transition:transform .15s}
.hm-note:hover .hm-note-go svg{transform:translateX(3px)}
.hm-hero :focus-visible{outline-color:var(--teal-on-band)}

/* ================= 2. SERVICES ================= */
.sh-page .hm-services{padding-block:var(--space-section); background:var(--surface); scroll-margin-top:calc(var(--tth-top) + 16px)}
.sh-page .hm-svc-grid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px}
.hm-svc{position:relative; display:flex; flex-direction:column; gap:12px; margin:0; padding:26px 24px 24px; border-radius:var(--radius-l); background:var(--surface);
  border:1px solid var(--line); transition:border-color .15s,box-shadow .15s,transform .15s}
.hm-svc:hover{border-color:var(--teal); box-shadow:var(--shadow-card); transform:translateY(-3px)}
.hm-svc:focus-within{outline:3px solid var(--teal); outline-offset:2px}
.hm-svc-ic{display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:var(--teal-soft); color:var(--teal)}
.sh-page .hm-svc-q{font-size:14px; line-height:20px; font-weight:600; color:var(--teal)}
.sh-page .hm-svc .hm-svc-title{margin:0; font-family:var(--font-display); font-size:21px; line-height:1.3; font-weight:700; letter-spacing:-.01em; color:var(--fg)}
.sh-page .hm-svc-title a{color:inherit; text-decoration:none}
.hm-svc-title a::after{content:""; position:absolute; inset:0; z-index:1}
.sh-page .hm-svc-title a:focus-visible{outline:none}
.sh-page .hm-svc-text{font-size:15.5px; line-height:1.6; color:var(--muted)}
.sh-page .hm-svc ul{list-style:none; margin:2px 0 0; padding:0; display:grid; gap:8px}
.sh-page .hm-svc li{position:relative; margin:0; padding-left:24px; font-size:15px; line-height:1.45; color:var(--fg)}
.hm-svc li::before{content:""; position:absolute; left:0; top:.2em; width:15px; height:15px; border-radius:50%;
  background:var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A6160' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.hm-svc-go{margin-top:auto; padding-top:14px; border-top:1px solid var(--line); display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--teal)}
.hm-svc-go svg{transition:transform .15s}
.hm-svc:hover .hm-svc-go svg{transform:translateX(3px)}
.hm-svc.is-cta{background:var(--navy); border-color:var(--navy); color:#fff}
.hm-svc.is-cta:hover{border-color:var(--teal-on-band)}
.hm-svc.is-cta .hm-svc-ic{background:rgba(255,255,255,.12); color:var(--teal-on-band)}
.sh-page .hm-svc.is-cta .hm-svc-q{color:var(--teal-on-band)}
.sh-page .hm-svc.is-cta .hm-svc-title,.sh-page .hm-svc.is-cta li{color:#fff}
.sh-page .hm-svc.is-cta .hm-svc-text{color:#D6DDEE}
.hm-svc.is-cta .hm-svc-go{border-top-color:rgba(255,255,255,.2); color:#fff}
.hm-svc.is-cta:focus-within{outline-color:var(--teal-on-band)}

/* ================= 3. LATEST ARTICLES on the homepage (TTH Posts Grid with class hm-latest) ================= */
.hm-latest .bl-posts{padding-bottom:0}

/* ================= 4. TOPICS ================= */
.sh-page .hm-topics{background:var(--bg); padding-block:clamp(44px,5vw,64px) var(--space-section)}
.hm-topics-box{display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2.2fr); gap:24px 40px; align-items:center; padding:clamp(24px,3vw,36px); border-radius:24px; background:var(--surface); border:1px solid var(--line)}
.sh-page .hm-topics .hm-topics-title{margin:0; font-family:var(--font-display); font-size:clamp(22px,.8vw + 1rem,26px); line-height:1.25; font-weight:700; color:var(--fg)}
.sh-page .hm-topics-copy p{margin-top:8px; font-size:15.5px; color:var(--muted)}
.sh-page .hm-chips{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.hm-chips li{margin:0}
.sh-page a.hm-chip{display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px 14px; border-radius:14px; border:1px solid var(--line);
  color:var(--fg); text-decoration:none; transition:border-color .15s,background-color .15s}
.sh-page a.hm-chip:hover{border-color:var(--teal); background:var(--teal-soft); color:var(--fg)}
.hm-chip-ic{display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--teal-soft); color:var(--teal)}
.hm-chip:hover .hm-chip-ic{background:var(--surface)}
.hm-chip-name{font-weight:600; font-size:15.5px; line-height:1.3}
.hm-chip-count{font-size:13.5px; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap}

/* ================= 5. POSTS LIST + PANEL ================= */
.sh-page .hm-split{padding-block:var(--space-section); background:var(--surface)}
.hm-split .sh-wrap{display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:clamp(32px,4.5vw,64px); align-items:start}
.hm-split.no-panel .sh-wrap{grid-template-columns:minmax(0,1fr)}
.sh-page .hm-split .hm-head{margin-bottom:20px}
.sh-page .hm-list{list-style:none; margin:0; padding:0; display:grid}
.hm-row{position:relative; display:grid; grid-template-columns:132px minmax(0,1fr); gap:18px; align-items:center; margin:0; padding:16px 0; border-top:1px solid var(--line)}
.hm-row:last-child{border-bottom:1px solid var(--line)}
.hm-row-img{position:relative; aspect-ratio:4/3; border-radius:14px; overflow:hidden; background:var(--navy)}
.sh-page .hm-row-img img{width:100%; height:100%; object-fit:cover; max-width:none}
.hm-row-ph{position:absolute; inset:0; display:grid; place-items:center; color:var(--teal-on-band)}
.hm-row-body{display:grid; gap:6px; min-width:0}
.sh-page .hm-row-cat{font-size:12px; line-height:16px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--teal)}
.sh-page .hm-row .hm-row-title{margin:0; font-family:var(--font-display); font-size:18px; line-height:1.35; font-weight:600; color:var(--fg); text-wrap:balance}
.sh-page .hm-row-title a{color:inherit; text-decoration:none}
.hm-row-title a::after{content:""; position:absolute; inset:0}
.sh-page .hm-row:hover .hm-row-title a{color:var(--teal)}
.hm-row:focus-within{outline:3px solid var(--teal); outline-offset:2px; border-radius:6px}
.sh-page .hm-row-title a:focus-visible{outline:none}
.sh-page .hm-row-meta{font-size:13.5px; color:var(--muted)}

.hm-trust{position:sticky; top:calc(var(--tth-top) + 24px); display:grid; gap:18px; padding:clamp(24px,3vw,32px); border-radius:24px; background:var(--teal-soft); border:1px solid color-mix(in srgb, var(--teal) 22%, transparent)}
.sh-page .hm-trust .hm-trust-title{margin:0; font-family:var(--font-display); font-size:22px; line-height:1.3; font-weight:700; color:var(--fg)}
.sh-page .hm-trust > p{font-size:15.5px; line-height:1.6; color:var(--muted)}
.sh-page .hm-trust ul{list-style:none; margin:0; padding:0; display:grid; gap:16px}
.hm-trust li{display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:start; margin:0}
.hm-trust-ic{display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--surface); color:var(--teal)}
.hm-trust b{display:block; font-size:16px; line-height:1.35; color:var(--fg)}
.hm-trust li > span > span{display:block; margin-top:2px; font-size:14.5px; line-height:1.5; color:var(--muted)}
.sh-page .hm-disclaimer{padding-top:16px; border-top:1px solid color-mix(in srgb, var(--teal) 20%, transparent); font-size:13.5px; line-height:1.55; color:var(--muted)}

/* ================= 6. CTA BAND ================= */
.sh-page .hm-cta{background:var(--surface); padding-bottom:var(--space-section)}
.hm-cta-box{position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1.4fr) auto; gap:24px 40px; align-items:center;
  padding:clamp(28px,4vw,52px); border-radius:28px; background-color:var(--navy); color:#fff;
  background-image:radial-gradient(520px 360px at 100% 0%, rgba(127,232,226,.22), transparent 70%)}
.sh-page .hm-cta .hm-eyebrow{color:var(--teal-on-band)}
.sh-page .hm-cta .hm-cta-title{margin:10px 0 0; font-family:var(--font-display); font-size:clamp(26px,1.5vw + 1rem,36px); line-height:1.2; font-weight:700; letter-spacing:-.02em; color:#fff; text-wrap:balance}
.sh-page .hm-cta-box p:not(.hm-eyebrow){margin-top:10px; font-size:17px; line-height:1.6; color:#D6DDEE; max-width:60ch}
.hm-cta .hm-actions{justify-content:flex-end}
.sh-page .hm-cta a.hm-btn--light{color:var(--navy)}
.hm-cta :focus-visible{outline-color:var(--teal-on-band)}

/* ================= RESPONSIVE ================= */
@media (max-width:1099.98px){
  .sh-page .hm-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:979.98px){
  .hm-hero .sh-wrap{grid-template-columns:minmax(0,1fr)}
  .hm-topics-box{grid-template-columns:minmax(0,1fr)}
  .sh-page .hm-chips{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-split .sh-wrap{grid-template-columns:minmax(0,1fr)}
  .hm-trust{position:static}
  .hm-cta-box{grid-template-columns:minmax(0,1fr)}
  .hm-cta .hm-actions{justify-content:flex-start}
}
@media (max-width:639.98px){
  .sh-page .hm-svc-grid,.sh-page .hm-chips{grid-template-columns:minmax(0,1fr)}
  .hm-latest .bl-grid .bl-post:nth-child(n+4){display:none} /* phones: featured + 2 cards keep the page short */
  .hm-row{grid-template-columns:96px minmax(0,1fr); gap:14px}
  .hm-actions a.hm-btn{flex:1 1 100%}
  .sh-page .hm-note{grid-template-columns:44px minmax(0,1fr); padding:18px}
  .hm-note-ic{width:44px; height:44px}
}
@media (prefers-reduced-motion: reduce){
  .hm-note,.hm-svc,.hm-chip,.hm-btn,.hm-svc-go svg,.hm-note-go svg{transition:none}
  .hm-note:hover,.hm-svc:hover{transform:none}
}
