
/* =========================================
   URBAN SLICE - FIND US AROUND TOWN
========================================= */

.us-around-town {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 285px;
    padding: 45px 20px;

    overflow: hidden;

    background-color: var(--us-green);
    background-image: var(--us-around-town-background);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================
   DARK GREEN IMAGE OVERLAY
========================================= */

.us-around-town__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(18, 48, 25, var(--us-around-town-overlay, 0.82));
}


/* =========================================
   CONTENT CONTAINER
========================================= */

.us-around-town__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================
   HEADING
========================================= */

.us-around-town__heading {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0 0 26px;

    color: var(--us-cream);
    font-size: clamp(30px, 4vw, 37px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;
}

.us-around-town__heading em {
    font-weight: 300;
    font-style: italic;
}


/* =========================================
   SOCIAL PLATFORMS
========================================= */

.us-around-town__socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;

    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.us-around-town__item {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    text-align: center;
}


/* =========================================
   SOCIAL ICON CIRCLE
========================================= */

.us-around-town__icon-link {
    display: inline-flex;
    text-decoration: none;
}

.us-around-town__icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 41px;
    height: 41px;

    border: 1px solid rgba(242, 237, 229, 0.75);
    border-radius: 50%;

    background: transparent;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.us-around-town__icon-circle img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.us-around-town__icon-link:hover .us-around-town__icon-circle {
    transform: translateY(-3px);
    border-color: var(--us-cream);
}


/* =========================================
   SOCIAL LABEL
========================================= */

.us-around-town__label {
    max-width: 110px;
    min-height: 30px;
    margin: 10px 0 6px;

    color: rgba(242, 237, 229, 0.9);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================
   CIRCULAR ARROW
========================================= */

.us-around-town__arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 1px solid rgba(242, 237, 229, 0.75);
    border-radius: 50%;

    color: var(--us-cream);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

a.us-around-town__arrow:hover {
    background: var(--us-cream);
    color: var(--us-green);
    transform: translateX(2px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .us-around-town {
        min-height: 270px;
    }

    .us-around-town__heading {
        font-size: 32px;
    }

    .us-around-town__socials {
        max-width: 600px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .us-around-town {
        min-height: 330px;
        padding: 45px 18px;
        background-position: center;
    }

    .us-around-town__heading {
        gap: 6px;
        margin-bottom: 30px;
        font-size: clamp(25px, 6vw, 32px);
    }

    .us-around-town__socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
        column-gap: 12px;
        max-width: 380px;
    }

    .us-around-town__icon-circle {
        width: 39px;
        height: 39px;
    }

    .us-around-town__label {
        margin-top: 8px;
        font-size: 8px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .us-around-town {
        padding: 40px 15px;
    }

    .us-around-town__heading {
        font-size: 25px;
    }

    .us-around-town__socials {
        column-gap: 5px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .us-around-town__icon-circle,
    .us-around-town__arrow {
        transition: none;
    }

}
