/**
 * EME Events & Meetings — Frontend Styles
 *
 * Design system: inherits FlashGL primary (#1A2B8C) and accent (#D00020),
 * card style (#F5F7FA + 16px radius + hover effects), typography.
 *
 * @package FlashGL
 */

/* ═══════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════ */
.eme-event__hero {
    background: linear-gradient(135deg, #1A2B8C 0%, #2538A0 100%);
    color: #fff;
    padding: 80px 0 60px;
    min-height: 320px;
    display: flex;
    align-items: center;
}
.eme-event__hero-inner {
    max-width: 900px;
}
.eme-event__badge {
    display: inline-block;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.eme-event__title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px;
}
.eme-event__meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    font-size: .95rem;
    opacity: .92;
}
.eme-event__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.eme-event__cta {
    margin-top: 8px;
}
.eme-event__status {
    margin-top: 12px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}
.eme-event__status--full {
    background: rgba(255,255,255,.15);
}
.eme-event__status--soon {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.35);
}
.eme-event__status--closed {
    background: rgba(255,255,255,.1);
    opacity: .7;
}

/* ═══════════════════════════════════════════════════════════
   Description
   ═══════════════════════════════════════════════════════════ */
.eme-event__description {
    padding: 48px 0 32px;
}
.eme-event__excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}
.eme-event__content {
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   Section Titles
   ═══════════════════════════════════════════════════════════ */
.eme-event__section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A2B8C;
    text-align: center;
    margin: 0 0 8px;
}
.eme-event__section-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 40px;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   Non-Bookable Notice Card
   ═══════════════════════════════════════════════════════════ */
.eme-event__notice {
    padding: 32px 0 0;
}
.eme-event__notice-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 32px;
    border-radius: 16px;
    background: #F5F7FA;
}
.eme-event__notice-card svg {
    color: #1A2B8C;
    display: block;
    margin: 0 auto 16px auto;
}
.eme-event__notice-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A2B8C;
    margin: 0 0 12px;
}
.eme-event__notice-card p {
    font-size: .95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px;
}

.eme-event__booking {
    padding: 48px 0 32px;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   Booking Grid (2-column: Picker | Form)
   — Left (picker): 42% — compact date & slot selection
   — Right (form): 58% — comfortable form fields
   ═══════════════════════════════════════════════════════════ */
.eme-booking-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 32px;
    align-items: start;
}

/* Picker column: constrain width, prevent overflow */
.eme-booking-picker {
    min-width: 0;
    overflow: hidden;
}

