#heroSection {
    background: linear-gradient(135deg, #ffedd5, #ffe4e6);
}

#heroSection .section-container .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#heroSection h1 {
    text-align: center;
    text-wrap: balance;
}

#heroSection h1 span {
    background: linear-gradient(90deg, var(--orange), var(--pink));
    background-clip: text;
}

#heroSection p {
    color: var(--grey);
    text-align: center;
    text-wrap: balance;
}

#heroSection a {
    padding: 10px 30px;
    border-radius: var(--low-radius);
}

#heroSection figure {
    margin: 20px auto -5rem auto;
    width: max-content;
}

#heroSection figure img {
    max-width: 200px;
}


/* Centers Section*/
#centers h2,
#centers .section-container > p {
    text-align: center;
    text-wrap: balance;
}

#centers .section-container > p {
    color: var(--grey);
}

#centers #mapContainer {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    z-index: 50;
}

#centers #map {
    height: 500px;
    border-radius: var(--medium-radius);
    border: var(--border);
    box-shadow: var(--medium-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

#centers .spinner {
    border: 8px solid var(--grey);
    border-top: 8px solid var(--orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#centers #map .gmnoprint.gm-style-mtc-bbw {
    display: none;
}

#centers #mapContainer #commands {
    position: absolute;
    top: 10px;
    left: 10px;
}

#centers #mapContainer #commands button {
    border-radius: var(--hight-radius);
    border: 1px solid var(--orange);
    background: linear-gradient(90deg, var(--orange), var(--pink));
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    gap: 10px;
    padding: 8px 15px;
    position: relative;
    z-index: 99;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

#centers #mapContainer #commands button.isOpened {
    color: var(--orange);
    background: linear-gradient(90deg, #eff6ff, #fdf2f8);
}

#centers #mapContainer #commands button .btn  {
    width: 24px;
    padding: 10px;
}

#centers #mapContainer #commands button span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    display: block;
    width: 12px;
    height: 2px;
    background-color: var(--white);
    transition: background 0.3s;
}

#centers #mapContainer #commands button span::before,
#centers #mapContainer #commands button span::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    transform: translateY(-6px);
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.3s;
}

#centers #mapContainer #commands button span::before {
    margin-left: -6px;
}

#centers #mapContainer #commands button span::after {
    transform: translateY(6px);
    top: 2px;
    width: 6px;
    margin-left: 3px;
}

#centers #mapContainer #commands button.isOpened span {
    background: transparent;
}

#centers #mapContainer #commands button.isOpened span::before {
    transform: translateY(0) rotate(45deg);
    top: 0;
    background-color: var(--orange);
}

#centers #mapContainer #commands button.isOpened span::after {
    transform: translateY(0) rotate(-45deg);
    top: 0;
    width: 24px;
    margin-left: -6px;
    background-color: var(--orange);
}

#centers #mapContainer .filters {
    border: var(--border);
    border-color: var(--orange);
    padding: 20px;
    border-radius: 10px;
    max-height: 0;
    overflow: scroll;
    margin-top: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(90deg, #eff6ff, #fdf2f8);
}

#centers #mapContainer .filters.isOpened {
    max-height: 375px;
    overflow: auto;
    opacity: 1;
    z-index: 99;
}

#centers #mapContainer .filters > div > span {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
    align-items: center;
}

#centers #mapContainer .filters > div > span i {
    color: var(--orange);
}

#centers #mapContainer .filters label {
    font-size: 14px;
    width: max-content;
    font-weight: 400;
    color: var(--grey);
}

#centers #mapContainer .filters input[type="checkbox"] {
    display: none;
}

#centers #mapContainer .filters label span::before {
    font-family: "Font Awesome 5 Free";
    content: '\f0c8';
    font-size: 16px;
    color: var(--grey);
    margin-right: 5px;
}

#centers #mapContainer .filters input[type="checkbox"]:checked + span::before {
    content:'\f14a';
    color: var(--orange);
}

#centers #mapContainer .filters .status {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: var(--border);
}

#centers #mapContainer .filters .status div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#centers #mapContainer .filters .location div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#centers #mapContainer .filters .location div .region {
    color: var(--orange);
    font-weight: 500;
}

#centers #mapContainer .filters .location div .city {
    padding-left: 20px;
}

#centers #mapContainer .property {
    align-items: center;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    gap: 15px;
    max-height: 45px;
    min-height: 45px;
    width: 45px;
    justify-content: center;
    padding: 5px;
    position: relative;
    transition: all 0.3s ease-out;
    border: 1px solid var(--orange);
    z-index: 50;
}

#centers #mapContainer .property::after {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--orange);
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 95%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

#centers #mapContainer .property.openSoon {
    border: 1px solid var(--pink);
}

#centers #mapContainer .property.openSoon::after {
    border-top: 12px solid var(--pink);
}

#centers #mapContainer .property.highlight {
    background: var(--white);
    border-radius: var(--medium-radius);
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    max-height: 500px;
    width: auto;
    padding: 20px;
}

#centers #mapContainer .property.highlight::after {
    border-top: 12px solid var(--orange);
    top: 100%;
}

#centers #mapContainer .property.openSoon.highlight::after {
    border-top: 12px solid var(--pink);
}

#centers #mapContainer .property.highlight .logo {
    display: none;
}

#centers #mapContainer .property .logo img {
    object-fit: contain;
    width: 35px;
    height: 35px;
    border-radius: var(--hight-radius);
}

#centers #mapContainer .property article {
    max-height: 0;
    max-width: 0;
    overflow: hidden;
}

