:root{
    --ar-team-style-one: rgb(241, 241, 241);
    --ar-team-main-color: #9b6d31;
    --ar-team-light-color: #f2e3c4;
    --ar-team-gradi: linear-gradient(90deg,#9b6d31 30%, #f2e3c4 70%);
    --ar-team-text: #5e3813;
}

.team-wrap{
    position: relative;
    margin: 0 -15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.team-item{
    position: relative;
    margin: 0 15px 30px 15px;
    padding: 0;
}
.team-col-1 .team-item{width: calc(100% * (1/1) - 0px - 0px - 30px);}
.team-col-2 .team-item{width: calc(100% * (1/2) - 0px - 0px - 30px);}
.team-col-3 .team-item{width: calc(100% * (1/3) - 0px - 0px - 30px);}
.team-col-4 .team-item{width: calc(100% * (1/4) - 0px - 0px - 30px);}
.team-col-5 .team-item{width: calc(100% * (1/5) - 0px - 0px - 30px);}
.team-col-6 .team-item{width: calc(100% * (1/6) - 0px - 0px - 30px);}

.team-item .team-image-holder{
    position: relative;
    width: 100%;
    padding-bottom: 115%;
    background: var(--ar-team-main-color);
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    z-index: 5;
}
.team-item .team-image-holder a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 800ms;
}
.team-item .team-image-holder a img{
    position: relative;
    width: 100%;
    height: auto;
}
.team-item .team-image-holder a:hover{transform: scale(1.05);}
.team-item .team-image-holder .team-position{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 60px 25px 25px 25px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    color: #fff;
    width: 100%;
    text-align: right;
    font-size: 14px;
    line-height: 1em;
}
.team-item .team-name-holder{
    position: relative;
    display: block;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
}
.team-item .team-name-holder h3{
    position: relative;
    display: block;
    text-align: right;
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1em;
}
.team-item .team-name-holder .team-social{
    position: relative;
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: end;
}
.team-item .team-name-holder .team-social li{
    position: relative;
    margin: 0 10px 0 0;
}
.team-item .team-name-holder .team-social li:nth-last-child(1){margin: 0;}
.team-item .team-name-holder .team-social li a{
    position: relative;
    display: block;
}
.team-item:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    border-bottom-left-radius: 50px;
    background: linear-gradient(90deg, rgb(41, 41, 41) 30%, rgb(85, 85, 85) 70%);
}


.welcome-single-team-photo-holder{
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--ar-team-gradi);
    overflow: hidden;
}
.welcome-single-team-photo-holder:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #fff, transparent);
    z-index: 5;
}
.welcome-single-team-photo-holder:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;

    /* blur pozadí */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* lehké zesvětlení */
    background: rgba(255,255,255,0.08);

    /* gradient maska */
    mask-image: linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0) 100%);
        
    -webkit-mask-image: linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0) 100%);

    z-index: 1;
    pointer-events: none;
}
.welcome-single-team-photo-holder img{
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: calc(100% + 160px);
    object-fit: cover;
    will-change: transform;
}
.welcome-single-team-photo-holder .welcome-dark-cover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
}
.team-container{
    position: relative;
    margin: 0 auto;
    width: 1000px;
}