/* ─── Timezone Indicator ──────────────────────────────── */
.eme-booking-picker__tz {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: #6B7280;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 6px;
}
.eme-booking-picker__tz strong { color: #374151; }

/* ─── Date Tabs ─────────────────────────────────────────── */
.eme-date-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 20px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}
.eme-date-tabs::-webkit-scrollbar {
    height: 4px;
}
.eme-date-tabs::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 2px;
}
.eme-date-tabs::-webkit-scrollbar-track {
    background: transparent;
}
.eme-date-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #F5F7FA;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all .2s;
    min-width: 58px;
    flex-shrink: 0;
}
.eme-date-tab:hover {
    border-color: #1A2B8C;
}
.eme-date-tab.active {
    background: #1A2B8C;
    color: #fff;
    border-color: #1A2B8C;
}
/* A11y: focus-visible for date tabs and slot buttons */
.eme-date-tab:focus-visible,
.eme-slot:focus-visible {
    outline: 3px solid #1A2B8C;
    outline-offset: 2px;
}
.eme-date-tab__day {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.eme-date-tab__num {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}
.eme-date-tab__month {
    font-size: .75rem;
    opacity: .8;
}

/* ─── Slots Grid ────────────────────────────────────────── */
.eme-slots-panel {
    display: none;
}
.eme-slots-panel.active {
    display: block;
}
.eme-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.eme-slot {
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.eme-slot:hover:not(:disabled) {
    border-color: #1A2B8C;
    background: #F0F3FF;
}
.eme-slot--selected {
    border-color: #1A2B8C;
    background: #EEF1FF;
    box-shadow: 0 0 0 3px rgba(26,43,140,.15);
}
.eme-slot__time {
    font-weight: 600;
    font-size: .9rem;
    color: #333;
}
.eme-slot__staff {
    font-size: .75rem;
    color: #888;
}
.eme-slot--unavailable {
    opacity: .4;
    cursor: not-allowed;
    text-decoration: line-through;
}
.eme-slot--break {
    background: #FFF8F0;
    border-color: #F0D0A0;
}
.eme-slot--break .eme-slot__label {
    font-size: .7rem;
    color: #C08030;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   Booking Form
   ═══════════════════════════════════════════════════════════ */
.eme-booking-form-wrap {
    background: #F5F7FA;
    border-radius: 16px;
    padding: 28px 24px;
    min-width: 0;
}

/* Selected Slot Display */
.eme-form__selected-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1A2B8C;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: .9rem;
}
.eme-form__clear-slot {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}
.eme-form__clear-slot:hover {
    opacity: 1;
}

.eme-form__heading {
    font-size: 1rem;
    font-weight: 700;
    color: #1A2B8C;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E8ECF4;
}
.eme-form__heading:first-of-type {
    margin-top: 0;
}

/* Form Grid */
.eme-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.eme-form__field {
    margin-bottom: 12px;
}
.eme-form__field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.eme-form__field .required {
    color: #D00020;
}
.eme-form__field input,
.eme-form__field select,
.eme-form__field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #D0D5DD;
    border-radius: 8px;
    font-size: .9rem;
    background: #fff;
    transition: border-color .2s;
}
.eme-form__field input:focus,
.eme-form__field select:focus,
.eme-form__field textarea:focus {
    border-color: #1A2B8C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,43,140,.08);
}
.eme-form__field textarea {
    resize: vertical;
}

/* GDPR */
.eme-form__gdpr {
    margin: 20px 0;
}
.eme-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .82rem;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}
.eme-form__checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #1A2B8C;
}
.eme-form__checkbox-label a {
    color: #1A2B8C;
    text-decoration: underline;
}

/* Submit Button */
.eme-form__submit {
    width: 100%;
    margin-top: 8px;
}
.eme-form__submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Messages */
.eme-form__message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-top: 16px;
    font-weight: 500;
}
.eme-form__message--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.eme-form__message--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
/* Success message can stack the CTA link beneath the text */
.eme-form__success-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.eme-form__book-another {
    color: #047857;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
.eme-form__book-another:hover {
    opacity: .75;
}

/* ═══════════════════════════════════════════════════════════
   Related Events
   ═══════════════════════════════════════════════════════════ */
.eme-event__related {
    padding: 64px 0;
    margin-top: 48px;
}
.eme-event__related .eme-event__section-title {
    text-align: center;
}
.eme-event__related .eme-event__section-subtitle {
    text-align: center;
    color: #6B7280;
    margin-bottom: 8px;
}
.eme-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.eme-related-card {
    background: #fff;
    border: 1px solid #E2E6EC;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: all .3s;
    position: relative;
}
.eme-related-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #1A2B8C;
    transform: scaleX(0);
    transition: transform .3s;
    z-index: 2;
}
.eme-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    border-color: #1A2B8C;
}
.eme-related-card:hover::before {
    transform: scaleX(1);
}
.eme-related-card__image {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #1A2B8C;
}
.eme-related-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A2B8C 0%, #2D3FA0 100%);
}
.eme-related-card__type-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255,255,255,.9);
    color: #1A2B8C;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.eme-related-card__body {
    padding: 18px 20px;
}
.eme-related-card__title {
    font-size: .92rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eme-related-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.eme-related-card__date,
.eme-related-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: #6B7280;
}
.eme-related__cta {
    text-align: center;
    margin-top: 32px;
}

