/*
Theme Name: Bapiloo
Theme URI: https://bapiloo.com
Author: AghazadehAm
Description: پوسته اختصاصی مسابقه عکاسی Bapiloo — طراحی مینیمال ادیتوریال (سفید، عکس‌محور، تیتر سریف) بر پایه الگوی سایت مرجع reFocus Awards.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: bapiloo
*/

/* ---------------------------------------------------------------
   فونت — خودمیزبان (نه CDN) تا سایت مستقل از شبکه ثالث باشد
   --------------------------------------------------------------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------
   توکن‌ها — زبان طراحی سایت مرجع: سفید، عکس سیاه‌وسفید، خطوط مو
   --------------------------------------------------------------- */
:root {
  --bg:        #ffffff;
  --paper:     #f5f4f1;
  --surface:   #ffffff;
  --surface-2: #faf9f7;

  --ink:       #1b1b1c;
  --ink-soft:  #2b2b2c;
  --fg:        #1b1b1c;      /* سازگاری با قالب‌های قبلی */
  --muted:     #6d6c6a;
  --dim:       #8f8d89;

  --line:      #e4e2de;
  --line-soft: #efedE9;
  --line-dark: #33322f;
  --dark:      #141414;
  --fg-dark:   #f2f1ee;
  --muted-dark:#9c9a95;

  --accent:    #1b1b1c;
  --accent-fg: #ffffff;
  --ok:        #2f7a44;
  --bad:       #b23b3b;
  --gold:      #a9852f;

  --display: "Playfair Display", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "DejaVu Sans Mono", ui-monospace, monospace;

  --r: 0px;
  --wrap: 1280px;
  --pad: clamp(1.1rem, 4vw, 3rem);
}

