.fallback-header {
    margin-top: 33px;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 700px; /* Fixed height for desktop */
    overflow: hidden;
    padding-bottom:30px;
}

.slideshow-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-logo {
    position: absolute;
    right: 125px;
    top: 275px;
    max-width: 300px;
    max-height: 150px;
    object-fit: contain;
    z-index: 2;
}



.slideshow-logo {
    position: absolute;
    right: 125px;
    top: 275px;
    max-width: 300px;
    max-height: 150px;
    object-fit: contain;
    z-index: 2;
    transform: translateX(20px); /* Start slightly off-screen */
    opacity: 0; /* Start invisible */
    transition: all 0.5s ease-out 0.3s; /* Smooth transition with delay */
}

.swiper-slide-active .slideshow-logo {
    transform: translateX(0); /* Final position */
    opacity: 1; /* Fully visible */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slideshow-logo {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 30px;
        transform: translateX(calc(-50% + 20px)); /* Center with offset */
        max-width: 200px;
    }
    
    .swiper-slide-active .slideshow-logo {
        transform: translateX(-50%); /* Centered final position */
    }
}



.slideshow-action-ribbon {
    position: absolute;
    top: 0;
    left: 28px;
    background: #00375f;
    border:1px solid #00375f;
    color: white;
    padding: 48px 20px;
    z-index: 2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-top:0px;
}

.slideshow-action-ribbon:hover {
    background: #fff;
    border:1px solid #00375f;
    color: black;
    text-decoration: none;
    border-top:0px;
}

.slideshow-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border:1px solid #00375f;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slideshow-dot.active {
    background: #00375f;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    border: none;
    font-size: 20px;
    transition: all 0.3s ease;
    
}

.slideshow-arrow:hover {
    background: #fff;
    border:1px solid #00375f;
    color:#00375f;
}

.slideshow-arrow-prev {
    left: 20px;
}

.slideshow-arrow-next {
    right: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .slideshow-container {
        height: 100vh; /* Full height on mobile */
    }
    
    .slideshow-logo {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
        max-width: 200px;
    }
    
    .slideshow-action-ribbon {
        padding: 8px 15px;
        font-size: 14px;
        top: auto;
        bottom:0px
    }
}

/* Hide navigation when only one slide */
.slideshow-single-slide .slideshow-arrow,
.slideshow-single-slide .slideshow-nav {
    display: none !important;
}

.font-custom1 {
    font-family: inherit;
}

.news-container {
    margin: 0 auto;
}

.category-main-wrapper {
    width: 100%;
    min-height: 100vh;
    margin-top: 100.59px; /* Add space to avoid logo overlap */
}

@media (min-width: 1024px) {
    .category-main-wrapper {
        margin-top: 108px;
    }
}

.custom_height {
    min-height: calc(100vh - 108px);
}

.category-header {
    margin-top: 33px;
    height: 100px;
    border-top: 0.5px solid black;
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 40px;
    color: black;
    margin: 0;
    text-transform: uppercase;
}

.whats-on-content {
    padding: 0;
}

/* Event Header Specific Styles */
.event-header-action {
    display: flex;
    align-items: center;
}

.mobile-only {
    display: none;
}

.event-header-btn {
    background: #00375f;
    color: white;
    border: none;
    padding: 0 24px;
    height: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-header-btn:hover {
    background: #f3d912;
    color: black;
    text-decoration: none;
}

.event-header-btn i {
    font-size: 16px;
}

/* Event Section Styles */
.event-section {
    margin-bottom: 0;
}

.event-section:last-of-type {
    margin-bottom: 20px;
}

.fallback-header {
    margin-top: 33px;
}

.events-section {
    margin-bottom: 60px;
}

.event-card {
    background: white;
    margin-bottom: 0;
    overflow: hidden;
}

.event-image {
    width: 100%;
    object-fit: cover;
    display: block;
    max-height: 700px;
    
}

.event-content {
    padding: 0px;
}

.event-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #000;
    line-height: 1.2;
}

.event-dates {
font-size: 13px;
    color: #fff;
    font-weight: 100;
    border: 0px solid;
    float: left;
    margin-right: 30%;
    width: 9%;
}

.event-action {
    margin-top: 25px;
}

.event-btn {
    background: #00375f;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-btn:hover {
    background: #f3d912;
    color: black;
    text-decoration: none;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    width: 100%;
}

.status-active {
    background: #00375f;
    color: white;
}

.status-upcoming {
    background: #f0f0f0;
    color: #666;
}

/* News Section */
.news-section {
    padding: 0 32px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.news-reel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 0px 0 31px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
}

.news-reel::-webkit-scrollbar {
    height: 6px;
}

.news-reel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.news-reel::-webkit-scrollbar-thumb {
    background: #00375f;
}

.news-card {
    flex: 0 0 300px;
    background: white;
    border: 1px solid #e0e0e0;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column-reverse;
    min-height: 460px;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    display: flex;
    background: #2A7B9B;
    background: linear-gradient(180deg, rgb(0 55 95 / 83%) 0%, rgba(0, 55, 95, 1) 100%);
    flex-direction: column;
    flex-wrap: wrap;
    color:#fff
}


.news-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.news-date {
    font-weight: 600;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-content-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-content-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.no-content-text {
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header {
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .category-title {
        font-size: 32px;
        text-align: center;
    }
    
    .event-header-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .event-image {
        height: 250px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-dates {
        font-size: 16px;
    }
    
    .news-section {
        padding: 0 20px;
    }
    
    .news-card {
        flex: 0 0 250px;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-content {
        padding: 15px;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .event-header-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .news-card {
        flex: 0 0 220px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-only a {
        height: auto;
    }
}

/* RTL Support */
.rtl .news-reel {
    direction: rtl;
}

.rtl .event-btn,
.rtl .event-header-btn {
    font-family: inherit;
}

.rtl .section-title {
    text-align: right;
}

.rtl .category-header {
    border-left: 19px solid #00375f;
    border-right: 0.5px solid black;
}

.rtl .event-header-btn i {
    transform: scaleX(-1);
}