/* =========================================================
   Inner pages — hero, quick answer, facts, content blocks, FAQ
   ========================================================= */

/* ---------- page hero ---------- */
.ph {
  position: relative; overflow: hidden; padding: 50px 0 70px;
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(139,92,246,.32), transparent 60%),
    radial-gradient(640px 420px at 0% 100%, rgba(255,75,43,.18), transparent 60%),
    var(--ink);
}
.ph-lanes { position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(100deg, transparent 0 120px, rgba(255,255,255,.04) 120px 122px); }
.ph .container { position: relative; }
.ph h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 8.4vw, 124px); line-height: .9; margin: 16px 0 18px; max-width: 14ch;
  animation: rise .9s var(--ease) both;
}
.ph h1 em { font-style: normal; color: var(--lime); }
.hook {
  display: inline-block; margin: 0 0 16px; padding: 8px 16px 8px 14px; border-left: 4px solid var(--coral);
  background: rgba(255,255,255,.04); border-radius: 0 12px 12px 0;
  font-size: clamp(17px, 2vw, 21px); font-weight: 800; color: var(--white);
}
.ph-lead { max-width: 640px; color: #c9cfe6; font-size: 18px; margin: 0 0 28px; }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 700; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #c9cfe6; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--lime); }

/* ---------- quick answer + key facts ---------- */
.qa-wrap { padding: 0 0 20px; background: var(--ink); }
.qa-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: -10px; }
.qa-box {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200,255,61,.14), rgba(200,255,61,.03)); border: 1px solid rgba(200,255,61,.35);
}
.qa-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.qa-tag svg { width: 14px; height: 14px; }
.qa-box h2 { margin: 10px 0 10px; font-size: 22px; font-weight: 800; line-height: 1.3; }
.qa-box p { margin: 0; color: #dfe3f3; font-size: 17px; }
.facts { padding: 26px 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.facts h2 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 700; font-size: 15px; }
.facts dd a { color: var(--lime); }

/* ---------- generic sections ---------- */
.pg-sec { padding: 90px 0; }
.pg-sec.alt-bg { background: var(--ink-2); }
.pg-sec.paper { background: var(--paper); color: var(--ink); }
.pg-sec.paper .km { color: #5b6280; }
.pg-sec.paper .km::after { background: repeating-linear-gradient(90deg, rgba(10,14,31,.2) 0 10px, transparent 10px 18px); }
.pg-sec.paper .h2 em { color: var(--coral); }
.prose p { color: #c9cfe6; font-size: 18px; margin: 0 0 20px; }
.prose a { color: var(--lime); font-weight: 700; }
.prose .dropcap::first-letter { font-family: var(--display); float: left; font-size: 88px; line-height: .8; padding: 6px 12px 0 0; color: var(--lime); }
.prose-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.pg-figure { margin: 0; }
.pg-figure img { border-radius: var(--radius); box-shadow: -20px 20px 0 var(--coral); }
.pg-figure figcaption { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink); transition: transform .35s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-6px); border-color: var(--lime); }
.value span { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.value h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 800; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: repeating-linear-gradient(180deg, var(--lime) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: start; padding: 18px 22px; border-radius: 18px; background: var(--ink); border: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--ink-2); }
.timeline li:last-child { border-color: var(--lime); background: rgba(200,255,61,.06); }
.tl-year { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--lime); }
.timeline strong { display: block; font-size: 17px; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* fee table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.fee-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--ink); }
.fee-table caption { text-align: left; padding: 16px 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fee-table th, .fee-table td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); font-size: 15px; }
.fee-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); background: rgba(255,255,255,.03); }
.fee-table tbody th { font-weight: 800; }
.fee-table td b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--white); background: var(--coral); padding: 2px 10px; border-radius: 8px; }
.fee-table tbody tr:hover { background: rgba(200,255,61,.04); }

