/**
 * Custom Events & Exhibitions Page Stylesheet
 * Strictly scoped to .wmspl-events-page & .wmspl-event-modal
 * Brand Palette: Medical Teal (#0F8AA6 / #0c7289), Deep Navy (#0b1f2d), Clean White (#ffffff)
 * Typography: Poppins
 */

/* -------------------------------------------------------------------------
 * 1. Base & Reset
 * ------------------------------------------------------------------------- */
.wmspl-events-page,
.wmspl-event-modal {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wmspl-events-page *,
.wmspl-event-modal * {
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 90% Container Width Rule with 0 Left/Right Padding */
.wmspl-events-page .wmspl-events-container {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* -------------------------------------------------------------------------
 * 2. Hero Section
 * ------------------------------------------------------------------------- */
.wmspl-events-hero {
    position: relative;
    background: linear-gradient(135deg, #f0f7f9 0%, #e2f1f5 50%, #ffffff 100%);
    padding: 70px 0 60px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 138, 166, 0.12);
}

.wmspl-events-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 138, 166, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.8;
    pointer-events: none;
}

.wmspl-events-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumbs */
.wmspl-events-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 138, 166, 0.15);
    backdrop-filter: blur(6px);
}

.wmspl-events-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0F8AA6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-events-breadcrumbs a:hover {
    color: #0c7289;
    text-decoration: underline;
}

.wmspl-events-breadcrumbs .sep {
    color: #94a3b8;
}

.wmspl-events-breadcrumbs .current {
    color: #1e293b;
    font-weight: 600;
}

/* Badge */
.wmspl-events-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 138, 166, 0.1);
    color: #0F8AA6;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 138, 166, 0.25);
}

.wmspl-events-hero-title {
    font-size: 42px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
}

.wmspl-events-hero-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto;
    max-width: 840px;
}

/* -------------------------------------------------------------------------
 * 3. Stats Strip
 * ------------------------------------------------------------------------- */
.wmspl-events-stats-section {
    position: relative;
    z-index: 10;
    margin-top: -35px;
    margin-bottom: 40px;
}

.wmspl-events-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wmspl-events-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wmspl-events-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 138, 166, 0.1);
    border-color: rgba(15, 138, 166, 0.35);
}

.wmspl-events-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(15, 138, 166, 0.08);
    color: #0F8AA6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wmspl-events-stat-card:hover .wmspl-events-stat-icon {
    background: #0F8AA6;
    color: #ffffff;
}

.wmspl-events-stat-body {
    display: flex;
    flex-direction: column;
}

.wmspl-events-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0b1f2d;
    line-height: 1.15;
    margin-bottom: 2px;
}

.wmspl-events-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

/* -------------------------------------------------------------------------
 * 4. Featured Spotlight Event
 * ------------------------------------------------------------------------- */
.wmspl-events-spotlight-section {
    padding: 10px 0 50px 0;
}

.wmspl-events-spotlight-card {
    position: relative;
    background: linear-gradient(135deg, #071e28 0%, #0d2e3b 50%, #0F8AA6 100%);
    border-radius: 28px;
    padding: 48px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 31, 45, 0.16);
}

.wmspl-spotlight-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.wmspl-spotlight-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    align-items: center;
}

.wmspl-spotlight-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wmspl-badge-upcoming {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wmspl-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: wmsplPulse 1.8s infinite;
}

@keyframes wmsplPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.wmspl-badge-stall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.wmspl-spotlight-title {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px 0;
}

.wmspl-spotlight-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.wmspl-spotlight-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: #e2f1f5;
}

.wmspl-spotlight-meta-item svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.wmspl-spotlight-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 22px 0;
}

.wmspl-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.wmspl-spotlight-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.wmspl-spotlight-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wmspl-spotlight-actions .wmspl-btn-primary {
    background: #ffffff;
    color: #0F8AA6 !important;
}

.wmspl-spotlight-actions .wmspl-btn-primary:hover {
    background: #f0f7f9;
    color: #0c7289 !important;
}

/* Spotlight Image Frame */
.wmspl-spotlight-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wmspl-spotlight-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.18);
    aspect-ratio: 16 / 9;
    max-width: 540px;
    width: 100%;
    background: #0b1f2d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmspl-spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b1f2d;
    display: block;
    transition: transform 0.4s ease;
}

