/**
 * Photo Carousel Styles
 */

.mb-photo-carousel {
    margin-bottom: 2rem;
}

/* Photo Carousel Item */
.mb-photo-carousel-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    padding:0;
}

.mb-photo-carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Photo Carousel Content */
.mb-photo-carousel-content {
    padding: 1rem;
}

.mb-photo-carousel-text {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.mb-photo-carousel-text p {
    margin: 0 0 0.5rem 0;
}

.mb-photo-carousel-text p:last-child {
    margin-bottom: 0;
}

/* Photo Carousel Button */
.mb-photo-carousel-button-wrapper {
    text-align: center;
    margin-top: 1rem;
}

.mb-photo-carousel-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #0073aa;
}

.mb-photo-carousel-button:hover {
    background: #005a87;
    border-color: #005a87;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

/* Inherit carousel navigation styles from main carousel */
.mb-photo-carousel .mb-carousel-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.3em;
    height: 2.3em;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.25em;
}

.mb-photo-carousel .mb-carousel-icon:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.mb-photo-carousel .carousels-go-left {
    left: 6.5em;
}

.mb-photo-carousel .carousels-go-right {
    right: 6.5em;
}
.mb-photo-carousel .mb-carousel-dots {
    right: auto;
    justify-content: center;
}
/* Responsive Design */
@media (max-width: 768px) {
    .mb-photo-carousel-content {
        padding: 0.75rem;
    }
    
    .mb-photo-carousel-text {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .mb-photo-carousel-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .mb-photo-carousel .mb-carousel-icon {
        width: 2em;
        height: 2em;
        font-size: 1em;
    }
    .mb-photo-carousel .mb-carousel-inner, #page-container .et_pb_module.et_pb_photo_carousel_item {
		margin-bottom: 0;
	}
	.mb-photo-carousel .mb-carousel-inner {
		padding-bottom: 64% !important;
	}
	.mb-carousel-icon:before {
		font-size: 1.1em;
	}
	.mb-photo-carousel .carousels-go-left {
		left: 11.5%;
	}
	.mb-photo-carousel .carousels-go-right {
		right: 11.5%;
	}
}
@media (max-width:600px){
	.mb-photo-carousel .mb-carousel-icon {
		font-size: 2em;
	}
}
@media (max-width: 480px) {
    .mb-photo-carousel-content {
        padding: 0.5rem;
    }
    
    .mb-photo-carousel-text {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .mb-photo-carousel-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
    
    .mb-photo-carousel .mb-carousel-icon {
        width: 1.8em;
        height: 1.8em;
        font-size: 0.9em;
    }
}