#centers #mapContainer .property.highlight article {
    max-height: 100vh;
    max-width: 100vh;
    overflow: visible;
}

#centers #mapContainer .property .open-date {
    font-weight: 600;
}

#centers #mapContainer .property ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0 0;
}

#centers #mapContainer .property ul i {
    font-size: 20px;
    color: var(--orange);
}

#centers #mapContainer .property ul p {
    display: flex;
    gap: 10px;
    font-weight: 400;
    color: var(--grey);
}

#centers #mapContainer .btns-container {
    gap: 10px;
    display: none;
}

#centers #mapContainer .btns-container a {
    border-radius: var(--low-radius);
    display: flex;
    gap: 10px;
    align-items: center;
}

#centerList {
    margin-top: 30px;
}

#centerList .cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#centerList .cards-container .loadingMessage {
    margin: auto;
}

#centerList article {
    border: var(--border);
    box-shadow: var(--small-shadow);
    border-radius: var(--medium-radius);
    overflow: hidden;
    position: relative;
}

#centerList article figure {
    display: flex;
}

#centerList article img {
    height: 200px;
}

#centerList article > div {
    padding: 20px;
}

#centerList article ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

#centerList article ul p,
#centerList article ul a {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--grey);
    font-weight: 400;
    text-wrap: balance;
}

#centerList article ul i {
    color: var(--orange);
    font-size: 20px;
}

#centerList article .btns-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#centerList article .btns-container a {
    width: 100%;
    border-radius: var(--low-radius);
    display: flex;
    gap: 10px;
    justify-content: center;
}

#centerList .status.openingSoon {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px 10px;
    display: flex;
    gap: 5px;
    background: var(--primary-gradient);
    border-radius: var(--hight-radius);
    color: var(--white);
    font-size: .75rem;
    font-weight: 500;
    align-items: center;
}

#centerList .status.openingSoon i {
    color: var(--white);
    font-size: 20px;
}

#centerList #loadMoreBtn {
    border-radius: var(--low-radius);
    margin: 30px auto 0 auto;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    border: none;
}


    /* Pad Version */
    @media screen and (min-width: 768px) {
        /* Hero Section */
        #heroSection figure {
            margin: 30px auto -6.5rem auto;
        }

        #heroSection figure img {
            max-width: 225px;
        }


        /* Centers Section*/
        #centers #map {
            height: 500px;
        }

        #centers #mapContainer #commands {
            top: 20px;
            left: 20px;
        }

        #centers #mapContainer #commands button,
        #centers #mapContainer .filters > div > span,
        #centers #mapContainer .filters label {
            font-size: 15px;
        }

        #centerList {
            margin-top: 40px;
        }

        #centerList .cards-container {
            flex-direction: row;
            flex-wrap: wrap;
        }

        #centerList article {
            width: calc(50% - 10px);
        }

        #centerList article img {
            height: 225px;
        }

        #centerList article .btns-container {
            margin-top: 30px;
        }

        #centerList #loadMoreBtn {
            font-size: 15px;
        }
    }


        /* Desktop Version */
        @media screen and (min-width: 992px) {
            /* Hero Section*/
            #heroSection .section-container {
                gap: 60px;
                display: flex;
                justify-content: space-between;
            }

            #heroSection .section-container .content {
                width: 55%;
                align-items: flex-start;
            }

            #heroSection h1 {
                text-align: left;
            }

            #heroSection p {
                text-align: left;
            }

            #heroSection figure {
                margin: 0 auto -7.5rem auto;
            }

            #heroSection figure img {
                max-width: 250px;
            }


            /* Centers Section*/
            #centers #mapContainer {
                display: flex;
                border: var(--border);
                box-shadow: var(--medium-shadow);
            }

            #centers #mapContainer #commands {
                position: static;
                width: 20%;
                min-width: 300px;
                padding: 20px;
                background: linear-gradient(90deg, #eff6ff, #fdf2f8);
            }

            #centers #mapContainer #commands button,
            #centers #mapContainer #commands button.isOpened {
                width: 100%;
                border: none;
                border-radius: 0;
                background: var(--white);
                color: var(--grey);
                cursor: auto;
                display: flex;
                justify-content: center;
                border-bottom: var(--border);

                padding: 0 0 20px 0;
            }

            #centers #mapContainer #commands button .btn {
                display: none;
            }

            #centers #mapContainer .filters,
            #centers #mapContainer .filters.isOpened {
                max-height: none;
                opacity: 1;
                border: none;
                padding: 0;
                margin-top: 20px;
                background: transparent;
            }

            #centers #mapContainer .filters .status {
                margin-bottom: 20px;
                padding-bottom: 20px;
                border: none;
            }

            #centers #map {
                height: 700px;
                width: 80%;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
                border: none;
            }
            #centers #mapContainer #commands button,
            #centers #mapContainer #commands button.isOpened,
            #centers #mapContainer .filters > div > span,
            #centers #mapContainer .filters label {
                font-size: 16px;
                background: transparent;
            }

            #centers #mapContainer .filters .filters-list {
                margin-left: 20px;
            }

            #centers #mapContainer .property ul {
                margin-bottom: 20px;
            }

            #centers #mapContainer .btns-container {
                display: flex;
            }

            #centerList {
                margin-top: 50px;
            }

            #centerList article {
                width: calc(33% - 10px);
            }

            #centerList article img {
                height: 250px;
            }

            #centerList article ul {
                gap: 15px;
            }

            #centerList article .btns-container {
                gap: 15px;
            }

            #centerList #loadMoreBtn {
                font-size: 16px;
            }
        }