/* Slide Bản Cổ Văn - CSS */

.researchers-slide {
    position: relative;
    background: #ffffff;
    padding-top: 80px;
    overflow: hidden;
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 20px;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    text-align: left;
}

.slide-navigation {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-arrow {
    background: transparent;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 30px;
}

.slide-container {
    position: relative;
    /* max-width: 100%; */
    margin: 0 auto;
    padding: 0 20px;
}

/* Swiper Container */
.ban-co-van-swiper {
    width: 100%;
    height: auto;
    padding: 20px 0;
    overflow:visible;
}

.swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-navigation .swiper-button-next:after, .slide-navigation .swiper-button-prev:after{
    content: '';
}

.slide-content {
    padding: 40px 20px;
}

.quote-text {
    margin-bottom: 30px;
}

.quote-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.quote-text p:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #3498db;
    font-family: serif;
}

.researcher-info {
    border-left: 4px solid #3498db;
    padding-left: 20px;
}

.researcher-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.researcher-title {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.researcher-image {
    text-align: center;
    /* padding: 20px; */
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.researcher-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.researcher-image img:hover {
    transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.ban-co-van-swiper .swiper-button-next,
.ban-co-van-swiper .swiper-button-prev {
    color: #3498db;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ban-co-van-swiper .swiper-button-next:after,
.ban-co-van-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.ban-co-van-swiper .swiper-button-next:hover,
.ban-co-van-swiper .swiper-button-prev:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1);
}

/* Swiper Pagination */
.ban-co-van-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.ban-co-van-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
    transition: all 0.3s ease;
}

.ban-co-van-swiper .swiper-pagination-bullet-active {
    background: #3498db;
    transform: scale(1.2);
}

.accessibility-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accessibility-icon:hover {
    background: #2980b9;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure images stay within bounds */
.swiper-slide .researcher-image {
    max-height: 500px;
    min-height: 400px;
}

.swiper-slide .researcher-image img {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .slide-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .quote-text p {
        font-size: 1.1rem;
    }
    
    .researcher-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .researchers-slide {
        padding: 60px 0;
    }
    
    .slide-container {
        padding: 0 15px;
    }
    
    .slide-header {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .slide-title {
        font-size: 1.5rem;
        flex: 1;
        margin-right: 15px;
    }
    
    .slide-navigation {
        gap: 6px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 20px 10px;
    }
    
    .quote-text p {
        font-size: 1rem;
        padding-left: 20px;
    }
    
    .quote-text p:before {
        font-size: 2rem;
        top: -5px;
    }
    
    .researcher-name {
        font-size: 1.3rem;
    }
    
    .researcher-title {
        font-size: 0.9rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .accessibility-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Mobile image constraints */
    .swiper-slide .researcher-image {
        max-height: 300px;
        min-height: 250px;
        padding: 10px;
    }
    
    .swiper-slide .researcher-image img {
        max-height: 280px;
    }
}

@media (max-width: 576px) {
    .slide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .slide-title {
        font-size: 1.3rem;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .slide-navigation {
        align-self: flex-end;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .quote-text p {
        font-size: 0.95rem;
    }
    
    .researcher-name {
        font-size: 1.2rem;
    }
    
    .researcher-title {
        font-size: 0.85rem;
    }
}
