/* Events Slider Styles */
.nd-events-slider-container {
    position: relative;
    padding-top: 60px;
    /* Space for arrows if absolute */
    padding-bottom: 20px;
}



.nd-event-image {
    width: 100%;
    flex: 1;
    /* Takes remaining space */
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
    min-height: 200px;
}

/* Info Box */
.nd-event-info {
    background-color: #385DA8;
    color: #fff;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Not absolute */
    min-height: 65px;
}

.nd-event-details {
    flex: 1;
    padding-right: 15px;
}

.nd-event-title {
    color: #fff;
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
}

.nd-event-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 0px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    /* Category styles merged essentially or hidden? User screenshot usually showed Category OR Desc. Keeping Desc as requested */
}

.nd-event-category {
    display: none;
    /* Hiding category to match clean design, or we can put it above title */
}

.nd-event-year {
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    color: #fff;
    flex-shrink: 0;
}

/* Swiper Pagination */
.nd-events-pagination {
    position: static !important;
    margin-top: 25px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background: #385DA8;
}

/* Swiper Slide Fix */
.nd-events-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Card Structure */
.nd-event-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Header (Title + Arrows) */
.nd-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    gap: 20px;
}

.nd-events-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #172748;
    margin: 0;
    line-height: 1.2;
}

/* Navigation Arrows (Static in Flex Header) */
.nd-events-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    /* Prevent arrows from shrinking */
}

.nd-events-prev,
.nd-events-next {
    width: 36px;
    height: 36px;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    /* Correct size for entities */
    line-height: 1;
    padding-bottom: 2px;
    /* Visual center tweak */
}

/* Both buttons have same style now */
.nd-events-prev:hover,
.nd-events-next:hover {
    background: #2e55cc;
}

@media (max-width: 768px) {
    .nd-events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nd-events-nav {
        align-self: flex-end;
    }
}