/**
 * KSM Event Manager — Event Page Display Templates
 */

/* ── Shared foundation ─────────────────────────────────────────────── */
.ksm-event-page {
    --ksm-et-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ksm-et-serif: "Georgia", "Times New Roman", serif;
    --ksm-et-accent: #6366f1;
    --ksm-et-accent-soft: rgba(99, 102, 241, 0.1);
    --ksm-et-surface: #ffffff;
    --ksm-et-surface-alt: #f8fafc;
    --ksm-et-border: #e2e8f0;
    --ksm-et-text: #0f172a;
    --ksm-et-muted: #64748b;
    --ksm-et-radius: 12px;
    font-family: var(--ksm-et-font);
    color: var(--ksm-et-text);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 100%;
}

.ksm-event-page *,
.ksm-event-page *::before,
.ksm-event-page *::after {
    box-sizing: border-box;
}

.ksm-event-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ksm-et-title,
.ksm-et-aurora-title,
.ksm-et-pinnacle-title,
.ksm-et-velvet-title,
.ksm-et-summit-title,
.ksm-et-horizon-title {
    margin: 0 0 0.5em;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ksm-et-prose {
    font-size: 1.05rem;
    color: #334155;
}

.ksm-et-prose p { margin: 0 0 1em; }
.ksm-et-prose h2, .ksm-et-prose h3 { color: #0f172a; margin: 1.5em 0 0.5em; }
.ksm-et-muted { color: #64748b; font-size: 0.95em; }

.ksm-et-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
}

.ksm-et-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ksm-et-badge--featured { background: #fef3c7; color: #92400e; }
.ksm-et-badge--glass { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(8px); }
.ksm-et-badge--dark { background: #0f172a; color: #fff; }

.ksm-et-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ksm-et-status--cancelled { background: #fee2e2; color: #991b1b; }
.ksm-et-status--postponed { background: #fef3c7; color: #92400e; }
.ksm-et-status--completed { background: #e2e8f0; color: #475569; }

.ksm-et-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

.ksm-et-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.ksm-et-meta-chips--light .ksm-et-chip {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
}

.ksm-et-meta-chips--gold .ksm-et-chip {
    background: rgba(201,169,110,0.12);
    color: #efe5cf;
    border: 1px solid rgba(201,169,110,0.22);
}

.ksm-et-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ksm-et-cta:hover { transform: translateY(-2px); text-decoration: none; }

.ksm-et-booking-card .ksm-booking-section {
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.ksm-et-booking-card .ksm-booking-form {
    max-width: none;
}

/* ── Booking form integration (all templates) ────────────────────────── */

/* Strip duplicate form-template container shells — the page card is the frame */
.ksm-event-page .ksm-booking-section[class*="ksm-em-template-"],
.ksm-event-page .ksm-booking-form[class*="ksm-em-template-"] {
    max-width: none !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    border-left: none !important;
    overflow: visible !important;
}

/* Only strip inner form shell padding — card wrappers provide outer spacing */
.ksm-event-page .ksm-booking-form[class*="ksm-em-template-"] {
    padding: 0 !important;
}

/* Booking cards supply consistent outer padding for sidebar / embedded forms */
.ksm-event-page .ksm-et-booking-card .ksm-booking-section[class*="ksm-em-template-"] {
    padding: 28px 32px 36px !important;
}

.ksm-event-page .ksm-booking-form[class*="ksm-em-template-"]::before {
    display: none !important;
}

/* Sidebar: studio split-grid breaks in narrow columns — use stacked layout */
.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-em-form-field,
.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-em-form-submit {
    display: block;
    grid-template-columns: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--ksm-et-border);
}

.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-em-form-field:first-of-type {
    border-top: 1px solid var(--ksm-et-border);
}

.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio label {
    padding-top: 0;
    margin-bottom: 8px;
}

.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-em-submit-button {
    grid-column: auto;
    width: 100%;
    margin-top: 8px;
}

.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-payment-method-field > label:not(.ksm-payment-card),
.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-payment-method-field > .ksm-payment-cards,
.ksm-event-page .ksm-et-booking-card .ksm-em-template-studio .ksm-payment-method-field > .ksm-payment-panel {
    grid-column: auto;
}

/* Full-width checkout blocks */
.ksm-event-page .ksm-booking-form .ksm-form-field:has(.ksm-ticket-cards),
.ksm-event-page .ksm-booking-form .ksm-payment-method-field,
.ksm-event-page .ksm-booking-form .ksm-booking-summary,
.ksm-event-page .ksm-booking-form .ksm-form-submit,
.ksm-event-page .ksm-booking-form .ksm-booking-messages {
    width: 100%;
    flex: 1 1 100%;
}

.ksm-event-page .ksm-form-submit {
    margin-top: 8px;
    padding-top: 4px;
}

.ksm-event-page .ksm-em-submit-button,
.ksm-event-page .ksm-submit-btn {
    width: 100%;
}

/* Ticket cards */
.ksm-event-page .ksm-ticket-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 8px;
}

.ksm-event-page .ksm-ticket-card {
    background: var(--ksm-et-surface);
    border: 1px solid var(--ksm-et-border);
    border-radius: var(--ksm-et-radius);
    padding: 16px;
    box-shadow: none;
    gap: 12px;
}

.ksm-event-page .ksm-ticket-name {
    color: var(--ksm-et-text);
    font-size: 15px;
}

.ksm-event-page .ksm-ticket-price {
    color: var(--ksm-et-accent);
    font-weight: 700;
}

.ksm-event-page .ksm-ticket-desc,
.ksm-event-page .ksm-ticket-desc small {
    color: var(--ksm-et-muted);
}

.ksm-event-page .ksm-ticket-qty {
    border: 1px solid var(--ksm-et-border);
    border-radius: calc(var(--ksm-et-radius) * 0.75);
    background: var(--ksm-et-surface-alt);
    color: var(--ksm-et-text);
}

.ksm-event-page .ksm-ticket-increase,
.ksm-event-page .ksm-ticket-decrease {
    border: 1px solid var(--ksm-et-border);
    border-radius: calc(var(--ksm-et-radius) * 0.75);
    color: var(--ksm-et-accent);
    background: var(--ksm-et-surface-alt);
    width: 38px;
    height: 38px;
}

.ksm-event-page .ksm-ticket-increase:hover,
.ksm-event-page .ksm-ticket-decrease:hover {
    background: var(--ksm-et-accent-soft);
    border-color: var(--ksm-et-accent);
}

/* Booking summary */
.ksm-event-page .ksm-booking-summary {
    background: var(--ksm-et-surface-alt);
    border: 1px solid var(--ksm-et-border);
    border-radius: var(--ksm-et-radius);
    padding: 16px 18px;
    margin: 16px 0;
}

.ksm-event-page .ksm-booking-summary .total-amount {
    font-size: 15px;
    font-weight: 600;
    color: var(--ksm-et-text);
}

.ksm-event-page .ksm-booking-summary .total-amount .amount {
    color: var(--ksm-et-accent);
    font-size: 1.35rem;
    font-weight: 700;
}

/* Payment method field */
.ksm-event-page .ksm-payment-method-field > label:not(.ksm-payment-card) {
    color: var(--ksm-et-text);
    font-weight: 600;
    margin-bottom: 10px;
}

.ksm-event-page .ksm-payment-cards {
    gap: 10px;
}

.ksm-event-page .ksm-payment-card {
    background: var(--ksm-et-surface);
    border: 1.5px solid var(--ksm-et-border);
    border-radius: var(--ksm-et-radius);
    padding: 14px 16px;
}

.ksm-event-page .ksm-payment-card:hover {
    border-color: var(--ksm-et-accent);
    box-shadow: 0 0 0 3px var(--ksm-et-accent-soft);
}

.ksm-event-page .ksm-payment-card.is-active {
    border-color: var(--ksm-et-accent);
    background: var(--ksm-et-accent-soft);
    box-shadow: 0 0 0 3px var(--ksm-et-accent-soft);
}

.ksm-event-page .ksm-payment-card-label,
.ksm-event-page .ksm-payment-card-label strong {
    color: var(--ksm-et-text);
}

.ksm-event-page .ksm-payment-card-label span {
    color: var(--ksm-et-muted);
}

.ksm-event-page .ksm-payment-card.is-active .ksm-payment-card-check {
    color: var(--ksm-et-accent);
}

.ksm-event-page .ksm-stripe-wrapper {
    background: var(--ksm-et-surface);
    border: 1px solid var(--ksm-et-border);
    border-radius: var(--ksm-et-radius);
}

.ksm-event-page .ksm-stripe-field label {
    color: var(--ksm-et-muted);
}

.ksm-event-page .ksm-stripe-element {
    border-color: var(--ksm-et-border);
    background: var(--ksm-et-surface-alt);
}

.ksm-event-page .ksm-offline-notice {
    background: var(--ksm-et-surface-alt);
    border: 1px solid var(--ksm-et-border);
    border-radius: var(--ksm-et-radius);
    color: var(--ksm-et-muted);
}

/* Per-template accent tokens */
.ksm-event-template-classic {
    --ksm-et-accent: #2271b1;
    --ksm-et-accent-soft: rgba(34, 113, 177, 0.08);
    --ksm-et-radius: 10px;
}

.ksm-event-template-aurora {
    --ksm-et-accent: #6366f1;
    --ksm-et-accent-soft: rgba(99, 102, 241, 0.12);
    --ksm-et-surface: rgba(255, 255, 255, 0.82);
    --ksm-et-surface-alt: rgba(238, 242, 255, 0.72);
    --ksm-et-border: rgba(99, 102, 241, 0.18);
    --ksm-et-radius: 14px;
}

.ksm-event-template-pinnacle {
    --ksm-et-accent: #0f172a;
    --ksm-et-accent-soft: #f1f5f9;
    --ksm-et-surface: #ffffff;
    --ksm-et-surface-alt: #f8fafc;
    --ksm-et-border: #e2e8f0;
    --ksm-et-radius: 8px;
}

.ksm-event-template-velvet {
    --ksm-et-accent: #c9a96e;
    --ksm-et-accent-soft: rgba(201, 169, 110, 0.14);
    --ksm-et-surface: rgba(26, 31, 53, 0.72);
    --ksm-et-surface-alt: rgba(12, 15, 26, 0.55);
    --ksm-et-border: rgba(201, 169, 110, 0.22);
    --ksm-et-text: #efe5cf;
    --ksm-et-muted: rgba(239, 229, 207, 0.55);
    --ksm-et-radius: 4px;
}

.ksm-event-template-summit {
    --ksm-et-accent: #e8305a;
    --ksm-et-accent-soft: rgba(232, 48, 90, 0.08);
    --ksm-et-surface: #ffffff;
    --ksm-et-surface-alt: #fafafa;
    --ksm-et-border: #e5e7eb;
    --ksm-et-radius: 0;
}

.ksm-event-template-horizon {
    --ksm-et-accent: #111827;
    --ksm-et-accent-soft: #f3f4f6;
    --ksm-et-surface: #ffffff;
    --ksm-et-surface-alt: #fafafa;
    --ksm-et-border: #e5e7eb;
    --ksm-et-radius: 0;
}

/* ── Classic ───────────────────────────────────────────────────────── */
.ksm-event-template-classic {
    padding: 32px 20px 64px;
    max-width: 960px;
}

.ksm-et-classic-header { margin-bottom: 28px; }
.ksm-et-classic-header .ksm-et-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }

.ksm-et-classic-media {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.ksm-et-classic-grid {
    display: grid;
    gap: 28px;
    margin-bottom: 40px;
}

.ksm-et-classic-details,
.ksm-et-classic-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
}

.ksm-et-classic-details h2,
.ksm-et-classic-content h2 {
    margin: 0 0 20px;
    font-size: 1.25rem;
}

.ksm-et-details-list { margin: 0; }
.ksm-et-details-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}
.ksm-et-details-row:last-child { border-bottom: 0; }
.ksm-et-details-row dt { margin: 0; font-weight: 600; color: #64748b; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.ksm-et-details-row dd { margin: 0; color: #0f172a; }

.ksm-et-cta--classic {
    margin-top: 20px;
    background: #fbbf24;
    color: #111;
    box-shadow: 0 8px 24px rgba(251,191,36,0.35);
}
.ksm-et-cta--classic:hover { background: #f59e0b; color: #111; }

.ksm-et-classic-booking .ksm-booking-section {
    background: var(--ksm-et-surface-alt);
    border: 1px solid var(--ksm-et-border);
    border-radius: 16px;
    padding: 32px;
}

@media (min-width: 768px) {
    .ksm-et-classic-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Aurora ────────────────────────────────────────────────────────── */
.ksm-event-template-aurora {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.ksm-et-aurora-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 80px 24px 64px;
    background: linear-gradient(135deg, #312e81 0%, #6366f1 40%, #ec4899 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.ksm-et-aurora-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236,72,153,0.35) 0%, transparent 45%);
    pointer-events: none;
}

.ksm-et-aurora-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.ksm-et-aurora-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ksm-et-aurora-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.ksm-et-aurora-hero__actions { margin-top: 28px; }

.ksm-et-cta--aurora {
    background: rgba(255,255,255,0.95);
    color: #4338ca;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.ksm-et-cta--aurora:hover { background: #fff; color: #3730a3; }

.ksm-et-aurora-body { padding: 48px 20px 80px; }
.ksm-et-aurora-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}

.ksm-et-panel {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 48px rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.08);
}

.ksm-et-panel--glass {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
}

.ksm-et-panel h2 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ksm-et-info-cards {
    display: grid;
    gap: 16px;
}

.ksm-et-info-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ksm-et-info-card__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6366f1;
    margin-bottom: 6px;
}

.ksm-et-info-card__value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.ksm-et-info-card__value small {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 0.88rem;
    color: #64748b;
}

.ksm-et-booking-card--glass {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(79,70,229,0.12);
}

.ksm-event-template-aurora .ksm-et-aurora-sidebar .ksm-et-booking-card--glass {
    overflow: hidden;
}

.ksm-event-template-aurora .ksm-et-aurora-sidebar .ksm-booking-section,
.ksm-event-template-aurora .ksm-et-aurora-sidebar .ksm-booking-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

@media (min-width: 960px) {
    .ksm-et-aurora-layout {
        grid-template-columns: 1fr 400px;
        align-items: start;
    }
    .ksm-et-aurora-sidebar { position: sticky; top: 32px; }
}

/* ── Pinnacle ──────────────────────────────────────────────────────── */
.ksm-event-template-pinnacle {
    background: #fff;
    padding: 48px 20px 80px;
}

.ksm-et-pinnacle-shell {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
}

.ksm-et-pinnacle-title {
    font-family: var(--ksm-et-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    max-width: 14ch;
}

.ksm-et-pinnacle-figure {
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.ksm-et-pinnacle-figure img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.ksm-et-pinnacle-price {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ksm-et-prose--editorial {
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 68ch;
}

.ksm-et-pinnacle-facts {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid #0f172a;
}

.ksm-et-pinnacle-facts h2 {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.ksm-et-fact-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ksm-et-fact span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.ksm-et-fact strong {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.ksm-et-booking-card--sticky {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.ksm-et-booking-card__header {
    padding: 36px 36px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.ksm-et-booking-card__header h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
}

.ksm-et-booking-card__header p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.ksm-et-booking-card--sticky .ksm-booking-section {
    padding: 32px 36px 40px !important;
}

.ksm-event-template-pinnacle .ksm-et-booking-card--sticky .ksm-booking-section[class*="ksm-em-template-"],
.ksm-event-template-pinnacle .ksm-et-booking-card--sticky .ksm-booking-section {
    padding: 32px 36px 40px !important;
}

.ksm-event-template-pinnacle .ksm-et-booking-card__header {
    padding: 36px 36px 0;
}

.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-em-form-field {
    margin-bottom: 18px;
}

.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-form-row {
    gap: 14px;
    margin-bottom: 4px;
}

.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-ticket-card,
.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-booking-summary,
.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-payment-card,
.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-stripe-wrapper {
    width: 100%;
}

.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-form-submit,
.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-em-form-submit {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--ksm-et-border);
}

.ksm-event-template-pinnacle .ksm-et-booking-card .ksm-em-submit-button {
    display: block;
    width: 100%;
}

@media (min-width: 1024px) {
    .ksm-et-pinnacle-shell {
        grid-template-columns: 1fr 420px;
        align-items: start;
        gap: 56px;
    }
    .ksm-et-pinnacle-sidebar { position: sticky; top: 32px; }
}

/* ── Velvet ────────────────────────────────────────────────────────── */
.ksm-event-template-velvet {
    background: #0c0f1a;
    color: #efe5cf;
}

.ksm-et-velvet-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 0%, #1a1f35 0%, #0c0f1a 70%);
    background-size: cover;
    background-position: center;
    text-align: center;
}

.ksm-et-velvet-hero__frame { max-width: 780px; }

.ksm-et-eyebrow--gold { color: #c9a96e; }

.ksm-et-velvet-title {
    font-family: var(--ksm-et-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: #efe5cf;
    margin: 12px 0 20px;
}

.ksm-et-velvet-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
    margin: 28px auto;
}

.ksm-et-cta--velvet {
    background: transparent;
    color: #c9a96e;
    border: 1px solid #c9a96e;
    padding: 16px 36px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 0;
}
.ksm-et-cta--velvet:hover {
    background: #c9a96e;
    color: #0c0f1a;
}

.ksm-et-velvet-body { padding: 64px 20px 96px; }
.ksm-et-velvet-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
}

.ksm-et-velvet-section h2 {
    font-family: var(--ksm-et-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: #c9a96e;
    margin: 0 0 24px;
}

.ksm-et-prose--velvet { color: rgba(239,229,207,0.78); font-size: 1.08rem; line-height: 1.8; }
.ksm-et-prose--velvet h2, .ksm-et-prose--velvet h3 { color: #efe5cf; }

.ksm-et-velvet-details {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ksm-et-velvet-detail span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(201,169,110,0.65);
    margin-bottom: 8px;
}

.ksm-et-velvet-detail p { margin: 0; color: #efe5cf; font-size: 1.05rem; }
.ksm-et-velvet-price { color: #c9a96e !important; font-size: 1.25rem !important; }

.ksm-et-booking-card--velvet {
    background: rgba(26, 31, 53, 0.85);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 4px;
    padding: 28px;
}

.ksm-event-template-velvet .ksm-et-booking-card .ksm-booking-section,
.ksm-event-template-velvet .ksm-et-booking-card .ksm-booking-form {
    background: transparent !important;
    padding: 0 !important;
}

@media (min-width: 960px) {
    .ksm-et-velvet-grid { grid-template-columns: 1fr 400px; align-items: start; }
    .ksm-et-velvet-aside { position: sticky; top: 32px; }
}

/* ── Summit ────────────────────────────────────────────────────────── */
.ksm-event-template-summit {
    background: #fff;
    padding: 40px 20px 80px;
}

.ksm-et-summit-masthead {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 3px solid #111827;
}

.ksm-et-eyebrow--coral { color: #e8305a; }

.ksm-et-summit-masthead__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e8305a;
    letter-spacing: -0.02em;
}

.ksm-et-summit-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

.ksm-et-summit-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    max-width: 12ch;
}

.ksm-et-summit-visual {
    position: relative;
    overflow: hidden;
}

.ksm-et-summit-visual img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.ksm-et-summit-visual__accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 40%;
    height: 40%;
    background: #e8305a;
    z-index: -1;
}

.ksm-et-summit-stat-stack { display: grid; gap: 20px; }
.ksm-et-summit-stat span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}
.ksm-et-summit-stat strong { font-size: 1.15rem; font-weight: 700; }

.ksm-et-cta--summit {
    margin-top: 24px;
    background: #111827;
    color: #fff;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    padding: 18px 32px;
}
.ksm-et-cta--summit:hover { background: #e8305a; color: #fff; }

.ksm-et-prose--summit {
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 52ch;
}

.ksm-et-summit-story h2 {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 20px;
}

.ksm-et-summit-booking {
    border-top: 3px solid #111827;
    padding-top: 40px;
}

.ksm-et-summit-booking .ksm-booking-section {
    background: var(--ksm-et-surface-alt);
    border-radius: 0;
    padding: 40px;
    border: 1px solid var(--ksm-et-border);
}

@media (min-width: 900px) {
    .ksm-et-summit-grid {
        grid-template-columns: 1.2fr 0.8fr;
        grid-template-areas:
            "headline visual"
            "details visual"
            "story story"
            "booking booking";
    }
    .ksm-et-summit-headline { grid-area: headline; }
    .ksm-et-summit-visual { grid-area: visual; }
    .ksm-et-summit-details { grid-area: details; align-self: end; }
    .ksm-et-summit-story { grid-area: story; }
    .ksm-et-summit-booking { grid-area: booking; }
}

/* ── Horizon ───────────────────────────────────────────────────────── */
.ksm-event-template-horizon {
    background: #fafafa;
    padding: 64px 20px 96px;
}

.ksm-et-horizon-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.ksm-et-horizon-kicker {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 16px;
}

.ksm-et-horizon-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #111827;
}

.ksm-et-horizon-rule {
    height: 1px;
    background: #e5e7eb;
    margin: 40px 0;
}

.ksm-et-horizon-meta {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-bottom: 48px;
}

.ksm-et-horizon-meta-item span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}

.ksm-et-horizon-meta-item p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

.ksm-et-horizon-media {
    margin: 0 0 48px;
}

.ksm-et-horizon-media img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    filter: grayscale(15%);
}

.ksm-et-prose--horizon {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #4b5563;
    font-weight: 300;
}

.ksm-et-horizon-booking {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.ksm-et-horizon-booking__label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    gap: 16px;
}

.ksm-et-horizon-booking__label h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
}

.ksm-et-cta--horizon-text {
    padding: 0;
    background: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    box-shadow: none;
}
.ksm-et-cta--horizon-text:hover {
    color: #111827;
    transform: none;
}

.ksm-et-horizon-booking .ksm-booking-section {
    background: transparent;
    padding: 0;
}

/* ── Theme isolation helpers ───────────────────────────────────────── */
.single-ksm_event .entry-content > .ksm-event-page,
.single-ksm_class .entry-content > .ksm-event-page {
    width: 100%;
}

/* Hide duplicate theme title when full template renders its own */
.single-ksm_event .entry-header,
.single-ksm_class .entry-header {
    display: none;
}

/* Full-width breakout from narrow theme containers */
.ksm-event-template-aurora,
.ksm-event-template-velvet {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (max-width: 782px) {
    .ksm-et-details-row { grid-template-columns: 1fr; gap: 4px; }
    .ksm-et-aurora-hero { min-height: 60vh; padding-top: 48px; }
    .ksm-et-velvet-hero { min-height: 70vh; }
}
