/* Ronald Experiencias — Event Hub styles
   Extends experiences.css; requires .rex base variables. */

/* ── Shell ───────────────────────────────────────────────────── */
.rex-event-shell {
    max-width: 860px;
    padding: 180px 28px 96px;
    margin: auto;
}

/* ── Header ──────────────────────────────────────────────────── */
.rex-event-header { margin-bottom: 52px; }
.rex-event-title {
    font-size: clamp(36px, 6vw, 68px);
    margin: 6px 0 14px;
    color: var(--rex-navy);
    font-family: var(--font-primary, 'Libre Caslon Display', Georgia, serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.rex-event-tagline {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--rex-ink);
    margin: 0 0 24px;
    max-width: 680px;
}
.rex-event-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 14px;
    color: var(--rex-ink);
    border-top: 1px solid var(--rex-line);
    padding-top: 18px;
}
.rex-event-meta li::before { content: none; }
.rex-event-meta-sep { opacity: .4; }

/* ── Welcome ─────────────────────────────────────────────────── */
.rex-event-welcome {
    background: var(--rex-paper);
    border-left: 3px solid var(--rex-navy);
    padding: 22px 28px;
    margin-bottom: 48px;
}
.rex-event-welcome-text {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

/* ── Sections ────────────────────────────────────────────────── */
.rex-event-section {
    border-top: 1px solid var(--rex-line);
    padding-top: 44px;
    margin-bottom: 48px;
}
.rex-event-section h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    margin: 0 0 28px;
    color: var(--rex-navy);
    font-family: var(--font-primary, 'Libre Caslon Display', Georgia, serif);
    font-weight: 400;
}
.rex-event-prose {
    max-width: 680px;
    line-height: 1.75;
}
.rex-event-prose p { margin: 0 0 16px; }

/* ── Agenda list ─────────────────────────────────────────────── */
.rex-agenda-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.rex-agenda-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: start;
    gap: 0 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rex-line);
}
.rex-agenda-item:first-child { border-top: 1px solid var(--rex-line); }
.rex-agenda-item.rex-agenda-milestone {
    background: color-mix(in srgb, var(--rex-navy) 4%, transparent);
    margin: 0 -12px;
    padding: 18px 12px;
    border-radius: 2px;
}
.rex-agenda-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--rex-navy);
    letter-spacing: .04em;
    padding-top: 3px;
}
.rex-agenda-body { min-width: 0; }
.rex-agenda-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--rex-navy);
    line-height: 1.4;
}
.rex-agenda-desc {
    font-size: 14px;
    margin: 6px 0 0;
    color: var(--rex-ink);
    line-height: 1.6;
}
.rex-agenda-milestone-badge {
    font-size: 14px;
    color: var(--rex-navy);
    opacity: .7;
    padding-top: 2px;
    flex-shrink: 0;
}

/* ── Visibility note ─────────────────────────────────────────── */
.rex-event-visibility-note {
    border-top: 1px solid var(--rex-line);
    padding-top: 24px;
    font-size: 13px;
    color: var(--rex-ink);
    opacity: .7;
    margin-top: 16px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .rex-event-shell { padding: 140px 20px 64px; }
    .rex-event-welcome { padding: 18px 20px; }
    .rex-agenda-item { grid-template-columns: 58px 1fr auto; gap: 0 12px; }
    .rex-agenda-time { font-size: 12px; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .rex-event-shell * { transition: none !important; animation: none !important; }
}
