/*
Theme Name: TrueMed Modern Block Theme
Theme URI: https://truemedinc.com
Author: Alexander Wills
Description: Gutenberg-friendly TrueMed marketing theme with enterprise SaaS navigation, responsive mega menu, theme settings, and block editor patterns.
Version: 2.0.23
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: truemed
*/

:root{
  --tm-primary:#002E4B;
  --tm-primary-dark:#001D30;
  --tm-primary-soft:#083B5C;
  --tm-secondary:#8AC939;
  --tm-text:#343434;
  --tm-muted:#6D7C88;
  --tm-light:#F5F8FA;
  --tm-white:#FFFFFF;
  --tm-border:rgba(255,255,255,.14);
  --tm-glass:rgba(255,255,255,.07);
  --tm-shadow:0 24px 70px rgba(0,0,0,.22);
  --tm-radius:22px;
  --tm-max:1156px;
}

*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tm-text);background:#fff;line-height:1.55} a{color:inherit;text-decoration:none} img{max-width:100%;height:auto} .tm-container{width:min(var(--tm-max),calc(100% - 64px));margin-inline:auto}.screen-reader-text{position:absolute;left:-9999px}

.tm-site-header{position:sticky;top:0;z-index:99;background:rgba(0,29,48,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.tm-header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:28px}.tm-logo{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;font-size:30px;letter-spacing:-.04em}.tm-logo-mark{width:26px;height:26px;border:6px solid var(--tm-secondary);transform:rotate(45deg);border-radius:2px;display:inline-block}.tm-logo-reg{font-size:12px;vertical-align:super;margin-left:2px}.tm-nav{display:flex;align-items:center;gap:4px;flex:1;justify-content:center}.tm-nav-link,.tm-mega-trigger{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.68);font-weight:750;font-size:14px;padding:26px 13px;cursor:pointer}.tm-nav-link:hover,.tm-mega-trigger:hover{color:#fff}.tm-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px;border-radius:6px;font-weight:850;font-size:14px;border:1px solid transparent;transition:.2s ease}.tm-btn-primary{background:var(--tm-secondary);color:#061523}.tm-btn-primary:hover{filter:brightness(1.05);transform:translateY(-1px)}.tm-btn-secondary{border-color:rgba(255,255,255,.18);color:#fff;background:rgba(255,255,255,.03)}.tm-menu-toggle{display:none;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff;border-radius:10px;padding:10px 12px;font-weight:800}

.tm-mega-wrap{position:absolute;left:0;right:0;top:72px;pointer-events:none;opacity:0;transform:translateY(10px);transition:.18s ease}.tm-mega-wrap.is-open{pointer-events:auto;opacity:1;transform:translateY(0)}.tm-mega{width:min(1120px,calc(100% - 40px));margin:14px auto 0;padding:18px;border-radius:24px;background:linear-gradient(135deg,rgba(0,46,75,.88),rgba(0,29,48,.78));backdrop-filter:blur(20px);border:1px solid rgba(138,201,57,.18);box-shadow:var(--tm-shadow);display:grid;grid-template-columns:1fr 1fr 1fr 1.25fr;gap:14px}.tm-mega-col{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:16px}.tm-mega-title{color:var(--tm-secondary);font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;margin:0 0 12px}.tm-mega-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.tm-mega-list a{display:block;color:rgba(255,255,255,.88);padding:11px 12px;border-radius:12px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);font-weight:760}.tm-mega-list a:hover{background:rgba(138,201,57,.14);border-color:rgba(138,201,57,.35);color:#fff}.tm-mega-feature{min-height:100%;border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(135deg,rgba(138,201,57,.16),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.12);padding:20px;display:flex;flex-direction:column;justify-content:flex-end}.tm-mega-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.26}.tm-mega-feature-content{position:relative;z-index:1}.tm-mega-feature h3{color:#fff;margin:0 0 8px;font-size:24px;line-height:1.1}.tm-mega-feature p{color:rgba(255,255,255,.74);margin:0 0 16px;font-size:14px}.tm-mobile-panel{display:none}

.tm-hero{background:radial-gradient(circle at 80% 25%,rgba(138,201,57,.08),transparent 30%),linear-gradient(180deg,var(--tm-primary-dark),#082136);color:#fff;padding:120px 0 92px}.tm-kicker{color:var(--tm-secondary);text-transform:uppercase;letter-spacing:.22em;font-size:14px;font-weight:950}.tm-hero h1{font-size:clamp(44px,6vw,74px);line-height:.96;letter-spacing:-.065em;max-width:850px;margin:22px 0}.tm-hero p{font-size:20px;max-width:700px;color:rgba(255,255,255,.88)}.tm-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}.tm-stats{margin-top:80px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.08);border-radius:8px;overflow:hidden;background:rgba(255,255,255,.04)}.tm-stat{padding:28px;border-right:1px solid rgba(255,255,255,.08)}.tm-stat:last-child{border-right:0}.tm-stat strong{display:block;color:var(--tm-secondary);font-size:34px;line-height:1;font-weight:950}.tm-stat span{display:block;margin-top:10px;color:rgba(255,255,255,.55);font-size:13px;font-weight:700}.tm-section{padding:96px 0}.tm-section-light{background:var(--tm-light)}.tm-section-dark{background:var(--tm-primary-dark);color:#fff}.tm-section h2{font-size:clamp(34px,4vw,54px);line-height:1.02;letter-spacing:-.045em;margin:12px 0 16px}.tm-section p.lede{font-size:19px;color:var(--tm-muted);max-width:720px}.tm-section-dark p.lede{color:rgba(255,255,255,.72)}.tm-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px}.tm-card{padding:28px;border-radius:22px;background:#fff;border:1px solid rgba(0,46,75,.08);box-shadow:0 12px 40px rgba(0,46,75,.06)}.tm-card h3{font-size:22px;letter-spacing:-.02em;margin:0 0 10px;color:var(--tm-primary)}.tm-card p{margin:0;color:var(--tm-muted)}.tm-glass-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.11);box-shadow:none}.tm-glass-card h3{color:#fff}.tm-glass-card p{color:rgba(255,255,255,.66)}.tm-main{min-height:60vh}.tm-page-content{padding:80px 0}.tm-page-content > *{max-width:var(--tm-max);margin-left:auto;margin-right:auto}.tm-footer{background:#071827;color:rgba(255,255,255,.64);padding:42px 0}.tm-footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.tm-footer a{color:#fff}.wp-block-button__link{border-radius:8px;font-weight:850}.wp-block-button:not(.is-style-outline) .wp-block-button__link{background:var(--tm-secondary);color:#061523}.is-style-outline .wp-block-button__link{border-color:var(--tm-secondary);color:var(--tm-secondary)}

@media (max-width: 960px){.tm-header-inner{height:66px}.tm-nav,.tm-header-cta{display:none}.tm-menu-toggle{display:block}.tm-mega-wrap{display:none}.tm-mobile-panel{display:block;position:fixed;inset:66px 0 auto 0;background:rgba(0,29,48,.98);border-bottom:1px solid rgba(255,255,255,.1);padding:20px;transform:translateY(-120%);transition:.22s ease;z-index:98}.tm-mobile-panel.is-open{transform:translateY(0)}.tm-mobile-panel a,.tm-mobile-panel button{display:block;width:100%;text-align:left;color:#fff;padding:14px;border-radius:12px;background:rgba(255,255,255,.06);margin-bottom:8px;border:1px solid rgba(255,255,255,.08);font-weight:800}.tm-mobile-sub{padding:8px 0 8px 14px}.tm-hero{padding:82px 0 60px}.tm-stats,.tm-grid-3{grid-template-columns:1fr}.tm-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.tm-footer-inner{display:block}.tm-logo{font-size:26px}}

/* Hero slider */
.tm-hero{position:relative;overflow:hidden;padding:0;background:linear-gradient(180deg,var(--tm-primary-dark),#082136)}
.tm-hero-track{position:relative;min-height:680px}
.tm-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease, visibility .6s ease;background:radial-gradient(circle at 80% 25%,rgba(138,201,57,.12),transparent 30%),linear-gradient(180deg,var(--tm-primary-dark),#082136)}
.tm-hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.tm-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.22;filter:saturate(.85)}
.tm-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,29,48,.96),rgba(0,46,75,.76) 48%,rgba(0,29,48,.42))}
.tm-hero-inner{position:relative;z-index:2;padding:120px 0 120px}
.tm-hero-controls{position:absolute;left:50%;bottom:34px;z-index:4;transform:translateX(-50%);display:flex;align-items:center;gap:14px;pointer-events:none}
.tm-hero-prev,.tm-hero-next,.tm-hero-dots button{pointer-events:auto;cursor:pointer}
.tm-hero-prev,.tm-hero-next{width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);backdrop-filter:blur(12px);color:#fff;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.tm-hero-prev:hover,.tm-hero-next:hover{background:rgba(138,201,57,.18);border-color:rgba(138,201,57,.35)}
.tm-hero-dots{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(12px);border-radius:999px;padding:12px 14px}
.tm-hero-dots button{width:9px;height:9px;border:0;border-radius:999px;background:rgba(255,255,255,.38);padding:0}
.tm-hero-dots button.is-active{background:var(--tm-secondary);width:28px}
.tm-stats-section{background:var(--tm-primary-dark);padding:0 0 42px}.tm-stats-section .tm-stats{margin-top:0}

@media (max-width: 960px){.tm-hero-track{min-height:620px}.tm-hero-inner{padding:82px 0 96px}.tm-hero-controls{bottom:24px}.tm-hero-bg:after{background:rgba(0,29,48,.78)}}

/* v1.2 Hero stats per slide */
.tm-hero-track{min-height:760px}
.tm-hero-inner{padding:110px 0 280px}
.tm-hero-stats-wrap{position:absolute;left:50%;bottom:104px;z-index:3;transform:translateX(-50%);width:min(var(--tm-max),calc(100% - 64px));}
.tm-hero-stats-wrap .tm-stats{margin-top:0;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.16)}
.tm-hero-controls{bottom:30px}
.tm-stats-section{display:none}

/* Brand modules for Gutenberg patterns */
.tm-module-band{padding:96px 0;background:var(--tm-light)}
.tm-module-band.is-dark{background:var(--tm-primary-dark);color:#fff}
.tm-module-eyebrow{color:var(--tm-secondary);text-transform:uppercase;letter-spacing:.22em;font-size:13px;font-weight:950;margin-bottom:14px}
.tm-module-title{font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.05em;margin:0 0 18px;color:inherit}
.tm-module-copy{font-size:19px;line-height:1.55;color:var(--tm-muted);max-width:760px}.is-dark .tm-module-copy{color:rgba(255,255,255,.72)}
.tm-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px}.tm-feature-card{padding:28px;border-radius:22px;background:#fff;border:1px solid rgba(0,46,75,.08);box-shadow:0 12px 40px rgba(0,46,75,.06)}.tm-feature-card h3{margin:0 0 10px;color:var(--tm-primary);font-size:22px}.tm-feature-card p{margin:0;color:var(--tm-muted)}
.is-dark .tm-feature-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.11);box-shadow:none}.is-dark .tm-feature-card h3{color:#fff}.is-dark .tm-feature-card p{color:rgba(255,255,255,.66)}
.tm-cta-panel{border-radius:30px;padding:54px;background:linear-gradient(135deg,rgba(0,46,75,.96),rgba(0,29,48,.94));color:#fff;border:1px solid rgba(138,201,57,.22);box-shadow:var(--tm-shadow)}
.tm-cta-panel h2{font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.05em;margin:0 0 16px}.tm-cta-panel p{color:rgba(255,255,255,.72);font-size:19px;max-width:720px}

@media (max-width: 960px){
  .tm-hero-track{min-height:860px}
  .tm-hero-inner{padding:82px 0 360px}
  .tm-hero-stats-wrap{bottom:96px}
  .tm-hero-stats-wrap .tm-stats{grid-template-columns:repeat(2,1fr)}
  .tm-feature-grid{grid-template-columns:1fr}.tm-cta-panel{padding:34px}
}
@media (max-width: 640px){
  .tm-hero-track{min-height:980px}
  .tm-hero-inner{padding-bottom:480px}
  .tm-hero-stats-wrap .tm-stats{grid-template-columns:1fr}
  .tm-hero-stats-wrap{bottom:92px}
}

/* v1.3 production polish: tighter radius, cleaner enterprise menu, reliable slide stats */
:root{
  --tm-radius-sm:8px;
  --tm-radius-md:12px;
  --tm-radius-lg:16px;
  --tm-shadow:0 22px 70px rgba(0,29,48,.24);
}
.tm-btn,.tm-menu-toggle,.tm-mobile-panel a,.tm-mobile-panel button,.wp-block-button__link{border-radius:var(--tm-radius-sm)}
.tm-card,.tm-feature-card,.tm-glass-card,.tm-stats,.tm-cta-panel{border-radius:var(--tm-radius-md)}
.tm-cta-panel{border-radius:var(--tm-radius-lg)}

.tm-mega-wrap{top:70px;z-index:1200}
.tm-mega{
  width:min(1120px,calc(100% - 40px));
  margin:12px auto 0;
  padding:14px;
  border-radius:var(--tm-radius-md);
  background:#0b263d;
  background:linear-gradient(180deg,#0e2a43,#092136);
  backdrop-filter:none;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 26px 70px rgba(0,0,0,.34);
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:14px;
}
.tm-mega.no-feature{grid-template-columns:1fr}.tm-mega-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tm-mega-menu-cols-1 .tm-mega-columns{grid-template-columns:1fr}.tm-mega-menu-cols-2 .tm-mega-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-mega-menu-cols-3 .tm-mega-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-mega-col{background:transparent;border:0;border-radius:var(--tm-radius-sm);padding:10px}.tm-mega-title{font-size:11px;margin-bottom:10px}.tm-mega-list{gap:4px}.tm-mega-list a{background:transparent;border:0;border-radius:var(--tm-radius-sm);padding:10px 10px;color:rgba(255,255,255,.78);font-weight:780}.tm-mega-list a:hover,.tm-mega-list a:focus{background:rgba(138,201,57,.12);color:#fff;outline:none}.tm-mega-feature{border-radius:var(--tm-radius-md);padding:20px;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(138,201,57,.08));border:1px solid rgba(255,255,255,.10);min-height:230px}.tm-mega-feature img{opacity:.20}.tm-mega-feature h3{font-size:23px;letter-spacing:-.03em}.tm-mega-feature p{font-size:14px;line-height:1.45}

.tm-hero-track{min-height:780px}.tm-hero-slide{position:absolute}.tm-hero-slide.is-active{z-index:3}.tm-hero-inner{padding:108px 0 298px}.tm-hero-stats-wrap{bottom:112px;z-index:6}.tm-hero-stats-wrap .tm-stats{display:grid;background:rgba(12,42,66,.92);border-color:rgba(255,255,255,.10);box-shadow:0 18px 44px rgba(0,0,0,.20)}.tm-hero-controls{bottom:34px;z-index:7}.tm-hero-prev,.tm-hero-next,.tm-hero-dots{backdrop-filter:none;border-radius:var(--tm-radius-sm)}.tm-hero-prev,.tm-hero-next{border-radius:999px}.tm-hero-dots{border-radius:999px}.tm-stat{padding:24px}.tm-stat strong{font-size:32px}.tm-stat span{color:rgba(255,255,255,.62)}

@media (max-width:1100px){.tm-mega{grid-template-columns:1fr}.tm-mega-feature{min-height:180px}.tm-mega-feature img{display:none}.tm-mega-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-mega-menu-cols-3 .tm-mega-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:960px){.tm-mobile-panel{background:#092136}.tm-mobile-panel a,.tm-mobile-panel button{border-radius:var(--tm-radius-sm)}.tm-hero-track{min-height:900px}.tm-hero-inner{padding:82px 0 390px}.tm-hero-stats-wrap{bottom:104px}.tm-hero-stats-wrap .tm-stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tm-hero-track{min-height:1060px}.tm-hero-inner{padding-bottom:520px}.tm-hero-stats-wrap{bottom:98px}.tm-hero-stats-wrap .tm-stats{grid-template-columns:1fr}.tm-stat{padding:20px}}


/* Mobile menu clipping fix: hide the panel completely when closed, then open it below the sticky header. */
@media (max-width: 960px){
  .tm-site-header{
    position:sticky;
    top:0;
    z-index:5000;
    overflow:visible;
  }
  .tm-mobile-panel{
    display:none !important;
    position:fixed !important;
    top:66px !important;
    left:0 !important;
    right:0 !important;
    bottom:auto !important;
    max-height:calc(100dvh - 66px) !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    padding:16px 14px 20px !important;
    background:rgba(9,33,54,.98) !important;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 24px 50px rgba(0,0,0,.35);
    transform:none !important;
    transition:none !important;
    z-index:4999 !important;
  }
  .tm-mobile-panel.is-open{
    display:block !important;
  }
  .tm-mobile-panel ul{
    list-style:none;
    margin:0;
    padding:0;
  }
  .tm-mobile-panel li{
    margin:0;
    padding:0;
  }
  .tm-mobile-panel .sub-menu{
    margin:6px 0 10px 10px;
    padding-left:10px;
    border-left:1px solid rgba(138,201,57,.24);
  }
  .tm-mobile-panel .sub-menu a{
    background:rgba(255,255,255,.035);
    color:rgba(255,255,255,.82);
  }
}

/* v1.3.2: Persistent premium header background + mobile CTA visibility */
.tm-site-header{
  background:linear-gradient(180deg,rgba(0,36,58,.97),rgba(0,29,48,.94));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 10px 34px rgba(0,0,0,.18);
}

@media (max-width:960px){
  .tm-header-inner{
    width:calc(100% - 28px);
    height:66px;
    gap:8px;
  }

  .tm-logo{
    flex:1 1 auto;
    min-width:0;
    font-size:22px;
    gap:8px;
  }

  .tm-logo-mark{
    width:22px;
    height:22px;
    border-width:5px;
    flex:0 0 auto;
  }

  .tm-logo-reg{
    font-size:9px;
  }

  .tm-nav{
    display:none !important;
  }

  .tm-header-cta{
    display:inline-flex !important;
    flex:0 0 auto;
    padding:9px 12px;
    min-height:40px;
    font-size:12px;
    line-height:1;
    border-radius:8px;
    white-space:nowrap;
  }

  .tm-menu-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
    width:40px;
    height:40px;
    padding:0;
    font-size:0;
    border-radius:8px;
  }

  .tm-menu-toggle::before{
    content:"☰";
    font-size:20px;
    line-height:1;
  }

  .tm-mobile-panel{
    top:66px !important;
    max-height:calc(100dvh - 66px) !important;
  }
}

@media (max-width:380px){
  .tm-header-inner{
    width:calc(100% - 20px);
    gap:6px;
  }
  .tm-logo{
    font-size:20px;
  }
  .tm-logo-mark{
    width:20px;
    height:20px;
    border-width:4px;
  }
  .tm-header-cta{
    padding:8px 10px;
    font-size:11px;
    min-height:38px;
  }
  .tm-menu-toggle{
    flex-basis:38px;
    width:38px;
    height:38px;
  }
}


/* v1.3.3: desktop hero height balance per slide stats state */
@media (min-width: 961px){
  .tm-hero{
    transition:min-height .25s ease;
  }

  .tm-hero.tm-active-has-stats .tm-hero-track{
    min-height:720px;
  }

  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:88px 0 260px;
  }

  .tm-hero.tm-active-has-stats .tm-hero h1,
  .tm-hero.tm-active-has-stats h1{
    font-size:clamp(48px,5.1vw,68px);
    max-width:900px;
  }

  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:96px;
  }

  .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:620px;
  }

  .tm-hero.tm-active-no-stats .tm-hero-inner{
    padding:92px 0 150px;
  }

  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(52px,5.4vw,72px);
  }
}

/* v1.3.4: genuinely compact desktop hero */
@media (min-width: 961px){
  .tm-hero.tm-active-has-stats .tm-hero-track{
    min-height:560px !important;
  }

  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:64px 0 205px !important;
  }

  .tm-hero.tm-active-has-stats h1{
    font-size:clamp(42px,4.4vw,58px) !important;
    line-height:.97 !important;
    max-width:760px !important;
    margin:16px 0 !important;
  }

  .tm-hero.tm-active-has-stats .tm-kicker{
    font-size:12px !important;
  }

  .tm-hero.tm-active-has-stats p{
    font-size:17px !important;
    max-width:650px !important;
  }

  .tm-hero.tm-active-has-stats .tm-actions{
    margin-top:24px !important;
  }

  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:76px !important;
  }

  .tm-hero.tm-active-has-stats .tm-stat{
    padding:20px 26px !important;
  }

  .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:29px !important;
  }

  .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12px !important;
    margin-top:8px !important;
  }

  .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:500px !important;
  }

  .tm-hero.tm-active-no-stats .tm-hero-inner{
    padding:76px 0 126px !important;
  }

  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(48px,5.2vw,68px) !important;
    max-width:840px !important;
  }

  .tm-hero-controls{
    bottom:24px !important;
  }
}

/* v1.3.5: stabilize carousel height and improve tablet balance */
@media (min-width: 961px){
  .tm-hero .tm-hero-track{
    min-height:560px !important;
  }

  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:54px 0 235px !important;
  }

  .tm-hero.tm-active-has-stats .tm-actions{
    margin-top:24px !important;
  }

  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:82px !important;
  }

  .tm-hero.tm-active-no-stats .tm-hero-inner{
    padding:82px 0 126px !important;
    min-height:560px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
  }

  .tm-hero-controls{
    bottom:24px !important;
  }
}

@media (min-width: 641px) and (max-width: 960px){
  .tm-hero-track{
    min-height:680px !important;
  }

  .tm-hero-inner{
    min-height:680px;
    padding:120px 0 132px !important;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
  }

  .tm-hero-slide.tm-slide-has-stats .tm-hero-inner{
    justify-content:flex-start;
    padding:72px 0 360px !important;
    min-height:auto;
  }

  .tm-hero-stats-wrap{
    bottom:96px !important;
  }

  .tm-hero-controls{
    bottom:24px !important;
  }
}

@media (max-width:640px){
  .tm-hero-inner{
    display:block;
  }
}

/* v1.3.6: lock carousel height and add real breathing room above stats */
@media (min-width: 961px){
  .tm-hero .tm-hero-track,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track{
    height:580px !important;
    min-height:580px !important;
  }

  .tm-hero .tm-hero-slide{
    height:580px !important;
    min-height:580px !important;
  }

  .tm-hero .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    min-height:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:58px 0 0 !important;
    justify-content:flex-start !important;
  }

  .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    height:500px !important;
    padding:0 !important;
    justify-content:center !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(42px,4.4vw,58px) !important;
    line-height:.97 !important;
    max-width:780px !important;
    margin:16px 0 !important;
  }

  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker{
    font-size:12px !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:17px !important;
    max-width:650px !important;
    margin-top:0 !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    margin-top:28px !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:86px !important;
  }

  .tm-hero .tm-stats,
  .tm-hero.tm-active-has-stats .tm-stats{
    min-height:104px !important;
  }

  .tm-hero .tm-stat,
  .tm-hero.tm-active-has-stats .tm-stat{
    padding:20px 26px !important;
  }

  .tm-hero .tm-stat strong,
  .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:29px !important;
  }

  .tm-hero .tm-stat span,
  .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12px !important;
    margin-top:8px !important;
  }

  .tm-hero .tm-hero-controls{
    bottom:24px !important;
  }
}

@media (min-width: 641px) and (max-width: 960px){
  .tm-hero .tm-hero-track,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track{
    height:640px !important;
    min-height:640px !important;
  }

  .tm-hero .tm-hero-slide{
    height:640px !important;
    min-height:640px !important;
  }

  .tm-hero .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    min-height:auto !important;
  }

  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:64px 0 0 !important;
    justify-content:flex-start !important;
  }

  .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    height:560px !important;
    padding:0 !important;
    justify-content:center !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(34px,6.1vw,46px) !important;
    line-height:1 !important;
    margin:16px 0 !important;
    max-width:720px !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:17px !important;
    max-width:650px !important;
    margin-top:0 !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    margin-top:30px !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:82px !important;
  }

  .tm-hero .tm-hero-stats-wrap .tm-stats{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tm-hero .tm-stat{
    padding:18px 20px !important;
  }

  .tm-hero .tm-hero-controls{
    bottom:22px !important;
  }
}


