/* ─── Single Event — BEM (xio_event) ─── */

:root {
    --xio_event-radius: 18px;
    --xio_event-radius-sm: 12px;
    --xio_event-container: 1140px;
    --xio_event-gap: clamp(20px, 3.5vw, 44px);
    --xio_event-section-py: clamp(36px, 5vw, 64px);
    --xio_event-gold: #c29b53;
    --xio_event-gold-dark: #be8c32;
    --xio_event-ink: #212529;
    --xio_event-muted: #6c757d;
    --xio_event-surface: #f8f9fa;
    --xio_event-border: #e6e2d8;
}

/* ─── Layout ─── */

.xio_event {
    background-color: var(--xio_color__white, #ffffff);
    color: var(--xio_event-ink);
    padding: var(--xio_event-section-py) clamp(16px, 4vw, 32px);
}

.xio_event *,
.xio_event *::before,
.xio_event *::after {
    box-sizing: border-box;
}

.xio_event__inner {
    width: 100%;
    max-width: var(--xio_event-container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--xio_event-gap);
}

.xio_event__svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ─── Header ─── */

.xio_event__header {
    text-align: center;
    margin-bottom: clamp(8px, 2vw, 18px);
}

.xio_event__eyebrow {
    display: inline-block;
    font-size: clamp(11px, 1.2vw, 13px);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--xio_event-gold-dark);
    margin-bottom: 12px;
}

.xio_event__title {
    margin: 0;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--xio_event-ink);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .xio_event__title {
        background: linear-gradient(100deg, var(--xio_event-ink) 0%, var(--xio_event-ink) 50%, var(--xio_event-gold-dark) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.xio_event__tagline {
    margin: clamp(12px, 1.8vw, 18px) 0 0;
    font-size: clamp(14px, 1.9vw, 20px);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--xio_event-muted);
}

.xio_event__title-bar {
    display: block;
    width: clamp(64px, 9vw, 110px);
    height: 5px;
    margin: clamp(16px, 2.4vw, 24px) auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--xio_event-gold) 0%, var(--xio_event-gold-dark) 100%);
}

/* ─── Meta bar ─── */

.xio_event__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.xio_event__meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--xio_event-surface);
    border: 1px solid var(--xio_event-border);
    border-radius: var(--xio_event-radius);
}

.xio_event__meta-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 50%;
    color: var(--xio_event-gold-dark);
    background: rgba(194, 155, 83, 0.12);
}

.xio_event__meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.xio_event__meta-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--xio_event-muted);
    font-weight: 600;
}

.xio_event__meta-value {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 600;
    color: var(--xio_event-ink);
    line-height: 1.35;
}

.xio_event__meta-value--price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--xio_event-gold-dark);
}

/* ─── Body ─── */

.xio_event__body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--xio_event-gap);
    align-items: start;
}

.xio_event__description {
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.75;
    color: #333a40;
}

.xio_event__description p {
    margin: 0 0 1em;
}

.xio_event__description p:last-child {
    margin-bottom: 0;
}

/* ─── Includes ─── */

.xio_event__includes {
    background: linear-gradient(160deg, #1c1c1c 0%, #2a2a2a 100%);
    color: #fff;
    border-radius: var(--xio_event-radius);
    padding: clamp(22px, 3vw, 30px);
}

.xio_event__includes-title {
    margin: 0 0 16px;
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 700;
    color: var(--xio_event-gold);
    letter-spacing: 0.01em;
}

.xio_event__includes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xio_event__includes-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.xio_event__includes-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    color: #1c1c1c;
    background: var(--xio_event-gold);
}

/* ─── Calendar ─── */

.xio_event__calendar {
    border-top: 1px solid var(--xio_event-border);
    padding-top: var(--xio_event-gap);
}

.xio_event__calendar-title {
    margin: 0 0 16px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--xio_event-muted);
    font-weight: 700;
}

.xio_event__calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xio_event__cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--xio_event-border);
    background: var(--xio_color__white, #fff);
    color: var(--xio_event-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.xio_event__cal-btn .xio_event__svg {
    width: 18px;
    height: 18px;
    color: var(--xio_event-gold-dark);
    transition: color 0.2s ease;
}

.xio_event__cal-btn:hover {
    transform: translateY(-2px);
    border-color: var(--xio_event-gold);
    box-shadow: 0 10px 24px rgba(190, 140, 50, 0.18);
}

.xio_event__cal-btn:focus-visible {
    outline: 2px solid var(--xio_event-gold-dark);
    outline-offset: 2px;
}

/* ─── Registration ─── */

.xio_event__register {
    border-top: 1px solid var(--xio_event-border);
    padding-top: var(--xio_event-gap);
}

.xio_event__register-head {
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 30px);
}

.xio_event__register-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3.4vw, 30px);
    font-weight: 700;
    color: var(--xio_event-ink);
}

.xio_event__register-sub {
    margin: 0;
    font-size: 15px;
    color: var(--xio_event-muted);
}

.xio_event__form {
    position: relative;
    width: 100%;
    border-radius: var(--xio_event-radius-sm);
    overflow: hidden;
    background: var(--xio_color__white, #fff);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.xio_event__form-frame {
    display: block;
    width: 100%;
    height: clamp(640px, 90vh, 880px);
    border: 0;
}

.xio_event__register-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px auto 0;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--xio_event-gold-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

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

.xio_event__register-head,
.xio_event__form {
    width: 100%;
}

.xio_event__register-fallback .xio_event__svg {
    width: 16px;
    height: 16px;
}

.xio_event__register-fallback:hover {
    transform: translateY(-2px);
    background: var(--xio_event-gold);
    box-shadow: 0 12px 26px rgba(190, 140, 50, 0.3);
}

.xio_event__register-fallback:focus-visible {
    outline: 2px solid var(--xio_event-ink);
    outline-offset: 2px;
}

/* ─── Responsive ─── */

@media (max-width: 860px) {
    .xio_event__body {
        grid-template-columns: 1fr;
    }
}

/* ─── Reduced motion ─── */

@media (prefers-reduced-motion: reduce) {
    .xio_event__cal-btn,
    .xio_event__register-fallback {
        transition: none;
    }
}
