:root {
    --art-primary-color: #4e2c78; 
    --art-light-gray: #f4f4f4;
    --art-dark-text: #2b0d50;
}

.art-sliders-wrapper {
    width: 100%;
    margin: 0;
}

.art-slider-section {
    margin-bottom: 60px;
    position: relative;
    padding: 0 50px;
}

.art-category-title {
    font-size: 28px;
    color: var(--art-dark-text);
    margin-bottom: 25px;
    font-weight: 600;
}

/* Swiper and Card Styling */
.art-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.art-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.art-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 12px !important;
}

.art-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.art-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--art-dark-text);
    margin: 0 0 10px 0;
    text-align: center;    
    min-height: 50px;
    display: grid;
    align-items: center;
}

.art-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
    flex-grow: 1;
    text-align: center;
    min-height: 50px;
}

.art-card-button {
    display: inline-block;
    background-color: var(--art-primary-color);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease;   
    max-width: 150px;
    margin: 0 auto;
}

.art-card-button:hover,
.art-card-button:focus {
    background-color: var(--art-dark-text); 
    color: #ffffff;
}

/* Swiper Navigation */
.art-slider-section .swiper-button-next,
.art-slider-section .swiper-button-prev {
    color: var(--art-primary-color);
    top: 55%; 
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.art-slider-section .swiper-button-next {
    right: 0;
}
.art-slider-section .swiper-button-prev {
    left: 0;
}
.art-slider-section .swiper-button-next::after,
.art-slider-section .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .art-slider-section {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .art-slider-section {
        padding: 0; 
    }

    .art-category-title {
        font-size: 24px;
        padding: 0 15px; 
    }

    .art-slider-section .swiper-button-next,
    .art-slider-section .swiper-button-prev {
        display: none;
    }
}