:root {
    --navy: #090f58;
    --navy-2: #101a78;
    --red: #e31b23;
    --red-dark: #bd1018;
    --ink: #152033;
    --muted: #5e6878;
    --line: #dfe4ec;
    --surface: #f4f6fa;
    --white: #fff;
    --shadow: 0 18px 60px rgba(10, 20, 70, .12);
    --radius: 18px;
    --container: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 0; margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overscroll-behavior-y: contain; }
main, section, article, header, footer, nav, aside, form, fieldset, .container, .main-content { min-width: 0; }
img, svg, video, canvas, iframe { max-width: 100%; }
img { display: block; height: auto; }
audio { width: 100%; max-width: 100%; }
table { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { min-width: 0; max-width: 100%; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(2.65rem, 5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { line-height: 1.3; }
:focus-visible { outline: 3px solid #ffbd4a; outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .75rem 1rem; color: var(--white); background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin-bottom: .85rem; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 50px; max-width: 100%; align-items: center; justify-content: center; padding: .75rem 1.45rem; border: 1px solid var(--red); border-radius: 8px; color: var(--white); background: var(--red); font-weight: 800; overflow-wrap: anywhere; text-align: center; white-space: normal; cursor: pointer; transition: .2s ease; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); transform: translateY(-1px); }
.button-sm { min-height: 42px; padding: .55rem 1rem !important; }
.button-ghost { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.18); }
.button-light { color: var(--navy); border-color: var(--white); background: var(--white); }
.button-light:hover { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-outline:hover { color: var(--white); border-color: var(--navy); background: var(--navy); }
.button-block { width: 100%; margin-top: .75rem; }
.button-disabled, .button-disabled:hover { color: #6d7786; border-color: #d8dde6; background: #edf0f5; box-shadow: none; cursor: not-allowed; transform: none; }
.text-link { color: var(--navy); font-weight: 800; }
.text-link:hover { color: var(--red); }
.light-link { color: var(--white); }

.topbar { color: #eef0ff; background: var(--navy); font-size: .78rem; }
.topbar-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar p { display: flex; align-items: center; gap: .55rem; margin: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ce4a7; box-shadow: 0 0 0 4px rgba(92,228,167,.14); }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 90; isolation: isolate; border-bottom: 1px solid rgba(9,15,88,.08); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.5rem; }
.brand small { max-width: 210px; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: .25rem; }
.primary-nav > a, .nav-item > a { display: flex; align-items: center; gap: .35rem; padding: 1rem .65rem; color: #293349; font-size: .86rem; font-weight: 700; }
.primary-nav > a.button, .primary-nav > a.button:visited, .primary-nav > a.button:hover, .primary-nav > a.button:focus-visible { color: var(--white); }
.primary-nav > a:not(.button):hover, .nav-item > a:hover, .primary-nav .active { color: var(--red); }
.nav-item { position: relative; }
.dropdown { position: absolute; top: calc(100% - 4px); left: 0; display: grid; min-width: 230px; padding: .55rem; border: 1px solid var(--line); border-radius: 12px; opacity: 0; visibility: hidden; background: var(--white); box-shadow: var(--shadow); transform: translateY(8px); transition: .18s ease; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: .65rem .8rem; border-radius: 8px; font-size: .85rem; font-weight: 700; }
.dropdown a:hover { color: var(--red); background: var(--surface); }
.menu-toggle { position: relative; z-index: 101; display: none; flex: 0 0 45px; width: 45px; height: 45px; padding: 10px; border: 0; border-radius: 8px; background: var(--surface); cursor: pointer; touch-action: manipulation; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s; }

.hero { position: relative; min-height: min(710px, calc(100vh - 122px)); color: var(--white); background: var(--navy); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; background-image: var(--hero-image); background-position: center; background-size: cover; transition: opacity .7s ease, visibility .7s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,57,.94) 0%, rgba(9,15,88,.72) 46%, rgba(9,15,88,.12) 80%), linear-gradient(0deg, rgba(5,10,57,.38), transparent 50%); }
.hero-content { position: relative; z-index: 1; padding: 5rem 0 7rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; color: #ffb5b8; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-kicker::before { width: 34px; height: 2px; content: ""; background: var(--red); }
.hero h1 { max-width: 740px; margin-bottom: 1.4rem; }
.hero-content > p:not(.hero-kicker) { max-width: 650px; color: #e6e8f8; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.slider-controls { position: absolute; right: 0; bottom: 2.5rem; left: 0; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.slider-controls > button { width: 42px; height: 42px; color: var(--white); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; }
.slider-dots { display: flex; gap: .45rem; }
.slider-dots button { width: 24px; height: 4px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.35); cursor: pointer; }
.slider-dots button.active { width: 42px; background: var(--red); }

.quick-actions { position: relative; z-index: 5; margin-top: -1.25rem; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.quick-grid a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: .75rem; padding: 1.4rem 1.25rem; border-right: 1px solid var(--line); transition: .2s; }
.quick-grid a:last-child { border: 0; color: var(--white); background: var(--red); }
.quick-grid a:hover { transform: translateY(-3px); }
.quick-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); border-radius: 12px; background: #eef0ff; font-size: 1.3rem; font-weight: 800; }
.quick-grid a:last-child .quick-icon { color: var(--white); background: rgba(255,255,255,.16); }
.quick-grid a span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.quick-grid strong { font-size: .9rem; }
.quick-grid small { color: var(--muted); font-size: .72rem; }
.quick-grid a:last-child small { color: #ffdfe0; }
.quick-grid b { font-size: 1.1rem; }

.section { padding: 6.5rem 0; }
.section-tint { background: var(--surface); }
.section-navy { color: var(--white); background: var(--navy); }
.split-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.image-composition { position: relative; }
.image-composition > img { width: 100%; min-height: 530px; border-radius: 8px 80px 8px 8px; object-fit: cover; box-shadow: var(--shadow); }
.image-composition::before { position: absolute; top: -18px; right: -18px; z-index: -1; width: 45%; height: 45%; border-radius: 4px 80px 4px 4px; content: ""; background: #e8eaff; }
.experience-badge { position: absolute; right: -30px; bottom: 28px; display: flex; width: 190px; min-height: 145px; flex-direction: column; justify-content: center; padding: 1.2rem; color: var(--white); border: 7px solid var(--white); border-radius: 12px; background: var(--navy); }
.experience-badge strong { font-family: "Source Serif 4", serif; font-size: 2.5rem; line-height: 1; }
.experience-badge span { margin-top: .45rem; font-size: .76rem; line-height: 1.4; }
.section-copy h2 { max-width: 650px; margin-bottom: 1.25rem; color: var(--navy); }
.lead { color: #384358; font-size: 1.08rem; font-weight: 600; }
.compact { color: var(--muted); }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.5rem 0; color: var(--navy); font-weight: 700; }
.value-list span::first-letter { color: var(--red); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: .65rem; color: var(--navy); }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading.light h2, .section-heading.light p:last-child { color: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.info-card { min-height: 285px; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .25s ease; }
.info-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 2rem; color: var(--red); border-radius: 14px; background: #fff0f1; font-size: 1.5rem; font-weight: 800; }
.medical-icon { width: 27px; height: 27px; }
.info-card h2, .info-card h3 { margin-bottom: .7rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.35rem; }
.info-card p { color: var(--muted); font-size: .86rem; }
.card-link { color: var(--navy); font-size: .78rem; font-weight: 800; }
.department-showcase-section { position: relative; isolation: isolate; background: linear-gradient(145deg, #f6f7fb 0%, #edf0f8 100%); overflow: hidden; }
.department-showcase-section::before { position: absolute; top: -220px; right: -170px; z-index: -1; width: 580px; height: 580px; border: 1px solid rgba(9,15,88,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(9,15,88,.025), 0 0 0 140px rgba(9,15,88,.018); }
.department-showcase-section::after { position: absolute; bottom: -170px; left: -140px; z-index: -1; width: 390px; height: 390px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(227,27,35,.09), transparent 68%); }
.department-showcase-heading { position: relative; z-index: 1; }
.department-heading-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; }
.department-heading-actions > span { padding: .4rem .75rem; color: var(--red); border: 1px solid rgba(227,27,35,.18); border-radius: 999px; background: rgba(255,255,255,.72); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.departments-showcase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 1rem; }
.department-showcase-card { position: relative; grid-column: span 3; color: var(--white); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: var(--navy); box-shadow: 0 14px 38px rgba(8,15,70,.13); overflow: hidden; transform: translateZ(0); transition: box-shadow .35s ease, transform .35s ease; }
.department-showcase-card:nth-child(1), .department-showcase-card:nth-child(6), .department-showcase-card:nth-child(7), .department-showcase-card:nth-child(8) { grid-column: span 6; }
.department-showcase-card:hover { box-shadow: 0 26px 60px rgba(8,15,70,.24); transform: translateY(-7px); }
.department-showcase-image { position: absolute; inset: 0; display: block; background: #dfe4ee; overflow: hidden; }
.department-showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.department-showcase-card:hover .department-showcase-image img { filter: saturate(1.06) contrast(1.03); transform: scale(1.065); }
.department-showcase-fallback { display: grid; place-items: center; color: var(--white); background: radial-gradient(circle at 72% 20%, #25339e, transparent 38%), linear-gradient(140deg, var(--navy), #101a78); }
.department-showcase-fallback .card-icon { width: 72px; height: 72px; margin: 0; color: var(--white); background: rgba(255,255,255,.12); }
.department-showcase-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,57,.08) 20%, rgba(5,10,57,.45) 56%, rgba(5,10,57,.96) 100%); transition: background .35s ease; }
.department-showcase-card:hover .department-showcase-shade { background: linear-gradient(180deg, rgba(5,10,57,.04) 10%, rgba(5,10,57,.4) 50%, rgba(5,10,57,.98) 100%); }
.department-showcase-number { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1; display: grid; min-width: 46px; height: 34px; padding-inline: .65rem; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(5,10,57,.45); backdrop-filter: blur(10px); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.department-showcase-arrow { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); border-radius: 50%; background: var(--white); box-shadow: 0 8px 25px rgba(5,10,57,.18); font-size: 1.1rem; font-weight: 800; transform: rotate(0); transition: color .25s ease, background .25s ease, transform .35s ease; }
.department-showcase-card:hover .department-showcase-arrow { color: var(--white); background: var(--red); transform: rotate(45deg); }
.department-showcase-copy { position: absolute; right: 1.4rem; bottom: 1.35rem; left: 1.4rem; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.department-showcase-copy small { margin-bottom: .4rem; color: #ffb8bb; font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.department-showcase-copy h3 { max-width: 520px; margin-bottom: .45rem; color: var(--white); font-family: "Source Serif 4", serif; font-size: clamp(1.28rem, 2vw, 1.75rem); line-height: 1.12; }
.department-showcase-copy p { display: -webkit-box; max-width: 540px; margin-bottom: .75rem; color: #e2e5f3; font-size: .75rem; line-height: 1.55; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.department-showcase-copy > span { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); font-size: .7rem; font-weight: 800; }
.department-showcase-copy b { color: #ff9ca0; font-size: .95rem; transition: transform .25s ease; }
.department-showcase-card:hover .department-showcase-copy b { transform: translateX(4px); }
.stats-band { color: var(--white); background: linear-gradient(115deg, var(--red), #b61018); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { display: flex; min-height: 190px; flex-direction: column; justify-content: center; padding: 2rem; border-right: 1px solid rgba(255,255,255,.2); text-align: center; }
.stats-grid div:last-child { border: 0; }
.stats-grid strong { font-family: "Source Serif 4", serif; font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; }
.stats-grid span { margin-top: .65rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.service-card {
    position: relative;
    display: grid;
    min-height: 175px;
    grid-template-columns: 42px 62px minmax(0, 1fr) 42px;
    align-items: start;
    gap: 1.15rem;
    overflow: hidden;
    padding: 2rem;
    background: var(--white);
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card::after {
    position: absolute;
    right: -42px;
    bottom: -55px;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(237, 28, 36, .09);
    border-radius: 50%;
    content: "";
    transform: scale(.7);
    transition: transform .35s ease;
}
.service-card:hover {
    z-index: 1;
    background: linear-gradient(135deg, #fff 55%, #fff4f4);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.service-card:hover::after { transform: scale(1); }
.service-number {
    padding-top: .75rem;
    color: var(--red);
    font-family: "Source Serif 4", serif;
    font-size: 1.2rem;
    font-weight: 700;
}
.service-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(237, 28, 36, .14);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #ffe9eb);
    color: var(--red);
    box-shadow: 0 10px 24px rgba(237, 28, 36, .08);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.service-icon .medical-icon { width: 29px; height: 29px; }
.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
    transform: rotate(-4deg) scale(1.04);
}
.service-copy { display: block; padding-top: .55rem; }
.service-card h3 { margin-bottom: .6rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.4rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.service-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    font-size: 1rem;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .25s ease;
}
.service-card:hover .service-arrow {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    transform: rotate(45deg);
}
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.doctor-card { border-radius: 14px; background: rgba(255,255,255,.07); overflow: hidden; transition: .25s; }
.doctor-card:hover { transform: translateY(-6px); }
.doctor-photo { aspect-ratio: 4 / 4.5; background: #e7e9f1; overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: .4s; }
.doctor-card:hover img { transform: scale(1.03); }
.doctor-card > div:last-child { padding: 1.2rem; }
.doctor-card p { margin-bottom: .4rem; color: #ffb6b9; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.doctor-card h2, .doctor-card h3 { margin-bottom: .35rem; color: var(--white); font-family: "Source Serif 4", serif; font-size: 1.25rem; }
.doctor-card span { display: block; color: #cdd1e9; font-size: .77rem; }
.doctor-card b { display: inline-block; margin-top: .8rem; color: var(--navy); font-size: .78rem; }
.doctor-grid-light .doctor-card { border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 30px rgba(10,20,70,.06); }
.doctor-grid-light .doctor-card h2, .doctor-grid-light .doctor-card h3 { color: var(--navy); }
.doctor-grid-light .doctor-card span { color: var(--muted); }
.doctor-type-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 760px; margin: 2rem auto 4.5rem; padding: .55rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.doctor-type-nav button { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; color: var(--navy); border: 1px solid transparent; border-radius: 12px; background: var(--white); font-weight: 800; text-align: left; cursor: pointer; transition: .2s ease; }
.doctor-type-nav button:hover, .doctor-type-nav button[aria-selected="true"] { color: var(--white); border-color: var(--navy); background: var(--navy); transform: translateY(-2px); }
.doctor-type-nav strong { display: grid; min-width: 38px; height: 38px; padding-inline: .55rem; place-items: center; color: var(--white); border-radius: 20px; background: var(--red); font-size: .78rem; }
.doctor-directory-block { scroll-margin-top: 8rem; }
.doctor-directory-block[hidden] { display: none; }
.doctor-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.3rem; }
.doctor-directory-heading h2 { margin-bottom: .7rem; color: var(--navy); }
.doctor-directory-heading > div > p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.doctor-directory-heading > span { flex: 0 0 auto; padding: .55rem .85rem; color: var(--navy); border-radius: 999px; background: #eef0ff; font-size: .75rem; font-weight: 800; }
.doctor-card-static { height: 100%; }
.doctor-card-static b { color: var(--red); }
.doctor-card .doctor-card-specialty { color: var(--navy); font-weight: 700; }
.doctor-card .doctor-card-degrees { margin-top: .25rem; color: var(--muted); }
.doctor-card-consultation { display: grid; gap: .4rem; margin: .85rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.doctor-card-consultation div { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .45rem; }
.doctor-card-consultation dt { color: var(--red); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.doctor-card-consultation dd { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.doctor-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 4rem; }
.doctor-filter-bar label { display: flex; flex-direction: column; gap: .35rem; color: var(--navy); font-size: .75rem; font-weight: 800; }
.image-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.image-card { position: relative; min-height: 400px; border-radius: var(--radius); overflow: hidden; }
.image-card::after { position: absolute; inset: 35% 0 0; content: ""; background: linear-gradient(transparent, rgba(5,10,57,.92)); }
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.image-card:hover img { transform: scale(1.05); }
.image-card div { position: absolute; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; z-index: 1; color: var(--white); }
.image-card h3 { margin-bottom: .4rem; font-family: "Source Serif 4", serif; font-size: 1.5rem; }
.image-card p { margin: 0; color: #e1e4f3; font-size: .8rem; }
.appointment-cta { padding: 4.5rem 0; color: var(--white); background: linear-gradient(120deg, var(--red), #ad0a12); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-inner h2 { margin-bottom: .7rem; }
.cta-inner p:not(.eyebrow) { margin: 0; color: #ffe3e4; }
.cta-inner .eyebrow { color: var(--white); opacity: .8; }
.cta-inner > div:last-child { display: flex; align-items: center; gap: 1.5rem; }
.cta-phone { display: flex; flex-direction: column; font-family: "Source Serif 4", serif; font-size: 1.25rem; font-weight: 700; }
.cta-phone span { font-family: "Manrope", sans-serif; font-size: .68rem; font-weight: 700; text-transform: uppercase; opacity: .75; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.post-card > a { display: block; height: 235px; overflow: hidden; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.post-card:hover img { transform: scale(1.04); }
.post-card > div { padding: 1.5rem; }
.post-meta { color: var(--red) !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin-bottom: .7rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.4rem; }
.post-card p { color: var(--muted); font-size: .86rem; }

.page-hero { position: relative; padding: 5.5rem 0; color: var(--white); background: radial-gradient(circle at 80% 30%, rgba(227,27,35,.24), transparent 28%), linear-gradient(125deg, #070b43, var(--navy-2)); overflow: hidden; }
.page-hero::after { position: absolute; right: -100px; bottom: -180px; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 850px; margin-bottom: .9rem; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.page-intro { max-width: 700px; margin: 0; color: #dfe2f4; font-size: 1.05rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; color: #c5cae9; font-size: .76rem; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.filter-bar { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: .8rem; margin-bottom: 2.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
input, select, textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; color: var(--ink); border: 1px solid #cfd5e0; border-radius: 8px; background: var(--white); }
textarea { resize: vertical; }
.directory-grid { grid-template-columns: repeat(3, 1fr); }
.directory-grid .info-card { min-height: 320px; }
.profile-hero { padding: 5rem 0; color: var(--white); background: var(--navy); }
.profile-grid { display: grid; grid-template-columns: 360px 1fr; align-items: center; gap: 4rem; }
.profile-photo { aspect-ratio: 4/4.6; border-radius: 18px 70px 18px 18px; background: #e5e7ee; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile-hero h1 { margin-bottom: .7rem; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.profile-degrees { color: #f0f1fa; font-size: 1.05rem; font-weight: 700; }
.profile-hero .button { margin-top: 1.2rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.detail-aside { position: sticky; top: 110px; padding: 1.65rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.detail-aside h2 { margin-bottom: 1.25rem; color: var(--navy); font-size: 1.6rem; }
.detail-aside > div { display: flex; flex-direction: column; padding: .9rem 0; border-top: 1px solid var(--line); }
.detail-aside small { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.detail-aside strong, .detail-aside a { color: var(--navy); font-weight: 800; }
.detail-aside p { color: var(--muted); font-size: .85rem; }
.content-featured-image { width: 100%; max-height: 520px; margin-bottom: 2rem; border-radius: 16px; object-fit: cover; }
.rich-text { color: #384358; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin-top: 2rem; color: var(--navy); font-family: "Source Serif 4", serif; }
.rich-text h2:first-child { margin-top: 0; }
.rich-text h2 { font-size: 2rem; }
.rich-text h3 { font-size: 1.45rem; }
.rich-text a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.rich-text li { margin: .4rem 0; }
.rich-text blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--red); color: var(--navy); background: var(--surface); font-family: "Source Serif 4", serif; font-size: 1.2rem; }
.rich-text table { display: block; width: 100%; max-width: 100%; border-collapse: collapse; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.rich-text th, .rich-text td { padding: .75rem; border: 1px solid var(--line); text-align: left; }
.rich-text pre { max-width: 100%; padding: 1rem; border-radius: 10px; background: var(--surface); overflow-x: auto; overscroll-behavior-inline: contain; }
.rich-text code, .rich-text a, .article-body, .detail-aside, .contact-panel, .appointment-receipt, .footer-grid { overflow-wrap: anywhere; }
.rich-text [style*="width"], .rich-text [width] { max-width: 100% !important; }
.legacy-content > div, .legacy-content section { max-width: 100%; }
.legacy-content img { width: auto; height: auto; margin: 1rem auto; border-radius: 10px; }
.legacy-content [class*="col-"] { width: auto !important; max-width: 100% !important; }

/* Reusable CMS content pages */
.content-page-hero { position: relative; display: grid; min-height: 440px; align-items: end; color: var(--white); background: radial-gradient(circle at 85% 20%, rgba(227,27,35,.28), transparent 27%), linear-gradient(125deg, #070b43, var(--navy-2)); background-position: center; background-size: cover; overflow: hidden; }
.content-page-hero--image { background-image: var(--content-page-banner); }
.content-page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,57,.95) 0%, rgba(9,15,88,.76) 53%, rgba(9,15,88,.28) 100%), linear-gradient(0deg, rgba(5,10,57,.48), transparent 68%); }
.content-page-hero::after { position: absolute; right: -120px; bottom: -230px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.028), 0 0 0 140px rgba(255,255,255,.018); }
.content-page-hero-inner { position: relative; z-index: 1; padding-block: 4.8rem; }
.content-page-hero .breadcrumbs { margin-bottom: 3rem; }
.content-page-hero .eyebrow { color: #ffb8bb; }
.content-page-hero h1 { max-width: 880px; margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 5.2rem); }
.content-page-hero-inner > p:last-child { max-width: 720px; margin-bottom: 0; color: #e4e7f5; font-size: 1.05rem; line-height: 1.8; }
.content-page-main { background: linear-gradient(180deg, #f7f8fc 0, var(--white) 220px); }
.content-page-width { max-width: 1040px; }
.content-page-width--wide { max-width: 1240px; }
.content-page-featured { position: relative; margin: 0 0 clamp(2.5rem, 6vw, 5rem); padding: 0; }
.content-page-featured::after { position: absolute; right: -14px; bottom: -14px; z-index: -1; width: 38%; height: 55%; border-radius: 8px 8px 38px; content: ""; background: #e6e8f7; }
.content-page-featured img { width: 100%; max-height: 620px; aspect-ratio: 16 / 7.5; border-radius: 18px 70px 18px 18px; box-shadow: 0 26px 70px rgba(10,20,70,.16); object-fit: cover; }
.content-page-body { padding: clamp(1.7rem, 4vw, 3.8rem); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 60px rgba(10,20,70,.07); font-size: .96rem; line-height: 1.85; overflow: hidden; }
.content-page-body > :first-child, .content-page-body > :first-child > :first-child { margin-top: 0; }
.content-page-body p { max-width: 960px; }
.content-page-body h2 { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: clamp(1.8rem, 3vw, 2.45rem); }
.content-page-body h3 { margin-top: 2.4rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.content-page-body h4 { font-size: 1.12rem; }
.content-page-body ul, .content-page-body ol { margin: 1.4rem 0 2rem; padding-left: 1.45rem; }
.content-page-body li { padding-left: .25rem; }
.content-page-body img { max-width: 100%; height: auto; margin: 2rem auto; border-radius: 14px; box-shadow: 0 15px 38px rgba(10,20,70,.1); }
.content-page-body figure { max-width: 100%; margin: 2.5rem 0; }
.content-page-body figcaption { margin-top: .65rem; color: var(--muted); font-size: .75rem; text-align: center; }
.content-page-body iframe, .content-page-body .ql-video, .content-page-section iframe { width: 100%; max-width: 900px; height: auto; min-height: min(500px, 52vw); aspect-ratio: 16 / 9; margin: 2rem auto; border: 0; border-radius: 14px; box-shadow: var(--shadow); }
.content-page-body a.button, .content-page-section .rich-text a.button { display: inline-flex; color: var(--white); text-decoration: none; }
.content-page-body .container, .content-page-body .row, .content-page-body [class*="col-"] { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
.content-page-body .row { display: block; }
.content-page-body > section, .content-page-body .story, .content-page-body .bg-gray, .content-page-body .section { margin: 0; padding: 0; background: transparent; }
.content-page-body .section-title { max-width: 800px; margin: 0 auto 2.5rem; text-align: center; }
.content-page-body .section-title h3 { margin-top: 0; }
.content-page-body .grid-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.content-page-body .inner-box { height: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 28px rgba(10,20,70,.06); overflow: hidden; }
.content-page-body .img_holder img { width: 100%; aspect-ratio: 16 / 10; margin: 0; border-radius: 0; box-shadow: none; object-fit: cover; }
.content-page-body .image-content { padding: 1.25rem; }
.content-page-body .image-content h3, .content-page-body .image-content h4 { margin: .25rem 0; padding: 0; border: 0; font-size: 1.15rem; }
.content-page-body .image-content p { margin-bottom: .45rem; }

/* Ward details */
.ward-details-main {
    position: relative;
    background:
        radial-gradient(circle at 8% 12%, rgba(237,28,36,.06), transparent 22rem),
        linear-gradient(180deg, #f7f8fc 0, #fff 420px);
    overflow: hidden;
}
.ward-details-main::before {
    position: absolute;
    top: 80px;
    right: -180px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(9,15,88,.05);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(9,15,88,.018), 0 0 0 140px rgba(9,15,88,.012);
}
.ward-details-main .content-page-width { position: relative; z-index: 1; max-width: 1180px; }
.ward-details-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.ward-details-overview-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem) 0;
}
.ward-details-overview-copy h2 {
    max-width: 620px;
    margin-bottom: 1.2rem;
    color: var(--navy);
    font-size: clamp(2.3rem, 4vw, 4rem);
}
.ward-details-overview-copy > p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}
.ward-details-overview-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.5rem; }
.ward-details-overview-meta > span,
.ward-details-overview-meta > a {
    display: grid;
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 28px rgba(10,20,70,.045);
}
.ward-details-overview-meta svg {
    width: 28px;
    height: 28px;
    grid-row: span 2;
    align-self: center;
    color: var(--red);
}
.ward-details-overview-meta small {
    color: var(--red);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.ward-details-overview-meta strong { color: var(--navy); font-size: .78rem; overflow-wrap: anywhere; }
.ward-details-overview-meta .ward-details-call-center {
    border-color: transparent;
    color: var(--white);
    background:
        radial-gradient(circle at 95% 5%, rgba(255,255,255,.2), transparent 36%),
        linear-gradient(135deg, var(--red), #b70f18);
    box-shadow: 0 18px 38px rgba(201,17,26,.22);
    transition: box-shadow .25s ease, transform .25s ease;
}
.ward-details-overview-meta .ward-details-call-center:hover {
    box-shadow: 0 24px 46px rgba(201,17,26,.3);
    transform: translateY(-3px);
}
.ward-details-call-center svg { grid-row: span 3; color: var(--white); }
.ward-details-call-center small { color: #ffd6d8; }
.ward-details-call-center strong { color: var(--white); font-size: .82rem; }
.ward-details-call-center b {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--white);
    font-family: "Source Serif 4", serif;
    font-size: 1.05rem;
    line-height: 1.2;
}
.ward-details-call-center b span {
    color: #ffd6d8;
    font-family: inherit;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ward-details-call-center b i {
    margin-left: auto;
    font-family: sans-serif;
    font-size: 1rem;
    font-style: normal;
}
.ward-details-overview-image {
    position: relative;
    min-height: 390px;
    margin: 0;
    border-radius: 24px 70px 24px 24px;
    background: #e5e7f0;
    box-shadow: 0 28px 70px rgba(10,20,70,.16);
    overflow: hidden;
}
.ward-details-overview-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5,10,57,.76));
    content: "";
}
.ward-details-overview-image img { width: 100%; height: 100%; object-fit: cover; }
.ward-details-overview-image figcaption {
    position: absolute;
    right: 1.5rem;
    bottom: 1.25rem;
    left: 1.5rem;
    z-index: 1;
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.ward-bed-directory { margin-top: clamp(3rem, 6vw, 5.5rem); }
.ward-bed-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.ward-bed-directory-heading h2 {
    max-width: 780px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.1;
}
.ward-bed-directory-heading > p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.65;
}
.ward-bed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ward-bed-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(10,20,70,.1);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}
.ward-bed-card:hover { box-shadow: 0 28px 65px rgba(10,20,70,.16); transform: translateY(-6px); }
.ward-bed-media {
    position: relative;
    aspect-ratio: 16 / 8.8;
    color: var(--navy);
    background: linear-gradient(135deg, #e8eaf3, #f6f7fb);
    overflow: hidden;
}
.ward-bed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ward-bed-card:hover .ward-bed-media img { transform: scale(1.035); }
.ward-bed-media-fallback { display: grid; width: 100%; height: 100%; place-items: center; }
.ward-bed-media-fallback svg { width: 76px; height: 76px; color: rgba(9,15,88,.32); }
.ward-bed-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    color: var(--white);
    background: rgba(9,15,88,.82);
    backdrop-filter: blur(7px);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ward-bed-content { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.ward-bed-content h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-family: "Source Serif 4", serif;
    font-size: 1.65rem;
    line-height: 1.2;
}
.ward-bed-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.ward-bed-stat {
    display: flex;
    min-width: 0;
    min-height: 76px;
    flex-direction: column;
    justify-content: space-between;
    gap: .3rem;
    padding: .75rem;
    border: 1px solid #e7e9f2;
    border-radius: 12px;
    background: var(--surface);
}
.ward-bed-stat small { color: var(--muted); font-size: .66rem; font-weight: 700; line-height: 1.35; }
.ward-bed-stat strong {
    color: var(--navy);
    font-family: "Source Serif 4", serif;
    font-size: 1.45rem;
    line-height: 1;
}
.ward-bed-stat--occupied strong { color: #b06a00; }
.ward-bed-stat--available strong { color: #008d57; }
.ward-bed-stat--available.is-empty strong { color: var(--red); }
.ward-bed-notes {
    margin: 1rem 0 0;
    padding: .75rem .85rem;
    border-left: 3px solid var(--red);
    border-radius: 0 8px 8px 0;
    color: var(--navy);
    background: #fff1f2;
    font-size: .72rem;
    line-height: 1.6;
}
.ward-bed-location { margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: .68rem; }
.ward-bed-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed rgba(9,15,88,.25);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255,255,255,.72);
    text-align: center;
}
.ward-bed-empty strong { display: block; margin-bottom: .4rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.25rem; }
.ward-bed-empty p { margin: 0; }
.page-section-list { padding-top: 0; background: var(--white); }
.page-section-list .container { display: grid; gap: 1.5rem; }
.content-page-section { display: grid; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 55px rgba(10,20,70,.07); overflow: hidden; }
.content-page-section--with-image { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.content-page-section--image-left .content-page-section-image { order: -1; }
.content-page-section-image img { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px 50px 14px 14px; object-fit: cover; }
.content-page-section-copy h2 { margin-bottom: 1.2rem; color: var(--navy); }
.content-page-section-copy .button { margin-top: 1rem; }
.content-page-section--card { background: var(--surface); }
.content-page-section--accent { color: var(--white); border-color: var(--navy); background: radial-gradient(circle at 90% 10%, rgba(227,27,35,.25), transparent 26%), var(--navy); }
.content-page-section--accent h2, .content-page-section--accent .rich-text { color: var(--white); }
.content-page-section--accent .rich-text a { color: var(--white); }
.content-page-section--accent .eyebrow { color: #ffb8bb; }
.content-page-gallery-section { background: #f5f6fa; }
.content-page-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-page-gallery-card { position: relative; min-height: 250px; padding: 0; border: 0; border-radius: 14px; background: #e5e7f0; cursor: zoom-in; overflow: hidden; }
.content-page-gallery-card img { width: 100%; height: 100%; min-height: 250px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
.content-page-gallery-card span { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; color: var(--white); font-family: "Source Serif 4", serif; font-weight: 700; opacity: 0; text-align: left; transform: translateY(8px); transition: .25s ease; }
.content-page-gallery-card:hover img, .content-page-gallery-card:focus-visible img { filter: brightness(.63); transform: scale(1.04); }
.content-page-gallery-card:hover span, .content-page-gallery-card:focus-visible span { opacity: 1; transform: translateY(0); }
.content-page-downloads-section { background: var(--white); }
.content-page-downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-page-download { display: flex; min-height: 220px; flex-direction: column; align-items: flex-start; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .25s ease; }
.content-page-download > span { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 1.2rem; color: var(--red); border-radius: 13px; background: #ffecee; }
.content-page-download svg { width: 24px; height: 24px; }
.content-page-download strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.15rem; }
.content-page-download p { margin: .5rem 0; color: var(--muted); font-size: .78rem; }
.content-page-download small { margin-top: auto; padding-top: 1rem; color: var(--red); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.content-page-download:hover { border-color: rgba(9,15,88,.35); box-shadow: 0 16px 40px rgba(10,20,70,.09); transform: translateY(-4px); }
.content-page-related-section { background: var(--surface); }
.content-page-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-page-related-card { min-height: 210px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 10px 32px rgba(10,20,70,.05); overflow: hidden; transition: .25s ease; }
.content-page-related-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.content-page-related-card > span { display: flex; min-height: 190px; flex-direction: column; padding: 1.4rem; }
.content-page-related-card strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.3rem; }
.content-page-related-card small { margin-top: .55rem; color: var(--muted); line-height: 1.65; }
.content-page-related-card b { margin-top: auto; padding-top: 1rem; color: var(--red); font-size: .73rem; }
.content-page-related-card:hover { border-color: rgba(9,15,88,.32); box-shadow: 0 18px 45px rgba(10,20,70,.1); transform: translateY(-4px); }
.content-page-cta { padding: 4.5rem 0; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 25%), linear-gradient(120deg, var(--red-dark), var(--red)); }
.content-page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.content-page-cta h2 { max-width: 760px; margin-bottom: .7rem; }
.content-page-cta p { max-width: 760px; margin-bottom: 0; color: #fff0f1; }
.content-page-cta .button { flex: 0 0 auto; }
.content-page-contact-section { background: var(--white); }
.content-page-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.content-page-contact h2 { margin-bottom: 1rem; color: var(--navy); }
.content-page-contact > div:first-child > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.content-page-contact-links { display: grid; gap: .7rem; }
.content-page-contact-links > * { display: flex; flex-direction: column; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.content-page-contact-links a:hover { border-color: var(--red); }
.content-page-contact-links small { margin-bottom: .25rem; color: var(--red); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.content-page-contact-links strong { color: var(--navy); font-size: .88rem; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .content-page-body .grid-container, .content-page-gallery, .content-page-downloads, .content-page-related { grid-template-columns: 1fr 1fr; }
    .ward-details-overview { grid-template-columns: 1fr; }
    .ward-details-overview-image { min-height: 360px; }
    .ward-bed-grid { grid-template-columns: 1fr; }
    .content-page-section--with-image, .content-page-contact { grid-template-columns: 1fr; }
    .content-page-section-image { order: -1; }
}

@media (max-width: 620px) {
    .content-page-hero { min-height: 390px; }
    .content-page-hero-inner { padding-block: 3.5rem; }
    .content-page-hero .breadcrumbs { margin-bottom: 2.3rem; }
    .content-page-featured img { aspect-ratio: 4 / 3; border-radius: 14px 38px 14px 14px; }
    .content-page-body { padding: 1.35rem; border-radius: 15px; }
    .content-page-body .grid-container, .content-page-gallery, .content-page-downloads, .content-page-related { grid-template-columns: 1fr; }
    .ward-details-overview { gap: 1.5rem; margin-bottom: 3rem; }
    .ward-details-overview-meta { grid-template-columns: 1fr; }
    .ward-details-overview-image { min-height: 280px; border-radius: 18px 42px 18px 18px; }
    .ward-bed-directory-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .ward-bed-content { padding: 1rem; }
    .ward-bed-stats { gap: .5rem; }
    .ward-bed-stat { min-height: 72px; padding: .55rem; }
    .ward-bed-stat small { font-size: .6rem; }
    .ward-bed-stat strong { font-size: 1.25rem; }
    .content-page-body iframe, .content-page-body .ql-video, .content-page-section iframe { min-height: 220px; }
    .content-page-section { padding: 1.5rem; border-radius: 15px; }
    .content-page-gallery-card, .content-page-gallery-card img { min-height: 220px; }
    .content-page-cta-inner { align-items: flex-start; flex-direction: column; }
    .content-page-cta .button { width: 100%; }
}
.inline-doctors { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.inline-doctors a { display: flex; flex-direction: column; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.inline-doctors span { color: var(--muted); font-size: .78rem; }
.article-header { padding: 6rem 0 3rem; text-align: center; background: var(--surface); }
.article-header h1 { color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.5rem); }
.article-header > div > p:last-child { color: var(--muted); }
.article-body { padding-top: 3rem; padding-bottom: 6rem; }
.article-image { width: 100%; max-height: 540px; margin-bottom: 2.5rem; border-radius: 18px; object-fit: cover; }
.gallery-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; margin: 0 auto 4rem; padding: .5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.gallery-tab { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: .85rem; min-height: 82px; padding: .8rem 1rem; color: var(--muted); border: 0; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; transition: .2s ease; }
.gallery-tab > span { display: grid; width: 44px; height: 44px; grid-row: span 2; place-items: center; border-radius: 12px; background: var(--white); }
.gallery-tab svg { width: 22px; height: 22px; }
.gallery-tab strong { align-self: end; color: var(--navy); font-size: .92rem; }
.gallery-tab small { align-self: start; font-size: .7rem; }
.gallery-tab:hover { background: #e9ebf7; }
.gallery-tab.active { color: #dce0f5; background: var(--navy); box-shadow: 0 12px 30px rgba(9,15,88,.2); }
.gallery-tab.active > span { color: var(--white); background: var(--red); }
.gallery-tab.active strong { color: var(--white); }
.gallery-panel[hidden] { display: none; }
.gallery-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.gallery-panel-heading h2 { margin-bottom: 0; color: var(--navy); }
.gallery-panel-heading > p { max-width: 430px; margin-bottom: .5rem; color: var(--muted); font-size: .82rem; text-align: right; }
.photo-gallery-grid { columns: 3; column-gap: 1rem; }
.photo-gallery-card { position: relative; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: 14px; background: #e8eaf2; cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.photo-gallery-card img { width: 100%; min-height: 210px; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.photo-gallery-card:hover img { filter: brightness(.65); transform: scale(1.035); }
.photo-gallery-card > span { position: absolute; right: 1.2rem; bottom: 1rem; left: 1.2rem; display: flex; flex-direction: column; color: var(--white); opacity: 0; text-align: left; transform: translateY(10px); transition: .25s ease; }
.photo-gallery-card:hover > span, .photo-gallery-card:focus-visible > span { opacity: 1; transform: translateY(0); }
.photo-gallery-card small { color: #ffb6b9; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.photo-gallery-card strong { font-family: "Source Serif 4", serif; font-size: 1.1rem; }
.video-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.video-gallery-card { padding: 0; color: inherit; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 12px 35px rgba(10,20,70,.06); text-align: left; cursor: pointer; overflow: hidden; transition: .25s ease; }
.video-gallery-card:hover { border-color: rgba(9,15,88,.3); box-shadow: 0 20px 48px rgba(10,20,70,.13); transform: translateY(-5px); }
.video-thumbnail { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.video-thumbnail::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(5,10,57,.35), transparent 65%); }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.video-gallery-card:hover .video-thumbnail img { filter: brightness(.8); transform: scale(1.04); }
.video-play { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; width: 62px; height: 62px; place-items: center; color: var(--white); border: 5px solid rgba(255,255,255,.75); border-radius: 50%; background: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translate(-50%, -50%); transition: .25s ease; }
.video-play svg { width: 30px; height: 30px; margin-left: 3px; }
.video-gallery-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-card-copy { display: flex; min-height: 145px; flex-direction: column; padding: 1.25rem; }
.video-card-copy small { color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.video-card-copy strong { margin-top: .4rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.15rem; }
.video-card-copy em { margin-top: auto; padding-top: 1rem; color: var(--navy); font-size: .74rem; font-style: normal; font-weight: 800; }
.gallery-empty { padding: 5rem 2rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 15px; background: var(--surface); text-align: center; }
.gallery-empty strong { display: block; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.5rem; }
.gallery-empty p { margin: .5rem 0 0; }
.lightbox, .video-modal { width: min(1040px, calc(100% - 30px)); max-height: 92vh; padding: 0; color: var(--white); border: 0; border-radius: 14px; background: #070a2b; box-shadow: var(--shadow); overflow: hidden; }
.lightbox::backdrop, .video-modal::backdrop { background: rgba(4,6,24,.88); backdrop-filter: blur(7px); }
.photo-lightbox[open] { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; }
.photo-lightbox img { width: 100%; max-height: 78vh; grid-column: 2; object-fit: contain; }
.photo-lightbox p { grid-column: 1 / -1; margin: 0; padding: 1rem 1.5rem; color: var(--white); background: rgba(255,255,255,.05); text-align: center; }
.modal-close { position: absolute; top: .7rem; right: .7rem; z-index: 3; display: grid; width: 42px; height: 42px; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.58); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.lightbox-nav { z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; justify-self: center; color: var(--white); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; }
.lightbox-nav:hover, .modal-close:hover { background: var(--red); }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.video-modal-frame { aspect-ratio: 16 / 9; background: #000; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal > p { margin: 0; padding: 1rem 1.4rem; color: var(--white); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: start; gap: 2rem; }
.cms-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 70px rgba(10,20,70,.07); }
.cms-form h2 { color: var(--navy); font-size: 2rem; }
.appointment-doctor-summary { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; margin-bottom: 2rem; padding: 1rem; border: 1px solid rgba(227,27,35,.25); border-radius: 18px; background: radial-gradient(circle at 100% 0, rgba(227,27,35,.08), transparent 32%), linear-gradient(135deg, #f8f9ff, #fff); box-shadow: 0 18px 42px rgba(10,20,70,.12); overflow: hidden; }
.appointment-doctor-summary::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: linear-gradient(180deg, var(--red), var(--navy)); }
.appointment-doctor-photo { min-height: 190px; border-radius: 14px 38px 14px 14px; background: #e7e9f1; overflow: hidden; }
.appointment-doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.appointment-doctor-copy { min-width: 0; padding: .4rem .4rem .4rem 0; }
.appointment-doctor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.appointment-doctor-heading .eyebrow { margin-bottom: .35rem; }
.appointment-doctor-heading h2 { margin-bottom: .25rem; font-size: 1.65rem; }
.appointment-doctor-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .82rem; }
.appointment-doctor-heading span { display: inline-block; margin-top: .45rem; color: var(--navy); font-size: .72rem; font-weight: 800; }
.appointment-doctor-heading > a { flex: 0 0 auto; color: var(--red); font-size: .7rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.appointment-doctor-schedule { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1.15rem 0 0; }
.appointment-doctor-schedule > div { padding: .75rem; border: 1px solid rgba(9,15,88,.12); border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: 0 7px 18px rgba(10,20,70,.045); }
.appointment-doctor-schedule dt { margin-bottom: .25rem; color: var(--red); font-size: .61rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.appointment-doctor-schedule dd { margin: 0; color: var(--navy); font-size: .75rem; font-weight: 700; line-height: 1.5; }
.field-error { margin: -1rem 0 1.5rem; color: var(--red); font-size: .78rem; font-weight: 700; }
.appointment-date-step { margin: 0 0 2.2rem; padding: 1.35rem; border: 1px solid rgba(9,15,88,.12); border-radius: 16px; background: #f7f8fc; }
.appointment-step-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.15rem; }
.appointment-step-heading > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: var(--white); border-radius: 12px; background: var(--red); box-shadow: 0 8px 18px rgba(227,27,35,.22); font-family: "Source Serif 4", serif; font-weight: 700; }
.appointment-step-heading p { margin: 0 0 .15rem; color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.appointment-step-heading h2 { margin: 0; font-size: 1.65rem; }
.appointment-patient-heading { margin-top: .25rem; }
.appointment-date-grid { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.2fr); align-items: stretch; gap: .85rem; margin-top: .85rem; }
.appointment-queue-preview { display: flex; min-height: 78px; align-items: center; padding: .75rem; border: 1px dashed rgba(9,15,88,.22); border-radius: 10px; color: var(--muted); background: var(--white); }
.appointment-queue-preview > p { margin: 0; font-size: .76rem; }
.appointment-queue-preview > div { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: .6rem; }
.appointment-queue-preview span { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: .55rem .7rem; border-radius: 8px; background: #f1f3f9; }
.appointment-queue-preview small { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.appointment-queue-preview strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.5rem; line-height: 1.1; }
.appointment-queue-preview .appointment-expected-serial { color: var(--white); background: var(--navy); }
.appointment-queue-preview .appointment-expected-serial small { color: #cdd1e9; }
.appointment-queue-preview .appointment-expected-serial strong { color: var(--white); }
.appointment-queue-preview.is-loading { opacity: .65; }
.appointment-queue-preview.is-error { color: #9f1018; border-color: rgba(227,27,35,.35); background: #fff3f3; }
.appointment-queue-note { margin: .7rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.field { display: flex; flex-direction: column; gap: .4rem; color: #364057; font-size: .8rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field small { color: var(--red); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(9,15,88,.1); outline: 0; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; }
.contact-panel { padding: 2.4rem; color: var(--white); border-radius: 18px; background: var(--navy); }
.contact-panel h2 { font-size: 2.1rem; }
.contact-panel p { color: #d6daee; }
.contact-panel hr { margin: 2rem 0; border: 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-panel h3 { margin-bottom: .4rem; }

/* Appointment receipt */
.appointment-receipt-dialog { position: fixed; inset: 0; z-index: 1000; width: min(760px, calc(100% - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: transparent; box-shadow: 0 30px 100px rgba(5,10,57,.35); overflow: auto; }
.appointment-receipt-dialog[open] { display: block; }
.appointment-receipt-dialog::backdrop { background: rgba(5,10,57,.72); backdrop-filter: blur(5px); }
.appointment-receipt-dialog[open]::after { position: fixed; inset: 0; z-index: -1; content: ""; background: rgba(5,10,57,.72); backdrop-filter: blur(5px); }
.appointment-receipt-dialog-inner { padding: clamp(.7rem, 2vw, 1.2rem); background: #eef0f6; }
.appointment-receipt { position: relative; padding: clamp(1.4rem, 4vw, 2.8rem); color: #273047; border-top: 8px solid var(--red); background: var(--white); box-shadow: 0 15px 40px rgba(10,20,70,.1); overflow: hidden; }
.appointment-receipt::after { position: absolute; top: -85px; right: -85px; width: 220px; height: 220px; border: 30px solid rgba(9,15,88,.025); border-radius: 50%; content: ""; }
.appointment-receipt-header { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--navy); }
.appointment-receipt-brand { display: flex; align-items: center; gap: .8rem; }
.appointment-receipt-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: contain; }
.appointment-receipt-brand div { display: flex; flex-direction: column; }
.appointment-receipt-brand strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.65rem; line-height: 1; }
.appointment-receipt-brand span { max-width: 270px; margin-top: .25rem; color: var(--muted); font-size: .65rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.appointment-receipt-heading { text-align: right; }
.appointment-receipt-heading p { margin: 0; color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.appointment-receipt-heading h2 { margin: .2rem 0 0; color: var(--navy); font-size: 1.45rem; }
.appointment-receipt-heading h2 strong { display: block; color: var(--red); font-size: 2.7rem; line-height: 1; }
.appointment-receipt-status { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin: 1.25rem 0; padding: .85rem 1rem; border-radius: 10px; background: #edf9f2; }
.appointment-receipt-status span { padding: .45rem .7rem; color: #087a43; border-radius: 999px; background: #d3f1df; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.appointment-receipt-status p { margin: 0; color: #35604a; font-size: .72rem; line-height: 1.5; }
.appointment-receipt-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.appointment-receipt-meta > div { min-width: 0; padding: .75rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.appointment-receipt-meta > div:nth-child(2n) { border-right: 0; }
.appointment-receipt-meta > div:nth-last-child(-n+2) { border-bottom: 0; }
.appointment-receipt dt, .appointment-receipt-section h3, .appointment-receipt-message h3 { color: var(--red); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.appointment-receipt dd { margin: .2rem 0 0; color: var(--navy); font-size: .76rem; font-weight: 700; overflow-wrap: anywhere; }
.appointment-receipt-section { margin-top: 1.2rem; }
.appointment-receipt-section > h3, .appointment-receipt-message h3 { margin-bottom: .55rem; }
.appointment-receipt-section > dl { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; margin: 0; padding: 1rem; border-left: 3px solid var(--navy); background: #f7f8fc; }
.appointment-receipt-message { margin-top: 1.2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; }
.appointment-receipt-message p { margin: 0; color: var(--muted); font-size: .76rem; }
.appointment-receipt-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.appointment-receipt-footer p { margin: 0; color: var(--muted); font-size: .62rem; }
.appointment-receipt-footer p:last-child { text-align: right; }
.appointment-receipt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: 1rem 0 0; }
.appointment-receipt-actions .button { font-size: .72rem; }
.appointment-receipt-actions .button-outline { color: var(--navy); border: 1px solid var(--navy); background: transparent; }
.appointment-receipt-actions form { margin-left: auto; }
.appointment-receipt-actions form button { padding: .65rem; color: var(--muted); border: 0; background: transparent; font-weight: 700; cursor: pointer; }
.appointment-receipt-page { min-height: 70vh; background: #eef0f6; }
.appointment-receipt-page-inner { max-width: 760px; }
.panel-phone { display: block; margin: 1.5rem 0; color: #ffb9bc; font-family: "Source Serif 4", serif; font-size: 1.75rem; font-weight: 700; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 4rem; }
.contact-cards > * { display: flex; min-height: 190px; flex-direction: column; justify-content: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; }
.contact-cards > a:hover { border-color: var(--red); }
.contact-cards small { color: var(--red); font-weight: 800; text-transform: uppercase; }
.contact-cards strong { margin: .5rem 0; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.25rem; }
.contact-cards span { color: var(--muted); font-size: .78rem; }
.map-panel { min-height: 100%; border-radius: 18px; background: var(--surface); overflow: hidden; }
.map-panel iframe { width: 100%; height: 100%; min-height: 600px; border: 0; }
.map-placeholder { display: flex; min-height: 600px; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; color: var(--white); background: radial-gradient(circle at 50% 40%, rgba(227,27,35,.4), transparent 25%), var(--navy); text-align: center; }
.map-placeholder > span { display: grid; width: 90px; height: 90px; place-items: center; margin-bottom: 1.5rem; border: 2px solid rgba(255,255,255,.4); border-radius: 50%; font-family: "Source Serif 4", serif; font-size: 1.4rem; }
.alert { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 10px; }
.alert-success { color: #075e3b; border: 1px solid #80d8b4; background: #e9fff6; }
.alert-error { color: #92141a; border: 1px solid #f2a4a8; background: #fff0f1; }
.empty-state { grid-column: 1 / -1; padding: 4rem; text-align: center; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.pagination a, .pagination > span { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; font-weight: 700; }
.pagination span[aria-disabled] { color: #9aa1ad; }

/* About page */
.about-hero { position: relative; display: grid; min-height: 470px; align-items: end; color: var(--white); background-color: var(--navy); background-image: var(--about-banner); background-position: center; background-size: cover; overflow: hidden; }
.about-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,57,.94) 0%, rgba(9,15,88,.72) 52%, rgba(9,15,88,.28) 100%), linear-gradient(0deg, rgba(5,10,57,.52), transparent 60%); }
.about-hero-content { position: relative; z-index: 1; padding-block: 5.5rem; }
.about-hero h1 { max-width: 760px; margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 5.4rem); }
.about-hero-content > p:last-child { max-width: 690px; margin-bottom: 0; color: #e5e8f7; font-size: 1.05rem; }
.breadcrumbs-light { margin-bottom: 3.4rem; color: #e5e8f7; }
.breadcrumbs-light a:hover { color: var(--white); }
.about-overview-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.about-overview-visual { position: relative; padding: 0 1.4rem 1.4rem 0; }
.about-overview-visual > img { width: 100%; aspect-ratio: 4 / 5; border-radius: 10px 72px 10px 10px; object-fit: cover; box-shadow: var(--shadow); }
.about-overview-visual::after { position: absolute; right: 0; bottom: 0; z-index: -1; width: 55%; height: 62%; border-radius: 8px 8px 8px 60px; content: ""; background: #e7e9f8; }
.about-seal { position: absolute; right: -.5rem; bottom: 3.2rem; display: flex; width: 145px; min-height: 145px; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; color: var(--white); border: 7px solid var(--white); border-radius: 50%; background: var(--navy); box-shadow: var(--shadow); text-align: center; }
.about-seal img { width: 56px; height: 56px; margin-bottom: .4rem; border-radius: 50%; object-fit: contain; }
.about-seal span { font-family: "Source Serif 4", serif; font-size: 1rem; font-weight: 800; }
.about-overview-copy h2 { margin-bottom: 1.5rem; color: var(--navy); }
.purpose-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.purpose-card { position: relative; min-height: 100%; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 50px rgba(10,20,70,.07); overflow: hidden; }
.purpose-card::after { position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border: 30px solid rgba(9,15,88,.04); border-radius: 50%; content: ""; }
.purpose-card-primary { color: var(--white); border-color: var(--navy); background: var(--navy); }
.purpose-card-primary::after { border-color: rgba(255,255,255,.06); }
.purpose-card h2 { margin-bottom: 1.4rem; color: var(--navy); }
.purpose-card-primary h2, .purpose-card-primary .rich-text { color: var(--white); }
.purpose-card-primary .rich-text { opacity: .9; }
.purpose-card .rich-text { max-width: 940px; }
.purpose-card .rich-text h3 { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.purpose-card .rich-text ol, .purpose-card .rich-text ul { padding-left: 1.35rem; }
.purpose-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 2rem; color: var(--red); border-radius: 15px; background: #fff0f1; font-size: 1.55rem; }
.purpose-card-primary .purpose-icon { color: var(--white); background: rgba(255,255,255,.12); }
.about-information-section { background: #f7f8fb; }
.about-information-list { display: grid; gap: 1.5rem; }
.about-info-section { padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 55px rgba(10,20,70,.07); overflow: hidden; }
.about-info-section > header { max-width: 850px; margin-bottom: 2rem; }
.about-info-section > header h2 { margin-bottom: 0; color: var(--navy); }
.about-section-content > p { max-width: 970px; }
.about-section-content > ul:not([class]) { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 2rem; padding: 0; list-style: none; }
.about-section-content > ul:not([class]) li { padding: .55rem .85rem; color: var(--navy); border: 1px solid #d9dcef; border-radius: 999px; background: #f3f4fb; font-size: .78rem; font-weight: 700; }
.info-card-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.info-card-group > article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.info-card-group h3 { margin: 0 0 1rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.25rem; }
.info-card-group dl { margin: 0; }
.info-card-group dl > div { display: grid; grid-template-columns: minmax(125px, .65fr) 1.35fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.info-card-group dt { color: var(--navy); font-size: .72rem; font-weight: 800; }
.info-card-group dd { margin: 0; color: var(--muted); font-size: .74rem; }
.about-info--gallery { color: var(--white); border-color: var(--navy); background: radial-gradient(circle at 90% 10%, rgba(227,27,35,.24), transparent 25%), var(--navy); }
.about-info--gallery > header h2, .about-info--gallery .rich-text h3 { color: var(--white); }
.about-info--gallery .eyebrow { color: #ffb7ba; }
.about-info--gallery .rich-text h3 { margin: 2rem 0 1rem; font-family: "Manrope", sans-serif; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.bishop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bishop-grid figure { margin: 0; padding: .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); }
.bishop-grid img { width: 100%; aspect-ratio: 4 / 4.5; border-radius: 9px; object-fit: cover; object-position: top; }
.bishop-grid figcaption { padding-top: .75rem; color: var(--white); font-size: .75rem; font-weight: 800; line-height: 1.35; }
.service-profile-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.service-profile-list li { position: relative; padding: .85rem 1rem .85rem 1.75rem; color: var(--navy); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .76rem; font-weight: 700; }
.service-profile-list li::before { position: absolute; top: 1.15rem; left: .8rem; width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--red); }
.ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ministry-grid > article { padding: 1.4rem; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.ministry-grid h3 { margin: 0 0 .7rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.1rem; }
.ministry-grid p { margin-bottom: 0; color: var(--muted); font-size: .76rem; }
.ministry-grid .ministry-feature { display: grid; grid-column: span 2; grid-template-columns: 190px 1fr; align-items: center; gap: 1.2rem; }
.ministry-feature img { width: 100%; aspect-ratio: 4 / 3; border-radius: 9px; object-fit: cover; }
.priority-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.priority-grid > article { position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; }
.priority-grid > article:last-child { grid-column: 1 / -1; }
.priority-grid > article > span { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 1rem; color: var(--white); border-radius: 12px; background: var(--red); font-size: .72rem; font-weight: 900; }
.priority-grid h3 { margin: 0 0 1rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.2rem; }
.priority-grid ul { margin-bottom: 0; padding-left: 1.15rem; color: var(--muted); font-size: .78rem; }
.about-info--highlight { color: var(--white); border-color: var(--red); background: linear-gradient(120deg, var(--red-dark), var(--red)); }
.about-info--highlight > header h2, .about-info--highlight .rich-text { color: var(--white); }
.about-info--highlight .eyebrow { color: #ffe0e1; }
.about-info--highlight .about-section-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.about-info--highlight .about-section-content p { margin: 0; padding: 1.25rem; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.08); }
.about-family-invitation { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); min-height: 430px; color: var(--white); border-radius: 24px; background: radial-gradient(circle at 82% 24%, rgba(227,27,35,.32), transparent 26%), linear-gradient(130deg, #060a3d 0%, var(--navy) 64%, #111b79 100%); box-shadow: 0 24px 65px rgba(7,11,67,.2); overflow: hidden; }
.about-family-invitation::before { position: absolute; right: -170px; bottom: -250px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018); pointer-events: none; }
.about-family-copy { position: relative; z-index: 1; padding: clamp(2.4rem, 5vw, 4.6rem); }
.about-family-copy .eyebrow { color: #ffafb3; }
.about-family-copy h2 { max-width: 680px; margin-bottom: 1.35rem; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .98; }
.about-family-copy .rich-text { max-width: 760px; color: #dfe3f4; font-size: .92rem; line-height: 1.8; }
.about-family-copy .button { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1rem; color: var(--white); background: var(--red); }
.about-family-copy .button:hover { color: var(--white); background: var(--red-dark); transform: translateY(-2px); }
.about-family-copy .button span { font-size: 1.15rem; transition: transform .2s ease; }
.about-family-copy .button:hover span { transform: translateX(4px); }
.about-family-visual { position: relative; z-index: 1; display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; padding: 2.2rem; border-left: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); backdrop-filter: blur(4px); }
.about-family-cross { display: grid; width: 62px; height: 62px; place-items: center; align-self: flex-end; color: var(--white); border: 1px solid rgba(255,255,255,.28); border-radius: 20px; background: rgba(227,27,35,.82); font-size: 2.1rem; font-weight: 400; }
.about-family-visual div strong { display: block; margin-bottom: .4rem; color: var(--white); font-family: "Source Serif 4", serif; font-size: clamp(4rem, 7vw, 6.4rem); line-height: .8; }
.about-family-visual div span { color: #ffb8bb; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.about-family-visual > p { margin: 0; color: var(--white); font-family: "Source Serif 4", serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.13; }
.about-values > ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.about-values > ul > li { position: relative; min-height: 180px; padding: 1.7rem 1.5rem 1.5rem 2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: .25s ease; }
.about-values > ul > li::before { position: absolute; top: 1.85rem; left: .8rem; width: 6px; height: 24px; border-radius: 8px; content: ""; background: var(--red); }
.about-values > ul > li:hover { border-color: rgba(9,15,88,.3); box-shadow: 0 16px 40px rgba(10,20,70,.08); transform: translateY(-4px); }
.about-stats { color: var(--white); background: linear-gradient(120deg, #070b43, var(--navy-2)); }
.leadership-inline { padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 55px rgba(10,20,70,.07); }
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.leadership-card { display: grid; grid-template-columns: 180px 1fr; gap: 1.7rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.leadership-photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; object-fit: cover; }
.quote-mark { display: block; height: 38px; color: var(--red); font-family: Georgia, serif; font-size: 4rem; line-height: .8; }
.leadership-card .rich-text { font-size: .85rem; }
.leadership-card footer { display: flex; flex-direction: column; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.leadership-card footer strong { color: var(--navy); }
.leadership-card footer span { color: var(--muted); font-size: .72rem; }
.leadership-message { margin-top: 1rem; border-top: 1px solid var(--line); }
.leadership-message summary { padding: 1rem 0 0; color: var(--red); font-size: .76rem; font-weight: 800; cursor: pointer; }
.leadership-message .rich-text { margin-top: 1rem; }
.about-team-section { background: radial-gradient(circle at 90% 10%, rgba(227,27,35,.25), transparent 24%), var(--navy); }
.about-team-section .section-heading h2 { color: var(--white); }
.about-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.about-person-card { border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.07); overflow: hidden; transition: .25s ease; }
.about-person-card:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.11); transform: translateY(-5px); }
.about-person-photo { display: block; background: #eef0f5; overflow: hidden; }
.about-person-photo img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.about-person-card:hover .about-person-photo img { transform: scale(1.035); }
.about-person-card > div { display: flex; min-height: 225px; flex-direction: column; padding: 1.2rem; }
.about-person-card p { margin-bottom: .35rem; color: #ffb6b9; font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.about-person-card h3 { margin-bottom: .3rem; color: var(--white); font-family: "Source Serif 4", serif; font-size: 1.2rem; }
.about-person-card span { color: #d6daed; font-size: .77rem; }
.about-person-card small { display: block; margin-top: .8rem; color: #bfc5df; font-size: .72rem; }
.person-link { margin-top: auto; padding-top: 1rem; color: var(--white); font-size: .75rem; font-weight: 800; }
.person-link:hover { color: #ffb6b9; }
.staff-team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.staff-card { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 12px 36px rgba(10,20,70,.06); overflow: hidden; transition: .25s ease; }
.staff-card:hover { border-color: rgba(9,15,88,.25); box-shadow: 0 18px 44px rgba(10,20,70,.12); transform: translateY(-5px); }
.staff-photo { background: var(--surface); overflow: hidden; }
.staff-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.staff-card:hover .staff-photo img { transform: scale(1.035); }
.staff-card > div:last-child { padding: 1.1rem; }
.staff-card h3 { margin-bottom: .3rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.05rem; }
.staff-card p { margin-bottom: .15rem; color: var(--muted); font-size: .74rem; font-weight: 700; }
.staff-card span { color: var(--red); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.about-cta { padding: 4.5rem 0; color: var(--white); background: linear-gradient(120deg, var(--red-dark), var(--red)); }
.about-cta .eyebrow { color: #ffe0e1; }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.about-cta h2 { max-width: 700px; margin-bottom: .65rem; }
.about-cta p:last-child { max-width: 720px; margin-bottom: 0; color: #fff0f1; }
.about-cta .button { flex: 0 0 auto; }
.related-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-link-grid a { display: grid; grid-template-columns: 1fr auto; min-height: 145px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.related-link-grid a:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-3px); }

/* Our Family */
.family-introduction { position: relative; padding-bottom: 3.5rem; background: var(--white); overflow: hidden; }
.family-introduction::after { position: absolute; top: -190px; right: -170px; width: 420px; height: 420px; border: 1px solid rgba(9,15,88,.07); border-radius: 50%; content: ""; box-shadow: 0 0 0 55px rgba(9,15,88,.018), 0 0 0 110px rgba(9,15,88,.012); pointer-events: none; }
.family-introduction-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .7fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); }
.family-introduction-grid h2 { max-width: 720px; margin-bottom: 1rem; font-size: clamp(2.35rem, 4.5vw, 4.2rem); }
.family-introduction-copy { max-width: 780px; color: var(--muted); font-size: .98rem; line-height: 1.85; }
.family-introduction-copy > :last-child { margin-bottom: 0; }
.family-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 18px 50px rgba(9,15,88,.08); overflow: hidden; }
.family-overview div { min-height: 150px; padding: 1.6rem; }
.family-overview div + div { border-left: 1px solid var(--line); }
.family-overview strong { display: block; margin-bottom: .45rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.family-overview span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.family-department-nav { position: relative; z-index: 1; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.family-department-nav > span { display: block; margin-bottom: .9rem; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.family-department-nav > div { display: flex; flex-wrap: wrap; gap: .55rem; }
.family-department-nav a { display: inline-flex; align-items: center; gap: .65rem; min-height: 42px; padding: .55rem .65rem .55rem .95rem; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .72rem; font-weight: 800; transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
.family-department-nav a:hover { color: var(--red); border-color: rgba(227,27,35,.35); box-shadow: 0 8px 20px rgba(9,15,88,.08); transform: translateY(-2px); }
.family-department-nav small { display: grid; min-width: 27px; height: 27px; padding-inline: .35rem; place-items: center; color: var(--white); border-radius: 999px; background: var(--navy); font-size: .63rem; }
.family-directory-section { padding-top: 1rem; background: linear-gradient(160deg, #f5f6fa, #eceff7); }
.family-directory { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.family-department { scroll-margin-top: 125px; }
.family-department-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(9,15,88,.14); }
.family-department-mark { display: grid; width: 54px; height: 54px; place-items: center; color: var(--white); border-radius: 16px; background: linear-gradient(145deg, var(--red), var(--red-dark)); box-shadow: 0 10px 25px rgba(227,27,35,.2); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.family-department-heading p { margin-bottom: .2rem; color: var(--red); font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.family-department-heading h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.75rem); }
.family-department-heading > span { padding: .55rem .8rem; color: var(--navy); border: 1px solid rgba(9,15,88,.12); border-radius: 999px; background: rgba(255,255,255,.72); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.family-staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.family-staff-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); min-height: 118px; align-items: center; gap: 1rem; padding: .9rem; border: 1px solid rgba(9,15,88,.1); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(9,15,88,.055); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.family-staff-card:hover { border-color: rgba(227,27,35,.28); box-shadow: 0 18px 38px rgba(9,15,88,.11); transform: translateY(-4px); }
.family-staff-photo { display: grid; width: 88px; aspect-ratio: 1; place-items: center; border-radius: 14px; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.22), transparent 35%), linear-gradient(145deg, var(--navy), #17258f); overflow: hidden; }
.family-staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.family-staff-card:hover .family-staff-photo img { transform: scale(1.05); }
.family-staff-photo span { color: var(--white); font-family: "Source Serif 4", serif; font-size: 1.55rem; font-weight: 700; letter-spacing: .03em; }
.family-staff-details { min-width: 0; }
.family-staff-details h3 { margin-bottom: .35rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1rem; line-height: 1.25; }
.family-staff-details p { margin-bottom: .35rem; color: var(--muted); font-size: .69rem; font-weight: 700; line-height: 1.5; }
.family-staff-details span { display: inline-block; color: var(--red); font-size: .6rem; font-weight: 800; letter-spacing: .055em; line-height: 1.4; text-transform: uppercase; }
.family-empty { max-width: 720px; margin-inline: auto; padding: 4rem 2rem; border: 1px dashed rgba(9,15,88,.2); border-radius: 24px; background: var(--white); text-align: center; }
.family-empty > span { display: grid; width: 58px; height: 58px; margin: 0 auto 1rem; place-items: center; color: var(--white); border-radius: 50%; background: var(--red); font-size: 1.8rem; }
.family-empty p { color: var(--muted); }

/* Careers */
.careers-introduction { position: relative; background: var(--white); overflow: hidden; }
.careers-introduction::after { position: absolute; top: -230px; left: -200px; width: 480px; height: 480px; border: 1px solid rgba(9,15,88,.06); border-radius: 50%; content: ""; box-shadow: 0 0 0 65px rgba(9,15,88,.018), 0 0 0 130px rgba(9,15,88,.012); pointer-events: none; }
.careers-introduction-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(480px, .9fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.careers-introduction h2 { max-width: 720px; margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.02; }
.careers-page-copy { max-width: 760px; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.careers-page-copy > :last-child { margin-bottom: 0; }
.careers-values { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 20px 55px rgba(9,15,88,.09); overflow: hidden; }
.careers-values > div { display: grid; grid-template-columns: 50px 1fr; gap: .25rem 1rem; padding: 1.35rem 1.5rem; }
.careers-values > div + div { border-top: 1px solid var(--line); }
.careers-values > div > span { grid-row: 1 / 3; display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); border-radius: 13px; background: var(--navy); font-size: .65rem; font-weight: 800; }
.careers-values strong { color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.05rem; }
.careers-values p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.careers-openings-section { background: linear-gradient(155deg, #f5f6fa, #eceff7); }
.careers-heading { margin-bottom: 2.4rem; }
.careers-heading > span { padding: .55rem .85rem; color: var(--navy); border: 1px solid rgba(9,15,88,.12); border-radius: 999px; background: var(--white); font-size: .7rem; font-weight: 800; }
.career-opening-list { display: grid; gap: 1rem; }
.career-opening-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; gap: 1.4rem; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(9,15,88,.11); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 12px 35px rgba(9,15,88,.06); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.career-opening-card:hover { border-color: rgba(227,27,35,.28); box-shadow: 0 22px 50px rgba(9,15,88,.12); transform: translateY(-4px); }
.career-opening-number { display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); border-radius: 17px; background: linear-gradient(145deg, var(--red), var(--red-dark)); box-shadow: 0 10px 25px rgba(227,27,35,.2); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.career-opening-main { min-width: 0; }
.career-opening-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .65rem; }
.career-opening-tags span { padding: .3rem .55rem; color: var(--red); border-radius: 999px; background: #fff0f1; font-size: .59rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.career-opening-tags span + span { color: var(--navy); background: #eef0f8; }
.career-opening-main h3 { margin-bottom: .55rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.career-opening-main > p { max-width: 820px; margin-bottom: .9rem; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.career-opening-meta { display: flex; flex-wrap: wrap; gap: .65rem 1rem; color: var(--muted); font-size: .67rem; font-weight: 700; }
.career-opening-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.career-opening-meta svg { width: 17px; height: 17px; color: var(--red); }
.career-opening-action { display: flex; min-width: 140px; flex-direction: column; align-items: stretch; gap: .45rem; text-align: center; }
.career-opening-action .button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--white); }
.career-opening-action small { color: var(--muted); font-size: .61rem; }
.career-opening-details { margin-top: 1.15rem; border-top: 1px solid var(--line); }
.career-opening-details summary { display: flex; max-width: 260px; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; color: var(--navy); font-size: .7rem; font-weight: 800; cursor: pointer; list-style: none; }
.career-opening-details summary::-webkit-details-marker { display: none; }
.career-opening-details summary span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--white); border-radius: 50%; background: var(--navy); font-size: .9rem; transition: transform .2s ease; }
.career-opening-details[open] summary span { transform: rotate(45deg); }
.career-opening-details > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; padding: 1.25rem; border-radius: 14px; background: var(--surface); }
.career-opening-details h4 { margin-bottom: .7rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1rem; }
.career-opening-details .rich-text { color: var(--muted); font-size: .72rem; line-height: 1.65; }
.careers-empty-state { max-width: 800px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem); border: 1px dashed rgba(9,15,88,.2); border-radius: 24px; background: rgba(255,255,255,.8); text-align: center; }
.careers-empty-state > span { display: grid; width: 72px; height: 72px; margin: 0 auto 1.4rem; place-items: center; color: var(--white); border-radius: 22px; background: var(--navy); box-shadow: 0 15px 35px rgba(9,15,88,.2); }
.careers-empty-state svg { width: 32px; height: 32px; }
.careers-empty-state h3 { margin-bottom: .8rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.careers-empty-state > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 1.2rem; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.career-application-section { position: relative; background: var(--white); overflow: hidden; scroll-margin-top: 120px; }
.career-application-section::before { position: absolute; top: 6%; right: -220px; width: 520px; height: 520px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(227,27,35,.08), transparent 68%); pointer-events: none; }
.career-application-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.career-application-intro { position: sticky; top: 140px; }
.career-application-intro h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 4.5vw, 4.2rem); line-height: 1.02; }
.career-application-intro > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.career-application-note { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; margin-top: 2rem; padding: 1.2rem; color: var(--white); border-radius: 16px; background: var(--navy); box-shadow: 0 16px 40px rgba(9,15,88,.16); }
.career-application-note > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: rgba(255,255,255,.1); }
.career-application-note svg { width: 26px; height: 26px; }
.career-application-note strong { display: block; margin-bottom: .25rem; font-family: "Source Serif 4", serif; font-size: 1rem; }
.career-application-note p { margin: 0; color: #cdd2e8; font-size: .67rem; line-height: 1.6; }
.career-application-intro > ul { display: grid; gap: .55rem; margin: 1.4rem 0 0; padding: 0; color: var(--muted); font-size: .72rem; list-style: none; }
.career-application-intro > ul li { position: relative; padding-left: 1.4rem; }
.career-application-intro > ul li::before { position: absolute; top: .32rem; left: 0; width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--red); box-shadow: 0 0 0 4px rgba(227,27,35,.1); }
.career-application-form { border-radius: 22px; background: var(--white); box-shadow: 0 24px 70px rgba(9,15,88,.1); }
.career-application-form h3 { color: var(--navy); font-family: "Source Serif 4", serif; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.career-cv-field { padding: 1rem; border: 1px dashed rgba(9,15,88,.25); border-radius: 12px; background: var(--surface); }
.career-cv-field input[type="file"] { min-height: 56px; padding: .55rem; background: var(--white); cursor: pointer; }
.career-cv-field input[type="file"]::file-selector-button { height: 38px; margin-right: .8rem; padding: 0 .9rem; color: var(--white); border: 0; border-radius: 8px; background: var(--navy); font-size: .7rem; font-weight: 800; cursor: pointer; }
.career-cv-field .career-file-help { color: var(--muted); font-weight: 500; }
.career-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: .7rem; color: var(--muted); font-size: .7rem; font-weight: 600; line-height: 1.55; cursor: pointer; }
.career-consent input { width: 18px; min-height: 18px; margin-top: .08rem; accent-color: var(--red); }
.career-consent-error { color: var(--red); font-size: .7rem; font-weight: 700; }
.career-submit-button { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); }
.career-submit-button span { font-size: 1.1rem; }
.career-honeypot { position: fixed; top: -10000px; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Homepage blood bank */
.home-blood-bank { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; color: var(--white); background: radial-gradient(circle at 92% 5%, rgba(227,27,35,.28), transparent 27%), linear-gradient(135deg, #070c4c 0%, #111b78 72%, #22114d 100%); overflow: hidden; }
.home-blood-bank::before { position: absolute; top: -170px; left: -120px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; content: ""; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018); }
.home-blood-bank > .container { position: relative; z-index: 1; }
.home-blood-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.home-blood-heading .eyebrow { color: #ff8d92; }
.home-blood-heading h2 { margin-bottom: .65rem; color: var(--white); }
.home-blood-heading > div:first-child > p:last-child { margin: 0; color: #cdd2ea; }
.home-blood-updated { display: flex; align-items: center; gap: .75rem; min-width: 235px; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.07); color: var(--white); font-size: .7rem; font-weight: 800; backdrop-filter: blur(10px); }
.home-blood-updated > span:last-child { display: flex; flex-direction: column; }
.home-blood-updated small { color: #aeb5dc; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.home-blood-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.home-blood-card { position: relative; display: grid; min-height: 138px; grid-template-columns: 46px minmax(0, 1fr) 28px; grid-template-rows: auto auto; align-items: center; gap: .2rem .85rem; padding: 1.15rem; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.065); overflow: hidden; transition: border-color .22s ease, background .22s ease, transform .22s ease; }
.home-blood-card::before { position: absolute; right: -30px; bottom: -46px; width: 110px; height: 110px; border-radius: 50%; content: ""; background: rgba(255,255,255,.035); }
.home-blood-card:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.11); transform: translateY(-4px); }
.home-blood-card.is-available { border-color: rgba(92,228,167,.48); background: linear-gradient(135deg, rgba(92,228,167,.16), rgba(255,255,255,.08)); }
.home-blood-drop { display: grid; width: 46px; height: 46px; grid-row: 1 / 3; place-items: center; color: #ff4a51; border-radius: 14px; background: rgba(255,255,255,.1); }
.home-blood-drop svg { width: 23px; height: 28px; }
.home-blood-group { align-self: end; color: var(--white); font-family: "Source Serif 4", serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.home-blood-status { display: flex; align-self: start; align-items: center; gap: .4rem; color: #cbd0e9; font-size: .58rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.home-blood-status i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #bd7581; }
.home-blood-card.is-available .home-blood-status { color: #88f0bf; }
.home-blood-card.is-available .home-blood-status i { background: #5ce4a7; box-shadow: 0 0 0 4px rgba(92,228,167,.11); }
.home-blood-units { display: inline-flex; min-height: 27px; align-items: center; margin-left: .3rem; padding: .28rem .55rem; color: #062d21; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: #8ff4c5; box-shadow: 0 5px 16px rgba(92,228,167,.22); font-size: .82rem; font-weight: 900; letter-spacing: 0; line-height: 1; text-transform: none; white-space: nowrap; }
.home-blood-arrow { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; grid-column: 3; grid-row: 1 / 3; place-items: center; color: var(--navy); border-radius: 50%; background: var(--white); font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s ease; }
.home-blood-card:hover .home-blood-arrow { color: var(--white); background: var(--red); transform: translateX(2px); }
.home-blood-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); }
.home-blood-footer > p { max-width: 580px; margin: 0; color: #bfc5e3; font-size: .75rem; }
.home-blood-footer > div { display: flex; align-items: center; gap: 1.2rem; }
.home-blood-phone { display: flex; flex-direction: column; color: var(--white); font-family: "Source Serif 4", serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.home-blood-phone span { color: #ff8d92; font-family: "Manrope", sans-serif; font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-blood-phone:hover { color: #ffb2b5; }

/* Blood bank page */
.blood-bank-hero { position: relative; color: var(--white); background: radial-gradient(circle at 82% 25%, rgba(227,27,35,.32), transparent 25%), linear-gradient(118deg, #080d4d 0%, #111b78 62%, #361350 100%); overflow: hidden; }
.blood-bank-hero::after { position: absolute; right: -110px; bottom: -210px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.025); }
.blood-bank-hero-grid { position: relative; z-index: 1; display: grid; min-height: 470px; grid-template-columns: minmax(0, 1fr) 270px; align-items: center; gap: 4rem; padding-block: 5.2rem; }
.blood-bank-hero-copy { max-width: 790px; }
.blood-bank-hero .breadcrumbs { margin-bottom: 2.8rem; }
.blood-bank-hero h1 { margin-bottom: 1rem; }
.blood-bank-hero-copy > p:not(.eyebrow) { max-width: 690px; margin-bottom: 1.6rem; color: #e4e7f7; font-size: clamp(1rem, 2vw, 1.18rem); }
.blood-bank-update { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .76rem; font-weight: 700; backdrop-filter: blur(8px); }
.blood-bank-hero-art { display: grid; width: 240px; height: 280px; place-items: center; justify-self: end; color: var(--red); border: 1px solid rgba(255,255,255,.14); border-radius: 50% 50% 46% 46%; background: rgba(255,255,255,.07); box-shadow: inset 0 0 70px rgba(255,255,255,.05), 0 35px 80px rgba(2,5,35,.3); }
.blood-bank-hero-art svg { width: 145px; filter: drop-shadow(0 18px 25px rgba(0,0,0,.25)); }
.blood-bank-section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; background: linear-gradient(180deg, #fff, #f5f6fa 56%, #fff); }
.blood-bank-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); align-items: end; gap: 3rem; margin-bottom: 2.8rem; }
.blood-bank-heading h2 { margin-bottom: 0; color: var(--navy); }
.blood-bank-heading > p { margin: 0; color: var(--muted); font-size: .88rem; }
.blood-stock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.blood-stock-card { position: relative; min-height: 275px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: 0 14px 40px rgba(9,15,88,.07); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.blood-stock-card::after { position: absolute; right: -46px; bottom: -56px; width: 145px; height: 145px; border-radius: 50%; content: ""; background: rgba(9,15,88,.035); }
.blood-stock-card.is-available { border-color: rgba(16,142,91,.3); box-shadow: 0 17px 45px rgba(16,142,91,.1); }
.blood-stock-card:hover { border-color: rgba(227,27,35,.3); box-shadow: 0 22px 55px rgba(9,15,88,.13); transform: translateY(-5px); }
.blood-stock-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.blood-drop-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--red); border-radius: 14px; background: #fff0f1; }
.blood-drop-icon svg { width: 24px; height: 29px; }
.blood-status { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .55rem; color: #7c4650; border-radius: 999px; background: #f7ecee; font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.blood-status > span { width: 7px; height: 7px; border-radius: 50%; background: #bd7581; }
.blood-status.available { color: #086541; background: #e2f7ee; }
.blood-status.available > span { background: #10a36b; box-shadow: 0 0 0 3px rgba(16,163,107,.12); }
.blood-stock-card h3 { position: relative; z-index: 1; margin: 1.15rem 0 .25rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 3.4rem; line-height: 1; }
.blood-unit-count { position: relative; z-index: 1; min-height: 48px; margin-bottom: .55rem; color: var(--muted); font-size: .72rem; }
.blood-unit-count strong { color: var(--red); font-family: "Source Serif 4", serif; font-size: 1.35rem; }
.blood-unit-count-available { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: .8rem; margin: .15rem 0 .8rem; padding: .75rem .85rem; border: 1px solid rgba(16,163,107,.24); border-left: 5px solid #10a36b; border-radius: 12px; background: linear-gradient(110deg, #e3f8ef, #f3fcf8); box-shadow: 0 8px 22px rgba(16,142,91,.09); }
.blood-unit-count-available strong { display: inline-flex; align-items: baseline; gap: .32rem; color: #08734b; font-family: "Source Serif 4", serif; font-size: 2.35rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.blood-unit-count-available strong span { font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.blood-unit-count-available small { color: #31715a; font-size: .56rem; font-weight: 800; letter-spacing: .06em; line-height: 1.35; text-align: right; text-transform: uppercase; }
.blood-stock-note { position: relative; z-index: 1; margin-bottom: .6rem; color: var(--ink); font-size: .68rem; line-height: 1.55; }
.blood-stock-time { position: relative; z-index: 1; margin: 0; color: #8790a0; font-size: .6rem; font-weight: 700; }
.blood-stock-empty { padding: 3.5rem; border: 1px dashed rgba(9,15,88,.24); border-radius: 22px; background: var(--white); text-align: center; }
.blood-stock-empty h3 { margin-bottom: .5rem; color: var(--navy); font-family: "Source Serif 4", serif; font-size: 1.8rem; }
.blood-stock-empty p { margin-bottom: 0; color: var(--muted); }
.blood-bank-contact { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--white); border-radius: 24px; background: linear-gradient(120deg, var(--navy), #182486); box-shadow: 0 24px 65px rgba(9,15,88,.2); }
.blood-bank-contact-icon { display: grid; width: 68px; height: 68px; place-items: center; color: var(--white); border-radius: 20px; background: var(--red); box-shadow: 0 12px 30px rgba(227,27,35,.25); }
.blood-bank-contact-icon svg { width: 30px; height: 30px; }
.blood-bank-contact .eyebrow { margin-bottom: .35rem; color: #ff969b; }
.blood-bank-contact h2 { margin-bottom: .45rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.blood-bank-contact p:not(.eyebrow) { max-width: 720px; margin: 0; color: #d6daef; font-size: .78rem; }
.blood-bank-contact .button { white-space: nowrap; }

@media (max-width: 1180px) {
    .blood-stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .family-staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .careers-introduction-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
    .home-blood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-blood-footer { align-items: flex-start; flex-direction: column; }
    .blood-bank-hero-grid { min-height: 430px; grid-template-columns: minmax(0, 1fr) 180px; gap: 2rem; }
    .blood-bank-hero-art { width: 180px; height: 220px; }
    .blood-bank-hero-art svg { width: 108px; }
    .blood-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blood-bank-contact { grid-template-columns: 68px minmax(0, 1fr); }
    .blood-bank-contact .button { grid-column: 2; justify-self: start; }
    .family-introduction-grid { grid-template-columns: 1fr; }
    .family-overview { max-width: 520px; }
    .family-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .careers-introduction-grid { grid-template-columns: 1fr; }
    .careers-values { max-width: 680px; }
    .career-application-layout { grid-template-columns: 1fr; }
    .career-application-intro { position: static; }
    .career-opening-card { grid-template-columns: 58px minmax(0, 1fr); }
    .career-opening-action { grid-column: 2; align-items: flex-start; }
}

@media (max-width: 580px) {
    .home-blood-heading { grid-template-columns: 1fr; }
    .home-blood-updated { width: 100%; min-width: 0; }
    .home-blood-grid { grid-template-columns: 1fr; }
    .home-blood-card { min-height: 122px; }
    .home-blood-footer > div { width: 100%; align-items: stretch; flex-direction: column; }
    .home-blood-footer .button { width: 100%; }
    .blood-bank-hero-grid { min-height: 410px; grid-template-columns: 1fr; padding-block: 3.5rem; }
    .blood-bank-hero-art { display: none; }
    .blood-bank-hero .breadcrumbs { margin-bottom: 2rem; }
    .blood-bank-heading { grid-template-columns: 1fr; gap: 1rem; }
    .blood-stock-grid { grid-template-columns: 1fr; }
    .blood-stock-card { min-height: 250px; }
    .blood-bank-contact { grid-template-columns: 1fr; }
    .blood-bank-contact .button { grid-column: auto; width: 100%; }
    .family-overview { grid-template-columns: 1fr 1fr; }
    .family-overview div { min-height: 120px; padding: 1.2rem; }
    .family-department-nav > div { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: thin; }
    .family-department-nav a { flex: 0 0 auto; }
    .family-department-heading { grid-template-columns: auto minmax(0, 1fr); }
    .family-department-heading > span { grid-column: 2; width: max-content; }
    .family-staff-grid { grid-template-columns: 1fr; }
    .family-staff-card { grid-template-columns: 76px minmax(0, 1fr); min-height: 104px; }
    .family-staff-photo { width: 76px; }
    .career-opening-card { grid-template-columns: 1fr; }
    .career-opening-number { width: 48px; height: 48px; }
    .career-opening-action { grid-column: 1; }
    .career-opening-action .button { width: 100%; }
    .career-opening-details > div { grid-template-columns: 1fr; }
}
.related-link-grid strong { color: var(--navy); }
.related-link-grid span { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.related-link-grid b { color: var(--red); }
.legacy-details { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legacy-details summary { padding: 1.2rem 1.4rem; color: var(--navy); font-weight: 800; cursor: pointer; }
.legacy-details > div { padding: 0 1.4rem 1.4rem; border-top: 1px solid var(--line); }

.site-footer { padding-top: 5rem; color: #cdd1e5; background: #060a37; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 3.5rem; }
.brand-light strong, .brand-light small { color: var(--white); }
.footer-about > p { max-width: 420px; margin: 1.5rem 0; color: #aeb4d0; font-size: .86rem; }
.footer-hotline { display: flex; flex-direction: column; color: var(--white); font-family: "Source Serif 4", serif; font-size: 1.25rem; font-weight: 700; }
.footer-hotline span { color: #ff9ca0; font-family: "Manrope", sans-serif; font-size: .68rem; text-transform: uppercase; }
.footer-social { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.footer-social a { display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.07); transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.footer-social a:hover, .footer-social a:focus-visible { border-color: var(--red); background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer h2 { margin-bottom: 1.2rem; color: var(--white); font-family: "Manrope", sans-serif; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .65rem 0; }
.site-footer li a { color: #b8bdd5; font-size: .82rem; }
.site-footer li a:hover, .footer-bottom a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { color: #b8bdd5; font-size: .82rem; font-style: normal; }
.site-footer address p { margin-bottom: .6rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 4rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.11); color: #9299ba; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.back-to-top-button { position: fixed; right: clamp(1rem, 2.5vw, 2.25rem); bottom: clamp(1rem, 2.5vw, 2.25rem); z-index: 85; display: grid; width: 50px; height: 50px; padding: 0; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; opacity: 0; visibility: hidden; background: var(--red); box-shadow: 0 14px 35px rgba(7,11,67,.3); cursor: pointer; pointer-events: none; transform: translateY(14px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background-color .2s ease; }
.back-to-top-button svg { width: 24px; height: 24px; }
.back-to-top-button.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.back-to-top-button:hover, .back-to-top-button:focus-visible { color: var(--white); background: var(--red-dark); transform: translateY(-3px); }
.back-to-top-button:focus-visible { outline: 3px solid rgba(227,27,35,.28); outline-offset: 3px; }

@media (max-width: 1050px) {
    .menu-toggle { display: block; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav {
        position: absolute;
        z-index: 100;
        top: 100%;
        right: 0;
        bottom: auto;
        display: block;
        width: min(400px, 100%);
        height: calc(100vh - 122px);
        height: calc(100dvh - 122px);
        max-height: calc(100vh - 122px);
        max-height: calc(100dvh - 122px);
        padding: .75rem 1.4rem calc(2rem + env(safe-area-inset-bottom));
        visibility: hidden;
        opacity: 0;
        background: var(--white);
        box-shadow: -20px 20px 40px rgba(0,0,0,.15);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        clip-path: inset(0 0 0 100%);
        transform: none;
        transition: opacity .25s ease, visibility .25s ease, clip-path .25s ease;
    }
    .primary-nav.open { visibility: visible; opacity: 1; clip-path: inset(0); }
    .primary-nav > a, .nav-item > a { width: 100%; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--line); }
    .primary-nav .nav-item { display: block; width: 100%; }
    .primary-nav .button { margin-top: 1rem; border: 0; }
    .primary-nav .nav-chevron { display: inline-block; font-size: 1rem; line-height: 1; transform: rotate(0); transition: transform .2s ease; }
    .primary-nav .dropdown { position: static; display: none; width: 100%; min-width: 0; padding: .2rem 0 .55rem 1rem; visibility: visible; opacity: 1; border: 0; background: transparent; box-shadow: none; transform: none; }
    .primary-nav .nav-item.submenu-open > .dropdown { display: grid; }
    .primary-nav .nav-item.submenu-open > a .nav-chevron { transform: rotate(180deg); }
    .primary-nav .dropdown a { display: block; width: 100%; padding: .65rem .75rem; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .quick-grid a:nth-child(2) { border-right: 0; }
    .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .card-grid, .doctor-grid { grid-template-columns: repeat(2, 1fr); }
    .departments-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 300px; }
    .department-showcase-card, .department-showcase-card:nth-child(7), .department-showcase-card:nth-child(8) { grid-column: span 1; }
    .department-showcase-card:nth-child(1), .department-showcase-card:nth-child(6) { grid-column: span 2; }
    .about-team-grid { grid-template-columns: repeat(3, 1fr); }
    .staff-team-grid { grid-template-columns: repeat(4, 1fr); }
    .leadership-grid { grid-template-columns: 1fr; }
    .related-link-grid { grid-template-columns: repeat(2, 1fr); }
    .ministry-grid { grid-template-columns: repeat(2, 1fr); }
    .service-profile-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --container: min(1180px, calc(100% - 28px)); }
    .topbar-inner { justify-content: center; }
    .topbar-inner > p, .topbar-links a:last-child { display: none; }
    .site-header .header-inner { min-height: 76px; }
    .primary-nav {
        height: calc(100vh - 114px);
        height: calc(100dvh - 114px);
        max-height: calc(100vh - 114px);
        max-height: calc(100dvh - 114px);
    }
    .brand img { width: 48px; height: 48px; }
    .brand small { max-width: 180px; font-size: .58rem; }
    .hero { min-height: 650px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(5,10,57,.93), rgba(9,15,88,.55)); }
    .hero-content { padding-bottom: 8.5rem; }
    .slider-controls { bottom: 1.5rem; justify-content: center; }
    .quick-actions { margin-top: 0; padding: 1rem 0; background: var(--surface); }
    .quick-grid { grid-template-columns: 1fr; box-shadow: none; }
    .quick-grid a { border-right: 0; border-bottom: 1px solid var(--line) !important; }
    .quick-grid a:last-child { border-bottom: 0 !important; }
    .section { padding: 4.5rem 0; }
    .split-layout, .profile-grid, .detail-grid, .form-layout { grid-template-columns: 1fr; }
    .image-composition { padding-right: 15px; }
    .image-composition > img { min-height: 420px; border-radius: 8px 50px 8px 8px; }
    .experience-badge { right: 0; bottom: 18px; width: 160px; min-height: 120px; }
    .value-list { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
    .department-heading-actions { align-items: flex-start; }
    .departments-showcase { grid-template-columns: 1fr; grid-auto-rows: 315px; }
    .department-showcase-card, .department-showcase-card:nth-child(1), .department-showcase-card:nth-child(6), .department-showcase-card:nth-child(7), .department-showcase-card:nth-child(8) { grid-column: span 1; }
    .department-showcase-copy { right: 1.2rem; bottom: 1.2rem; left: 1.2rem; }
    .department-showcase-copy h3 { font-size: 1.45rem; }
    .doctor-type-nav { grid-template-columns: 1fr; margin-bottom: 3.5rem; }
    .doctor-directory-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .doctor-filter-bar { grid-template-columns: 1fr; }
    .card-grid, .doctor-grid, .directory-grid, .image-card-grid, .post-grid { grid-template-columns: 1fr; }
    .info-card { min-height: 240px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid div { min-height: 145px; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.2); }
    .stats-grid div:nth-child(2) { border-right: 0; }
    .service-list { grid-template-columns: 1fr; }
    .service-card {
        min-height: 150px;
        grid-template-columns: 34px 54px minmax(0, 1fr) 36px;
        gap: .85rem;
        padding: 1.4rem;
    }
    .service-icon { width: 50px; height: 50px; border-radius: 15px; }
    .service-icon .medical-icon { width: 25px; height: 25px; }
    .service-arrow { width: 34px; height: 34px; }
    .cta-inner, .cta-inner > div:last-child { align-items: flex-start; flex-direction: column; }
    .page-hero { padding: 4rem 0; }
    .filter-bar { grid-template-columns: 1fr; }
    .profile-grid { gap: 2rem; }
    .profile-photo { width: min(100%, 380px); }
    .detail-aside { position: static; }
    .photo-gallery-grid { columns: 2; }
    .video-gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-panel-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .gallery-panel-heading > p { text-align: left; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .appointment-doctor-summary { grid-template-columns: 125px minmax(0, 1fr); }
    .appointment-doctor-schedule { grid-template-columns: 1fr; }
    .appointment-date-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .inline-doctors { grid-template-columns: 1fr; }
    .about-hero { min-height: 400px; }
    .about-hero-content { padding-block: 4rem; }
    .breadcrumbs-light { margin-bottom: 2.3rem; }
    .about-overview-grid, .purpose-grid { grid-template-columns: 1fr; }
    .about-overview-visual { max-width: 520px; }
    .about-values > ul { grid-template-columns: 1fr 1fr; }
    .about-team-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-team-grid { grid-template-columns: repeat(3, 1fr); }
    .about-cta-inner { align-items: flex-start; flex-direction: column; }
    .leadership-card { grid-template-columns: 150px 1fr; }
    .related-link-grid { grid-template-columns: 1fr; }
    .info-card-group, .priority-grid { grid-template-columns: 1fr; }
    .priority-grid > article:last-child { grid-column: auto; }
    .bishop-grid { grid-template-columns: repeat(2, 1fr); }
    .about-info--highlight .about-section-content { grid-template-columns: 1fr; }
    .about-family-invitation { grid-template-columns: 1fr; }
    .about-family-visual { display: grid; min-height: auto; grid-template-columns: auto 1fr auto; align-items: end; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
    .about-family-cross { align-self: start; }
    .about-family-visual > p { text-align: right; }
}

@media (max-width: 480px) {
    :root { --container: min(1180px, calc(100% - 24px)); }
    .back-to-top-button { width: 44px; height: 44px; }
    .section { padding: 3.6rem 0; }
    .page-hero, .article-header { padding-block: 3.4rem; }
    .page-hero h1, .content-page-hero h1, .about-hero h1, .profile-hero h1, .blood-bank-hero h1 { font-size: clamp(2.25rem, 12vw, 2.75rem); overflow-wrap: anywhere; }
    .content-page-hero, .about-hero { min-height: 360px; }
    .content-page-hero-inner, .about-hero-content { padding-block: 3rem; }
    .hero { min-height: 590px; }
    .hero h1 { font-size: clamp(2.35rem, 12vw, 3rem); overflow-wrap: anywhere; }
    .hero-content { padding-top: 3.5rem; padding-bottom: 7.5rem; }
    .appointment-doctor-summary { grid-template-columns: 1fr; }
    .appointment-doctor-photo { min-height: 280px; aspect-ratio: 4 / 4.2; }
    .appointment-doctor-copy { padding: .25rem; }
    .appointment-doctor-heading { flex-direction: column; }
    .appointment-queue-preview > div, .appointment-receipt-meta, .appointment-receipt-section > dl { grid-template-columns: 1fr; }
    .appointment-receipt-meta > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
    .appointment-receipt-meta > div:last-child { border-bottom: 0 !important; }
    .appointment-receipt-header, .appointment-receipt-status, .appointment-receipt-footer { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
    .appointment-receipt-heading { text-align: left; }
    .appointment-receipt-footer p:last-child { text-align: left; }
    .appointment-receipt-actions { align-items: stretch; flex-direction: column; }
    .appointment-receipt-actions .button, .appointment-receipt-actions form, .appointment-receipt-actions form button { width: 100%; }
    .appointment-receipt-actions form { margin-left: 0; }
    .brand small { display: none; }
    h1 { font-size: clamp(2.25rem, 12vw, 2.7rem); overflow-wrap: anywhere; }
    .hero-actions .button { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid div { border-right: 0; }
    .gallery-tabs { grid-template-columns: 1fr; margin-bottom: 3rem; }
    .photo-gallery-grid { columns: 1; }
    .about-family-visual { grid-template-columns: 1fr 1fr; }
    .about-family-cross { grid-column: 2; grid-row: 1; justify-self: end; }
    .about-family-visual div { grid-column: 1; grid-row: 1; }
    .about-family-visual > p { grid-column: 1 / -1; text-align: left; }
    .video-gallery-grid { grid-template-columns: 1fr; }
    .photo-lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .lightbox-nav { width: 44px; height: 44px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about, .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
    .about-values > ul, .about-team-grid, .staff-team-grid { grid-template-columns: 1fr; }
    .leadership-card { grid-template-columns: 1fr; }
    .leadership-photo { max-width: 220px; }
    .about-seal { right: 0; width: 125px; min-height: 125px; }
    .info-card-group dl > div, .ministry-grid, .ministry-grid .ministry-feature, .service-profile-list { grid-template-columns: 1fr; }
    .ministry-grid .ministry-feature { grid-column: auto; }
    .service-card { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: .75rem; padding: 1.2rem; }
    .service-icon { grid-column: 1; grid-row: 1; width: 34px; height: 34px; border-radius: 10px; }
    .service-icon .medical-icon { width: 20px; height: 20px; }
    .service-number { display: none; }
    .service-copy { grid-column: 2; }
    .service-arrow { grid-column: 3; }
    .cms-form, .contact-panel, .map-placeholder { padding: 1.25rem; }
    .appointment-date-step { padding: 1rem; }
    .family-overview { grid-template-columns: 1fr; }
    .family-overview div + div { border-top: 1px solid var(--line); border-left: 0; }
    .family-department-heading { gap: .75rem; }
    .family-department-heading > span { grid-column: 1 / -1; width: auto; justify-self: start; white-space: normal; }
    .blood-bank-update { max-width: 100%; align-items: flex-start; border-radius: 14px; white-space: normal; }
    .pagination { max-width: 100%; flex-wrap: wrap; gap: .65rem; }
    .footer-hotline, .site-footer address a { overflow-wrap: anywhere; }
}

@media print {
    @page { size: A4; margin: 12mm; }
    body { background: #fff !important; }
    body > *, body main > * { visibility: hidden !important; }
    .appointment-receipt-dialog,
    .appointment-receipt-dialog *,
    .appointment-receipt-page,
    .appointment-receipt-page * { visibility: visible !important; }
    .appointment-receipt-dialog,
    .appointment-receipt-page { position: absolute !important; inset: 0 !important; width: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: #fff !important; box-shadow: none !important; overflow: visible !important; }
    .appointment-receipt-dialog-inner,
    .appointment-receipt-page-inner { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
    .appointment-receipt { box-shadow: none !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .appointment-receipt-actions { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
