/* Custom styles for tabbed section single item display */

/* Single item centering for donations and grants tabs */
.tab-pane .swiper-wrapper.single-item {
    justify-content: center !important;
    display: flex !important;
}

.tab-pane .swiper-slide.single-item {
    max-width: 500px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
}

/* Responsive adjustments for single items */
@media (max-width: 768px) {
    .tab-pane .swiper-slide.single-item {
        max-width: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .tab-pane .swiper-slide.single-item {
        max-width: 450px !important;
    }
}

@media (min-width: 1200px) {
    .tab-pane .swiper-slide.single-item {
        max-width: 500px !important;
    }
}

/* Enhanced card content for descriptions */
.donation-card .box-content .card-description {
    margin: 10px 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Center empty state messages */
.tab-pane .empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 300px;
}

.tab-pane .empty-state .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
}

/* Ensure proper spacing for single items */
.tab-pane .swiper.single-item-slider {
    padding: 0 20px;
}

.tab-pane .swiper.single-item-slider .swiper-wrapper {
    justify-content: center;
} 