/* Slideshow Container Styles */
.slideshow-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.slideshow-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    width: 100%;
    align-items: stretch;
}

.slideshow-column {
    flex: 1 1 50%;
    width: 50%;
    min-width: 320px;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.slideshow-column h3 {
    font-family: 'Lora', serif;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-size: 20px;
}

/* Slideshow Styles */
.slideshow {
    position: relative;
    background: transparent;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
}


.slides {
    display: none;
    padding: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 500px;
}


/* Person Card Styles */
.person-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    border: none;
    background: none;
}

.person-card img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 0;
}

/* Navigation Controls */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 8px 12px;
    color: rgba(0, 87, 183, 0.5);
    font-weight: normal;
    font-size: 14px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0.4;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 87, 183, 0.5);
    color: white;
    opacity: 0.8;
}

.slideshow:hover .prev,
.slideshow:hover .next {
    opacity: 0.6;
}


/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .slideshow-column {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    
    .slideshow,
    .slides,
    .person-card {
        height: 320px;
        min-height: 320px;
        max-height: 320px;
    }
    
    .person-card img {
        width: 100%;
        height: 100%;
        max-height: 320px;
    }
    
    .prev, .next {
        padding: 10px;
        margin-top: -16px;
    }
}