/* v1.3.7: sharper enterprise geometry + clean green underline mega-menu hover */
:root{
  --tm-radius-sm:6px;
  --tm-radius-md:10px;
  --tm-radius-lg:12px;
}

.tm-btn,
.tm-header-cta,
.tm-menu-toggle,
.wp-block-button__link{
  border-radius:6px !important;
}

.tm-card,
.tm-feature-card,
.tm-glass-card,
.tm-stats,
.tm-hero-stats-wrap .tm-stats,
.tm-mobile-panel a,
.tm-mobile-panel button{
  border-radius:10px !important;
}

.tm-cta-panel,
.tm-mega,
.tm-mega-feature{
  border-radius:12px !important;
}

.tm-mega-col{
  border-radius:8px !important;
}

.tm-mega-list a{
  position:relative !important;
  display:inline-block !important;
  width:auto !important;
  padding:10px 0 12px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:rgba(255,255,255,.80) !important;
  transition:color .2s ease !important;
}

.tm-mega-list a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:5px;
  width:0;
  height:2px;
  background:#8AC939;
  border-radius:2px;
  transition:width .24s ease;
}

.tm-mega-list a:hover,
.tm-mega-list a:focus-visible{
  background:transparent !important;
  border-color:transparent !important;
  color:#fff !important;
  outline:none !important;
}

.tm-mega-list a:hover::after,
.tm-mega-list a:focus-visible::after{
  width:100%;
}

.tm-mega-feature{
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(138,201,57,.055)) !important;
  border-color:rgba(255,255,255,.10) !important;
}


/* v1.3.8: hard reset for sharp menu, stable hero, and real stats spacing */
:root{
  --tm-radius-sm:6px;
  --tm-radius-md:8px;
  --tm-radius-lg:10px;
}

/* Sharper geometry across visible UI */
.tm-btn,
.tm-header-cta,
.tm-menu-toggle,
.wp-block-button__link{
  border-radius:6px !important;
}
.tm-card,
.tm-feature-card,
.tm-glass-card,
.tm-stats,
.tm-hero-stats-wrap .tm-stats,
.tm-mobile-panel a,
.tm-mobile-panel button{
  border-radius:8px !important;
}
.tm-cta-panel,
.tm-mega,
.tm-mega-feature,
.tm-mega-col{
  border-radius:10px !important;
}

/* Mega menu: remove dirty green hover blocks and use a clean underline */
.tm-mega{
  border-radius:10px !important;
  overflow:hidden !important;
}
.tm-mega-col{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.tm-mega-list,
.tm-mega-list li{
  background:transparent !important;
}
.tm-mega .tm-mega-list a,
.tm-mega .tm-mega-list a:visited,
.tm-mega .tm-mega-list li > a{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  width:auto !important;
  min-width:0 !important;
  padding:9px 0 11px !important;
  margin:0 !important;
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:rgba(255,255,255,.80) !important;
  font-weight:780 !important;
}
.tm-mega .tm-mega-list a::before{display:none !important;content:none !important;}
.tm-mega .tm-mega-list a::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:auto !important;
  bottom:4px !important;
  width:0 !important;
  height:2px !important;
  background:#8AC939 !important;
  border-radius:2px !important;
  transition:width .22s ease !important;
}
.tm-mega .tm-mega-list a:hover,
.tm-mega .tm-mega-list a:focus,
.tm-mega .tm-mega-list a:focus-visible,
.tm-mega .tm-mega-list li:hover > a,
.tm-mega .tm-mega-list .current-menu-item > a,
.tm-mega .tm-mega-list .current-menu-ancestor > a{
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:#fff !important;
  outline:none !important;
}
.tm-mega .tm-mega-list a:hover::after,
.tm-mega .tm-mega-list a:focus-visible::after,
.tm-mega .tm-mega-list li:hover > a::after,
.tm-mega .tm-mega-list .current-menu-item > a::after{
  width:100% !important;
}
.tm-mega-feature{
  border-radius:10px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(138,201,57,.045)) !important;
  border-color:rgba(255,255,255,.10) !important;
}

/* Hero: fixed height on every desktop/tablet slide and clear space above stats */
@media (min-width:961px){
  .tm-hero,
  .tm-hero .tm-hero-track,
  .tm-hero .tm-hero-slide{
    height:640px !important;
    min-height:640px !important;
    max-height:640px !important;
  }
  .tm-hero .tm-hero-slide{overflow:hidden !important;}
  .tm-hero .tm-slide-has-stats .tm-hero-inner{
    padding:64px 0 0 !important;
    height:auto !important;
    min-height:0 !important;
    justify-content:flex-start !important;
  }
  .tm-hero .tm-slide-no-stats .tm-hero-inner{
    padding:0 !important;
    height:540px !important;
    min-height:540px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
  }
  .tm-hero h1{
    font-size:clamp(42px,4.25vw,58px) !important;
    line-height:.97 !important;
    margin:16px 0 !important;
    max-width:790px !important;
  }
  .tm-hero p{
    font-size:17px !important;
    max-width:660px !important;
    margin:0 !important;
  }
  .tm-hero .tm-actions{
    margin-top:30px !important;
  }
  .tm-hero .tm-hero-stats-wrap{
    bottom:86px !important;
  }
  .tm-hero .tm-hero-stats-wrap .tm-stats{
    min-height:112px !important;
    margin-top:0 !important;
    border-radius:8px !important;
  }
  .tm-hero .tm-stat{
    padding:22px 26px !important;
  }
  .tm-hero .tm-stat strong{
    font-size:31px !important;
  }
  .tm-hero .tm-stat span{
    font-size:12px !important;
    margin-top:8px !important;
  }
  .tm-hero .tm-hero-controls{
    bottom:28px !important;
  }
}

@media (min-width:641px) and (max-width:960px){
  .tm-hero,
  .tm-hero .tm-hero-track,
  .tm-hero .tm-hero-slide{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }
  .tm-hero .tm-slide-has-stats .tm-hero-inner{
    padding:74px 0 0 !important;
  }
  .tm-hero .tm-slide-no-stats .tm-hero-inner{
    padding:0 !important;
    height:610px !important;
    min-height:610px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
  }
  .tm-hero .tm-hero-stats-wrap{
    bottom:88px !important;
  }
  .tm-hero .tm-hero-stats-wrap .tm-stats{
    grid-template-columns:repeat(2,1fr) !important;
    border-radius:8px !important;
  }
  .tm-hero .tm-hero-controls{
    bottom:26px !important;
  }
}

/* v1.3.9: primary menu supports left/right items around Platform & Solutions */
.tm-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:22px !important;
}
.tm-nav .tm-nav-link,
.tm-nav .tm-mega-trigger{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  padding:26px 0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  color:rgba(255,255,255,.72) !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer !important;
}
.tm-nav .tm-nav-link::after,
.tm-nav .tm-mega-trigger::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  bottom:20px !important;
  width:0 !important;
  height:2px !important;
  background:var(--tm-secondary) !important;
  border-radius:2px !important;
  transition:width .22s ease !important;
}
.tm-nav .tm-nav-link:hover,
.tm-nav .tm-nav-link:focus-visible,
.tm-nav .tm-nav-link.is-current,
.tm-nav .tm-mega-trigger:hover,
.tm-nav .tm-mega-trigger:focus-visible{
  color:#fff !important;
  background:transparent !important;
  outline:none !important;
}
.tm-nav .tm-nav-link:hover::after,
.tm-nav .tm-nav-link:focus-visible::after,
.tm-nav .tm-nav-link.is-current::after,
.tm-nav .tm-mega-trigger:hover::after,
.tm-nav .tm-mega-trigger:focus-visible::after,
.tm-mega-wrap.is-open ~ * .tm-mega-trigger::after{
  width:100% !important;
}
@media (max-width:960px){
  .tm-nav{display:none !important;}
}

/* v1.4.0: stable slide count admin + centered desktop stats placement */
@media (min-width: 961px){
  .tm-hero,
  .tm-hero .tm-hero-track,
  .tm-hero .tm-hero-slide,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track{
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
  }
  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:96px 0 0 !important;
  }
  .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    height:600px !important;
    min-height:600px !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
  }
  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:116px !important;
  }
  .tm-hero .tm-hero-controls{
    bottom:30px !important;
  }
}


/* v1.4.1: make Gutenberg homepage patterns follow the same width rules as the hero */
.tm-home-editor-content{
  margin:0;
  padding:0;
}

/* Full-width section bands inserted from patterns should span the viewport. */
.tm-home-editor-content > .tm-section,
.tm-home-editor-content > .tm-module-band,
.tm-home-editor-content > .wp-block-group.tm-section,
.tm-home-editor-content > .wp-block-group.tm-module-band{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Their inner containers should use the exact same max-width/margins as the hero. */
.tm-home-editor-content .tm-container,
.tm-home-editor-content .wp-block-group.tm-container{
  width:min(var(--tm-max),calc(100% - 64px)) !important;
  max-width:var(--tm-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Loose blocks added directly to the homepage should align with the hero, not hug the edge. */
.tm-home-editor-content > :not(.tm-section):not(.tm-module-band):not(.alignfull){
  width:min(var(--tm-max),calc(100% - 64px));
  max-width:var(--tm-max);
  margin-left:auto;
  margin-right:auto;
}

/* Stop WordPress constrained-layout defaults from narrowing TrueMed pattern sections. */
.tm-home-editor-content .tm-section > :where(.wp-block-group),
.tm-home-editor-content .tm-module-band > :where(.wp-block-group){
  max-width:var(--tm-max) !important;
}

@media (max-width:960px){
  .tm-home-editor-content .tm-container,
  .tm-home-editor-content .wp-block-group.tm-container,
  .tm-home-editor-content > :not(.tm-section):not(.tm-module-band):not(.alignfull){
    width:min(var(--tm-max),calc(100% - 28px)) !important;
  }
}

/* v1.4.2: resources/blog grid pattern */
.tm-section-header-split{
  gap:28px;
  margin-bottom:42px;
}
.tm-section-title-wrap{
  max-width:760px;
}
.tm-resources-query{
  margin-top:28px;
}
.tm-resource-grid{
  gap:18px !important;
}
.tm-resource-card{
  height:100%;
  padding:0;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(0,46,75,.08);
  box-shadow:0 18px 50px rgba(0,46,75,.075);
}
.tm-resource-image{
  margin:0 !important;
  background:linear-gradient(135deg,rgba(0,46,75,.14),rgba(138,201,57,.14));
}
.tm-resource-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.tm-resource-category,
.tm-resource-title,
.tm-resource-excerpt,
.tm-resource-meta{
  padding-left:24px;
  padding-right:24px;
}
.tm-resource-category{
  margin:22px 0 8px;
  color:var(--tm-secondary);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:900;
}
.tm-resource-category a{
  color:var(--tm-secondary);
}
.tm-resource-title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.12;
  letter-spacing:-.025em;
  color:var(--tm-primary);
}
.tm-resource-title a:hover{
  color:var(--tm-primary-soft);
}
.tm-resource-excerpt{
  margin:0;
  color:var(--tm-muted);
}
.tm-resource-excerpt p{
  margin:0;
}
.tm-resource-meta{
  margin-top:22px;
  padding-bottom:24px;
  color:var(--tm-muted);
  font-size:13px;
  font-weight:750;
}
.tm-resource-meta a{
  color:var(--tm-primary);
  font-weight:850;
}

/* v1.4.2: iPhone 17 Pro mockup pattern */
.tm-phone-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 72% 44%,rgba(138,201,57,.10),transparent 32%),
    radial-gradient(circle at 28% 12%,rgba(255,255,255,.07),transparent 26%),
    linear-gradient(180deg,var(--tm-primary-dark),#06283d);
}
.tm-phone-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,460px);
  gap:70px;
  align-items:center;
}
.tm-phone-copy h2{
  max-width:720px;
}
.tm-phone-stage{
  min-height:620px;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:1200px;
}
.tm-phone-device{
  position:relative;
  width:318px;
  height:650px;
  border-radius:34px;
  padding:12px;
  background:linear-gradient(145deg,#dfe7ec,#586977 28%,#172938 62%,#e7edf1);
  box-shadow:0 36px 90px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.35);
  transform:rotate(-4deg) rotateY(-10deg);
}
.tm-phone-device:before{
  content:"";
  position:absolute;
  inset:9px;
  border-radius:29px;
  border:1px solid rgba(255,255,255,.24);
  pointer-events:none;
}
.tm-phone-buttons-left,
.tm-phone-buttons-right{
  position:absolute;
  width:4px;
  border-radius:999px;
  background:#96a6b2;
}
.tm-phone-buttons-left{
  left:-3px;
  top:126px;
  height:82px;
  box-shadow:0 108px 0 #96a6b2;
}
.tm-phone-buttons-right{
  right:-3px;
  top:188px;
  height:112px;
}
.tm-phone-screen{
  position:relative;
  height:100%;
  border-radius:26px;
  overflow:hidden;
  padding:34px 22px 22px;
  background:
    radial-gradient(circle at 50% 34%,rgba(138,201,57,.28),transparent 18%),
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.12),transparent 20%),
    linear-gradient(180deg,#061d30,#08283f 62%,#051623);
  border:1px solid rgba(255,255,255,.16);
}
.tm-phone-screen:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,rgba(255,255,255,.18),transparent 28%,transparent 60%,rgba(255,255,255,.06));
  opacity:.42;
  pointer-events:none;
}
.tm-phone-dynamic-island{
  position:absolute;
  top:14px;
  left:50%;
  width:92px;
  height:26px;
  transform:translateX(-50%);
  border-radius:999px;
  background:#03090f;
  z-index:2;
}
.tm-app-topbar{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-size:13px;
  font-weight:850;
}
.tm-app-logo{
  width:18px;
  height:18px;
  border:4px solid var(--tm-secondary);
  transform:rotate(45deg);
  border-radius:2px;
}
.tm-scan-orb{
  position:relative;
  z-index:1;
  width:168px;
  height:168px;
  border-radius:50%;
  margin:62px auto 22px;
  background:radial-gradient(circle,rgba(138,201,57,.86),rgba(138,201,57,.18) 56%,rgba(138,201,57,.05) 68%,transparent 70%);
  border:1px solid rgba(138,201,57,.5);
  box-shadow:0 0 70px rgba(138,201,57,.28);
}
.tm-scan-orb:before,
.tm-scan-orb:after{
  content:"";
  position:absolute;
  inset:22px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.5);
}
.tm-scan-orb:after{
  inset:52px;
  background:rgba(255,255,255,.16);
}
.tm-app-status{
  position:relative;
  z-index:1;
  color:#fff;
  text-align:center;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.035em;
  margin-bottom:28px;
}
.tm-app-card,
.tm-app-action{
  position:relative;
  z-index:1;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  padding:15px;
  color:#fff;
  backdrop-filter:blur(12px);
}
.tm-app-card span{
  display:block;
  color:rgba(255,255,255,.55);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:850;
  margin-bottom:4px;
}
.tm-app-card strong{
  display:block;
  font-size:17px;
  letter-spacing:-.02em;
}
.tm-app-card-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}
.tm-app-action{
  margin-top:14px;
  background:var(--tm-secondary);
  color:#061523;
  text-align:center;
  font-weight:900;
}

@media (max-width:960px){
  .tm-section-header-split{align-items:flex-start !important}
  .tm-resource-grid{grid-template-columns:1fr !important}
  .tm-phone-grid{grid-template-columns:1fr;gap:42px}
  .tm-phone-stage{min-height:auto}
  .tm-phone-device{width:270px;height:552px;transform:none}
}

/* v1.4.3: animated phone mockup with selectable scrolling Cover background */
.tm-phone-device{
  animation:tm-phone-float 7s ease-in-out infinite;
  transform-style:preserve-3d;
}
.tm-phone-screen{
  isolation:isolate;
  padding:0;
}
.tm-phone-screen > *{
  margin-block-start:0 !important;
}
.tm-phone-scroll-media{
  position:absolute !important;
  inset:0;
  z-index:0;
  min-height:100% !important;
  border-radius:26px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 34%,rgba(138,201,57,.28),transparent 18%),
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.12),transparent 20%),
    linear-gradient(180deg,#061d30,#08283f 62%,#051623);
}
.tm-phone-scroll-media .wp-block-cover__background{
  display:none;
}
.tm-phone-scroll-media .wp-block-cover__image-background,
.tm-phone-scroll-media img,
.tm-phone-scroll-media video{
  height:132% !important;
  min-height:132% !important;
  width:100% !important;
  object-fit:cover;
  object-position:center top;
  transform:translate3d(0,var(--tm-phone-scroll-y,0px),0) scale(1.02);
  transition:transform .08s linear;
  will-change:transform;
}
.tm-phone-scroll-media .wp-block-cover__inner-container{
  position:relative;
  z-index:1;
  min-height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:22px;
}
.tm-phone-editor-hint{
  margin:0 !important;
  color:rgba(255,255,255,.55);
  font-size:11px;
  line-height:1.35;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
  border:1px dashed rgba(255,255,255,.22);
  border-radius:8px;
  padding:10px 12px;
  background:rgba(2,13,23,.42);
  backdrop-filter:blur(10px);
}
.tm-phone-ui{
  position:relative;
  z-index:1;
  height:100%;
  padding:34px 22px 22px;
  display:flex;
  flex-direction:column;
  pointer-events:none;
}
.tm-phone-dynamic-island{
  z-index:3;
}
.tm-scan-orb{
  animation:tm-scan-pulse 3.8s ease-in-out infinite;
}
.tm-scan-orb:before{
  animation:tm-scan-ring 2.8s ease-in-out infinite;
}
.tm-app-card,
.tm-app-action{
  animation:tm-phone-card-rise .7s ease both;
}
.tm-app-card-row .tm-app-card:first-child{animation-delay:.08s}
.tm-app-card-row .tm-app-card:last-child{animation-delay:.16s}
.tm-app-action{animation-delay:.24s}
@keyframes tm-phone-float{
  0%,100%{transform:rotate(-4deg) rotateY(-10deg) translate3d(0,0,0)}
  50%{transform:rotate(-3deg) rotateY(-7deg) translate3d(0,-14px,0)}
}
@keyframes tm-scan-pulse{
  0%,100%{box-shadow:0 0 58px rgba(138,201,57,.22);transform:scale(1)}
  50%{box-shadow:0 0 92px rgba(138,201,57,.36);transform:scale(1.035)}
}
@keyframes tm-scan-ring{
  0%,100%{opacity:.55;transform:scale(.96)}
  50%{opacity:.95;transform:scale(1.08)}
}
@keyframes tm-phone-card-rise{
  from{opacity:.82;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .tm-phone-device,
  .tm-scan-orb,
  .tm-scan-orb:before,
  .tm-app-card,
  .tm-app-action{
    animation:none !important;
  }
  .tm-phone-scroll-media .wp-block-cover__image-background,
  .tm-phone-scroll-media img,
  .tm-phone-scroll-media video{
    transform:none !important;
  }
}
@media (max-width:960px){
  .tm-phone-device{animation:none;transform:none}
}

/* TrueMed pattern anchors */
.tm-hero,
.tm-section,
.tm-module-band {
  scroll-margin-top: 96px;
}

/* v1.4.0: TrueMed homepage hero/header alignment inspired by supplied reference */
:root{
  --tm-hero-navy:#071827;
  --tm-hero-navy-2:#0a1c2f;
  --tm-hero-green:#9bd737;
  --tm-max:1200px;
}

body.home .tm-site-header,
.tm-site-header{
  background:var(--tm-hero-navy) !important;
  border-bottom:1px solid rgba(255,255,255,.055) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.tm-header-inner{
  height:68px !important;
  max-width:1200px !important;
  width:calc(100% - 48px) !important;
}

.tm-logo{
  color:#fff !important;
  font-size:34px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-.055em !important;
}

.tm-logo-mark{
  width:26px !important;
  height:26px !important;
  border-color:var(--tm-hero-green) !important;
  border-width:5px !important;
}

.tm-nav-link,
.tm-mega-trigger{
  color:rgba(255,255,255,.58) !important;
  font-size:13px !important;
  font-weight:850 !important;
  padding:26px 14px !important;
}

.tm-nav-link:hover,
.tm-mega-trigger:hover{
  color:#fff !important;
}

.tm-header-cta{
  min-width:140px !important;
  height:44px !important;
  padding:0 22px !important;
  border-radius:4px !important;
  background:var(--tm-hero-green) !important;
  color:#061523 !important;
  font-weight:950 !important;
}

.tm-hero{
  background:var(--tm-hero-navy) !important;
  color:#fff !important;
  overflow:hidden !important;
}

.tm-hero .tm-hero-track,
.tm-hero.tm-active-has-stats .tm-hero-track,
.tm-hero.tm-active-no-stats .tm-hero-track{
  height:780px !important;
  min-height:780px !important;
  background:var(--tm-hero-navy) !important;
}

.tm-hero .tm-hero-slide{
  height:780px !important;
  min-height:780px !important;
  background:radial-gradient(circle at 78% 30%,rgba(155,215,55,.075),transparent 33%),linear-gradient(180deg,var(--tm-hero-navy),var(--tm-hero-navy-2)) !important;
}

.tm-hero-bg{
  opacity:.2 !important;
  filter:saturate(.85) contrast(1.02) !important;
  background-position:center right !important;
  mix-blend-mode:screen !important;
}

.tm-hero-bg:after{
  background:linear-gradient(90deg,rgba(7,24,39,.98) 0%,rgba(7,24,39,.92) 38%,rgba(7,24,39,.65) 67%,rgba(7,24,39,.86) 100%) !important;
}

.tm-hero .tm-hero-inner,
.tm-hero.tm-active-has-stats .tm-hero-inner,
.tm-hero.tm-active-no-stats .tm-hero-inner,
.tm-hero .tm-slide-has-stats .tm-hero-inner,
.tm-hero .tm-slide-no-stats .tm-hero-inner{
  max-width:1200px !important;
  width:calc(100% - 48px) !important;
  height:auto !important;
  min-height:0 !important;
  display:block !important;
  padding:128px 0 0 !important;
}

.tm-hero .tm-kicker,
.tm-hero.tm-active-has-stats .tm-kicker{
  color:var(--tm-hero-green) !important;
  font-size:20px !important;
  line-height:1.2 !important;
  font-weight:950 !important;
  letter-spacing:.22em !important;
  max-width:760px !important;
}

.tm-hero h1,
.tm-hero.tm-active-has-stats h1,
.tm-hero.tm-active-no-stats h1{
  color:#fff !important;
  max-width:700px !important;
  margin:24px 0 22px !important;
  font-size:clamp(50px,5.25vw,74px) !important;
  line-height:.96 !important;
  letter-spacing:-.06em !important;
  font-weight:950 !important;
}

.tm-hero p,
.tm-hero.tm-active-has-stats p,
.tm-hero.tm-active-no-stats p{
  max-width:690px !important;
  color:#fff !important;
  font-size:18px !important;
  line-height:1.55 !important;
  font-weight:700 !important;
}

.tm-hero p strong,
.tm-hero p b,
.tm-hero p em{
  color:var(--tm-hero-green) !important;
  font-style:normal !important;
}

.tm-hero .tm-actions,
.tm-hero.tm-active-has-stats .tm-actions,
.tm-hero.tm-active-no-stats .tm-actions{
  margin-top:38px !important;
  gap:16px !important;
}

.tm-hero .tm-actions .tm-btn{
  min-width:160px !important;
  height:49px !important;
  padding:0 28px !important;
  border-radius:4px !important;
  font-weight:950 !important;
}

.tm-hero .tm-actions .tm-btn-primary{
  background:var(--tm-hero-green) !important;
  color:#061523 !important;
}

.tm-hero .tm-actions .tm-btn-secondary{
  background:transparent !important;
  border-color:rgba(255,255,255,.22) !important;
  color:rgba(255,255,255,.74) !important;
}

.tm-hero .tm-hero-stats-wrap,
.tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  width:min(1200px,calc(100% - 48px)) !important;
  bottom:104px !important;
  z-index:6 !important;
}

.tm-hero .tm-stats,
.tm-hero.tm-active-has-stats .tm-stats{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  margin:0 !important;
  min-height:140px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.055) !important;
  border-radius:7px !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

.tm-hero .tm-stat,
.tm-hero.tm-active-has-stats .tm-stat{
  padding:30px 28px !important;
  border-right:1px solid rgba(255,255,255,.07) !important;
  border-bottom:0 !important;
}

.tm-hero .tm-stat:last-child{
  border-right:0 !important;
}

.tm-hero .tm-stat strong,
.tm-hero.tm-active-has-stats .tm-stat strong{
  color:var(--tm-hero-green) !important;
  font-size:34px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-.04em !important;
}

.tm-hero .tm-stat span,
.tm-hero.tm-active-has-stats .tm-stat span{
  margin-top:12px !important;
  color:rgba(255,255,255,.52) !important;
  font-size:13px !important;
  line-height:1.45 !important;
  font-weight:750 !important;
}

.tm-hero-controls{
  bottom:32px !important;
  z-index:8 !important;
}

.tm-hero-prev,
.tm-hero-next{
  width:38px !important;
  height:38px !important;
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.13) !important;
}

