.ad-location-template,
.ad-location-page {
    width: 100%;
    max-width: none;
    color: var(--ad-color-blue-deep);
    font-family: var(--ad-font-primary);
}

.ad-location-page :where(h1, h2, h3, p, ul) {
    margin: 0;
}

.ad-location-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.ad-location-section-title {
    color: var(--ad-color-blue-deep);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.ad-location-section-title--center {
    text-align: center;
}

.ad-location-section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: min(768px, 100%);
    margin: 0 auto;
    text-align: center;
}

.ad-location-section-lead,
.ad-location-copy {
    color: var(--ad-color-body);
    font-size: 18px;
    line-height: 1.5;
}

.ad-location-section-lead :where(p),
.ad-location-copy :where(p) {
    margin: 0;
}

.ad-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 18px 40px;
    border-radius: var(--ad-radius-sm);
    border: 1.5px solid var(--ad-color-blue);
    color: var(--ad-color-blue);
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ad-location-button--primary {
    color: var(--ad-color-white);
    background: var(--ad-color-blue);
}

.ad-location-button:hover {
    color: var(--ad-color-white);
    background: var(--ad-color-blue-mid);
    border-color: var(--ad-color-blue-mid);
}

.ad-location-hero {
    overflow: hidden;
    padding: 112px 64px;
    background: var(--ad-color-mist);
}

.ad-location-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 602px;
    gap: 80px;
    align-items: center;
    min-height: 599px;
}

.ad-location-hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ad-location-hero__title {
    color: var(--ad-color-blue-deep);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.ad-location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-location-details__item {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    color: var(--ad-color-body);
    font-size: 18px;
    line-height: 1.5;
}

.ad-location-details__icon {
    display: inline-flex;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--ad-color-blue-deep);
}

.ad-location-details__icon svg {
    width: 100%;
    height: 100%;
}

.ad-location-details__text {
    min-width: 0;
}

.ad-location-details__text a {
    color: inherit;
    text-decoration: none;
}

.ad-location-details__text a:hover {
    color: var(--ad-color-blue);
}

.ad-location-hero__copy {
    max-width: 640px;
    color: var(--ad-color-body);
    font-size: 20px;
    line-height: 1.5;
}

.ad-location-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ad-location-hero__media {
    width: 100%;
    height: 480px;
}

.ad-location-hero__media img,
.ad-location-about__media img,
.ad-location-doctor-card__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--ad-radius-md);
    object-fit: cover;
}

.ad-location-about {
    padding: 112px 64px 80px;
    background: var(--ad-color-white);
}

.ad-location-about__inner {
    display: grid;
    grid-template-columns: 602px minmax(0, 1fr);
    align-items: center;
}

.ad-location-about__media {
    width: 100%;
    height: 480px;
}

.ad-location-about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 48px 0 48px 80px;
}

.ad-location-about__content .ad-location-copy {
    font-size: 16px;
}

.ad-location-doctors {
    overflow: hidden;
    padding: 80px 64px 112px;
    background: var(--ad-color-white);
}

.ad-location-doctors__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.ad-location-doctors__scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 394px));
    justify-content: center;
    gap: 48px;
    width: 100%;
}

.ad-location-doctor-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 100%;
}

.ad-location-doctor-card__image {
    height: 492px;
}

