/* EX Landing Page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Root centering — must be !important to beat inline style */
#ex-root {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.ex-landing-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
}

/* Heading */
.ex-heading-wrap { margin-bottom: 36px; }

.ex-main-heading {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ex-sub-heading {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}
.ex-sub-heading strong { font-weight: 700; }

/* Grid */
.ex-cols-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.ex-col { display: flex; flex-direction: column; align-items: center; }

/* NEXT EVENT badge */
.ex-next-badge {
    display: inline-block;
    background: #fff;
    color: #3a1678;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    padding: 5px 20px;
    border-radius: 2px;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
    align-self: center;
}

/* Card — transparent by default (Expo / EX Pod) */
.ex-card {
    width: 100%;
    background: transparent;
    border-radius: 8px;
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Next event card — highlighted with box, flush top for badge */
.ex-card--next {
    background: rgba(255,255,255,0.18);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Logo — same height for all three cards */
.ex-logo-wrap { display: block; width: 100%; }
.ex-logo-wrap:hover { opacity: 0.9; }

.ex-card-logo {
    width: 100%;
    height: clamp(180px, 22vw, 300px);
    object-fit: contain;
    display: block;
}

/* Placeholder */
.ex-col-placeholder {
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 4px;
    min-height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 20px;
}

/* Card body */
.ex-card-body {
    width: 100%;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ex-card-name {
    color: #fff;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.4;
}

.ex-card-date {
    color: #fff;
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.ex-card-soon {
    font-weight: 700;
}

.ex-card-btn {
    display: block;
    width: 100%;
    max-width: 260px;
    background: rgba(255,255,255,0.28);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 14px 20px;
    border-radius: 3px;
    transition: background 0.2s;
}
.ex-card-btn:hover { background: rgba(255,255,255,0.42); color: #fff; }
.ex-card-btn--disabled { pointer-events: none; }

/* Tag */
.ex-card-tag {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-top: 14px;
}
.ex-card-tag strong { font-weight: 700; }

/* Responsive */
@media (max-width: 860px) {
    .ex-cols-row { gap: 14px; }
    .ex-card { padding: 18px 14px 14px; }
}
@media (max-width: 600px) {
    .ex-landing-inner { padding: 36px 14px 40px; }
    .ex-heading-wrap { margin-bottom: 28px; }
    .ex-cols-row { grid-template-columns: 1fr; gap: 14px; }
    .ex-card-logo {
        height: 120px !important;
        max-height: 120px !important;
    }
    #ex-root { justify-content: flex-start; }
}