.tm-hero-dots{
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.10) !important;
}

@media (max-width:960px){
  .tm-header-inner{
    width:calc(100% - 28px) !important;
    height:66px !important;
  }
  .tm-logo{
    font-size:24px !important;
  }
  .tm-logo-mark{
    width:22px !important;
    height:22px !important;
  }
  .tm-hero .tm-hero-track,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track,
  .tm-hero .tm-hero-slide{
    height:900px !important;
    min-height:900px !important;
  }
  .tm-hero .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner,
  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 32px) !important;
    padding:72px 0 0 !important;
  }
  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker{
    font-size:13px !important;
  }
  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(42px,10vw,58px) !important;
    max-width:100% !important;
  }
  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:17px !important;
  }
  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 32px) !important;
    bottom:90px !important;
  }
  .tm-hero .tm-stats,
  .tm-hero.tm-active-has-stats .tm-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .tm-hero .tm-stat,
  .tm-hero.tm-active-has-stats .tm-stat{
    padding:22px !important;
    border-bottom:1px solid rgba(255,255,255,.07) !important;
  }
}

@media (max-width:640px){
  .tm-header-cta{
    min-width:0 !important;
    padding:0 12px !important;
  }
  .tm-hero .tm-hero-track,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track,
  .tm-hero .tm-hero-slide{
    height:1040px !important;
    min-height:1040px !important;
  }
  .tm-hero .tm-actions .tm-btn{
    width:100% !important;
  }
  .tm-hero .tm-stats,
  .tm-hero.tm-active-has-stats .tm-stats{
    grid-template-columns:1fr !important;
  }
  .tm-hero .tm-stat,
  .tm-hero.tm-active-has-stats .tm-stat{
    border-right:0 !important;
  }
}

/* v1.4.0: Reference hero spacing fix - prevents stat cards from overlapping CTAs */
@media (min-width: 961px){
  .tm-hero,
  .tm-hero .tm-hero-track,
  .tm-hero .tm-hero-slide{
    height: 720px !important;
    min-height: 720px !important;
    max-height: 720px !important;
  }

  .tm-hero .tm-hero-slide{
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden !important;
  }

  .tm-hero .tm-hero-inner,
  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding-top: 118px !important;
    padding-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    height: 620px !important;
    min-height: 620px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .tm-hero .tm-kicker{
    font-size: 19px !important;
    line-height: 1.25 !important;
    letter-spacing: .22em !important;
    max-width: 820px !important;
    margin: 0 0 24px !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    max-width: 760px !important;
    font-size: clamp(48px, 4.8vw, 64px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    margin: 0 0 22px !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    max-width: 690px !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    margin-top: 38px !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 72px !important;
    transform: translateX(-50%) !important;
    width: min(var(--tm-max), calc(100% - 64px)) !important;
    z-index: 4 !important;
  }

  .tm-hero .tm-hero-stats-wrap .tm-stats,
  .tm-hero.tm-active-has-stats .tm-stats{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: 136px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: rgba(20, 42, 64, .78) !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    box-shadow: none !important;
  }

  .tm-hero .tm-stat,
  .tm-hero.tm-active-has-stats .tm-stat{
    padding: 30px 28px !important;
    border-right: 1px solid rgba(255,255,255,.07) !important;
    border-bottom: 0 !important;
  }

  .tm-hero .tm-stat strong,
  .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .tm-hero .tm-stat span,
  .tm-hero.tm-active-has-stats .tm-stat span{
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .tm-hero .tm-hero-controls{
    bottom: 22px !important;
  }
}

/* Header logo image option */
.tm-logo-img{display:block;width:auto;height:38px;max-width:230px;object-fit:contain;}
@media (max-width: 960px){.tm-logo-img{height:34px;max-width:190px;}}

/* v1.4.1: tighter reference-style homepage hero spacing */
:root{
  --tm-max:1156px;
}

body.home .tm-header-inner,
.tm-header-inner{
  max-width:1156px !important;
  width:min(1156px,calc(100% - 64px)) !important;
}

body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
  max-width:1156px !important;
  width:min(1156px,calc(100% - 64px)) !important;
  padding-top:126px !important;
}

body.home .tm-hero .tm-kicker,
body.home .tm-hero.tm-active-has-stats .tm-kicker{
  max-width:760px !important;
  margin:0 !important;
}

body.home .tm-hero h1,
body.home .tm-hero.tm-active-has-stats h1,
body.home .tm-hero.tm-active-no-stats h1{
  max-width:690px !important;
  margin-top:24px !important;
  margin-bottom:22px !important;
}

body.home .tm-hero p,
body.home .tm-hero.tm-active-has-stats p,
body.home .tm-hero.tm-active-no-stats p{
  max-width:690px !important;
  margin:0 !important;
}

body.home .tm-hero .tm-actions,
body.home .tm-hero.tm-active-has-stats .tm-actions,
body.home .tm-hero.tm-active-no-stats .tm-actions{
  margin-top:39px !important;
}

body.home .tm-hero .tm-hero-stats-wrap,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  width:min(1156px,calc(100% - 64px)) !important;
  bottom:63px !important;
}

body.home .tm-hero .tm-stats,
body.home .tm-hero.tm-active-has-stats .tm-stats{
  min-height:135px !important;
  border-radius:7px !important;
}

body.home .tm-hero .tm-stat,
body.home .tm-hero.tm-active-has-stats .tm-stat{
  padding:31px 27px 26px !important;
}

body.home .tm-hero-controls{
  display:none !important;
}

@media (min-width:961px){
  body.home .tm-hero,
  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track,
  body.home .tm-hero .tm-hero-slide{
    height:780px !important;
    min-height:780px !important;
  }
}

@media (max-width:960px){
  body.home .tm-header-inner,
  .tm-header-inner,
  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 32px) !important;
  }
  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    padding-top:72px !important;
  }
  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:90px !important;
  }
}

/* v1.4.6: desktop hero/nav correction
   Fixes over-heavy nav/body copy and keeps the hero eyebrow on one line. */
@media (min-width: 961px){
  body.home .tm-site-header,
  .tm-site-header{
    background:#071827 !important;
    border-bottom:1px solid rgba(255,255,255,.055) !important;
    box-shadow:none !important;
  }

  body.home .tm-header-inner,
  .tm-header-inner{
    height:66px !important;
    max-width:1156px !important;
    width:min(1156px, calc(100% - 64px)) !important;
    gap:32px !important;
  }

  .tm-logo{
    font-size:31px !important;
    font-weight:900 !important;
    letter-spacing:-.045em !important;
    flex:0 0 auto !important;
  }

  .tm-logo-mark{
    width:24px !important;
    height:24px !important;
    border-width:5px !important;
  }

  .tm-logo-img{
    height:34px !important;
    max-width:220px !important;
  }

  .tm-nav{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:28px !important;
    flex:1 1 auto !important;
    min-width:0 !important;
  }

  .tm-nav .tm-nav-link,
  .tm-nav .tm-mega-trigger,
  .tm-nav-link,
  .tm-mega-trigger{
    padding:24px 0 !important;
    color:rgba(255,255,255,.62) !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:650 !important;
    letter-spacing:-.01em !important;
    white-space:nowrap !important;
  }

  .tm-nav .tm-nav-link::after,
  .tm-nav .tm-mega-trigger::after{
    display:none !important;
  }

  .tm-header-cta{
    flex:0 0 auto !important;
    min-width:136px !important;
    height:44px !important;
    padding:0 22px !important;
    border-radius:4px !important;
    font-size:13px !important;
    font-weight:800 !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    max-width:1156px !important;
    width:min(1156px, calc(100% - 64px)) !important;
    padding-top:126px !important;
  }

  body.home .tm-hero .tm-kicker,
  body.home .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker{
    max-width:none !important;
    width:max-content !important;
    white-space:nowrap !important;
    overflow:visible !important;
    color:#9bd737 !important;
    font-size:18px !important;
    line-height:1 !important;
    letter-spacing:.19em !important;
    font-weight:850 !important;
    margin:0 0 26px !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1{
    max-width:710px !important;
    margin:0 0 22px !important;
    font-size:clamp(50px,4.6vw,64px) !important;
    line-height:.98 !important;
    letter-spacing:-.055em !important;
    font-weight:900 !important;
  }

  body.home .tm-hero p,
  body.home .tm-hero.tm-active-has-stats p,
  body.home .tm-hero.tm-active-no-stats p,
  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    max-width:705px !important;
    color:rgba(255,255,255,.92) !important;
    font-size:18px !important;
    line-height:1.55 !important;
    font-weight:500 !important;
    margin:0 !important;
  }

  .tm-hero p strong,
  .tm-hero p b,
  .tm-hero p em{
    color:#9bd737 !important;
    font-style:normal !important;
    font-weight:500 !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    margin-top:39px !important;
    gap:16px !important;
  }

  body.home .tm-hero .tm-actions .tm-btn{
    height:48px !important;
    min-width:156px !important;
    padding:0 26px !important;
    font-size:14px !important;
    font-weight:800 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:min(1156px, calc(100% - 64px)) !important;
    bottom:63px !important;
  }

  body.home .tm-hero .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-stats{
    min-height:135px !important;
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(255,255,255,.06) !important;
    border-radius:7px !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    padding:30px 27px 25px !important;
  }
}

@media (max-width: 1180px) and (min-width: 961px){
  body.home .tm-hero .tm-kicker,
  body.home .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker{
    font-size:15px !important;
    letter-spacing:.16em !important;
  }

  .tm-nav{
    gap:18px !important;
  }
}

/* v1.3.7: corrected desktop hero balance + lighter copy */
@media (min-width: 961px){
  .tm-hero .tm-hero-track,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track{
    height:720px !important;
    min-height:720px !important;
  }

  .tm-hero .tm-hero-slide{
    height:720px !important;
    min-height:720px !important;
  }

  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:112px 0 0 !important;
    justify-content:flex-start !important;
  }

  .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner{
    height:720px !important;
    padding:0 !important;
    justify-content:center !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(38px,3.75vw,54px) !important;
    line-height:1.02 !important;
    max-width:820px !important;
    margin:20px 0 22px !important;
    letter-spacing:-.055em !important;
  }

  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero.tm-active-no-stats .tm-kicker{
    font-size:13px !important;
    line-height:1.15 !important;
    max-width:none !important;
    white-space:nowrap !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:16px !important;
    line-height:1.55 !important;
    font-weight:500 !important;
    max-width:700px !important;
    margin-top:0 !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    margin-top:34px !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:112px !important;
  }

  .tm-hero .tm-stats,
  .tm-hero.tm-active-has-stats .tm-stats{
    min-height:132px !important;
  }

  .tm-hero .tm-stat,
  .tm-hero.tm-active-has-stats .tm-stat{
    padding:26px 30px !important;
  }

  .tm-hero .tm-stat strong,
  .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:32px !important;
  }

  .tm-hero .tm-stat span,
  .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12.5px !important;
    line-height:1.45 !important;
    margin-top:10px !important;
  }
}

@media (min-width: 961px) and (max-width: 1180px){
  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero.tm-active-no-stats .tm-kicker{
    white-space:normal !important;
  }
}

/* v1.4.1: tighter hero balance, smaller headline, lighter copy/nav, staggered stat animation support */
@media (min-width: 961px){
  .tm-site-header .tm-header-inner{
    height:68px !important;
  }

  .tm-nav{
    gap:24px !important;
  }

  .tm-nav .tm-nav-link,
  .tm-nav .tm-mega-trigger{
    font-size:13px !important;
    font-weight:700 !important;
    color:rgba(255,255,255,.68) !important;
    padding:27px 0 !important;
  }

  .tm-header-cta{
    font-size:13px !important;
    font-weight:800 !important;
    padding:15px 28px !important;
  }

  .tm-hero,
  .tm-hero .tm-hero-track,
  .tm-hero .tm-hero-slide,
  .tm-hero.tm-active-has-stats .tm-hero-track,
  .tm-hero.tm-active-no-stats .tm-hero-track{
    height:670px !important;
    min-height:670px !important;
    max-height:670px !important;
  }

  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner{
    padding:72px 0 0 !important;
    justify-content:flex-start !important;
  }

  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero.tm-active-no-stats .tm-kicker{
    max-width:none !important;
    white-space:nowrap !important;
    font-size:13px !important;
    line-height:1.15 !important;
    letter-spacing:.21em !important;
    font-weight:850 !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(40px,3.55vw,51px) !important;
    line-height:1.01 !important;
    letter-spacing:-.055em !important;
    max-width:860px !important;
    margin:18px 0 24px !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:16px !important;
    line-height:1.62 !important;
    font-weight:500 !important;
    max-width:720px !important;
    color:rgba(255,255,255,.88) !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    margin-top:34px !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:82px !important;
  }

  .tm-hero .tm-hero-stats-wrap .tm-stats{
    min-height:112px !important;
  }

  .tm-hero .tm-stat{
    padding:24px 30px !important;
  }

  .tm-hero .tm-stat strong{
    font-size:31px !important;
  }

  .tm-hero .tm-stat span{
    font-size:12px !important;
    line-height:1.45 !important;
    font-weight:650 !important;
  }

  .tm-hero .tm-hero-controls{
    bottom:26px !important;
  }
}

@media (min-width: 961px) and (max-width: 1220px){
  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(38px,4vw,48px) !important;
    max-width:800px !important;
  }

  .tm-hero .tm-kicker,
  .tm-hero.tm-active-has-stats .tm-kicker,
  .tm-hero.tm-active-no-stats .tm-kicker{
    font-size:12px !important;
    letter-spacing:.18em !important;
  }
}

/* v1.4.8: TrueMed Homepage Builder template
   Keeps block content aligned to each block's own container while allowing section backgrounds to fill the viewport. */