.team-information-flex{
    position: relative;
    margin: -300px -15px 20px -15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    z-index: 1;
}
.team-information-flex .team-information-item{
    position: relative;
    margin: 0 15px 30px 15px;
}
.team-information-flex .team-information-item .team-photo-holder{
    position: relative;
    width: 350px;
    padding-bottom: 150%;
    background: var(--ar-team-main-color);
    border-radius: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    overflow: hidden;
}
.team-information-flex .team-information-item .team-photo-holder img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-information-flex .team-information-item .team-title{
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 32px;
    line-height: 1.3em;
}
.team-information-flex .team-information-item span.team-position{
    position: relative;
    display: block;
    color: var(--ar-team-main-color);
    font-size: 18px;
}
.team-information-flex .team-information-item .team-social-links{
    position: relative;
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.team-information-flex .team-information-item .team-social-links li{
    position: relative;
    margin: 0 15px 0 0;
}
.team-information-flex .team-information-item .team-social-links li a{
    position: relative;
    display: block;
}
.team-information-flex .team-information-item .team-contact-list{
    position: relative;
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
}
.team-information-flex .team-information-item .team-contact-list li{
    position: relative;
    margin: 0 5px 0 0;
}
.team-information-flex .team-information-item .team-contact-list li a{
    position: relative;
    display: block;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid var(--ar-team-main-color);
    text-decoration: none;
    color: var(--ar-team-main-color);
    transition: 350ms;
}
.team-information-flex .team-information-item .team-contact-list li a:hover{
    background: var(--ar-team-main-color);
    color: #fff;
}

.team-description{
    position: relative;
    margin: 0 0 40px 0;
    font-size: 16px;
    line-height: 1.5em;
}
.team-socials-holder{
    position: relative;
    padding: 25px 0 70px 0;
    border-top: 1px solid var(--ar-team-main-color);
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}
.team-socials-holder li{
    position: relative;
    margin: 0 5px 0 0;
}
.team-socials-holder li:nth-child(1){margin: 0 15px 0 0;}
.team-socials-holder li.ar-team-last{margin: 0 0 0 auto;}
.team-socials-holder li .team-simple-text{
    position: relative;
    display: block;
    font-size: 10px;
    line-height: 1.3em;
    text-transform: uppercase;
}
.team-socials-holder li a{
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    background: var(--ar-team-main-color);
    border-radius: 100%;
}
.team-socials-holder li a lord-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.team-socials-holder li.ar-team-last a{
    top: 0;
    width: auto;
    height: auto;
    border-radius: 25px;
    padding: 10px 20px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 350ms;
}
.team-socials-holder li.ar-team-last a:hover{
    top: -4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}



.team-section{
    position: relative;
    margin: 0;
    padding: 60px 0 30px 0;
    box-sizing: border-box;
}
.team-section h2{
    position: relative;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.4em;
    font-size: 28px;
    color: var(--ar-team-text);
}
.team-section p{
    line-height: 1.5em;
}
.team-section .text-center{text-align: center;}
.team-section a.team-link{
    position: relative;
    top: 0;
    display: table;
    text-decoration: none;
    color: #fff;
    padding: 13px 30px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1em;
    background: var(--ar-team-text);
    border-radius: 30px;
    transition: 350ms;
}
.team-section a.team-link:hover{
    top: -4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.team-section.style_two{background: var(--ar-team-style-one);}
.team-section.gradi{background: var(--ar-team-gradi);}



.team-display-flex{
    position: relative;
    margin: 0 -15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.team-display-flex .team-display-item{
    position: relative;
    margin: 0 15px 30px 15px;
    flex-grow: 1;
    flex-basis: 0;
}
.team-display-flex .team-display-item.holder-img{
    flex-grow: 0;
    flex-basis: auto;
    width: 300px;
}


.qr-holder{
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.qr-holder img{
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.ar-show-child-post{
    position: relative;
    margin: 25px -10px 20px -10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.ar-show-child-post .ar-show-child-item{
    position: relative;
    margin: 0 10px 20px 10px;
    width: calc(100% * (1/4) - 0px - 0px - 20px);
}
.ar-show-child-post .ar-show-child-item a.ar-child-image-holder{
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ar-team-main-color);
}
.ar-show-child-post .ar-show-child-item a.ar-child-image-holder .ar-child-title-holder{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 40px 20px 20px 20px;
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.65));
}
.ar-show-child-post .ar-show-child-item a.ar-child-image-holder .ar-child-title-holder h3{
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    font-size: 16px;
    line-height: 1.2em;
    color: #fff;
    text-decoration: none;
}
.ar-show-child-post .ar-show-child-item a.ar-child-image-holder img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 800ms;
}
.ar-show-child-post .ar-show-child-item a.ar-child-image-holder:hover img{transform: scale(1.05);}



@media screen and (max-width: 1400px){
    .team-wrap{margin: 0 -10px;}
    .team-item{margin: 0 10px 20px 10px;}
    .team-col-1 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-2 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}
    .team-col-3 .team-item{width: calc(100% * (1/3) - 0px - 0px - 20px);}
    .team-col-4 .team-item{width: calc(100% * (1/4) - 0px - 0px - 20px);}
    .team-col-5 .team-item{width: calc(100% * (1/5) - 0px - 0px - 20px);}
    .team-col-6 .team-item{width: calc(100% * (1/6) - 0px - 0px - 20px);}
}
@media screen and (max-width: 1300px){
    .team-col-3 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}
    .team-col-4 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}
    .team-col-5 .team-item{width: calc(100% * (1/3) - 0px - 0px - 20px);}
    .team-col-6 .team-item{width: calc(100% * (1/3) - 0px - 0px - 20px);}
}
@media screen and (max-width: 1100px){
    .team-container {width: 88%;}
    .team-description {font-size: 14px;}
    .team-information-flex {margin: -230px -15px 20px -15px;}
    .team-information-flex .team-information-item .team-title {font-size: 26px;}
    .team-information-flex .team-information-item span.team-position {font-size: 14px;}
    .welcome-single-team-photo-holder {height: 450px;}
    .team-information-flex .team-information-item .team-photo-holder {width: 270px;}
    .team-information-flex .team-information-item .team-contact-list {
        margin: 15px 0 0 0;
        font-size: 13px;
    }
    .team-information-flex .team-information-item .team-contact-list li a {padding: 8px 15px;}
}
@media screen and (max-width: 900px){
    .team-section h2{font-size: 22px;}
    .ar-show-child-post .ar-show-child-item {width: calc(100% * (1 / 2) - 0px - 0px - 20px);}
    .team-display-flex .team-display-item.holder-img {width: 230px;}
    .team-container {width: 90%;}
    .qr-holder{padding: 10px;}
}
@media screen and (max-width: 800px){
    .welcome-single-team-photo-holder{height: 330px;}
    .team-information-flex .team-information-item .team-photo-holder {width: 200px;}
    .team-information-flex {margin: -120px -15px 20px -15px;}
    .team-information-flex .team-information-item .team-title {font-size: 22px;}
    .welcome-single-team-photo-holder:after{height: 80px;}
    .welcome-single-team-photo-holder:before{height: 140px;}
    .team-section p{font-size: 14px;}
}
@media screen and (max-width: 700px){
    .team-information-flex {margin: -280px -15px 20px -15px;}
    .team-information-flex .team-information-item .team-title{text-align: center}
    .team-information-flex .team-information-item span.team-position {text-align: center;}
    .team-information-flex .team-information-item .team-contact-list{justify-content: center;}
    .team-information-flex .team-information-item .team-contact-list li:nth-last-child(1){margin: 0;}
    .team-information-flex .team-information-item .team-social-links{justify-content: center;}
    .team-information-flex .team-information-item .team-social-links li:nth-last-child(1){margin: 0;}
    .team-information-flex{
        flex-direction: column;
        align-items: center;
    }
    .welcome-single-team-photo-holder {height: 400px;}
    .team-information-flex .team-information-item .team-photo-holder {width: 250px;}
    .team-display-flex{
        flex-direction: column;
        align-items: center;
    }
    .team-section a.team-link{margin: 0 auto;}
    .team-section h2.ar-mobile-center{
        text-align: center;
    }
}


@media screen and (max-width: 660px){
    .team-col-3 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-4 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-5 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}
    .team-col-6 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}
}
@media screen and (max-width: 560px){
    .team-col-3 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-4 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-5 .team-item{width: calc(100% * (1/1) - 0px - 0px - 20px);}
    .team-col-6 .team-item{width: calc(100% * (1/2) - 0px - 0px - 20px);}

    .team-information-flex .team-information-item .team-contact-list{

    }
}
@media screen and (max-width: 520px){
    .team-information-flex .team-information-item .team-contact-list{flex-direction: column;}
    .team-information-flex .team-information-item .team-contact-list li{margin: 0 0 5px 0;}
    .team-socials-holder li.ar-team-last a {
        padding: 10px 14px;
        font-size: 12px;
    }
    .team-socials-holder li.ar-list-text{display: none;}
    .ar-show-child-post .ar-show-child-item a.ar-child-image-holder .ar-child-title-holder {
        padding: 40px 15px 15px 15px;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
    }
    .ar-show-child-post .ar-show-child-item a.ar-child-image-holder .ar-child-title-holder h3{font-size: 14px;}
}