/* ---------------------------------------------------------------
   پایه
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.12rem; font-family: var(--ui); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 62ch; }

.dim   { color: var(--dim); }
.muted { color: var(--muted); }
.mono  { font-family: var(--mono); font-size: .82rem; direction: ltr; unicode-bidi: embed; }

.eyebrow {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-block-end: .9rem;
}

/* ---------------------------------------------------------------
   هدر
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-block-end: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: 74px;
}
.brand {
  display: flex; align-items: baseline; gap: .55rem;
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
  letter-spacing: -.02em; color: var(--ink); white-space: nowrap;
}
.brand small {
  font-family: var(--ui); font-size: .58rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.brand .dot { color: var(--ink); }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .82rem; }
.nav a { color: var(--ink-soft); white-space: nowrap; }
.nav a:hover, .nav .current-menu-item a { color: #000; text-decoration: none; }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }

.menu-toggle {
  display: none;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: .5rem .8rem; font: inherit; font-size: .8rem; cursor: pointer;
}

/* ---------------------------------------------------------------
   دکمه‌ها
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: .78rem 1.35rem; font-family: inherit; font-size: .82rem;
  letter-spacing: .02em; cursor: pointer;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { opacity: .86; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .5rem .95rem; font-size: .78rem; }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------
   هیرو (تمام‌عرض، عکس سیاه‌وسفید)
   --------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  background: #111; overflow: hidden;
}
.hero::before {
  /* بافت بسیار ملایم فیلم — فقط وقتی عکس هیرو نیست، تا سطح خالی و مرده نماند */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.055), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,.035), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
}
.hero-plain::before { opacity: .8; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.08) brightness(.95); transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 38%, rgba(0,0,0,.78) 100%);
}
.hero-inner { width: 100%; padding-block: clamp(2rem, 6vw, 4rem) clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.hero-inner .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: clamp(1.2rem, 4vw, 4rem);
  width: 100%;
}
.hero-col-a { display: grid; gap: clamp(.9rem, 2vw, 1.5rem); align-content: end; justify-items: start; padding-inline-start: 4px; }
.hero-frame { margin-inline-start: 4px; }
.hero-col-b { display: grid; align-content: end; padding-block-end: .55rem; gap: .9rem; }
.hero-col-b .eyebrow {
  font-family: var(--ui); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
@media (min-width: 901px) {
  .hero-col-b { padding-inline-start: clamp(0rem, 2vw, 2rem); }
}
@media (max-width: 900px) {
  .hero-inner .wrap { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero p.lead { max-width: 58ch; }
}

/* قاب کادربندی: به‌جای کادر کامل، فقط چهار گوشه — همان نشانهٔ سایت مرجع */
.hero-frame {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.4rem);
  max-width: min(38ch, 100%);
  background: transparent;
  border: 0;
}
.hero-frame::before,
.hero-frame::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 1px solid rgba(255, 255, 255, .8);
}
.hero-frame::before { inset-block-start: 0; inset-inline-start: 0; border-inline-end: 0; border-block-end: 0; }
.hero-frame::after { inset-block-end: 0; inset-inline-end: 0; border-inline-start: 0; border-block-start: 0; }
.hero-frame { border: 0; }
.hero-frame > .corner-tr,
.hero-frame > .corner-bl {
  position: absolute; width: 22px; height: 22px;
  border: 1px solid rgba(255, 255, 255, .8);
}
.hero-frame > .corner-tr { inset-block-start: 0; inset-inline-end: 0; border-inline-start: 0; border-block-end: 0; }
.hero-frame > .corner-bl { inset-block-end: 0; inset-inline-start: 0; border-inline-end: 0; border-block-start: 0; }
.hero-frame h1 {
  color: #fff; margin: 0;
  font-size: clamp(1.95rem, 4.4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero p.lead {
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  max-width: 46ch; margin: 0;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-inner .dim, .hero-inner .muted { color: rgba(255,255,255,.75); }

.pill {
  display: inline-block; background: #fff; color: var(--ink);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .6rem; margin-block-end: .9rem;
}
.pill.dark { background: var(--ink); color: #fff; }

/* گونهٔ روشن هیرو (وقتی مسابقه تصویر شاخص ندارد) */
.hero-plain { background: var(--paper); min-height: auto; }
.hero-plain::after { display: none; }
.hero-plain .hero-inner { color: var(--ink); padding-block: clamp(1.8rem, 4vw, 3rem); }
.hero-plain .hero-frame { border-color: var(--ink); }
.hero-plain .hero-frame h1 { color: var(--ink); }
.hero-plain p.lead { color: var(--ink); }
.hero-plain .dim, .hero-plain .muted { color: var(--muted); }

/* ---------------------------------------------------------------
   بخش‌ها
   --------------------------------------------------------------- */
.section { padding-block: clamp(2.6rem, 7vw, 5.2rem); }
.section.paper { background: var(--paper); }
.section.dark  { background: var(--dark); color: var(--fg-dark); }
.section.dark .muted, .section.dark .dim { color: var(--muted-dark); }
.section.dark h1, .section.dark h2 { color: #fff; }
.section + .section { border-block-start: 0; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  border-block-end: 1px solid var(--line);
  padding-block-end: .9rem; margin-block-end: 2rem;
}
.section.dark .section-head { border-color: var(--line-dark); }
.section-head h2 { margin: 0; }

.quote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 2.6rem);
  line-height: 1.25; text-align: center; max-width: 32ch; margin-inline: auto;
}

/* ---------------------------------------------------------------
   شبکه و کارت
   --------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(1rem, 2.5vw, 1.4rem);
}
.section.dark .card { background: transparent; border-color: var(--line-dark); }

.contest-card { display: flex; flex-direction: column; padding: 0; border: 0; background: transparent; }
.contest-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); display: block; }
/* بدون تصویر شاخص: یک نوار باریک با خط مو تا کارت خالی و بلند نشود */
.contest-card .thumb-empty { aspect-ratio: auto; height: 1px; background: var(--line); margin-block-end: 1.1rem; }
.contest-card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .5s ease, filter .5s ease; }
.contest-card:hover .thumb img { transform: scale(1.03); filter: grayscale(0%); }
.contest-card .body { padding: .2rem .1rem 0; display: grid; gap: .45rem; }
.contest-card .thumb + .body { padding-block-start: 1rem; }
.contest-card .meta {
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.contest-card h3 { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 400; margin: 0; }
.contest-card h3 a:hover { text-decoration: none; }
.contest-card .dates { font-size: .8rem; color: var(--muted); }
.learn { font-size: .8rem; border-block-end: 1px solid currentColor; padding-block-end: 2px; justify-self: start; }
.learn:hover { text-decoration: none; opacity: .65; }

.chip {
  display: inline-block; border: 1px solid var(--line); color: var(--muted);
  border-radius: 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .5rem;
}
.chip.accent { border-color: var(--ink); color: var(--ink); }
.chip.ok     { border-color: var(--ok); color: var(--ok); }
.section.dark .chip { border-color: var(--line-dark); color: var(--muted-dark); }

/* ---------------------------------------------------------------
   گالری آثار
   --------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.gallery figure { margin: 0; background: var(--paper); border: 0; border-radius: 0; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(100%); transition: filter .4s ease; }
.gallery figure:hover img { filter: grayscale(0%); }
.gallery figcaption { font-size: .76rem; color: var(--muted); padding: .5rem .1rem 0; }
.no-select { -webkit-user-select: none; user-select: none; }
.no-select img { -webkit-user-drag: none; }

/* ---------------------------------------------------------------
   فرم‌ها
   --------------------------------------------------------------- */
.field { display: grid; gap: .35rem; margin-block-end: 1rem; }
.field label, label.check { font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); }
.req { color: var(--bad); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font-family: inherit;
  font-size: .92rem;
  padding: .7rem .8rem;
  min-height: 44px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 110px; line-height: 1.7; }

.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.7; }
.check input { margin-block-start: .35rem; accent-color: var(--ink); }

.alert {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-inline-start: 3px solid var(--ink);
  border-radius: var(--r);
  padding: .8rem .95rem;
  font-size: .88rem;
  margin-block-end: 1rem;
}
.alert.ok   { border-inline-start-color: var(--ok); color: var(--ok); background: #f4fbf4; }
.alert.bad  { border-inline-start-color: var(--bad); color: var(--bad); background: #fdf4f4; }
.alert[hidden] { display: none; }

/* انتخاب فایل (ورودی اصلی مخفی، دکمهٔ سفارشی) */
.file-pick { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.file-pick input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
input[type="file"] { display: none; }
.file-pick .btn { cursor: pointer; }
.file-pick .file-name { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------
   جدول
   --------------------------------------------------------------- */
table.data, .entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td, .entry-content th, .entry-content td {
  border: 1px solid var(--line); padding: .55rem .7rem; text-align: start;
}
table.data th, .entry-content th { background: var(--surface-2); color: var(--muted); font-weight: 400; }

/* ---------------------------------------------------------------
   برگه‌ها
   --------------------------------------------------------------- */
.page-hero { border-block-end: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.4rem); background: var(--paper); }
.page-title { font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 400; margin: 0 0 .4rem; }
.page-intro { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1rem; line-height: 1.8; }
.page-shell { max-width: 1000px; margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-shell article { margin-block-end: 3.5rem; }
.page-links { font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------------------------
   صفحهٔ داوری
   --------------------------------------------------------------- */
.bapiloo-judge { display: grid; gap: 1.2rem; }
.progress-bar__details__container { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------
   پاورقی
   --------------------------------------------------------------- */
.site-footer {
  background: var(--dark); color: var(--muted-dark);
  padding-block: clamp(2.4rem, 5vw, 4rem) 1.4rem;
  margin-block-start: 0;
}
.site-footer .tagline {
  font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  color: #fff; line-height: 1.3; max-width: 36ch; margin-block-end: 2.2rem;
}
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1.6rem; }
.site-footer a { color: var(--muted-dark); font-size: .84rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .brand { color: #fff; }
.site-footer .col-title {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-block-end: .7rem;
}
.footer-nav { display: grid; gap: .5rem; }
.footer-bottom {
  margin-block-start: 2.4rem; padding-block-start: 1.1rem;
  border-block-start: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .76rem;
}

/* ---------------------------------------------------------------
   موبایل
   --------------------------------------------------------------- */
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-block-end: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .4rem var(--pad) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: .75rem; border-block-end: 1px solid var(--line); font-size: .9rem; }
  .nav .btn { margin-block-start: .8rem; border-block-end: 0; }
  .site-header .wrap { position: relative; }
  .hero { min-height: 74vh; }
  .hero-frame { padding: 1.1rem 1.1rem 1.3rem; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media print {
  .site-header, .site-footer, .hero-actions { display: none; }
}


/* Brand logo — client logo2.png placed in the header */
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none}
.brand-logo{width:40px;height:40px;object-fit:contain;display:block;flex:0 0 auto}
.brand-text{display:inline-flex;flex-direction:column;line-height:1.05}
@media (max-width:520px){.brand-logo{width:32px;height:32px}}

/* Emphasis for the post-registration confirmation notice (client ask) */
.alert.ok{font-weight:600;border-inline-start-width:4px}
.alert.ok a{color:#1f5c33;text-decoration:underline}

/* Page typography - bolder section headings (client ask) */
.entry-content h2{font-weight:700;margin:2.2rem 0 .8rem;letter-spacing:-.01em}
.entry-content h3{font-weight:700}
.entry-content ul{margin:.5rem 0 1.2rem 1.3rem;padding-left:1rem}
.entry-content li{margin:.45rem 0}
.entry-content p{margin:0 0 1rem}
.entry-content strong{font-weight:700}

/* Mobile header fixes (client report: brand overlap + menu button) */
.brand-text{line-height:1.12}
.brand-text small{display:block;margin-top:2px;line-height:1.2}
@media (max-width:900px){
  .brand{font-size:1.15rem;gap:.5rem;align-items:center}
  .brand-text small{font-size:.52rem;letter-spacing:.14em}
  .site-header .wrap{position:relative}
  .nav.is-open{position:absolute;top:calc(100% + 8px);left:0;right:0;width:auto;max-width:calc(100vw - 2rem);display:flex;flex-direction:column;align-items:stretch;gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:.45rem;box-shadow:0 18px 44px rgba(0,0,0,.14);z-index:90;max-height:72vh;overflow:auto}
  .nav.is-open > a,.nav.is-open .has-menu > a{padding:.7rem .8rem;border-radius:8px;display:block;color:var(--ink);white-space:normal}
  .nav.is-open > a:hover{background:var(--surface-2)}
  .nav.is-open .submenu{position:static;display:block;box-shadow:none;border:0;background:transparent;padding:.15rem 0 .15rem .8rem}
  .nav.is-open .submenu a{padding:.45rem .6rem}
}

/* hero legibility over bright posters */
.hero-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,rgba(8,8,10,.52) 0%,rgba(8,8,10,.32) 45%,rgba(8,8,10,.10) 80%,rgba(8,8,10,.02) 100%)}
@media (max-width:900px){.hero-media::after{background:linear-gradient(180deg,rgba(8,8,10,.30) 0%,rgba(8,8,10,.22) 45%,rgba(8,8,10,.55) 100%)}}

/* hero text legibility over light posters */
.hero h1,.hero .lead,.hero .eyebrow,.hero .pill,.hero .hero-frame{text-shadow:0 1px 3px rgba(0,0,0,.55),0 10px 28px rgba(0,0,0,.38)}

/* hero poster framing */
.hero-media img{object-position:center 55%}
@media (max-width:900px){.hero-media img{object-position:56% 62%}}

/* hero portrait poster for narrow screens */
.hero-poster-mobile{display:none}
@media (max-width:900px){.hero-poster-desktop{display:none}.hero-poster-mobile{display:block;object-position:center center}}

/* hero fits the poster aspect - no cropping */
@media (min-width:901px){.hero{min-height:0;max-height:none;height:56.25vw}}
@media (max-width:900px){.hero{min-height:0;max-height:none;height:150vw}}

/* terms link emphasis + hide decorative scroll cue */
.check a,label.check a{color:#1d6fd0;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.check a:hover,label.check a:hover{color:#0f4f9c}
.scroll-cue{display:none !important}
