.aocs-slider {
    padding: 0 0;
    /* Default padding, can be adjusted by container if needed */
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Allow arrows to bleed out */
}

.aocs-card {
    /* Dimensions and colors are now handled by Elementor controls */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    /* Ensures border-radius clips children */
}

/* Image Wrapper */
.aocs-image-wrap {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.aocs-image-wrap img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Text Content */
.aocs-title {
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.aocs-title::before,
.aocs-title::after {
    content: "";
    display: block;
    width: 60px;
    /* Adjust based on image aspect ratio */
    height: 15px;
    background-image: url('https://dev-ancient-egyptian.pantheonsite.io/wp-content/uploads/2026/02/b-line.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.aocs-title::before {
    transform: scaleX(-1);
    /* OPTIONAL: Mirror the left one if the image is directional. Removing if generic line. */
    /* Based on image name b-line, usually symmetrical, but mirror often looks better for flanking elements */
    transform: none;
}

.aocs-desc {
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* Swiper Slide Transition Styles */
.swiper-slide {
    width: auto;
    /* Required for 'auto' slidesPerView */
    /* Transition for scale and opacity handled by JS/CSS mix mostly in Elementor selector now, 
       but we keep the transition property here for smoothness */
    /* Transition managed by Swiper/JS to avoid conflicts */
    /* transition: transform 0.4s ease, opacity 0.4s ease; */
}

.swiper-slide-active {
    z-index: 10;
}

/* Navigation Buttons - Simple Styling */
.swiper-button-prev,
.swiper-button-next {
    color: #333;
    /* Default color, can be customized or rely on theme */
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.swiper-button-prev {
    left: -60px;
}

.swiper-button-next {
    right: -60px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .swiper-button-prev {
        left: -30px;
    }

    .swiper-button-next {
        right: -30px;
    }
}