.wmspl-spotlight-img-frame:hover .wmspl-spotlight-img {
    transform: scale(1.02);
}

/* -------------------------------------------------------------------------
 * 5. Grid Section & Event Cards
 * ------------------------------------------------------------------------- */
.wmspl-events-grid-section {
    padding: 40px 0 70px 0;
}

.wmspl-events-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 28px;
}

.wmspl-events-section-titles {
    max-width: 600px;
}

.wmspl-events-kicker {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F8AA6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.wmspl-events-heading {
    font-size: 32px;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.wmspl-events-subheading {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Filter Pill Bar */
.wmspl-events-filters {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 9999px;
    gap: 6px;
}

.wmspl-event-filter-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.wmspl-event-filter-btn:hover {
    color: #0F8AA6;
    background: rgba(255, 255, 255, 0.7);
}

.wmspl-event-filter-btn.active {
    background: #0F8AA6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 138, 166, 0.3);
}

/* Cards Grid */
.wmspl-events-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Event Card Design */
.wmspl-event-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8eef3;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(11, 31, 45, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    will-change: transform, opacity;
}

.wmspl-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(15, 138, 166, 0.14);
    border-color: rgba(15, 138, 166, 0.3);
}

.wmspl-event-card.is-hidden {
    display: none !important;
}

/* Event Image Thumbnail */
.wmspl-event-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b1f2d;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmspl-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b1f2d;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.wmspl-event-card:hover .wmspl-event-img {
    transform: scale(1.03);
}

/* Badges on Thumbnail */
.wmspl-event-thumb-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    flex-wrap: wrap;
}

.wmspl-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.status-upcoming {
    background: rgba(15, 138, 166, 0.9);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 138, 166, 0.35);
}

.status-concluded {
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.wmspl-stall-chip {
    background: rgba(255, 255, 255, 0.9);
    color: #0b1f2d;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Date Chip at bottom right of image */
.wmspl-event-date-chip {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 31, 45, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.wmspl-event-date-chip svg {
    color: #38bdf8;
}

/* Event Card Body */
.wmspl-event-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.wmspl-event-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b1f2d;
    line-height: 1.35;
    margin: 0 0 10px 0;
    min-height: 52px;
}

.wmspl-event-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-event-title a:hover {
    color: #0F8AA6;
}

.wmspl-event-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 14px;
}

.wmspl-event-venue svg {
    color: #0F8AA6;
    flex-shrink: 0;
}

.wmspl-event-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Card Actions */
.wmspl-event-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.wmspl-event-btn-primary {
    flex: 1;
    background: #ffffff;
    color: #0F8AA6;
    border: 1.5px solid #0F8AA6;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wmspl-event-btn-primary:hover {
    background: #0F8AA6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 138, 166, 0.25);
}

.wmspl-event-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.wmspl-event-btn-secondary:hover {
    background: #e2e8f0;
    color: #0b1f2d;
}

/* -------------------------------------------------------------------------
 * 6. CTA Section
 * ------------------------------------------------------------------------- */
.wmspl-events-cta-section {
    padding: 20px 0 80px 0;
}

.wmspl-events-cta-card {
    position: relative;
    background: linear-gradient(135deg, #09202a 0%, #0c3340 50%, #0F8AA6 100%);
    border-radius: 28px;
    padding: 60px 50px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(11, 31, 45, 0.18);
}

.wmspl-cta-glow-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.wmspl-cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.wmspl-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.wmspl-cta-title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.wmspl-cta-sub {
    font-size: 16px;
    line-height: 1.65;
    color: #e2f1f5;
    margin: 0 0 32px 0;
}

.wmspl-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wmspl-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0F8AA6;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 138, 166, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wmspl-btn-primary:hover {
    background: #0c7289;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 138, 166, 0.45);
}

.wmspl-cta-actions .wmspl-btn-primary {
    background: #ffffff;
    color: #0F8AA6 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.wmspl-cta-actions .wmspl-btn-primary:hover {
    background: #f0f7f9;
    color: #0c7289 !important;
}

.wmspl-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.wmspl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.wmspl-cta-contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wmspl-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wmspl-cta-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wmspl-cta-contact-details {
    display: flex;
    flex-direction: column;
}

.wmspl-cta-contact-details .label {
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.wmspl-cta-contact-details .val {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-cta-contact-details .val:hover {
    color: #a5f3fc;
}

.wmspl-cta-trust-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #e2f1f5;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wmspl-cta-trust-note svg {
    color: #38bdf8;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * 7. Lightbox Modal
 * ------------------------------------------------------------------------- */
.wmspl-event-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.wmspl-event-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.wmspl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 40, 0.88);
    backdrop-filter: blur(10px);
}

.wmspl-event-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wmspl-event-modal.is-active .wmspl-event-modal-dialog {
    transform: scale(1) translateY(0);
}

.wmspl-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f6;
    gap: 16px;
}

.wmspl-modal-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wmspl-ev-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.wmspl-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0;
    line-height: 1.3;
}