/* reCAPTCHA notice */
.eme-form__recaptcha-notice {
    font-size: .72rem;
    color: #9CA3AF;
    margin: 10px 0 0;
    line-height: 1.5;
}
.eme-form__recaptcha-notice a {
    color: #6B7280;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   Archive Page
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.eme-archive-hero {
    background: linear-gradient(135deg, #1A2B8C 0%, #2538A0 100%);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}
.eme-archive-hero__inner {
    max-width: 800px;
}
.eme-archive-hero__title {
    font-size: var(--4xl, 2.5rem);
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.15;
}
.eme-archive-hero__subtitle {
    font-size: 1.08rem;
    color: rgba(255,255,255,.82);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ── Hero Stats ────────────────────────────────────────────── */
.eme-archive-hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.eme-archive-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
    padding: 16px 28px;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: background .25s;
}
.eme-archive-hero__stat:hover {
    background: rgba(255,255,255,.2);
}
.eme-archive-hero__stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.eme-archive-hero__stat-label {
    font-size: .78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}
.eme-archive-hero__stat--live .eme-archive-hero__stat-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eme-archive-hero__stat--live .eme-archive-hero__stat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74,222,128,.6);
    animation: hero-pulse-dot 2s infinite;
}
@keyframes hero-pulse-dot {
    0%, 100% { box-shadow: 0 0 4px rgba(74,222,128,.5); }
    50%      { box-shadow: 0 0 16px rgba(74,222,128,.9); }
}
@media (prefers-reduced-motion: reduce) {
    .eme-archive-hero__stat--live .eme-archive-hero__stat-dot {
        animation: none;
    }
}
.eme-archive-hero__stat--past {
    opacity: .7;
}

/* ── Filter Bar ─────────────────────────────────────────────── */
.eme-archive-filters {
    margin-top: -28px;
    position: relative;
    z-index: 5;
}
.eme-archive-filters__inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 0;
}
.eme-archive-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #E2E6EC;
    color: #555;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 24px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.eme-archive-filter:hover {
    border-color: #1A2B8C;
    color: #1A2B8C;
}
.eme-archive-filter--active {
    background: #1A2B8C;
    border-color: #1A2B8C;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,43,140,.3);
}
.eme-archive-filter--active:hover {
    background: #2538A0;
    color: #fff;
}
.eme-archive-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 700;
    background: rgba(0,0,0,.06);
    line-height: 1;
}
.eme-archive-filter--active .eme-archive-filter__count {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* ── Content Wrapper ────────────────────────────────────────── */
.eme-archive {
    padding: 24px 0 80px;
}
.eme-archive--has-events {
    padding-top: 48px;
}

/* ── Section Headers ────────────────────────────────────────── */
.eme-archive__section-header {
    text-align: center;
    margin-bottom: 32px;
}
.eme-archive__section-title {
    font-size: var(--3xl, 1.75rem);
    font-weight: 700;
    color: #1A2B8C;
    margin: 0 0 8px;
}
.eme-archive__section-sub {
    color: #6B7280;
    font-size: .95rem;
    margin: 0;
}

/* ── Grid ───────────────────────────────────────────────────── */
.eme-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.eme-archive__grid--past {
    margin-bottom: 0;
}

/* ── Divider between Upcoming and Past ──────────────────────── */
.eme-archive__divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 56px 0 48px;
}
.eme-archive__divider::before,
.eme-archive__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #D0D5DD, transparent);
}
.eme-archive__divider-text {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9CA3AF;
    white-space: nowrap;
}

/* ── Event Card ─────────────────────────────────────────────── */
.eme-event-card {
    background: #F5F7FA;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.eme-event-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #1A2B8C;
    transform: scaleX(0);
    transition: transform .3s;
    z-index: 2;
}
.eme-event-card:hover::before {
    transform: scaleX(1);
}
.eme-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}

/* Card hidden state (filtered out) */
.eme-event-card--hidden {
    display: none;
}

.eme-event-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.eme-event-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}
.eme-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.eme-event-card:hover .eme-event-card__image img {
    transform: scale(1.05);
}

/* Placeholder for events without thumbnail */
.eme-event-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8ECF4 0%, #DEE3F0 100%);
    color: #1A2B8C;
    opacity: .5;
}

/* Badges wrapper */
.eme-event-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.eme-event-card__type-badge {
    background: rgba(26,43,140,.88);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 4px 12px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
}
.eme-event-card__live-badge {
    background: #D00020;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 16px;
    animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
    .eme-event-card__live-badge {
        animation: none;
    }
}
.eme-event-card__past-badge {
    background: #6B7280;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 16px;
}

