/* HMO directory — editorial layout, status clarity, and responsive logo cards. */
.phd-hmo-page{--hmo-border:#dce4f2;--hmo-shadow:0 14px 36px rgba(5,24,77,.07)}
.phd-hmo-hero{background:linear-gradient(112deg,var(--phd-deep,#02114e),var(--phd-accent,#173cad));color:#fff;padding:34px 0 66px;overflow:hidden;position:relative}
.phd-hmo-hero:after{content:"";position:absolute;right:-120px;bottom:-330px;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.02)}
.phd-hmo-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:30px;align-items:end}
.phd-hmo-hero .phd-breadcrumbs{grid-column:1/-1;color:rgba(255,255,255,.75);margin:0 0 4px}.phd-hmo-hero .phd-breadcrumbs a{color:#fff}
.phd-hmo-hero-copy h1{font-size:clamp(2.6rem,5vw,4.3rem);line-height:1.02;letter-spacing:-.045em;color:#fff;margin:12px 0 16px}.phd-hmo-hero-copy p{max-width:700px;color:rgba(255,255,255,.82);font-size:17px;line-height:1.7;margin:0}
.phd-hmo-hero-mark{width:144px;height:144px;border:1px solid rgba(255,255,255,.2);border-radius:32px;background:rgba(255,255,255,.09);display:grid;place-items:center}.phd-hmo-hero-mark .dashicons{font-size:74px;width:74px;height:74px;color:#fff}
.phd-hmo-directory{padding:72px 0 84px;background:#fff}
.phd-hmo-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:48px}.phd-hmo-intro h2{font-size:clamp(2rem,3vw,2.8rem);line-height:1.1;color:var(--phd-deep);margin:10px 0}.phd-hmo-intro p{max-width:690px;color:var(--phd-muted);line-height:1.75;margin:0}
.phd-hmo-summary{display:flex;gap:10px;flex:0 0 auto}.phd-hmo-summary span{display:flex;flex-direction:column;min-width:104px;padding:13px 17px;border:1px solid var(--hmo-border);border-radius:14px;background:#f8faff;color:var(--phd-muted);font-size:12px}.phd-hmo-summary strong{font-size:25px;color:var(--phd-deep);line-height:1.2}
.phd-hmo-group+.phd-hmo-group{margin-top:58px}.phd-hmo-group-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--hmo-border)}.phd-hmo-overline{font-size:10px;font-weight:850;letter-spacing:.16em;color:var(--phd-accent)}.phd-hmo-group-heading h2{font-size:clamp(1.5rem,2.5vw,2rem);color:var(--phd-deep);margin:7px 0 0}
.phd-hmo-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800}.phd-hmo-status i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor}.phd-hmo-status--active{background:#e8f7ee;color:#177245}.phd-hmo-status--coming{background:#fff5df;color:#95620b}
.phd-hmo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.phd-hmo-card{position:relative;min-width:0;padding:20px 21px 22px;border:1px solid var(--hmo-border);border-radius:18px;background:#fff;box-shadow:var(--hmo-shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.phd-hmo-card:hover{transform:translateY(-3px);border-color:#b6c7e9;box-shadow:0 19px 42px rgba(5,24,77,.11)}.phd-hmo-card-top{display:flex;justify-content:flex-end;margin-bottom:10px}.phd-hmo-logo{height:112px;display:flex;align-items:center;justify-content:center;padding:12px 18px;margin-bottom:16px;border:1px solid #edf1f8;border-radius:13px;background:linear-gradient(145deg,#fbfcff,#f3f6fc)}.phd-hmo-logo img{display:block;max-width:100%;max-height:82px;width:auto;height:auto;object-fit:contain}.phd-hmo-logo-fallback{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#e6edff;color:var(--phd-accent);font-size:23px;font-weight:900;letter-spacing:-.04em}.phd-hmo-card h3{font-size:19px;line-height:1.25;color:var(--phd-deep);margin:0 0 8px}.phd-hmo-card p{font-size:14px;line-height:1.65;color:var(--phd-muted);margin:0}.phd-hmo-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:var(--phd-accent);font-weight:800;font-size:13px}.phd-hmo-link svg{width:15px;height:15px}.phd-hmo-card--coming{background:#fbfcff}.phd-hmo-card--coming .phd-hmo-logo{filter:saturate(.55);background:#f7f8fb}.phd-hmo-empty{padding:42px 28px;border:1px dashed #b9c7df;border-radius:20px;background:#f8faff;text-align:center;max-width:820px;margin:0 auto}.phd-hmo-empty .dashicons{font-size:38px;width:38px;height:38px;color:var(--phd-accent);margin-bottom:8px}.phd-hmo-empty h2{font-size:23px;color:var(--phd-deep);margin:0 0 9px}.phd-hmo-empty p{color:var(--phd-muted);margin:0;line-height:1.7}.phd-hmo-empty--compact{padding:18px 22px;margin:28px 0 0}.phd-hmo-contact{padding:55px 0;background:#f2f5fc}.phd-hmo-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:28px 32px;border:1px solid var(--hmo-border);border-radius:22px;background:#fff;box-shadow:var(--hmo-shadow)}.phd-hmo-contact-inner h2{font-size:clamp(1.6rem,2.5vw,2.2rem);color:var(--phd-deep);margin:8px 0}.phd-hmo-contact-inner p{color:var(--phd-muted);margin:0;line-height:1.65}.phd-hmo-contact-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.phd-hmo-contact-actions .button{white-space:nowrap}
@media(max-width:900px){.phd-hmo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phd-hmo-hero-inner{grid-template-columns:1fr 130px}.phd-hmo-hero-mark{width:120px;height:120px}.phd-hmo-intro{align-items:flex-start;flex-direction:column}.phd-hmo-contact-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.phd-hmo-hero{padding:24px 0 42px}.phd-hmo-hero-inner{grid-template-columns:1fr;gap:20px}.phd-hmo-hero-mark{display:none}.phd-hmo-hero-copy h1{font-size:2.5rem}.phd-hmo-hero-copy p{font-size:15px}.phd-hmo-directory{padding:48px 0 55px}.phd-hmo-intro{margin-bottom:32px}.phd-hmo-summary{width:100%}.phd-hmo-summary span{flex:1;min-width:0}.phd-hmo-grid{grid-template-columns:1fr;gap:13px}.phd-hmo-card{padding:16px;border-radius:15px}.phd-hmo-logo{height:96px}.phd-hmo-group-heading{align-items:flex-start;flex-direction:column}.phd-hmo-contact{padding:38px 0}.phd-hmo-contact-inner{padding:21px;border-radius:17px}.phd-hmo-contact-actions{width:100%;display:grid;grid-template-columns:1fr}.phd-hmo-contact-actions .button{width:100%;justify-content:center}}

.phd-hmo-contact .button--outline{background:transparent;color:var(--phd-accent,#173cad)!important;border-color:#c7d4ef;box-shadow:none}.phd-hmo-contact .button--outline:hover{background:var(--phd-accent,#173cad);color:#fff!important;border-color:var(--phd-accent,#173cad)}

.phd-hmo-intro-content p{max-width:690px;color:var(--phd-muted);line-height:1.75;margin:0}


/* v2.7.2: compact homepage services and searchable directories */
.phd-ref-service-card{min-height:158px;padding:18px 18px 16px}
.phd-ref-service-icon{width:42px;height:42px;margin-bottom:11px}
.phd-ref-service-icon svg{width:22px;height:22px}
.phd-ref-service-card h3{font-size:16px;margin-bottom:6px}
.phd-ref-service-card p{font-size:12px;line-height:1.45;margin-bottom:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.phd-ref-card-link{font-size:12px}
.phd-ref-services{padding-top:48px;padding-bottom:48px}
.phd-directory-search{position:relative;max-width:620px;margin:0 0 10px}
.phd-directory-search input{display:block;width:100%;min-height:54px;padding:13px 48px 13px 18px;border:1px solid #dce3f0;border-radius:12px;background:#fff;color:#172342;font:inherit;font-size:15px;box-shadow:0 5px 18px rgba(15,35,80,.045)}
.phd-directory-search input:focus{outline:3px solid rgba(34,82,190,.14);border-color:#3157b7}
.phd-directory-search>span{position:absolute;right:17px;top:50%;transform:translateY(-50%);font-size:25px;color:#3157b7;pointer-events:none}
.phd-directory-search-count{margin:0 0 18px;color:#718096;font-size:12px}
.phd-directory-no-results{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;color:#526078;background:#f8faff}
.phd-directory-no-results[hidden],[data-directory-item][hidden],[data-hmo-item][hidden]{display:none!important}
.phd-hmo-search{max-width:560px;margin-top:24px}
.phd-hmo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1100px){.phd-home-hmo-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.phd-home-hmo-item{min-height:70px}}
@media(max-width:620px){.phd-ref-services{padding-top:34px;padding-bottom:34px}.phd-ref-service-card{min-height:145px;padding:15px}.phd-ref-service-card p{-webkit-line-clamp:2;font-size:11px}.phd-directory-search input{min-height:50px}.phd-hmo-grid{grid-template-columns:repeat(1,minmax(0,1fr))}}
