
:root{--hm-bg:#f2f6fa;--hm-card:#fff;--hm-ink:#07182e;--hm-muted:#5b6c7f;--hm-line:#d7e1ec;--hm-blue:#2468e8;--hm-blue-soft:#eaf2ff;--hm-navy:#06172d}
body.health-marketplace-v136{background:var(--hm-bg)}
body.health-marketplace-v136 main{background:var(--hm-bg)}

/* Shorter medical marketplace hero */
.med-market-hero{position:relative;overflow:hidden;min-height:455px;color:#fff;background:linear-gradient(135deg,#06172d 0%,#08284b 64%,#0a2d59 100%)}
.med-market-hero::after{content:"";position:absolute;right:0;top:0;bottom:0;width:min(55%,880px);background:url('/assets/images/healthcare-data-hero-1200.webp') right center/auto 100% no-repeat;opacity:.82}
.med-market-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(4,18,40,.995) 0%,rgba(4,18,40,.97) 36%,rgba(4,18,40,.79) 58%,rgba(4,18,40,.34) 80%,rgba(4,18,40,.08) 100%)}
.med-market-hero-inner{position:relative;z-index:2;min-height:455px;display:flex;align-items:center;padding-top:38px;padding-bottom:36px}
.med-market-hero-copy{width:min(760px,58%)}
.med-market-breadcrumbs{margin-bottom:17px!important;color:#aebed0}.med-market-breadcrumbs a{color:#c8d5e3}
.med-market-hero .catalogue-release{margin-bottom:13px}
.med-market-hero h1{max-width:720px;margin:0;color:#fff;font-size:clamp(3rem,5vw,4.8rem);line-height:.95;letter-spacing:-.06em}
.med-market-hero-copy>p{max-width:700px;margin:17px 0 0;color:#cbd7e5;font-size:.98rem;line-height:1.66}
.med-market-hero-actions{display:flex;align-items:center;gap:20px;margin-top:24px}.med-market-hero-actions .btn{border-radius:8px}.med-market-hero-actions .catalogue-text-link{color:#e5effc}
.med-market-hero-proof{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:24px;padding-top:15px;border-top:1px solid rgba(255,255,255,.16);color:#aebfd2;font-size:.7rem}.med-market-hero-proof span{position:relative;padding-left:12px}.med-market-hero-proof span::before{content:"";position:absolute;left:0;top:.55em;width:4px;height:4px;border-radius:50%;background:#7eaff7}

/* Marketplace */
.med-marketplace{padding:28px 0 72px;background:var(--hm-bg)}
.med-market-toolbar{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(520px,.85fr);gap:14px;align-items:end;padding:18px;border:1px solid var(--hm-line);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(8,31,61,.05)}
.med-market-toolbar label{display:block;color:#607287;font-size:.64rem;font-weight:850;letter-spacing:.085em;text-transform:uppercase}
.med-search-field{position:relative;margin-top:7px}.med-search-field svg{position:absolute;left:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#73869a;stroke-width:1.8}
.med-search-field input,.med-filter-selects select{width:100%;height:46px;border:1px solid #c7d4e1;border-radius:9px;background:#fff;color:var(--hm-ink);font:inherit;outline:none}.med-search-field input{padding:0 14px 0 42px}.med-filter-selects select{margin-top:7px;padding:0 32px 0 11px}
.med-search-field input:focus,.med-filter-selects select:focus{border-color:#6e9ee9;box-shadow:0 0 0 3px rgba(36,104,232,.1)}
.med-filter-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}

/* Category navigation wraps and never scrolls horizontally. */
.med-category-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding:0;overflow:visible}
.med-category{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid #cfdbe7;border-radius:999px;background:#f8fbfe;color:#476079;font:inherit;font-size:.74rem;font-weight:760;cursor:pointer}.med-category span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e7eef7;color:#58718c;font-size:.63rem}.med-category:hover{border-color:#9db9dd;color:#173f6d}.med-category.is-active{border-color:#2b6fe5;background:#eaf2ff;color:#164f9f}.med-category.is-active span{background:#2b6fe5;color:#fff}

.med-market-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 2px 12px}.med-market-summary>div{display:flex;align-items:baseline;gap:10px}.med-market-summary strong{color:var(--hm-ink);font-size:.84rem}.med-market-summary span{color:#6b7d90;font-size:.74rem}.med-market-summary button{border:0;background:transparent;color:#175eae;font:inherit;font-size:.72rem;font-weight:760;cursor:pointer}

/* Responsive listing cards */
.med-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.med-listing-card{display:flex;flex-direction:column;min-height:390px;padding:20px;border:1px solid var(--hm-line);border-radius:16px;background:var(--hm-card);box-shadow:0 9px 26px rgba(8,31,61,.045);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.med-listing-card:hover{border-color:#b3cae5;box-shadow:0 16px 34px rgba(8,31,61,.08);transform:translateY(-2px)}.med-listing-card.is-filtered-out{display:none!important}
.med-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.med-card-id{font:800 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#1b5ca8}.med-card-origin{padding:6px 8px;border:1px solid #d6e1ec;border-radius:6px;background:#f8fafc;color:#64778a;font-size:.62rem;font-weight:760}
.med-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.med-card-category{display:block;margin-bottom:7px;color:#6e8296;font-size:.62rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.med-card-heading h2{margin:0;font-size:1.45rem;line-height:1.1;letter-spacing:-.04em}.med-card-heading h2 a{color:var(--hm-ink);text-decoration:none}.med-card-heading h2 a:hover{color:#174f88}
.med-card-status{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:999px;background:#f4f8fc;color:#4f667b;font-size:.63rem;font-weight:760;white-space:nowrap}.med-card-status i{width:6px;height:6px;border-radius:50%;background:#2b73c9}
.med-card-description{margin:14px 0 17px;color:var(--hm-muted);font-size:.82rem;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.med-card-facts{margin:0;border-top:1px solid #e2e9f1}.med-card-facts>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #e7edf4}.med-card-facts dt{color:#7a8b9c;font-size:.61rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.med-card-facts dd{margin:0;color:#2c4257;font-size:.72rem;line-height:1.45;font-weight:620}
.med-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:16px}.med-card-footer>span{color:#7a8b9c;font-size:.67rem}.med-card-footer a{color:#175eae;text-decoration:none;font-size:.76rem;font-weight:800;white-space:nowrap}.med-card-footer a:hover{text-decoration:underline}

.med-empty{margin-top:14px;padding:28px;border:1px dashed #b9c9da;border-radius:14px;background:#fff;color:#607287}.med-empty strong{display:block;color:var(--hm-ink)}.med-empty p{margin:6px 0 0}
.med-market-policy{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr) auto;gap:28px;align-items:start;margin-top:22px;padding:23px 24px;border:1px solid var(--hm-line);border-radius:14px;background:#eaf1f8}.med-market-policy span{display:block;color:#51769e;font-size:.61rem;font-weight:850;letter-spacing:.1em}.med-market-policy h2{margin:6px 0 0;color:var(--hm-ink);font-size:1.18rem;letter-spacing:-.025em}.med-market-policy p{margin:0;color:#5c7083;font-size:.78rem;line-height:1.6}.med-market-policy a{color:#175eae;text-decoration:none;font-size:.74rem;font-weight:800;white-space:nowrap}

@media(min-width:1450px){.med-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.med-listing-card{min-height:405px}.med-card-heading{grid-template-columns:1fr}.med-card-status{justify-self:start}.med-card-facts>div{grid-template-columns:105px 1fr}}
@media(max-width:1180px){.med-market-toolbar{grid-template-columns:1fr}.med-market-hero-copy{width:62%}.med-market-hero::after{width:55%;opacity:.68}.med-card-heading{grid-template-columns:1fr}.med-card-status{justify-self:start}.med-market-policy{grid-template-columns:1fr}.med-market-policy a{justify-self:start}}
@media(max-width:900px){.med-filter-selects{grid-template-columns:repeat(2,minmax(0,1fr))}.med-listing-grid{grid-template-columns:1fr}.med-listing-card{min-height:0}.med-market-hero{min-height:430px}.med-market-hero-inner{min-height:430px}.med-market-hero-copy{width:72%}.med-market-hero::after{width:65%;opacity:.43}}
@media(max-width:640px){.med-market-hero{min-height:0}.med-market-hero-inner{min-height:0;padding-top:36px;padding-bottom:30px}.med-market-hero-copy{width:100%}.med-market-hero::after{width:100%;opacity:.24;background-position:72% center;background-size:cover}.med-market-hero::before{background:linear-gradient(180deg,rgba(4,18,40,.96),rgba(4,18,40,.89))}.med-market-hero h1{font-size:clamp(2.65rem,13vw,4rem)}.med-market-hero-copy>p{font-size:.91rem}.med-market-hero-actions{align-items:flex-start;flex-direction:column;gap:14px}.med-market-hero-proof{gap:7px 12px}.med-marketplace{padding:18px 0 50px}.med-market-toolbar{padding:14px;border-radius:13px}.med-filter-selects{grid-template-columns:1fr}.med-market-summary{align-items:flex-start}.med-market-summary>div{align-items:flex-start;flex-direction:column;gap:3px}.med-listing-card{padding:17px;border-radius:13px}.med-card-heading h2{font-size:1.32rem}.med-card-facts>div{grid-template-columns:1fr;gap:4px}.med-card-footer{align-items:flex-start;flex-direction:column;gap:8px}}
