/*--------------------------------------------------------------
# Events & Media Gallery
--------------------------------------------------------------*/
.events-gallery {
    padding: 80px 0 100px;
    position: relative;
}
.events-gallery .section-title {
    margin-bottom: 50px;
}

/* Filter Tabs */
.events-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}
.events-filter-tabs .filter-btn {
    display: inline-block;
    padding: 9px 25px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--thm-font, "DM Sans");
}
.events-filter-tabs .filter-btn:hover,
.events-filter-tabs .filter-btn.active {
    background: var(--thm-base, #D4AF37);
    color: #fff;
    border-color: var(--thm-base, #D4AF37);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .events-grid { grid-template-columns: 1fr; }
}

/* Event Card */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}

/* Card Thumbnail */
.event-card__thumb {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #1a1a2e;
}
.event-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.event-card:hover .event-card__thumb img {
    transform: scale(1.07);
}
.event-card__thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* Lightbox icon */
.event-card__lightbox-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--thm-base, #D4AF37);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}
.event-card:hover .event-card__lightbox-btn {
    opacity: 1;
}

/* Video Card */
.event-card__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    height: 0;
}
.event-card__video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.event-card__video-placeholder {
    height: 240px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.event-card__video-placeholder .play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--thm-base, #D4AF37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s;
}
.event-card__video-placeholder .play-icon:hover {
    transform: scale(1.1);
}
.event-card__video-placeholder span.label {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Category Badge */
.event-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    z-index: 2;
}
.badge-Awards       { background: #D4AF37; }
.badge-Workshops    { background: #2c7be5; }
.badge-Events       { background: #e63757; }
.badge-Meetings     { background: #7c4dff; }
.badge-Media\.Coverage, .badge-Media-Coverage { background: #26a69a; }
.badge-default      { background: #555; }

/* Card Body */
.event-card__body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-card__date {
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.event-card__date i { color: var(--thm-base, #D4AF37); }
.event-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.45;
    font-family: var(--thm-font2, "Bricolage Grotesque");
}
.event-card__desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}
.event-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thm-base, #D4AF37);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: auto;
}
.event-card__link:hover { gap: 10px; color: var(--thm-base, #D4AF37); }

/* No events message */
.events-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* CTA Banner inside events page */
.events-cta {
    background: #1a1a2e;
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
}
.events-cta h3 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
}
.events-cta p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

/* =====================================================
   MULTI-IMAGE SUPPORT
===================================================== */

/* "+N more" badge on main thumbnail */
.event-card__more-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Thumbnail strip below main image */
.event-card__img-strip {
    display: flex;
    gap: 4px;
    padding: 6px 6px 0;
    background: #f8f8f8;
    overflow-x: auto;
    scrollbar-width: none;
}
.event-card__img-strip::-webkit-scrollbar { display: none; }

.event-card__strip-thumb {
    position: relative;
    flex: 0 0 56px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    cursor: pointer;
}
.event-card__strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}
.event-card__strip-thumb:hover img { transform: scale(1.1); }
.event-card__strip-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.event-card__strip-thumb:hover::after {
    border-color: var(--thm-base, #D4AF37);
}

/* "+N" overlay label inside last strip thumb */
.event-card__strip-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

