.explore24-small-groups {
    min-height: 60rem;
    display: flex;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.small-groups-copy h1 {
    color: #132f3b;
}

.small-groups-copy p {
    line-height: 1.75;
}

.small-groups-links .region-link {
    width: fit-content;
    height: 107px;
    padding: 0px 0px 0px 13px;
    border-radius: 50px;
    background-color: white;
    display: flex;
    text-decoration: none;
    align-items: center;
    margin-bottom: 2rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: none;
    max-width: 45rem;
    min-width: 31rem;
    margin-bottom: 3.6rem;
    border: 1px solid #e3e3e3;
    transition: box-shadow 0.3s ease-in;
    cursor: pointer;
}

    .small-groups-links .region-link:hover {
        box-shadow: 1px 1px 8px 2px rgba(0, 0, 0, 0.16);
    }

.region-img-wrapper {
    width: 95px;
    height: 95px;
}

    .region-img-wrapper img {
        right: 6px;
        positioN: relative;
        align-self: center;
        height: 9.5rem;
        width: 9.5rem;
        border-radius: 50px;
    }

.region-link h3 {
    font-size: 24px;
    font-weight: 800;
    color: black;
    left: 8px;
    top: 2px;
    position: relative;
    overflow-wrap: normal;
    width: min-content;
    text-wrap: nowrap;
    white-space: nowrap;
    min-width: 9.6rem;
}

.region-link i.fas.fa-chevron-right {
    color: #132f3b;
    position: relative;
    margin-left: 6.2rem;
    font-size: 19px;
    min-width: 3.2rem;
    top: 2px;
}

.small-groups-links-wrapper {
    min-width: 52rem;
    margin-left: 6rem;
}

.explore24-small-groups-row {
    flex-direction: row;
    justify-content: center;
}

    .explore24-small-groups-row .small-groups-copy {
        padding-right: 5%;
        display: flex;
        flex-direction: column;
        justify-content: unset;
        width: 52%;
        margin-left: 6rem;
    }

.explore24-small-groups-col {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .explore24-small-groups-col .small-groups-copy {
        text-align: center;
        margin-bottom: 13.7rem;
        display: flex;
        flex-direction: column;
    }

.explore24-small-groups h1 {
    font-weight: 700;
    margin-bottom: 5rem;
    font-size: 3.9rem;
    margin-bottom: 5rem !important;
    flex-shrink: 1;
}

.explore24-small-groups h3.mb-5 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 2.7rem !important;
}

.explore24-small-groups-col .small-groups-copy p {
    max-width: 59%;
    align-self: center;
    font-size: 18px;
}

.explore24-small-groups-row .small-groups-copy p {
    font-size: 18px;
    margin-left: 9px;
    font-weight: 400;
    line-height: 2.2;
    max-width: 100%;
    flex-shrink: 1;
}

.explore24-small-groups-col .small-groups-links-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
}

    .explore24-small-groups-col .small-groups-links-wrapper .small-groups-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

.explore24-small-groups-col .region-link {
    margin-right: 4.5rem;
}

.explore24-small-groups-row .small-groups-links-wrapper h3.mb-5 {
    font-size: 27px;
    text-align: center;
}

.small-groups-links .region-link {
    width: fit-content;
    height: 107px;
    padding: 0px 0px 0px 13px;
    border-radius: 50px;
    background-color: white;
    display: flex;
    text-decoration: none;
    align-items: center;
    margin-bottom: 2rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: 2px 2px 4px 2px rgba(0,0,0,.1);
    max-width: 45rem;
    min-width: 31rem;
    margin-bottom: 3.6rem;
    border: 1px solid #e3e3e3;
    transition: box-shadow 0.3s ease-in;
    cursor: pointer;
}

    .small-groups-links .region-link:hover {
        box-shadow: 1px 1px 8px 2px rgba(0, 0, 0, 0.16);
    }

.explore24-small-groups-row .small-groups-links .region-link {
    width: 95%;
    max-width: 55rem;
    margin-bottom: 1rem;
}

.region-img-wrapper {
    width: 95px;
    height: 95px;
}

.region-link h3 {
    font-size: 24px;
    font-weight: 800;
    color: black;
    left: 8px;
    top: 2px;
    position: relative;
    overflow-wrap: normal;
    width: min-content;
    text-wrap: nowrap;
    white-space: nowrap;
    min-width: 9.6rem;
}

.explore24-small-groups-row .region-link h3 {
    min-width: 29rem;
}

.region-link i.fas.fa-chevron-right {
    color: #132f3b;
    position: relative;
    margin-left: 6.2rem;
    font-size: 19px;
    min-width: 3.2rem;
    top: 2px;
}

.explore24-small-groups .modal .modal-content .modal-header {
    border-bottom: 0px;
    padding: 2.5rem 2rem 2rem 2rem;
    display: block;
    background-color: inherit;
}

    .explore24-small-groups .modal .modal-content .modal-header h4 {
        color: #000;
        font-family: Montserrat;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 48px;
    }

@media only screen and (max-width: 1450px) {
    .explore24-small-groups-col .region-link {
        margin-right: 0.5rem;
    }
}

/* Media Query for Tablet Devices */
@media only screen and (max-width: 991px) {
    .explore24-small-groups {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .explore24-small-groups-row .small-groups-copy {
        padding-right: unset;
        display: flex;
        flex-direction: column;
        justify-content: unset;
        width: 81%;
        margin-left: unset;
        margin-bottom: 3rem;
    }


    .small-groups-copy p {
        font-size: 14px !important;
        line-height: 2 !important;
        margin-left: unset !important;
    }

    .region-link h3 {
        min-width: 29rem;
    }

    .small-groups-links-wrapper {
        min-width: unset;
        margin-left: unset;
        display: flex;
        flex-direction: column;
    }

        .small-groups-links-wrapper h3.mb-5 {
            font-size: 1.9rem !important;
            max-width: 50%;
            align-self: center;
            font-weight: 600;
        }

    .explore24-small-groups h1 {
        font-size: 2.1rem;
        max-width: 86%;
        align-self: center;
        line-height: 1.4;
        margin-bottom: 1rem !important;
    }

    .small-groups-links {
        text-align: start;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .small-groups-links .region-link {
        height: 80px !important;
        width: 100%;
        max-width: 47rem;
        margin-bottom: 1.5rem;
    }

    .region-link h3 {
        font-size: 1.8rem;
    }

    .region-img-wrapper {
        display: flex;
    }

    .region-img-wrapper img {
        right: 6px;
        positioN: relative;
        align-self: center;
        height: 7rem;
        width: 7.5rem;
        border-radius: 64px;
    }

    .explore24-small-groups-col .region-link {
        margin-right: 0;
    }

    .region-link h3 {
        text-wrap: pretty;
        font-size: 1.8rem;
        white-space: pre-wrap;
    }

    .region-link i.fas.fa-chevron-right {
        margin-left: 5.2rem;
        font-size: 1.6rem;
    }
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 767px) {
    .explore24-small-groups h1 {
        font-size: 2.1rem;
    }

    .small-groups-copy p {
        font-size: 14px !important;
    }

    .region-link h3 {
        min-width: 14rem;
    }

    .small-groups-links .region-link {
        height: 80px !important;
        width: 70%;
        max-width: 55rem;
        margin-bottom: 1.5rem;
    }
}