/* perks */
.perk-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.perk-card { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.perk-card h3 { margin: 0 0 16px; font-size: 20px; }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perk-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.perk-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.prose .perk-list { margin-top: 10px; }
.prize-card { padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, #f7d774, #d4a63a); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.prize-card small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.prize-card strong { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1; }
.prize-card p { margin: 6px 0 0; font-weight: 700; }

/* checklist + steps */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { padding: 22px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.check span { font-family: var(--display); font-size: 30px; color: var(--lime); }
.check h3 { margin: 6px 0 6px; font-size: 18px; }
.check p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.steps li { position: relative; padding: 26px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; translate: 0 -50%; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.steps span { font-family: var(--display); font-size: 44px; color: var(--lime); line-height: 1; }
.steps h3 { margin: 8px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }
.steps a { color: var(--lime); font-weight: 700; }

/* sponsors */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role { padding: 20px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.role small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.role strong { display: block; margin-top: 6px; font-size: 16px; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-wall li { background: var(--white); border-radius: 20px; padding: 12px 12px 10px; text-align: center; border: 1px solid rgba(10,14,31,.08); transition: transform .35s var(--ease), box-shadow .35s; }
.logo-wall li:hover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 20px 40px -22px rgba(10,14,31,.5); }
.logo-wall img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.logo-wall span { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; color: #2c3350; line-height: 1.3; }
.become { padding: 36px; border-radius: var(--radius); background: linear-gradient(120deg, var(--violet), #3b1d9a 60%, var(--ink-3)); }
.become p { max-width: 720px; font-size: 18px; margin: 0 0 22px; color: #e9e4ff; }

/* cta card */
.c-card.cta-card { padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: linear-gradient(150deg, var(--coral), #b8301a); border: 0; }
.cta-card small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cta-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; text-transform: uppercase; line-height: 1; }
.cta-card p { margin: 0 0 8px; color: #ffe7e1; }
.cta-card .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--ink); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq { border-radius: 18px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; transition: border-color .3s; }
.faq[open] { border-color: var(--lime); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.06); transition: background .3s, transform .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq[open] summary i { background: var(--lime); color: var(--ink); transform: rotate(180deg); }
.faq[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: #c9cfe6; }

/* ---------- related ---------- */
.related { padding: 0 0 100px; background: var(--ink); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rel { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.rel strong { font-size: 18px; }
.rel small { color: var(--muted); }
.rel svg { position: absolute; right: 18px; top: 22px; width: 18px; height: 18px; opacity: .4; transition: transform .3s var(--ease), opacity .3s; }
.rel:hover { transform: translateY(-5px); border-color: var(--lime); background: rgba(200,255,61,.06); }
.rel:hover svg { opacity: 1; color: var(--lime); transform: translateX(4px); }

/* home: "explore" links under sections */
.sec-more { display: flex; margin-top: 28px; }
.sec-more a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1.5px solid currentColor; transition: background .25s, color .25s; }
.sec-more a svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sec-more a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.sec-more a:hover svg { transform: translateX(4px); }

/* drawer has 9 links on multi-page site */
.drawer.open .drawer-nav li:nth-child(8) { transition-delay: .36s; }
.drawer.open .drawer-nav li:nth-child(9) { transition-delay: .40s; }
.drawer-nav a { font-size: 25px; padding: 11px 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .qa-grid, .prose-grid, .perk-grid { grid-template-columns: 1fr; }
  .value-grid, .role-grid, .rel-grid { grid-template-columns: 1fr 1fr; }
  .check-grid, .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .pg-figure { max-width: 480px; }
}
@media (max-width: 680px) {
  .ph { padding: 34px 0 50px; }
  .pg-sec { padding: 64px 0; }
  .value-grid, .role-grid, .rel-grid, .check-grid, .steps { grid-template-columns: 1fr; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .perk-list { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .prize-card strong { font-size: 56px; }
  .related { padding-bottom: 70px; }
}

/* =========================================================
   Sponsors: dedicated Pacewalk (digital partner) section
   ========================================================= */
#pacewalk { background: #0d0f16; }
.pw {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center;
  padding: 44px; border-radius: 30px;
  background: linear-gradient(135deg, #1d1d1f 0%, #2b2b2b 55%, #1b1b1d 100%);
  border: 1px solid rgba(255, 204, 0, .35);
  box-shadow: 0 40px 80px -40px rgba(255, 204, 0, .35);
}
.pw-glow {
  position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, .35), transparent 65%); pointer-events: none;
}
.pw-brand { position: relative; display: grid; place-items: center; gap: 22px; }
.pw-badge {
  width: 170px; height: 170px; border-radius: 50%; padding: 10px; background: #fdfdfd;
  box-shadow: 0 0 0 6px #ffcc00, 0 30px 60px -20px rgba(255, 204, 0, .6);
  animation: pw-float 5s ease-in-out infinite;
}
.pw-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: scale(1.1); }
@keyframes pw-float { 50% { transform: translateY(-10px) rotate(-6deg); } }
.pw-logo { width: 220px; border-radius: 18px; background: #fff; padding: 6px 14px; }
.pw-copy { position: relative; }
.pw-tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: #ffcc00; color: #1d1d1f; padding: 5px 12px; border-radius: 6px; font-weight: 700;
}
.pw-copy h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; margin: 16px 0 14px; }
.pw-copy h3 em { font-style: normal; color: #ffcc00; }
.pw-copy p { color: #d6d6da; font-size: 17px; margin: 0 0 20px; }
.pw-copy p b { color: #ffcc00; }
.pw-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pw-list li { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 14px; line-height: 1.3; }
.pw-list span { display: block; font-family: var(--display); font-size: 26px; color: #ffcc00; line-height: 1; margin-bottom: 6px; }
.pw-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn.pw-btn { background: #ffcc00; color: #1d1d1f; box-shadow: 0 14px 34px -14px #ffcc00; }
.btn.pw-btn:hover { background: var(--white); transform: translateY(-3px); }
.btn.pw-btn svg { width: 18px; height: 18px; }
.pw-note { color: #a9a9b0; font-size: 14px; font-weight: 600; }
@media (max-width: 1080px) { .pw { grid-template-columns: 1fr; padding: 34px; gap: 30px; } .pw-brand { grid-auto-flow: column; justify-content: start; } }
@media (max-width: 680px) {
  .pw { padding: 26px 20px; }
  .pw-brand { grid-auto-flow: row; justify-content: center; }
  .pw-badge { width: 130px; height: 130px; }
  .pw-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pw-badge { animation: none; } }
#pacewalk .h2 em { color: #ffcc00; }

/* Pacewalk section — compact, single logo */
.pw { grid-template-columns: auto 1fr; gap: 32px; padding: 28px 32px; border-radius: 24px; }
.pw-glow { width: 300px; height: 300px; right: -110px; top: -110px; }
.pw-brand { gap: 0; }
.pw-badge { width: 120px; height: 120px; padding: 7px; box-shadow: 0 0 0 5px #ffcc00, 0 20px 40px -18px rgba(255, 204, 0, .6); }
.pw-copy h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 10px 0 8px; }
.pw-copy p { font-size: 15px; margin: 0 0 14px; }
.pw-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pw-list li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; }
.pw-list span { display: inline-block; font-size: 16px; margin: 0; padding: 3px 9px; border-radius: 999px; background: #ffcc00; color: #1d1d1f; }
.pw .btn.pw-btn { padding: 12px 22px; font-size: 13px; }
@media (max-width: 1080px) { .pw { grid-template-columns: auto 1fr; padding: 26px; } .pw-brand { grid-auto-flow: row; } }
@media (max-width: 680px) {
  .pw { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; text-align: left; }
  .pw-brand { justify-content: start; }
  .pw-badge { width: 92px; height: 92px; }
}

/* Pacewalk: "9 Years Partner" stamp on the logo */
.pw-brand { position: relative; }
.pw-years {
  position: absolute; right: -14px; bottom: -6px; width: 62px; height: 62px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  background: #1d1d1f; color: #ffcc00; border: 2px dashed #ffcc00;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.8); transform: rotate(-12deg);
}
.pw-years strong { font-family: var(--display); font-weight: 400; font-size: 26px; }
.pw-years span { font-family: var(--mono); font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: #fff; margin-top: 1px; }
@media (max-width: 680px) { .pw-brand { justify-self: start; } .pw-years { width: 54px; height: 54px; right: -18px; } .pw-years strong { font-size: 22px; } }

/* Pacewalk strip — compact, single message */
.pg-sec.pw-sec { padding: 46px 0; }
.pw-sec .pw {
  display: flex; align-items: center; gap: 24px; padding: 22px 26px; border-radius: 22px;
}
.pw-sec .pw-glow { width: 240px; height: 240px; right: -90px; top: -120px; }
.pw-sec .pw-badge { flex: none; width: 84px; height: 84px; padding: 5px; box-shadow: 0 0 0 4px #ffcc00, 0 14px 30px -14px rgba(255,204,0,.6); }
.pw-sec .pw-copy { flex: 1; min-width: 0; }
.pw-sec .pw-tag { font-size: 10px; padding: 4px 10px; }
.pw-title { margin: 8px 0 4px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.pw-title em { font-style: normal; color: #ffcc00; }
.pw-sec .pw-copy p { margin: 0; font-size: 15px; color: #d6d6da; }
.pw-sec .pw-copy p b { color: #ffcc00; }
.pw-sec .btn.pw-btn { flex: none; padding: 12px 20px; font-size: 13px; position: relative; }
@media (max-width: 860px) {
  .pw-sec .pw { flex-wrap: wrap; }
  .pw-sec .pw-copy { flex-basis: calc(100% - 110px); }
  .pw-sec .btn.pw-btn { margin-left: 108px; }
}
@media (max-width: 520px) {
  .pw-sec .pw { padding: 20px 18px; gap: 16px; }
  .pw-sec .pw-badge { width: 64px; height: 64px; }
  .pw-sec .pw-copy { flex-basis: calc(100% - 82px); }
  .pw-sec .btn.pw-btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* =========================================================
   Gallery: race-day photos with filters; posters on Sponsors
   ========================================================= */
.gal-sec { padding-top: 40px; }
.g-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.g-filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #c9cfe6;
  font: 800 13px var(--body); letter-spacing: .03em; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.g-filter span { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.g-filter:hover { border-color: var(--lime); color: var(--white); }
.g-filter.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.g-filter.on span { background: var(--ink); color: var(--lime); }
.masonry.photos, .masonry.posters { padding-bottom: 0; }
.masonry.photos { columns: 3 300px; column-gap: 16px; }
.masonry.photos .m-item { margin-bottom: 16px; border-radius: 16px; }
.m-item[hidden] { display: none; }
.m-item:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.pg-sec.paper .masonry.posters .m-item { border-color: rgba(10,14,31,.1); background: #fff; }
#posters { background: var(--ink-2); }
.lb-cap {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; max-width: min(900px, 92vw); margin: 0;
  padding: 8px 14px; border-radius: 10px; background: rgba(10,14,31,.8); color: #e3e7f5; font-size: 13.5px; text-align: center;
}
@media (max-width: 680px) {
  .masonry.photos { columns: 2 150px; column-gap: 10px; }
  .masonry.photos .m-item { margin-bottom: 10px; border-radius: 12px; }
  .g-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
  .g-filter { flex: none; }
  .lb-cap { font-size: 12px; bottom: 90px; }
}
