/* ExpandM Hospital — component styles. Colours come from theme.json presets so a palette change restyles everything. */

:root {
	--h-primary: var(--wp--preset--color--primary, #0B6B87);
	--h-dark: var(--wp--preset--color--primary-dark, #08495E);
	--h-tint: var(--wp--preset--color--tint, #E7F3F6);
	--h-action: var(--wp--preset--color--action, #0B6B87);
	--h-ink: var(--wp--preset--color--ink, #12232B);
	--h-body: var(--wp--preset--color--body, #3A4A52);
	--h-muted: var(--wp--preset--color--muted, #4A5B63);
	--h-border: var(--wp--preset--color--border, #E3E9EC);
	--h-surface: var(--wp--preset--color--surface, #F6F9FA);
	--h-red: var(--wp--preset--color--emergency, #C62828);
	--h-red-tint: var(--wp--preset--color--emergency-tint, #FDECEC);
	--h-green: var(--wp--preset--color--whatsapp, #11804A);
	--h-footer: var(--wp--preset--color--footer, #10232B);
	--h-input: #C9D5DA;
	--h-radius: 14px;
	--h-shadow: 0 4px 16px rgba(18, 35, 43, 0.06);
	--h-shadow-lg: 0 12px 40px rgba(8, 73, 94, 0.12);
	--h-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* Root spacing: sections control their own spacing. */
.wp-site-blocks > * { margin-block-start: 0; }
.hosp-header { border-bottom: 1px solid var(--h-border); }
.hosp-b-doctor-details { padding-top: clamp(40px, 6vw, 56px); }
.hosp-b-doctor-related { padding: clamp(48px, 7vw, 72px) 0 clamp(56px, 8vw, 88px); }
.hosp-accred { border-top: 1px solid var(--h-border); border-bottom: 1px solid var(--h-border); }
@media (max-width: 1100px) { .hosp-header-actions .is-outline { display: none; } }

/* Full-width sections keep their content on the wide grid with the site's side padding. */
.hosp-wrap {
	--h-pad: var(--wp--style--root--padding-left, 24px);
	max-width: calc(var(--wp--style--global--wide-size, 1240px) + 2 * var(--h-pad));
	padding-left: var(--h-pad); padding-right: var(--h-pad);
	margin-left: auto; margin-right: auto; box-sizing: border-box; width: 100%;
}
.hosp-b-doctor-details, .hosp-b-doctor-related, .hosp-b-doctor-directory { width: 100%; }
.hosp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hosp-icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Buttons ---------- */
.hosp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
	padding: 12px 20px; min-height: 44px; border-radius: 8px; border: 1.5px solid transparent;
	text-decoration: none !important; cursor: pointer; text-align: center; box-sizing: border-box;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hosp-btn:focus-visible { outline: 2px solid var(--h-ink); outline-offset: 2px; }
.hosp-btn.is-primary { background: var(--h-action); color: #fff; }
.hosp-btn.is-primary:hover { background: var(--h-dark); color: #fff; }
.hosp-btn.is-outline { border-color: var(--h-action); color: var(--h-action); background: transparent; }
.hosp-btn.is-outline:hover { background: var(--h-tint); color: var(--h-dark); }
.hosp-btn.is-tint { background: var(--h-tint); color: var(--h-dark); }
.hosp-btn.is-tint:hover { background: var(--h-action); color: #fff; }
.hosp-btn.is-white { background: #fff; color: var(--h-dark); }
.hosp-btn.is-white:hover { background: var(--h-tint); }
.hosp-btn.is-whatsapp { background: var(--h-green); color: #fff; }
.hosp-btn.is-whatsapp:hover { background: #0B6B3D; color: #fff; }
.hosp-btn.is-emergency { background: var(--h-red); color: #fff; }
.hosp-btn.is-emergency:hover { background: #A31F1F; color: #fff; }
.hosp-btn.is-ghost-white { border-color: #fff; color: #fff; background: transparent; }
.hosp-btn.is-block { display: flex; width: 100%; }
.hosp-btn.is-large { font-size: 17px; padding: 15px 22px; }
.hosp-btn.is-small { font-size: 14px; padding: 9px 14px; min-height: 40px; }
.hosp-link, .hosp-btn.is-link { font-weight: 700; color: var(--h-action); text-decoration: none; }
.hosp-btn.is-link { padding: 0; min-height: 0; border: 0; background: none; font-size: 16px; }
.hosp-btn.is-link:hover { text-decoration: underline; color: var(--h-dark); }
.hosp-link:hover { text-decoration: underline; }

/* ---------- Utility bar + header ---------- */
.hosp-utility { background: var(--h-dark); color: #fff; font-size: 14px; }
.hosp-utility__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.hosp-utility__group { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.hosp-utility a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hosp-utility a:hover { text-decoration: underline; }
.hosp-utility .hosp-utility__emergency { background: var(--h-red); padding: 6px 12px; border-radius: 6px; font-weight: 700; }
.hosp-utility .hosp-utility__emergency:hover { background: #A31F1F; text-decoration: none; }

.hosp-header { background: #fff; position: relative; z-index: 20; }
.hosp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--h-ink) !important; }
.hosp-brand__badge { width: 40px; height: 40px; border-radius: 10px; background: var(--h-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.hosp-brand__badge svg { width: 22px; height: 22px; }
.hosp-brand__text { display: flex; flex-direction: column; }
.hosp-brand__name { font-weight: 800; font-size: 19px; line-height: 1.15; }
.hosp-brand__tag { font-size: 12px; color: var(--h-muted); }
.hosp-brand img.custom-logo { max-height: 56px; width: auto; }
.hosp-header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Page intro band + breadcrumb ---------- */
.hosp-intro { background: var(--h-tint); }
.hosp-intro__inner { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.hosp-intro h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); }
.hosp-intro p { margin: 0; font-size: 17px; color: var(--h-body); max-width: 640px; }
.hosp-breadcrumb { font-size: 14px; color: var(--h-muted); }
.hosp-breadcrumb a { color: var(--h-muted); }
.hosp-breadcrumb a:hover { color: var(--h-ink); }
.hosp-breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Section heading row ---------- */
.hosp-section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.hosp-section-head h2 { margin: 0; }
.hosp-section-head p { margin: 8px 0 0; color: var(--h-muted); font-size: 17px; }

/* ---------- Quick actions ---------- */
.hosp-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hosp-quick__item {
	background: #fff; border: 1px solid var(--h-border); border-radius: var(--h-radius); padding: 20px;
	display: flex; gap: 14px; align-items: center; text-decoration: none !important; color: var(--h-ink) !important; box-shadow: var(--h-shadow);
	transition: border-color .15s ease, transform .15s ease;
}
.hosp-quick__item:hover { border-color: var(--h-primary); transform: translateY(-2px); }
.hosp-quick__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--h-tint); color: var(--h-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.hosp-quick__icon svg { width: 24px; height: 24px; }
.hosp-quick__item.is-emergency .hosp-quick__icon { background: var(--h-red-tint); color: var(--h-red); }
.hosp-quick__text { display: flex; flex-direction: column; gap: 2px; }
.hosp-quick__title { font-weight: 700; font-size: 16px; }
.hosp-quick__sub { font-size: 13px; color: var(--h-muted); }
.hosp-overlap { margin-top: -32px !important; position: relative; z-index: 2; }

/* ---------- Hero booking card ---------- */
.hosp-hero-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: var(--h-shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.hosp-hero-card h2 { margin: 0; font-size: 22px; }
.hosp-hero-card__alt { margin: 0; font-size: 14px; color: var(--h-muted); text-align: center; }
.hosp-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; font-weight: 600; color: var(--h-ink); padding: 0; margin: 0; list-style: none; }
.hosp-checks li { display: flex; align-items: center; gap: 8px; }
.hosp-checks li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--h-primary); -webkit-mask: var(--h-check) center / contain no-repeat; mask: var(--h-check) center / contain no-repeat; }
.hosp-pill { display: inline-block; background: #fff; color: var(--h-dark); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; letter-spacing: 0.02em; }

/* ---------- Forms ---------- */
.hosp-form { display: flex; flex-direction: column; gap: 16px; }
.hosp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hosp-form legend { font-weight: 800; font-size: 18px; margin-bottom: 14px; padding: 0; }
.hosp-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hosp-row > * { flex: 1 1 220px; min-width: 0; }
.hosp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--h-ink); }
.hosp-field input, .hosp-field select, .hosp-field textarea {
	font: inherit; font-weight: 500; font-size: 16px; color: var(--h-ink);
	padding: 12px; border: 1.5px solid var(--h-input); border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; min-height: 48px;
}
.hosp-field textarea { min-height: 110px; resize: vertical; }
.hosp-field input:focus, .hosp-field select:focus, .hosp-field textarea:focus { outline: none; border-color: var(--h-primary); box-shadow: 0 0 0 3px var(--h-tint); }
.hosp-field small { font-weight: 500; color: var(--h-muted); font-size: 13px; }
.hosp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--h-body); line-height: 1.5; font-weight: 500; }
.hosp-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--h-action); }
.hosp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hosp-seg { display: flex; gap: 8px; }
.hosp-seg label { flex: 1; position: relative; }
.hosp-seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hosp-seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--h-input); border-radius: 8px; font-weight: 700; background: #fff; color: var(--h-ink); }
.hosp-seg input:checked + span { background: var(--h-action); border-color: var(--h-action); color: #fff; }
.hosp-seg input:focus-visible + span { outline: 2px solid var(--h-ink); outline-offset: 2px; }
.hosp-form-note { margin: 0; font-size: 13px; color: var(--h-muted); text-align: center; }
.hosp-error { background: var(--h-red-tint); color: #8E1B1B; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin: 0; }
.hosp-success { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 40px 12px; }
.hosp-success__tick { width: 64px; height: 64px; border-radius: 50%; background: #E3F4EA; color: var(--h-green); display: flex; align-items: center; justify-content: center; }
.hosp-success__tick svg { width: 32px; height: 32px; }
.hosp-success h2, .hosp-success h3 { margin: 0; }
.hosp-success p { margin: 0; color: var(--h-body); max-width: 460px; }

/* ---------- Cards / grids ---------- */
.hosp-card { border: 1px solid var(--h-border); border-radius: 16px; background: #fff; }
.hosp-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hosp-grid.is-tight { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hosp-grid.is-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Speciality tiles + cards */
.hosp-spec { border: 1px solid var(--h-border); border-radius: var(--h-radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; text-decoration: none !important; color: var(--h-ink) !important; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.hosp-spec:hover { border-color: var(--h-primary); box-shadow: var(--h-shadow); }
.hosp-spec__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--h-tint); color: var(--h-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.hosp-spec__icon svg { width: 26px; height: 26px; }
.hosp-spec__name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.hosp-spec.is-card { padding: 24px; gap: 12px; }
.hosp-spec.is-card .hosp-spec__name { font-weight: 800; font-size: 18px; }
.hosp-spec__summary { color: var(--h-muted); font-size: 14px; line-height: 1.5; }
.hosp-spec__more { margin-top: auto; padding-top: 6px; color: var(--h-action); font-weight: 700; font-size: 14px; }

/* Doctor cards */
.hosp-doc { border: 1px solid var(--h-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.hosp-doc__photo { aspect-ratio: 4 / 3; background: var(--h-tint); display: block; overflow: hidden; }
.hosp-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hosp-doc__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hosp-doc__name { font-weight: 800; font-size: 18px; color: var(--h-ink) !important; text-decoration: none !important; line-height: 1.3; }
.hosp-doc__name:hover { color: var(--h-dark) !important; }
.hosp-doc__spec { color: var(--h-dark); font-weight: 700; font-size: 14px; }
.hosp-doc__meta { color: var(--h-muted); font-size: 14px; }
.hosp-doc__body .hosp-btn { margin-top: auto; }
.hosp-doc__body .hosp-doc__meta + .hosp-btn { margin-top: 12px; }
.hosp-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--h-tint); color: var(--h-dark); font-weight: 800; font-size: 44px; letter-spacing: 0.02em; }
.hosp-avatar.is-small { font-size: 22px; border-radius: 50%; }
.hosp-today { font-size: 13px; font-weight: 700; color: var(--h-green); display: flex; align-items: center; gap: 6px; }
.hosp-today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.hosp-today.is-off { color: var(--h-muted); }

/* Doctor directory */
.hosp-dir { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hosp-dir__filters { flex: 1 1 240px; max-width: 280px; min-width: 0; border: 1px solid var(--h-border); border-radius: var(--h-radius); padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.hosp-dir__filters legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; padding: 0; }
.hosp-dir__filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hosp-dir__filters label { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.hosp-dir__filters input[type="checkbox"], .hosp-dir__filters input[type="radio"] { width: 18px; height: 18px; accent-color: var(--h-action); }
.hosp-dir__results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hosp-dir__count { margin: 0; color: var(--h-muted); font-size: 15px; }
.hosp-dir__count strong { color: var(--h-ink); }
.hosp-search { display: flex; flex-wrap: wrap; gap: 12px; background: #fff; padding: 14px; border-radius: var(--h-radius); box-shadow: 0 8px 24px rgba(8, 73, 94, 0.08); }
.hosp-search .hosp-field { flex: 2 1 260px; }
.hosp-search .hosp-field.is-narrow { flex: 1 1 200px; }
.hosp-search .hosp-btn { align-self: flex-end; flex: 0 1 140px; min-height: 48px; }
.hosp-row-doc { border: 1px solid var(--h-border); border-radius: 16px; padding: 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: #fff; }
.hosp-row-doc__photo { width: 104px; height: 104px; flex: none; border-radius: 50%; overflow: hidden; background: var(--h-tint); }
.hosp-row-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hosp-row-doc__info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hosp-row-doc__actions { flex: 0 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hosp-empty { border: 1px dashed var(--h-input); border-radius: 16px; padding: 32px; text-align: center; color: var(--h-muted); background: var(--h-surface); }

/* Doctor profile */
.hosp-profile { background: var(--h-tint); }
.hosp-profile__inner { padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.hosp-profile__top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hosp-profile__who { flex: 999 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.hosp-profile__photo { width: 220px; height: 260px; flex: none; border-radius: 16px; overflow: hidden; background: #DDE6EA; }
.hosp-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hosp-profile__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hosp-profile__text h1 { margin: 0; font-size: clamp(28px, 3.5vw, 36px); }
.hosp-profile__role { color: var(--h-dark); font-weight: 700; font-size: 17px; }
.hosp-profile__quals { color: var(--h-body); font-size: 15px; }
.hosp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.hosp-chips li { background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.hosp-chips.is-tint li { background: var(--h-tint); color: var(--h-dark); }
.hosp-profile__reg { color: var(--h-muted); font-size: 13px; }
.hosp-profile__book { flex: 1 1 380px; min-width: 0; max-width: 440px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--h-shadow-lg); }
.hosp-profile__book h2 { margin: 0 0 16px; font-size: 20px; }
.hosp-details { display: flex; flex-wrap: wrap; gap: 40px; }
.hosp-details__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.hosp-details__side { flex: 1 1 300px; min-width: 0; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.hosp-details h2 { margin: 0 0 12px; font-size: 26px; }
.hosp-details ul.hosp-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--h-body); }
.hosp-table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--h-border); border-radius: 12px; overflow: hidden; }
.hosp-table th, .hosp-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--h-border); vertical-align: top; }
.hosp-table th { font-weight: 700; white-space: nowrap; }
.hosp-table td { color: var(--h-body); }
.hosp-table tr.is-today { background: var(--h-tint); }
.hosp-table tr:last-child th, .hosp-table tr:last-child td { border-bottom: 0; }

/* Mini doctor rows (related) */
.hosp-mini { flex: 1 1 280px; min-width: 0; border: 1px solid var(--h-border); border-radius: var(--h-radius); padding: 18px; display: flex; gap: 16px; align-items: center; text-decoration: none !important; color: var(--h-ink) !important; background: #fff; }
.hosp-mini:hover { border-color: var(--h-primary); }
.hosp-mini__photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: var(--h-tint); }
.hosp-mini__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hosp-mini__text { display: flex; flex-direction: column; gap: 2px; }
.hosp-mini__text strong { font-weight: 800; }
.hosp-mini__text span { color: var(--h-muted); font-size: 14px; }
.hosp-flex-list { display: flex; flex-wrap: wrap; gap: 20px; }

/* Speciality hero */
.hosp-spec-hero { background: var(--h-tint); }
.hosp-spec-hero__inner { padding-top: 32px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hosp-spec-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hosp-spec-hero__text h1 { margin: 0; }
.hosp-spec-hero__text p { margin: 0; font-size: 18px; color: var(--h-body); max-width: 600px; }
.hosp-spec-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hosp-spec-hero__media { flex: 1 1 380px; min-width: 0; height: 300px; border-radius: 20px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--h-primary); }
.hosp-spec-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hosp-spec-hero__media svg { width: 120px; height: 120px; opacity: .9; }

/* Emergency note */
.hosp-alert { background: var(--h-red-tint); border-radius: 16px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.hosp-alert__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 360px; }
.hosp-alert__title { font-weight: 800; font-size: 18px; color: #8E1B1B; }
.hosp-alert__body { color: #5A2A2A; font-size: 15px; }
.hosp-alert.is-compact { padding: 20px 22px; border-radius: 14px; }
.hosp-alert.is-compact .hosp-alert__title { font-size: 16px; }
.hosp-alert.is-solid { background: var(--h-red); color: #fff; padding: 28px 32px; border-radius: 20px; }
.hosp-alert.is-solid .hosp-alert__title { color: #fff; font-size: clamp(22px, 3vw, 26px); }
.hosp-alert.is-solid .hosp-alert__body { color: #fff; opacity: .95; font-size: 16px; }
.hosp-alert__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Callback band */
.hosp-band { background: var(--h-tint); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.hosp-band__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.hosp-band__text h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.hosp-band__text p { margin: 0; color: var(--h-body); }
.hosp-band__form { flex: 2 1 480px; min-width: 0; }
.hosp-band__form .hosp-row { align-items: flex-end; }
.hosp-band__form .hosp-row > .hosp-btn { flex: 1 1 160px; min-height: 48px; }
.hosp-band.is-dark { background: var(--h-dark); color: #fff; justify-content: space-between; }
.hosp-band.is-dark h2, .hosp-band.is-dark p { color: #fff; }

/* Booking page */
.hosp-booking { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hosp-booking__main { flex: 999 1 560px; min-width: 0; }
.hosp-booking__main > .hosp-card { padding: clamp(20px, 3vw, 32px); }
.hosp-booking__side { flex: 1 1 300px; min-width: 0; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.hosp-booking__side .hosp-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.hosp-booking__side h2 { margin: 0; font-size: 18px; }
.hosp-booking__side ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--h-body); }
.hosp-embed { min-height: 560px; }
.hosp-embed iframe { width: 100%; min-height: 900px; border: 0; }
.hosp-steps { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; color: var(--h-ink); list-style: none; padding: 0; margin: 0; counter-reset: hstep; }
.hosp-steps li { display: flex; align-items: center; gap: 10px; counter-increment: hstep; }
.hosp-steps li::before { content: counter(hstep); width: 28px; height: 28px; border-radius: 50%; background: var(--h-action); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hosp-picked { background: var(--h-tint); border-radius: 10px; padding: 12px 16px; font-size: 15px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hosp-picked strong { color: var(--h-dark); }

/* Contact */
.hosp-contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.hosp-contact-card { border: 1px solid var(--h-border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: var(--h-ink) !important; background: #fff; }
.hosp-contact-card:hover { border-color: var(--h-primary); }
.hosp-contact-card strong { font-size: 17px; font-weight: 800; }
.hosp-contact-card .is-value { color: var(--h-action); font-weight: 700; font-size: 16px; word-break: break-word; }
.hosp-contact-card .is-value.is-green { color: var(--h-green); }
.hosp-contact-card small { color: var(--h-muted); font-size: 14px; }
.hosp-contact-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hosp-contact-grid > * { flex: 1 1 400px; min-width: 0; }
.hosp-map { border-radius: 16px; overflow: hidden; background: var(--h-surface); min-height: 300px; display: flex; align-items: center; justify-content: center; color: var(--h-muted); }
.hosp-map iframe { width: 100%; height: 320px; border: 0; display: block; }
.hosp-address { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 16px 0; }
.hosp-address p { margin: 0; color: var(--h-body); }

/* Blog extras */
.hosp-byline { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 14px; color: var(--h-muted); }
.hosp-byline__who { display: flex; align-items: center; gap: 10px; color: var(--h-muted); }
.hosp-byline__who strong { color: var(--h-ink); }
.hosp-byline__photo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--h-tint); flex: none; }
.hosp-byline__photo img { width: 100%; height: 100%; object-fit: cover; }
.hosp-author { border: 1px solid var(--h-border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.hosp-author__label { font-size: 13px; font-weight: 700; color: var(--h-muted); letter-spacing: 0.04em; }
.hosp-cta { background: var(--h-tint); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.hosp-cta__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 300px; }
.hosp-cta__text strong { font-size: 18px; }
.hosp-cta__text span { color: var(--h-body); font-size: 15px; }
.hosp-post-grid .wp-block-post-featured-image { margin-bottom: 4px; }
.hosp-post-grid .wp-block-post-featured-image img { border-radius: var(--h-radius); aspect-ratio: 16 / 10; object-fit: cover; }
.hosp-post-grid .wp-block-post-title a { text-decoration: none; color: var(--h-ink); }
.hosp-post-grid .wp-block-post-title a:hover { color: var(--h-dark); }
.hosp-kicker, .hosp-kicker a { color: var(--h-dark); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.hosp-thumb-fallback { aspect-ratio: 16 / 10; border-radius: var(--h-radius); background: var(--h-tint); }

/* Stats band (pattern) */
.hosp-stats .hosp-stat-value { font-size: clamp(32px, 4vw, 40px); font-weight: 800; line-height: 1.1; margin: 0; }
.hosp-stats .hosp-stat-label { margin: 6px 0 0; opacity: .88; font-size: 15px; }

/* Packages (pattern) */
.hosp-package { border: 1px solid var(--h-border); border-radius: 16px; padding: 26px !important; background: #fff; height: 100%; box-sizing: border-box; }
.hosp-package .hosp-package__price { font-size: 26px; font-weight: 800; color: var(--h-dark); margin: 0; }
.hosp-package ul { padding-left: 18px; margin: 0; color: var(--h-body); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.hosp-badge { display: inline-block; background: var(--h-tint); color: var(--h-dark); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

/* Video story placeholder (pattern) */
.hosp-video-ph { aspect-ratio: 16 / 9; background: var(--h-surface); border-radius: var(--h-radius); display: flex; align-items: center; justify-content: center; }
.hosp-video-ph span { width: 60px; height: 60px; border-radius: 50%; background: var(--h-action); display: flex; align-items: center; justify-content: center; }
.hosp-video-ph svg { width: 24px; height: 24px; fill: #fff; }
.hosp-logo-tile { width: 120px; height: 52px; border-radius: 8px; background: var(--h-surface); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--h-muted); text-align: center; padding: 4px; box-sizing: border-box; }
.hosp-logo-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* FAQ (core/details) */
.wp-block-details.hosp-faq { border: 1px solid var(--h-border); border-radius: 12px; padding: 18px 20px; }
.wp-block-details.hosp-faq summary { font-weight: 700; cursor: pointer; }
.wp-block-details.hosp-faq[open] summary { margin-bottom: 10px; }
.hosp-condition-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hosp-condition-list li { border: 1px solid var(--h-border); border-radius: 12px; padding: 14px 16px 14px 44px; font-weight: 600; position: relative; }
.hosp-condition-list li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--h-primary); -webkit-mask: var(--h-check) center / contain no-repeat; mask: var(--h-check) center / contain no-repeat; }
.hosp-treatment { background: var(--h-surface); border-radius: 16px; padding: 24px !important; }

/* Footer */
.hosp-footer { background: var(--h-footer); color: #C8D3D8; font-size: 14px; }
.hosp-footer a { color: #C8D3D8; text-decoration: none; }
.hosp-footer a:hover { color: #fff; text-decoration: underline; }
.hosp-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.hosp-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.hosp-footer__col.is-main { flex: 1.6 1 260px; gap: 12px; }
.hosp-footer__title { color: #fff; font-weight: 700; }
.hosp-footer__name { color: #fff; font-weight: 800; font-size: 19px; }
.hosp-footer__em { color: #fff !important; font-weight: 700; }
.hosp-footer__legal { border-top: 1px solid #24404B; padding-top: 20px; padding-bottom: 32px; font-size: 13px; line-height: 1.6; color: #9FB0B7; }
.hosp-footer__legal p { margin: 0 0 6px; color: #9FB0B7; }

/* Mobile bottom bar */
.hosp-mbar { display: none; }
@media (max-width: 781px) {
	.hosp-mbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 1px solid var(--h-border);
		justify-content: space-around; padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(18, 35, 43, 0.08);
	}
	.hosp-mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; min-height: 48px; justify-content: center; padding: 4px; font-size: 12px; font-weight: 700; color: var(--h-ink); text-decoration: none; }
	.hosp-mbar a svg { width: 22px; height: 22px; }
	.hosp-mbar a.is-book { color: var(--h-action); }
	.hosp-mbar a.is-wa { color: var(--h-green); }
	.hosp-mbar a.is-call { color: var(--h-red); }
	body.hosp-has-mbar { padding-bottom: 72px; }
	.hosp-hide-mobile { display: none !important; }
	.hosp-utility__group.is-secondary { display: none; }
	.hosp-utility__inner { justify-content: center; }
	.hosp-header-actions .is-outline { display: none; }
	.hosp-profile__photo { width: 140px; height: 168px; }
	.hosp-dir__filters { max-width: none; }
	.hosp-row-doc__actions { flex-basis: 100%; }
	.hosp-overlap { margin-top: 16px !important; }
}
@media (max-width: 480px) {
	.hosp-header-actions { display: none; }
}

/* Editor helpers */
.hosp-editor-note { border: 1px dashed var(--h-input); border-radius: 12px; padding: 20px; text-align: center; color: var(--h-muted); background: var(--h-surface); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
	.hosp-quick__item, .hosp-btn, .hosp-spec { transition: none; }
	.hosp-quick__item:hover { transform: none; }
}
@media print {
	.hosp-mbar, .hosp-utility, .hosp-header-actions { display: none !important; }
}

/* Fixes */
.hosp-doc__photo, .hosp-row-doc__photo, .hosp-mini__photo, .hosp-byline__photo { text-decoration: none !important; }
.hosp-badge { align-self: flex-start; }
.hosp-package > .hosp-badge { margin-bottom: 0; }
.hosp-wrap { --h-pad: clamp(16px, 4vw, 24px); }
.hosp-profile__photo { background: #fff; }
.hosp-details__side { flex: 1 1 360px; max-width: 460px; }
.hosp-table th { width: 38%; }
@media (max-width: 781px) {
	.hosp-utility__wa { display: none !important; }
	.hosp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hosp-quick__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
	.hosp-quick__sub { display: none; }
	.hosp-grid.is-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hosp-spec { padding: 16px 14px; gap: 10px; }
	.hosp-doc__photo { aspect-ratio: 16 / 9; }
	.hosp-stats.wp-block-columns { flex-wrap: wrap !important; }
	.hosp-stats.wp-block-columns > .wp-block-column { flex: 1 1 40% !important; }
	.hosp-table th { width: auto; }
}

.hosp-profile__photo .hosp-avatar { background: #fff; }

.hosp-leader { border: 1px solid var(--h-border); border-radius: 16px; background: #fff; }
.hosp-author .hosp-mini { flex: none; }
.hosp-byline__photo .hosp-avatar { font-size: 14px; }
.hosp-mini__photo .hosp-avatar { font-size: 20px; }
.hosp-byline__who { text-decoration: none; }

/* ---------- v1.2: Homepage photo hero ---------- */
.hosp-hero.has-hosp-photo {
	background-color: var(--h-dark) !important;
	background-image: linear-gradient(90deg, color-mix(in srgb, var(--h-dark) 70%, #000) 0%, color-mix(in srgb, var(--h-dark) 82%, transparent) 42%, color-mix(in srgb, var(--h-dark) 28%, transparent) 75%, color-mix(in srgb, var(--h-dark) 12%, transparent) 100%), var(--hosp-hero-img) !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	color: #fff;
	padding-top: clamp(48px, 7vw, 80px) !important;
	padding-bottom: clamp(72px, 9vw, 104px) !important;
}
.hosp-hero.has-hosp-photo h1, .hosp-hero.has-hosp-photo .hosp-checks li { color: #fff; }
.hosp-hero.has-hosp-photo .has-body-color { color: rgba(255, 255, 255, 0.9) !important; }
.hosp-hero.has-hosp-photo .hosp-checks li::before { background: #fff; }
.hosp-hero.has-hosp-photo .hosp-pill { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.32); color: #fff; }
.hosp-hero.has-hosp-photo .hosp-hero-card { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
@media (max-width: 781px) {
	.hosp-hero.has-hosp-photo {
		background-image: linear-gradient(180deg, color-mix(in srgb, var(--h-dark) 55%, transparent) 0%, color-mix(in srgb, var(--h-dark) 88%, #000) 60%, color-mix(in srgb, var(--h-dark) 94%, #000) 100%), var(--hosp-hero-img) !important;
		background-position: center top !important;
		background-size: 100% auto, cover !important;
	}
}

/* ---------- v1.2: Header menu dropdowns ---------- */
.hosp-nav .wp-block-navigation-item__content { padding: 10px 2px; }
.hosp-nav .has-child > .wp-block-navigation__submenu-container {
	background: #fff !important; color: var(--h-ink) !important; border: 1px solid var(--h-border) !important;
	border-radius: 14px; box-shadow: 0 16px 48px rgba(18, 35, 43, 0.14); padding: 10px !important; top: calc(100% + 10px) !important;
}
.hosp-nav .has-child > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hosp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 12px !important; border-radius: 10px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.hosp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.hosp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { background: var(--h-tint); color: var(--h-dark); text-decoration: none; }
.hosp-nav .has-child:hover > .wp-block-navigation__submenu-container,
.hosp-nav .has-child:focus-within > .wp-block-navigation__submenu-container { min-width: 260px !important; }
.hosp-nav .hosp-auto-specs > .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; padding: 16px !important; left: -20px !important; }
.hosp-nav .hosp-auto-specs:hover > .wp-block-navigation__submenu-container,
.hosp-nav .hosp-auto-specs:focus-within > .wp-block-navigation__submenu-container { min-width: 580px !important; }
.hosp-nav-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--h-tint); color: var(--h-primary); display: inline-flex; align-items: center; justify-content: center; }
.hosp-nav-ic svg { width: 17px; height: 17px; }
.hosp-nav .hosp-spec-all { grid-column: 1 / -1; border-top: 1px solid var(--h-border); margin-top: 8px; padding-top: 8px; }
.hosp-nav .hosp-spec-all .wp-block-navigation-item__content { color: var(--h-action) !important; font-weight: 700; }

/* Mobile menu (full-screen overlay) */
.hosp-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px 20px 32px !important; }
.hosp-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; gap: 0 !important; padding-top: 40px; }
.hosp-nav .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.hosp-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { border-bottom: 1px solid var(--h-border); padding: 6px 0; width: 100%; }
.hosp-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: 18px; font-weight: 700; padding: 10px 0 !important; }
.hosp-nav .is-menu-open .has-child > .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 8px !important; min-width: 0 !important; width: 100% !important; position: static !important; }
.hosp-nav .is-menu-open .hosp-auto-specs > .wp-block-navigation__submenu-container { padding: 0 0 8px !important; }
.hosp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 15px; padding: 8px 0 !important; white-space: normal; }
.hosp-nav .is-menu-open .hosp-nav-ic { width: 28px; height: 28px; }
.hosp-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
@media (max-width: 400px) {
	.hosp-nav .is-menu-open .hosp-auto-specs > .wp-block-navigation__submenu-container { grid-template-columns: 1fr; }
}
.hosp-nav .hosp-auto-specs:hover > .wp-block-navigation__submenu-container,
.hosp-nav .hosp-auto-specs:focus-within > .wp-block-navigation__submenu-container { min-width: 640px !important; }
.hosp-nav .wp-block-navigation__responsive-container.is-menu-open { padding-bottom: 104px !important; }
.hosp-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.hosp-nav .is-menu-open .wp-block-navigation__container,
.hosp-nav .is-menu-open .wp-block-navigation-item,
.hosp-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left !important; justify-content: flex-start !important; }
.hosp-nav .is-menu-open .hosp-auto-specs > .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.hosp-nav .is-menu-open .hosp-spec-all { border-top: 0; margin-top: 4px; padding-top: 0; }
.hosp-nav .is-menu-open .has-child:hover > .wp-block-navigation__submenu-container,
.hosp-nav .is-menu-open .has-child:focus-within > .wp-block-navigation__submenu-container,
.hosp-nav .is-menu-open .hosp-auto-specs:hover > .wp-block-navigation__submenu-container,
.hosp-nav .is-menu-open .hosp-auto-specs:focus-within > .wp-block-navigation__submenu-container { min-width: 0 !important; width: 100% !important; }
.hosp-nav .is-menu-open .hosp-spec-link .wp-block-navigation-item__content { gap: 10px; }