/* Past card modifier */
.eme-event-card--past {
    opacity: .78;
    background: #F8F9FB;
}
.eme-event-card--past:hover {
    opacity: 1;
    background: #F5F7FA;
}

.eme-event-card__body {
    padding: 20px 22px 24px;
}
.eme-event-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eme-event-card__title a {
    color: #1A2B8C;
    text-decoration: none;
}
.eme-event-card__title a:hover {
    text-decoration: underline;
}
.eme-event-card__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
    font-size: .8rem;
    color: #6B7280;
}
.eme-event-card__dates,
.eme-event-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
}
.eme-event-card__dates svg,
.eme-event-card__location svg {
    flex-shrink: 0;
    color: #9CA3AF;
}
.eme-event-card__excerpt {
    font-size: .84rem;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.55;
}
.eme-event-card__btn {
    font-size: .84rem;
}

/* ── Empty State ────────────────────────────────────────────── */
.eme-archive__empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}
.eme-archive__empty svg {
    margin: 0 auto 16px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .eme-booking-grid {
        grid-template-columns: 1fr;
    }
    .eme-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eme-archive__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eme-archive-hero__stats {
        gap: 20px;
    }
    .eme-archive-hero__stat {
        min-width: 90px;
        padding: 14px 22px;
    }
}

@media (max-width: 768px) {
    .eme-archive-hero {
        padding: 52px 0 40px;
    }
    .eme-archive-hero__title {
        font-size: 1.8rem;
    }
    .eme-archive-hero__subtitle {
        font-size: .95rem;
        margin-bottom: 24px;
    }
    .eme-archive-hero__stats {
        gap: 12px;
    }
    .eme-archive-hero__stat {
        min-width: 80px;
        padding: 12px 18px;
    }
    .eme-archive-hero__stat-num {
        font-size: 1.5rem;
    }
    .eme-archive-hero__stat-label {
        font-size: .7rem;
    }
    .eme-archive-filters {
        margin-top: -20px;
    }
    .eme-archive-filters__inner {
        padding: 4px 0;
    }
    .eme-archive-filter {
        font-size: .75rem;
        padding: 7px 14px;
    }
}

@media (max-width: 640px) {
    .eme-event__hero {
        padding: 48px 0 40px;
        min-height: auto;
    }
    .eme-event__title {
        font-size: 1.6rem;
    }
    .eme-event__meta-bar {
        flex-direction: column;
        gap: 12px;
    }
    .eme-form__grid {
        grid-template-columns: 1fr;
    }
    .eme-slots-grid {
        grid-template-columns: 1fr;
    }
    .eme-booking-form-wrap {
        padding: 20px 16px;
    }
    .eme-event__notice-card {
        padding: 28px 20px;
    }
    .eme-services-grid {
        grid-template-columns: 1fr;
    }
    .eme-archive__grid {
        grid-template-columns: 1fr;
    }
    .eme-archive-hero {
        padding: 40px 0 32px;
    }
    .eme-archive-hero__title {
        font-size: 1.5rem;
    }
    .eme-archive-hero__subtitle {
        font-size: .88rem;
    }
    .eme-archive-hero__stats {
        gap: 10px;
    }
    .eme-archive-hero__stat {
        min-width: 0;
        flex: 1;
        padding: 12px 14px;
    }
    .eme-archive-hero__stat-num {
        font-size: 1.3rem;
    }
    .eme-archive-filters__inner {
        gap: 6px;
    }
    .eme-archive-filter {
        font-size: .72rem;
        padding: 6px 12px;
    }
    .eme-archive__section-header {
        margin-bottom: 24px;
    }
    .eme-archive__section-title {
        font-size: 1.3rem;
    }
    .eme-archive__divider {
        margin: 40px 0 32px;
    }
    .eme-archive--has-events {
        padding-top: 32px;
    }
    .eme-event-card__image {
        height: 180px;
    }
    .eme-date-tab {
        min-width: 56px;
        padding: 8px 10px;
    }
}
