/* BBENA 4.9.69 — sizes for the new wordmark (1428 x 522, about 2.74 : 1) and the BB badge.
   The old wordmark was 4.96 : 1, so width-only rules made the new one too tall; these rules size it by height. */

/* Header: the logo box keeps its size, the wordmark sits at the start edge instead of the centre */
html[dir="rtl"] .brand-logo-img { object-position: right center; }
html[dir="ltr"] .brand-logo-img { object-position: left center; }

/* Launch / coming-soon page */
html body .launch-logo { width: auto !important; height: 40px !important; max-width: none !important; object-fit: contain; }
@media (max-width: 700px) { html body .launch-logo { height: 34px !important; } }
@media (max-width: 360px) { html body .launch-logo { height: 30px !important; } }

/* Logo inside the premiere screen and the player */
html body .premiere-watermark { width: auto !important; height: clamp(18px, 2.6vw, 34px) !important; }
@media (max-width: 600px) { html body .premiere-watermark { height: 20px !important; } }

/* Splash, sign-in and public pages */
html body .bbena-splash-logo-img { width: min(240px, 60vw) !important; height: auto !important; }
html body .bbena-ui-auth2-logo { aspect-ratio: 1428 / 522 !important; }
html body .public-brand img { width: 132px !important; height: auto !important; }
@media (max-width: 520px) { html body .public-brand img { width: 116px !important; } }

/* Designers' poster panel: one borderless BB badge, so the old white/black lettering choice is hidden
   (its default radio stays checked and is still sent, which keeps the server check unchanged) */
.bbena59-poster-logo-options { display: none !important; }
/* ...and the poster card shows the BB badge itself next to its note */
.bbena59-poster-note { display: flex; align-items: center; gap: 10px; }
.bbena59-poster-note::before { content: ""; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: #000 url("bbena-mark.svg") center / 26px no-repeat; }

/* WordPress sign-in screen (wp-login.php): the BBENA wordmark instead of the WordPress logo.
   The older inline rule prints before core login.css, so this enqueued rule carries the logo. */
body.login #login h1 a {
  background-image: url("bbena-logo.svg") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 240px !important;
  height: 88px !important;
}
