/* Team Carousel - Simple Version */

/* Main title */
.team-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* Carousel container */
.team-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Carousel */
.team-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 30px 0 50px;
}

/* Track - the moving part */
.team-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

/* Individual slide */
.team-slide {
    flex: 0 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

/* Inner content wrapper */
.team-slide-inner {
    position: relative;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image container */
.team-slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Image styling */
.team-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Text info container */
.team-slide-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    background-color: #638CC7;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 10px;
}

/* Name styling */
.team-slide-name {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
}

/* Position styling */
.team-slide-position {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.3;
}

/* Navigation container */
.team-carousel-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 30px;
}

/* Reset all button styles first to prevent theme conflicts */
.team-carousel-container .team-carousel-navigation button {
    all: unset;
    cursor: pointer;
    box-sizing: border-box;
	padding: 5px 35px;
}

/* Navigation buttons - clean gray square style */
.team-carousel-container .team-carousel-prev,
.team-carousel-container .team-carousel-next {
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px;
    color: #333 !important;
    background-color: #F9F9F9 !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

/* Button hover states */
.team-carousel-container .team-carousel-prev:hover:not(:disabled),
.team-carousel-container .team-carousel-next:hover:not(:disabled) {
    background-color: #f0f0f0 !important;
}

/* Active/pressed state */
.team-carousel-container .team-carousel-prev:active:not(:disabled),
.team-carousel-container .team-carousel-next:active:not(:disabled) {
    transform: translateY(1px);
}

/* Disabled button states */
.team-carousel-container .team-carousel-prev.disabled,
.team-carousel-container .team-carousel-next.disabled,
.team-carousel-container .team-carousel-prev:disabled,
.team-carousel-container .team-carousel-next:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    background-color: #f9f9f9 !important;
    color: #999 !important;
}

/* Desktop specific - handle the edge cut-off effect */
@media (min-width: 992px) {
    /* Create a subtle cut-off effect with overflow on the container */
    .team-carousel-container {
        overflow: hidden;
    }
    
    /* Make the track wider than the container */
    .team-carousel-track {
        width: 120%;
        margin-left: -10%;
    }
    
    /* Create spacing between slides */
    .team-slide {
        padding: 0 20px;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991px) {
    .team-slide-inner {
        height: 280px;
    }
    
    .team-carousel-container {
        overflow: hidden;
    }
}

/* Mobile style adjustments */
@media (max-width: 767px) {
    .team-carousel-navigation {
        gap: 20px;
    }
    
    .team-carousel-container {
        overflow: hidden;
        padding: 0 10px;
    }
    
    .team-slide-inner {
        height: 280px;
    }
    
    .team-carousel {
        padding: 20px 0 40px;
    }
}