@charset "utf-8";

.custom_locations_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    margin: 20px 0 60px 0;
}
.custom_locations_list_item {
    /* min-height: 300px; */
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: space-between;
    padding: 40px;
    transition: ease all 300ms;
    background-color: var(--blue);
}
.custom_locations_list_item_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
}
.custom_locations_list_item_image:after {
    content: "";
    display: block;
    background: var(--blue);
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.thepage .custom_locations_list_item h2,
.thepage .custom_locations_list_item h3,
.thepage .custom_locations_list_item h4,
.thepage .custom_locations_list_item h5,
.thepage .custom_locations_list_item h6 {
    color: var(--yellow);
    font-size: 0.9em;
    transition: ease all 300ms;
    font-weight: 700;
    position: relative;
    z-index: 4;
    margin-top: 0;
}

.thepage .custom_locations_list_item p {
    font-size: 0.6em;
    color: white;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 4;
}
.thepage .custom_locations_list_item p.has_map {
    padding-right: 50px;
    min-height: 50px;
}
.thepage .custom_locations_list_item p.has_map a {
    position: absolute;
    right: 0;
    top: -0;
    height: 50px;
    width: 50px;
    color: var(--yellow);
    font-size: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a2c7a;
    transition: ease all 200ms;
    border: 1px solid #0a2c7a;
    border-radius: 50%;
    text-decoration: none !important;
}
.thepage .custom_locations_list_item p.has_map a:hover {
    border-color: var(--yellow);
}
.thepage .custom_locations_list_item p:first-child {
    margin-top: 20px;
}
.custom_locations_list_item p:first-child:before {
    content: "";
    width: 25px;
    height: 1px;
    position: absolute;
    display: block;
    background: var(--yellow);
    top: -10px;
    left: 0;
}
.thepage .custom_locations_list_item p:last-child {
    margin-bottom: 0px !important;
}

.custom_locations_list_item_button {
    margin: 15px 0 0 0;
}

@media (max-width: 1100px) {
    .custom_locations_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .custom_locations_list_item {
        padding: 30px;
        border-radius: 30px;
    }
}
@media (max-width: 700px) {
    .custom_locations_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .custom_locations_list_item {
        padding: 25px;
        border-radius: 20px;
    }
}
