:root {
    --navy: #15314c;
    --blue: #197e9a;
    --yellow: #f1b74b;
    --white: #fbfbf9;
    --text: #333;
    --muted: #e6f2f4
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font: 500 min(calc(16px + .36vw), 20.8px)/1 "greycliff-cf", Arial, sans-serif;
    color: var(--text);
    background: var(--white)
}

a {
    color: var(--blue);
    text-underline-offset: 3px
}

a:hover {
    text-decoration-thickness: 2px
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    cursor: pointer
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3 {
    line-height: 1.1;
    font-weight: 700;
    color: var(--navy);
    margin: .25em 0 .5em;
    letter-spacing: -.03em;
    text-transform: uppercase
}

h1 {
    font-size: min(calc(16px + 4.32vw), 73.6px)
}

h2 {
    font-size: min(calc(16px + 3.6vw), 64px)
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -.012em
}

p {
    margin: .6rem 0 1.15rem
}

.container {
    width: min(1100px, 90%);
    margin: auto
}

.band {
    padding: 65px 0;
    scroll-margin-top: 1rem;
}

.theme-dark {
    background: var(--navy);
    color: var(--white)
}

.theme-bright {
    background: var(--yellow);
    color: var(--white)
}

.theme-light {
    background: var(--blue);
    color: var(--white)
}

.theme-white {
    background: var(--white)
}

.theme-dark :is(h1, h2, h3),
.theme-light :is(h1, h2, h3),
.theme-bright :is(h1, h2, h3) {
    color: inherit
}

.theme-dark a:not(.button),
.theme-bright a:not(.button) {
    color: #fff
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 5rem)
}

.image-first .visual {
    order: -1
}

.page-image {
    margin: 0;
    background: #e3edf0;
    border-radius: 18px;
    overflow: hidden;
    min-height: 200px;
    display: grid;
    place-items: center
}

.page-image img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    aspect-ratio: 5/4;
    color: var(--navy);
    text-align: center
}

.sqsrte-small {
    font-size: .92rem;
    letter-spacing: .075em;
    font-weight: 700
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.5rem;
    border-radius: 7px;
    background: var(--yellow);
    color: var(--navy) !important;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid transparent;
    line-height: 1.2
}

.button:hover {
    background: #e5a83d
}

.actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 1.25rem 0
}

.actions .button+.button {
    background: transparent;
    border-color: currentColor;
    color: inherit !important
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid #e0e4e7;
    position: relative;
    z-index: 10
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    min-height: 150px
}

.brand {
    text-decoration: none;
    color: var(--navy);
    display: block;
    font-size: 1.15rem;
    letter-spacing: .06em;
    font-weight: 800;
    line-height: 1.2
}

.brand img {
    max-width: 260px;
    max-height: 72px;
    object-fit: contain
}

.brand small {
    display: block;
    font-size: .65rem;
    letter-spacing: .25em
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.7rem, 1.6vw, 1.7rem);
    font-weight: 600;
    font-size: .9rem
}

.site-nav>a:not(.button),
summary {
    color: var(--navy);
    text-decoration: none;
    cursor: pointer
}

.site-nav a[aria-current=page] {
    text-decoration: underline
}

.service-menu {
    position: relative
}

.service-dropdown {
    position: absolute;
    top: 2rem;
    right: 0;
    background: white;
    padding: 12px;
    box-shadow: 0 12px 32px #15314c27;
    border: 1px solid #d9e5e9;
    width: min(260px, 90vw);
    max-height: 65vh;
    overflow: auto
}

.service-dropdown a {
    display: block;
    color: var(--navy);
    padding: 4px 9px;
    text-decoration: none
}

.service-dropdown a:hover {
    background: var(--muted)
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--navy);
    padding: 8px 12px;
    color: var(--navy)
}

.skip {
    position: absolute;
    top: -100px;
    left: 10px;
    background: white;
    padding: 10px;
    z-index: 99
}

