@import "common.css";

:root {

    --card-width: 24rem;

}

.map-wrapper a {

    color: var(--ny-cyan);

}

.section {

    align-items: start;

}

.card-bg-01 {

    background-image: url('../images/card-bg-01.jpg');
    background-position: 30%;

}

.our-team {

    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;

}

.our-team > h4 {

    background: transparent;
    padding: 0;
    width: 100%;
    box-shadow: none;
    margin-bottom: 0;

}

.our-team > div.card-wrapper {

    margin: 0 auto !important;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    min-height: 400px;
    width: calc(100% - 10rem);
    max-width: 1280px;
    background: transparent;
    box-shadow: none;
    flex-wrap: wrap;

}

.person-card {

    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 2rem;
    gap: 1rem;
    align-items: center;
    width: var(--card-width);
    height: calc(var(--card-width) * 1.618);
    background: white;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    flex-shrink: 0;

}

.person-photo {

    width: 200px;
    height: 200px;
    background-color: #efefef;
    background-size: cover !important;
    border-radius: 100px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;

}

.photo-01 {

    background: url("../images/people/about-1.jpg") center;

}

.photo-02 {

    background: url("../images/people/about-2.jpg") center;

}

.person-name {

    color: var(--ny-orange);
    font-size: 16pt;

}

.person-description {

    padding-top: 1rem;
    border-top: rgba(246,130,31,0.5) 1px solid;

}

.map-wrapper {

    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    gap: 2rem;

}

.map-wrapper > div:first-child {

    flex-grow: 1;
    flex-basis: 300px;
    height: 400px;

}

.map-wrapper > div:last-child {

    flex-grow: 5;
    height: 400px;

}

@media screen and (max-width: 512px) {

    .our-team {

        padding: 0;

    }

    .our-team > h4 {

        padding: 2rem 2rem 0 2rem;

    }

    .our-team > div.card-wrapper {

        margin: 0 !important;

    }

    .our-team > div.card-wrapper > div.person-card {

        width: 100vw;

    }

}

@media screen and (max-width: 1554px) {

    .section {

        align-items: center;

    }

}

@media screen and (max-width: 863px) {

    .person-card {

        height: auto !important;

    }

}

@media screen and (max-width: 960px) {

    .our-team {

        box-shadow: none !important;

    }

    .our-team > div.card-wrapper {

        min-width: var(--card-width);

    }

    .map-section {

        background: none !important;
        padding: 0;
        align-items: center;
        gap: 0;
        box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);

    }

    .map-section > h4 {

        background: transparent;
        box-shadow: none;
        padding: 2rem 2rem 0 2rem;
        margin-bottom: 0;

    }

    .map-wrapper {

        padding-top: 1rem !important;
        flex-direction: column;
        box-shadow: none !important;
        gap: 0;

    }

}