/* TheHealthPulse social surface only. Loaded after social-feed.css. */
.thp-body{--ink:#14243b;--muted:#63738a;--line:#e2eaf4;background:radial-gradient(ellipse at 5% 0,#e5efff 0,transparent 35%),radial-gradient(ellipse at 95% 20%,#e4f8ef 0,transparent 35%),#f3f6fb;font-size:14px;overflow-wrap:break-word}
.thp-header{background:rgba(255,255,255,.97);box-shadow:0 4px 24px #193d7310}.thp-header-inner{max-width:1560px;min-height:68px;gap:22px}.thp-brand{font-size:clamp(20px,1.8vw,28px)}.thp-search{background:#f0f4fa;border-color:transparent;min-height:42px;max-width:540px}.thp-search:focus-within{border-color:#8eb5ec;background:white}.thp-nav{margin-left:auto;gap:clamp(14px,2vw,30px)}.thp-nav a,.thp-nav button{padding:7px 12px;border-radius:10px;transition:background .18s,color .18s}.thp-nav .active{background:#edf3ff}.thp-nav .active:after{left:20%;right:20%}.thp-bell{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#edf3ff;color:var(--blue)}.thp-menu summary{padding:3px 5px;border-radius:28px;background:#f0f5fb}.thp-shell{max-width:1560px;padding:18px 24px 32px}.thp-grid{grid-template-columns:minmax(205px,20fr) minmax(0,52fr) minmax(265px,28fr);gap:16px}.thp-grid>section,.thp-left,.thp-right,#thp-posts{gap:14px}.thp-card{border-color:#e1e8f2;border-radius:18px;box-shadow:0 5px 18px #14366a09}.thp-pad{padding:16px}.thp-heading{font-size:17px;letter-spacing:-.35px;margin-bottom:13px!important;gap:8px}.thp-heading i{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e9f0ff;color:#0b3490;font-size:16px}.thp-heading i.text-green-600{background:#e3f7eb;color:#008d3b}.thp-heading i.text-red-600{background:#fee9e6;color:#910c00}.thp-button{border-radius:11px;background:linear-gradient(125deg,#174cba,#0b3490);padding:10px 15px;box-shadow:0 4px 10px #0b349025}.thp-soft{background:linear-gradient(110deg,#edf2ff,#eaf7f1);border:1px solid #e3ebf8;border-radius:10px;padding:9px 7px}.thp-link{color:#0b3490}.thp-hero{min-height:190px;border-radius:22px;margin-bottom:17px;background:linear-gradient(110deg,#09266f 0%,#0b3490 40%,#007c79 72%,#00a53f);box-shadow:0 9px 24px #0b34901c}.thp-hero-copy{width:61%;padding:22px 30px 36px}.thp-hero-kicker{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:1.35px;font-weight:800;background:#ffffff1c;border:1px solid #ffffff38;padding:5px 9px;border-radius:20px;margin-bottom:9px}.thp-hero h1{font-size:clamp(27px,2.7vw,42px);letter-spacing:-1.15px;margin-bottom:7px}.thp-hero p{font-size:clamp(12px,1vw,15px);margin:0;line-height:1.55}.thp-hero-photo{right:6%;width:42%;height:100%;object-fit:contain;object-position:center bottom;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}.thp-wave{height:27px}.thp-pulse{width:6%;top:23%;opacity:.58}.thp-profile{position:relative;isolation:isolate;background:#fff;padding:21px 15px 15px}.thp-profile:before{content:'';position:absolute;inset:0 0 auto;height:89px;background:radial-gradient(circle at 80% 0,#7be49a,transparent 52%),linear-gradient(120deg,#0b3490,#008a72);z-index:-1}.thp-profile-avatar{margin-bottom:10px}.thp-profile-avatar .thp-avatar{border:4px solid white;box-shadow:0 4px 12px #0b349033}.thp-profile-stats{padding:10px 2px;border-radius:12px;background:#f3f7fd;margin:14px 0}.thp-profile-stats strong{color:var(--blue)}.thp-interests button{border:0;border-radius:10px;margin:2px 0;padding:8px;font-size:13px;gap:9px}.thp-interests i{width:30px;height:30px;display:grid;place-items:center;background:var(--tint,#eaf1ff);border-radius:9px;font-size:16px}.thp-interests .selected{background:#e9f0ff;box-shadow:inset 3px 0 #0b3490}.thp-community-row{padding:9px 3px;border-radius:8px}.thp-badges i{width:46px;height:46px;box-shadow:0 2px 7px #0b34900d}.thp-stories{scrollbar-width:none;gap:10px;padding-bottom:4px}.thp-stories::-webkit-scrollbar,.thp-interests::-webkit-scrollbar{display:none}.thp-stories button{min-width:60px;transition:transform .18s}.thp-story-ring{background:linear-gradient(145deg,#0b3490 0%,#12be5e 55%,#a745df 100%);padding:3px;box-shadow:0 2px 8px #0b349019}.thp-story-add{background:#e8efff;border:0}.thp-story-add i{background:linear-gradient(135deg,#1c56c1,#0b3490)}.thp-composer-card{border-top:3px solid #00a53f}.thp-composer-label{display:flex;align-items:center;gap:6px;color:#0b3490;font-size:11px;font-weight:700;margin-bottom:10px}.thp-composer-label i{color:#00a53f}#thp-compose-text{background:#f0f4fa;border-color:transparent;resize:none;min-height:44px}#thp-compose-text:focus{background:#fff;border-color:#a5bfea}.thp-composer-tools>button:not(.thp-button){border:0;border-radius:9px;background:#f4f7fb;padding:8px 5px}.thp-composer-tools>button:not(.thp-button):nth-child(1){background:#eaf8ef}.thp-composer-tools>button:not(.thp-button):nth-child(2){background:#edf3ff}.thp-composer-tools>button:not(.thp-button):nth-child(3){background:#f5edff}.thp-feed-label{font-size:12px;padding:2px 4px;flex-wrap:wrap}.thp-feed-label>span:first-child{font-weight:800}.thp-post{padding:16px 18px;border-left:3px solid var(--blue)}.thp-post[data-category=news]{border-left-color:#910c00}.thp-post[data-category=research],.thp-post[data-category=story]{border-left-color:#00a53f}.thp-post[data-category=opportunity]{border-left-color:#8a27b8}.thp-post-head{margin-bottom:12px}.thp-author{font-size:14px}.thp-post-content{align-items:start;grid-template-columns:minmax(0,1fr) minmax(115px,30%);gap:14px}.thp-post-content h2{font-size:clamp(16px,1.3vw,20px);line-height:1.3;margin-bottom:7px}.thp-post-content p{font-size:13px;line-height:1.55;color:#3b4b62}.thp-post-content>img{aspect-ratio:1.48;border-radius:12px;box-shadow:0 3px 10px #0b349015}.thp-tag{border-radius:7px;padding:6px 9px;letter-spacing:.2px}.thp-post-actions{gap:3px;margin-top:12px;padding-top:8px}.thp-post-actions button{justify-content:center;min-height:34px;flex:1;border-radius:8px;font-size:12px}.thp-post-actions button:first-child{justify-content:flex-start}.thp-post-actions button:last-child{justify-content:flex-end}.thp-post-actions [aria-pressed=true]{background:#eaf1ff;color:#0b3490}.thp-comment-box[hidden]{display:none!important}.thp-announcements{border-color:#f1ceca;background:#fffafa}.thp-announcements h2{background:linear-gradient(110deg,#910c00,#bd2821);font-size:15px;padding:13px 14px;gap:9px}.thp-announcements .thp-pad{padding:12px 14px}.thp-announcement{gap:10px;padding:9px 0}.thp-announcement img{width:27%;border-radius:10px}.thp-announcement strong{font-size:12px}.thp-announcements .thp-soft{background:#fce7e5;border-color:#f6d5d1}.thp-trends button{padding:9px 5px;border-radius:7px}.thp-trends strong{font-size:12px}.thp-tabs{gap:5px}.thp-tabs button{padding:6px 9px;background:#edf2f9;border:0}.thp-tabs [aria-pressed=true]{background:#0b3490}.thp-suggestion{padding:10px 0}.thp-suggestion button{background:#eef4ff;border:0;padding:7px 10px}.thp-quote{background:linear-gradient(140deg,#e7f9e9,#e1f8f3);border-color:#c6ecda;min-height:160px}.thp-quote blockquote{color:#123c36;line-height:1.5}.thp-quote img{border-radius:50% 0 0 0}.thp-highlights>div{padding:6px 2px;border-radius:10px;background:#f0f7fc}.thp-highlights>div:first-child{background:#eaf8ef}.thp-highlights>div:last-child{background:#f4edff}.thp-highlights>div+div{border:0}.thp-highlights strong{color:#0b3490}.thp-bottom-nav,.thp-drawer-trigger{display:none}.thp-drawer:not([open]){display:none!important}.thp-body.thp-drawer-open{overflow:hidden}.thp-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(88vw,360px);max-width:none;height:100dvh;max-height:none;padding:0;border:0;background:#f4f7fb;color:var(--ink);box-shadow:20px 0 60px #071d4e44;overflow:hidden;border-radius:0 22px 22px 0}.thp-drawer[open]{display:flex;flex-direction:column;animation:thp-slide-in .23s ease-out}.thp-drawer::backdrop{background:#081b43a1;backdrop-filter:blur(3px)}@keyframes thp-slide-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}.thp-drawer-top{display:flex;align-items:center;justify-content:space-between;padding:18px 16px;background:#fff;color:#0b3490;font:700 23px/1.2 'Roboto Slab',Georgia,serif}.thp-drawer-top>span>span{color:#00a53f}.thp-drawer-top button{display:grid;place-items:center;width:38px;height:38px;background:#edf2fa;border-radius:12px;font-size:18px}.thp-drawer-profile{display:flex;align-items:center;gap:12px;margin:12px;padding:15px;background:linear-gradient(135deg,#0b3490,#008b69);color:#fff;border-radius:16px}.thp-drawer-profile .thp-initials{width:48px;height:48px;border:2px solid #ffffff7a;background:#ffffff26}.thp-drawer-profile strong,.thp-drawer-profile small{display:block}.thp-drawer-profile small{color:#e2f6ee;margin-top:4px}.thp-drawer-scroll{padding:0 12px 14px;overflow:auto;flex:1;overscroll-behavior:contain}.thp-drawer-label{margin:13px 7px 7px;text-transform:uppercase;font-size:10px;letter-spacing:1.2px;font-weight:800;color:#63738a}.thp-drawer-scroll a,.thp-drawer-scroll button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 10px;background:#fff;border-radius:10px;margin:4px 0;font-weight:600;font-size:13px;min-height:48px}.thp-drawer-scroll a i:first-child,.thp-drawer-scroll button i:first-child{display:grid;place-items:center;width:31px;height:31px;background:var(--tint,#e9f0ff);color:var(--tone,#0b3490);border-radius:9px;font-size:16px}.thp-drawer-scroll .bi-chevron-right{margin-left:auto;color:#8494ac;font-size:12px}.thp-drawer-logout{color:#910c00!important}.thp-drawer-foot{padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));background:#fff;color:#008b49;font-size:11px;font-weight:700;border-top:1px solid #e3eaf3}.thp-drawer-foot i{margin-right:5px}
@media(hover:hover){.thp-nav a:hover,.thp-nav button:hover,.thp-interests button:hover,.thp-community-row:hover,.thp-trends button:hover{background:#edf3ff}.thp-post-actions button:hover{background:#f0f5fc}.thp-stories button:hover{transform:translateY(-2px)}.thp-soft:hover{background:#e1ebff}.thp-button:hover{filter:brightness(1.08)}}
@media(min-width:1101px){.thp-left,.thp-right{min-width:0}.thp-header-inner{padding-inline:24px}.thp-post-content p{font-size:13px}.thp-announcement strong,.thp-suggestion strong,.thp-community-row strong{font-size:12px}}
@media(min-width:901px) and (max-width:1100px){.thp-grid{grid-template-columns:minmax(180px,24%) minmax(0,1fr)}.thp-header-inner{gap:10px}.thp-nav{gap:3px}.thp-nav a,.thp-nav button{padding:6px}.thp-brand{font-size:21px}.thp-shell{padding-inline:16px}}
@media(max-width:900px){.thp-body{background:#eef2f7;padding-bottom:calc(75px + env(safe-area-inset-bottom,0px));font-size:13px}.thp-header-inner{min-height:0;padding:8px 12px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.thp-drawer-trigger{display:grid;place-items:center;width:38px;height:38px;background:#eaf1fd;color:#0b3490;border-radius:12px;font-size:25px}.thp-brand{font-size:clamp(17px,4.2vw,23px);letter-spacing:-.7px;gap:4px;min-width:0}.thp-brand img{width:27px;height:32px}.thp-header-actions{gap:6px}.thp-header-actions .thp-menu,.thp-header-actions .thp-login,.thp-header-actions>.thp-button{display:none}.thp-bell{width:38px;height:38px;font-size:21px!important}.thp-nav{display:none}.thp-search{grid-column:1/-1;order:unset;max-width:none;min-height:40px;padding:8px 12px}.thp-search input{font-size:13px}.thp-shell{padding:10px 10px 12px;max-width:680px}.thp-hero{min-height:170px;border-radius:17px;margin-bottom:11px}.thp-hero-copy{width:70%;padding:15px 13px 24px}.thp-hero-kicker{font-size:8px;letter-spacing:.6px;padding:4px 6px;margin-bottom:7px}.thp-hero h1{font-size:clamp(22px,5vw,30px);line-height:1.15;letter-spacing:-.65px}.thp-hero p{font-size:11px;line-height:1.5}.thp-hero-photo{width:55%;right:0;height:100%;object-fit:cover;object-position:48% 20%;opacity:.68;mask-image:linear-gradient(90deg,transparent,#000 54%)}.thp-wave{height:22px}.thp-pulse{display:none}.thp-grid{display:flex;flex-direction:column;gap:10px}.thp-grid>section,.thp-left,.thp-right{width:100%;gap:10px}.thp-left{display:contents!important}.thp-left>.thp-profile,.thp-left>section:not(#interests):not(#communities){display:none!important}.thp-left>#interests{width:100%;order:-1;padding:11px 10px}.thp-left>#communities{display:block!important;order:2;width:100%}.thp-right{display:grid!important;grid-template-columns:1fr!important;order:3}.thp-card{border-radius:15px;box-shadow:0 3px 12px #19365c09}.thp-pad{padding:13px}.thp-heading{font-size:16px;margin-bottom:10px!important}.thp-heading i{width:27px;height:27px;font-size:15px}.thp-interests{display:flex;gap:7px;overflow:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding:0 2px 2px}.thp-interests button{flex:none;width:auto;white-space:nowrap;padding:6px 10px;background:#f0f4fa;border-radius:22px;margin:0;font-size:12px;scroll-snap-align:start;min-height:37px}.thp-interests i{width:auto;height:auto;background:none;font-size:15px}.thp-interests .selected{background:#0b3490;color:#fff;box-shadow:none}.thp-interests .selected i{color:#fff}.thp-stories{justify-content:flex-start;gap:12px;scroll-snap-type:x proximity}.thp-stories button{min-width:62px;flex:none;scroll-snap-align:start}.thp-stories small{font-size:10px;max-width:65px}.thp-story-ring .thp-avatar{width:51px;height:51px}.thp-story-add{width:57px;height:57px}.thp-composer-label{font-size:11px}#thp-compose-text{font-size:14px;min-height:43px}.thp-composer-tools{gap:5px;margin-top:10px;flex-wrap:nowrap}.thp-composer-tools>button:not(.thp-button){font-size:10px;padding:8px 3px;gap:3px;min-width:0;white-space:normal;line-height:1.25}.thp-composer-tools i{font-size:15px}.thp-composer-tools .thp-button{font-size:11px;padding:9px 10px}.thp-feed-label{font-size:11px}.thp-post{padding:12px;border-left-width:3px}.thp-post-head{gap:7px;margin-bottom:10px}.thp-post-head>.thp-avatar{width:39px;height:39px}.thp-author{font-size:13px;line-height:1.3;display:block}.thp-post-head .thp-muted{font-size:10px}.thp-post-head .thp-tag{font-size:9px;padding:5px 6px;max-width:none;white-space:nowrap}.thp-post-content{grid-template-columns:1fr;gap:10px}.thp-post-content h2{font-size:17px;line-height:1.35}.thp-post-content p{font-size:13px}.thp-post-content>img{width:100%;aspect-ratio:1.9;max-height:260px;object-fit:cover;border-radius:11px}.thp-post-actions{margin-top:10px;padding-top:7px}.thp-post-actions button{font-size:11px;min-height:38px;gap:4px}.thp-post-actions button>i{font-size:17px}.thp-comment-word{display:none}.thp-bottom-nav{position:fixed;z-index:25;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;padding:6px 7px calc(7px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e0e8f2;box-shadow:0 -5px 24px #0b349016}.thp-bottom-nav>a,.thp-bottom-nav>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:49px;font-size:10px;font-weight:600;color:#61728b;border-radius:12px}.thp-bottom-nav i{font-size:21px;line-height:1.15}.thp-bottom-nav .is-current{color:#0b3490;background:#edf3ff}.thp-bottom-nav .thp-create-tab{color:#0b3490;gap:2px}.thp-create-tab>span{display:grid;place-items:center;width:43px;height:43px;margin-top:-14px;border:3px solid #fff;border-radius:15px;background:linear-gradient(135deg,#0b3490,#00a53f);color:white;box-shadow:0 4px 10px #0b349033}.thp-create-tab small{font-size:10px}.thp-footer{padding:15px 12px}#thp-toast{bottom:calc(83px + env(safe-area-inset-bottom,0px));width:max-content;max-width:90vw}#feed,#interests,#communities,#thp-discovery{scroll-margin-top:115px}.thp-loader-hero{height:170px}.thp-loader-grid{display:block}.thp-announcements h2{font-size:15px}.thp-announcement img{width:24%;max-width:100px}.thp-suggestion strong,.thp-community-row strong,.thp-trends strong{font-size:13px}}
@media(max-width:360px){.thp-header-inner{padding-inline:8px;gap:6px}.thp-brand{font-size:17px}.thp-brand img{width:23px}.thp-post-head .thp-tag{font-size:8px;padding:4px}.thp-post-actions button{font-size:10px}.thp-composer-tools>button:not(.thp-button){font-size:9px}.thp-bottom-nav>a,.thp-bottom-nav>button{font-size:9px}.thp-hero-copy{width:78%}}
@media(prefers-reduced-motion:reduce){.thp-drawer[open]{animation:none}.thp-body *{transition:none!important;scroll-behavior:auto!important}}
/* Explicit placement keeps the search row below the brand and notification bell. */
@media(max-width:900px){.thp-header-inner>.thp-drawer-trigger{grid-row:1;grid-column:1}.thp-header-inner>.thp-brand{grid-row:1;grid-column:2}.thp-header-inner>.thp-header-actions{grid-row:1;grid-column:3}.thp-header-inner>.thp-search{grid-row:2;grid-column:1/-1}}
