/* =========================
   EVENTS SECTION
========================= */

.events-section {
    padding: 45px 30px 0;
    background: #fff;
    color: #1f1f1f;
}

.events-container {
    width: 100%;
    max-width: 1465px;
    margin: 0 auto;
}

/* Events Header */

.events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d5d5d2;
}

/* Events Tabs */

.events-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.events-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 91px;
    padding: 15px 25px;
    border: 1px solid #000000;
    border-radius: 0;
    background: #fff;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.events-tabs a.active {
    border-color: #FFF110 !important;
    background: #FFF110 !important;
    color: #000000;
}

.events-tabs a.active:hover {
    background-color: #0F7AD2 !important;
    color: #fff;
    border-color: #0F7AD2 !important;
}

.events-tabs a:hover {
    border-color: #FFF110 !important;
    background: #FFF110 !important;
    color: #000000;
}

/* Events List */

.events-section .events-list {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

/* Event Row - Date Badge Hidden */

.events-section .events-list .event-row {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) 118px !important;
    align-items: center;
    gap: 19px;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 32px 0;
    border-bottom: 1px solid #d5d5d2;
}

/* Hide Date Badge */

.events-section .events-list .event-row .event-date-badge {
    display: none !important;
}

/* Event Image */

.events-section .event-row .event-image {
    width: 150px;
    min-width: 0;
}

.events-section .event-row .event-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Event Information */

.events-section .event-info {
    min-width: 0;
    padding-left: 25px;
}

/* Event Date Badge - Original Styling Preserved */

.event-date-badge {
    background-color: #FFF110;
    padding: 16px 8px;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.event-date-badge span.event-day {
    font-family: 'AfacadFlux';
    font-weight: 700;
    font-size: 24px;
    color: #000000;
}

.event-date-badge span.event-month {
    font-family: 'Poppins';
    font-weight: 300;
    font-size: 16px;
    color: #000000;
}

/* Event Time & Venue Icons */

.event-time svg,
.event-venue svg {
    width: 24px;
}

/* Event Action Button */

.event-action a {
    text-decoration: none;
    padding: 15px 25px;
    background-color: #0F7AD2;
    color: #fff;
    transition: all 0.3s;
    font-size: 16px;
    display: inline-block;
    font-weight: 400;
}

.event-action a:hover {
    background-color: #FFF110;
    color: #000000;
    transition: all 0.3s;
}

/* Event Meta */

.event-meta {
    display: flex;
    gap: 16px;
}

.event-time,
.event-venue {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================
   EVENT DETAIL PAGE
========================= */

.event-detail-page {
    width: 100%;
    padding: 60px 25px 80px;
    background: #fff;
}

.event-detail-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.event-detail-article {
    width: 100%;
    margin: 0;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 55px;
}

.event-detail-media {
    width: 100%;
    overflow: hidden;
    background: #f2f2f0;
}

.event-detail-image {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
}

.event-detail-no-image {
    display: flex;
    min-height: 350px;
    align-items: center;
    justify-content: center;
    color: #777;
    background: #f2f2f0;
}

.event-detail-information {
    min-width: 0;
    padding-top: 5px;
}

.event-detail-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #777;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-detail-label::before {
    width: 24px;
    height: 1px;
    background: #999;
    content: "";
}

.event-detail-title {
    margin: 0 0 25px;
    color: #202020;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.event-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 25px;
    border-top: 1px solid #dededb;
}

.event-detail-meta-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #dededb;
}

.event-detail-meta-label {
    color: #555;
    font-size: 15px;
    font-weight: 600;
}

.event-detail-meta-value {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.event-detail-short-description {
    margin: 0 0 25px;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

.event-detail-short-description p {
    margin: 0 0 12px;
}

.event-detail-content {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.event-detail-content p {
    margin: 0 0 18px;
}

.event-detail-content h2,
.event-detail-content h3,
.event-detail-content h4 {
    margin: 25px 0 12px;
    color: #202020;
    line-height: 1.35;
}

.event-detail-content img {
    max-width: 100%;
    height: auto;
}


/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 992px) {

    .events-section {
        padding: 40px 24px 0;
    }

    .events-header h1 {
        font-size: 38px;
        letter-spacing: -0.7px;
    }

    .events-header {
        gap: 20px;
        padding-bottom: 30px;
    }

    .events-tabs a {
        min-width: 80px;
        height: 50px;
        padding: 0 18px;
        font-size: 15px;
    }

    .events-section .events-list .event-row {
        grid-template-columns: 125px minmax(0, 1fr) 118px !important;
        gap: 16px;
    }

    .events-section .event-action {
        grid-column: auto;
        justify-content: flex-start;
    }

    .events-section .event-info {
        padding-left: 10px;
    }
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 767px) {

    .events-section {
        padding: 30px 16px 0;
    }

    .events-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 25px;
    }

    .events-tabs {
        gap: 8px;
    }

    .events-tabs a {
        min-width: 78px;
        height: 44px;
        padding: 0 17px;
        font-size: 14px;
    }

    .events-section .events-list .event-row {
        grid-template-columns: 130px minmax(0, 1fr) !important;
        gap: 14px;
        padding: 22px 0;
    }

    .events-section .event-row .event-image {
        width: 130px;
    }

    .events-section .event-info {
        grid-column: 1 / -1;
        padding-left: 0;
    }

    .event-meta {
        display: flex;
        gap: 24px;
        flex-direction: column;
    }

    .events-section .event-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .event-detail-page {
        padding: 35px 16px 50px;
    }

    .event-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .event-detail-image {
        height: auto;
        max-height: 420px;
    }

    .event-detail-title {
        font-size: 28px;
    }

    .event-detail-meta-item {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 12px;
    }
}