/* ─────────────────────────────────────────────
   Event Page CSS
   ───────────────────────────────────────────── */

.event-page-main {
    background: #ffffff;
    min-height: 80vh;
}

/* ── Banner Header (Dark Premium Purple Theme) ── */
.event-banner-section {
    position: relative;
    min-height: 520px;
    height: 90vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 0;
    box-sizing: border-box;
}

.event-banner-section .uk-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.event-banner-header {
    max-width: 650px;
    text-align: left;
    margin-top: 60px;
}

.event-banner-title {
    font-size: 58px;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 20px 0;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.1;
}

.event-banner-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Noto Sans Myanmar', sans-serif;
    font-weight: 400;
}

.js-events-load-more-btn{
    background: #FED305 !important;
    color: #4D3766 !important;
    border-radius: 999px;
    border: none;
    padding: 0 32px;
    font-weight: 600;
    line-height: 40px;
    text-transform: none;
    font-size: 16px;
}

/* Responsive banner height overrides */
@media (max-width: 959px) {
    .event-banner-section {
        min-height: auto !important;
        height: 45vh !important;
        max-height: none !important;
        padding: 40px 0 !important;
    }

    .event-banner-header {
        margin-top: 30px !important;
    }

    .event-banner-title {
        font-size: 42px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }

    .event-banner-desc {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 640px) {
    .event-banner-section {
        height: 55vh !important;
    }

    .event-banner-title {
        font-size: 42px !important;
        letter-spacing: 1px !important;
    }
}

/* ── Event Grid & Cards ── */
.event-grid-section {
    background: #ffffff;
    padding: 60px 0;
}

.event-card {
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eaeaea;
    border-radius: 10px;
}

.event-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Floating Date Badge */
.event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #4D3766;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(77, 55, 102, 0.15);
    z-index: 2;
}

.event-date-day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.event-date-month {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}


/* Event Content */
.event-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.event-card-title a {
    color: #4D3766;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card-title a:hover {
    color: #4D3766;
}

.event-card-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(77, 55, 102, 0.6);
    margin-top: 4px;
}

.event-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(77, 55, 102, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-card-footer {
    border-top: 1px solid rgba(77, 55, 102, 0.08);
    padding-top: 16px;
    margin-top: auto;
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #4D3766 !important;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.event-card-link:hover {
    color: #fed305;
}

.event-card-link span[uk-icon] {
    transition: transform 0.2s ease;
}

.event-card-link:hover span[uk-icon] {
    transform: translateX(4px);
}

/* ── Event Pagination ── */
.event-pagination ul {
    display: inline-flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}

.event-pagination li a,
.event-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #4D3766;
    background: rgba(77, 55, 102, 0.05);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.event-pagination li a:hover {
    background: #fed305;
    color: #4D3766 !important;
    transform: translateY(-2px);
}

.event-pagination li span.current {
    background: #4D3766;
    color: #ffffff;
}

@media (max-width: 767px) {

    .event-card-title {
        font-size: 18px;
    }

    .event-grid-section {
        padding: 40px 0;
    }
}