/* =====================
   WEBINARS & EVENTS HERO SECTION
   ===================== */
/* Hero section styles (reusing existing .resource-hero-overlay and .resource-hero-content) */

/* =====================
   UPCOMING EVENTS SECTION
   ===================== */
.event-feature-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.event-feature-card img {
    width: 100%;
    height: 100%;
    display: block;
}

.event-feature-content {
    position: absolute;
    color: white;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 56px;
}

.event-feature-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 8px;
}

.event-feature-speaker {
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
}

.event-feature-datetime {
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0%;
    margin-bottom: 16px;
}

.register-btn {
    background: white;
    color: #1a5f7a;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.register-btn:hover {
    background: #f0f0f0;
}

/* =====================
   PAST WEBINARS & EVENTS SECTION
   ===================== */
.events-gallery-grid {
    display: flex;
    gap: 20px;
    margin-top: 44px;
}

.event-card {
    position: relative;
    width: auto;
}

.event-card-img {
    max-width: 400px;
    max-height: 275px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.event-card-content {
    position: absolute;
    bottom: 0;
    color: white;
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.play-icon-wrapper {
    display: flex;
    justify-content: space-between;
}

.play-icon-wrapper img {
    width: 32px;
    height: 32px;
}

.event-info-text h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 8px;
}

.event-info-text p {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* =====================
   CTA SECTION (reused from research page)
   ===================== */

/* =====================
   MOBILE (max-width: 768px)
   ===================== */
@media (max-width: 768px) {
    /* Upcoming Events Mobile */
    .event-feature-content {
        padding: 24px;
        justify-content: flex-end;
        gap: 24px;
    }

    .event-feature-card img {
        height: 517px;
        object-fit: cover;
    }

    .event-feature-title {
        font-weight: 600;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0%;
    }

    .event-feature-speaker {
        font-size: 12px;
    }

    .event-feature-datetime {
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0%;
    }

    .register-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Events Gallery Grid Mobile */
    .events-gallery-grid {
        flex-direction: column;
        gap: 24px;
        margin-top: 32px;
    }

    .event-card {
        height: 400px;
    }

    .event-card-img {
        max-width: 100%;
        max-height: 400px;
        height: 100%;
    }

    .event-card-content {
        padding: 24px;
    }

    .play-icon-wrapper img {
        width: 54px;
        height: 54px;
    }

    .event-info-text h2 {
        font-weight: 600;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0%;
    }

    .event-info-text p {
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0%;
    }
}