/* Serauxmen Event Extras */

/* ---- On the poster (sizes in cqw so they scale with the poster, same as the theme) ---- */
.sxx-photo { position: relative; margin: -5.2cqw -6.06cqw 3.6cqw; aspect-ratio: 2.4 / 1; overflow: hidden; background: #d9d4c7; flex: none; }
.sxx-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sxx-qr.sxx-qr--on-photo { position: absolute; right: 3.5cqw; bottom: 3cqw; width: 22cqw; margin: 0; background: #fff; padding: 0 0 1cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--acc, #FF5A1F); }
.sxx-qr--on-photo figcaption { margin-top: .6cqw; font-size: 1.85cqw; }
.sxx-row { display: flex; align-items: center; gap: 4.5cqw; margin: 4.9cqw 0 4.1cqw; }
.sxx-row .sxp__blurb { margin: 0 !important; max-width: none !important; flex: 1 1 auto; min-width: 0; }
.sxx-qr { flex: none; width: 24cqw; margin: 0 0 0 auto; text-align: center; }
.sxx-qr__box { background: #fff; border: 0.9cqw solid var(--sx-pine, #0B1F17); padding: 1cqw; line-height: 0; }
.sxx-qr__box svg { display: block; width: 100%; height: auto; }
.sxx-qr figcaption { margin-top: 1.3cqw; font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 2.1cqw; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--sx-pine, #0B1F17); }

/* ---- Create an Event ---- */
.sxx-maker .sxx-lead { margin: 0 0 12px; font-size: 14px; opacity: .8; grid-column: 1 / -1; }
.sxx-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0; font-weight: 600; cursor: pointer; grid-column: 1 / -1; }
.sxx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc, #FF5A1F); flex: none; }
.sxx-qr-note { margin: 6px 0 0; font-size: 14px; opacity: .85; grid-column: 1 / -1; overflow-wrap: anywhere; }
.sxx-qr-note b { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; }
.sxx-file input[type=file] { padding: 10px; border: 2px dashed currentColor; width: 100%; cursor: pointer; background: transparent; color: inherit; }
.sxx-photo-pick { display: flex; gap: 12px; align-items: center; margin: 4px 0 8px; grid-column: 1 / -1; }
.sxx-photo-pick img { width: 140px; aspect-ratio: 2.4 / 1; object-fit: cover; border: 2px solid currentColor; }
.sxx-photo-pick button { font: inherit; font-size: 13px; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }

/* ---- QR downloads in the print panel ---- */
.sxx-dl { margin-top: 16px; }
.sxx-dl__label { margin: 0 0 6px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sxx-dl__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sxx-dl__btns button { flex: 1 1 120px; font: 700 15px/1.2 "Public Sans", system-ui, sans-serif; text-align: left; padding: 10px 12px; cursor: pointer; background: var(--sx-chalk, #F4F1E8); color: var(--sx-pine, #0B1F17); border: 2px solid var(--sx-pine, #0B1F17); }
.sxx-dl__btns button small { display: block; font: 700 10px/1.3 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.sxx-dl__btns button:hover { background: var(--sx-signal, #FF5A1F); }
.sxx-dl__url { margin: 6px 0 0; font-family: "JetBrains Mono", monospace; font-size: 11px; opacity: .7; overflow-wrap: anywhere; }

/* ---- The details section on event pages ---- */
.sxx-d { margin: 40px 0 0; padding: 24px; background: var(--sx-panel, #12301F); color: var(--sx-chalk, #F4F1E8); border: 2px solid var(--sx-chalk, #F4F1E8); }
.sxx-d__head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sxx-d h2 { margin: 0; font-family: "Big Shoulders Display", Impact, sans-serif; font-weight: 900; font-size: clamp(30px, 5vw, 44px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.sxx-d h3 { margin: 0 0 10px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-gold, #FFD25A); }
.sxx-d__cal { display: inline-block; padding: 10px 16px; background: var(--sx-signal, #FF5A1F); color: var(--sx-pine, #0B1F17) !important; font-weight: 800; text-decoration: none !important; border: 2px solid var(--sx-pine, #0B1F17); box-shadow: 4px 4px 0 var(--sx-chalk, #F4F1E8); }
.sxx-d--slim { background: none; border: 0; padding: 0; margin-top: 24px; color: inherit; }
.sxx-d--slim .sxx-d__licence { margin-top: 10px; }
.sxx-d__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px 32px; }
.sxx-d__block { min-width: 0; }
.sxx-d__block--wide { grid-column: 1 / -1; }
.sxx-d__sched { list-style: none; margin: 0; padding: 0; }
.sxx-d__sched li { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid rgba(244, 241, 232, .2); }
.sxx-d__sched li:first-child { border-top: 0; }
.sxx-d__sched b { flex: none; min-width: 5.5em; font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--sx-signal, #FF5A1F); }
.sxx-d__list { margin: 0; padding-left: 1.2em; }
.sxx-d__list li { margin: 4px 0; }
.sxx-d__list li::marker { color: var(--sx-signal, #FF5A1F); }
.sxx-d__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 28px; margin: 0; }
.sxx-d__facts dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.sxx-d__facts dd { margin: 2px 0 0; font-weight: 600; }
.sxx-d__sponsors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sxx-d__sponsors li { padding: 6px 12px; border: 2px solid var(--sx-chalk, #F4F1E8); font-weight: 700; }
.sxx-d__licence { margin: 18px 0 0; font-size: 12px; opacity: .7; }

@media print { .sxx-dl { display: none; } }

/* 1.2.1: the QR code sits at the right-hand end of the coloured strip at the bottom of the poster,
   inside it; the strip's words move left to make room. */
.sxp__foot { position: relative; }
.sxp__foot.sxx-foot--qr { padding-right: 17cqw; padding-left: 4cqw; }
.sxx-qr.sxx-qr--foot { position: absolute; right: 2.2cqw; top: 50%; transform: translateY(-50%); width: auto; height: calc(100% - 2.4cqw); aspect-ratio: 1; margin: 0; }
.sxx-qr--foot .sxx-qr__box { height: 100%; box-sizing: border-box; border-width: .5cqw; padding: .55cqw; display: grid; place-items: center; }
.sxx-qr--foot .sxx-qr__box svg { width: 100%; height: 100%; }
.sxx-qr--foot figcaption { display: none; }
.sx-evp .sxp__foot.sxx-foot--qr, body.sx-letter #sx-print-root .sxp__foot.sxx-foot--qr { padding-right: 13.5cqw; }