.skip:focus {
    top: 10px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.blog-card {
    border: 1px solid #cfdde0;
    padding: 28px;
    border-radius: 10px;
    background: white
}

.blog-card h2 {
    font-size: 1.65rem
}

.blog-card h2 a {
    text-decoration: none
}

.article {
    max-width: 850px
}

.article h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.9rem)
}

.article h2 {
    font-size: 2rem
}

.booking-widget iframe {
    width: 100%;
    /* min-height: 620px; */
    border: 1px solid #ddd;
    background: white
}

.form-notice {
    max-width: 800px;
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--yellow);
    color: var(--navy)
}

.doctor-placeholder {
    background: #d1e1e5;
    min-height: 240px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: var(--navy)
}

.credentials {
    font-weight: 700
}

.status {
    color: var(--blue);
    font-weight: 700
}

.westhaven-footer a {
    color: inherit
}

.westhaven-footer-logo {
    max-width: 200px
}

.westhaven-services a {
    color: var(--navy)
}

.westhaven-info {
    background: var(--navy);
    padding: 1rem;
    border-radius: 8px
}

.westhaven-services svg,
.westhaven-values svg,
.westhaven-info svg {
    max-width: 90px
}

.image-unavailable {
    min-height: 200px;
    background: #dce8eb;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #50616e;
    padding: 1rem;
    text-align: center
}

.westhaven-footer .image-unavailable {
    display: none
}

:focus-visible {
    outline: 3px solid #e9a729;
    outline-offset: 4px
}

