/*
Theme Name: BNW Minimalism
Theme URI: https://minimalismmag.com
Author: B&W Minimalism Magazine
Description: Lightweight editorial theme for B&W Minimalism Magazine. No page builder, no external fonts, no trackers.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: bnw
*/

/* ---------- Fonts (served from the theme; SIL Open Font License) ---------- */
@font-face { font-family: "BNW Serif"; src: url("assets/fonts/EBGaramond-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "BNW Serif"; src: url("assets/fonts/EBGaramond-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "BNW Serif"; src: url("assets/fonts/EBGaramond-Medium.ttf") format("truetype"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "BNW Sans"; src: url("assets/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BNW Sans"; src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 500 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bnw-ink: #111111;
  --bnw-ink-2: #3d3c39;
  --bnw-muted: #6b6a66;
  --bnw-line: #e4e2dd;
  --bnw-tint: #f4f3f0;
  --bnw-paper: #ffffff;
  --bnw-dark: #111111;
  --bnw-dark-text: #cfcdc7;
  --bnw-dark-muted: #a8a6a0;
  --bnw-serif: "BNW Serif", "EB Garamond", Georgia, "Times New Roman", serif;
  --bnw-sans: "BNW Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bnw-wrap: 1240px;
  --bnw-gutter: 24px;
  --bnw-radius: 14px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bnw-paper); color: var(--bnw-ink); font-family: var(--bnw-sans); font-size: 16px; line-height: 1.6; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--bnw-ink); text-decoration: none; }
a:hover { color: #55534e; }
:focus-visible { outline: 2px solid var(--bnw-ink); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bnw-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bnw-ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.bnw-skip:focus { top: 12px; color: #fff; }
.bnw-main:focus { outline: none; }

.bnw-wrap { width: 100%; max-width: var(--bnw-wrap); margin-inline: auto; padding-inline: max(var(--bnw-gutter), env(safe-area-inset-left, 0px)) max(var(--bnw-gutter), env(safe-area-inset-right, 0px)); }
.bnw-measure { max-width: 64ch; }
.bnw-stack { display: flex; flex-direction: column; gap: 32px; }
.bnw-stack-lg { display: flex; flex-direction: column; gap: 44px; }

/* ---------- Type ---------- */
.bnw-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bnw-muted); }
.bnw-h1 { margin: 0 0 14px; font-family: var(--bnw-serif); font-weight: 500; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; text-wrap: balance; }
.bnw-h2 { margin: 0; font-family: var(--bnw-serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; text-wrap: balance; }
.bnw-h2--lg { font-size: clamp(34px, 4.2vw, 52px); }
.bnw-h3 { margin: 0; font-family: var(--bnw-serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.bnw-lede { margin: 0; font-size: 17px; color: var(--bnw-ink-2); }
.bnw-lede p { margin: 0 0 .6em; }
.bnw-link { font-size: 14px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.bnw-fineprint { margin: 0; font-size: 12px; color: var(--bnw-muted); }

/* ---------- Buttons ---------- */
.bnw-btn, .edd-submit.button, .edd-submit, input[type="submit"].bnw-btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 1px solid var(--bnw-ink); border-radius: 999px; background: var(--bnw-ink); color: #fff !important;
  font: 500 14px/1.2 var(--bnw-sans); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.bnw-btn:hover, .edd-submit:hover { background: #2a2a2a; color: #fff; }
.bnw-btn[disabled] { opacity: .6; cursor: default; }
.bnw-btn--light { background: #fff; color: var(--bnw-ink) !important; border-color: #fff; }
.bnw-btn--light:hover { background: #ece9e3; }
.bnw-btn--outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff !important; }
.bnw-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.bnw-header { border-bottom: 1px solid var(--bnw-line); background: var(--bnw-paper); position: relative; z-index: 20; }
.bnw-header__inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.bnw-logo { display: flex; align-items: center; flex: none; }
.bnw-logo__img { height: 42px; width: auto; max-width: 100%; display: block; }
@media (max-width: 420px) { .bnw-logo { flex: 0 1 auto; min-width: 0; } .bnw-logo__img { height: auto; max-height: 34px; } }
.bnw-logo__text { font-family: var(--bnw-serif); font-size: 24px; font-weight: 600; }
.bnw-nav { flex: 1 1 auto; }
.bnw-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.bnw-menu a { display: inline-block; padding: 6px 0; }
.bnw-menu .current-menu-item > a, .bnw-menu .current-menu-ancestor > a, .bnw-menu .current-category-ancestor > a { border-bottom: 1.5px solid var(--bnw-ink); }
.bnw-menu .sub-menu { list-style: none; margin: 0; padding: 10px 14px; position: absolute; background: #fff; border: 1px solid var(--bnw-line); border-radius: 10px; display: none; text-transform: none; letter-spacing: 0; }
.bnw-menu li:hover > .sub-menu, .bnw-menu li:focus-within > .sub-menu { display: block; }
.bnw-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--bnw-ink); border-radius: 999px; cursor: pointer; }
.bnw-search { position: relative; }
.bnw-search > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; cursor: pointer; }
.bnw-search > summary::-webkit-details-marker { display: none; }
.bnw-search[open] .bnw-search__form { position: absolute; right: 0; top: 52px; width: min(440px, 86vw); background: #fff; border: 1px solid var(--bnw-line); border-radius: var(--bnw-radius); padding: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.bnw-search__form { display: flex; gap: 8px; }
.bnw-search__form input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #d6d4ce; border-radius: 999px; font: inherit; font-size: 15px; }
.bnw-search__form--page { max-width: 560px; margin-top: 18px; }

@media (max-width: 960px) {
  .bnw-menu-toggle { display: grid; place-items: center; }
  .bnw-header__inner { gap: 8px; }
  .bnw-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--bnw-line); padding: 8px var(--bnw-gutter) 20px; display: none; }
  .bnw-menu-open .bnw-nav { display: block; }
  .bnw-menu { flex-direction: column; gap: 0; font-size: 15px; }
  .bnw-menu a { padding: 12px 0; display: block; border-bottom: 1px solid var(--bnw-line); }
  .bnw-menu .sub-menu { position: static; display: block; border: 0; padding: 0 0 0 16px; }
  .bnw-search { order: 2; }
}

/* ---------- Bands, grids, cards ---------- */
.bnw-band { padding-block: 80px; }
.bnw-band--tint { background: var(--bnw-tint); }
.bnw-band--dark { background: var(--bnw-dark); color: #fff; }
.bnw-band--dark .bnw-h2, .bnw-band--dark .bnw-h3, .bnw-band--dark a { color: #fff; }
.bnw-band--dark .bnw-eyebrow, .bnw-band--dark .bnw-fineprint { color: var(--bnw-dark-muted); }
.bnw-band--dark .bnw-lede { color: var(--bnw-dark-text); }
.bnw-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.bnw-grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 250px)), 1fr)); }
/* Fixed column counts, so 3 items fill a row instead of leaving an empty 4th slot. */
.bnw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bnw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bnw-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) {
  .bnw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnw-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bnw-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bnw-grid--4:not(.bnw-grid--keep-2) { grid-template-columns: minmax(0, 1fr); }
  .bnw-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.bnw-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bnw-card__media { display: block; background: var(--bnw-tint); overflow: hidden; }
.bnw-card__media img, .bnw-thumb-empty { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .5s ease; }
.bnw-card__media:hover img { transform: scale(1.02); }
.bnw-card--square .bnw-card__media img, .bnw-card--square .bnw-thumb-empty, .bnw-card--issue .bnw-card__media img, .bnw-card--issue .bnw-thumb-empty { aspect-ratio: 1 / 1; }
.bnw-card--book { background: #fff; padding: 20px; }
.bnw-card--book .bnw-card__media img, .bnw-card--book .bnw-thumb-empty { aspect-ratio: 3 / 2; }
.bnw-card--issue .bnw-card__media { box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.bnw-card__body { display: flex; flex-direction: column; gap: 6px; }
.bnw-card__meta { margin: 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bnw-muted); }
.bnw-card__title { margin: 0; font-family: var(--bnw-serif); font-weight: 500; font-size: 26px; line-height: 1.12; overflow-wrap: anywhere; }
.bnw-card--issue .bnw-card__title { font-size: 24px; }
.bnw-card__text { margin: 0; font-family: var(--bnw-serif); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--bnw-ink-2); }

/* ---------- Promo banners ---------- */
.bnw-promos { display: grid; gap: 20px; padding-block: 32px 64px; }
.bnw-promos--columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.bnw-promo { position: relative; overflow: hidden; border-radius: 16px; background: #1a1714; color: #fff; aspect-ratio: 2.4 / 1; min-height: 260px; }
.bnw-promos--columns .bnw-promo { aspect-ratio: 2 / 1.15; }
.bnw-promos--rows .bnw-promo { aspect-ratio: 3.2 / 1; }
.bnw-promo__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bnw-promo--copy .bnw-promo__media { opacity: .55; }
.bnw-promo__copy { position: absolute; inset: 0; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }
.bnw-promo:not(.bnw-promo--copy) .bnw-promo__copy { background: none; justify-content: flex-end; align-items: flex-end; }
/* Image-only banners: button sits under the text painted into the artwork (left), or centre/right. */
.bnw-promos .bnw-promo--btn-left .bnw-promo__copy { align-items: flex-start; padding: 0 0 7% 7.1%; }
.bnw-promos .bnw-promo--btn-center .bnw-promo__copy { align-items: center; padding: 0 0 6%; }
.bnw-promos .bnw-promo--btn-right .bnw-promo__copy { padding: 0 4% 6% 0; }
.bnw-promo__copy .bnw-eyebrow { color: #e8dccb; }
.bnw-promo__title { margin: 0; max-width: 18ch; font-family: var(--bnw-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; color: #fff; }
.bnw-promo__text { margin: 0; max-width: 46ch; color: #e1ded8; }
.bnw-promo__cover { position: absolute; inset: 0; }
@media (max-width: 720px) { .bnw-promo, .bnw-promos--columns .bnw-promo, .bnw-promos--rows .bnw-promo { aspect-ratio: auto; min-height: 340px; } }
/* Image-only banners (artwork with its own text) keep their natural shape at every width, so nothing is cropped. */
.bnw-promos .bnw-promo--natural { aspect-ratio: auto; min-height: 0; }
.bnw-promo--natural .bnw-promo__media { position: static; height: auto; }
@media (max-width: 720px) { .bnw-promo--natural .bnw-btn { min-height: 32px; padding: 0 14px; font-size: 12px; } .bnw-promo--natural.bnw-promo--btn-left .bnw-promo__copy { padding-bottom: 4%; } }

/* ---------- The Photo Desk ---------- */
.bnw-series { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.bnw-series__head { display: flex; align-items: baseline; gap: 10px 16px; flex-wrap: wrap; }
.bnw-series__head .bnw-link { margin-left: auto; }
.bnw-series__about { font-size: 14px; color: var(--bnw-dark-muted); }
.bnw-video { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bnw-video__media { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #222; aspect-ratio: 16 / 9; }
.bnw-video__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bnw-video__play { position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.92); color: #111; display: grid; place-items: center; }
.bnw-video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }
.bnw-video__date { margin: 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bnw-dark-muted); }
.bnw-video__title { margin: 0; font-family: var(--bnw-sans); font-size: 17px; font-weight: 500; line-height: 1.35; }
.bnw-link--light { color: #fff; }

/* ---------- Prize band ---------- */
.bnw-prize { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.bnw-prize__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bnw-prize__facts { display: flex; gap: 36px; flex-wrap: wrap; align-items: flex-end; }
.bnw-stat { margin: 0; font-family: var(--bnw-serif); font-size: 48px; line-height: 1; }
.bnw-prize--image { align-items: center; }
.bnw-prize__image { flex: 0 1 220px; }
.bnw-prize__image img { width: 100%; height: auto; display: block; border-radius: 12px; }
.bnw-stat--date { font-size: 36px; white-space: nowrap; }
.bnw-stat__label { margin: 6px 0 0; font-size: 13px; color: var(--bnw-muted); }

/* ---------- Page heads, archives, pagination ---------- */
.bnw-page-head { padding-block: 56px 32px; border-bottom: 1px solid var(--bnw-line); margin-bottom: 40px; }
.bnw-archive { padding-bottom: 88px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 48px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--bnw-line); border-radius: 999px; font-size: 14px; }
.page-numbers.current { background: var(--bnw-ink); color: #fff; border-color: var(--bnw-ink); }
.bnw-404 { min-height: 50vh; border: 0; }

/* ---------- Articles ---------- */
.bnw-article__head { padding-block: 56px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.bnw-article__meta { margin: 0; font-size: 14px; color: var(--bnw-muted); }
.bnw-article__hero { margin-block: 0 48px; }
.bnw-article__hero img { width: 100%; max-height: 80vh; object-fit: contain; background: var(--bnw-tint); display: block; }
.bnw-article__body { max-width: calc(760px + 2 * var(--bnw-gutter)); padding-bottom: 72px; }
.bnw-builder { width: 100%; padding-bottom: 48px; }
.bnw-builder > .elementor { width: 100%; }

.bnw-prose { font-size: 18px; line-height: 1.75; color: var(--bnw-ink-2); }
.bnw-prose > * { margin-block: 0 1.1em; }
.bnw-prose h2, .bnw-prose h3, .bnw-prose h4 { font-family: var(--bnw-serif); font-weight: 500; color: var(--bnw-ink); line-height: 1.2; margin-top: 1.6em; }
.bnw-prose h2 { font-size: 34px; } .bnw-prose h3 { font-size: 27px; } .bnw-prose h4 { font-size: 22px; }
.bnw-prose a { border-bottom: 1px solid currentColor; }
.bnw-prose blockquote { margin-inline: 0; padding-left: 22px; border-left: 1px solid var(--bnw-ink); font-family: var(--bnw-serif); font-style: italic; font-size: 22px; color: var(--bnw-ink); }
.bnw-prose img, .bnw-prose figure { display: block; margin-inline: auto; }
.bnw-prose figcaption, .wp-caption-text { font-size: 13px; color: var(--bnw-muted); text-align: center; margin-top: 8px; }
.bnw-prose .alignwide { width: min(1192px, 100vw - 48px); max-width: none; margin-inline: calc(50% - min(596px, 50vw - 24px)); }
.bnw-prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.bnw-prose .alignleft { float: left; margin: 0 24px 16px 0; } .bnw-prose .alignright { float: right; margin: 0 0 16px 24px; }
.bnw-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.bnw-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.bnw-prose th, .bnw-prose td { border-bottom: 1px solid var(--bnw-line); padding: 10px 8px; text-align: left; }

/* ---------- Product (Easy Digital Downloads) ---------- */
.bnw-product { display: flex; flex-wrap: wrap; gap: 64px; padding-block: 48px 88px; align-items: flex-start; }
.bnw-product__media { flex: 1 1 440px; min-width: 0; background: var(--bnw-tint); padding: 48px; display: grid; place-items: center; }
.bnw-product__media img { width: 100%; max-width: 480px; box-shadow: 0 24px 50px rgba(0,0,0,.2); }
.bnw-product__info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bnw-product__price { margin: 0; font-family: var(--bnw-serif); font-size: 40px; line-height: 1; }
.bnw-product .edd_download_purchase_form .edd_download_quantity_wrapper { display: none; }
.bnw-product .edd_purchase_submit_wrapper { margin: 0; }
.bnw-facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; font-size: 14px; border-top: 1px solid var(--bnw-line); padding-top: 20px; }
.bnw-facts dt { color: var(--bnw-muted); } .bnw-facts dd { margin: 0; }
#edd_checkout_wrap input[type="text"], #edd_checkout_wrap input[type="email"], #edd_checkout_wrap select { border: 1px solid #d6d4ce; border-radius: 10px; padding: 10px 12px; font: inherit; }

/* ---------- Comments ---------- */
.bnw-comments-wrap { max-width: calc(760px + 2 * var(--bnw-gutter)); padding-bottom: 72px; }
.bnw-comment-list { padding-left: 0; list-style: none; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #d6d4ce; border-radius: 10px; padding: 11px 13px; font: inherit; }

/* ---------- App ads ---------- */
.bnw-ad { background: #0f0f0f; color: #fff; }
.bnw-ad--mj { background: #0e0d12; }
.bnw-ad__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between; padding-block: 88px; }
.bnw-ad--mj .bnw-ad__inner { flex-wrap: wrap-reverse; }
.bnw-ad__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bnw-ad .bnw-h2 { color: #fff; }
.bnw-ad .bnw-lede { color: var(--bnw-dark-text); max-width: 54ch; }
.bnw-ad__eyebrow { margin: 0; color: #d9c7ac; }
.bnw-ad--mj .bnw-ad__eyebrow { color: #d4aa5c; }
.bnw-ad__brand { margin: 0; display: flex; align-items: center; gap: 12px; }
.bnw-ad__brand img { border-radius: 11px; display: block; }
.bnw-ad__visual { flex: 0 1 360px; min-width: 0; display: flex; justify-content: center; }
.bnw-ad__visual > img { width: 100%; max-width: 360px; height: auto; border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.bnw-badges { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.bnw-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border: 1px solid #5c5b57; border-radius: 12px; color: #fff !important; font-size: 16px; font-weight: 600; }
.bnw-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.bnw-badge small { font-size: 10px; font-weight: 400; color: var(--bnw-dark-text); }
.bnw-badge--text { border: 0; color: #d4aa5c !important; font-size: 14px; font-weight: 500; }
.bnw-ad a:hover { color: #fff; }

/* MyJury phone (matches the app's Prepare for Competitions screen) */
.bnw-mj { width: 300px; border: 10px solid #2b2b2e; border-radius: 46px; background: #1b1b1f; padding: 18px 14px 0; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.6); overflow: hidden; font-family: var(--bnw-sans); }
.bnw-mj__status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; padding: 0 6px; }
.bnw-mj__cam { width: 14px; height: 14px; border-radius: 999px; background: #000; }
.bnw-mj__screen { height: 456px; overflow: hidden; }
.bnw-mj__step { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.bnw-mj__step[hidden] { display: none; }
.bnw-mj__q { margin: 4px 0 0; text-align: center; font-style: italic; font-size: 15px; color: #fff; }
.bnw-mj__photo { position: relative; }
.bnw-mj__photo img, .bnw-mj__small { width: 100%; aspect-ratio: 1.09 / 1; object-fit: cover; display: block; border-radius: 14px; }
.bnw-mj__small { width: 72%; align-self: center; border-radius: 12px; }
.bnw-mj__chip { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #2a2a2e; border: 1px solid #45454a; font-size: 10px; font-weight: 600; letter-spacing: .14em; padding: 3px 10px; border-radius: 999px; }
.bnw-mj__hint { margin: 0; text-align: center; font-size: 9px; letter-spacing: .1em; color: #8d8b85; }
.bnw-mj__votes { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 8px; }
.bnw-mj__votes button { height: 54px; border: 0; border-radius: 14px; font: 700 10px/1.3 var(--bnw-sans); color: #fff; cursor: pointer; }
.bnw-mj__no { background: #e5484d; } .bnw-mj__yes { background: #22b35e; }
.bnw-mj__votes .bnw-mj__maybe { background: #19c3e0; color: #0b2a30; font: italic 400 15px var(--bnw-sans); }
.bnw-mj__help { margin: 0; text-align: center; font-size: 11px; line-height: 1.45; color: #a8a6a0; }
.bnw-mj__cats { display: flex; flex-direction: column; gap: 7px; }
.bnw-mj__cats button, .bnw-mj__again { height: 40px; border: 1px solid #4a4a50; border-radius: 999px; background: transparent; color: #fff; font: 600 14px var(--bnw-sans); cursor: pointer; padding: 0 18px; }
.bnw-mj__done { justify-content: center; align-items: center; text-align: center; padding: 0 8px; }
.bnw-mj__tick { width: 54px; height: 54px; border-radius: 999px; background: rgba(212,170,92,.16); color: #d4aa5c; display: grid; place-items: center; font-size: 24px; }
.bnw-mj__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #2b2b2e; margin: 0 -14px; padding: 10px 0 14px; font-size: 9px; letter-spacing: .08em; text-align: center; color: #8d8b85; }
.bnw-mj__tabs .is-on { color: #d4aa5c; }

/* ---------- Footer & newsletter ---------- */
.bnw-footer { border-top: 1px solid var(--bnw-line); padding-top: 64px; }
.bnw-footer__inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-bottom: 48px; }
.bnw-footer__brand { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bnw-footer__text { margin: 0; color: #55534e; max-width: 42ch; }
.bnw-footer__cols { display: flex; gap: 48px; flex-wrap: wrap; font-size: 14px; }
.bnw-footer__cols ul, .bnw-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bnw-footer__bottom { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; border-top: 1px solid var(--bnw-line); padding-block: 24px 40px; font-size: 13px; color: var(--bnw-muted); }
.bnw-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.bnw-footer__legal a { color: var(--bnw-muted); }
.bnw-newsletter { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bnw-newsletter .bnw-eyebrow { margin: 0; }
.bnw-newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.bnw-newsletter input { flex: 1 1 150px; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid #d6d4ce; border-radius: 999px; font: inherit; font-size: 14px; }
.bnw-newsletter input[type="email"] { flex-grow: 2; }
.bnw-newsletter__status { margin: 0; min-height: 20px; font-size: 13px; color: var(--bnw-muted); }
.bnw-newsletter__status.is-ok { color: #2f6b3a; }
.bnw-newsletter__status.is-error { color: #9b2c2c; }
.bnw-newsletter__note { margin: 0; font-size: 12px; color: var(--bnw-muted); }
.bnw-newsletter__note a { border-bottom: 1px solid currentColor; color: var(--bnw-muted); }