.wmspl-ev-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: #64748b;
    margin-top: 4px;
    flex-wrap: wrap;
}

.wmspl-ev-meta-row .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wmspl-ev-meta-row .meta-item svg {
    color: #0F8AA6;
}

.wmspl-modal-close {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.wmspl-modal-close:hover {
    background: #0F8AA6;
    color: #ffffff;
    transform: rotate(90deg);
}

.wmspl-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wmspl-ev-modal-img-wrap {
    width: 100%;
    max-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: #0b1f2d;
    border: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmspl-ev-modal-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
}

.wmspl-ev-modal-desc-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0b1f2d;
    margin: 0 0 8px 0;
}

.wmspl-ev-modal-desc-box p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 16px 0;
}

.wmspl-ev-highlights-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}

.wmspl-ev-highlights-box .hl-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0F8AA6;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.wmspl-ev-highlights-box .hl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wmspl-ev-highlights-box .hl-tags span {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
}

.wmspl-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #eef2f6;
    background: #ffffff;
    gap: 16px;
    flex-wrap: wrap;
}

.wmspl-modal-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #64748b;
}

.wmspl-modal-footer-note svg {
    color: #0F8AA6;
    flex-shrink: 0;
}

.wmspl-modal-footer-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wmspl-modal-footer .wmspl-btn-secondary {
    background: #f1f5f9;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    padding: 10px 18px;
    font-size: 13.5px;
}

.wmspl-modal-footer .wmspl-btn-secondary:hover {
    background: #e2e8f0;
    color: #0b1f2d !important;
}

.wmspl-modal-footer .wmspl-btn-primary {
    padding: 10px 20px;
    font-size: 13.5px;
}

/* -------------------------------------------------------------------------
/* -------------------------------------------------------------------------
 * 8. Responsive Breakpoints & Mobile Optimization
 * ------------------------------------------------------------------------- */
html.wmspl-modal-locked,
body.wmspl-modal-locked {
    overflow: hidden !important;
}

.wmspl-event-thumb-wrap {
    cursor: pointer;
}

