/*
Theme Name: Hambo.Health
Theme URI: https://hambo.health
Author: Hambo Rocks Limited
Description: UK health news, topics and care directories. Pair with Hambo Health Core for directory records and AI editorial tools.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hambo-health
Tags: news, blog, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/
:root{--lime:#dcff65;--ink:#111611;--muted:#59615b;--line:#dce2dc;--paper:#f4f7f2;--dark:#101910;--max:1280px;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font:400 1.0625rem/1.65 Inter,Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a,button,input,select{touch-action:manipulation}img{max-width:100%;height:auto;display:block}button,.button{cursor:pointer}a:hover{text-decoration:underline;text-underline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #739222;outline-offset:5px}.container{width:min(var(--max),calc(100% - 80px));margin-inline:auto}.skip-link{position:absolute;top:-90px;left:16px;z-index:100;background:var(--lime);padding:12px 20px}.skip-link:focus{top:16px}.topbar{background:#080d09;color:#b7c3b8;font-size:0.8125rem;border-bottom:1px solid #293129}.topbar .container{display:flex;justify-content:space-between;align-items:center;padding-block:9px;gap:16px}.topbar strong{font-weight:600;letter-spacing:.11em;color:#dbe6d9}.site-header{background:var(--dark);color:#fff}.header-inner{min-height:97px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;line-height:1;text-decoration:none!important}.brand img{width:49px;height:49px}.wordmark{font-weight:800;font-size:2rem;letter-spacing:-1.6px;color:#fff}.wordmark span{color:var(--lime)}.custom-logo-link img{max-width:250px;max-height:65px;width:auto}.site-navigation{margin-left:auto}.nav-list{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0;font-size:0.9375rem;font-weight:600}.nav-list a{padding-block:16px;display:block}.nav-list .current-menu-item>a{color:var(--lime)}.nav-cta{background:var(--lime);color:var(--ink);padding:11px 20px;border-radius:8px;font-size:0.9375rem;font-weight:700;white-space:nowrap}.nav-cta:hover{background:#e8ff9c;text-decoration:none}.menu-toggle{display:none;color:#fff;border:1px solid #5b695b;background:transparent;border-radius:6px;padding:9px 13px;font-size:0.9375rem}.hero{padding:61px 0 64px}.hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:64px;align-items:center}.eyebrow{display:block;font-size:0.8125rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:20px}.eyebrow:before{content:'';display:inline-block;width:28px;height:3px;background:#88a938;vertical-align:middle;margin-right:10px}.hero h1{font-size:clamp(2.875rem,4.9vw,4.5rem);line-height:1.02;letter-spacing:-3.7px;margin:0 0 25px;font-weight:800}.highlight{display:inline-block;position:relative;isolation:isolate;white-space:nowrap}.highlight:after{position:absolute;content:'';background:var(--lime);height:22%;left:0;right:0;bottom:4%;z-index:-1}.hero-intro{max-width:460px;color:var(--muted);font-size:1.125rem;line-height:1.7;margin:0 0 28px}.actions{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 22px;border-radius:7px;font-weight:700;font-size:0.9375rem;line-height:1.45;border:1px solid var(--ink);background:var(--ink);color:#fff;text-align:center}.button:hover{background:#2b3c2b;color:#fff;text-decoration:none}.button-lime{background:var(--lime);color:var(--ink);border-color:var(--lime)}.button-lime:hover{background:#e8ff9c;color:var(--ink)}.button-outline{background:transparent;color:var(--ink);border-color:#c5cec5}.button-outline:hover{background:var(--paper);color:var(--ink)}.hero-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:0.8125rem;margin-top:25px}.hero-note svg{width:18px;height:18px;flex-shrink:0}.lead-story{border-radius:var(--radius);overflow:hidden;background:var(--dark);color:#fff;position:relative;min-height:425px;display:flex;align-items:flex-end}.lead-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.lead-story:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(9,20,13,.22) 43%,rgba(9,20,13,.96) 100%)}.lead-content{position:relative;z-index:1;padding:32px;width:100%}.tag{display:inline-flex;align-items:center;padding:4px 9px;border-radius:4px;background:var(--lime);font-size:0.75rem;font-weight:750;line-height:1.5;letter-spacing:.04em;text-transform:uppercase;color:var(--ink)}.lead-content h2{font-size:1.8125rem;letter-spacing:-.8px;line-height:1.2;max-width:540px;margin:14px 0 12px}.lead-content p{font-size:0.875rem;color:#e0e9dd;margin:8px 0 0}.post-meta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:0.8125rem;color:var(--muted)}.lead-content .post-meta{color:#d6dfd4}.illustration-label{position:absolute;top:17px;right:17px;z-index:1;font-size:0.6875rem;padding:3px 7px;background:#fff;color:#273227;border-radius:3px}.topic-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.topic-strip .container{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.topic-strip strong{font-size:0.8125rem;text-transform:uppercase;letter-spacing:.09em}.topic-links{display:flex;flex-wrap:wrap;gap:10px}.topic-links a{padding:5px 13px;font-size:0.875rem;background:var(--paper);border-radius:5px;color:#404c41}.topic-links a:hover{background:var(--lime);text-decoration:none}.section{padding-block:65px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.section-heading h2,.section-title{margin:0;font-size:2.125rem;line-height:1.2;letter-spacing:-1.25px}.section-heading p{color:var(--muted);margin:9px 0 0;font-size:1rem}.text-link{font-size:0.875rem;font-weight:700;text-decoration:underline;text-underline-offset:5px;white-space:nowrap}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.post-card{min-width:0}.post-card-image{display:block;aspect-ratio:1.6;border-radius:12px;overflow:hidden;background:var(--paper);position:relative}.post-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.post-card-image:hover img{transform:scale(1.025)}.post-card .tag{margin-top:18px;background:#eef5e4;color:#415425}.post-card h2,.post-card h3{font-size:1.375rem;line-height:1.25;letter-spacing:-.5px;margin:11px 0}.post-card p{font-size:0.9375rem;color:var(--muted);line-height:1.65;margin:12px 0}.post-card .post-meta{margin-top:12px}.fallback-art{display:grid;place-items:center;width:100%;height:100%;background:#e6eedd}.fallback-art img{width:80px;height:80px;opacity:.8;filter:brightness(.55)}.empty-news{border:1px solid var(--line);border-radius:12px;padding:40px;background:var(--paper)}.empty-news h3{margin:0 0 8px;font-size:1.5625rem;letter-spacing:-.5px}.empty-news p{margin:0 0 20px;color:var(--muted);max-width:650px}.directory-section{background:var(--dark);color:#fff;padding:59px 0 64px;position:relative;overflow:hidden}.directory-section:after{content:'';position:absolute;right:-70px;top:-70px;width:390px;height:390px;background:url('assets/images/hambo-globe.svg') center/contain no-repeat;opacity:.08;pointer-events:none}.directory-section .section-heading{position:relative;z-index:1}.directory-section .eyebrow{color:#c3d0bf}.directory-section h2{font-size:2.4375rem;letter-spacing:-1.4px;line-height:1.15;margin:0}.directory-section .section-heading p{color:#becbbc;max-width:470px}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;position:relative;z-index:1}.directory-type{padding:27px;border:1px solid #3b4937;background:#1b2819;border-radius:12px;display:flex;align-items:flex-start;flex-direction:column}.directory-type .type-icon{width:45px;height:45px;color:var(--lime);margin-bottom:21px}.directory-type h3{font-size:1.375rem;letter-spacing:-.5px;margin:0 0 9px}.directory-type p{font-size:0.9375rem;color:#c7d3c3;margin:0 0 21px;flex:1}.directory-type a{font-size:0.875rem;font-weight:700;color:var(--lime);text-underline-offset:5px;text-decoration:underline}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.editorial-grid h2{font-size:2.1875rem;line-height:1.15;letter-spacing:-1.1px;margin:0 0 17px}.editorial-grid p{color:var(--muted);font-size:1rem}.principles{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.principles li{padding:15px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:25px 1fr;gap:12px;font-size:0.9375rem}.principles strong{display:block;font-weight:700}.principles svg{width:20px;height:20px;color:#6f852c;margin-top:3px}.principles span{color:var(--muted)}.site-footer{background:#0b120d;color:#d1dbcf;padding:46px 0 24px}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:45px;padding-bottom:32px}.footer-main p{max-width:350px;font-size:0.875rem;color:#aebdab;margin:19px 0 0}.footer-heading{font-size:0.8125rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin:6px 0 16px;color:#fff}.footer-links{list-style:none;padding:0;margin:0;font-size:0.875rem}.footer-links li{margin-bottom:8px}.footer-bottom{padding-top:22px;border-top:1px solid #2b3828;font-size:0.75rem;color:#aebdab;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-bottom p{margin:0}.page-head{padding:54px 0 36px;border-bottom:1px solid var(--line);background:var(--paper)}.page-head h1{font-size:clamp(2.25rem,4.2vw,3.5rem);letter-spacing:-2px;line-height:1.1;margin:0 0 14px}.page-head p{max-width:720px;color:var(--muted);margin:0}.breadcrumb{font-size:0.8125rem;color:var(--muted);margin-bottom:20px}.breadcrumb a{text-decoration:underline}.archive-layout{padding-block:42px 65px}.directory-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:14px;background:var(--paper);border:1px solid var(--line);padding:23px;border-radius:12px;margin-bottom:30px;align-items:end}.directory-filters label{font-size:0.8125rem;font-weight:700;display:block;margin-bottom:6px}.directory-filters input,.directory-filters select,.search-form input[type=search]{width:100%;min-height:46px;border:1px solid #bac6b7;border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink);font-size:0.9375rem}.directory-filters select{appearance:none;padding-right:33px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.filter-actions{display:flex;gap:10px;align-items:center}.filter-actions a{font-size:0.8125rem}.results-heading{display:flex;justify-content:space-between;gap:20px;margin:18px 0;font-size:0.875rem;color:var(--muted)}.listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.listing-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.listing-card-body{padding:24px}.listing-card h2{font-size:1.4375rem;line-height:1.2;letter-spacing:-.5px;margin:12px 0}.listing-card p{font-size:0.9375rem;color:var(--muted);margin:10px 0}.listing-card .post-card-image{border-radius:0;aspect-ratio:1.9}.listing-card .text-link{display:inline-block;margin-top:14px}.meta-label{font-size:0.75rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.empty-state{padding:45px;border:1px solid var(--line);border-radius:12px;grid-column:1/-1;background:var(--paper)}.empty-state h2{font-size:1.5625rem;margin:0 0 10px}.empty-state p{color:var(--muted);margin:0 0 20px}.pagination{margin-top:36px;display:flex;gap:8px;flex-wrap:wrap}.pagination .page-numbers{padding:9px 15px;border:1px solid var(--line);border-radius:5px;font-size:0.875rem}.pagination .current{background:var(--ink);color:#fff}.article-header{padding-top:46px;max-width:900px;margin-inline:auto}.article-header h1{font-size:clamp(2.1875rem,4.2vw,3.625rem);line-height:1.1;letter-spacing:-2px;margin:20px 0}.article-deck{font-size:1.3125rem;line-height:1.55;color:var(--muted);margin:20px 0}.article-cover{margin:35px auto;max-width:1100px;border-radius:16px;overflow:hidden}.article-cover img{width:100%;max-height:590px;object-fit:cover}.article-cover figcaption{padding:9px 16px;background:var(--paper);font-size:0.75rem;color:var(--muted)}.article-content{max-width:780px;margin:34px auto 60px;font-size:1.125rem;line-height:1.85;overflow-wrap:anywhere}.article-content a{color:#436314;text-decoration:underline}.article-content h2{font-size:1.875rem;line-height:1.25;letter-spacing:-.7px;margin-top:40px}.article-content h3{font-size:1.5rem;line-height:1.3}.article-content blockquote{margin:30px 0;padding:12px 25px;border-left:4px solid #93ae3b;background:var(--paper)}.article-content iframe,.article-content video{max-width:100%}.article-content table{display:block;overflow:auto;border-collapse:collapse}.article-content td,.article-content th{border:1px solid var(--line);padding:10px}.article-content .wp-block-image{margin-inline:0}.article-content ul,.article-content ol{padding-left:25px}.article-content .wp-block-button__link{color:var(--ink);background:var(--lime);text-decoration:none}.editorial-note{padding:18px 22px;background:var(--paper);border-left:3px solid #8d9f57;font-size:0.875rem;line-height:1.65;color:var(--muted);margin:26px 0}.profile-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:45px;padding-block:40px 60px}.profile-content{min-width:0}.profile-content .article-content{margin:0;max-width:none}.contact-card{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:12px;align-self:start;position:sticky;top:20px}.contact-card h2{font-size:1.5rem;letter-spacing:-.6px;margin:0 0 22px}.contact-card dl{margin:0}.contact-card dt{font-size:0.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:18px;font-weight:700}.contact-card dd{font-size:0.9375rem;margin:4px 0;overflow-wrap:anywhere}.contact-card a{text-decoration:underline}.contact-card .button{margin-top:23px;width:100%;text-decoration:none}.contact-card .editorial-note{font-size:0.75rem;padding:13px;margin-bottom:0}.taxonomy-pills{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.taxonomy-pills a,.taxonomy-pills span{font-size:0.8125rem;padding:4px 9px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.taxonomy-pills [aria-current=page]{background:var(--lime);border-color:var(--lime)}.search-form{display:flex;gap:12px;align-items:center}.search-form label{flex:1}.screen-reader-text{position:absolute;width:1px;height:1px;clip:rect(1px,1px,1px,1px);overflow:hidden;white-space:nowrap}.generic-page{max-width:850px;padding-block:50px 70px}.generic-page h1{font-size:3rem;line-height:1.1;letter-spacing:-2px}.generic-page .article-content{max-width:none}.alignwide{max-width:1100px}.alignfull{max-width:none}.wp-caption-text{font-size:0.8125rem;color:var(--muted)}.comments-area{margin-top:40px}.comment-form input,.comment-form textarea{display:block;max-width:100%;padding:11px;border:1px solid var(--line);border-radius:5px}.comment-form .submit{background:var(--ink);color:#fff}.editor-styles-wrapper{font-family:Inter,Arial,sans-serif}
@media(min-width:1500px){.hero{padding-block:75px}.lead-story{min-height:460px}}@media(max-width:1100px){.container{width:calc(100% - 48px)}.nav-list{gap:16px;font-size:0.875rem}.header-inner{gap:20px}.wordmark{font-size:1.75rem}.brand img{width:43px;height:43px}.hero-grid{gap:35px}.hero h1{font-size:3.625rem;letter-spacing:-3px}.lead-story{min-height:420px}.lead-content{padding:25px}.lead-content h2{font-size:1.5625rem}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-filters{grid-template-columns:1fr 1fr}.directory-filters .filter-actions{align-self:end;min-height:46px}}@media(max-width:850px){.topbar .topbar-extra{display:none}.header-inner{min-height:82px;flex-wrap:wrap;padding-block:15px;gap:14px}.wordmark{font-size:1.8125rem}.site-navigation{order:3;display:none;width:100%;margin:0}.site-navigation.is-open{display:block}.nav-list{flex-direction:column;align-items:stretch;gap:0;padding-top:10px;border-top:1px solid #33432e}.nav-list a{padding:12px 3px}.menu-toggle{display:block;margin-left:auto}.header-inner>.nav-cta{display:none}.hero{padding-block:40px}.hero-grid{grid-template-columns:1fr;gap:35px}.hero h1{font-size:3.6875rem;max-width:700px}.hero-intro{max-width:620px}.lead-story{min-height:400px}.hero-note{margin-top:20px}.topic-strip .container{gap:12px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-grid{grid-template-columns:1fr}.directory-type{display:grid;grid-template-columns:50px 1fr;column-gap:20px;padding:24px}.directory-type .type-icon{grid-row:1/4;margin:0}.directory-type p{margin-bottom:12px}.directory-type h3{margin-top:0}.directory-type a{grid-column:2}.editorial-grid{gap:30px;grid-template-columns:1fr}.footer-main{grid-template-columns:1.4fr 1fr}.footer-main>div:last-child{grid-column:2}.profile-layout{grid-template-columns:1fr}.contact-card{position:static}.section{padding-block:45px}.section-heading h2{font-size:1.875rem}.section-heading{align-items:flex-start}.article-deck{font-size:1.1875rem}.article-content{font-size:1.0625rem}}@media(max-width:550px){.container{width:calc(100% - 36px)}.topbar{font-size:0.6875rem}.topbar strong{letter-spacing:.05em}.brand img{width:38px;height:38px}.wordmark{font-size:1.625rem;letter-spacing:-1.2px}.brand{gap:9px}.menu-toggle{font-size:0.8125rem;padding:8px 10px}.hero h1{font-size:3.0625rem;letter-spacing:-2.8px}.hero-intro{font-size:1rem}.eyebrow{font-size:0.6875rem;margin-bottom:17px}.actions .button{padding:11px 17px}.lead-story{min-height:370px;border-radius:13px}.lead-content{padding:23px}.lead-content h2{font-size:1.5625rem}.hero-note{font-size:0.75rem}.topic-links{gap:7px}.topic-links a{font-size:0.75rem;padding:4px 9px}.topic-strip strong{font-size:0.6875rem}.section-heading{display:block}.section-heading>.text-link{display:inline-block;margin-top:16px}.news-grid{grid-template-columns:1fr;gap:30px}.post-card h3{font-size:1.4375rem}.directory-section{padding-block:43px}.directory-section h2{font-size:2.0625rem}.directory-type{grid-template-columns:36px 1fr;padding:23px 19px;column-gap:15px}.directory-type .type-icon{width:34px;height:34px}.directory-type h3{font-size:1.3125rem}.editorial-grid h2{font-size:1.875rem}.footer-main{grid-template-columns:1fr;gap:27px}.footer-main>div:last-child{grid-column:auto}.footer-main p{font-size:0.8125rem}.footer-bottom{font-size:0.6875rem}.page-head{padding-block:36px 28px}.page-head h1{letter-spacing:-1.5px}.directory-filters{padding:19px;grid-template-columns:1fr}.listing-grid{grid-template-columns:1fr}.empty-state,.empty-news{padding:26px}.article-header h1{letter-spacing:-1.3px}.article-deck{font-size:1.125rem}.article-cover{margin-block:26px;border-radius:10px}.generic-page h1{font-size:2.375rem}.search-form{flex-wrap:wrap}.search-form label{flex-basis:100%}.directory-section:after{width:280px;height:280px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Form labels and topic links remain readable at narrow widths. */
.directory-filters label,.topic-links a,.tag,.meta-label,.footer-heading,.menu-toggle{font-size:.875rem}
@media(min-width:1101px){.directory-filters:has([name=profession]){grid-template-columns:1.3fr 1fr 1fr 1fr auto}}

@media(max-width:550px){.hero h1{font-size:clamp(2.5rem,12.5vw,3.0625rem)}}
@media(max-width:360px){.header-inner{gap:10px}.brand{gap:8px}.brand img{width:32px;height:32px}.wordmark{font-size:1.4375rem}.menu-toggle{padding:8px}}
