.lity.lity-opened {
    z-index: 99999999999999 !important;
}

.marketing .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

@media screen and (min-width: 1280px) {
    .marketing .container {
        max-width: 80%;
        margin: 0 auto;
    }
}

.marketing .container .wrapper {
    display: flex;
    flex-wrap: wrap;
}

.marketing .container .wrapper.centered {
    justify-content: center;
}

.marketing .container .wrapper.reversed {
    flex-direction: row-reverse;
}

.marketing .container .wrapper .one-third {
    width: 33.3333%;
}

.marketing .container .wrapper .one-half {
    width: 50%;
}

.marketing-top {
    margin-top: 25px;
    margin-bottom: 50px;
}

.marketing h1 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: 41px;
    font-weight: normal;
}

.marketing-top p {
    line-height: normal;
    font-size: 22px;
    line-height: 1.3;
}

.marketing section h2 {
    font-size: 34px;
    font-weight: normal;
}

.marketing section.team-section h2 {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 25px;
}

.marketing section.team-section h2 + p {
    max-width: 70%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 25px;
}

.member * {
    margin: 0;
}

.team.grid {
    display: grid;
}

.team.grid.grid-col-1 {
    grid-template-columns: 1fr;
    gap: 30px;
}

.team.grid.grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team.grid.grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team.grid.grid-col-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.member {
    display: flex;
    flex-direction: column;
}

.member .member__image {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.member .member__image img {
    width: 100%;
    height: auto;
}

.member .member__title {
    text-align: center;
    margin: 15px 0;;
}

.member .member__title h4 {
    font-size: 20px;
    font-weight: 400;
}

.member .member__title h5 {
    font-size: 16px;
    font-weight: 400;
}

.member .member__details p {
    max-width: 100%;
    line-height: 1.5;
}

section.m-content .content,
section.m-content .content * {
    text-align: left;
    margin: 0;
}

section.m-content .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.m-content .reversed .content {
    padding-left: 50px;
}

section.m-content .content h2 {
    margin-bottom: 0px;
}
section.m-content .content h3 {
    margin-bottom: 15px;
}
section.m-content .content p {
    max-width: 75ch;
}

section.m-content .image-content {
    position: relative;
    margin-top: 0;
    margin-bottom: 40px;
    margin-left: 12px;
    margin-right: 12px;
}

section.m-content .image-content {
    width: 100%;
}

.team-member {
    padding-top: 20px;

    max-width: 60%;
    margin: 0 auto;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;
}

.team-member .team-member__image {
    border-radius: 50%;
    overflow: hidden;
    margin-right: 50px;

    max-width: 300px;
    height: 100%;
}

.team-member .team-member__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.team-member .team-member__content {
    display: flex;
    flex-direction: column;
}   

.team-member .team-member__name-and-job-title  {
    text-align: left;
}

.team-member .team-member__name-and-job-title span {
    font-size: 18px;
}

.team-member .team-member__name-and-job-title span b {
    position: relative;
}

.team-member .team-member__name-and-job-title span b::after {
    content: " |";
    margin: 0 6px 0 0;
    color: #888;
    font-weight: normal;
}

.team-member .team-member__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.team-member .team-member__numbers p {
    margin: 0;
}

.team-member .team-member__website,
.team-member .team-member__address,
.team-member .team-member__address p,
.team-member .team-member__email {
    text-align: left;
}

.team-member .team-member__address p {
    margin: 0;
}

.team-member .team-member__address {
    margin: 30px 0;
}

.team-member .team-member__website a,
.team-member .team-member__email a {
    line-height: 1;
    text-decoration: underline;
}

@media screen and (max-width: 1280px) {
    .team-member {
        max-width: 75%;
    }
}

@media screen and (max-width: 767px) {
    .marketing-top {
        margin-bottom: 30px;
    }
    .marketing h1 {
        font-size: 20px;
    }

    .marketing-top p {
        font-size: 14px;
    }

    .marketing section h2 {
        font-size: 18px;
    }

    .marketing section.team-section h2 {
        margin-bottom: 20px;
    }

    .marketing section.team-section h2 + p {
        max-width: 100%;
    }
    
    .marketing section h3 {
        font-size: 16px;
    }

    .marketing .container .wrapper .one-half,
    .marketing .container .wrapper .one-third {
        width: 100%;
    }

    section.m-content .content,
    section.m-content .reversed .content {
        padding: 0;
        padding-bottom: 25px;
    }

    section.m-content .image-content {
        margin: 0;
    }

    section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .team-member {
        padding-top: 0px;

        flex-direction: column;
        align-items: center;
        max-width: 100%;
        text-align: center;
    }

    .team-member .team-member__image {
        margin: 0;
        margin-bottom: 15px;
    }

    .team-member .team-member__address p,
    .team-member .team-member__address {
        margin: 0;
    }

    .team-member .team-member__website,
    .team-member .team-member__address,
    .team-member .team-member__address p,
    .team-member .team-member__email {
        text-align: center;
    }

    .team-member .team-member__name-and-job-title,
    .team-member .team-member__name-and-job-title span {
        text-align: center;
    }

    .team-member .team-member__name-and-job-title span b {
        display: block;
    }

    .team-member .team-member__name-and-job-title span b::after {
        display: none;
    }

    .team-member__numbers {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .team-member__numbers p {
        margin: 0;
        line-height: 1;
    }

    .team-member .team-member__numbers p + p {
        margin-left: 0;
    }
}
/* Image scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Alternative animation styles - uncomment to use different effects */

/* Fade in from left */
/* 
.animate-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
*/

/* Scale up animation */
/* 
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
*/

/* Fade in with rotation */
/* 
.animate-on-scroll {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
*/

