/* Winners pages (template-winners.php). Dark, gallery-first; matches the /prize/ page. Theme fonts only. */
.bnw-wn {
  --wn-bg: #0e0e0e; --wn-panel: #161616; --wn-line: #2a2a2a;
  --wn-text: #cfcfcf; --wn-muted: #8f8f8f; --wn-white: #fff;
  background: var(--wn-bg); color: var(--wn-text); font-family: var(--bnw-sans); line-height: 1.6;
}
.bnw-wn *, .bnw-wn *::before, .bnw-wn *::after { box-sizing: border-box; }
.bnw-wn a { color: inherit; text-decoration: none; }
.bnw-wn img { display: block; max-width: 100%; height: auto; }
.bnw-wn p { margin: 0 0 1em; }
.bnw-wn :focus-visible { outline: 2px solid var(--wn-white); outline-offset: 3px; }
.bnw-wn-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--bnw-gutter, 24px); }
.bnw-wn-eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--wn-muted); }
.bnw-wn-eyebrow a:hover { color: var(--wn-white); }
.bnw-wn-eyebrow span { margin: 0 .5em; }

/* Hero */
.bnw-wn-hero { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.bnw-wn-hero h1 { margin: 0 0 24px; font-family: var(--bnw-serif); font-weight: 400; font-size: clamp(52px, 10vw, 128px); line-height: .95; letter-spacing: -.01em; color: var(--wn-white); }
.bnw-wn-hero h1 em { font-style: italic; color: #a9a9a9; }
.bnw-wn-intro { max-width: 58ch; font-family: var(--bnw-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: #d4d4d4; }
.bnw-wn-intro p:last-child { margin: 0; }
.bnw-wn-editions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.bnw-wn-editions a { padding: 8px 16px; border: 1px solid var(--wn-line); font-size: 13px; letter-spacing: .08em; color: var(--wn-muted); transition: color .2s, border-color .2s, background .2s; }
.bnw-wn-editions a:hover { color: var(--wn-white); border-color: #555; }
.bnw-wn-editions a[aria-current] { background: var(--wn-white); border-color: var(--wn-white); color: #000; }
.bnw-wn-jump { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--wn-line); }
.bnw-wn-jump a { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wn-muted); }
.bnw-wn-jump a:hover { color: var(--wn-white); }

/* Podium */
.bnw-wn-podium { max-width: 1240px; margin: 0 auto; padding: 0 var(--bnw-gutter, 24px) clamp(56px, 8vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 56px); scroll-margin-top: 24px; }
.bnw-wn-award { min-width: 0; }
.bnw-wn-award__img { margin: 0 0 28px; background: #000; }
.bnw-wn-award__img a { display: flex; justify-content: center; cursor: zoom-in; }
.bnw-wn-award__img img { width: auto; max-height: 72vh; object-fit: contain; }
.bnw-wn-award__label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--wn-white); }
.bnw-wn-award__label span { font-family: var(--bnw-serif); font-size: 15px; font-weight: 400; letter-spacing: .05em; color: var(--wn-muted); }
.bnw-wn-award__title { margin: 0 0 6px; font-family: var(--bnw-serif); font-weight: 400; font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--wn-white); text-wrap: balance; }
.bnw-wn-award__artist { margin: 0 0 18px; font-size: 15px; color: var(--wn-muted); }
.bnw-wn-award__artist a { color: var(--wn-white); border-bottom: 1px solid #555; }
.bnw-wn-award__artist a:hover { border-color: var(--wn-white); }
.bnw-wn-award__meta > .bnw-wn-award__artist:not(:has(a)) { color: var(--wn-text); }
.bnw-wn-award__country { display: inline-block; margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--wn-line); color: var(--wn-muted); }
.bnw-wn-award__statement { font-size: 15px; line-height: 1.7; color: #b5b5b5; max-width: 62ch; }
.bnw-wn-award__statement p:last-child { margin: 0; }

/* First place: full width, image as large as the screen allows, text in two columns below */
.bnw-wn-award--first { grid-column: 1 / -1; }
.bnw-wn-award--first .bnw-wn-award__img { margin-bottom: 36px; }
.bnw-wn-award--first .bnw-wn-award__img img { max-height: 86vh; }
.bnw-wn-award--first .bnw-wn-award__text { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 56px; align-items: start; }
.bnw-wn-award--first .bnw-wn-award__title { font-size: clamp(32px, 4vw, 52px); }
.bnw-wn-award--first .bnw-wn-award__statement { font-family: var(--bnw-serif); font-size: 19px; line-height: 1.6; color: #c9c9c9; }

/* Quote */
.bnw-wn-quote { margin: 0 auto; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); max-width: 760px; border: 0; text-align: center; font-family: var(--bnw-sans); font-style: normal; font-weight: 400; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.65; color: #e6e6e6; }
.bnw-wn-quote::before { content: "“"; display: block; font-family: var(--bnw-serif); font-size: 80px; line-height: .6; color: #555; margin-bottom: 20px; }
.bnw-wn-quote p { margin: 0 0 .8em; }
.bnw-wn-quote cite { display: block; margin-top: 22px; font: normal 600 11px/1.5 var(--bnw-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--wn-muted); }

/* Sections */
.bnw-wn-section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--wn-line); scroll-margin-top: 24px; }
.bnw-wn-section--panel { background: var(--wn-panel); border-top: 0; }
.bnw-wn-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 40px; }
.bnw-wn-head h2 { margin: 0; font-family: var(--bnw-serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; color: var(--wn-white); }
.bnw-wn-head p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wn-muted); }

/* Finalists: masonry columns, natural ratios */
.bnw-wn-masonry { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 20px; }
.bnw-wn-masonry li { break-inside: avoid; margin: 0 0 28px; }
.bnw-wn-masonry a { display: block; overflow: hidden; background: #000; cursor: zoom-in; }
.bnw-wn-masonry img { width: 100%; transition: transform .5s ease, opacity .3s; }
.bnw-wn-masonry a:hover img, .bnw-wn-masonry a:focus-visible img { transform: scale(1.025); }
.bnw-wn-cap { margin: 10px 0 0 !important; font-size: 14px; line-height: 1.4; color: #dcdcdc; }
.bnw-wn-cap em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--wn-muted); }

/* Jury */
.bnw-wn-jury { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px; text-align: center; }
.bnw-wn-jury li { flex: 0 1 260px; }
#jury .bnw-wn-head { justify-content: center; text-align: center; }
.bnw-wn-jury img, .bnw-wn-jury__ph { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); background: #222; display: block; margin-bottom: 18px; }
.bnw-wn-jury h3 { margin: 0 0 4px; font-family: var(--bnw-serif); font-weight: 400; font-size: 24px; color: var(--wn-white); }
.bnw-wn-jury p { margin: 0; font-size: 14px; color: var(--wn-muted); }

/* Outro */
.bnw-wn-outro { text-align: center; }
.bnw-wn-closing { max-width: 34ch; margin: 0 auto 56px !important; font-family: var(--bnw-serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: #e0e0e0; }
.bnw-wn-next { max-width: 640px; margin: 0 auto; padding: 48px 24px; border: 1px solid var(--wn-line); }
.bnw-wn-next__title { margin: 0 0 28px !important; font-family: var(--bnw-serif); font-style: italic; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: var(--wn-white); }
.bnw-wn-btn { display: inline-block; padding: 14px 30px; background: var(--wn-white); border: 1px solid var(--wn-white); color: #000 !important; font: 600 13px/1.6 var(--bnw-sans); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.bnw-wn-btn:hover, .bnw-wn-btn:focus-visible { background: transparent; color: var(--wn-white) !important; }

/* Fallback (box empty): normal page content on the dark background */
.bnw-wn-fallback { padding-bottom: 96px; color: var(--wn-text); }
.bnw-wn-fallback a { text-decoration: underline; }

/* Lightbox */
.bnw-wn-lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: 1fr auto; background: #050505; color: #ddd; padding: 56px 72px 20px; }
.bnw-wn-lb[hidden] { display: none; }
.bnw-wn-lb__stage { display: flex; align-items: center; justify-content: center; min-height: 0; }
.bnw-wn-lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.bnw-wn-lb__cap { margin: 14px 0 0; text-align: center; font-size: 14px; letter-spacing: .02em; }
.bnw-wn-lb__count { color: #777; margin-left: 12px; font-size: 12px; letter-spacing: .1em; }
.bnw-wn-lb button { position: absolute; background: none; border: 0; color: #bbb; cursor: pointer; padding: 12px; font: 300 34px/1 var(--bnw-sans); }
.bnw-wn-lb button:hover, .bnw-wn-lb button:focus-visible { color: #fff; }
.bnw-wn-lb__close { top: 8px; right: 12px; }
.bnw-wn-lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.bnw-wn-lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
html.bnw-wn-locked { overflow: hidden; }

@media (max-width: 900px) {
  .bnw-wn-podium { grid-template-columns: 1fr; }
  .bnw-wn-award--first .bnw-wn-award__text { grid-template-columns: 1fr; }
  .bnw-wn-award__img img, .bnw-wn-award--first .bnw-wn-award__img img { max-height: none; width: 100%; }
}
@media (max-width: 560px) {
  .bnw-wn-masonry { columns: 2; column-gap: 12px; }
  .bnw-wn-masonry li { margin-bottom: 20px; }
  .bnw-wn-cap { font-size: 13px; }
  .bnw-wn-jury { gap: 28px 16px; }
  .bnw-wn-jury li { flex-basis: calc(50% - 8px); }
  .bnw-wn-jury h3 { font-size: 19px; }
  .bnw-wn-lb { padding: 48px 8px 16px; }
  .bnw-wn-lb__prev, .bnw-wn-lb__next { top: auto; bottom: 4px; transform: none; }
}
