/**
 * Awards Carousel Widget Styles
 * Swiper-based carousel for Merit Award winners
 */

.marthoma-awards-carousel {
    position: relative;
    width: 100%;
}

/* Swiper Container */
.marthoma-awards-carousel .swiper {
    width: 100%;
    overflow: hidden;
}

.marthoma-awards-carousel .swiper-wrapper {
    display: flex;
}

.marthoma-awards-carousel .swiper-slide {
    flex-shrink: 0;
    width: auto;
}

/* Award Card */
.marthoma-awards-carousel .award-card {
    display: flex;
    flex-direction: column;
}

/* Award Photo */
.marthoma-awards-carousel .award-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    display: block;
    background-color: #f5f5f5;
}

.marthoma-awards-carousel .award-photo-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* Award Info */
.marthoma-awards-carousel .award-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
    text-align: center;
}

.marthoma-awards-carousel .award-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #04141E;
    display: block;
}

.marthoma-awards-carousel .award-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #04141E;
    margin: 0;
    line-height: 1.4;
}

.marthoma-awards-carousel .award-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #04141E;
    margin: 0;
    line-height: 1.4;
}

.marthoma-awards-carousel .award-honor {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #04141E;
    margin: 0;
    line-height: 1.4;
}

/* Navigation Buttons */
.marthoma-awards-carousel .awards-navigation {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.marthoma-awards-carousel .awards-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #04141E;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.marthoma-awards-carousel .awards-nav-btn:hover {
    background: #04141E;
}

.marthoma-awards-carousel .awards-nav-btn:hover svg {
    stroke: #fff;
}

.marthoma-awards-carousel .awards-nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: #04141E;
    transition: stroke 0.3s ease;
}

.marthoma-awards-carousel .awards-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.marthoma-awards-carousel .awards-nav-btn.swiper-button-disabled:hover {
    background: transparent;
}

.marthoma-awards-carousel .awards-nav-btn.swiper-button-disabled:hover svg {
    stroke: #04141E;
}

/* Responsive */
@media (max-width: 1024px) {
    .marthoma-awards-carousel .award-photo {
        height: 220px;
    }

    .marthoma-awards-carousel .awards-navigation {
        top: -50px;
    }

    .marthoma-awards-carousel .awards-nav-btn {
        width: 40px;
        height: 40px;
    }

    .marthoma-awards-carousel .awards-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .marthoma-awards-carousel .award-photo {
        height: 200px;
    }

    .marthoma-awards-carousel .awards-navigation {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .marthoma-awards-carousel .award-year {
        font-size: 16px;
    }

    .marthoma-awards-carousel .award-name {
        font-size: 14px;
    }

    .marthoma-awards-carousel .award-title,
    .marthoma-awards-carousel .award-honor {
        font-size: 12px;
    }
}
