/**
 * Areas We Serve Block Styles
 * Loaded automatically only when this block is present on the page.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.areas-block {
    position: relative;
    background-color: var(--color-dark-blue);
    padding: 86px 0 100px;
    overflow: hidden;
    text-align: center;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.areas-header {
    margin-bottom: 40px;
}

.areas-section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    line-height: 1.2;
    color: var(--color-light-grey);
    margin-bottom: 16px;
    font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

.areas-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.125rem, 2.5vw, 2rem);
    line-height: 1.35;
    color: var(--color-light-blue);
    max-width: 775px;
    margin: 0 auto;
    font-variation-settings: 'CRSV' 0, 'SHRP' 0;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

.areas-content {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-light-grey);
    max-width: 1000px;
    margin: 0 auto 48px;
    text-align: center;
}

.areas-content p {
    margin-bottom: 1em;
}

.areas-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   MAP
   ========================================================================== */

.areas-map {
    max-width: 901px;
    margin: 0 auto 56px;
    border-radius: 12px;
    overflow: hidden;
}

.areas-map img {
    display: block;
    width: 100%;
    height: 352px;
    object-fit: cover;
}

/* ==========================================================================
   LOCATIONS LIST
   ========================================================================== */

.areas-locations {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 48px;
}

.areas-location a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-light-grey);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-variation-settings: 'CRSV' 0, 'SHRP' 0;
    transition: color 0.2s ease;
}

.areas-location a:hover {
    color: var(--color-light-blue);
}

.areas-location__pin {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.areas-location__pin svg {
    width: 28px;
    height: 28px;
    display: block;
}

.areas-block .btn-cta-primary {
    margin-top: 56px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .areas-map img {
        height: 280px;
    }

    .areas-locations {
        gap: 16px 32px;
    }
}

@media (max-width: 575.98px) {
    .areas-block {
        padding: 60px 0 80px;
    }

    .areas-map img {
        height: 240px;
    }

    .areas-locations {
        gap: 16px 24px;
    }

    .areas-location a {
        font-size: 1rem;
    }
}