@media (max-width: 1200px) {
    .wmspl-events-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .wmspl-events-hero-title {
        font-size: 34px;
    }
    .wmspl-events-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .wmspl-spotlight-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .wmspl-cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .wmspl-events-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .wmspl-events-page .wmspl-events-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wmspl-events-hero {
        padding: 50px 0 45px 0;
    }

    .wmspl-events-hero-title {
        font-size: 28px;
        line-height: 1.28;
    }

    .wmspl-events-hero-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .wmspl-events-heading {
        font-size: 24px;
    }

    /* Touch-friendly horizontal scrolling filter tabs */
    .wmspl-events-filters {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        justify-content: flex-start !important;
        white-space: nowrap !important;
        scroll-snap-type: x mandatory;
    }

    .wmspl-events-filters::-webkit-scrollbar {
        display: none !important;
    }

    .wmspl-event-filter-btn {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        padding: 9px 16px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 640px) {
    .wmspl-events-page .wmspl-events-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wmspl-events-hero {
        padding: 38px 0 35px 0;
    }

    .wmspl-events-breadcrumbs {
        font-size: 12px;
        padding: 5px 12px;
        gap: 6px;
        margin-bottom: 16px;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wmspl-events-badge {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .wmspl-events-hero-title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .wmspl-events-hero-desc {
        font-size: 14px;
        line-height: 1.55;
    }

    /* 2x2 Clean Compact Stats Grid on Mobile */
    .wmspl-events-stats-section {
        margin-top: -18px;
        margin-bottom: 24px;
    }

    .wmspl-events-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .wmspl-events-stat-card,
    .wmspl-ev-stat-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        gap: 10px !important;
    }

    .wmspl-events-stat-icon,
    .wmspl-ev-stat-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    .wmspl-events-stat-icon svg,
    .wmspl-ev-stat-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .wmspl-events-stat-number,
    .wmspl-ev-stat-number {
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .wmspl-events-stat-label,
    .wmspl-ev-stat-label {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Featured Spotlight on Mobile */
    .wmspl-events-spotlight-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    .wmspl-spotlight-badge-row {
        gap: 8px !important;
        flex-wrap: wrap !important;
        margin-bottom: 14px !important;
    }

    .wmspl-spotlight-title {
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }

    .wmspl-spotlight-meta-list {
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .wmspl-spotlight-meta-item {
        font-size: 13px !important;
    }

    .wmspl-spotlight-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
    }

    .wmspl-spotlight-tags {
        gap: 6px !important;
        margin-bottom: 22px !important;
    }

    .wmspl-spotlight-tags .tag {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .wmspl-spotlight-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .wmspl-spotlight-actions .wmspl-btn-primary,
    .wmspl-spotlight-actions .wmspl-btn-secondary {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: center !important;
        font-size: 14px !important;
    }

    .wmspl-spotlight-visual {
        margin-top: 10px !important;
    }

    .wmspl-spotlight-img-frame {
        border-radius: 14px !important;
        cursor: pointer;
    }

    /* Events Cards Grid on Mobile */
    .wmspl-events-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .wmspl-event-card {
        border-radius: 16px !important;
    }

    .wmspl-event-thumb-wrap {
        aspect-ratio: 16 / 9 !important;
        max-height: 220px !important;
    }

    .wmspl-event-body {
        padding: 18px 16px !important;
    }

    .wmspl-event-title {
        font-size: 17px !important;
        margin-bottom: 10px !important;
        line-height: 1.35 !important;
    }

    .wmspl-event-venue {
        font-size: 12.5px !important;
        margin-bottom: 10px !important;
    }

    .wmspl-event-desc {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
    }

    /* Event Actions */
    .wmspl-event-actions {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 8px !important;
    }

    .wmspl-event-btn-primary {
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 12.5px !important;
        justify-content: center !important;
    }

    .wmspl-event-btn-secondary {
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 12.5px !important;
    }

    /* CTA Card on Mobile */
    .wmspl-events-cta-card {
        padding: 28px 18px !important;
        border-radius: 18px !important;
        margin-top: 36px !important;
    }

    .wmspl-cta-title {
        font-size: 21px !important;
        line-height: 1.3 !important;
    }

    .wmspl-cta-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .wmspl-cta-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .wmspl-cta-actions .wmspl-btn-primary,
    .wmspl-cta-actions .wmspl-btn-ghost {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: center !important;
        font-size: 14px !important;
    }

    .wmspl-cta-sidebar {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    .wmspl-cta-contact-details .val {
        font-size: 14.5px !important;
    }

    /* Event Modal on Mobile */
    .wmspl-event-modal {
        padding: 10px !important;
    }

    .wmspl-event-modal-dialog {
        max-height: 94vh !important;
        border-radius: 18px !important;
        margin: 0 !important;
    }

    .wmspl-modal-header {
        padding: 14px 16px !important;
    }

    .wmspl-modal-title {
        font-size: 16px !important;
    }

    .wmspl-modal-close {
        width: 36px !important;
        height: 36px !important;
    }

    .wmspl-modal-body {
        padding: 14px 16px !important;
        max-height: calc(94vh - 140px) !important;
        gap: 16px !important;
    }

    .wmspl-ev-modal-img-wrap {
        max-height: 240px !important;
    }

    .wmspl-modal-footer {
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .wmspl-modal-footer-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .wmspl-modal-footer-btns a,
    .wmspl-modal-footer-btns button {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
    }
}

@media (max-width: 380px) {
    .wmspl-events-hero-title {
        font-size: 21px !important;
    }
    .wmspl-events-stats-grid {
        grid-template-columns: 1fr !important;
    }
    .wmspl-event-actions {
        grid-template-columns: 1fr !important;
    }
}
