/* ============================================================================
   Labocine — /host (views/Client/events/host.hbs): the invitation to host,
   in the events' dark style. events.css sets the ground, the ambient glow,
   the eyebrow and the buttons; this file lays out the page's sections.
   ============================================================================ */

.ev-host { min-height: 100vh; }
/* the glow runs the length of the page: fixed, it ended with the first screen
   wherever the page is drawn whole (a full-page capture, a print) */
.ev-host > .ev-ambient { position: absolute; }
.ev:not(.ev-theater).ev-host > section { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 var(--pad); }
.ev:not(.ev-theater).ev-host > section.hxp-hero { padding-top: clamp(80px, 10vw, 120px); }
.ev:not(.ev-theater).ev-host > section.hxp-sec { padding-top: clamp(40px, 6vw, 64px); }
.ev:not(.ev-theater).ev-host > section.hxp-end { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); text-align: center; }

.hxp-t {
    margin-top: 14px;
    font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 900; line-height: 0.98;
    letter-spacing: -0.035em; color: #fff; text-wrap: balance;
}
.hxp-lede { margin-top: 18px; max-width: 56ch; font-size: clamp(1rem, 2.4vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.hxp-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hxp-h { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 400; color: #fff; }
.hxp-sec > p { margin-top: 12px; max-width: 60ch; line-height: 1.6; color: var(--muted); }

.hxp-grid, .hxp-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 14px; margin-top: 20px;
}
.hxp-grid li, .hxp-steps li { min-width: 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.hxp-grid b, .hxp-steps b { display: block; color: #fff; font-size: 1.02rem; }
.hxp-grid span, .hxp-steps span { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.hxp-steps { counter-reset: hxp; }
.hxp-steps li { counter-increment: hxp; }
.hxp-steps b::before { content: counter(hxp, decimal-leading-zero) "\00a0\00a0"; font-family: var(--mono); font-weight: 500; color: var(--accent); }

.hxp-end__t { margin-bottom: 18px; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: #fff; }
/* the line under a way in: sign in, or ask the organisation's admin */
.hxp-fine { margin-top: 16px; max-width: 60ch; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.hxp-end .hxp-fine { margin-left: auto; margin-right: auto; }
.hxp-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
    .hxp-grid, .hxp-steps { grid-template-columns: 1fr; }
    /* a button's words may wrap rather than push past the screen */
    .ev-host .ev-btn { max-width: 100%; height: auto; min-height: 54px; padding-top: 12px; padding-bottom: 12px; white-space: normal; text-align: center; }
    .hxp-acts .ev-btn { flex: 1 1 100%; }
}