.tm-home-builder-content{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
}
.tm-home-builder-content > *{
  max-width:none;
}
.tm-home-builder-content > .tmcb-section,
.tm-home-builder-content > .tm-section,
.tm-home-builder-content > .tm-module-band,
.tm-home-builder-content > .wp-block-group{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.tm-home-builder-content .tmcb-container,
.tm-home-builder-content .tm-container{
  margin-left:auto;
  margin-right:auto;
}

/* Dedicated dark page header templates */
.tm-page-hero-template{
  background:#071827;
  color:#fff;
  padding:112px 0 86px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.tm-page-hero-inner{max-width:1156px}
.tm-page-hero-copy{max-width:760px}
.tm-page-hero-eyebrow{
  margin:0 0 16px;
  color:var(--tm-secondary);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:12px;
  line-height:1;
  font-weight:950;
}
.tm-page-hero-template h1{
  margin:0;
  color:#fff;
  max-width:820px;
  font-size:clamp(38px,4vw,54px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:950;
}
.tm-page-hero-description{
  margin:24px 0 0;
  max-width:700px;
  color:rgba(255,255,255,.54);
  font-size:18px;
  line-height:1.55;
  font-weight:600;
}
.tm-page-hero-stats{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid rgba(255,255,255,.035);
  border-radius:10px;
  overflow:hidden;
  background:rgba(255,255,255,.012);
}
.tm-page-hero-stat{padding:30px 42px;text-align:center;border-right:1px solid rgba(255,255,255,.07)}
.tm-page-hero-stat:last-child{border-right:0}
.tm-page-hero-stat strong{display:block;color:var(--tm-secondary);font-size:36px;line-height:1;font-weight:950;letter-spacing:-.04em}
.tm-page-hero-stat span{display:block;margin-top:14px;color:rgba(255,255,255,.38);font-size:13px;line-height:1.45;font-weight:700}
.tm-page-hero-split{margin-top:0;display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:80px;align-items:start}
.tm-page-hero-split .tm-page-hero-mini-cards{grid-column:2}
.tm-page-hero-split-cards .tm-page-hero-copy{max-width:650px}
.tm-page-hero-mini-cards{display:grid;gap:18px}
.tm-page-hero-mini-card{background:rgba(255,255,255,.06);border-radius:10px;padding:24px 28px 24px 30px;border-left:2px solid var(--tm-secondary)}
.tm-page-hero-mini-card h2{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px;color:#fff}
.tm-page-hero-mini-card p{margin:0;color:rgba(255,255,255,.48);font-size:16px;line-height:1.55;font-weight:650}
.tm-page-hero-pills{margin-top:48px;display:flex;gap:14px;flex-wrap:wrap}
.tm-page-hero-pills span,.tm-page-hero-pills a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 22px;border-radius:999px;border:1px solid rgba(138,201,57,.45);background:rgba(255,255,255,.055);color:rgba(255,255,255,.72);font-size:14px;font-weight:850}
.tm-page-template-content{background:#fff}.tm-page-template-content > *{max-width:var(--tm-max);margin-left:auto;margin-right:auto}.tm-page-template-content{padding:0 0 80px}
@media(max-width:900px){
  .tm-page-hero-template{padding:100px 0 82px}.tm-page-hero-description{font-size:18px}.tm-page-hero-stats{grid-template-columns:1fr}.tm-page-hero-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}.tm-page-hero-stat:last-child{border-bottom:0}.tm-page-hero-split{grid-template-columns:1fr;gap:44px}.tm-page-hero-split .tm-page-hero-mini-cards{grid-column:auto}.tm-page-hero-pills{margin-top:46px}
}


/* v1.5.1: editable page header/front-end template fix */
.tm-editable-page-template{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 0 80px !important;
  background:#fff;
  overflow:hidden;
}
.tm-editable-page-template > *{
  max-width:var(--tm-max);
  margin-left:auto;
  margin-right:auto;
}
.tm-editable-page-template > .wp-block-truemed-page-header,
.tm-editable-page-template > .alignfull,
.tm-page-template-content > .wp-block-truemed-page-header,
.tm-page-template-content > .alignfull{
  max-width:none !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.wp-block-truemed-page-header.tm-page-hero-template,
.tm-page-hero-template.wp-block-truemed-page-header{
  display:block !important;
  background:#071827 !important;
  color:#ffffff !important;
  width:100% !important;
  max-width:none !important;
  padding:112px 0 86px !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}
.wp-block-truemed-page-header .tm-container,
.tm-page-hero-template .tm-container,
.tm-page-hero-template .tm-page-hero-inner{
  width:min(1156px, calc(100% - 48px)) !important;
  max-width:1156px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.wp-block-truemed-page-header h1,
.tm-page-hero-template h1{
  color:#ffffff !important;
}
.wp-block-truemed-page-header .tm-page-hero-description,
.tm-page-hero-template .tm-page-hero-description{
  color:rgba(255,255,255,.54) !important;
}
.wp-block-truemed-page-header .tm-page-hero-stats,
.tm-page-hero-template .tm-page-hero-stats{
  background:rgba(255,255,255,.012) !important;
  border:1px solid rgba(255,255,255,.035) !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat,
.tm-page-hero-template .tm-page-hero-stat{
  border-right:1px solid rgba(255,255,255,.07) !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat span,
.tm-page-hero-template .tm-page-hero-stat span{
  color:rgba(255,255,255,.38) !important;
}


/* v1.5.2: editable page header parity fix */
.tm-page-template-content > .wp-block-truemed-page-header,
.tm-editable-page-template > .wp-block-truemed-page-header{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.wp-block-truemed-page-header.tm-page-hero-template{
  background:#071827 !important;
  color:#fff !important;
  padding:112px 0 86px !important;
  border-radius:0 !important;
}
.wp-block-truemed-page-header .tm-page-hero-copy{
  display:block !important;
  max-width:760px !important;
  margin:0 !important;
  visibility:visible !important;
  opacity:1 !important;
}
.wp-block-truemed-page-header .tm-page-hero-eyebrow,
.wp-block-truemed-page-header h1,
.wp-block-truemed-page-header .tm-page-hero-description{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}
.wp-block-truemed-page-header .tm-page-hero-stats{
  position:static !important;
  transform:none !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header,
.editor-styles-wrapper .tm-page-hero-template{
  background:#071827 !important;
  color:#fff !important;
  padding:112px 0 86px !important;
  border-radius:0 !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-copy{
  display:block !important;
  max-width:760px !important;
  visibility:visible !important;
  opacity:1 !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header h1{color:#fff !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-description{color:rgba(255,255,255,.54) !important;}


/* v1.5.3: tighter interior page header proportions */
.wp-block-truemed-page-header.tm-page-hero-template,
.tm-page-hero-template.wp-block-truemed-page-header{
  padding:112px 0 86px !important;
}
.wp-block-truemed-page-header .tm-page-hero-copy,
.tm-page-hero-template .tm-page-hero-copy{
  max-width:720px !important;
}
.wp-block-truemed-page-header .tm-page-hero-eyebrow,
.tm-page-hero-template .tm-page-hero-eyebrow{
  margin-bottom:16px !important;
  font-size:12px !important;
}
.wp-block-truemed-page-header h1,
.tm-page-hero-template h1{
  font-size:clamp(38px,4vw,54px) !important;
  line-height:1.03 !important;
  max-width:820px !important;
}
.wp-block-truemed-page-header .tm-page-hero-description,
.tm-page-hero-template .tm-page-hero-description{
  margin-top:24px !important;
  font-size:18px !important;
  line-height:1.55 !important;
  font-weight:600 !important;
  max-width:700px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stats,
.tm-page-hero-template .tm-page-hero-stats,
.wp-block-truemed-page-header .tm-page-hero-pills,
.tm-page-hero-template .tm-page-hero-pills{
  margin-top:48px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat,
.tm-page-hero-template .tm-page-hero-stat{
  padding:30px 42px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat strong,
.tm-page-hero-template .tm-page-hero-stat strong{
  font-size:36px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat span,
.tm-page-hero-template .tm-page-hero-stat span{
  margin-top:14px !important;
  font-size:13px !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header,
.editor-styles-wrapper .tm-page-hero-template{
  padding:112px 0 86px !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-eyebrow{margin-bottom:16px !important;font-size:12px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header h1{font-size:clamp(38px,4vw,54px) !important;line-height:1.03 !important;max-width:820px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-description{margin-top:24px !important;font-size:18px !important;font-weight:600 !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stats{margin-top:48px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat{padding:30px 42px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat strong{font-size:36px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat span{margin-top:14px !important;font-size:13px !important;}
@media(max-width:900px){
  .wp-block-truemed-page-header.tm-page-hero-template,
  .tm-page-hero-template.wp-block-truemed-page-header{padding:86px 0 70px !important;}
}


/* v1.5.4: significantly smaller page header headlines and lighter subtext */
.wp-block-truemed-page-header.tm-page-hero-template,
.tm-page-hero-template.wp-block-truemed-page-header{
  padding:82px 0 64px !important;
}
.wp-block-truemed-page-header .tm-page-hero-copy,
.tm-page-hero-template .tm-page-hero-copy{
  max-width:700px !important;
}
.wp-block-truemed-page-header .tm-page-hero-eyebrow,
.tm-page-hero-template .tm-page-hero-eyebrow{
  margin-bottom:14px !important;
  font-size:11px !important;
  letter-spacing:.26em !important;
}
.wp-block-truemed-page-header h1,
.tm-page-hero-template h1{
  font-size:clamp(34px,3.15vw,46px) !important;
  line-height:1.08 !important;
  letter-spacing:-.045em !important;
  max-width:760px !important;
}
.wp-block-truemed-page-header .tm-page-hero-description,
.tm-page-hero-template .tm-page-hero-description{
  margin-top:22px !important;
  font-size:16px !important;
  line-height:1.6 !important;
  font-weight:400 !important;
  max-width:650px !important;
  color:rgba(255,255,255,.58) !important;
}
.wp-block-truemed-page-header .tm-page-hero-stats,
.tm-page-hero-template .tm-page-hero-stats,
.wp-block-truemed-page-header .tm-page-hero-pills,
.tm-page-hero-template .tm-page-hero-pills{
  margin-top:38px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat,
.tm-page-hero-template .tm-page-hero-stat{
  padding:25px 34px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat strong,
.tm-page-hero-template .tm-page-hero-stat strong{
  font-size:32px !important;
}
.wp-block-truemed-page-header .tm-page-hero-stat span,
.tm-page-hero-template .tm-page-hero-stat span{
  margin-top:12px !important;
  font-size:12px !important;
  line-height:1.45 !important;
  font-weight:500 !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header,
.editor-styles-wrapper .tm-page-hero-template{
  padding:82px 0 64px !important;
}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-eyebrow{margin-bottom:14px !important;font-size:11px !important;letter-spacing:.26em !important;}
.editor-styles-wrapper .wp-block-truemed-page-header h1{font-size:clamp(34px,3.15vw,46px) !important;line-height:1.08 !important;letter-spacing:-.045em !important;max-width:760px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-description{margin-top:22px !important;font-size:16px !important;line-height:1.6 !important;font-weight:400 !important;color:rgba(255,255,255,.58) !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stats{margin-top:38px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat{padding:25px 34px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat strong{font-size:32px !important;}
.editor-styles-wrapper .wp-block-truemed-page-header .tm-page-hero-stat span{margin-top:12px !important;font-size:12px !important;font-weight:500 !important;}
@media(max-width:900px){
  .wp-block-truemed-page-header.tm-page-hero-template,
  .tm-page-hero-template.wp-block-truemed-page-header{padding:70px 0 54px !important;}
  .wp-block-truemed-page-header h1,
  .tm-page-hero-template h1{font-size:clamp(32px,8vw,42px) !important;}
}


/* v1.5.5: shared stat reveal/count animation for homepage + page headers */
.tm-page-hero-stat,
.tm-hero .tm-stat{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s ease, transform .65s ease;
}
.tm-page-hero-stat.tm-stat-animated,
.tm-hero .tm-stat.tm-stat-animated{
  opacity:1;
  transform:translateY(0);
}
.tm-page-hero-stat:nth-child(1),
.tm-hero .tm-stat:nth-child(1){transition-delay:0ms;}
.tm-page-hero-stat:nth-child(2),
.tm-hero .tm-stat:nth-child(2){transition-delay:250ms;}
.tm-page-hero-stat:nth-child(3),
.tm-hero .tm-stat:nth-child(3){transition-delay:500ms;}
.tm-page-hero-stat:nth-child(4),
.tm-hero .tm-stat:nth-child(4){transition-delay:750ms;}
@media (prefers-reduced-motion: reduce){
  .tm-page-hero-stat,
  .tm-hero .tm-stat{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* v1.5.6 page-header pill links */
.tm-page-hero-pills a{text-decoration:none;}
.tm-page-hero-pills a:hover{border-color:var(--tm-secondary);color:#fff;background:rgba(138,201,57,.10);}

/* v1.5.8: Page header pill link editor controls */

/* v1.5.9: Mega menu disable toggle + polished fallback dropdown navigation */
.tm-nav .tm-nav-list,
.tm-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}

.tm-nav-dropdowns li{
  position:relative;
  margin:0;
  padding:0;
}

.tm-nav-dropdowns > li > a{
  display:inline-flex;
  align-items:center;
  min-height:72px;
  padding:0 13px;
  color:rgba(255,255,255,.68);
  font-size:14px;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  transition:color .18s ease;
}

.tm-nav-dropdowns > li.menu-item-has-children > a::after{
  content:"";
  width:6px;
  height:6px;
  margin-left:8px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  opacity:.7;
}

.tm-nav-dropdowns > li:hover > a,
.tm-nav-dropdowns > li:focus-within > a,
.tm-nav-dropdowns > li.current-menu-item > a,
.tm-nav-dropdowns > li.current-menu-ancestor > a{
  color:#fff;
}

.tm-nav-dropdowns .sub-menu{
  position:absolute;
  left:50%;
  top:calc(100% - 4px);
  min-width:250px;
  margin:0;
  padding:10px;
  list-style:none;
  background:linear-gradient(180deg,#0e2a43,#092136);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  box-shadow:0 24px 60px rgba(0,0,0,.34);
  transform:translate(-50%,8px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:1500;
}

.tm-nav-dropdowns li:hover > .sub-menu,
.tm-nav-dropdowns li:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}

.tm-nav-dropdowns .sub-menu::before{
  content:"";
  position:absolute;
  left:50%;
  top:-6px;
  width:10px;
  height:10px;
  background:#0e2a43;
  border-left:1px solid rgba(255,255,255,.10);
  border-top:1px solid rgba(255,255,255,.10);
  transform:translateX(-50%) rotate(45deg);
}

.tm-nav-dropdowns .sub-menu a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 12px;
  color:rgba(255,255,255,.78);
  font-size:14px;
  font-weight:760;
  line-height:1.25;
  text-decoration:none;
  border-radius:8px;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.tm-nav-dropdowns .sub-menu a:hover,
.tm-nav-dropdowns .sub-menu a:focus-visible,
.tm-nav-dropdowns .sub-menu .current-menu-item > a{
  color:#fff;
  background:rgba(138,201,57,.12);
  outline:none;
  transform:translateX(2px);
}

.tm-nav-dropdowns .sub-menu li.menu-item-has-children > a::after{
  content:"›";
  color:var(--tm-secondary);
  font-size:18px;
  line-height:1;
}

.tm-nav-dropdowns .sub-menu .sub-menu{
  top:0;
  left:calc(100% + 10px);
  transform:translate(8px,0);
}

.tm-nav-dropdowns .sub-menu li:hover > .sub-menu,
.tm-nav-dropdowns .sub-menu li:focus-within > .sub-menu{
  transform:translate(0,0);
}

.tm-nav-dropdowns .sub-menu .sub-menu::before{
  left:-6px;
  top:17px;
  transform:rotate(-45deg);
}

@media (max-width: 960px){
  .tm-nav .tm-nav-list,
  .tm-nav-list{display:block;}
  .tm-nav-dropdowns .sub-menu{
    position:static;
    min-width:0;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
    box-shadow:none;
    background:transparent;
    border:0;
    padding:6px 0 4px 12px;
    margin:0 0 8px 10px;
    border-left:1px solid rgba(138,201,57,.24);
  }
  .tm-nav-dropdowns .sub-menu::before{display:none;}
  .tm-nav-dropdowns > li > a{min-height:0;padding:14px;}
}


/* TrueMed rich footer */
.tm-footer-rich{background:#071827;color:rgba(255,255,255,.68);padding:64px 0 30px;border-top:1px solid rgba(255,255,255,.08)}
.tm-footer-grid{display:grid;grid-template-columns:minmax(280px,1.4fr) .75fr .8fr 1.25fr;gap:48px;align-items:start}
.tm-footer-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#fff;margin-bottom:18px}
.tm-footer-logo img{display:block;max-width:190px;max-height:58px;width:auto;height:auto}
.tm-footer-logo-text{font-size:30px;line-height:1;font-weight:950;letter-spacing:-.04em;color:#fff}
.tm-footer-about{max-width:420px;margin:0;color:rgba(255,255,255,.66);font-size:15px;line-height:1.7}
.tm-footer h2{margin:0 0 14px;color:#8AC939;font-size:12px;line-height:1;text-transform:uppercase;letter-spacing:.22em;font-weight:950}
.tm-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tm-footer-menu a,.tm-footer-contact a{color:rgba(255,255,255,.76);text-decoration:none;font-weight:750;transition:color .18s ease}
.tm-footer-menu a:hover,.tm-footer-contact a:hover{color:#8AC939}
.tm-footer-contact p{margin:0 0 10px}
.tm-footer-addresses{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.tm-footer-address address{font-style:normal;color:rgba(255,255,255,.66);font-size:14px;line-height:1.65}
.tm-footer-bottom{margin-top:46px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:24px;color:rgba(255,255,255,.52);font-size:13px}
.tm-footer-bottom p{margin:0}
@media(max-width:1100px){.tm-footer-grid{grid-template-columns:1fr 1fr}.tm-footer-addresses{grid-template-columns:1fr}}
@media(max-width:700px){.tm-footer-rich{padding:48px 0 26px}.tm-footer-grid{grid-template-columns:1fr;gap:32px}.tm-footer-bottom{margin-top:34px}.tm-footer-logo img{max-width:165px}}


/* v1.6.0: Platform overview header split layout correction
   Keeps the copy and side cards in the same visual row on desktop. */
@media (min-width: 901px){
  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-inner,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-inner{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(420px, 560px) !important;
    column-gap:86px !important;
    align-items:start !important;
  }

  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-copy,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-copy{
    grid-column:1 !important;
    grid-row:1 !important;
    max-width:650px !important;
  }

  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-split,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-split{
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    margin-top:34px !important;
  }

  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-split > div:first-child,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-split > div:first-child{
    display:none !important;
  }

  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-mini-cards,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-mini-cards{
    display:grid !important;
    gap:14px !important;
  }

  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-mini-card,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-mini-card{
    padding:22px 28px 22px 30px !important;
  }
}

@media (max-width: 900px){
  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-split,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-split{
    margin-top:38px !important;
    display:block !important;
  }
  .wp-block-truemed-page-header.tm-page-hero-split-cards .tm-page-hero-split > div:first-child,
  .tm-page-hero-template.tm-page-hero-split-cards .tm-page-hero-split > div:first-child{
    display:none !important;
  }
}

/* v1.6.0: Mobile homepage hero stack fix */
@media (max-width: 640px){
  .tm-hero,
  .tm-hero .tm-hero-track{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .tm-hero .tm-hero-track{
    display:block !important;
  }

  .tm-hero .tm-hero-slide{
    position:absolute !important;
    inset:0 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }

  .tm-hero .tm-hero-slide.is-active{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    overflow:visible !important;
  }

  .tm-hero .tm-hero-inner,
  .tm-hero.tm-active-has-stats .tm-hero-inner,
  .tm-hero.tm-active-no-stats .tm-hero-inner,
  .tm-hero .tm-slide-has-stats .tm-hero-inner,
  .tm-hero .tm-slide-no-stats .tm-hero-inner{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:72px 0 28px !important;
  }

  .tm-hero h1,
  .tm-hero.tm-active-has-stats h1,
  .tm-hero.tm-active-no-stats h1{
    font-size:clamp(34px, 10vw, 44px) !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
    max-width:100% !important;
    margin:14px 0 16px !important;
  }

  .tm-hero p,
  .tm-hero.tm-active-has-stats p,
  .tm-hero.tm-active-no-stats p{
    font-size:15.5px !important;
    line-height:1.55 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  .tm-hero .tm-actions,
  .tm-hero.tm-active-has-stats .tm-actions,
  .tm-hero.tm-active-no-stats .tm-actions{
    width:100% !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    margin-top:22px !important;
  }

  .tm-hero .tm-actions .wp-block-button{
    flex:1 1 0 !important;
    min-width:0 !important;
  }

  .tm-hero .tm-actions .wp-block-button__link{
    width:100% !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
    text-align:center !important;
    padding:12px 10px !important;
    font-size:13px !important;
    line-height:1.1 !important;
  }

  .tm-hero .tm-hero-stats-wrap,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:100% !important;
    margin:28px 0 72px !important;
    z-index:4 !important;
  }

  .tm-hero .tm-hero-stats-wrap .tm-stats,
  .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    min-height:0 !important;
    width:100% !important;
    border-radius:8px !important;
    overflow:hidden !important;
  }

  .tm-hero .tm-stat{
    padding:18px 14px !important;
    border-right:1px solid rgba(255,255,255,.08) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }

  .tm-hero .tm-stat:nth-child(2n){
    border-right:0 !important;
  }

  .tm-hero .tm-stat strong{
    font-size:26px !important;
  }

  .tm-hero .tm-stat span{
    font-size:11.5px !important;
    line-height:1.35 !important;
  }

  .tm-hero .tm-hero-controls{
    bottom:22px !important;
  }
}

@media (max-width: 380px){
  .tm-hero .tm-actions .wp-block-button__link{
    font-size:12px !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }
}

/* v1.6.1: final mobile homepage hero fix - no CTA/stat overlap */
@media (max-width: 640px){
  body.home .tm-hero,
  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }

  body.home .tm-hero .tm-hero-slide{
    position:absolute !important;
    inset:0 !important;
    display:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }

  body.home .tm-hero .tm-hero-slide.is-active{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    display:block !important;
    padding:70px 0 0 !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1{
    font-size:clamp(36px, 10.4vw, 48px) !important;
    line-height:1.02 !important;
    letter-spacing:-.055em !important;
    max-width:100% !important;
    margin:16px 0 20px !important;
  }

  body.home .tm-hero p,
  body.home .tm-hero.tm-active-has-stats p,
  body.home .tm-hero.tm-active-no-stats p{
    font-size:16px !important;
    line-height:1.55 !important;
    font-weight:700 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
    margin:26px 0 0 !important;
  }

  body.home .tm-hero .tm-actions .tm-btn,
  body.home .tm-hero .tm-actions .tm-btn-primary,
  body.home .tm-hero .tm-actions .tm-btn-secondary{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:50px !important;
    padding:0 8px !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
    font-size:13px !important;
    line-height:1 !important;
    text-align:center !important;
    justify-content:center !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:100% !important;
    margin:18px 0 44px !important;
    z-index:2 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    padding:22px 28px !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }

  body.home .tm-hero .tm-stat:last-child,
  body.home .tm-hero.tm-active-has-stats .tm-stat:last-child{
    border-bottom:0 !important;
  }

  body.home .tm-hero .tm-stat strong,
  body.home .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:30px !important;
    line-height:1 !important;
  }

  body.home .tm-hero .tm-stat span,
  body.home .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12px !important;
    line-height:1.35 !important;
  }

  body.home .tm-hero .tm-hero-controls{
    display:none !important;
  }
}

@media (max-width: 380px){
  body.home .tm-hero .tm-actions{
    gap:8px !important;
  }
  body.home .tm-hero .tm-actions .tm-btn{
    font-size:12px !important;
    height:48px !important;
  }
}

/* v1.6.2: responsive homepage hero stats - no clipping, 2x2 mobile/tablet */
@media (max-width: 960px){
  body.home .tm-hero,
  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }

  body.home .tm-hero .tm-hero-slide{
    position:absolute !important;
    inset:0 !important;
    display:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
  }

  body.home .tm-hero .tm-hero-slide.is-active{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    display:block !important;
    padding:72px 0 0 !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    width:min(100%, 440px) !important;
    gap:12px !important;
    flex-wrap:nowrap !important;
  }

  body.home .tm-hero .tm-actions .tm-btn,
  body.home .tm-hero .tm-actions .tm-btn-primary,
  body.home .tm-hero .tm-actions .tm-btn-secondary{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    white-space:nowrap !important;
    justify-content:center !important;
    text-align:center !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:100% !important;
    margin:56px 0 56px !important;
    z-index:2 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    padding:28px 28px !important;
    min-height:132px !important;
    border-right:1px solid rgba(255,255,255,.08) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }

  body.home .tm-hero .tm-stat:nth-child(2n),
  body.home .tm-hero.tm-active-has-stats .tm-stat:nth-child(2n){
    border-right:0 !important;
  }

  body.home .tm-hero .tm-stat:nth-last-child(-n+2),
  body.home .tm-hero.tm-active-has-stats .tm-stat:nth-last-child(-n+2){
    border-bottom:0 !important;
  }

  body.home .tm-hero .tm-hero-controls{
    display:none !important;
  }
}

@media (max-width: 640px){
  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1{
    font-size:clamp(36px, 10vw, 52px) !important;
    line-height:1.02 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    margin:52px 0 44px !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    padding:24px 20px !important;
    min-height:126px !important;
  }

  body.home .tm-hero .tm-stat strong,
  body.home .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:30px !important;
  }

  body.home .tm-hero .tm-stat span,
  body.home .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:11.5px !important;
    line-height:1.35 !important;
  }
}

/* v1.6.3: mobile homepage hero gutter + tighter top spacing */
@media (max-width: 960px){
  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    padding-top:12px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 40px) !important;
    max-width:440px !important;
    margin:32px auto 44px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    width:100% !important;
    border-radius:16px !important;
  }
}

@media (min-width: 641px) and (max-width: 960px){
  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    max-width:calc(100% - 40px) !important;
  }
}

@media (max-width: 640px){
  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 40px) !important;
    max-width:440px !important;
    margin:32px auto 40px !important;
  }
}


/* v1.6.4: confirmed H1 reduction + shorter homepage hero */
h1,
.tm-hero h1,
.tm-page-header h1,
.tm-page-header__title,
.wp-block-heading.has-x-large-font-size{
  font-size:clamp(34px, 4.8vw, 64px) !important;
  line-height:1.02 !important;
}

body.home .tm-hero .tm-hero-track,
body.home .tm-hero.tm-active-has-stats .tm-hero-track,
body.home .tm-hero.tm-active-no-stats .tm-hero-track{
  min-height:700px !important;
}

body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner{
  padding-top:82px !important;
  padding-bottom:235px !important;
}

body.home .tm-hero .tm-hero-stats-wrap,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  bottom:82px !important;
}

@media (max-width: 960px){
  h1,
  .tm-hero h1,
  .tm-page-header h1,
  .tm-page-header__title,
  .wp-block-heading.has-x-large-font-size{
    font-size:clamp(34px, 7vw, 54px) !important;
  }

  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:0 !important;
    height:auto !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    padding-top:10px !important;
    padding-bottom:0 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position:relative !important;
    bottom:auto !important;
    width:calc(100% - 40px) !important;
    max-width:440px !important;
    margin:28px auto 38px !important;
  }
}

@media (max-width: 640px){
  h1,
  .tm-hero h1,
  .tm-page-header h1,
  .tm-page-header__title,
  .wp-block-heading.has-x-large-font-size{
    font-size:clamp(32px, 9vw, 46px) !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 40px) !important;
    max-width:440px !important;
    margin:28px auto 36px !important;
  }
}

/* v1.6.5 HARD OVERRIDE: homepage hero sizing + mobile stats centering
   This sits at the very end of the stylesheet so it wins over older duplicate rules. */
body.home .tm-hero,
body.home .tm-hero.tm-active-has-stats,
body.home .tm-hero.tm-active-no-stats{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

body.home .tm-hero .tm-hero-track,
body.home .tm-hero.tm-active-has-stats .tm-hero-track,
body.home .tm-hero.tm-active-no-stats .tm-hero-track{
  min-height:620px !important;
  height:auto !important;
}

body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
  padding-top:76px !important;
  padding-bottom:185px !important;
}

body.home .tm-hero h1,
body.home .tm-hero.tm-active-has-stats h1,
body.home .tm-hero.tm-active-no-stats h1,
body.home .tm-hero .tm-hero-inner h1,
body.home .tm-hero .tm-slide-has-stats h1,
body.home .tm-hero .tm-slide-no-stats h1{
  font-size:clamp(42px, 4.1vw, 54px) !important;
  line-height:1.02 !important;
  letter-spacing:-.052em !important;
  max-width:650px !important;
  margin-top:0 !important;
  margin-bottom:18px !important;
}

body.home .tm-hero .tm-kicker,
body.home .tm-hero.tm-active-has-stats .tm-kicker{
  margin-bottom:18px !important;
}

body.home .tm-hero .tm-actions,
body.home .tm-hero.tm-active-has-stats .tm-actions,
body.home .tm-hero.tm-active-no-stats .tm-actions{
  margin-top:26px !important;
}

body.home .tm-hero .tm-hero-stats-wrap,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  bottom:48px !important;
  width:min(1156px, calc(100% - 64px)) !important;
  left:50% !important;
  transform:translateX(-50%) !important;
}

body.home .tm-hero .tm-stats,
body.home .tm-hero.tm-active-has-stats .tm-stats{
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Universal H1 reduction across interior headers too */
h1,
.tm-page-header h1,
.tm-page-header__title,
.wp-block-heading.has-x-large-font-size{
  font-size:clamp(34px, 4.4vw, 56px) !important;
  line-height:1.06 !important;
}

@media (max-width: 960px){
  body.home .tm-hero,
  body.home .tm-hero.tm-active-has-stats,
  body.home .tm-hero.tm-active-no-stats{
    overflow:visible !important;
  }

  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:0 !important;
    height:auto !important;
    display:block !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 40px) !important;
    max-width:720px !important;
    padding-top:34px !important;
    padding-bottom:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(34px, 8.3vw, 44px) !important;
    line-height:1.04 !important;
    max-width:100% !important;
    margin:0 0 16px !important;
  }

  body.home .tm-hero .tm-kicker,
  body.home .tm-hero.tm-active-has-stats .tm-kicker{
    margin-bottom:14px !important;
  }

  body.home .tm-hero p,
  body.home .tm-hero.tm-active-has-stats p,
  body.home .tm-hero.tm-active-no-stats p{
    font-size:15.5px !important;
    line-height:1.55 !important;
    font-weight:500 !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:22px 0 0 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:calc(100% - 40px) !important;
    max-width:440px !important;
    margin:26px auto 34px !important;
    padding:0 !important;
  }

  body.home .tm-hero .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-stats{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    width:100% !important;
    max-width:440px !important;
    margin:0 auto !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    min-width:0 !important;
    min-height:112px !important;
    padding:22px 16px !important;
    text-align:left !important;
    border-right:1px solid rgba(255,255,255,.08) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }

  body.home .tm-hero .tm-stat:nth-child(2n),
  body.home .tm-hero.tm-active-has-stats .tm-stat:nth-child(2n){
    border-right:0 !important;
  }

  body.home .tm-hero .tm-stat:nth-last-child(-n+2),
  body.home .tm-hero.tm-active-has-stats .tm-stat:nth-last-child(-n+2){
    border-bottom:0 !important;
  }

  h1,
  .tm-page-header h1,
  .tm-page-header__title,
  .wp-block-heading.has-x-large-font-size{
    font-size:clamp(32px, 7vw, 46px) !important;
  }
}

@media (max-width: 480px){
  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 36px) !important;
    padding-top:28px !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(32px, 9vw, 40px) !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 36px) !important;
    max-width:400px !important;
    margin:24px auto 30px !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    min-height:106px !important;
    padding:19px 14px !important;
  }

  body.home .tm-hero .tm-stat strong,
  body.home .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:28px !important;
  }

  body.home .tm-hero .tm-stat span,
  body.home .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12px !important;
    line-height:1.35 !important;
  }
}


/* v1.6.5 FINAL HERO TIGHTENING OVERRIDES
   Purpose: reduce homepage hero height, reduce all H1s by ~10px, and center mobile stats. */

/* Universal H1 reduction */
h1,
.tm-hero h1,
.tm-page-header h1,
.tm-page-header__title,
.wp-block-heading.is-style-h1,
.wp-block-heading.has-x-large-font-size{
  font-size:clamp(36px, 4.2vw, 56px) !important;
  line-height:1.02 !important;
}

/* Homepage hero: remove the excessive dead space between CTA buttons and stat bar */
body.home .tm-hero,
body.home .tm-hero.tm-active-has-stats,
body.home .tm-hero.tm-active-no-stats{
  padding:0 !important;
}

body.home .tm-hero .tm-hero-track,
body.home .tm-hero.tm-active-has-stats .tm-hero-track,
body.home .tm-hero.tm-active-no-stats .tm-hero-track{
  min-height:620px !important;
  height:620px !important;
}

body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
  padding-top:86px !important;
  padding-bottom:0 !important;
}

body.home .tm-hero h1,
body.home .tm-hero.tm-active-has-stats h1,
body.home .tm-hero.tm-active-no-stats h1,
body.home .tm-hero .tm-hero-inner h1,
body.home .tm-hero .tm-slide-has-stats h1,
body.home .tm-hero .tm-slide-no-stats h1{
  max-width:710px !important;
  font-size:clamp(42px, 4vw, 56px) !important;
  line-height:1.02 !important;
  margin:0 0 22px !important;
  letter-spacing:-.05em !important;
}

body.home .tm-hero .tm-kicker,
body.home .tm-hero.tm-active-has-stats .tm-kicker{
  margin-bottom:18px !important;
}

body.home .tm-hero p,
body.home .tm-hero.tm-active-has-stats p,
body.home .tm-hero.tm-active-no-stats p{
  max-width:700px !important;
  margin:0 0 28px !important;
  font-size:18px !important;
  line-height:1.5 !important;
}

body.home .tm-hero .tm-actions,
body.home .tm-hero.tm-active-has-stats .tm-actions,
body.home .tm-hero.tm-active-no-stats .tm-actions{
  margin-top:0 !important;
}

body.home .tm-hero .tm-hero-stats-wrap,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  bottom:42px !important;
  transform:translateX(-50%) !important;
  width:min(var(--tm-max), calc(100% - 40px)) !important;
  max-width:var(--tm-max) !important;
  margin:0 !important;
}

body.home .tm-hero .tm-stats,
body.home .tm-hero.tm-active-has-stats .tm-stats{
  margin:0 auto !important;
}

@media (max-width:960px){
  h1,
  .tm-hero h1,
  .tm-page-header h1,
  .tm-page-header__title,
  .wp-block-heading.is-style-h1,
  .wp-block-heading.has-x-large-font-size{
    font-size:clamp(34px, 6vw, 48px) !important;
  }

  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:700px !important;
    height:700px !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 40px) !important;
    padding-top:52px !important;
    padding-bottom:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(36px, 7vw, 48px) !important;
    line-height:1.02 !important;
    max-width:760px !important;
  }

  body.home .tm-hero p,
  body.home .tm-hero.tm-active-has-stats p,
  body.home .tm-hero.tm-active-no-stats p{
    font-size:16px !important;
    max-width:700px !important;
    margin-bottom:26px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:32px !important;
    width:calc(100% - 40px) !important;
    max-width:760px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }
}

@media (max-width:640px){
  body.home .tm-hero .tm-hero-track,
  body.home .tm-hero.tm-active-has-stats .tm-hero-track,
  body.home .tm-hero.tm-active-no-stats .tm-hero-track{
    min-height:760px !important;
    height:760px !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 32px) !important;
    padding-top:38px !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(32px, 9vw, 42px) !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:12px !important;
    width:100% !important;
  }

  body.home .tm-hero .tm-actions .tm-btn,
  body.home .tm-hero.tm-active-has-stats .tm-actions .tm-btn,
  body.home .tm-hero.tm-active-no-stats .tm-actions .tm-btn{
    width:100% !important;
    min-width:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    bottom:28px !important;
    width:calc(100% - 32px) !important;
    max-width:520px !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    min-height:112px !important;
    padding:20px 16px !important;
  }
}

/* v1.6.6 REAL HOMEPAGE HERO FIX
   Removes the artificial fixed hero height/absolute stats positioning that caused the desktop bus-sized gap and mobile overlap. */
body.home .tm-hero,
body.home .tm-hero.tm-active-has-stats,
body.home .tm-hero.tm-active-no-stats{
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
  overflow:hidden !important;
}

body.home .tm-hero .tm-hero-track,
body.home .tm-hero.tm-active-has-stats .tm-hero-track,
body.home .tm-hero.tm-active-no-stats .tm-hero-track{
  height:auto !important;
  min-height:0 !important;
  display:block !important;
}

body.home .tm-hero .tm-hero-slide{
  position:absolute !important;
  inset:0 !important;
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
}

body.home .tm-hero .tm-hero-slide.is-active{
  position:relative !important;
  inset:auto !important;
  height:auto !important;
  min-height:0 !important;
  display:block !important;
  padding-bottom:48px !important;
}

body.home .tm-hero .tm-hero-bg{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
}

body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
  position:relative !important;
  z-index:2 !important;
  padding-top:78px !important;
  padding-bottom:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.home .tm-hero h1,
body.home .tm-hero.tm-active-has-stats h1,
body.home .tm-hero.tm-active-no-stats h1,
body.home .tm-hero .tm-hero-inner h1,
body.home .tm-hero .tm-slide-has-stats h1,
body.home .tm-hero .tm-slide-no-stats h1{
  font-size:clamp(40px, 3.6vw, 54px) !important;
  line-height:1.02 !important;
  max-width:720px !important;
  margin:0 0 20px !important;
  letter-spacing:-.052em !important;
}

body.home .tm-hero .tm-kicker,
body.home .tm-hero.tm-active-has-stats .tm-kicker{
  margin-bottom:18px !important;
}

body.home .tm-hero p,
body.home .tm-hero.tm-active-has-stats p,
body.home .tm-hero.tm-active-no-stats p{
  margin:0 0 26px !important;
  max-width:700px !important;
  font-size:18px !important;
  line-height:1.5 !important;
}

body.home .tm-hero .tm-actions,
body.home .tm-hero.tm-active-has-stats .tm-actions,
body.home .tm-hero.tm-active-no-stats .tm-actions{
  margin:0 !important;
}

body.home .tm-hero .tm-hero-stats-wrap,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
  position:relative !important;
  z-index:2 !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  width:min(var(--tm-max), calc(100% - 40px)) !important;
  max-width:var(--tm-max) !important;
  margin:54px auto 0 !important;
}

body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats,
body.home .tm-hero .tm-stats,
body.home .tm-hero.tm-active-has-stats .tm-stats{
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
}

@media (max-width:960px){
  body.home .tm-hero .tm-hero-slide.is-active{
    padding-bottom:34px !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 40px) !important;
    padding-top:52px !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(34px, 6.2vw, 48px) !important;
    line-height:1.03 !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 40px) !important;
    max-width:760px !important;
    margin-top:42px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }
}

@media (max-width:640px){
  body.home .tm-hero .tm-hero-slide.is-active{
    padding-bottom:32px !important;
  }

  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner{
    width:calc(100% - 32px) !important;
    padding-top:36px !important;
  }

  body.home .tm-hero h1,
  body.home .tm-hero.tm-active-has-stats h1,
  body.home .tm-hero.tm-active-no-stats h1,
  body.home .tm-hero .tm-hero-inner h1,
  body.home .tm-hero .tm-slide-has-stats h1,
  body.home .tm-hero .tm-slide-no-stats h1{
    font-size:clamp(31px, 8.5vw, 40px) !important;
    line-height:1.02 !important;
  }

  body.home .tm-hero p,
  body.home .tm-hero.tm-active-has-stats p,
  body.home .tm-hero.tm-active-no-stats p{
    font-size:15px !important;
    line-height:1.45 !important;
    margin-bottom:24px !important;
  }

  body.home .tm-hero .tm-actions,
  body.home .tm-hero.tm-active-has-stats .tm-actions,
  body.home .tm-hero.tm-active-no-stats .tm-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:12px !important;
    width:100% !important;
  }

  body.home .tm-hero .tm-actions .tm-btn,
  body.home .tm-hero.tm-active-has-stats .tm-actions .tm-btn,
  body.home .tm-hero.tm-active-no-stats .tm-actions .tm-btn{
    width:100% !important;
    min-width:0 !important;
    padding:13px 10px !important;
    font-size:13px !important;
    white-space:nowrap !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap{
    width:calc(100% - 32px) !important;
    max-width:520px !important;
    margin-top:32px !important;
  }

  body.home .tm-hero .tm-hero-stats-wrap .tm-stats,
  body.home .tm-hero.tm-active-has-stats .tm-hero-stats-wrap .tm-stats{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }

  body.home .tm-hero .tm-stat,
  body.home .tm-hero.tm-active-has-stats .tm-stat{
    min-height:112px !important;
    padding:18px 14px !important;
  }

  body.home .tm-hero .tm-stat strong,
  body.home .tm-hero.tm-active-has-stats .tm-stat strong{
    font-size:28px !important;
  }

  body.home .tm-hero .tm-stat span,
  body.home .tm-hero.tm-active-has-stats .tm-stat span{
    font-size:12px !important;
    line-height:1.35 !important;
  }
}


/* v1.6.7 footer gap hard fix: remove theme wrapper whitespace below final content block */
html, body{margin-bottom:0 !important; padding-bottom:0 !important;}
.tm-main{min-height:0 !important; margin-bottom:0 !important; padding-bottom:0 !important;}
.tm-page-content{padding-top:0 !important; padding-bottom:0 !important; margin-bottom:0 !important;}
.tm-page-content > :last-child{margin-bottom:0 !important;}
.tm-page-content > .wp-block-group:last-child,
.tm-page-content > section:last-child,
.tm-page-content > div:last-child{margin-bottom:0 !important;}
body:not(.home) .tm-page-content{padding-bottom:0 !important;}
.tm-footer,.tm-footer-rich{margin-top:0 !important;}


/* v1.6.8 non-home footer gap fix: editable templates were keeping 80px white padding after the final block */
body:not(.home) .tm-editable-page-template,
body:not(.home) .tm-page-template-content{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
body:not(.home) .tm-editable-page-template > :last-child,
body:not(.home) .tm-page-template-content > :last-child{
  margin-bottom:0 !important;
}
body:not(.home) .tm-editable-page-template > .tmcb-section:last-child,
body:not(.home) .tm-page-template-content > .tmcb-section:last-child,
body:not(.home) .tm-editable-page-template > .alignfull:last-child,
body:not(.home) .tm-page-template-content > .alignfull:last-child{
  margin-bottom:0 !important;
}
body:not(.home) .tm-editable-page-template + .tm-footer,
body:not(.home) .tm-page-template-content + .tm-footer{
  margin-top:0 !important;
}

/* v1.6.9 Single Post Template */
.tm-single-post-main{
  background:#fff;
}
.tm-single-post{
  width:min(820px, calc(100% - 40px));
  margin:0 auto;
  padding:74px 0 44px;
}
.tm-single-post__header{
  margin-bottom:34px;
}
.tm-single-post__category{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-bottom:18px;
  padding:8px 13px;
  border-radius:6px;
  background:#ECF8DA;
  color:#7FBD2A;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:950;
}
.tm-single-post__title{
  margin:0 0 16px;
  color:#071827;
  font-size:clamp(38px, 5vw, 58px);
  line-height:1.02;
  letter-spacing:-.052em;
  font-weight:950;
}
.tm-single-post__meta{
  display:flex;
  align-items:center;
  gap:10px;
  color:#7B8A98;
  font-size:15px;
  font-weight:750;
  margin-bottom:22px;
}
.tm-single-post__meta a{
  color:#0B2438;
  text-decoration:none;
}
.tm-single-post__dek{
  margin:0;
  color:#536577;
  font-size:21px;
  line-height:1.65;
  font-weight:450;
}
.tm-single-post__featured{
  margin:0 0 42px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,46,75,.12);
}
.tm-single-post__featured img{
  display:block;
  width:100%;
}
.tm-single-post__content{
  color:#26394A;
  font-size:18px;
  line-height:1.88;
}
.tm-single-post__content > *{
  margin-top:0;
  margin-bottom:1.45em;
}
.tm-single-post__content h2,
.tm-single-post__content h3,
.tm-single-post__content h4{
  color:#071827;
  line-height:1.15;
  letter-spacing:-.035em;
  margin-top:2em;
  margin-bottom:.65em;
}
.tm-single-post__content h2{font-size:32px;}
.tm-single-post__content h3{font-size:25px;}
.tm-single-post__content h4{font-size:20px;}
.tm-single-post__content a{
  color:#0A5B57;
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.tm-single-post__content ul,
.tm-single-post__content ol{
  padding-left:1.35em;
}
.tm-single-post__content li{
  margin-bottom:.55em;
}
.tm-single-post__content blockquote{
  margin:2.2em 0;
  padding:22px 28px;
  border-left:3px solid var(--tm-secondary);
  background:#F5F8FA;
  border-radius:0 14px 14px 0;
  color:#3E5264;
}
.tm-single-post__content table{
  width:100%;
  border-collapse:collapse;
  margin:2em 0;
  font-size:16px;
}
.tm-single-post__content th,
.tm-single-post__content td{
  padding:13px 14px;
  border:1px solid #DDE5EA;
  vertical-align:top;
}
.tm-single-post__content th{
  background:#F5F8FA;
  color:#071827;
}
.tm-single-related{
  background:#F5F8FA;
  border-top:1px solid #E4EBEF;
  padding:70px 0 82px;
}
.tm-single-related__inner{
  width:min(1080px, calc(100% - 40px));
  margin:0 auto;
}
.tm-single-related__kicker{
  margin:0 0 12px;
}
.tm-single-related h2{
  margin:0 0 30px;
  color:#071827;
  font-size:clamp(32px, 4vw, 46px);
  line-height:1.06;
  letter-spacing:-.045em;
}
.tm-single-related__list{
  display:grid;
  gap:18px;
}
.tm-resource-row{
  position:relative;
  display:block;
  padding:28px 74px 28px 28px;
  border:1px solid #DCE5EB;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 40px rgba(0,46,75,.04);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tm-resource-row:hover{
  transform:translateY(-2px);
  border-color:rgba(138,201,57,.55);
  box-shadow:0 18px 44px rgba(0,46,75,.08);
}
.tm-resource-row__meta{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:13px;
  color:#7B8A98;
  font-size:14px;
  font-weight:750;
}
.tm-resource-row__tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:5px;
  background:#ECF8DA;
  color:#7FBD2A;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:950;
}
.tm-resource-row__title{
  display:block;
  margin-bottom:8px;
  color:#071827;
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:900;
}
.tm-resource-row__excerpt{
  display:block;
  color:#536577;
  font-size:17px;
  line-height:1.55;
}
.tm-resource-row__arrow{
  position:absolute;
  right:28px;
  top:50%;
  transform:translateY(-50%);
  color:#B6C1C9;
  font-size:34px;
  line-height:1;
}
@media (max-width: 760px){
  .tm-single-post{
    width:min(100% - 32px, 820px);
    padding:48px 0 34px;
  }
  .tm-single-post__title{
    font-size:clamp(34px, 12vw, 44px);
  }
  .tm-single-post__content{
    font-size:17px;
    line-height:1.78;
  }
  .tm-single-related{
    padding:48px 0 56px;
  }
  .tm-single-related__inner{
    width:calc(100% - 32px);
  }
  .tm-resource-row{
    padding:22px 48px 22px 20px;
  }
  .tm-resource-row__arrow{
    right:18px;
    font-size:28px;
  }
}

/* v1.7.0 Editorial Single Post Width + Polish */
body.single-post .tm-single-post{
  width:min(1080px, calc(100% - 48px)) !important;
  max-width:1080px !important;
  padding:72px 0 52px !important;
}
body.single-post .tm-single-post__header,
body.single-post .tm-single-post__featured{
  width:100% !important;
  max-width:1080px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.single-post .tm-single-post__content{
  width:min(780px, 100%) !important;
  max-width:780px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  color:#26394A !important;
  font-size:19px !important;
  line-height:1.92 !important;
  font-weight:430 !important;
}
body.single-post .tm-single-post__content > *{
  margin-bottom:1.55em !important;
}
body.single-post .tm-single-post__title{
  max-width:980px !important;
  font-size:clamp(42px, 4.6vw, 62px) !important;
  line-height:1.02 !important;
  letter-spacing:-.052em !important;
}
body.single-post .tm-single-post__meta{
  padding-bottom:18px !important;
  margin-bottom:28px !important;
  border-bottom:1px solid #E3EAF0 !important;
  color:#728394 !important;
  font-size:14px !important;
}
body.single-post .tm-single-post__dek{
  max-width:780px !important;
  color:#536577 !important;
  font-size:21px !important;
  line-height:1.68 !important;
}
body.single-post .tm-single-post__featured{
  margin-top:12px !important;
  margin-bottom:52px !important;
  border-radius:24px !important;
  border:1px solid rgba(7,24,39,.06) !important;
  box-shadow:0 24px 70px rgba(0,46,75,.14) !important;
}
body.single-post .tm-single-post__featured img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/8.25 !important;
  object-fit:cover !important;
}
body.single-post .tm-single-post__content h2{
  font-size:34px !important;
  line-height:1.12 !important;
  margin-top:2.15em !important;
  margin-bottom:.72em !important;
}
body.single-post .tm-single-post__content h3{
  font-size:26px !important;
  margin-top:1.85em !important;
}
body.single-post .tm-single-post__content p{
  margin-bottom:1.55em !important;
}
body.single-post .tm-single-post__content blockquote{
  padding:26px 30px !important;
  background:#F4F8FA !important;
  border-left:4px solid #8AC939 !important;
  box-shadow:0 14px 38px rgba(0,46,75,.05) !important;
}
body.single-post .tm-single-post__content ul,
body.single-post .tm-single-post__content ol{
  margin-bottom:1.7em !important;
}
body.single-post .tm-single-post__content li{
  padding-left:.15em !important;
  margin-bottom:.72em !important;
}
body.single-post .tm-single-related__inner{
  width:min(1080px, calc(100% - 48px)) !important;
  max-width:1080px !important;
}
body.single-post .tm-single-related{
  margin-top:0 !important;
  padding-top:76px !important;
  padding-bottom:88px !important;
}
@media (max-width: 760px){
  body.single-post .tm-single-post,
  body.single-post .tm-single-related__inner{
    width:calc(100% - 32px) !important;
  }
  body.single-post .tm-single-post{
    padding:46px 0 34px !important;
  }
  body.single-post .tm-single-post__title{
    font-size:clamp(34px, 11vw, 44px) !important;
  }
  body.single-post .tm-single-post__content{
    font-size:17.5px !important;
    line-height:1.82 !important;
  }
  body.single-post .tm-single-post__featured img{
    aspect-ratio:16/10.5 !important;
  }
}

/* v1.7.1 Single post editorial hero: image left, text right, wider body copy */
body.single-post .tm-single-post{
  width:min(1080px, calc(100% - 48px)) !important;
  max-width:1080px !important;
  padding:64px 0 42px !important;
}
body.single-post .tm-single-post__hero-row{
  display:grid !important;
  grid-template-columns:minmax(280px, 420px) minmax(0, 1fr) !important;
  gap:46px !important;
  align-items:center !important;
  width:100% !important;
  margin:0 auto 54px !important;
}
body.single-post .tm-single-post__hero-row.no-featured-image{
  display:block !important;
}
body.single-post .tm-single-post__header{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
body.single-post .tm-single-post__featured{
  width:100% !important;
  max-width:420px !important;
  margin:0 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  border:1px solid rgba(7,24,39,.07) !important;
  box-shadow:0 18px 48px rgba(0,46,75,.12) !important;
}
body.single-post .tm-single-post__featured img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1.18 / 1 !important;
  object-fit:cover !important;
}
body.single-post .tm-single-post__category{
  margin-bottom:14px !important;
}
body.single-post .tm-single-post__title{
  max-width:620px !important;
  font-size:clamp(34px, 3.25vw, 50px) !important;
  line-height:1.04 !important;
  letter-spacing:-.045em !important;
  margin-bottom:14px !important;
}
body.single-post .tm-single-post__meta{
  border-bottom:none !important;
  padding-bottom:0 !important;
  margin-bottom:0 !important;
  color:#728394 !important;
  font-size:13px !important;
  line-height:1.4 !important;
}
body.single-post .tm-single-post__dek{
  max-width:620px !important;
  font-size:17px !important;
  line-height:1.62 !important;
  margin-top:22px !important;
}
body.single-post .tm-single-post__content{
  width:100% !important;
  max-width:1080px !important;
  margin:0 auto !important;
  color:#26394A !important;
  font-size:16px !important;
  line-height:1.76 !important;
  font-weight:400 !important;
}
body.single-post .tm-single-post__content > *{
  margin-bottom:1.28em !important;
}
body.single-post .tm-single-post__content h2{
  font-size:28px !important;
  line-height:1.16 !important;
  margin-top:1.85em !important;
  margin-bottom:.65em !important;
}
body.single-post .tm-single-post__content h3{
  font-size:22px !important;
  line-height:1.2 !important;
  margin-top:1.6em !important;
}
body.single-post .tm-single-post__content h4{
  font-size:18px !important;
}
body.single-post .tm-single-post__content p,
body.single-post .tm-single-post__content li{
  max-width:none !important;
}
body.single-post .tm-single-related__inner{
  width:min(1080px, calc(100% - 48px)) !important;
  max-width:1080px !important;
}
@media (max-width: 900px){
  body.single-post .tm-single-post__hero-row{
    grid-template-columns:1fr !important;
    gap:26px !important;
    margin-bottom:36px !important;
  }
  body.single-post .tm-single-post__featured{
    max-width:100% !important;
  }
  body.single-post .tm-single-post__featured img{
    aspect-ratio:16/9 !important;
  }
}
@media (max-width: 760px){
  body.single-post .tm-single-post,
  body.single-post .tm-single-related__inner{
    width:calc(100% - 32px) !important;
  }
  body.single-post .tm-single-post{
    padding:42px 0 32px !important;
  }
  body.single-post .tm-single-post__title{
    font-size:clamp(32px, 10vw, 42px) !important;
  }
  body.single-post .tm-single-post__content{
    font-size:16px !important;
    line-height:1.72 !important;
  }
}

/* v1.7.3 Single post header: full-width dark header, same current compact content */
body.single-post .tm-single-post-main{
  background:#fff !important;
}
body.single-post .tm-single-post{
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
}
body.single-post .tm-single-post__hero-shell{
  width:100% !important;
  background:
    radial-gradient(circle at 72% 48%, rgba(23,77,81,.34) 0%, rgba(8,28,45,.52) 34%, rgba(7,24,39,0) 64%),
    linear-gradient(180deg, #071827 0%, #081D2E 100%) !important;
  border-top:1px solid rgba(255,255,255,.05) !important;
  padding:72px 0 70px !important;
  margin:0 !important;
}
body.single-post .tm-single-post__hero-inner,
body.single-post .tm-single-post__content,
body.single-post .tm-single-related__inner{
  width:min(1080px, calc(100% - 48px)) !important;
  max-width:1080px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.single-post .tm-single-post__hero-row{
  display:grid !important;
  grid-template-columns:minmax(120px, 180px) minmax(0, 1fr) !important;
  gap:42px !important;
  align-items:center !important;
  width:100% !important;
  margin:0 !important;
}
body.single-post .tm-single-post__hero-row.no-featured-image{
  display:block !important;
}
body.single-post .tm-single-post__featured{
  width:100% !important;
  max-width:180px !important;
  margin:0 !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 20px 50px rgba(0,0,0,.22) !important;
  background:#0B2438 !important;
}
body.single-post .tm-single-post__featured img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:1.18 / 1 !important;
  object-fit:cover !important;
}
body.single-post .tm-single-post__header{
  width:100% !important;
  max-width:820px !important;
  margin:0 !important;
}
body.single-post .tm-single-post__category{
  margin:0 0 16px !important;
  background:rgba(138,201,57,.14) !important;
  color:#9BE135 !important;
}
body.single-post .tm-single-post__title{
  max-width:820px !important;
  color:#fff !important;
  font-size:clamp(38px, 4.5vw, 60px) !important;
  line-height:1.03 !important;
  letter-spacing:-.052em !important;
  margin:0 0 18px !important;
}
body.single-post .tm-single-post__meta{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  color:rgba(255,255,255,.66) !important;
  border-bottom:0 !important;
  padding:0 !important;
  margin:0 !important;
  font-size:14px !important;
  line-height:1.4 !important;
}
body.single-post .tm-single-post__meta a{
  color:#fff !important;
}
body.single-post .tm-single-post__dek{
  color:rgba(255,255,255,.70) !important;
  max-width:680px !important;
  font-size:17px !important;
  line-height:1.62 !important;
  margin:22px 0 0 !important;
}
body.single-post .tm-single-post__content{
  padding:66px 0 50px !important;
  color:#26394A !important;
  font-size:16px !important;
  line-height:1.76 !important;
  font-weight:400 !important;
}
body.single-post .tm-single-related{
  margin-top:0 !important;
}
@media (max-width: 760px){
  body.single-post .tm-single-post__hero-shell{
    padding:46px 0 42px !important;
  }
  body.single-post .tm-single-post__hero-inner,
  body.single-post .tm-single-post__content,
  body.single-post .tm-single-related__inner{
    width:calc(100% - 32px) !important;
  }
  body.single-post .tm-single-post__hero-row{
    grid-template-columns:92px minmax(0, 1fr) !important;
    gap:18px !important;
    align-items:center !important;
  }
  body.single-post .tm-single-post__featured{
    max-width:92px !important;
    border-radius:14px !important;
  }
  body.single-post .tm-single-post__title{
    font-size:clamp(30px, 9vw, 40px) !important;
    margin-bottom:12px !important;
  }
  body.single-post .tm-single-post__category{
    padding:6px 9px !important;
    font-size:10px !important;
    margin-bottom:10px !important;
  }
  body.single-post .tm-single-post__meta{
    font-size:12px !important;
    gap:7px !important;
  }
  body.single-post .tm-single-post__content{
    padding-top:42px !important;
    font-size:16px !important;
    line-height:1.72 !important;
  }
}
@media (max-width: 480px){
  body.single-post .tm-single-post__hero-row{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body.single-post .tm-single-post__featured{
    max-width:112px !important;
  }
}

/* v1.7.4 Archive templates: category, author, tag, date, post type archives */
.tm-archive-main{
  background:#F5F8FA;
}
.tm-archive-hero{
  width:100%;
  background:
    radial-gradient(circle at 72% 48%, rgba(23,77,81,.34) 0%, rgba(8,28,45,.52) 34%, rgba(7,24,39,0) 64%),
    linear-gradient(180deg, #071827 0%, #081D2E 100%);
  border-top:1px solid rgba(255,255,255,.05);
  color:#fff;
  padding:92px 0 88px;
}
.tm-archive-hero__inner,
.tm-archive-list-section__inner{
  width:min(1080px, calc(100% - 48px));
  max-width:1080px;
  margin-left:auto;
  margin-right:auto;
}
.tm-archive-hero__kicker{
  margin:0 0 18px;
}
.tm-archive-hero h1{
  max-width:760px;
  margin:0;
  color:#fff;
  font-size:clamp(42px, 5vw, 68px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:900;
}
.tm-archive-hero__description{
  max-width:720px;
  margin:28px 0 0;
  color:rgba(255,255,255,.66);
  font-size:20px;
  line-height:1.62;
  font-weight:500;
}
.tm-archive-list-section{
  padding:76px 0 92px;
  background:#F5F8FA;
}
.tm-archive-list{
  display:grid;
  gap:18px;
}
.tm-archive-resource-row{
  min-height:148px;
}
.tm-archive-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:34px;
}
.tm-archive-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border:1px solid #DCE5EB;
  border-radius:12px;
  background:#fff;
  color:#071827;
  font-size:14px;
  font-weight:850;
  box-shadow:0 10px 30px rgba(0,46,75,.04);
  transition:border-color .18s ease, color .18s ease, background-color .18s ease;
}
.tm-archive-pagination a.page-numbers:hover,
.tm-archive-pagination a.page-numbers:focus-visible{
  border-color:rgba(138,201,57,.65);
  color:#5E9F19;
  outline:none;
}
.tm-archive-pagination .page-numbers.current{
  background:#8AC939;
  border-color:#8AC939;
  color:#071827;
}
.tm-archive-pagination .prev,
.tm-archive-pagination .next{
  min-width:auto;
  padding-left:18px;
  padding-right:18px;
}
.tm-archive-empty{
  padding:34px;
  border:1px solid #DCE5EB;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 40px rgba(0,46,75,.04);
}
.tm-archive-empty h2{
  margin:0 0 8px;
  color:#071827;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.tm-archive-empty p{
  margin:0;
  color:#536577;
  font-size:17px;
  line-height:1.6;
}
@media (max-width: 760px){
  .tm-archive-hero{
    padding:58px 0 54px;
  }
  .tm-archive-hero__inner,
  .tm-archive-list-section__inner{
    width:calc(100% - 32px);
  }
  .tm-archive-hero h1{
    font-size:clamp(34px, 11vw, 46px);
  }
  .tm-archive-hero__description{
    margin-top:18px;
    font-size:17px;
    line-height:1.58;
  }
  .tm-archive-list-section{
    padding:46px 0 58px;
  }
  .tm-archive-resource-row{
    min-height:0;
  }
  .tm-archive-pagination{
    justify-content:flex-start;
  }
}


/* v1.9.1 polish: shared 1156px rhythm + darker eyebrows */
:root{--tm-max:1156px;}
.tm-container{width:min(1156px,calc(100% - 64px));max-width:1156px;}
.tm-kicker,.tm-module-eyebrow,.tm-page-hero-eyebrow,.tm-archive-hero__kicker{color:#7fbf2f!important;}
.tm-hero .tm-kicker,.tm-section-dark .tm-kicker,.tm-page-hero-template .tm-page-hero-eyebrow,.tm-archive-hero__kicker{color:#9bd737!important;}
.wp-block-truemed-page-header .tm-container,
.tm-page-hero-template .tm-container,
.tm-page-hero-template .tm-page-hero-inner,
.tm-archive-hero__inner,
.tm-archive-list-section__inner{
  width:min(1156px,calc(100% - 64px))!important;
  max-width:1156px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:760px){
  .tm-container,
  .wp-block-truemed-page-header .tm-container,
  .tm-page-hero-template .tm-container,
  .tm-page-hero-template .tm-page-hero-inner,
  .tm-archive-hero__inner,
  .tm-archive-list-section__inner{width:calc(100% - 32px)!important;}
}

/* v1.9.2 shared width + darker eyebrow + archive description polish */
:root{--tm-max:1156px;--tm-eyebrow:#5f9f22;}
.tm-container,
.tm-hero .tm-hero-inner,
body.home .tm-hero .tm-hero-inner,
body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
body.home .tm-hero .tm-slide-no-stats .tm-hero-inner,
.wp-block-truemed-page-header .tm-container,
.tm-page-hero-template .tm-container,
.tm-page-hero-template .tm-page-hero-inner,
.tm-archive-hero__inner,
.tm-archive-list-section__inner{
  width:min(1156px,calc(100% - 64px))!important;
  max-width:1156px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.tm-kicker,
.tm-module-eyebrow,
.tm-page-hero-eyebrow,
.tm-archive-hero__kicker{
  color:var(--tm-eyebrow)!important;
}
.tm-hero .tm-kicker,
.tm-section-dark .tm-kicker,
.tm-page-hero-template .tm-page-hero-eyebrow,
.tm-archive-hero__kicker{
  color:#8bcf2f!important;
}
@media(max-width:760px){
  .tm-container,
  .tm-hero .tm-hero-inner,
  body.home .tm-hero .tm-hero-inner,
  body.home .tm-hero.tm-active-has-stats .tm-hero-inner,
  body.home .tm-hero.tm-active-no-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-has-stats .tm-hero-inner,
  body.home .tm-hero .tm-slide-no-stats .tm-hero-inner,
  .wp-block-truemed-page-header .tm-container,
  .tm-page-hero-template .tm-container,
  .tm-page-hero-template .tm-page-hero-inner,
  .tm-archive-hero__inner,
  .tm-archive-list-section__inner{
    width:calc(100% - 32px)!important;
  }
}


/* v1.7.0: page header typography controls + preserved manual line breaks */
.wp-block-truemed-page-header h1,
.tm-page-hero-template h1{
  white-space:pre-line !important;
}

/* TrueMed v1.7.2: hero slider typography controls and manual break support */
body.home .tm-hero h1,
body.home .tm-hero.tm-active-has-stats h1,
body.home .tm-hero.tm-active-no-stats h1,
body.home .tm-hero .tm-slide-has-stats h1,
body.home .tm-hero .tm-slide-no-stats h1,
.tm-hero h1{
  font-size:clamp(36px,4.6vw,var(--tm-hero-h1-max,64px)) !important;
  line-height:var(--tm-hero-h1-line-height,.98) !important;
  white-space:normal !important;
}

.tm-hero h1 br{display:block !important;}

/* v1.8.3 Single post hero featured-image diamond symbol treatment */
body.single-post .tm-single-post__hero-shell{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
body.single-post .tm-single-post__hero-shell.has-featured-bg::before{
  content:"" !important;
  position:absolute !important;
  inset:-34px !important;
  z-index:-2 !important;
  background-image:var(--tm-post-featured-image) !important;
  background-size:cover !important;
  background-position:center !important;
  filter:blur(24px) saturate(.85) !important;
  transform:scale(1.04) !important;
  opacity:.22 !important;
}
body.single-post .tm-single-post__hero-shell.has-featured-bg::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  background:
    radial-gradient(circle at 76% 50%, rgba(29,92,94,.52) 0%, rgba(7,24,39,.62) 38%, rgba(7,24,39,.92) 72%),
    linear-gradient(90deg, rgba(7,24,39,.98) 0%, rgba(8,29,46,.94) 46%, rgba(8,29,46,.88) 100%) !important;
  pointer-events:none !important;
}
body.single-post .tm-single-post__hero-inner{
  position:relative !important;
  z-index:1 !important;
}
body.single-post .tm-single-post__hero-row.has-featured-image{
  grid-template-columns:minmax(220px, 260px) minmax(0, 1fr) !important;
  gap:34px !important;
}
body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
  width:680px !important;
  max-width:680px !important;
  height:680px !important;
  aspect-ratio:1 / 1 !important;
  margin:0 0 0 -300px !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  pointer-events:none !important;
}
body.single-post .tm-single-post__diamond-mark{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  transform:rotate(45deg) !important;
  overflow:hidden !important;
  border-radius:2px !important;
  opacity:.86 !important;
  box-shadow:0 26px 80px rgba(0,0,0,.22) !important;
}
body.single-post .tm-single-post__diamond-mark::before{
  content:"" !important;
  position:absolute !important;
  inset:-34% !important;
  background-image:var(--tm-diamond-image) !important;
  background-size:cover !important;
  background-position:center !important;
  transform:rotate(-45deg) scale(1.08) !important;
  filter:saturate(.92) contrast(1.04) !important;
}
body.single-post .tm-single-post__diamond-mark::after{
  content:"" !important;
  position:absolute !important;
  inset:29% !important;
  background:
    radial-gradient(circle at 68% 50%, rgba(18,54,69,.92) 0%, rgba(7,24,39,.97) 58%, #071827 100%) !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.05), inset 0 0 36px rgba(0,0,0,.18) !important;
}
@media (max-width: 900px){
  body.single-post .tm-single-post__hero-row.has-featured-image{
    grid-template-columns:120px minmax(0, 1fr) !important;
    gap:22px !important;
  }
  body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
    width:320px !important;
    max-width:320px !important;
    height:320px !important;
    margin-left:-150px !important;
  }
}
@media (max-width: 560px){
  body.single-post .tm-single-post__hero-row.has-featured-image{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
    width:220px !important;
    max-width:220px !important;
    height:220px !important;
    margin-left:-110px !important;
    margin-bottom:2px !important;
  }
}

/* v1.8.6 Single post hero symbol sizing controls + safer responsive behavior */
body.single-post .tm-single-post__hero-shell{
  min-height:0 !important;
}
body.single-post .tm-single-post__hero-shell.has-featured-bg::before{
  opacity:.24 !important;
  filter:blur(26px) saturate(.82) !important;
}
body.single-post .tm-single-post__hero-row.has-featured-image{
  display:block !important;
  position:relative !important;
  min-height:calc(var(--tm-post-symbol-size, 420px) * .56) !important;
  margin:0 !important;
}
body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
  position:absolute !important;
  left:var(--tm-post-symbol-offset, -90px) !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:var(--tm-post-symbol-size, 420px) !important;
  max-width:none !important;
  height:var(--tm-post-symbol-size, 420px) !important;
  margin:0 !important;
  z-index:0 !important;
  opacity:var(--tm-post-symbol-opacity, .55) !important;
}
body.single-post .tm-single-post__diamond-mark{
  box-shadow:none !important;
  opacity:1 !important;
}
body.single-post .tm-single-post__diamond-mark::before{
  transform:rotate(-45deg) scale(var(--tm-post-symbol-image-scale, 1.12)) !important;
  background-size:cover !important;
  background-position:center !important;
}
body.single-post .tm-single-post__diamond-mark::after{
  inset:29% !important;
  background:linear-gradient(180deg, rgba(7,24,39,.98), rgba(7,24,39,.92)) !important;
  box-shadow:none !important;
}
body.single-post .tm-single-post__header{
  position:relative !important;
  z-index:2 !important;
  margin-left:clamp(260px, 32vw, 390px) !important;
  max-width:760px !important;
}
@media (max-width: 980px){
  body.single-post .tm-single-post__hero-shell{
    padding:56px 0 54px !important;
  }
  body.single-post .tm-single-post__hero-shell.has-featured-bg::before{
    opacity:.28 !important;
    filter:blur(20px) saturate(.85) !important;
  }
  body.single-post .tm-single-post__hero-row.has-featured-image{
    min-height:0 !important;
  }
  body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
    display:none !important;
  }
  body.single-post .tm-single-post__header{
    margin-left:0 !important;
    max-width:760px !important;
  }
}
@media (max-width: 760px){
  body.single-post .tm-single-post__hero-shell{
    padding:44px 0 42px !important;
  }
}

/* v1.8.7 Single post diamond control refinements */
body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
  animation:tm-post-diamond-fade-left .75s cubic-bezier(.22,.61,.36,1) both !important;
  will-change:transform, opacity !important;
}

body.single-post .tm-single-post__featured.tm-single-post__featured-diamond::after{
  content:"" !important;
  position:absolute !important;
  inset:-12% -18% -12% -6% !important;
  z-index:4 !important;
  pointer-events:none !important;
  background:
    linear-gradient(90deg,
      rgba(7,24,39,0) 0%,
      rgba(7,24,39,0) 42%,
      rgba(7,24,39,calc(var(--tm-post-symbol-blend, .72) * .58)) 72%,
      rgba(7,24,39,var(--tm-post-symbol-blend, .72)) 100%),
    radial-gradient(circle at 68% 50%, rgba(7,24,39,calc(var(--tm-post-symbol-blend, .72) * .42)) 0%, rgba(7,24,39,0) 54%) !important;
}

body.single-post .tm-single-post__diamond-mark::before{
  filter:saturate(.82) contrast(1.02) brightness(.9) !important;
}

@keyframes tm-post-diamond-fade-left{
  from{opacity:0; transform:translateY(-50%) translateX(-34px);}
  to{opacity:var(--tm-post-symbol-opacity, .55); transform:translateY(-50%) translateX(0);}
}

@media (prefers-reduced-motion: reduce){
  body.single-post .tm-single-post__featured.tm-single-post__featured-diamond{
    animation:none !important;
  }
}

@media (max-width: 980px){
  body.single-post .tm-single-post__hero-shell.has-featured-bg::before{
    opacity:.32 !important;
    filter:blur(18px) saturate(.78) brightness(.85) !important;
  }
  body.single-post .tm-single-post__hero-shell.has-featured-bg::after{
    background:
      radial-gradient(circle at 72% 50%, rgba(29,92,94,.42) 0%, rgba(7,24,39,.72) 42%, rgba(7,24,39,.95) 78%),
      linear-gradient(180deg, rgba(7,24,39,.90), rgba(7,24,39,.96)) !important;
  }
}

/* v1.8.8: Refine single post diamond image blend so overlay starts at the right edge, not across the whole mark */
body.single-post .tm-single-post__featured.tm-single-post__featured-diamond::after{
  inset:-12% -20% -12% 38% !important;
  z-index:4 !important;
  background:
    linear-gradient(90deg,
      rgba(7,24,39,0) 0%,
      rgba(7,24,39,.18) 34%,
      rgba(7,24,39,calc(var(--tm-post-symbol-blend, .72) * .58)) 68%,
      rgba(7,24,39,var(--tm-post-symbol-blend, .72)) 100%) !important;
}

body.single-post .tm-single-post__diamond-mark::before{
  filter:saturate(.88) contrast(1.04) brightness(.96) !important;
}

/* Keep the text area safely above the image and preserve a cleaner blend line */
body.single-post .tm-single-post__header{
  z-index:5 !important;
}

/* =========================================================
   Default 404 page
========================================================= */
.tm-404-page{background:#071827;min-height:calc(100vh - 160px);overflow:hidden}
.tm-404-hero{position:relative;isolation:isolate;min-height:680px;display:flex;align-items:center;background:linear-gradient(115deg,#061522 0%,#082234 58%,#071827 100%);color:#fff;overflow:hidden}
.tm-404-glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.44;pointer-events:none}
.tm-404-glow-one{width:560px;height:360px;left:-100px;top:12%;background:rgba(138,201,57,.44);transform:rotate(-12deg)}
.tm-404-glow-two{width:620px;height:400px;right:-120px;bottom:-80px;background:rgba(0,181,226,.28);transform:rotate(8deg)}
.tm-404-inner{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(50px,7vw,110px);padding-top:92px;padding-bottom:92px}
.tm-404-mark{width:min(360px,34vw);aspect-ratio:1;position:relative;transform:rotate(45deg);border:clamp(28px,4vw,54px) solid #8ac939;opacity:.92;filter:drop-shadow(0 20px 50px rgba(0,0,0,.22))}
.tm-404-mark span{position:absolute;inset:23%;background:#071827}
.tm-404-copy{max-width:760px}
.tm-404-copy .tm-kicker{color:#9bd737;margin-bottom:22px}
.tm-404-copy h1{font-size:clamp(50px,6.8vw,94px);line-height:.96;letter-spacing:-.055em;margin:0 0 26px;color:#fff}
.tm-404-copy p{max-width:640px;font-size:clamp(18px,1.5vw,22px);line-height:1.65;color:rgba(255,255,255,.7);margin:0 0 38px}
@media(max-width:800px){.tm-404-hero{min-height:620px}.tm-404-inner{grid-template-columns:1fr;gap:42px;padding-top:70px;padding-bottom:70px}.tm-404-mark{width:190px;margin-left:-58px}.tm-404-copy h1{font-size:clamp(46px,14vw,68px)}}


/* v1.7.0: collapse desktop navigation below 1159px */
@media (min-width:961px) and (max-width:1158px){
  .tm-header-inner{
    height:66px;
    gap:12px;
  }

  .tm-nav,
  .tm-mega-wrap{
    display:none !important;
  }

  .tm-header-cta{
    display:inline-flex !important;
    flex:0 0 auto;
  }

  .tm-menu-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
    width:40px;
    height:40px;
    padding:0;
    font-size:0;
    border-radius:8px;
  }

  .tm-menu-toggle::before{
    content:"☰";
    font-size:20px;
    line-height:1;
  }

  .tm-mobile-panel{
    display:block;
    position:fixed;
    inset:66px 0 auto 0;
    max-height:calc(100dvh - 66px);
    overflow-y:auto;
    background:rgba(0,29,48,.98);
    border-bottom:1px solid rgba(255,255,255,.1);
    padding:20px;
    transform:translateY(-120%);
    transition:transform .22s ease;
    z-index:98;
  }

  .tm-mobile-panel.is-open{
    transform:translateY(0);
  }

  .tm-mobile-panel a,
  .tm-mobile-panel button{
    display:block;
    width:100%;
    text-align:left;
    color:#fff;
    padding:14px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    margin-bottom:8px;
    border:1px solid rgba(255,255,255,.08);
    font-weight:800;
  }
}

/* =========================================================
   v1.7.1 Premium responsive navigation + dropdown refinement
   ========================================================= */

/* Desktop mega menu: calmer hierarchy, less card-on-card visual noise */
@media (min-width:1159px){
  .tm-mega-wrap{
    top:72px;
    padding-top:10px;
  }
  .tm-mega{
    width:min(1156px,calc(100% - 48px));
    padding:14px;
    border-radius:18px;
    background:linear-gradient(145deg,rgba(7,24,39,.97),rgba(9,39,57,.95));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:0 28px 70px rgba(0,0,0,.36);
    backdrop-filter:blur(24px) saturate(1.08);
    -webkit-backdrop-filter:blur(24px) saturate(1.08);
    gap:12px;
  }
  .tm-mega-columns{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    min-width:0;
  }
  .tm-mega-col{
    padding:18px;
    border:0;
    border-radius:14px;
    background:transparent;
  }
  .tm-mega-col + .tm-mega-col{
    border-left:1px solid rgba(255,255,255,.08);
    border-radius:0;
  }
  .tm-mega-title{
    margin:0 0 12px;
    color:var(--tm-secondary);
    font-size:11px;
    line-height:1.2;
    letter-spacing:.15em;
  }
  .tm-mega-list{gap:3px}
  .tm-mega-list a{
    position:relative;
    padding:10px 11px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.25;
    transition:background .18s ease,color .18s ease,padding-left .18s ease;
  }
  .tm-mega-list a::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:3px;
    height:0;
    border-radius:4px;
    background:var(--tm-secondary);
    transform:translateY(-50%);
    transition:height .18s ease;
  }
  .tm-mega-list a:hover,
  .tm-mega-list a:focus-visible{
    padding-left:16px;
    color:#fff;
    background:rgba(255,255,255,.055);
    border-color:transparent;
  }
  .tm-mega-list a:hover::before,
  .tm-mega-list a:focus-visible::before{height:22px}
  .tm-mega-feature{
    min-height:210px;
    padding:22px;
    border-radius:14px;
    background:linear-gradient(145deg,rgba(138,201,57,.10),rgba(0,181,226,.055));
    border:1px solid rgba(138,201,57,.14);
  }
  .tm-mega-feature::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(7,24,39,.18),rgba(7,24,39,.90));
    pointer-events:none;
  }
  .tm-mega-feature img{opacity:.18;filter:saturate(.7)}
  .tm-mega-feature-content{z-index:2}
  .tm-mega-feature h3{font-size:20px;line-height:1.15;margin-bottom:8px}
  .tm-mega-feature p{
    max-width:30ch;
    margin:0 0 14px;
    color:rgba(255,255,255,.66);
    font-size:13px;
    line-height:1.5;
  }
  .tm-mega-feature .tm-btn{padding:11px 16px;font-size:13px}
}

/* Tablet/mobile header and drawer */
@media (max-width:1158px){
  .tm-site-header{height:66px}
  .tm-header-inner{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:10px !important;
    height:66px !important;
  }
  .tm-logo{
    min-width:0;
    justify-self:start;
    overflow:visible;
    white-space:nowrap;
  }
  .tm-logo-img{max-width:min(190px,34vw);height:auto}
  .tm-nav,.tm-mega-wrap{display:none !important}
  .tm-header-cta{
    display:inline-flex !important;
    justify-self:end;
    padding:11px 17px;
    min-height:40px;
    white-space:nowrap;
    font-size:13px;
  }
  .tm-menu-toggle{
    display:inline-grid !important;
    place-items:center;
    justify-self:end;
    width:42px !important;
    height:42px !important;
    min-width:42px;
    padding:0 !important;
    border-radius:10px !important;
    border:1px solid rgba(255,255,255,.16) !important;
    background:rgba(255,255,255,.055) !important;
    color:#fff;
    font-size:0 !important;
    box-shadow:none;
  }
  .tm-menu-toggle::before{
    content:"" !important;
    width:17px;
    height:12px;
    background:
      linear-gradient(#fff,#fff) 0 0/100% 2px no-repeat,
      linear-gradient(#fff,#fff) 0 50%/100% 2px no-repeat,
      linear-gradient(#fff,#fff) 0 100%/100% 2px no-repeat;
    transition:transform .2s ease,opacity .2s ease;
  }
  .tm-menu-toggle[aria-expanded="true"]::before{
    width:18px;
    height:18px;
    background:
      linear-gradient(#fff,#fff) 50% 50%/100% 2px no-repeat,
      linear-gradient(#fff,#fff) 50% 50%/2px 100% no-repeat;
    transform:rotate(45deg);
  }
  .tm-mobile-panel{
    display:flex !important;
    flex-direction:column;
    position:fixed !important;
    inset:66px 0 0 auto !important;
    width:min(420px,100vw);
    max-height:none !important;
    padding:16px 16px calc(18px + env(safe-area-inset-bottom)) !important;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:
      radial-gradient(circle at 12% 8%,rgba(138,201,57,.10),transparent 32%),
      linear-gradient(180deg,rgba(7,31,48,.985),rgba(6,24,38,.995)) !important;
    border:0 !important;
    border-left:1px solid rgba(255,255,255,.08) !important;
    box-shadow:-24px 0 70px rgba(0,0,0,.36);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    transform:translateX(105%) !important;
    transition:transform .26s cubic-bezier(.22,.8,.2,1),visibility .26s ease !important;
    visibility:hidden;
    z-index:999 !important;
  }
  .tm-mobile-panel.is-open{
    transform:translateX(0) !important;
    visibility:visible;
  }
  .tm-mobile-panel::before{
    content:"Navigation";
    display:block;
    padding:8px 12px 12px;
    color:var(--tm-secondary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  .tm-mobile-panel .menu-primary-container,
  .tm-mobile-panel > ul{
    flex:1 0 auto;
  }
  .tm-mobile-panel ul{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }
  .tm-mobile-panel li{
    margin:0 !important;
    padding:0 !important;
  }
  .tm-mobile-panel li::marker{content:""}
  .tm-mobile-panel a,
  .tm-mobile-panel button{
    display:flex !important;
    align-items:center;
    min-height:50px;
    width:100%;
    margin:0 !important;
    padding:13px 12px !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.065) !important;
    border-radius:0 !important;
    background:transparent !important;
    color:rgba(255,255,255,.88) !important;
    font-size:16px;
    font-weight:780;
    line-height:1.25;
    text-align:left;
    box-shadow:none !important;
    transition:background .18s ease,color .18s ease,padding-left .18s ease;
  }
  .tm-mobile-panel a:hover,
  .tm-mobile-panel a:focus-visible{
    padding-left:17px !important;
    color:#fff !important;
    background:rgba(255,255,255,.05) !important;
  }
  .tm-mobile-panel .menu-item-has-children > a::after{
    content:"+";
    margin-left:auto;
    color:var(--tm-secondary);
    font-size:20px;
    font-weight:500;
  }
  .tm-mobile-panel .sub-menu{
    margin:0 0 4px 14px !important;
    padding:2px 0 5px 13px !important;
    border-left:1px solid rgba(138,201,57,.3);
  }
  .tm-mobile-panel .sub-menu a{
    min-height:42px;
    padding:9px 12px !important;
    border-bottom:0 !important;
    color:rgba(255,255,255,.63) !important;
    font-size:14px;
    font-weight:650;
  }
  .tm-mobile-panel > a:last-child{
    position:sticky;
    bottom:0;
    justify-content:center;
    flex:0 0 auto;
    min-height:48px;
    margin-top:18px !important;
    padding:14px 20px !important;
    border:0 !important;
    border-radius:7px !important;
    background:var(--tm-secondary) !important;
    color:#061523 !important;
    font-weight:900;
    box-shadow:0 -16px 30px rgba(6,24,38,.9),0 12px 28px rgba(0,0,0,.2) !important;
  }
  body.tm-nav-open{overflow:hidden}
  body.tm-nav-open::after{
    content:"";
    position:fixed;
    inset:66px 0 0;
    z-index:998;
    background:rgba(1,12,20,.48);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
  }
}

@media (max-width:600px){
  .tm-header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:8px !important}
  .tm-logo-img{max-width:min(168px,42vw)}
  .tm-header-cta{padding:10px 12px;font-size:12px}
  .tm-menu-toggle{width:40px !important;height:40px !important;min-width:40px}
  .tm-mobile-panel{width:100vw}
}


/* =========================================================
   Navigation drawer corrective patch
   Keeps the drawer crisp and the header properly stacked.
   ========================================================= */
@media (max-width:1158px){
  .tm-site-header{
    z-index:1200 !important;
    overflow:visible !important;
  }

  .tm-header-inner{
    position:relative;
    z-index:3;
  }

  .tm-logo{
    height:66px;
    align-items:center;
  }

  .tm-logo-img{
    display:block;
    width:auto !important;
    max-width:min(190px,34vw) !important;
    max-height:42px !important;
    object-fit:contain;
  }

  .tm-header-cta{
    position:static !important;
    transform:none !important;
    margin:0 !important;
    align-self:center;
  }

  .tm-menu-toggle{
    position:relative;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    overflow:hidden;
    isolation:isolate;
  }

  .tm-menu-toggle::before,
  .tm-menu-toggle::after{
    content:none !important;
    display:none !important;
  }

  .tm-menu-toggle span{
    display:block;
    width:17px;
    height:2px;
    margin:0;
    border-radius:999px;
    background:#fff;
    opacity:1;
    transform-origin:center;
    transition:transform .2s ease, opacity .16s ease, width .2s ease;
  }

  .tm-menu-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }

  .tm-menu-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
    width:0;
  }

  .tm-menu-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }

  .tm-mobile-panel{
    z-index:2 !important;
    background:
      radial-gradient(circle at 12% 8%,rgba(138,201,57,.08),transparent 30%),
      linear-gradient(180deg,#071f30 0%,#061826 100%) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    filter:none !important;
  }

  .tm-mobile-panel,
  .tm-mobile-panel *{
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
  }

  body.tm-nav-open::after{
    z-index:1100 !important;
    background:rgba(1,12,20,.62) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    filter:none !important;
  }
}

@media (max-width:600px){
  .tm-logo-img{
    max-width:min(164px,42vw) !important;
    max-height:38px !important;
  }
}


.tm-resource-row{display:flex;align-items:center;gap:24px}
.tm-resource-row__thumb{flex:0 0 140px}
.tm-resource-row__thumb img{width:140px;height:140px;object-fit:cover;border-radius:16px;display:block}
.tm-resource-row__content{display:flex;flex-direction:column;flex:1;min-width:0}
@media(max-width:768px){
.tm-resource-row{flex-direction:column;align-items:flex-start}
.tm-resource-row__thumb,.tm-resource-row__thumb img{width:100%;height:220px}
}

/* v1.9.0: homepage hero video + footer policy/app store links */
.tm-hero .tm-hero-copy{min-width:0;max-width:710px}
.tm-hero .tm-hero-inner-has-video{
  display:grid !important;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr) !important;
  align-items:center !important;
  gap:clamp(34px,5vw,78px) !important;
}
.tm-hero-video-wrap{position:relative;min-width:0;z-index:2}
.tm-hero-video-poster{
  appearance:none;-webkit-appearance:none;display:block;position:relative;width:100%;aspect-ratio:16/9;
  padding:0;border:1px solid rgba(255,255,255,.14);border-radius:16px;overflow:hidden;cursor:pointer;
  background:#071827;box-shadow:0 28px 70px rgba(0,0,0,.32);isolation:isolate;
}
.tm-hero-video-poster:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,18,30,.05),rgba(3,18,30,.34));transition:opacity .25s ease}
.tm-hero-video-poster img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.tm-hero-video-poster:hover img,.tm-hero-video-poster:focus-visible img{transform:scale(1.025)}
.tm-hero-video-poster:hover:before,.tm-hero-video-poster:focus-visible:before{opacity:.65}
.tm-hero-video-poster:focus-visible{outline:3px solid rgba(138,201,57,.7);outline-offset:4px}
.tm-hero-video-play{position:absolute;inset:50% auto auto 50%;z-index:2;width:74px;height:74px;transform:translate(-50%,-50%);filter:drop-shadow(0 16px 24px rgba(0,0,0,.32));transition:transform .25s ease}
.tm-hero-video-poster:hover .tm-hero-video-play,.tm-hero-video-poster:focus-visible .tm-hero-video-play{transform:translate(-50%,-50%) scale(1.06)}
.tm-hero-video-play svg{display:block;width:100%;height:100%}.tm-hero-video-play circle{fill:#8AC939;stroke:rgba(255,255,255,.35);stroke-width:1}.tm-hero-video-play path{fill:#061522}
.tm-hero-video-wrap iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#061522;box-shadow:0 28px 70px rgba(0,0,0,.32)}

.tm-footer-app-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.tm-store-badge{display:inline-flex;align-items:center;gap:9px;min-width:142px;padding:8px 12px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#050708;color:#fff!important;text-decoration:none!important;transition:border-color .2s ease,transform .2s ease,background .2s ease}
.tm-store-badge:hover,.tm-store-badge:focus-visible{transform:translateY(-2px);border-color:rgba(138,201,57,.65);background:#0a0d0f}
.tm-store-badge svg{width:25px;height:25px;fill:currentColor;flex:0 0 auto}.tm-store-badge span{display:flex;flex-direction:column;line-height:1}.tm-store-badge small{font-size:8px;letter-spacing:.02em;margin-bottom:3px}.tm-store-badge strong{font-size:15px;font-weight:700;letter-spacing:-.02em}
.tm-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px}
.tm-footer-bottom a{color:rgba(255,255,255,.68);text-decoration:none;font-size:13px;font-weight:650}.tm-footer-bottom a:hover,.tm-footer-bottom a:focus{color:#8AC939}

@media (max-width:960px){
  .tm-hero .tm-hero-inner-has-video{grid-template-columns:1fr !important;align-content:center !important;gap:34px !important}
  .tm-hero .tm-hero-inner-has-video .tm-hero-copy{max-width:760px}
  .tm-hero-video-wrap{width:min(720px,100%)}
}
@media (max-width:640px){
  .tm-hero-video-play{width:60px;height:60px}
  .tm-footer-app-badges{flex-direction:column;align-items:flex-start}
  .tm-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}
}

/* v1.9.1: keep optional homepage hero video beside copy on desktop */
@media (min-width:961px){
  body.home .tm-hero .tm-hero-slide > .tm-hero-inner.tm-hero-inner-has-video,
  body.home .tm-hero.tm-active-has-stats .tm-hero-slide > .tm-hero-inner.tm-hero-inner-has-video,
  body.home .tm-hero.tm-active-no-stats .tm-hero-slide > .tm-hero-inner.tm-hero-inner-has-video,
  body.home .tm-hero .tm-slide-has-stats > .tm-hero-inner.tm-hero-inner-has-video,
  body.home .tm-hero .tm-slide-no-stats > .tm-hero-inner.tm-hero-inner-has-video{
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    column-gap:clamp(34px,4vw,64px) !important;
  }

  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy{
    flex:1 1 52% !important;
    width:auto !important;
    max-width:600px !important;
    min-width:0 !important;
  }

  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-video-wrap{
    flex:0 1 48% !important;
    width:min(520px,48%) !important;
    max-width:520px !important;
    min-width:340px !important;
    margin:0 !important;
    align-self:center !important;
  }
}

@media (max-width:960px){
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-video-wrap{
    width:100% !important;
    max-width:720px !important;
    min-width:0 !important;
    margin:0 !important;
  }
}


/* v1.9.2: SAP Store badge + icon-only footer social links */
.tm-store-badge-sap svg{width:34px;height:24px;fill:#0a6ed1}.tm-store-badge-sap .tm-sap-cut{fill:#fff}
.tm-footer-socials{display:flex;align-items:center;gap:10px;margin-top:16px}
.tm-footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);color:rgba(255,255,255,.78);transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease}
.tm-footer-socials a:hover,.tm-footer-socials a:focus-visible{color:#8AC939;border-color:rgba(138,201,57,.55);background:rgba(138,201,57,.1);transform:translateY(-2px)}
.tm-footer-socials a:focus-visible{outline:2px solid #8AC939;outline-offset:3px}
.tm-footer-socials svg{width:18px;height:18px;fill:currentColor}
@media(max-width:700px){.tm-footer-app-badges{flex-direction:row;align-items:stretch}.tm-store-badge{min-width:0}.tm-footer-socials{margin-top:14px}}

/* =========================================================
   Anchor submenu active-state cleanup
   WordPress can mark every same-page hash link as current.
   Keep the parent page active, but do not visually activate
   every child anchor in dropdowns / mega menus.
   ========================================================= */
.tm-nav-dropdowns .sub-menu .current-menu-item > a,
.tm-nav-dropdowns .sub-menu .current_page_item > a,
.tm-nav-dropdowns .sub-menu .current-menu-ancestor > a,
.tm-mega .tm-mega-list .current-menu-item > a,
.tm-mega .tm-mega-list .current_page_item > a,
.tm-mega .tm-mega-list .current-menu-ancestor > a{
  color:rgba(255,255,255,.78) !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  transform:none !important;
}

.tm-mega .tm-mega-list .current-menu-item > a::after,
.tm-mega .tm-mega-list .current_page_item > a::after,
.tm-mega .tm-mega-list .current-menu-ancestor > a::after{
  width:0 !important;
}

/* Preserve intentional hover/focus feedback. */
.tm-nav-dropdowns .sub-menu a:hover,
.tm-nav-dropdowns .sub-menu a:focus-visible{
  color:#fff !important;
  background:rgba(138,201,57,.12) !important;
  transform:translateX(2px) !important;
}

.tm-mega .tm-mega-list a:hover,
.tm-mega .tm-mega-list a:focus-visible{
  color:#fff !important;
}

.tm-mega .tm-mega-list a:hover::after,
.tm-mega .tm-mega-list a:focus-visible::after{
  width:100% !important;
}


/* v1.9.4: Careers, global single CTA, and custom marketplace badge logos */
.tm-store-badge__custom-logo{width:24px;height:24px;object-fit:contain;display:block;flex:0 0 24px}
.tm-single-global-cta{background:#f4f6f7;padding:68px 0;border-top:1px solid #e4e8eb}
.tm-single-global-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:48px}
.tm-single-global-cta h2{margin:0 0 10px;color:#071827;font-size:clamp(28px,3vw,38px);letter-spacing:-.035em}
.tm-single-global-cta p{margin:0;max-width:760px;color:#617084;font-size:18px;line-height:1.55}
.tm-single-global-cta .tm-btn{white-space:nowrap;gap:28px}
.tm-careers-hero,.tm-job-hero{background:linear-gradient(115deg,#071827 0%,#0b2731 100%);color:#fff;padding:100px 0 90px}
.tm-careers-hero .tm-kicker,.tm-job-hero .tm-kicker{color:#9bd737;letter-spacing:.24em;text-transform:uppercase;font-weight:800}
.tm-careers-hero h1,.tm-job-hero h1{font-size:clamp(42px,5vw,66px);line-height:1.02;letter-spacing:-.045em;max-width:900px;margin:18px 0}
.tm-careers-hero p:not(.tm-kicker),.tm-job-hero__excerpt{max-width:760px;color:rgba(255,255,255,.68);font-size:19px;line-height:1.65}
.tm-careers-list{padding:80px 0;background:#f4f6f7}.tm-job-card{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff;border:1px solid #dce3e8;border-radius:14px;padding:28px 34px;margin-bottom:18px;text-decoration:none;color:#071827}.tm-job-card span{color:#78b82a;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800}.tm-job-card h2{margin:8px 0;font-size:25px}.tm-job-card p{margin:0;color:#617084}.tm-job-card b{font-size:28px;color:#aab5bf}.tm-job-content{background:#fff}.tm-job-content>.wp-block-group,.tm-job-content>.tmcb-section{margin-top:0}
@media(max-width:800px){.tm-single-global-cta__inner{display:block}.tm-single-global-cta .tm-btn{margin-top:28px}.tm-careers-hero,.tm-job-hero{padding:72px 0 64px}.tm-job-card{align-items:flex-start}}


/* v1.9.9 Optional page-header image / YouTube media */
.wp-block-truemed-page-header .tm-page-hero-top,
.tm-page-hero-template .tm-page-hero-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
  gap:clamp(36px,6vw,88px);
  align-items:center;
}
.wp-block-truemed-page-header .tm-page-hero-top:not(.has-media),
.tm-page-hero-template .tm-page-hero-top:not(.has-media){grid-template-columns:1fr}
.tm-page-header-media{margin:0;min-width:0;width:100%;justify-self:end}
.tm-page-header-media-image{display:flex;align-items:center;justify-content:flex-end}
.tm-page-header-media-image img{display:block;width:100%;max-width:620px;max-height:390px;height:auto;object-fit:contain;border-radius:var(--tm-page-header-radius,18px)}
.tm-page-header-media-video{position:relative;width:100%;max-width:620px;aspect-ratio:16/9;overflow:hidden;border-radius:var(--tm-page-header-radius,18px);background:#061522;box-shadow:0 24px 60px rgba(0,0,0,.24)}
.tm-page-header-media-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tm-page-header-video-poster{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#061522;cursor:pointer;overflow:hidden}
.tm-page-header-video-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease,filter .3s ease}
.tm-page-header-video-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,24,39,.08),rgba(7,24,39,.34))}
.tm-page-header-play{position:absolute;left:50%;top:50%;z-index:2;width:72px;height:72px;border-radius:50%;background:#9bd737;transform:translate(-50%,-50%);box-shadow:0 16px 36px rgba(0,0,0,.3)}
.tm-page-header-play:after{content:'';position:absolute;left:29px;top:23px;border-left:20px solid #071827;border-top:13px solid transparent;border-bottom:13px solid transparent}
.tm-page-header-video-poster:hover img{transform:scale(1.025);filter:brightness(.92)}
.wp-block-truemed-page-header .tm-page-hero-top + .tm-page-hero-stats,
.wp-block-truemed-page-header .tm-page-hero-top + .tm-page-hero-pills,
.wp-block-truemed-page-header .tm-page-hero-top + .tm-page-hero-split{margin-top:38px}
@media(max-width:900px){
 .wp-block-truemed-page-header .tm-page-hero-top,.tm-page-hero-template .tm-page-hero-top{grid-template-columns:1fr;gap:30px}
 .tm-page-header-media{justify-self:start;max-width:680px}
 .tm-page-header-media-image{justify-content:flex-start}
 .tm-page-header-media-image img{max-width:560px;max-height:360px}
}

/* v1.10.0 Keep page-header pills beneath the copy when right-side media is enabled */
.wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-hero-copy .tm-page-hero-pills,
.tm-page-hero-template .tm-page-hero-top.has-media .tm-page-hero-copy .tm-page-hero-pills{
  margin-top:34px;
  max-width:100%;
}
.wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-hero-copy,
.tm-page-hero-template .tm-page-hero-top.has-media .tm-page-hero-copy{
  min-width:0;
}
@media(max-width:900px){
  .wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-hero-copy .tm-page-hero-pills,
  .tm-page-hero-template .tm-page-hero-top.has-media .tm-page-hero-copy .tm-page-hero-pills{margin-top:28px}
}

/* v1.10.1 Let pill navigation use the full header width when no media is present */
.wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-copy,
.tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-copy{
  width:100%;
  max-width:none;
}
.wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-pills,
.tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-pills{
  width:100%;
  max-width:none;
  justify-content:flex-start;
}
/* v1.10.2 Preserve natural pill widths; wrap whole pills instead of squeezing label text */
.wp-block-truemed-page-header .tm-page-hero-pills > a,
.wp-block-truemed-page-header .tm-page-hero-pills > span,
.tm-page-hero-template .tm-page-hero-pills > a,
.tm-page-hero-template .tm-page-hero-pills > span{
  flex:0 0 auto;
  white-space:nowrap;
}
.wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-pills,
.tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-pills{
  flex-wrap:wrap;
}

/* v1.10.3: no-media page headers keep copy constrained while pill navigation spans the full container */
@media (min-width: 901px){
  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-copy,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-copy{
    width:100% !important;
    max-width:none !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-eyebrow,
  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) h1,
  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-description,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-eyebrow,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) h1,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-description{
    max-width:700px !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-pills,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-pills{
    display:grid !important;
    grid-template-columns:repeat(6,max-content);
    justify-content:space-between !important;
    align-items:center;
    width:100% !important;
    max-width:none !important;
    gap:14px !important;
    flex-wrap:nowrap !important;
  }
}

@media (max-width: 1180px) and (min-width: 901px){
  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-pills,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-pills{
    display:flex !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }
}

/* v1.9.5: preserve full marketplace logos and prevent SAP artwork clipping */
.tm-store-badge__custom-logo{object-fit:contain;object-position:center;overflow:visible}
.tm-store-badge-sap .tm-store-badge__custom-logo{width:28px;height:28px;flex-basis:28px;padding:1px 0;box-sizing:border-box}


/* v1.9.7: consolidated mobile hero order/spacing and left-aligned page-header pills */
@media (min-width:961px){
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy{
    order:1 !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-video-wrap{
    order:2 !important;
  }
}

@media (max-width:960px){
  body.home .tm-hero .tm-hero-inner-has-video{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:18px !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-video-wrap{
    order:1 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy{
    order:2 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy > .tm-kicker{
    margin-top:0 !important;
  }
}

@media (min-width:901px){
  .wp-block-truemed-page-header .tm-page-hero-top:not(.has-media) .tm-page-hero-pills,
  .tm-page-hero-template .tm-page-hero-top:not(.has-media) .tm-page-hero-pills{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:14px !important;
    width:100% !important;
    max-width:none !important;
  }
}


/* v1.9.8: exact mobile spacing between hero video and eyebrow */
@media (max-width:960px){
  body.home .tm-hero .tm-hero-inner-has-video{
    gap:0 !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-video-wrap{
    margin:0 0 18px 0 !important;
  }
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy,
  body.home .tm-hero .tm-hero-inner-has-video > .tm-hero-copy > .tm-kicker{
    margin-top:0 !important;
  }
}


/* v1.10.4 Ensure the TrueMed play overlay renders identically in every page-header layout. */
.wp-block-truemed-page-header .tm-page-header-video-poster,
.tm-page-hero-template .tm-page-header-video-poster{
  isolation:isolate;
}
.wp-block-truemed-page-header .tm-page-header-play,
.tm-page-hero-template .tm-page-header-play{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  z-index:5 !important;
  width:72px !important;
  height:72px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:#8AC939 !important;
  transform:translate(-50%,-50%) !important;
  box-shadow:0 16px 36px rgba(0,0,0,.34),0 0 0 8px rgba(138,201,57,.12) !important;
  overflow:hidden !important;
}
.wp-block-truemed-page-header .tm-page-header-play:after,
.tm-page-hero-template .tm-page-header-play:after{content:none !important;}
.wp-block-truemed-page-header .tm-page-header-play svg,
.tm-page-hero-template .tm-page-header-play svg{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.wp-block-truemed-page-header .tm-page-header-play circle,
.tm-page-hero-template .tm-page-header-play circle{fill:#8AC939 !important;}
.wp-block-truemed-page-header .tm-page-header-play path,
.tm-page-hero-template .tm-page-header-play path{fill:#071827 !important;}
/* Explicit Pills-layout safeguard against legacy pill/span selectors. */
.wp-block-truemed-page-header.tm-page-hero-pills .tm-page-header-play,
.tm-page-hero-pills.wp-block-truemed-page-header .tm-page-header-play,
.tm-page-hero-template.tm-page-hero-pills .tm-page-header-play{
  min-height:72px !important;
  min-width:72px !important;
  padding:0 !important;
  border:0 !important;
  color:inherit !important;
  background:#8AC939 !important;
}

/* v2.0.0 Mobile page headers: place selected image/video above eyebrow and copy */
@media (max-width: 900px){
  .wp-block-truemed-page-header .tm-page-hero-top.has-media,
  .tm-page-hero-template .tm-page-hero-top.has-media{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top.has-media > .tm-page-header-media,
  .tm-page-hero-template .tm-page-hero-top.has-media > .tm-page-header-media{
    order:1 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 0 18px !important;
    justify-self:stretch !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top.has-media > .tm-page-hero-copy,
  .tm-page-hero-template .tm-page-hero-top.has-media > .tm-page-hero-copy{
    order:2 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-header-media-image,
  .tm-page-hero-template .tm-page-hero-top.has-media .tm-page-header-media-image{
    justify-content:flex-start !important;
  }

  .wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-header-media-image img,
  .tm-page-hero-template .tm-page-hero-top.has-media .tm-page-header-media-image img,
  .wp-block-truemed-page-header .tm-page-hero-top.has-media .tm-page-header-media-video,
  .tm-page-hero-template .tm-page-hero-top.has-media .tm-page-header-media-video{
    width:100% !important;
    max-width:none !important;
  }
}


/* v2.0.1 Mobile media-first page headers: remove excess space below navigation */
@media (max-width: 900px){
  /* Fallback for browsers without :has(): offset the 100px legacy mobile top padding. */
  .wp-block-truemed-page-header .tm-page-hero-top.has-media,
  .tm-page-hero-template .tm-page-hero-top.has-media{
    margin-top:-72px !important;
  }

  /* Modern browsers: reduce the section padding directly and avoid the fallback offset. */
  @supports selector(.tm-page-hero-template:has(.tm-page-hero-top.has-media)){
    .wp-block-truemed-page-header.tm-page-hero-template:has(.tm-page-hero-top.has-media),
    .tm-page-hero-template:has(.tm-page-hero-top.has-media){
      padding-top:28px !important;
    }
    .wp-block-truemed-page-header .tm-page-hero-top.has-media,
    .tm-page-hero-template .tm-page-hero-top.has-media{
      margin-top:0 !important;
    }
  }
}


/* v2.0.2: Global HubSpot form replaces the former single-post CTA strip. */
.tm-global-hubspot{
  background:var(--tm-hubspot-background,#f4f6f7);
  border-top:1px solid rgba(0,46,75,.08);
  padding:82px 0;
}
.tm-global-hubspot__inner{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(460px,1.18fr);
  align-items:start;
  gap:72px;
}
.tm-global-hubspot__intro{padding-top:14px;position:sticky;top:110px}
.tm-global-hubspot__eyebrow{color:#5c9f20;text-transform:uppercase;letter-spacing:.22em;font-size:12px;font-weight:950;margin-bottom:18px}
.tm-global-hubspot h2{margin:0;color:#071827;font-size:clamp(36px,4.2vw,58px);line-height:1.02;letter-spacing:-.052em;max-width:560px}
.tm-global-hubspot__intro p{margin:22px 0 0;color:#617084;font-size:18px;line-height:1.65;max-width:540px}
.tm-global-hubspot__form-card{background:#fff;border:1px solid rgba(0,46,75,.1);border-radius:22px;padding:34px;box-shadow:0 20px 55px rgba(0,46,75,.09);min-width:0}
.tm-global-hubspot__form .hs-form-field{margin-bottom:18px}
.tm-global-hubspot__form label{display:block;color:#071827;font-weight:800;font-size:13px;margin-bottom:7px}
.tm-global-hubspot__form input:not([type=checkbox]):not([type=radio]),
.tm-global-hubspot__form select,
.tm-global-hubspot__form textarea{width:100%!important;max-width:none!important;border:1px solid #cbd5dc!important;border-radius:8px!important;background:#fff!important;color:#071827!important;padding:13px 14px!important;font:inherit!important;box-shadow:none!important}
.tm-global-hubspot__form textarea{min-height:120px;resize:vertical}
.tm-global-hubspot__form input:focus,
.tm-global-hubspot__form select:focus,
.tm-global-hubspot__form textarea:focus{outline:2px solid rgba(138,201,57,.3)!important;border-color:#8AC939!important}
.tm-global-hubspot__form .hs-button{appearance:none;border:0!important;border-radius:7px!important;background:#8AC939!important;color:#061523!important;padding:15px 25px!important;font-weight:900!important;font-size:15px!important;cursor:pointer;transition:.2s ease}
.tm-global-hubspot__form .hs-button:hover{filter:brightness(1.04);transform:translateY(-1px)}
.tm-global-hubspot__form .hs-error-msgs{list-style:none;padding:0;margin:6px 0 0;color:#b42318;font-size:13px}
.tm-global-hubspot__form .legal-consent-container,.tm-global-hubspot__form .hs-richtext{color:#617084;font-size:12px;line-height:1.5}
@media(max-width:900px){
  .tm-global-hubspot{padding:60px 0}
  .tm-global-hubspot__inner{grid-template-columns:1fr;gap:34px}
  .tm-global-hubspot__intro{position:static;padding-top:0}
}
@media(max-width:600px){
  .tm-global-hubspot{padding:46px 0}
  .tm-global-hubspot__form-card{padding:22px;border-radius:16px}
  .tm-global-hubspot h2{font-size:38px}
}

/* Fixed-header offset for native browser anchor navigation. */
[id] {
  scroll-margin-top: calc(var(--tm-site-header-height, 76px) + 18px);
}


/* v2.0.3 Alternate single-post template with automatic left table of contents. */
.tm-single-post__body--toc{
  width:min(var(--tm-max),calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(0,760px);
  justify-content:space-between;
  align-items:start;
  gap:clamp(48px,7vw,92px);
}
.tm-single-post__body--toc .tm-single-post__content{
  width:100%;
  max-width:760px;
  margin:0;
}
.tm-post-toc{min-width:0;align-self:stretch}
.tm-post-toc__inner{
  position:sticky;
  top:calc(var(--tm-site-header-height,76px) + 34px);
  padding:2px 0 24px;
}
.tm-post-toc__eyebrow{
  margin:0 0 16px;
  color:#5c9f20;
  font-size:11px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.tm-post-toc__list{list-style:none;margin:0;padding:0;border-left:1px solid rgba(0,46,75,.14)}
.tm-post-toc__item{margin:0;padding:0}
.tm-post-toc__link{
  position:relative;
  display:block;
  padding:8px 0 8px 18px;
  color:#6D7C88;
  font-size:13px;
  line-height:1.38;
  font-weight:700;
  transition:color .18s ease,transform .18s ease;
}
.tm-post-toc__link::before{
  content:"";
  position:absolute;
  left:-1px;
  top:7px;
  bottom:7px;
  width:2px;
  border-radius:2px;
  background:transparent;
}
.tm-post-toc__item--h2 .tm-post-toc__link{padding-left:28px;font-size:12.5px}
.tm-post-toc__item--h3 .tm-post-toc__link{padding-left:40px;font-size:12px;font-weight:650}
.tm-post-toc__link:hover,.tm-post-toc__link.is-active{color:#002E4B}
.tm-post-toc__link.is-active::before{background:#8AC939}
.tm-post-toc__link.is-active{transform:translateX(2px)}
.tm-single-post__body--toc.has-no-toc{display:block}
.tm-single-post__body--toc.has-no-toc .tm-single-post__content{margin-inline:auto}
.tm-toc-heading{scroll-margin-top:calc(var(--tm-site-header-height,76px) + 24px)}
@media(max-width:900px){
  .tm-single-post__body--toc{
    width:min(var(--tm-max),calc(100% - 40px));
    grid-template-columns:1fr;
    gap:34px;
  }
  .tm-post-toc__inner{
    position:static;
    padding:20px 22px;
    border:1px solid rgba(0,46,75,.1);
    border-radius:14px;
    background:#F5F8FA;
  }
  .tm-post-toc__list{columns:2;column-gap:30px}
  .tm-post-toc__item{break-inside:avoid}
}
@media(max-width:600px){
  .tm-single-post__body--toc{width:min(100% - 32px,760px);gap:28px}
  .tm-post-toc__list{columns:1}
  .tm-post-toc__inner{padding:18px}
}


/* v2.0.4 Wider TOC post layout with a full desktop navigation card. */
body.single-post .tm-single-post.tm-single-post--toc{
  width:100% !important;
  max-width:none !important;
}
.tm-single-post--toc .tm-single-post__body--toc{
  width:min(1380px,calc(100% - 64px));
  grid-template-columns:minmax(280px,330px) minmax(0,780px);
  justify-content:center;
  gap:clamp(48px,5vw,76px);
}
.tm-single-post--toc .tm-single-post__body--toc .tm-single-post__content{
  width:100% !important;
  max-width:780px !important;
  margin:0 !important;
}
.tm-single-post--toc .tm-post-toc__inner{
  padding:28px 26px 30px;
  border:1px solid rgba(0,46,75,.10);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 44px rgba(0,46,75,.08);
}
.tm-single-post--toc .tm-post-toc__eyebrow{margin-bottom:18px}
.tm-single-post--toc .tm-post-toc__list{border-left-color:rgba(0,46,75,.16)}
@media(max-width:900px){
  body.single-post .tm-single-post.tm-single-post--toc{
    width:100% !important;
    max-width:none !important;
  }
  .tm-single-post--toc .tm-single-post__body--toc{
    width:min(780px,calc(100% - 40px));
    grid-template-columns:1fr;
    gap:34px;
  }
  .tm-single-post--toc .tm-post-toc__inner{
    padding:22px;
    border-radius:16px;
    background:#fff;
  }
}
@media(max-width:600px){
  .tm-single-post--toc .tm-single-post__body--toc{width:calc(100% - 32px)}
  .tm-single-post--toc .tm-post-toc__inner{padding:19px}
}

/* v2.0.5 Align the desktop TOC card with the article's first rendered heading. */
@media(min-width:901px){
  .tm-single-post--toc .tm-post-toc{align-self:start;}
}


/* v2.0.6 Keep the desktop TOC sticky without a visible alignment jump. */
@media(min-width:901px){
  .tm-single-post--toc .tm-post-toc{
    align-self:stretch;
    padding-top:var(--tm-toc-start-offset,0px);
    opacity:0;
    transform:translateY(8px);
    transition:opacity .35s ease,transform .35s ease;
  }
  .tm-single-post--toc .tm-post-toc.is-ready{
    opacity:1;
    transform:none;
  }
  .tm-single-post--toc .tm-post-toc__inner{
    position:sticky;
    top:calc(var(--tm-site-header-height,76px) + 24px);
    margin-top:0 !important;
  }
}
@media(max-width:900px){
  .tm-single-post--toc .tm-post-toc{
    opacity:0;
    transform:translateY(8px);
    transition:opacity .35s ease,transform .35s ease;
  }
  .tm-single-post--toc .tm-post-toc.is-ready{
    opacity:1;
    transform:none;
  }
}
@media(prefers-reduced-motion:reduce){
  .tm-single-post--toc .tm-post-toc{transition:none;transform:none}
}

/* v2.0.7 Align the TOC card with the first article heading. */
.tm-single-post--toc .tm-single-post__content--with-toc > :is(h1,h2,h3):first-child{
  margin-top:0 !important;
}
@media(min-width:901px){
  .tm-single-post--toc .tm-post-toc{
    padding-top:0 !important;
  }
}

/* v2.0.8 Align the TOC card edge with the first article heading and retain a mobile rule. */
@media(min-width:901px){
  .tm-single-post--toc .tm-post-toc{
    /* The card itself, not only its text, begins level with the first content heading. */
    padding-top:var(--tm-toc-start-offset,0px) !important;
  }
}
@media(max-width:900px){
  .tm-single-post--toc .tm-post-toc__nav{
    border-left:1px solid rgba(0,46,75,.18);
  }
  .tm-single-post--toc .tm-post-toc__list{
    border-left:0 !important;
  }
  .tm-single-post--toc .tm-post-toc__link::before{
    left:-1px;
  }
}


/* v2.0.9 Add breathing room between the mobile hero and TOC card. */
@media(max-width:900px){
  .tm-single-post--toc .tm-post-toc{
    margin-top:24px;
  }
}
@media(max-width:600px){
  .tm-single-post--toc .tm-post-toc{
    margin-top:28px;
  }
}

/* v2.0.10 Tablet TOC column divider. */
@media (min-width:601px) and (max-width:900px){
  .tm-single-post--toc .tm-post-toc__nav{
    position:relative;
    border-left:1px solid rgba(0,46,75,.18);
  }
  .tm-single-post--toc .tm-post-toc__nav::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:1px;
    background:rgba(0,46,75,.16);
    pointer-events:none;
  }
  .tm-single-post--toc .tm-post-toc__list{
    border-left:0 !important;
  }
}


/* v2.0.11 Automatically styled source cards after a Sources heading. */
.tm-single-post__content .tm-source-list{
  list-style:none !important;
  margin:24px 0 10px !important;
  padding:0 !important;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.tm-single-post__content .tm-source-list > li{
  margin:0 !important;
  padding:0 !important;
  min-width:0;
}
.tm-single-post__content .tm-source-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  gap:12px;
  padding:20px 50px 18px 20px;
  border:1px solid rgba(0,46,75,.14);
  border-radius:16px;
  background:#fff;
  color:var(--tm-primary) !important;
  text-decoration:none !important;
  box-shadow:0 10px 28px rgba(0,46,75,.06);
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.tm-single-post__content .tm-source-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--tm-secondary);
}
.tm-single-post__content .tm-source-card:hover,
.tm-single-post__content .tm-source-card:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(138,201,57,.7);
  box-shadow:0 16px 34px rgba(0,46,75,.11);
  color:var(--tm-primary) !important;
}
.tm-single-post__content .tm-source-card:focus-visible{
  outline:3px solid rgba(138,201,57,.28);
  outline-offset:3px;
}
.tm-source-card__title{
  display:block;
  font-size:17px;
  line-height:1.42;
  font-weight:750;
  color:var(--tm-primary);
}
.tm-source-card__domain{
  display:block;
  margin-top:auto;
  font-size:13px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:.025em;
  color:var(--tm-muted);
  overflow-wrap:anywhere;
}
.tm-source-card__arrow{
  position:absolute;
  top:18px;
  right:18px;
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(138,201,57,.15);
  color:var(--tm-primary);
  font-size:18px;
  line-height:1;
  transition:background .2s ease,transform .2s ease;
}
.tm-source-card:hover .tm-source-card__arrow,
.tm-source-card:focus-visible .tm-source-card__arrow{
  background:var(--tm-secondary);
  transform:translate(2px,-2px);
}
@media(max-width:760px){
  .tm-single-post__content .tm-source-list{grid-template-columns:1fr;gap:12px}
  .tm-single-post__content .tm-source-card{padding:18px 46px 16px 18px;border-radius:14px}
  .tm-source-card__title{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .tm-single-post__content .tm-source-card,
  .tm-source-card__arrow{transition:none}
}

/* v2.0.13 Server-rendered TOC and robust Gutenberg Sources cards. */
.tm-post-toc.is-empty{display:none!important}
.tm-sources-heading{margin-bottom:18px!important}
p.tm-sources-heading{font-size:28px!important;line-height:1.16!important;font-weight:800!important;color:#002e4b!important}
.tm-source-list{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.tm-source-list>li{margin:0!important;padding:0!important}
.tm-source-card{position:relative;display:flex!important;min-height:132px;flex-direction:column;justify-content:space-between;gap:16px;padding:20px 54px 20px 20px;border:1px solid rgba(0,46,75,.16);border-radius:16px;background:#fff;color:#002e4b!important;text-decoration:none!important;box-shadow:0 12px 28px rgba(0,46,75,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.tm-source-card:hover{transform:translateY(-2px);border-color:#8ac939;box-shadow:0 16px 34px rgba(0,46,75,.12)}
.tm-source-card__title{font-weight:750;line-height:1.35;color:#002e4b}
.tm-source-card__domain{font-size:14px;font-weight:700;color:#60717f;overflow-wrap:anywhere}
.tm-source-card__arrow{position:absolute;right:20px;top:20px;display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:rgba(138,201,57,.16);color:#4b9e23;font-size:18px;font-weight:800}
@media(max-width:700px){.tm-source-list{grid-template-columns:1fr}.tm-source-card{min-height:0}}


/* v2.0.14 Compact single-column source cards. */
.tm-single-post__content .tm-source-list,
.tm-source-list{
  grid-template-columns:1fr !important;
  gap:10px !important;
}
.tm-single-post__content .tm-source-card,
.tm-source-card{
  min-height:0 !important;
  gap:5px !important;
  padding:15px 54px 14px 20px !important;
  border-radius:14px !important;
}
.tm-source-card__title{
  font-size:16px !important;
  line-height:1.35 !important;
}
.tm-source-card__domain{
  margin-top:0 !important;
  font-size:13px !important;
}
.tm-source-card__arrow{
  top:50% !important;
  right:18px !important;
  width:28px !important;
  height:28px !important;
  transform:translateY(-50%);
}
.tm-source-card:hover .tm-source-card__arrow,
.tm-source-card:focus-visible .tm-source-card__arrow{
  transform:translate(2px,calc(-50% - 2px));
}


/* v2.0.16 Keep server-rendered Sources cards authoritative. */
.tm-single-post__content .tm-source-list,
.tm-source-list{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
.tm-single-post__content .tm-source-list > li,
.tm-source-list > li{margin:0!important;padding:0!important;list-style:none!important}
.tm-single-post__content .tm-source-card,
.tm-source-card{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title arrow" "domain arrow";
  align-items:center;
  column-gap:16px;
  row-gap:4px;
  min-height:0!important;
  padding:15px 18px 14px 20px!important;
  border:1px solid rgba(0,46,75,.16)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#002e4b!important;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(0,46,75,.055)!important;
  overflow:hidden;
}
.tm-source-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#8ac939}
.tm-source-card__title{grid-area:title;font-size:16px!important;font-weight:750!important;line-height:1.35!important;color:#002e4b!important}
.tm-source-card__domain{grid-area:domain;font-size:13px!important;font-weight:700!important;line-height:1.3!important;color:#6b7b88!important}
.tm-source-card__arrow{grid-area:arrow;position:static!important;width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:rgba(138,201,57,.16);color:#4b9e23;font-size:18px;font-weight:800}
.tm-source-card:hover,.tm-source-card:focus-visible{border-color:#8ac939!important;box-shadow:0 12px 26px rgba(0,46,75,.09)!important;transform:translateY(-1px)}


/* Source list disclosure — show three cards until explicitly expanded. */
.tm-source-list-wrap{display:block}
.tm-source-list .tm-source-list__item.is-source-collapsed{display:none!important}
.tm-source-list.is-expanded .tm-source-list__item.is-source-collapsed{display:list-item!important}
.tm-source-list__toggle{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:14px 0 0;
  padding:13px 18px;
  border:1px solid rgba(0,46,75,.18);
  border-radius:14px;
  background:#fff;
  color:#002e4b;
  font:inherit;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,46,75,.05);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background-color .2s ease;
}
.tm-source-list__toggle:hover,
.tm-source-list__toggle:focus-visible{
  border-color:#8ac939;
  background:#f8fbf4;
  box-shadow:0 10px 24px rgba(0,46,75,.09);
}
.tm-source-list__toggle:focus-visible{outline:3px solid rgba(138,201,57,.32);outline-offset:3px}
.tm-source-list__toggle-icon{font-size:18px;line-height:1;transition:transform .2s ease}
.tm-source-list__toggle[aria-expanded="true"] .tm-source-list__toggle-icon{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.tm-source-list__toggle,.tm-source-list__toggle-icon{transition:none}}

/* v2.0.18 Keep TOC-template article copy aligned with the hero headline. */
@media (min-width: 901px) {
  body.single-post .tm-single-post--toc .tm-single-post__body--toc {
    width: min(var(--tm-max), calc(100% - 64px)) !important;
    max-width: var(--tm-max) !important;
    grid-template-columns: 294px minmax(0, 780px) !important;
    column-gap: 0 !important;
    justify-content: start !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__content--with-toc {
    grid-column: 2 !important;
    margin-left: 0 !important;
  }

  body.single-post .tm-single-post--toc .tm-post-toc {
    width: 330px;
    max-width: 330px;
    transform: translateX(-36px);
  }
}

/* v2.0.20 Align TOC-template article copy with the hero headline, not the hero container. */
@media (min-width: 981px) {
  body.single-post .tm-single-post--toc .tm-single-post__body--toc {
    position: relative !important;
    display: block !important;
    width: min(1380px, calc(100% - 64px)) !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
  }

  body.single-post .tm-single-post--toc .tm-post-toc {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 330px !important;
    max-width: 330px !important;
    transform: none !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__content--with-toc {
    width: 780px !important;
    max-width: 780px !important;
    margin-right: 0 !important;
    margin-left: calc(
      (100% - min(1080px, calc(100vw - 48px))) / 2
      + clamp(260px, 32vw, 390px)
    ) !important;
  }

  /* Posts without a featured hero symbol align to the hero container itself. */
  body.single-post .tm-single-post--toc:has(.tm-single-post__hero-row.no-featured-image) .tm-single-post__content--with-toc {
    margin-left: calc((100% - min(1080px, calc(100vw - 48px))) / 2) !important;
  }
}

/* v2.0.21 Keep the TOC close to the aligned article column. */
@media (min-width: 981px) {
  body.single-post .tm-single-post--toc .tm-single-post__body--toc {
    --tm-post-copy-left: calc(
      (100% - min(1080px, calc(100vw - 48px))) / 2
      + clamp(260px, 32vw, 390px)
    );
    --tm-toc-copy-gap: 38px;
  }

  body.single-post .tm-single-post--toc .tm-post-toc {
    left: calc(var(--tm-post-copy-left) - 330px - var(--tm-toc-copy-gap)) !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__content--with-toc {
    margin-left: var(--tm-post-copy-left) !important;
  }

  body.single-post .tm-single-post--toc:has(.tm-single-post__hero-row.no-featured-image) {
    --tm-post-copy-left: calc((100% - min(1080px, calc(100vw - 48px))) / 2);
  }
}

/* v2.0.22 Align the full desktop post layout to the same container margins as the navigation. */
@media (min-width: 981px) {
  body.single-post .tm-single-post--toc .tm-single-post__body--toc {
    position: relative !important;
    display: grid !important;
    width: min(var(--tm-max), calc(100% - 64px)) !important;
    max-width: var(--tm-max) !important;
    margin-inline: auto !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    column-gap: 48px !important;
    justify-content: stretch !important;
    align-items: start !important;
  }

  body.single-post .tm-single-post--toc .tm-post-toc {
    position: relative !important;
    inset: auto !important;
    width: 330px !important;
    max-width: 330px !important;
    transform: none !important;
    grid-column: 1 !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__content--with-toc {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* v2.0.23 Align the desktop hero headline with the article copy column. */
@media (min-width: 981px) {
  body.single-post .tm-single-post--toc .tm-single-post__hero-inner {
    width: min(var(--tm-max), calc(100% - 64px)) !important;
    max-width: var(--tm-max) !important;
    margin-inline: auto !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__hero-row.has-featured-image {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    column-gap: 48px !important;
    align-items: center !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__hero-row.has-featured-image .tm-single-post__featured {
    grid-column: 1 !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__hero-row.has-featured-image .tm-single-post__header {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__hero-row.no-featured-image {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    column-gap: 48px !important;
  }

  body.single-post .tm-single-post--toc .tm-single-post__hero-row.no-featured-image .tm-single-post__header {
    grid-column: 2 !important;
  }
}


/* v2.0.24 Stop the sticky desktop TOC before the Sources section. */
@media (min-width: 901px) {
  body.single-post .tm-single-post--toc .tm-post-toc__inner {
    transform: translateY(var(--tm-toc-stop-shift, 0px));
    will-change: transform;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single-post .tm-single-post--toc .tm-post-toc__inner {
    transition: none;
  }
}
