/* Carousel card + modal skin */
:root {
    --swiper-navigation-size: 25px;
    --swiper-navigation-color: #fff;
    --swiper-navigation-sides-offset: -8px;
}
html.tc-no-scroll { overscroll-behavior: contain; }
.tc-team-carousel{
    position:relative;
    margin: 0 20px;
}

.tc-team-carousel .swiper-slide{width:auto}
.tc-card{ overflow:hidden; background:#0a6a86; color:#fff}
.tc-card img {
    display: block;
    object-fit: cover;
    border-radius: 6px;
    
}
.tc-modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.6); 
    display: none; 
    align-items: start; 
    justify-content: center; 
    z-index: 9999;
    overflow-y: scroll;
    padding-top: 100px;
    padding-bottom: 100px;
}
.tc-modal {
    background:#066885; 
    color:#fff; 
    width:min(920px,92vw); 
    border-radius:20px; 
    padding: 50px; 
    box-shadow:0 8px 30px rgba(0,0,0,.4); 
    position:relative;
}
.tc-top{display:grid; grid-template-columns:1.2fr .9fr; gap:24px; align-items:center}
.tc-name{
    font-size: 40px; 
    font-weight: 600; 
    margin:0;
    font-family: "Sofia Sans", Sans-serif;
}
.tc-pos{
    opacity: .9; 
    margin: 2px 0 40px;
    font-size: 21px; 
    font-family: "Sofia Sans", Sans-serif;
    font-weight: 400;
}
.tc-desc {
    font-size: 16px; 
    font-family: "Sofia Sans", Sans-serif;
    font-weight: 400;
    margin: 0 0 40px;
}
.tc-photo{overflow:hidden}
.tc-photo img{width:100%; height:auto;border-radius:16px; }
.tc-btn{
    color: var(--e-global-color-84ed037);
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 50px 15px 50px;
    font-family: "Sofia Pro", Sans-serif;
    font-size: 16px;
    font-weight: 400;
}
.tc-btn:hover {
    background-color: var(--e-global-color-84ed037);
    color: #fff;
}
.tc-reviews{
    margin-top: 50px;
}
.tc-review{
    padding: 12px 0;
    
}
.tc-review:first-child{border-top:none}
.tc-avatar{width:50px; height:50px; border-radius:50%; overflow:hidden}
.tc-stars {
    letter-spacing: 2px;
    color: rgba(244, 180, 62, 1);
}
.tc-close{
    position:absolute; 
    right: 0px; 
    top: 0; 
    background: transparent; 
    border:none; 
    color: #fff; 
    font-size: 28px; 
    cursor: pointer;}


.tc-reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Review clamp + toggle */
.tc-rtext { 
    position: relative; 
    font-family: "Sofia Sans", Sans-serif;
    font-size: 14px;
}
.tc-rtext--clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-rtext--expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }

.tc-readmore { 
    margin-top: 6px; 
    background: transparent; 
    border: 0 !important; 
    color: #fff !important; 
    cursor: pointer !important; 
    font-weight: 400 !important; 
    padding: 0 !important; 
    font-family: "Sofia Sans", Sans-serif !important;
    font-size: 14px !important;
}
.tc-readmore:hover {
    background: transparent !important; 
    color: #000 !important;
}
.tc-readmore:focus { 
    color: #000 !important;
    background: transparent !important; 
    
}

@media screen and (max-width:768px){
    .tc-modal {
        padding: 50px 20px 30px 20px;
    }
    .tc-top {
        grid-template-columns: 1fr;
    }
    .tc-top div:first-child {
        order: 2;
    }
    .tc-top .tc-photo {
        order: 1;
    }
    .tc-reviews-container {
        grid-template-columns: 1fr;
    }
    .tc-modal-overlay {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}