.fad-page .fad-hero {
    background: #f5f5f5 url('/images/find-a-dentist/hero-gradient.png') center / 100.54% 109.97% no-repeat;
    padding: 80px 24px;
}

.fad-page .fad-hero-wrap {
    max-width: 1376px;
}

.fad-page .fad-hero-copy {
    position: relative;
    z-index: 1;
    width: calc((100% - 80px) / 2);
    gap: 24px;
}

.fad-page .fad-masterbrand {
    display: block;
    width: 220.444px;
    height: 64px;
}

.fad-page .fad-hero h1 {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -.96px;
}

.fad-page .fad-hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fad-page .fad-hero-portrait {
    position: absolute;
    width: 890px;
    height: 593px;
    max-width: none;
    left: calc(50% + 70px);
    bottom: -76px;
    object-fit: contain;
}

.fad-page .fad-search {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    margin: 0;
}

.fad-page .fad-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fad-page .fad-search-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.fad-page #address {
    flex: 1 1 0%;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 8px 16px;
    border: 1px solid #757575;
    border-radius: 999px;
    background: var(--color-white, #fff);
    color: var(--color-black, #000);
    font: inherit;
    font-size: 16px;
    line-height: 24px;
}

.fad-page #address::placeholder {
    color: #898989;
    opacity: 1;
}

.fad-page .fad-search-button {
    flex: none;
    gap: 6px;
    height: 48px;
    padding: 4px 20px;
    border: 1px solid var(--color-black, #000);
    border-radius: 40px;
    background: var(--color-black, #000);
    color: var(--color-white, #fff);
    font: inherit;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
}

.fad-page .fad-search-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.fad-page .fad-search-button:focus-visible,
.fad-page #address:focus-visible {
    outline: 2px solid var(--color-black, #000);
    outline-offset: 3px;
}

.fad-page .fad-map-section {
    max-width: 1428px;
    margin: 0 auto;
    padding: 40px 24px;
    background: var(--color-white, #fff);
}

.fad-page #map-container {
    border-radius: 16px;
}

.fad-page #map-placeholder {
    height: 705px;
    object-fit: cover;
}

.fad-page #map-container #map-legend {
    width: 328px;
    max-width: 35%;
    margin-top: 40px;
    border: 1px solid #757575;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 2px 2px 8px #0004;
}

.fad-page #map-container #map-legend #map-legend-bg #map-legend-header {
    background: #f5f5f5;
    border-bottom: 1px solid var(--color-black, #000);
}

.fad-page #map-legend-header p {
    color: var(--color-black, #000);
    text-align: left;
    font-size: 16px;
    line-height: 24px;
}

.fad-page #map-legend li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
}

.fad-page #map-legend li:last-child {
    margin-bottom: 0;
}

.fad-page #map-legend li span {
    flex: none;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    border-radius: 50%;
}

.fad-page #map .button.small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0 !important;
    border-radius: 8px !important;
}

.fad-page #find-a-dentist-subheading {
    width: 100%;
    max-width: 784px;
    padding: 0 16px;
    margin: 48px auto 0;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

@media (max-width: 1023px) {
    .fad-page .fad-hero {
        padding: 56px 24px;
    }

    .fad-page .fad-hero-copy {
        width: 60%;
    }

    .fad-page .fad-hero h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .fad-page .fad-hero-portrait {
        width: 600px;
        height: 400px;
        left: 55%;
        bottom: -40px;
    }

    .fad-page #map-placeholder {
        height: 495px;
    }
}

@media (max-width: 767px) {
    .fad-page .fad-hero {
        padding: 40px 16px 260px;
    }

    .fad-page .fad-hero-copy {
        width: 100%;
    }

    .fad-page .fad-masterbrand {
        width: 137.778px;
        height: 40px;
    }

    .fad-page .fad-hero h1 {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -.64px;
    }

    .fad-page .fad-hero-portrait {
        width: 600px;
        height: 400px;
        left: calc(50% - 300px);
        bottom: -110px;
    }

    .fad-page .fad-search-row {
        gap: 8px;
    }

    .fad-page .fad-search-button {
        padding: 4px 16px;
        font-size: 16px;
    }

    .fad-page .fad-map-section {
        padding: 24px 16px 40px;
    }

    .fad-page #map-placeholder {
        height: 351px;
    }

    .fad-page #find-a-dentist-subheading {
        margin-top: 32px;
        padding: 0;
    }
}
