/* Serauxmen white-paper poster (Serauxmen Events plugin, inc/white-poster.php).
   White paper; colour (--ink) only in type, rules and outlines.
   Everything is sized in container units (cqw) of .sxw, so one design fills
   a card, the event page, the maker preview or a printed sheet.
   Base: the frame is 7.5in wide (8.5x11 inside its 0.5in margin): 1cqw = 0.075in. */

.sxw-screen { width: 100%; }
.sxw { --ink: #E8501C; --k: #111; position: relative; width: 100%; aspect-ratio: 7.5 / 10; container-type: inline-size; background: #fff; color: var(--k); overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sxw p { margin: 0; }
.sxw [hidden] { display: none !important; }
.sxw__f { position: absolute; inset: 0; box-sizing: border-box; border: .7cqw solid var(--ink); padding: 3.6cqw 4.2cqw 3cqw; display: flex; flex-direction: column; font-family: "Public Sans", system-ui, sans-serif; text-align: left; }

.sxw__top { display: flex; align-items: center; gap: 2cqw; border-bottom: .28cqw solid var(--k); padding-bottom: 1.65cqw; }
.sxw__mark { flex: none; width: 8cqw; height: 8cqw; box-sizing: border-box; border: .55cqw solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 400 3cqw/1 "Archivo Black", "Arial Black", sans-serif; color: var(--ink); }
.sxw__club { font: 700 1.95cqw/1.25 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.sxw__club span { display: block; color: #555; font-weight: 500; font-size: 1.65cqw; }
.sxw__since { margin-left: auto; font: 700 1.8cqw/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; border: .28cqw solid var(--k); padding: 1cqw 1.25cqw; }

.sxw__kicker { margin-top: 2.5cqw !important; font: 900 8cqw/.95 "Big Shoulders Display", Impact, "Arial Narrow", sans-serif; color: var(--ink); text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.sxw__charity { margin-top: 1.1cqw !important; font: 400 4.2cqw/1 "Archivo Black", "Arial Black", sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.sxw__name { margin-top: .8cqw !important; font: 400 16cqw/.9 "Archivo Black", "Arial Black", sans-serif; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.sxw__rule { flex: none; height: 1.4cqw; background: var(--ink); margin: 2.5cqw 0 1.95cqw; }

.sxw__facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.2cqw; align-items: stretch; }
.sxw__facts:has(> .sxw__price[hidden]) { grid-template-columns: minmax(0, 1fr); }
.sxw__rows { display: flex; flex-direction: column; gap: .55cqw; min-width: 0; }
.sxw__fact { display: grid; grid-template-columns: 10.5cqw minmax(0, 1fr); align-items: baseline; gap: 1.1cqw; border-bottom: .2cqw solid #bbb; padding-bottom: .55cqw; }
.sxw__fact:last-of-type { border-bottom: 0; }
.sxw__fact b { font: 700 1.8cqw/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; color: var(--ink); }
.sxw__fact span { font: 900 5.55cqw/1.02 "Big Shoulders Display", Impact, "Arial Narrow", sans-serif; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.sxw__price { box-sizing: border-box; border: .7cqw solid var(--ink); min-width: 23.6cqw; padding: 1.4cqw 1.95cqw; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.sxw__price strong { font: 400 8.3cqw/.95 "Archivo Black", "Arial Black", sans-serif; color: var(--k); white-space: nowrap; }
.sxw__price strong.is-wordy { font: 900 5cqw/1 "Big Shoulders Display", Impact, sans-serif; white-space: normal; }
.sxw__price em { margin-top: .8cqw; font: 700 1.8cqw/1.2 "JetBrains Mono", ui-monospace, monospace; font-style: normal; letter-spacing: .12em; color: var(--ink); text-transform: uppercase; }

.sxw__mid { display: flex; gap: 2.5cqw; align-items: flex-start; margin-top: 2.2cqw; }
.sxw__blurb { flex: 1; min-width: 0; font: 800 3.5cqw/1.22 "Public Sans", system-ui, sans-serif; }
.sxw__photo { flex: none; width: 29cqw; height: 22cqw; box-sizing: border-box; border: .55cqw solid var(--k); background: #eee center / cover no-repeat; filter: grayscale(1) contrast(1.05); }
.sxw__line { margin-top: 1.65cqw !important; font: 700 2.1cqw/1.3 "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; }
.sxw__grow { flex: 1; min-height: 1cqw; }

.sxw__recruit { display: flex; gap: 2.5cqw; align-items: center; border: .42cqw dashed var(--ink); padding: 1.95cqw 2.2cqw; }
.sxw__ask { flex: 1; min-width: 0; }
.sxw__ask strong { display: block; font: 400 4.2cqw/1 "Archivo Black", "Arial Black", sans-serif; text-transform: uppercase; }
.sxw__ask span { display: block; margin-top: .8cqw; font: 600 2.35cqw/1.3 "Public Sans", system-ui, sans-serif; }
.sxw__qr { flex: none; text-align: center; }
.sxw__code { width: 16.4cqw; height: 16.4cqw; }
.sxw__code svg { display: block; width: 100%; height: 100%; }
.sxw__qr b { display: block; margin-top: .7cqw; font: 700 1.5cqw/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
/* Recruiting posters: the QR box speaks quietly (thin solid outline, sentence case). */
.sxw--quiet .sxw__recruit { border-style: solid; border-width: .28cqw; }
.sxw--quiet .sxw__ask strong { font: 700 3.3cqw/1.15 "Public Sans", system-ui, sans-serif; text-transform: none; }
.sxw--quiet .sxw__ask span { font-weight: 400; color: #333; }
.sxw--quiet .sxw__qr b { font-weight: 500; letter-spacing: .06em; text-transform: none; }
.sxw__foot { display: flex; justify-content: space-between; gap: 1.4cqw; margin-top: 1.4cqw; font: 700 1.65cqw/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- On the website (full bleed: the border is the edge) ---------- */
.sx-poster-block > .sxw-screen { max-width: 560px; }
.sx-evp--white .sx-flip__front { background: #fff; }
.sx-evp__pbtn--white { border-color: #fff; color: #fff !important; }
.sx-wp-btn { background: #fff !important; border-color: #fff !important; }
.sx-wp-btn b { font-size: clamp(24px, 2.6vw, 30px) !important; }
.sx-em-wprev .sxw-screen { box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.sx-em-wprint { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* ---------- Printing ---------- */
.sxw-printpage { margin: 0; background: #e9e9e6; font-family: "Public Sans", system-ui, sans-serif; }
.sxw-printpage__tip { margin: 12px auto; max-width: 7.5in; font-size: 14px; color: #333; }
.sxw-printpage__tip button { margin-left: 8px; font: inherit; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.sxw-sheet { width: 7.5in; margin: 0 auto 24px; background: #fff; box-shadow: 0 0 0 .5in #fff, 0 8px 30px rgba(0, 0, 0, .25); }
.sxw-printpage.is-tabloid .sxw-sheet { width: 9.7in; }
@media print {
	.sxw-printpage { background: #fff; }
	.sxw-printpage__tip { display: none; }
	.sxw-sheet { margin: 0 auto; box-shadow: none; }
	.sxw-printpage.is-tabloid .sxw-sheet { margin-top: 1.53in; } /* 9.7 x 12.93in, centred on the 10 x 16in printable area */
}

/* ---------- Make a Poster page ---------- */
.sxwm { --acc: var(--sx-gold, #FFD25A); }
.sxwm__tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 24px; }
.sxwm__tabs a { padding: 10px 14px; border: 2px solid var(--sx-line, #1E3D30); color: var(--sx-chalk, #F4F1E8) !important; text-decoration: none; font: 700 13px/1 var(--sx-mono, monospace); letter-spacing: .06em; text-transform: uppercase; }
.sxwm__tabs a[aria-current] { border-color: var(--acc); background: rgba(255, 210, 90, .12); }
.sxwm__tabs .sxwm__tabs-alt { margin-left: auto; border-color: transparent; color: var(--sx-muted, #9FB8AA) !important; }
.sxwm__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sxwm__fields { display: grid; gap: 14px; }
.sxwm__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sxwm__field { display: grid; gap: 5px; align-content: start; }
.sxwm__field > span { font: 700 12px/1.2 var(--sx-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--sx-mist, #D5DDD8); }
.sxwm__field small { font-size: 13px; color: var(--sx-muted, #9FB8AA); }
.sxwm__field input[type=text], .sxwm__field select, .sxwm__field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; background: var(--sx-deep, #06140F); color: var(--sx-chalk, #F4F1E8); border: 2px solid var(--sx-line, #1E3D30); font: 600 16px/1.35 var(--sx-body, sans-serif); }
.sxwm__field :focus-visible { outline: 3px solid var(--acc); outline-offset: 1px; }
.sxwm__inks { display: flex; flex-wrap: wrap; gap: 8px; }
.sxwm__ink { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 2px solid var(--sx-line, #1E3D30); cursor: pointer; font-size: 13px; color: var(--sx-chalk, #F4F1E8); }
.sxwm__ink input { position: absolute; opacity: 0; }
.sxwm__ink i { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--sw); }
.sxwm__ink:has(input:checked) { border-color: var(--acc); }
.sxwm__ink:has(input:focus-visible) { outline: 3px solid var(--acc); }
.sxwm__tones { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.sxwm__tone { position: relative; display: grid; gap: 2px; padding: 10px 12px 10px 36px; border: 2px solid var(--sx-line, #1E3D30); cursor: pointer; color: var(--sx-chalk, #F4F1E8); }
.sxwm__tone input { position: absolute; left: 12px; top: 13px; accent-color: var(--acc); }
.sxwm__tone b { font-size: 15px; }
.sxwm__tone small { font-size: 12px; color: var(--sx-muted, #9FB8AA); }
.sxwm__tone:has(input:checked) { border-color: var(--acc); }
.sxwm__picrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sxwm__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sxwm__rm { font-size: 14px; color: var(--sx-chalk, #F4F1E8); }
.sxwm__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 2px solid var(--sx-chalk, #F4F1E8); background: transparent; color: var(--sx-chalk, #F4F1E8) !important; font: 700 13px/1 var(--sx-mono, monospace); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.sxwm__btn:hover, .sxwm__btn:focus-visible { border-color: var(--acc); color: var(--acc) !important; outline: none; }
.sxwm__btn--ghost { border-color: var(--sx-line, #1E3D30); color: var(--sx-mist, #D5DDD8) !important; justify-self: start; }
.sxwm__save { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sxwm__save .sx-maker__save { padding: 0 22px; }
.sxwm__preview { position: sticky; top: 20px; }
.sxwm__preview .sx-maker__label span { display: block; margin-top: 4px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--sx-muted, #9FB8AA); }
.sxwm__editing { margin: 0; color: var(--sx-chalk, #F4F1E8); }
.sxwm__list { display: grid; gap: 22px; }
.sxwm__item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding: 18px; border: 2px solid var(--sx-line, #1E3D30); background: var(--sx-panel, #12301F); }
.sxwm__item h3 { margin: 0; font: 400 22px/1.1 var(--sx-logo, sans-serif); text-transform: uppercase; color: var(--sx-chalk, #F4F1E8); }
.sxwm__meta { margin: 6px 0 12px !important; font: 500 12px/1.4 var(--sx-mono, monospace); text-transform: uppercase; color: var(--sx-muted, #9FB8AA); }
.sxwm__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sxwm__del { margin: 0; }
.sxwm__others { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--sx-line, #1E3D30); }
.sxwm__oh { margin: 0 0 10px !important; font: 700 12px/1 var(--sx-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.sxwm__none, .sxwm__empty { margin: 0; color: var(--sx-muted, #9FB8AA); }
.sxwm__tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.sxwm__tile { width: 130px; display: grid; gap: 6px; align-content: start; }
.sxwm__thumb { width: 130px; aspect-ratio: 7.5 / 10; overflow: hidden; background: #fff; }
.sxwm__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sxwm__thumb { position: relative; }
.sxwm__thumb--crop img { position: absolute; left: -6.64%; top: -4.96%; width: 113.27%; height: 109.91%; max-width: none; object-fit: fill; }
.sxwm__thumb--old .sxp-print { width: 400px; box-shadow: none; transform: scale(.325); transform-origin: 0 0; }
.sxwm__tile p { margin: 0 !important; font-size: 12px; line-height: 1.3; color: var(--sx-chalk, #F4F1E8); }
.sxwm__tbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.sxwm__tbtns a { padding: 5px 7px; border: 1.5px solid var(--sx-muted, #9FB8AA); color: var(--sx-chalk, #F4F1E8) !important; font: 700 11px/1 var(--sx-mono, monospace); text-decoration: none; text-transform: uppercase; }
@media (max-width: 860px) {
	.sxwm__preview { position: static; order: -1; max-width: 420px; }
	.sxwm__item { grid-template-columns: minmax(0, 1fr); }
	.sxwm__mini { max-width: 260px; }
}
@media (max-width: 480px) { .sxwm__two { grid-template-columns: 1fr; } }
