.ecs-slider {   
    padding: 50px 0px;
    position: relative;
    padding-top: 95px; 
    padding-bottom: 10px;
}
.ecs-slide { text-align: center; }
.ecs-card {
    background: #fcb0cb;
    border: 1px solid #fcb0cb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ecs-popup-body p {
    margin-bottom: 12px;
}
.ecs-popup-body strong {
    font-weight: 600;
}
.ecs-modal-content {
    background-color: #fff;
    padding: 15px;
    border: 1px solid;
    border-radius: 15px;
    position: relative;
}
.ecs-slide .swiper-button-next:after, 
.ecs-slide .swiper-button-prev:after {
    color: #261e24;
}
 .swiper-button-next.swiper_color_style, .swiper-button-prev.swiper_color_style{
     color: #261e24;
}
 .swiper-button-next.swiper_color_style, 
 .swiper-button-prev.swiper_color_style{
position: relative;
 }
 .swiper-button-next.swiper_color_style:after, 
 .swiper-button-prev.swiper_color_style:after{
     font-size: 25px;
}
.board_member_content_popup p{
    margin: 10px;
}
.social_more{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.read_more{
    font-size: 14px;
    color: #fe0002;
    font-weight: bold;
}
.ecs-card .social_more img {
    max-width: 15px;
    min-height: auto !important;
    border-radius: 0px !important;
    width: 18px !important;
    margin: 0px !important;
    max-width: inherit !important;

}
.board_member_arrow {
    position: absolute;
    top: 20px;
    right: 10px;
    display: flex;
    flex-direction: row-reverse;
    z-index: 2;
    gap: 24px;
    font-size: 16px;
    bottom: auto;
}
.ecs-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.ecs-card img {
    width: 100%;
    border-radius: 12px !important;
    margin-bottom: 10px;
    margin-top: -60px;
    margin-top: -60px;
    min-height: 223px;
    object-fit: cover;
    object-position: bottom;
    border: 1px solid #fcb0cb !important;
}
.ecs-card h4 { font-size: 22px; margin: 10px 0; }
.ecs-description {
    font-size: 16px;
    line-height: 29px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}
/* Modal */
.ecs-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 200px; /* <-- Adds space on top and bottom */
    overflow-y: auto; /* Allow scroll if content is tall */
}
.board_member_popup .ecs-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    max-width: 90%;
    width: 90%;
    position: relative;
}
.board_member_popup .ecs-modal-content  p{
    font-size: 18px;
    line-height: 32px;
}
.ecs-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@media only screen and (max-width: 575px){
    .ecs-description {
    -webkit-line-clamp: 3;
}
.ecs-modal-content {
height: 650px;
overflow-y: scroll;
}
}