.ad-location-doctor-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.ad-location-doctor-card__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-location-doctor-card__heading {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ad-location-doctor-card__name {
    color: var(--ad-color-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.ad-location-doctor-card__role {
    color: var(--ad-color-body);
    font-size: 18px;
    line-height: 1.5;
}

.ad-location-doctor-card__credentials {
    color: var(--ad-color-muted);
    font-size: 16px;
    line-height: 1.5;
}

.ad-location-doctor-card__description {
    color: var(--ad-color-body);
    font-size: 16px;
    line-height: 1.5;
}

.ad-location-doctor-card__button {
    width: 100%;
}

.ad-location-services {
    padding: 112px 64px;
    background: linear-gradient(180deg, var(--ad-color-teal-wash) 0%, rgba(0, 158, 233, 0.2) 100%), var(--ad-color-mist);
}

.ad-location-services__panel {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 112px 80px;
    border-radius: var(--ad-radius-md);
    background: var(--ad-color-white);
}

.ad-location-services__content {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.ad-location-service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ad-location-service-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 333px;
    padding: 24px;
    border-radius: var(--ad-radius-md);
    color: var(--ad-color-body);
    background: var(--ad-color-mist);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-location-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(12, 37, 62, 0.08);
}

.ad-location-service-card__icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    color: var(--ad-color-blue-deep);
}

.ad-location-service-card__icon :where(svg, img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ad-location-service-card__title {
    margin-top: 32px;
    color: var(--ad-color-body);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.ad-location-service-card__copy {
    margin-top: 20px;
    color: var(--ad-color-body);
    font-size: 16px;
    line-height: 1.5;
}

.ad-location-service-card__link {
    margin-top: auto;
    color: var(--ad-color-link-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.ad-location-services__divider {
    width: 100%;
    height: 1px;
    background: var(--ad-color-cool-divider);
}

.ad-location-service-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
}

.ad-location-service-links__group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.ad-location-service-links__title {
    color: var(--ad-color-blue-deep);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.ad-location-service-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ad-location-service-links a {
    color: var(--ad-color-link-blue);
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}

.ad-location-service-links a:hover {
    color: var(--ad-color-blue-mid);
    text-decoration: underline;
}

.ad-location-reviews {
    padding: 80px 64px;
    background: var(--ad-color-white);
}

.ad-location-reviews__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.ad-location-reviews__widget {
    min-height: 220px;
    overflow: hidden;
}

.ad-location-reviews__widget > div {
    width: 100%;
}

.ad-location-faq {
    padding: 112px;
}

.ad-location-faq .ad-service-shell {
    width: 100%;
    max-width: 1216px;
}

.ad-location-faq .ad-service-faq__card {
    padding: 112px;
    border-radius: var(--ad-radius-md);
    background: var(--ad-color-white);
}

.ad-location-faq .ad-service-section-title {
    color: var(--ad-color-blue-deep);
}

.ad-location-faq .ad-service-faq__answer a {
    color: var(--ad-color-link-blue);
    font-weight: 600;
    text-decoration: none;
}

.ad-location-faq .ad-service-faq__answer a:hover {
    text-decoration: underline;
}

.ad-location-hours-list {
    display: grid;
    gap: 6px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.ad-location-cta {
    padding: 80px 64px;
    background: var(--ad-color-blue-deep);
}

.ad-location-cta__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 64px;
    border-radius: var(--ad-radius-md);
    background: var(--ad-color-white-wash);
    text-align: center;
}

.ad-location-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--ad-color-white);
}

.ad-location-cta__title {
    color: var(--ad-color-white);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.ad-location-cta__body {
    color: var(--ad-color-white);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.ad-location-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.ad-location-cta__meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .ad-location-hero__inner,
    .ad-location-about__inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .ad-location-hero__media,
    .ad-location-about__media {
        height: 420px;
    }

    .ad-location-about__content {
        padding-left: 48px;
    }

    .ad-location-service-cards,
    .ad-location-service-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ad-location-shell {
        width: 100%;
    }

    .ad-location-section-title {
        font-size: 36px;
    }

    .ad-location-section-lead,
    .ad-location-copy {
        font-size: 16px;
    }

    .ad-location-button {
        width: 100%;
        min-height: 56px;
    }

    .ad-location-hero {
        padding: 0 0 32px;
    }

    .ad-location-hero__inner {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
    }

    .ad-location-hero__media {
        order: -1;
        height: auto;
        aspect-ratio: 375 / 267;
    }

    .ad-location-hero__media img {
        border-radius: 0;
    }

    .ad-location-hero__content {
        gap: 32px;
        padding: 20px;
    }

    .ad-location-hero__title {
        font-size: 40px;
    }

    .ad-location-details__item {
        align-items: flex-start;
        font-size: 14px;
    }

    .ad-location-hero__copy {
        font-size: 18px;
    }

    .ad-location-actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .ad-location-about {
        padding: 32px 20px;
    }

    .ad-location-about__inner {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ad-location-about__media {
        height: auto;
        aspect-ratio: 602 / 480;
    }

    .ad-location-about__content {
        padding: 0;
    }

    .ad-location-doctors {
        padding: 64px 20px;
    }

    .ad-location-doctors__inner {
        width: 100%;
        gap: 48px;
    }

    .ad-location-doctors .ad-location-section-header {
        text-align: left;
    }

    .ad-location-doctors .ad-location-section-title {
        text-align: center;
    }

    .ad-location-doctors__scroller {
        display: flex;
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .ad-location-doctor-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    .ad-location-doctor-card__image {
        height: 380px;
    }

    .ad-location-doctor-card__name,
    .ad-location-doctor-card__role {
        font-size: 16px;
    }

    .ad-location-doctor-card__credentials {
        font-size: 14px;
    }

    .ad-location-doctor-card__body,
    .ad-location-doctor-card__copy {
        gap: 12px;
    }

    .ad-location-services {
        padding: 32px 20px;
    }

    .ad-location-services__panel {
        width: 100%;
        padding: 32px 20px;
    }

    .ad-location-services__content {
        gap: 64px;
    }

    .ad-location-service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ad-location-service-card {
        min-height: 321px;
    }

    .ad-location-service-card__icon {
        width: 48px;
        height: 48px;
    }

    .ad-location-service-card__title {
        margin-top: 24px;
        font-size: 20px;
    }

    .ad-location-service-card__copy {
        margin-top: 16px;
    }

    .ad-location-service-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .ad-location-service-links__title {
        font-size: 14px;
    }

    .ad-location-service-links a {
        font-size: 13px;
        line-height: 1.5;
    }

    .ad-location-reviews {
        padding: 48px 20px;
    }

    .ad-location-faq {
        padding: 20px;
    }

    .ad-location-faq .ad-service-shell {
        width: 100%;
    }

    .ad-location-faq .ad-service-faq__card {
        gap: 48px;
        padding: 44px 20px;
    }

    .ad-location-faq .ad-service-faq__question {
        font-size: 16px;
    }

    .ad-location-cta {
        padding: 48px 20px;
    }

    .ad-location-cta__card {
        padding: 0;
        background: transparent;
        text-align: left;
    }

    .ad-location-cta__title {
        font-size: 32px;
    }

    .ad-location-cta__body {
        font-size: 20px;
    }

    .ad-location-cta__meta {
        width: 100%;
        text-align: center;
    }
}