@media(max-width:900px) {
    .nav-wrap {
        flex-wrap: wrap;
        min-height: 78px;
        padding: 12px 0
    }

    .menu-toggle {
        display: block
    }

    .site-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 12px 0
    }

    .site-nav.open {
        display: flex
    }

    .service-dropdown {
        position: static;
        box-shadow: none;
        max-height: none;
        width: 100%
    }

    .split {
        grid-template-columns: 1fr
    }

    .image-first .visual {
        order: 0
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .band {
        padding: 3rem 0
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Shared layout proportions from the original West Haven pages. */
.theme-white-bold {
    background: var(--white);
}

.theme-light a:not(.button) {
    color: inherit;
}

.theme-light .sqsrte-text-color--accent,
.theme-dark .sqsrte-text-color--accent {
    color: var(--yellow);
}

.theme-white .sqsrte-text-color--lightAccent {
    color: var(--blue);
}

.theme-bright .sqsrte-text-color--darkAccent {
    color: var(--navy);
}

.sqsrte-large {
    font-size: min(calc(16px + 1.32vw), 33.6px);
    line-height: 1.15;
}

.sqsrte-small {
    font-size: min(calc(16px + .24vw), 19.2px);
    letter-spacing: 0;
}

h3 {
    text-transform: uppercase;
}

.button {
    min-height: 60px;
    min-width: 235px;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.theme-dark .button,
.theme-light .button {
    color: var(--white) !important;
    border-color: var(--white);
}

.theme-white .button,
.theme-white-bold .button,
.location-band .button {
    background: #333;
    color: var(--white) !important;
}

.actions .button+.button {
    background: transparent;
}

.actions {
    gap: 12px;
    margin: 1.6rem 0 0;
}

.site-header {
    border: 0;
}

.site-header .container {
    width: 90%;
    max-width: none;
}

.site-nav {
    text-transform: uppercase;
    gap: 26px;
}

.site-nav .nav-cta {
    min-width: 162px;
    min-height: 46px;
    padding: 14px 20px;
    font-size: .65rem;
    letter-spacing: 0;
}

.site-nav summary {
    list-style: none;
}

.site-nav summary::-webkit-details-marker {
    display: none;
}

.service-dropdown {
    top: 100%;
    padding-top: 18px;
    font-size: .8rem;
    text-transform: none;
}

.sqsrte-text-highlight {
    position: relative;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 5px;
    text-underline-offset: 12px;
}

.media-band {
    padding: 0 !important;
    overflow: hidden;
}

.media-band>.container {
    width: 100%;
    max-width: none;
}

.media-band .split {
    grid-template-columns: 55.6% 44.4%;
    gap: 0;
    min-height: 500px;
    align-items: stretch;
}

.media-band .copy {
    align-self: center;
    padding: 60px 60px 60px max(5vw, calc((100vw - 1100px) / 2));
}

.media-band .visual {
    display: flex;
    min-width: 0;
}

.media-band .page-image {
    width: 100%;
    min-height: 100%;
    border-radius: 80px 0 0 160px;
    background: transparent;
}

.media-band .page-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    aspect-ratio: auto;
    object-fit: cover;
}

.media-band .image-first {
    grid-template-columns: 44.4% 55.6%;
}

.media-band .image-first .copy {
    padding: 60px max(5vw, calc((100vw - 1100px) / 2)) 60px 60px;
}

.media-band .image-first .page-image {
    border-radius: 0 80px 160px 0;
}

.media-band:has(img[src$="westhaven-w-2.webp"]) .split,
.media-band:has(img[src$="westhaven-w.webp"]) .split {
    min-height: 320px;
}

.media-band:has(img[src$="westhaven-w-2.webp"]) .page-image,
.media-band:has(img[src$="westhaven-w.webp"]) .page-image {
    border-radius: 0;
}

.media-band:has(img[src$="westhaven-w-2.webp"]) img,
.media-band:has(img[src$="westhaven-w.webp"]) img {
    min-height: 0;
    height: 320px;
    width: 100%;
    object-fit: contain;
    object-position: right center;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-band h2::after {
    content: '';
    display: block;
    width: 95px;
    height: 2px;
    background: var(--yellow);
    margin: 28px 0;
}

.location-band .actions {
    flex-wrap: nowrap;
}

.location-band .button {
    min-width: 0;
    flex: 1;
}

.clinic-map img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 16px;
    background: #e6ecec;
}

.westhaven-footer-inner {
    max-width: 1200px;
    padding: 100px 48px 70px;
}

.westhaven-footer-logo {
    filter: brightness(0) invert(1);
}

.westhaven-footer-heading {
    text-transform: none;
    letter-spacing: 0;
}

@media (min-width: 901px) {
    :is(.page-our-physicians, .page-book-appointment) main>.band:first-child>.container>.sqs-html-content {
        max-width: 570px;
    }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .site-nav {
        gap: 16px;
        font-size: .75rem;
    }

    .brand img {
        max-width: 210px;
    }

    .media-band .copy {
        padding: 45px 30px 45px 5vw;
    }

    .media-band .image-first .copy {
        padding: 45px 5vw 45px 30px;
    }

    .actions .button {
        min-width: 175px;
    }
}

@media (max-width: 900px) {
    .site-header .nav-wrap {
        min-height: 90px;
    }

    .brand img {
        max-width: 210px;
    }

    .site-nav {
        gap: 18px;
    }

    .media-band .split,
    .media-band .image-first {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .media-band .copy,
    .media-band .image-first .copy {
        padding: 48px 5%;
    }

    .media-band .visual,
    .media-band .image-first .visual {
        order: 0;
    }

    .media-band .page-image,
    .media-band .image-first .page-image {
        border-radius: 50px 0 0 80px;
    }

    .media-band .page-image img {
        min-height: 0;
        height: auto;
        max-height: 480px;
        aspect-ratio: 3/2;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .location-band .actions {
        flex-wrap: wrap;
    }

    .clinic-map img {
        height: auto;
    }

    .button {
        min-width: 185px;
        min-height: 54px;
    }

    .westhaven-footer-inner {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .actions .button {
        flex: 1 1 100%;
    }

    .sqsrte-text-highlight {
        white-space: normal;
        text-underline-offset: 6px;
        text-decoration-thickness: 3px;
    }
}

/* Typography and media geometry measured from the original site. */
h1 {
    line-height: .9416;
}

h2 {
    line-height: .968;
}

h3 {
    line-height: 1.0648;
}

.media-band .split {
    height: 506px;
    min-height: 0;
}

.media-band .page-image {
    height: 100%;
    min-height: 0;
}

.media-band .page-image img {
    height: 100%;
    min-height: 0;
}

.media-band .copy {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: max(5vw, calc((100vw - 1117px) / 2));
}

.media-band .copy>.sqs-html-content:has(p),
.media-band .copy>.actions {
    max-width: 500px;
}

.media-band .copy h1,
.media-band .copy h2 {
    margin: 0 0 16px;
}

.media-band .copy p {
    margin: 0;
}

.media-band .copy .sqsrte-small {
    margin-bottom: 24px;
}

.media-band .copy .actions {
    margin-top: 28px;
}

.media-band .image-first .copy {
    padding: 40px max(5vw, calc((100vw - 1117px) / 2)) 40px 112px;
}

.media-band:has(img[src$="westhaven-w-2.webp"]) .split,
.media-band:has(img[src$="westhaven-w.webp"]) .split {
    height: 320px;
    min-height: 0;
}

.theme-white h2:not(.westhaven-services h2),
.theme-white-bold h2 {
    color: var(--text);
}

.theme-white .sqsrte-text-color--lightAccent {
    color: var(--blue);
}

.theme-light .button {
    background: #333;
}

.theme-light .actions .button+.button {
    background: transparent;
}

.sqsrte-text-color--accent {
    color: var(--yellow);
}

.sqsrte-text-highlight {
    text-decoration: none;
}

.sqsrte-text-highlight::after {
    content: '';
    position: absolute;
    left: -.02em;
    bottom: -.08em;
    width: 104%;
    height: .23em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M2 16 Q175 -1 390 8 Q403 11 387 13' fill='none' stroke='%23f1b74b' stroke-width='7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
}

.media-band .button {
    min-width: 242px;
    min-height: 63px;
    font-size: 13px;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .media-band .copy {
        padding-left: 5vw;
    }

    .media-band .image-first .copy {
        padding: 40px 5vw 40px 50px;
    }

    .media-band .button {
        min-width: 175px;
    }
}

@media (max-width: 900px) {
    .media-band .split {
        height: auto;
    }

    .media-band .copy,
    .media-band .image-first .copy {
        padding: 48px 5%;
    }

    .media-band .page-image {
        height: auto;
    }

    .media-band .page-image img {
        height: auto;
    }

    .media-band:has(img[src$="westhaven-w-2.webp"]) .split,
    .media-band:has(img[src$="westhaven-w.webp"]) .split {
        height: auto;
    }
}

.media-band .split {
    grid-template-rows: minmax(0, 1fr);
}

.media-band .visual {
    min-height: 0;
    height: 100%;
}

@media (max-width: 900px) {
    .media-band .split {
        grid-template-rows: auto;
    }

    .media-band .visual {
        height: auto;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.band {
    scroll-margin-top: 170px;
}

@media (min-width: 1201px) {
    .media-band .image-first .copy {
        padding-right: max(5vw, calc((100vw - 1317px) / 2));
    }

    .media-band .image-first .copy>.sqs-html-content:has(p) {
        max-width: 600px;
    }

    .media-band .image-first .copy h2 {
        max-width: 600px;
    }

    .page-walk-in-clinic .image-first .copy h2 {
        max-width: 435px;
    }

    .page-seniors-health .image-first .copy h2,
    .page-chronic-ailments .image-first .copy h2 {
        max-width: 500px;
    }
}

.media-band:has(img[src$="westhaven-w-2.webp"]) h3 {
    font-size: 28.8px;
    margin-bottom: 14px;
}

.form-notice {
    background: transparent;
    color: inherit;
    border-left: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .desktop-break {
        display: none;
    }

    .band {
        scroll-margin-top: 115px;
    }
}

.clinic-map>a {
    display: block;
    border-radius: 16px;
}