/* BUILD 1.2.2 — 2026-08-11 */

/* ==========================================================================
   استوديو مواهب — Elementor widgets stylesheet
   Layer order: tokens → reset → typography → primitives → components.
   Every rule is namespaced .mwhb-* so no theme rule collides with ours.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  --mwhb-cream:       #FFF9D3;
  --mwhb-gold:        #F4C220;
  --mwhb-orange:      #F28C28;
  --mwhb-navy:        #18233F;
  --mwhb-navy-dark:   #0F1728;
  --mwhb-navy-light:  #2A3A66;
  --mwhb-purple:      #7467E8;
  --mwhb-white:       #FFFFFF;

  --mwhb-ink:         #18233F;
  --mwhb-ink-60:      rgba(24, 35, 63, 0.60);
  --mwhb-ink-50:      rgba(24, 35, 63, 0.50);
  --mwhb-ink-10:      rgba(24, 35, 63, 0.10);
  --mwhb-ink-05:      rgba(24, 35, 63, 0.05);

  --mwhb-font:        'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --mwhb-font-display:'Cairo', 'Tajawal', sans-serif;

  --mwhb-radius-sm:   0.75rem;
  --mwhb-radius:      1rem;
  --mwhb-radius-lg:   1.5rem;
  --mwhb-radius-pill: 999px;

  --mwhb-shadow-sm:   0 2px 10px -4px rgba(24, 35, 63, 0.12);
  --mwhb-shadow:      0 16px 40px -8px rgba(24, 35, 63, 0.18);
  --mwhb-shadow-gold: 0 6px 28px -4px rgba(244, 194, 32, 0.55);
  --mwhb-shadow-purple: 0 6px 28px -4px rgba(116, 103, 232, 0.50);

  --mwhb-ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --mwhb-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);

  --mwhb-container:   1280px;
  --mwhb-gutter:      1rem;
  --mwhb-section-y:   4.5rem;
}

@media (min-width: 640px) {
  :root { --mwhb-gutter: 1.5rem; }
}

/* ------------------------------------------------ 2. Reset & overflow guard */

/* Horizontal-scroll defense. Nothing inside a widget may exceed the viewport. */
.mwhb-scope,
.mwhb-scope * { box-sizing: border-box; min-width: 0; }

.mwhb-scope { max-width: 100%; overflow-x: clip; }
.mwhb-scope img,
.mwhb-scope video,
.mwhb-scope iframe { max-width: 100%; height: auto; }
.mwhb-scope iframe { display: block; }

.mwhb-container {
  width: 100%;
  max-width: var(--mwhb-container);
  margin-inline: auto;
  padding-inline: var(--mwhb-gutter);
}

.mwhb-section { padding-block: var(--mwhb-section-y); }
.mwhb-section--cream { background: var(--mwhb-cream); }
.mwhb-section--white { background: var(--mwhb-white); }
.mwhb-section--navy  { background: var(--mwhb-navy); }

.mwhb-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- 3. Typography */

.mwhb-scope {
  font-family: var(--mwhb-font);
  color: var(--mwhb-ink);
  line-height: 1.85;              /* Arabic needs more leading than Latin */
  -webkit-font-smoothing: antialiased;
}

.mwhb-scope h1,
.mwhb-scope h2,
.mwhb-scope h3,
.mwhb-scope h4 {
  font-family: var(--mwhb-font-display);
  line-height: 1.4;
  margin: 0;
}

.mwhb-scope p { margin: 0; }
.mwhb-scope a { text-decoration: none; }

/* Numbers always read left-to-right, even inside RTL prose. */
.mwhb-num {
  font-family: var(--mwhb-font-display);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* -------------------------------------------- 4. Section header rhythm */

.mwhb-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 3rem; }
.mwhb-head--center { align-items: center; text-align: center; }
.mwhb-head--start  { align-items: flex-start; text-align: start; }

.mwhb-head-eyebrow {
  font-family: var(--mwhb-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mwhb-purple);
  background: rgba(116, 103, 232, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: var(--mwhb-radius-pill);
}

.mwhb-head-title {
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--mwhb-ink);
  margin: 0;
}

.mwhb-head-desc { font-size: 1rem; line-height: 1.9; color: var(--mwhb-ink-60); max-width: 46rem; margin: 0; }

.mwhb-head--light .mwhb-head-title { color: var(--mwhb-white); }
.mwhb-head--light .mwhb-head-desc  { color: rgba(255, 255, 255, 0.66); }
.mwhb-head--light .mwhb-head-eyebrow {
  color: var(--mwhb-gold);
  background: rgba(244, 194, 32, 0.16);
}

/* ------------------------------------------------------------ 5. Buttons */

.mwhb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mwhb-font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: var(--mwhb-radius-sm);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease,
              box-shadow 0.3s ease, transform 0.2s ease;
}

/* Three-layer defense so themes can't repaint our buttons. */
.mwhb-scope .mwhb-btn,
.mwhb-scope a.mwhb-btn,
.mwhb-scope button.mwhb-btn { text-decoration: none; }

.mwhb-btn--gold { background: var(--mwhb-gold); color: var(--mwhb-navy); }
.mwhb-btn--gold:hover,
.mwhb-btn--gold:focus-visible {
  background: var(--mwhb-orange);
  color: var(--mwhb-white);
  box-shadow: var(--mwhb-shadow-gold);
  transform: translateY(-2px);
}

.mwhb-btn--dark { background: var(--mwhb-navy); color: var(--mwhb-white); }
.mwhb-btn--dark:hover,
.mwhb-btn--dark:focus-visible {
  background: var(--mwhb-purple);
  color: var(--mwhb-white);
  box-shadow: var(--mwhb-shadow-purple);
  transform: translateY(-2px);
}

.mwhb-btn--purple { background: var(--mwhb-purple); color: var(--mwhb-white); }
.mwhb-btn--purple:hover { box-shadow: var(--mwhb-shadow-purple); transform: translateY(-2px); }

.mwhb-btn--ghost {
  background: transparent;
  color: var(--mwhb-white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.mwhb-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--mwhb-white); }

.mwhb-btn--outline {
  background: transparent;
  color: var(--mwhb-navy);
  border: 1px solid var(--mwhb-ink-10);
}
.mwhb-btn--outline:hover { background: var(--mwhb-cream); }

.mwhb-btn:active { transform: translateY(0) scale(0.97); }
.mwhb-btn--block { width: 100%; }

/* ---------------------------------------------------- 6. Badges and chips */

.mwhb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mwhb-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--mwhb-radius-pill);
  line-height: 1.6;
}

.mwhb-badge--open     { background: #D6F5E3; color: #0A6B3D; }
.mwhb-badge--voting   { background: rgba(116, 103, 232, 0.15); color: #4A3FBF; }
.mwhb-badge--upcoming { background: rgba(244, 194, 32, 0.22); color: #8A6100; }
.mwhb-badge--ended    { background: #ECEFF1; color: #5B6770; }
.mwhb-badge--paused   { background: #FDE2E1; color: #A4231F; }

.mwhb-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--mwhb-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--mwhb-radius-pill);
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
}

/* Live pulse dot on the "voting open" badge. */
.mwhb-pulse {
  position: relative;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.mwhb-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  animation: mwhb-pulse-ring 1.6s ease-out infinite;
}

/* --------------------------------------------------- 7. Icon containers */

/* Size and layout only — colour is declared per component against its own
   chip background, so this selector can never override a component's colour. */
.mwhb-scope [class*="-icon"] > svg,
.mwhb-scope [class*="-icon"] > i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.mwhb-icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--mwhb-radius-sm);
  flex: none;
}

/* --------------------------------------------------------- 8. Animations */

@keyframes mwhb-fade-up   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mwhb-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes mwhb-pop-in    { 0% { opacity: 0; transform: scale(0.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes mwhb-float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mwhb-pulse-ring{ 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes mwhb-ticker    { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mwhb-bar-fill  { from { width: 0; } }

/* Scroll reveal. The observer adds .is-visible; the delay is a per-card var. */
.mwhb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--mwhb-ease), transform 0.6s var(--mwhb-ease);
  transition-delay: var(--mwhb-delay, 0ms);
}
.mwhb-reveal.is-visible { opacity: 1; transform: none; }

/* Editor preview: IntersectionObserver never fires inside Elementor's iframe,
   so reveal elements are forced to their final state there. */
body.elementor-editor-active .mwhb-reveal,
body.elementor-editor-preview .mwhb-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Dynamic grids (filtered, AJAX-loaded) must never rely on the observer. */
.mwhb-scope [data-mwhb-dynamic] .mwhb-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mwhb-reveal { opacity: 1; transform: none; transition: none; }
  .mwhb-ticker-track { animation: none; }
}

/* ------------------------------------------------------------ 9. Header */

/* The header scope must not clip or trap its own dropdowns (bell panel, user
   menu) — those escape the header box downward and must paint over the hero. */
.mwhb-scope--header { overflow: visible; }

.mwhb-header {
  position: sticky;
  top: 0;
  /* Well above any Elementor section (incl. the hero) so the notification panel
     and user menu are never painted behind the next section. */
  z-index: 99990;
  background: var(--mwhb-navy);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.55);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.mwhb-header.is-scrolled { background: var(--mwhb-navy-dark); box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.7); }

/* Ticker tape — JS fills the first group until it exceeds the viewport, then
   clones one identical half; the -50% translate loops it with no gap.

   `direction: ltr` on the tape itself is what makes the loop work. Inside an
   RTL page the over-wide track is laid out from the right edge and overflows
   to the LEFT, so translating it further left just drained content off-screen
   and left a growing empty gap on the right — the tape appeared to run out
   instead of looping. Forcing LTR here puts the overflow on the right where the
   animation expects it; the items keep their own `direction: rtl` so the Arabic
   text still reads correctly. */
.mwhb-ticker {
  direction: ltr;
  background: var(--mwhb-gold);
  overflow: hidden;
  padding-block: 0.35rem;
}
.mwhb-ticker-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: mwhb-ticker 28s linear infinite;
  will-change: transform;
}
.mwhb-ticker:hover .mwhb-ticker-track { animation-play-state: paused; }
.mwhb-ticker-group { display: flex; flex: none; }
.mwhb-ticker-item {
  direction: rtl;
  white-space: nowrap;
  font-family: var(--mwhb-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mwhb-navy);
  padding-inline: 1.75rem;
}
@media (max-width: 639px) { .mwhb-ticker { display: none; } }

.mwhb-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.mwhb-header-brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.mwhb-header-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--mwhb-radius-sm);
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  transition: transform 0.3s var(--mwhb-ease), background-color 0.3s ease;
}
.mwhb-header-brand:hover .mwhb-header-mark { background: var(--mwhb-orange); transform: rotate(6deg) scale(1.08); }
.mwhb-header-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.mwhb-header-name {
  font-family: var(--mwhb-font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--mwhb-white);
}

.mwhb-header-nav { display: none; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .mwhb-header-nav { display: flex; } }

.mwhb-nav-item { position: relative; }
.mwhb-nav-item > a,
.mwhb-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mwhb-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: var(--mwhb-radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mwhb-nav-item > a:hover,
.mwhb-nav-toggle:hover { color: var(--mwhb-white); background: rgba(255, 255, 255, 0.1); }
.mwhb-nav-item.is-current > a { background: var(--mwhb-gold); color: var(--mwhb-navy); }

.mwhb-dropdown {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  min-width: 12rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0.4rem;
  background: var(--mwhb-white);
  border-radius: var(--mwhb-radius);
  box-shadow: var(--mwhb-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.mwhb-has-dropdown:hover > .mwhb-dropdown,
.mwhb-has-dropdown.is-open > .mwhb-dropdown { opacity: 1; visibility: visible; transform: none; }
.mwhb-dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--mwhb-radius-sm);
  font-size: 0.875rem;
  color: var(--mwhb-navy);
}
.mwhb-dropdown a:hover { background: var(--mwhb-cream); }

.mwhb-header-actions { display: none; align-items: center; gap: 0.6rem; }
@media (min-width: 900px) { .mwhb-header-actions { display: flex; } }

.mwhb-header-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-white);
  transition: background-color 0.2s ease;
}
.mwhb-header-bell:hover { background: rgba(255, 255, 255, 0.2); }
.mwhb-header-bell-count {
  /* superseded by the circular animated badge in section 49 */
  position: absolute;
  animation: mwhb-pop-in 0.4s var(--mwhb-ease) both;
}

.mwhb-header-login {
  font-family: var(--mwhb-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.55rem 0.9rem;
  border-radius: var(--mwhb-radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mwhb-header-login:hover { color: var(--mwhb-white); background: rgba(255, 255, 255, 0.1); }

.mwhb-header-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--mwhb-radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-white);
}
.mwhb-header-burger:hover { background: rgba(255, 255, 255, 0.2); }
@media (min-width: 900px) { .mwhb-header-burger { display: none; } }
.mwhb-header-burger-close { display: none; }
.mwhb-header.is-open .mwhb-header-burger-open { display: none; }
.mwhb-header.is-open .mwhb-header-burger-close { display: inline-flex; }

.mwhb-header-mobile {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}
.mwhb-header.is-open .mwhb-header-mobile { max-height: 32rem; opacity: 1; padding-bottom: 1rem; }
@media (min-width: 900px) { .mwhb-header-mobile { display: none; } }

.mwhb-header-mobile-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mwhb-header-mobile-inner a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--mwhb-radius-sm);
  font-family: var(--mwhb-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.mwhb-header-mobile-inner a:hover { background: rgba(255, 255, 255, 0.1); color: var(--mwhb-white); }
.mwhb-header-mobile-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.mwhb-header-mobile-cta .mwhb-btn { flex: 1; justify-content: center; text-align: center; }
.mwhb-mobile-user {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--mwhb-white);
}

/* ------------------------------------------------------------- 10. Hero */

.mwhb-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  background: var(--mwhb-navy);
  color: var(--mwhb-white);
}
.mwhb-hero-bg { position: absolute; inset: 0; }
.mwhb-hero-bg img,
.mwhb-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.mwhb-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--mwhb-navy) 0%, rgba(24, 35, 63, 0.8) 55%, rgba(24, 35, 63, 0.35) 100%);
}
.mwhb-hero-glow {
  position: absolute;
  inset-inline-start: -10%;
  top: -20%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 103, 232, 0.42) 0%, transparent 68%);
  animation: mwhb-float 7s ease-in-out infinite;
  pointer-events: none;
}
.mwhb-hero-inner { position: relative; z-index: 2; padding-block: 4rem; display: flex; flex-direction: column; }

/* Centered variant — text, description, buttons and stats all centre-aligned. */
.mwhb-hero--center .mwhb-hero-inner { align-items: center; text-align: center; }
.mwhb-hero--center .mwhb-hero-title,
.mwhb-hero--center .mwhb-hero-desc { margin-inline: auto; }
.mwhb-hero--center .mwhb-hero-cta,
.mwhb-hero--center .mwhb-hero-stats { justify-content: center; }

.mwhb-hero--start .mwhb-hero-inner { align-items: flex-start; text-align: start; }
.mwhb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mwhb-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mwhb-gold);
  background: rgba(244, 194, 32, 0.14);
  border: 1px solid rgba(244, 194, 32, 0.3);
  padding: 0.45rem 1rem;
  border-radius: var(--mwhb-radius-pill);
  margin-bottom: 1.5rem;
  animation: mwhb-fade-in 0.6s ease both;
}
.mwhb-hero-eyebrow > svg { color: var(--mwhb-gold); }

.mwhb-hero-title {
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: 1.25rem;
  animation: mwhb-fade-up 0.7s var(--mwhb-ease) both;
}
.mwhb-hero-title em { font-style: normal; color: var(--mwhb-gold); }

.mwhb-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
  margin-bottom: 2rem;
  animation: mwhb-fade-up 0.7s var(--mwhb-ease) 0.12s both;
}

.mwhb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: mwhb-fade-up 0.7s var(--mwhb-ease) 0.22s both;
}

.mwhb-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: mwhb-fade-up 0.7s var(--mwhb-ease) 0.32s both;
}
.mwhb-hero-stat { min-width: 0; }
.mwhb-hero-stat-value {
  display: block;
  font-family: var(--mwhb-font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--mwhb-gold);
  line-height: 1.2;
}
.mwhb-hero-stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }

/* ------------------------------------------------------- 11. Categories */

.mwhb-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (min-width: 640px) { .mwhb-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mwhb-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.mwhb-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius);
  text-align: center;
  transition: transform 0.3s var(--mwhb-ease), box-shadow 0.3s ease, background-color 0.25s ease;
}
.mwhb-cat:hover { transform: translateY(-5px); box-shadow: var(--mwhb-shadow); background: var(--mwhb-navy); }

.mwhb-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--mwhb-radius-sm);
  background: rgba(244, 194, 32, 0.18);
  color: var(--mwhb-orange);          /* per-component colour against its own chip */
  font-size: 1.5rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s var(--mwhb-bounce);
}
.mwhb-cat:hover .mwhb-cat-icon { background: var(--mwhb-gold); color: var(--mwhb-navy); transform: scale(1.1) rotate(-6deg); }

.mwhb-cat-name {
  font-family: var(--mwhb-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--mwhb-navy);
  transition: color 0.25s ease;
}
.mwhb-cat-count { font-size: 0.75rem; color: var(--mwhb-ink-50); transition: color 0.25s ease; }
.mwhb-cat:hover .mwhb-cat-name { color: var(--mwhb-white); }
.mwhb-cat:hover .mwhb-cat-count { color: rgba(255, 255, 255, 0.6); }

/* ------------------------------------------------------ 12. Contest card */

.mwhb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
}

.mwhb-card {
  display: flex;
  flex-direction: column;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  overflow: hidden;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.3s var(--mwhb-ease), box-shadow 0.3s ease;
}
.mwhb-card:hover { transform: translateY(-5px); box-shadow: var(--mwhb-shadow); }

.mwhb-card-media { position: relative; height: 12rem; background: var(--mwhb-navy); overflow: hidden; }
.mwhb-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--mwhb-ease); }
.mwhb-card:hover .mwhb-card-img { transform: scale(1.06); }
.mwhb-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 35, 63, 0.72) 0%, transparent 60%);
}
.mwhb-card-status { position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; }
.mwhb-card-cat    { position: absolute; top: 0.75rem; inset-inline-start: 0.75rem; }
.mwhb-card-prize {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-end: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mwhb-font-display);
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--mwhb-white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--mwhb-ease);
}
.mwhb-card-prize > svg { color: var(--mwhb-gold); }
.mwhb-card:hover .mwhb-card-prize { opacity: 1; transform: none; }

.mwhb-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; gap: 0.6rem; }
.mwhb-card-title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--mwhb-navy);
  transition: color 0.25s ease;
}
.mwhb-card:hover .mwhb-card-title { color: var(--mwhb-purple); }
.mwhb-card-desc {
  font-size: 0.875rem;
  color: var(--mwhb-ink-60);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mwhb-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.35rem; }
.mwhb-stat {
  background: var(--mwhb-cream);
  border-radius: var(--mwhb-radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  transition: background-color 0.25s ease;
}
.mwhb-card:hover .mwhb-stat { background: rgba(244, 194, 32, 0.22); }
.mwhb-stat-label { display: block; font-size: 0.6875rem; color: var(--mwhb-ink-50); }
.mwhb-stat-value {
  display: block;
  font-family: var(--mwhb-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--mwhb-navy);
  direction: ltr;
  unicode-bidi: isolate;
}
.mwhb-stat-value--sm { font-size: 0.8125rem; }

.mwhb-card-cta { margin-top: auto; width: 100%; }

/* --------------------------------------------------------- 13. Empty state */

.mwhb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--mwhb-white);
  border: 1px dashed var(--mwhb-ink-10);
  border-radius: var(--mwhb-radius-lg);
}
.mwhb-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--mwhb-cream);
  color: var(--mwhb-orange);
}
.mwhb-empty-title { font-family: var(--mwhb-font-display); font-size: 1.125rem; font-weight: 800; color: var(--mwhb-navy); }
.mwhb-empty-text { font-size: 0.875rem; color: var(--mwhb-ink-60); max-width: 32rem; }

/* ------------------------------------------------------------ 14. Footer */

.mwhb-footer { background: var(--mwhb-navy-dark); color: var(--mwhb-white); }
.mwhb-footer-inner { padding-block: 3.5rem; }
.mwhb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .mwhb-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.mwhb-footer-col { min-width: 0; }
.mwhb-footer-brand { display: inline-flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.mwhb-footer-about { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.mwhb-footer-legal-line { font-size: 0.75rem; color: rgba(255, 255, 255, 0.32); margin-top: 0.75rem; }

.mwhb-footer-socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.mwhb-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-white);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mwhb-footer-social:hover { background: var(--mwhb-gold); color: var(--mwhb-navy); transform: scale(1.1); }

.mwhb-footer-title {
  font-family: var(--mwhb-font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--mwhb-white);
  margin-bottom: 1.35rem;
  line-height: 1.5;
}
.mwhb-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.mwhb-footer-list a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); transition: color 0.2s ease; }
.mwhb-footer-list a:hover { color: var(--mwhb-gold); }

.mwhb-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .mwhb-footer-bottom { flex-direction: row; justify-content: space-between; text-align: start; }
}
.mwhb-footer-copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); }
.mwhb-footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.mwhb-footer-legal a { font-size: 0.75rem; color: rgba(255, 255, 255, 0.32); transition: color 0.2s ease; }
.mwhb-footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

.mwhb-footer-credit { font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }
.mwhb-footer-credit a { color: rgba(255, 255, 255, 0.55); }
.mwhb-footer-credit a:hover { color: var(--mwhb-gold); }

/* ------------------------------------------------------- 15. Toolbar row */

.mwhb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.mwhb-toolbar .mwhb-head { margin-bottom: 0; }

/* ------------------------------------------------------ 16. Layout stack */

.mwhb-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mwhb-mt-sm { margin-top: 0.75rem; }

.mwhb-muted {
  color: var(--mwhb-ink-50);
  font-size: 0.875rem;
  line-height: 1.9;
}

.mwhb-muted--light { color: rgba(255, 255, 255, 0.6); }

.mwhb-prose {
  color: var(--mwhb-ink-60);
  font-size: 0.9375rem;
  line-height: 2;
}

.mwhb-prose p { margin: 0 0 0.9rem; }
.mwhb-prose p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- 17. Panels */

.mwhb-panel {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
  padding: 1.5rem;
}

.mwhb-panel--tight { padding: 1.25rem; }
.mwhb-panel--flush { padding: 0; overflow: hidden; }

.mwhb-panel--navy {
  background: var(--mwhb-navy);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--mwhb-white);
}

.mwhb-panel--gold {
  background: linear-gradient(160deg, var(--mwhb-gold) 0%, var(--mwhb-orange) 100%);
  border-color: transparent;
  text-align: center;
}

.mwhb-panel-title {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--mwhb-ink);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.mwhb-panel-title--sm { font-size: 1rem; }
.mwhb-panel-title--light { color: var(--mwhb-white); }

.mwhb-panel-title svg {
  vertical-align: -0.2em;
  margin-inline-end: 0.35rem;
}

.mwhb-panel-foot {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mwhb-ink-05);
}

@media (min-width: 1024px) {
  .mwhb-panel { padding: 1.75rem; }
}

/* ---------------------------------------------------------- 18. Banner */

.mwhb-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--mwhb-navy);
  isolation: isolate;
}

.mwhb-banner--sm { min-height: 260px; }
.mwhb-banner--md { min-height: 360px; }
.mwhb-banner--lg { min-height: 460px; }

.mwhb-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.mwhb-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--mwhb-navy) 0%, rgba(24, 35, 63, 0.5) 45%, rgba(24, 35, 63, 0.15) 100%);
}

.mwhb-banner-inner {
  padding-block: 2rem 2.25rem;
  width: 100%;
}

.mwhb-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.mwhb-banner-title {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  color: var(--mwhb-white);
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.mwhb-banner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.mwhb-banner-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mwhb-gold);
  font-weight: 700;
  font-size: 0.9375rem;
}

.mwhb-banner-fact svg { color: var(--mwhb-gold); }

.mwhb-banner-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.mwhb-banner-date {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mwhb-radius-sm);
  padding: 0.6rem 0.75rem;
  backdrop-filter: blur(6px);
}

.mwhb-banner-date-label {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
}

.mwhb-banner-date-value {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--mwhb-white);
}

@media (min-width: 768px) {
  .mwhb-banner-dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mwhb-banner-inner { padding-block: 3rem 3rem; }
}

/* -------------------------------------------------------- 19. Timeline */

.mwhb-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.mwhb-timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 15px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--mwhb-ink-05);
}

.mwhb-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 1.15rem;
}

.mwhb-timeline-item:last-child { padding-bottom: 0; }

.mwhb-timeline-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  background: var(--mwhb-white);
  border: 2px solid var(--mwhb-ink-10);
  color: var(--mwhb-ink-50);
}

.mwhb-timeline-item.is-done .mwhb-timeline-dot {
  background: var(--mwhb-purple);
  border-color: var(--mwhb-purple);
  color: var(--mwhb-white);
}

.mwhb-timeline-item.is-current .mwhb-timeline-dot {
  background: var(--mwhb-gold);
  border-color: var(--mwhb-gold);
  color: var(--mwhb-navy);
  box-shadow: 0 0 0 4px rgba(244, 194, 32, 0.25);
}

.mwhb-timeline-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  padding-top: 0.35rem;
}

.mwhb-timeline-name {
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-timeline-item.is-upcoming .mwhb-timeline-name { color: var(--mwhb-ink-50); }

.mwhb-timeline-date {
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

.mwhb-timeline-flag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--mwhb-navy);
  background: rgba(244, 194, 32, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: var(--mwhb-radius-pill);
}

/* ----------------------------------------------------------- 20. Terms */

.mwhb-terms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mwhb-terms-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--mwhb-ink-60);
}

.mwhb-terms-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(116, 103, 232, 0.12);
  color: var(--mwhb-purple);
}

/* ----------------------------------------------------------- 21. Facts */

.mwhb-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mwhb-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--mwhb-ink-05);
}

.mwhb-fact:last-child { border-bottom: 0; }

.mwhb-fact-label {
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
  margin: 0;
}

.mwhb-fact-value {
  margin: 0;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--mwhb-ink);
  text-align: start;
}

/* ------------------------------------------------------- 22. Countdown */

.mwhb-countdown { display: block; }

.mwhb-countdown-label {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mwhb-ink-50);
  letter-spacing: 0.02em;
}

.mwhb-countdown-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}

.mwhb-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.mwhb-countdown-box {
  width: 56px;
  height: 56px;
  border-radius: var(--mwhb-radius-sm);
  background: var(--mwhb-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--mwhb-shadow-sm);
}

/* The thin reflection line across the digit box. */
.mwhb-countdown-box::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.mwhb-countdown-digit {
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--mwhb-gold);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.mwhb-countdown-digit.is-flip { animation: mwhb-flip 0.18s ease; }

@keyframes mwhb-flip {
  0%   { transform: translateY(-6px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

.mwhb-countdown-cap {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--mwhb-ink-50);
}

.mwhb-countdown-sep {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--mwhb-gold);
  line-height: 56px;
}

.mwhb-countdown--light .mwhb-countdown-label,
.mwhb-countdown--light .mwhb-countdown-cap { color: rgba(255, 255, 255, 0.6); }

.mwhb-countdown--light .mwhb-countdown-box { background: rgba(255, 255, 255, 0.1); }

.mwhb-countdown-ended {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--mwhb-ink-50);
  background: var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-sm);
  padding: 0.85rem;
}

/* ------------------------------------------------------------ 23. Vote */

.mwhb-vote { display: block; }

.mwhb-vote-card { color: var(--mwhb-navy); }

.mwhb-vote-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.mwhb-vote-num {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--mwhb-navy);
}

.mwhb-vote-num.is-bumped { animation: mwhb-bump 0.45s var(--mwhb-bounce); }

@keyframes mwhb-bump {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.mwhb-vote-word {
  font-weight: 700;
  font-size: 0.9375rem;
  color: rgba(24, 35, 63, 0.7);
}

.mwhb-vote-rank {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: rgba(24, 35, 63, 0.75);
}

.mwhb-vote-rank strong { font-family: var(--mwhb-font-display); }

/* The button sits on the gold card, so it inverts to navy for contrast. */
.mwhb-vote-card .mwhb-vote-btn,
.mwhb-vote-card .mwhb-vote-btn:link,
.mwhb-vote-card .mwhb-vote-btn:visited {
  background: var(--mwhb-navy);
  color: var(--mwhb-white);
  width: 100%;
  justify-content: center;
}

.mwhb-vote-card .mwhb-vote-btn:hover:not(:disabled) {
  background: var(--mwhb-navy-dark);
  color: var(--mwhb-white);
}

.mwhb-vote-btn { position: relative; overflow: hidden; }

.mwhb-vote-btn svg { color: currentColor; }

.mwhb-vote-btn--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

/* Ripple on press, mirroring the source design's tactile feedback. */
.mwhb-vote-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.mwhb-vote-btn:active:not(:disabled)::after { transform: scale(2.5); opacity: 1; }
.mwhb-vote-btn:active:not(:disabled) { transform: scale(0.97); }

.mwhb-vote-btn.is-voted,
.mwhb-vote-card .mwhb-vote-btn.is-voted {
  background: rgba(24, 35, 63, 0.12);
  color: var(--mwhb-navy);
  cursor: default;
}

.mwhb-vote-btn.is-voted svg { fill: var(--mwhb-navy); }

.mwhb-vote-btn.is-disabled,
.mwhb-vote-btn:disabled { cursor: not-allowed; opacity: 0.75; }

.mwhb-vote-btn.is-busy { pointer-events: none; opacity: 0.8; }

.mwhb-vote-label { display: inline-block; }

.mwhb-vote-msg {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 1.2em;
}

.mwhb-vote-msg.is-ok  { color: #0a6b3d; }
.mwhb-vote-msg.is-err { color: #a4231f; }
.mwhb-vote-msg.is-note { color: rgba(24, 35, 63, 0.7); }

.mwhb-vote-rule {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(24, 35, 63, 0.6);
}

/* Honeypot — visually gone, still reachable by bots that fill everything. */
.mwhb-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------- 24. Profile */

.mwhb-profile { text-align: center; }

.mwhb-profile-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.mwhb-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--mwhb-gold);
}

.mwhb-profile-ph {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--mwhb-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mwhb-ink-50);
}

.mwhb-profile-name {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.375rem;
  color: var(--mwhb-ink);
  margin: 0 0 0.35rem;
  line-height: 1.5;
}

.mwhb-profile-meta {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: var(--mwhb-ink-50);
}

.mwhb-profile-contest { text-decoration: none; }
.mwhb-profile-contest svg { vertical-align: -0.15em; }

.mwhb-profile-talent {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-60);
}

.mwhb-rank-badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-start: -6px;
  min-width: 30px;
  height: 30px;
  padding: 0 0.4rem;
  border-radius: var(--mwhb-radius-pill);
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.25s var(--mwhb-bounce);
}

.mwhb-rank-badge:hover { transform: scale(1.15) rotate(-5deg); }

.mwhb-rank-badge--lg {
  min-width: 40px;
  height: 40px;
  font-size: 0.9375rem;
}

/* ----------------------------------------------------------- 25. Video */

.mwhb-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--mwhb-navy);
}

.mwhb-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mwhb-video-bar {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--mwhb-ink-05);
}

.mwhb-video-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-video-title svg { color: var(--mwhb-purple); }

/* -------------------------------------------------- 26. Rank + progress */

.mwhb-rankline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.mwhb-rankline-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.mwhb-rankline-place {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--mwhb-gold);
  line-height: 1;
}

.mwhb-rankline-of {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.mwhb-rankline-votes {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mwhb-white);
}

.mwhb-progress {
  height: 10px;
  border-radius: var(--mwhb-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.mwhb-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to left, var(--mwhb-gold), var(--mwhb-orange));
  animation: mwhb-bar-fill 1.1s var(--mwhb-ease) both;
}

@keyframes mwhb-bar-fill { from { width: 0 !important; } }

/* ------------------------------------------------------ 27. Leaderboard */

.mwhb-board {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.mwhb-board-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mwhb-board-row:last-child { border-bottom: 0; }

.mwhb-board-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-white);
}

.mwhb-board-rank--1 { background: var(--mwhb-gold); color: var(--mwhb-navy); }
.mwhb-board-rank--2 { background: #d8dde8; color: var(--mwhb-navy); }
.mwhb-board-rank--3 { background: var(--mwhb-orange); color: var(--mwhb-white); }

.mwhb-board-name {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mwhb-white);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mwhb-board-name:hover { color: var(--mwhb-gold); }

.mwhb-board-votes {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mwhb-gold);
}

/* --------------------------------------------------------- 28. Persons */

.mwhb-grid--people {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.mwhb-grid-item { display: flex; }

.mwhb-person {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius);
  overflow: hidden;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.3s var(--mwhb-ease), box-shadow 0.3s ease;
}

.mwhb-person:hover {
  transform: translateY(-5px);
  box-shadow: var(--mwhb-shadow);
}

.mwhb-person-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--mwhb-navy);
  overflow: hidden;
}

.mwhb-person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--mwhb-ease);
}

.mwhb-person:hover .mwhb-person-img { transform: scale(1.06); }

.mwhb-person-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.mwhb-person-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 35, 63, 0.6) 0%, transparent 55%);
}

.mwhb-person-play {
  position: absolute;
  inset-block-end: 0.6rem;
  inset-inline-end: 0.6rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--mwhb-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--mwhb-bounce), background-color 0.2s ease;
}

.mwhb-person:hover .mwhb-person-play {
  background: var(--mwhb-gold);
  transform: scale(1.1);
}

.mwhb-person-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}

.mwhb-person-name {
  margin: 0;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.mwhb-person-name a {
  color: var(--mwhb-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mwhb-person-name a:hover { color: var(--mwhb-purple); }

.mwhb-person-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

.mwhb-person-votes {
  margin: 0.2rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mwhb-purple);
}

.mwhb-person-votes svg { color: var(--mwhb-purple); }

.mwhb-person-cta {
  margin-top: auto;
  padding-top: 0.75rem;
}

.mwhb-person-cta.mwhb-btn {
  margin-top: 0.85rem;
  width: 100%;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
}

/* Inline vote button on a contestant card (contest grid / home rail). */
.mwhb-person-vote { margin-top: 0.75rem; }
.mwhb-person-vote .mwhb-vote { display: block; }
.mwhb-person-vote .mwhb-vote-btn { width: 100%; justify-content: center; }
.mwhb-person-vote .mwhb-vote-rule { display: none; }
.mwhb-btn--ghost-sm {
  margin-top: 0.55rem;
  width: 100%;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  background: transparent;
  border: 1px solid var(--mwhb-ink-10);
  color: var(--mwhb-ink-60);
}
.mwhb-btn--ghost-sm:hover { border-color: var(--mwhb-navy); color: var(--mwhb-navy); }

/* Contestants block embedded at the foot of the contest page. */
.mwhb-contestants-block { margin-top: 2.5rem; }
.mwhb-contestants-block .mwhb-toolbar { margin-bottom: 1.25rem; }

/* ----------------------------------------------------------- 29. Share */

.mwhb-share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.mwhb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--mwhb-radius-sm);
  border: 1px solid var(--mwhb-ink-10);
  background: var(--mwhb-white);
  color: var(--mwhb-ink);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--mwhb-ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mwhb-share-btn svg { color: currentColor; }

.mwhb-share-btn:hover { transform: translateY(-2px); }
.mwhb-share-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.mwhb-share-btn--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.mwhb-share-btn--x:hover  { background: var(--mwhb-navy); border-color: var(--mwhb-navy); color: #fff; }
.mwhb-share-btn--copy:hover { background: var(--mwhb-purple); border-color: var(--mwhb-purple); color: #fff; }
.mwhb-share-btn.is-copied { background: var(--mwhb-purple); border-color: var(--mwhb-purple); color: #fff; }

/* ------------------------------------------------------ 30. Sort + misc */

.mwhb-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mwhb-sort-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--mwhb-radius-pill);
  border: 1px solid var(--mwhb-ink-10);
  background: var(--mwhb-white);
  color: var(--mwhb-ink-60);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mwhb-sort-btn:hover { border-color: var(--mwhb-purple); color: var(--mwhb-purple); }

.mwhb-sort-btn.is-active {
  background: var(--mwhb-navy);
  border-color: var(--mwhb-navy);
  color: var(--mwhb-white);
}

.mwhb-head-title--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  /* Sits above a grid rather than opening a section, so it reads a size down
     from the full section headline. */
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.4;
}

.mwhb-count-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mwhb-navy);
  background: rgba(244, 194, 32, 0.3);
  padding: 0.15rem 0.65rem;
  border-radius: var(--mwhb-radius-pill);
}

.mwhb-sidebar { position: relative; }

@media (min-width: 1024px) {
  .mwhb-sidebar { position: sticky; top: 96px; }
}

@media (min-width: 480px) {
  .mwhb-share { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------ 31. Page hero */

.mwhb-phero {
  position: relative;
  background: var(--mwhb-navy);
  overflow: hidden;
  isolation: isolate;
}

/* Figma page-hero: a navy→purple diagonal gradient. */
.mwhb-phero--gradient {
  background: linear-gradient(150deg, var(--mwhb-navy) 0%, #2c2668 55%, #4b3fb0 100%);
}

/* The dotted texture overlay from the Figma hero. */
.mwhb-phero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

.mwhb-phero--sm .mwhb-phero-inner { padding-block: 3.5rem; }
.mwhb-phero--md .mwhb-phero-inner { padding-block: 5rem; }
.mwhb-phero--lg .mwhb-phero-inner { padding-block: 6.5rem; }

.mwhb-phero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
}

.mwhb-phero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--mwhb-navy) 0%, rgba(24, 35, 63, 0.72) 100%);
}

.mwhb-phero--center .mwhb-phero-inner { text-align: center; }

.mwhb-phero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--mwhb-radius);
  background: rgba(244, 194, 32, 0.15);
  color: var(--mwhb-gold);
  margin-bottom: 0.85rem;
}

.mwhb-phero-eyebrow {
  display: inline-block;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mwhb-gold);
  margin-bottom: 0.5rem;
}

.mwhb-phero-title {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  color: var(--mwhb-white);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.4;
  margin: 0;
}

.mwhb-phero-desc {
  margin: 0.75rem auto 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 2;
}

.mwhb-phero--start .mwhb-phero-desc { margin-inline: 0; }

.mwhb-phero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.mwhb-phero--start .mwhb-phero-stats { justify-content: flex-start; }

.mwhb-phero-stat { display: flex; flex-direction: column; }

.mwhb-phero-stat-value {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--mwhb-gold);
  line-height: 1.2;
}

.mwhb-phero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------- 32. Tracks */

.mwhb-tracks {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .mwhb-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

.mwhb-track {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mwhb-radius-lg);
  padding: 1.5rem;
}

.mwhb-section--white .mwhb-track,
.mwhb-section--cream .mwhb-track {
  background: var(--mwhb-white);
  border-color: var(--mwhb-ink-05);
  box-shadow: var(--mwhb-shadow-sm);
}

.mwhb-track-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--mwhb-white);
  /* The label and the numbered steps were sitting on top of each other; this
     separates the two so each track reads as a heading plus its own list. */
  margin: 0 0 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mwhb-section--white .mwhb-track-title,
.mwhb-section--cream .mwhb-track-title {
  color: var(--mwhb-ink);
  border-bottom-color: var(--mwhb-ink-05);
}

.mwhb-track-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mwhb-gold);
}

.mwhb-track--contestant .mwhb-track-dot { background: var(--mwhb-purple); }

.mwhb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mwhb-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mwhb-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.75rem;
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
}

.mwhb-track--contestant .mwhb-step-num { background: var(--mwhb-purple); color: var(--mwhb-white); }

.mwhb-step-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--mwhb-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mwhb-gold);
}

.mwhb-section--white .mwhb-step-icon,
.mwhb-section--cream .mwhb-step-icon {
  background: rgba(244, 194, 32, 0.15);
  color: var(--mwhb-orange);
}

.mwhb-track--contestant .mwhb-step-icon { color: var(--mwhb-purple); }

.mwhb-section--white .mwhb-track--contestant .mwhb-step-icon,
.mwhb-section--cream .mwhb-track--contestant .mwhb-step-icon {
  background: rgba(116, 103, 232, 0.14);
  color: var(--mwhb-purple);
}

.mwhb-step-body { display: flex; flex-direction: column; gap: 0.15rem; }

.mwhb-step-title {
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--mwhb-white);
}

.mwhb-section--white .mwhb-step-title,
.mwhb-section--cream .mwhb-step-title { color: var(--mwhb-ink); }

.mwhb-step-text {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
}

.mwhb-section--white .mwhb-step-text,
.mwhb-section--cream .mwhb-step-text { color: var(--mwhb-ink-60); }

/* --------------------------------------------------------- 33. Draws */

.mwhb-grid--draws { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.mwhb-draw {
  display: flex;
  flex-direction: column;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  overflow: hidden;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.3s var(--mwhb-ease), box-shadow 0.3s ease;
}

.mwhb-draw:hover { transform: translateY(-4px); box-shadow: var(--mwhb-shadow); }

.mwhb-draw-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--mwhb-navy);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.mwhb-draw-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mwhb-draw-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 35, 63, 0.9) 0%, rgba(24, 35, 63, 0.15) 70%);
}

.mwhb-draw-state {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
}

.mwhb-draw-title {
  position: relative;
  margin: 0;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--mwhb-white);
  line-height: 1.5;
}

.mwhb-draw-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.mwhb-draw-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mwhb-ink-60);
}

.mwhb-draw-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.mwhb-draw-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mwhb-ink-50);
}

.mwhb-draw-fact svg { color: var(--mwhb-purple); }

.mwhb-draw-action { margin-top: auto; }
.mwhb-draw-action .mwhb-btn { width: 100%; justify-content: center; }

.mwhb-draw-msg {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  min-height: 1em;
}

.mwhb-draw-msg.is-ok  { color: #0a6b3d; }
.mwhb-draw-msg.is-err { color: #a4231f; }

.mwhb-section-cta { margin-top: 2rem; text-align: center; }

/* ------------------------------------------------------- 34. Winners */

.mwhb-podium-title {
  text-align: center;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--mwhb-navy);
  margin: 0.5rem 0 1.25rem;
}

/* Winners filter — a white rounded bar, chips aligned to the end (right in
   RTL), categories and years separated by a hairline. */
.mwhb-winners-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--mwhb-white);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
  margin-bottom: 2rem;
}
.mwhb-winners-filter-sep {
  width: 1px;
  align-self: stretch;
  background: var(--mwhb-ink-10);
  margin: 0.15rem 0.25rem;
}

/* Podium + roll share one grid so the category/year filter can show and hide
   individual cards. First three cards form the podium row; the rest wrap
   below. */
.mwhb-winners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
}
.mwhb-winners--flat { align-items: stretch; }

@media (max-width: 720px) {
  .mwhb-winners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .mwhb-winners { grid-template-columns: 1fr; }
}

.mwhb-winner { display: flex; flex-direction: column; }

.mwhb-winner-card {
  position: relative;
  border-radius: var(--mwhb-radius-lg);
  overflow: hidden;
  background: var(--mwhb-navy);
  box-shadow: 0 18px 40px -20px rgba(15, 23, 40, 0.55);
  transition: transform 0.3s var(--mwhb-ease);
}
.mwhb-winner:hover .mwhb-winner-card { transform: translateY(-5px); }

.mwhb-winner-media {
  position: relative;
  aspect-ratio: 3 / 4;
}
.mwhb-winner-media img { width: 100%; height: 100%; object-fit: cover; }

.mwhb-winner-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  background: var(--mwhb-navy-light);
}

.mwhb-winner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 40, 0.92) 0%, rgba(15, 23, 40, 0.55) 40%, rgba(15, 23, 40, 0) 72%);
}

.mwhb-winner-medal {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--mwhb-navy);
  background: var(--mwhb-ink-10);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.5);
}
.mwhb-winner--rank1 .mwhb-winner-medal { background: var(--mwhb-gold); }
.mwhb-winner--rank2 .mwhb-winner-medal { background: #d8dde8; }
.mwhb-winner--rank3 .mwhb-winner-medal { background: var(--mwhb-orange); color: var(--mwhb-white); }

.mwhb-winner-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
}
.mwhb-winner-name {
  margin: 0 0 0.15rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--mwhb-white);
}
.mwhb-winner-contest {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}
.mwhb-winner-votes {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--mwhb-radius-pill);
  background: rgba(244, 194, 32, 0.18);
  color: var(--mwhb-gold);
  font-size: 0.72rem;
  font-weight: 800;
}

/* The place ribbon under each podium card. */
.mwhb-winner-ribbon {
  margin-top: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: var(--mwhb-radius-pill);
  text-align: center;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--mwhb-navy);
}
.mwhb-winner-ribbon--1 { background: linear-gradient(90deg, var(--mwhb-gold), #ffdb6b); }
.mwhb-winner-ribbon--2 { background: #d8dde8; }
.mwhb-winner-ribbon--3 { background: var(--mwhb-orange); color: var(--mwhb-white); }

/* First place stands taller and slightly raised in the middle. */
.mwhb-winner--podium.mwhb-winner--rank1 .mwhb-winner-media { aspect-ratio: 3 / 4.4; }
@media (min-width: 481px) {
  .mwhb-winner--podium.mwhb-winner--rank1 { margin-bottom: 0.75rem; }
}

/* Smaller cards for the overflow roll below the podium. */
.mwhb-winner--list .mwhb-winner-media { aspect-ratio: 4 / 4.2; }
.mwhb-winner--list .mwhb-winner-name { font-size: 0.9rem; }

/* ------------------------------------------------------- 35. Filters */

.mwhb-filterbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

/* Status pills sit at the start (right in RTL); the search box takes the end
   (left in RTL) on the same row, exactly like the reference. */
.mwhb-filterbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.mwhb-filterbar-top .mwhb-filters--status { flex: 1 1 auto; }
.mwhb-filterbar-top .mwhb-searchbox { flex: 0 1 340px; margin-inline-start: auto; }

@media (max-width: 640px) {
  .mwhb-filterbar-top { flex-direction: column; align-items: stretch; }
  .mwhb-filterbar-top .mwhb-searchbox { flex-basis: auto; }
}

.mwhb-searchbox {
  position: relative;
  max-width: 520px;
  width: 100%;
}

.mwhb-searchbox-icon {
  position: absolute;
  inset-inline-start: 0.9rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--mwhb-ink-50);
  pointer-events: none;
  display: inline-flex;
}

.mwhb-searchbox-input {
  width: 100%;
  padding: 0.8rem 2.75rem 0.8rem 1rem;
  border-radius: var(--mwhb-radius);
  border: 1px solid var(--mwhb-ink-10);
  background: var(--mwhb-white);
  font-family: var(--mwhb-font);
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mwhb-searchbox-input:focus {
  outline: none;
  border-color: var(--mwhb-purple);
  box-shadow: 0 0 0 3px rgba(116, 103, 232, 0.15);
}

.mwhb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mwhb-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--mwhb-radius-pill);
  border: 1px solid var(--mwhb-ink-10);
  background: var(--mwhb-white);
  color: var(--mwhb-ink-60);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mwhb-filter-btn:hover { border-color: var(--mwhb-purple); color: var(--mwhb-purple); }

.mwhb-filter-btn.is-active {
  background: var(--mwhb-navy);
  border-color: var(--mwhb-navy);
  color: var(--mwhb-white);
}

.mwhb-filter-emoji { font-size: 0.9375rem; line-height: 1; }

.mwhb-result-count {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
  font-weight: 600;
}

/* The [hidden] attribute is how the filter/sort JS shows and hides cards. An
   author `display` rule (e.g. .mwhb-grid-item{display:flex}) outranks the UA
   `[hidden]{display:none}` rule, so without this the filters appeared to do
   nothing — items were marked hidden but still painted. This restores it. */
.mwhb-scope [hidden] { display: none !important; }

/* Compact filter (home / categories page): reads as a slim filter row rather
   than a bank of big cards — chips only, no search, no result count. Uses the
   site's warm yellow so it reads as a filter band. */
.mwhb-filterbar--compact {
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--mwhb-gold-soft, #fbe7b0);
  border: 1px solid var(--mwhb-gold, #f4c220);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
  margin-bottom: 1.5rem;
}
.mwhb-filterbar--compact .mwhb-filters { justify-content: center; }
.mwhb-filterbar--compact .mwhb-filter-btn { padding: 0.4rem 0.85rem; font-size: 0.78rem; }

/* Count carried by each filter chip, plus the dimmed state for a chip that has
   nothing behind it — pressing one of those used to empty the grid with no
   explanation, which read as "the filter doesn't work". */
.mwhb-filter-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  margin-inline-start: 0.45rem;
  padding: 0 0.35em;
  border-radius: 999px;
  background: rgba(24, 35, 63, 0.08);
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
.mwhb-filter-btn.is-active .mwhb-filter-n { background: rgba(255, 255, 255, 0.22); }
.mwhb-filter-btn.is-empty {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.mwhb-filter-btn.is-empty:hover { border-color: inherit; color: inherit; }

/* Google / social sign-in slot inside the auth widget. */
.mwhb-auth-social { margin-top: 1.1rem; }
.mwhb-auth-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  color: var(--mwhb-navy, #18233f);
  opacity: 0.55;
  font-size: 0.8rem;
}
.mwhb-auth-or::before,
.mwhb-auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.mwhb-btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(24, 35, 63, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #18233f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.mwhb-btn--google:hover {
  border-color: rgba(24, 35, 63, 0.32);
  box-shadow: 0 6px 18px rgba(24, 35, 63, 0.12);
  transform: translateY(-1px);
}
.mwhb-btn--google svg { flex: none; }
.mwhb-filterbar--compact .mwhb-filters--cats { padding-top: 0.55rem; border-top: 1px solid rgba(0,0,0,0.08); }

/* Archive filter bar (contests page) — a white card, with the two chip banks
   colour-coded so status and category read as separate controls rather than one
   undifferentiated wall of pills. */
.mwhb-filterbar--band {
  padding: 1rem 1.1rem;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-10);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
}
.mwhb-filterbar--band .mwhb-searchbox-input {
  background: var(--mwhb-white);
  border-color: var(--mwhb-ink-10);
}

/* Status: the brand gold. */
.mwhb-filterbar--band .mwhb-filters--status .mwhb-filter-btn {
  background: var(--mwhb-gold);
  border-color: var(--mwhb-gold);
  color: var(--mwhb-navy);
}
.mwhb-filterbar--band .mwhb-filters--status .mwhb-filter-btn .mwhb-filter-n {
  background: rgba(24, 35, 63, 0.14);
}

/* Categories: the softer cream of the same hue. */
.mwhb-filterbar--band .mwhb-filters--cats {
  padding-top: 0.75rem;
  border-top: 1px solid var(--mwhb-ink-05);
}
.mwhb-filterbar--band .mwhb-filters--cats .mwhb-filter-btn {
  background: var(--mwhb-cream);
  border-color: rgba(244, 194, 32, 0.45);
  color: var(--mwhb-navy);
}

/* The active chip stays navy in both banks, so "which one is selected" is never
   ambiguous against a coloured resting state. */
.mwhb-filterbar--band .mwhb-filter-btn.is-active {
  background: var(--mwhb-navy);
  border-color: var(--mwhb-navy);
  color: var(--mwhb-white);
}
.mwhb-filterbar--band .mwhb-filter-btn:hover:not(.is-active) {
  border-color: var(--mwhb-navy);
  color: var(--mwhb-navy);
}

/* ------------------------------------------------------ 36. Features */

.mwhb-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.mwhb-features--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mwhb-features--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mwhb-features--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.mwhb-feature {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.3s var(--mwhb-ease), box-shadow 0.3s ease;
}

.mwhb-feature:hover { transform: translateY(-4px); box-shadow: var(--mwhb-shadow); }

.mwhb-feature--featured {
  background: var(--mwhb-navy);
  border-color: transparent;
}

.mwhb-feature--featured .mwhb-feature-title { color: var(--mwhb-white); }
.mwhb-feature--featured .mwhb-feature-text { color: rgba(255, 255, 255, 0.65); }

.mwhb-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--mwhb-radius);
  margin-bottom: 0.9rem;
}

.mwhb-feature-icon--gold   { background: rgba(244, 194, 32, 0.18); color: var(--mwhb-orange); }
.mwhb-feature-icon--purple { background: rgba(116, 103, 232, 0.15); color: var(--mwhb-purple); }
.mwhb-feature-icon--orange { background: rgba(242, 140, 40, 0.15); color: var(--mwhb-orange); }
.mwhb-feature-icon--navy   { background: rgba(24, 35, 63, 0.08); color: var(--mwhb-navy); }

.mwhb-feature--featured .mwhb-feature-icon--gold,
.mwhb-feature--featured .mwhb-feature-icon--purple,
.mwhb-feature--featured .mwhb-feature-icon--orange,
.mwhb-feature--featured .mwhb-feature-icon--navy {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-gold);
}

.mwhb-feature-title {
  margin: 0 0 0.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--mwhb-ink);
  line-height: 1.5;
}

.mwhb-feature-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.95;
  color: var(--mwhb-ink-60);
}

/* --------------------------------------------------------- 37. Stats */

.mwhb-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.mwhb-statbox {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--mwhb-radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mwhb-section--white .mwhb-statbox,
.mwhb-section--cream .mwhb-statbox {
  background: var(--mwhb-white);
  border-color: var(--mwhb-ink-05);
  box-shadow: var(--mwhb-shadow-sm);
}

.mwhb-statbox-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(244, 194, 32, 0.18);
  color: var(--mwhb-gold);
  margin-bottom: 0.6rem;
}

.mwhb-section--white .mwhb-statbox-icon,
.mwhb-section--cream .mwhb-statbox-icon { color: var(--mwhb-orange); }

.mwhb-statbox-value {
  display: block;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--mwhb-white);
}

.mwhb-section--white .mwhb-statbox-value,
.mwhb-section--cream .mwhb-statbox-value { color: var(--mwhb-ink); }

.mwhb-statbox-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.mwhb-section--white .mwhb-statbox-label,
.mwhb-section--cream .mwhb-statbox-label { color: var(--mwhb-ink-50); }

/* ------------------------------------------------- 38. Journey + team */

.mwhb-journey {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
}

.mwhb-journey::before {
  content: '';
  position: absolute;
  inset-inline-start: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--mwhb-ink-10);
}

.mwhb-journey-item {
  position: relative;
  padding-inline-start: 2rem;
  padding-bottom: 1.25rem;
}

.mwhb-journey-item:last-child { padding-bottom: 0; }

.mwhb-journey-dot {
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mwhb-gold);
  border: 3px solid var(--mwhb-white);
  box-shadow: 0 0 0 2px var(--mwhb-gold);
}

.mwhb-journey-card {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--mwhb-shadow-sm);
}

.mwhb-journey-year {
  display: inline-block;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--mwhb-purple);
  background: rgba(116, 103, 232, 0.12);
  padding: 0.1rem 0.6rem;
  border-radius: var(--mwhb-radius-pill);
  margin-bottom: 0.45rem;
}

.mwhb-journey-title {
  margin: 0 0 0.3rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--mwhb-ink);
}

.mwhb-journey-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mwhb-ink-60);
}

.mwhb-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.mwhb-member {
  text-align: center;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  padding: 1.5rem 1rem;
  box-shadow: var(--mwhb-shadow-sm);
  transition: transform 0.3s var(--mwhb-ease);
}

.mwhb-member:hover { transform: translateY(-4px); }

.mwhb-member-photo {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mwhb-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwhb-member-photo img { width: 100%; height: 100%; object-fit: cover; }
.mwhb-member-ph { color: var(--mwhb-ink-50); }

.mwhb-member-name {
  margin: 0 0 0.2rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-member-role {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: var(--mwhb-purple);
  font-weight: 600;
}

.mwhb-member-bio {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--mwhb-ink-60);
}

/* ------------------------------------------------------- 39. Contact */

.mwhb-contact {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .mwhb-contact { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1.75rem; }
}

.mwhb-contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mwhb-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mwhb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mwhb-contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--mwhb-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(116, 103, 232, 0.12);
  color: var(--mwhb-purple);
}

.mwhb-contact-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }

.mwhb-contact-label {
  font-size: 0.6875rem;
  color: var(--mwhb-ink-50);
}

.mwhb-contact-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mwhb-ink);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

a.mwhb-contact-value:hover { color: var(--mwhb-purple); }

.mwhb-socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.mwhb-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mwhb-white);
  transition: transform 0.2s var(--mwhb-bounce), background-color 0.2s ease, color 0.2s ease;
}

.mwhb-social:hover { transform: scale(1.1); background: var(--mwhb-gold); color: var(--mwhb-navy); }

/* --------------------------------------------------------- 40. Forms */

.mwhb-form { display: flex; flex-direction: column; gap: 1rem; }

.mwhb-form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .mwhb-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mwhb-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }

.mwhb-label {
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--mwhb-ink);
}

.mwhb-label span { color: var(--mwhb-orange); }

.mwhb-input {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--mwhb-radius-sm);
  border: 1px solid var(--mwhb-ink-10);
  background: var(--mwhb-cream);
  font-family: var(--mwhb-font);
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mwhb-input:focus {
  outline: none;
  background: var(--mwhb-white);
  border-color: var(--mwhb-purple);
  box-shadow: 0 0 0 3px rgba(116, 103, 232, 0.15);
}

.mwhb-textarea { resize: vertical; min-height: 120px; }

.mwhb-hint {
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

.mwhb-form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mwhb-form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.mwhb-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-60);
  cursor: pointer;
  line-height: 1.8;
}

.mwhb-check--block { display: flex; }

.mwhb-check input { margin-top: 0.35rem; accent-color: var(--mwhb-purple); }

.mwhb-link {
  color: var(--mwhb-purple);
  font-weight: 600;
  text-decoration: none;
}

.mwhb-link:hover { text-decoration: underline; }

.mwhb-form-msg {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 1.1em;
}

.mwhb-form-msg.is-ok  { color: #0a6b3d; }
.mwhb-form-msg.is-err { color: #a4231f; }

.mwhb-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.mwhb-choice-opt { cursor: pointer; }
.mwhb-choice-opt input { position: absolute; opacity: 0; pointer-events: none; }

.mwhb-choice-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--mwhb-radius);
  border: 2px solid var(--mwhb-ink-10);
  background: var(--mwhb-white);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mwhb-choice-opt input:checked + .mwhb-choice-box {
  border-color: var(--mwhb-gold);
  background: rgba(244, 194, 32, 0.1);
  transform: translateY(-2px);
}

.mwhb-choice-opt input:focus-visible + .mwhb-choice-box {
  box-shadow: 0 0 0 3px rgba(116, 103, 232, 0.2);
}

.mwhb-choice-icon { color: var(--mwhb-purple); }

.mwhb-choice-title {
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-choice-text {
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

/* ---------------------------------------------------------- 41. Auth */

.mwhb-auth { text-align: center; }
.mwhb-auth .mwhb-form { text-align: start; margin-top: 1.25rem; }
.mwhb-auth-head { margin-bottom: 0.5rem; }

.mwhb-auth-title {
  margin: 0 0 0.35rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--mwhb-ink);
}

.mwhb-auth-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 194, 32, 0.18);
  color: var(--mwhb-orange);
  margin-bottom: 0.85rem;
}

.mwhb-auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.mwhb-auth-alt { margin: 1.15rem 0 0; font-size: 0.8125rem; }

/* --------------------------------------------------- 42. Legal + FAQ */

.mwhb-doc { display: grid; gap: 1.25rem; }

@media (min-width: 1000px) {
  .mwhb-doc { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
  .mwhb-doc-toc { position: sticky; top: 96px; }
}

.mwhb-doc-body { display: flex; flex-direction: column; gap: 1rem; }

.mwhb-doc-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
}

.mwhb-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mwhb-toc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--mwhb-radius-sm);
  font-size: 0.8125rem;
  color: var(--mwhb-ink-60);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mwhb-toc-link:hover { background: var(--mwhb-cream); color: var(--mwhb-purple); }

.mwhb-toc-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mwhb-ink-05);
  font-size: 0.6875rem;
  font-weight: 700;
}

.mwhb-doc-section { scroll-margin-top: 100px; }

.mwhb-doc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-inline-end: 0.5rem;
  vertical-align: middle;
}

.mwhb-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}

.mwhb-acc-item {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius);
  overflow: hidden;
  box-shadow: var(--mwhb-shadow-sm);
  transition: border-color 0.2s ease;
}

.mwhb-acc-item.is-open { border-color: rgba(116, 103, 232, 0.4); }

.mwhb-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: start;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-acc-sign {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--mwhb-purple);
  transition: transform 0.25s var(--mwhb-ease);
}

.mwhb-acc-item.is-open .mwhb-acc-sign { transform: rotate(180deg); }

.mwhb-acc-panel { padding: 0 1.25rem 1.15rem; }

/* ----------------------------------------------------- 43. Dashboard */

.mwhb-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mwhb-dash-user { display: flex; align-items: center; gap: 0.9rem; }

.mwhb-dash-avatar {
  border-radius: 50%;
  border: 3px solid var(--mwhb-gold);
}

.mwhb-dash-name {
  margin: 0;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--mwhb-ink);
}

.mwhb-dash-role {
  margin: 0.1rem 0 0;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
}

.mwhb-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mwhb-dash-card {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius);
  padding: 1rem;
  box-shadow: var(--mwhb-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mwhb-dash-card-icon {
  display: inline-flex;
  color: var(--mwhb-purple);
  margin-bottom: 0.3rem;
}

.mwhb-dash-card-value {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--mwhb-ink);
}

.mwhb-dash-card-label {
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

.mwhb-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--mwhb-ink-05);
  padding-bottom: 0.6rem;
}

.mwhb-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--mwhb-radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--mwhb-ink-60);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mwhb-tab:hover { background: var(--mwhb-white); color: var(--mwhb-purple); }

.mwhb-tab.is-active {
  background: var(--mwhb-navy);
  color: var(--mwhb-white);
}

.mwhb-tab-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border-radius: var(--mwhb-radius-pill);
  background: var(--mwhb-orange);
  color: var(--mwhb-white);
  font-size: 0.6875rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mwhb-tabpanel { display: none; }
.mwhb-tabpanel.is-active { display: block; }

.mwhb-applist { display: flex; flex-direction: column; gap: 1rem; }

.mwhb-appcard {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-inline-start: 4px solid var(--mwhb-ink-10);
  border-radius: var(--mwhb-radius);
  padding: 1.25rem;
  box-shadow: var(--mwhb-shadow-sm);
}

.mwhb-appcard--accepted   { border-inline-start-color: #0a6b3d; }
.mwhb-appcard--rejected   { border-inline-start-color: #a4231f; }
.mwhb-appcard--needs_edit { border-inline-start-color: var(--mwhb-orange); }
.mwhb-appcard--reviewing,
.mwhb-appcard--submitted  { border-inline-start-color: var(--mwhb-purple); }

.mwhb-appcard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.mwhb-appcard-title {
  margin: 0;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--mwhb-ink);
}

.mwhb-appcard-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: var(--mwhb-ink-50);
}

.mwhb-appbadge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--mwhb-radius-pill);
  font-family: var(--mwhb-font-display);
  font-size: 0.6875rem;
  font-weight: 700;
}

.mwhb-appbadge--accepted   { background: #d6f5e3; color: #0a6b3d; }
.mwhb-appbadge--rejected   { background: #fde2e1; color: #a4231f; }
.mwhb-appbadge--needs_edit { background: #fdf1cf; color: #8a6100; }
.mwhb-appbadge--reviewing  { background: #e6e3fb; color: #4a3fbf; }
.mwhb-appbadge--submitted  { background: #e2eefc; color: #1c4f8f; }
.mwhb-appbadge--draft      { background: #eceff1; color: #5b6770; }

.mwhb-appnote {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--mwhb-radius-sm);
  background: rgba(242, 140, 40, 0.1);
  margin-bottom: 0.85rem;
}

.mwhb-appnote-icon { color: var(--mwhb-orange); flex-shrink: 0; display: inline-flex; }

.mwhb-appnote-title {
  display: block;
  font-family: var(--mwhb-font-display);
  font-size: 0.8125rem;
  color: var(--mwhb-ink);
  margin-bottom: 0.15rem;
}

.mwhb-appnote-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--mwhb-ink-60);
}

.mwhb-appstats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-block: 1px dashed var(--mwhb-ink-05);
  margin-bottom: 0.85rem;
}

.mwhb-appstat { display: flex; flex-direction: column; }

.mwhb-appstat-value {
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--mwhb-ink);
  line-height: 1.2;
}

.mwhb-appstat-value--sm { font-size: 0.875rem; }

.mwhb-appstat-label {
  font-size: 0.6875rem;
  color: var(--mwhb-ink-50);
}

.mwhb-appcard-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mwhb-appcard-actions .mwhb-btn { padding: 0.55rem 1rem; font-size: 0.8125rem; }

.mwhb-applyform { max-width: 46rem; }

.mwhb-rowlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mwhb-rowitem {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-sm);
}

.mwhb-rowitem-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(116, 103, 232, 0.12);
  color: var(--mwhb-purple);
}

.mwhb-rowitem-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.mwhb-rowitem-title {
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--mwhb-ink);
  text-decoration: none;
}

.mwhb-rowitem-title:hover { color: var(--mwhb-purple); }

.mwhb-rowitem-meta { font-size: 0.75rem; color: var(--mwhb-ink-50); }

.mwhb-rowitem-time { font-size: 0.75rem; color: var(--mwhb-ink-50); flex-shrink: 0; }

.mwhb-notifs {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mwhb-notif {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-sm);
}

.mwhb-notif.is-unread { background: rgba(255, 249, 211, 0.7); }

.mwhb-notif-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--mwhb-ink-10);
}

.mwhb-notif.is-unread .mwhb-notif-dot { background: var(--mwhb-orange); }
.mwhb-notif--success .mwhb-notif-dot { background: #0a6b3d; }
.mwhb-notif--warning .mwhb-notif-dot { background: var(--mwhb-orange); }

.mwhb-notif-body { flex: 1; min-width: 0; }

.mwhb-notif-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--mwhb-ink);
}

.mwhb-notif-time {
  font-size: 0.6875rem;
  color: var(--mwhb-ink-50);
}

.mwhb-notif-link {
  flex-shrink: 0;
  color: var(--mwhb-purple);
  display: inline-flex;
}

/* ----------------------------------------------------------- 44. CTA */

.mwhb-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--mwhb-radius-lg);
  background: linear-gradient(120deg, var(--mwhb-navy) 0%, var(--mwhb-navy-light) 55%, var(--mwhb-navy-dark) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  isolation: isolate;
}

.mwhb-cta-glow {
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 194, 32, 0.3) 0%, transparent 65%);
  z-index: -1;
  animation: mwhb-float 6s ease-in-out infinite;
}

@keyframes mwhb-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Centre these explicitly rather than relying on the parent's text-align: a
   theme or Elementor rule targeting `p` outranks an inherited value and was
   pulling the description back to the RTL edge. */
.mwhb-scope .mwhb-cta-title,
.mwhb-scope .mwhb-cta-desc { text-align: center; }

.mwhb-cta-title {
  margin: 0 0 0.85rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--mwhb-white);
  line-height: 1.4;
}

.mwhb-cta-desc {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.mwhb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
.mwhb-cta-actions .mwhb-btn { min-width: 11rem; justify-content: center; }

@media (min-width: 768px) {
  .mwhb-cta { padding: 3.5rem 3rem; }
}

/* --------------------------------------------------- 45. Misc helpers */

.mwhb-container--narrow { max-width: 56rem; }

.mwhb-section--flush { padding-block: var(--mwhb-section-y); }

.mwhb-chip--sm {
  font-size: 0.6875rem;
  padding: 0.1rem 0.55rem;
}

/* ------------------------------------------- 46. Remaining hooks + sizes */

.mwhb-tabs { display: block; }

.mwhb-btn--lg {
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
}

.mwhb-acc-q { flex: 1; min-width: 0; }

.mwhb-auth--done .mwhb-panel-title { margin-bottom: 0.35rem; }

.mwhb-contact-main { min-width: 0; }

.mwhb-draw-btn { width: 100%; }

.mwhb-form-submit { margin-top: 0.25rem; }

.mwhb-filters--cats { margin-top: 0.15rem; }

/* Shown by JS when a filter or search leaves nothing visible. */
.mwhb-filter-empty { margin-top: 1rem; }
.mwhb-filter-empty[hidden] { display: none; }

/* ----------------------------------------- 47. Contest detail two-column */

/* Full-width contest page: main content column beside a left sidebar.
   In RTL the sidebar sits on the LEFT because it comes first in source and
   the grid tracks follow the inline direction. */
.mwhb-contest-detail { padding-block: 3rem; }

.mwhb-contest-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .mwhb-contest-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 2rem;
  }
}

.mwhb-contest-grid--single { grid-template-columns: minmax(0, 1fr); }

.mwhb-contest-aside { min-width: 0; }

@media (min-width: 1000px) {
  .mwhb-contest-aside { position: sticky; top: 96px; }
}

.mwhb-contest-content { min-width: 0; }

/* Seats-left + full notices in the sidebar. */
.mwhb-seats {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
}

.mwhb-seats svg { color: var(--mwhb-purple); }

.mwhb-panel--full { text-align: center; }

.mwhb-full-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--mwhb-radius-pill);
  background: rgba(164, 35, 31, 0.1);
  color: #a4231f;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------- 48. Hero scroll indicator */

.mwhb-hero-scroll {
  position: absolute;
  inset-block-end: 1.5rem;
  inset-inline-start: 50%;
  transform: translateX(50%); /* RTL-safe centering */
  z-index: 3;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  animation: mwhb-float 2.4s ease-in-out infinite;
}

.mwhb-hero-scroll-mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  position: relative;
}

.mwhb-hero-scroll-wheel {
  position: absolute;
  inset-inline-start: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-inline-start: -2px;
  border-radius: 2px;
  background: var(--mwhb-gold);
  animation: mwhb-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes mwhb-scroll-wheel {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* On phones the hero shortens and the scroll button must not sit on top of the
   CTA buttons — it tucks into the corner and the inner column reserves space. */
@media (max-width: 767px) {
  .mwhb-hero { min-height: 78vh; }
  .mwhb-hero-inner { padding-block: 3rem 4.5rem; }
  .mwhb-hero-scroll { inset-block-end: 0.75rem; padding: 0.35rem; }
  .mwhb-hero-scroll-mouse { width: 22px; height: 36px; }
}

/* ------------------------------------------ 49. Header user + bell panel */

.mwhb-user { position: relative; }

.mwhb-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.5rem;
  border-radius: var(--mwhb-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mwhb-white);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mwhb-user-btn:hover { background: rgba(255, 255, 255, 0.12); }

.mwhb-user-avatar { border-radius: 50%; width: 30px; height: 30px; }

.mwhb-user-name {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mwhb-user-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 12rem;
  background: var(--mwhb-white);
  border-radius: var(--mwhb-radius);
  box-shadow: var(--mwhb-shadow);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 99999;
}

.mwhb-user:hover .mwhb-user-menu,
.mwhb-user-btn[aria-expanded="true"] + .mwhb-user-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mwhb-user-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--mwhb-radius-sm);
  font-family: var(--mwhb-font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mwhb-ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mwhb-user-link:hover { background: var(--mwhb-cream); color: var(--mwhb-purple); }
.mwhb-user-link svg { color: var(--mwhb-purple); }

/* Bell + dropdown panel */
.mwhb-bell { position: relative; }

.mwhb-header-bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: var(--mwhb-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mwhb-header-bell:hover { background: rgba(255, 255, 255, 0.16); }

.mwhb-header-bell-count {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  width: 19px;
  height: 19px;
  min-width: 19px;
  padding: 0;
  border-radius: 50%;
  background: var(--mwhb-orange);
  color: var(--mwhb-white);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--mwhb-navy);
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.6);
  animation: mwhb-bell-pulse 2s ease-out infinite;
}

.mwhb-header-bell-count.is-on { display: inline-flex; }

/* A soft expanding ring so a new notification draws the eye. */
@keyframes mwhb-bell-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(242, 140, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 140, 40, 0); }
}

.mwhb-bell-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: var(--mwhb-white);
  border-radius: var(--mwhb-radius);
  box-shadow: 0 24px 60px -18px rgba(15, 23, 40, 0.55);
  overflow: hidden;
  z-index: 99999;
}

.mwhb-bell-panel[hidden] { display: none; }

.mwhb-bell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--mwhb-ink-05);
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--mwhb-ink);
}

.mwhb-bell-readall {
  background: transparent;
  border: 0;
  color: var(--mwhb-purple);
  font-family: var(--mwhb-font-display);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}

.mwhb-bell-list { max-height: 340px; overflow-y: auto; }

.mwhb-bell-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--mwhb-ink-05);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mwhb-bell-item:hover { background: var(--mwhb-cream); }
.mwhb-bell-item.is-unread { background: rgba(255, 249, 211, 0.6); }

.mwhb-bell-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--mwhb-ink-10);
}

.mwhb-bell-item.is-unread .mwhb-bell-dot { background: var(--mwhb-orange); }
.mwhb-bell-item--success .mwhb-bell-dot { background: #0a6b3d; }

.mwhb-bell-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.mwhb-bell-text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mwhb-ink);
}

.mwhb-bell-time { font-size: 0.6875rem; color: var(--mwhb-ink-50); }

.mwhb-bell-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
  margin: 0;
}

.mwhb-bell-foot {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--mwhb-purple);
  text-decoration: none;
  border-top: 1px solid var(--mwhb-ink-05);
}

.mwhb-bell-foot:hover { background: var(--mwhb-cream); }

/* Vote button locked because the once-per-contest vote was spent elsewhere. */
.mwhb-vote-btn.is-spent { opacity: 0.55; }

/* ------------------------------------------------------- 50. Toast host */

.mwhb-toast-host {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}

.mwhb-toast {
  pointer-events: auto;
  min-width: 220px;
  max-width: 90vw;
  padding: 0.85rem 1.25rem;
  border-radius: var(--mwhb-radius);
  background: var(--mwhb-navy);
  color: var(--mwhb-white);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: var(--mwhb-shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--mwhb-ease), transform 0.35s var(--mwhb-ease);
}

.mwhb-toast.is-in { opacity: 1; transform: none; }
.mwhb-toast--ok { background: #0a6b3d; }
.mwhb-toast--err { background: #a4231f; }

/* ------------------------------------------------- 51. Video upload field */

.mwhb-upload { position: relative; }
.mwhb-upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.mwhb-upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.75rem 1rem;
  border: 2px dashed var(--mwhb-ink-10);
  border-radius: var(--mwhb-radius);
  background: var(--mwhb-cream);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mwhb-upload-drop:hover { border-color: var(--mwhb-purple); background: rgba(116, 103, 232, 0.05); }

.mwhb-upload-icon { color: var(--mwhb-purple); }

.mwhb-upload-text {
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--mwhb-ink);
}

.mwhb-upload-hint { font-size: 0.75rem; color: var(--mwhb-ink-50); }

.mwhb-upload-progress { padding: 0.5rem 0; }

.mwhb-upload-bar {
  height: 8px;
  border-radius: var(--mwhb-radius-pill);
  background: var(--mwhb-ink-10);
  overflow: hidden;
}

.mwhb-upload-bar-fill {
  display: block;
  height: 100%;
  background: var(--mwhb-gold);
  border-radius: inherit;
  transition: width 0.2s ease;
}

.mwhb-upload-status {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--mwhb-ink-60);
}

.mwhb-upload-done {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--mwhb-radius);
  background: #d6f5e3;
}

.mwhb-upload-done-icon { color: #0a6b3d; display: inline-flex; }

.mwhb-upload-filename {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mwhb-ink);
}

.mwhb-upload-remove {
  background: transparent;
  border: 0;
  color: var(--mwhb-ink-50);
  cursor: pointer;
  display: inline-flex;
}

.mwhb-upload-remove:hover { color: #a4231f; }

/* Revenue / info notice box (YouTube 30% share) */
.mwhb-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  border-radius: var(--mwhb-radius);
  background: rgba(244, 194, 32, 0.12);
  border: 1px solid rgba(244, 194, 32, 0.35);
}

.mwhb-notice-box-icon { color: var(--mwhb-orange); flex-shrink: 0; display: inline-flex; margin-top: 0.1rem; }
.mwhb-notice-box-body { min-width: 0; }

.mwhb-notice-box-text {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--mwhb-ink);
}

.mwhb-notice-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: #c4302b;
  text-decoration: none;
}

.mwhb-notice-box-link:hover { text-decoration: underline; }

/* ---------------------------------------------------- 52. Paid draw / PayPal */

.mwhb-draw-price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-navy);
}

.mwhb-draw-price svg { color: var(--mwhb-purple); }

.mwhb-paypal { min-height: 44px; margin-bottom: 0.5rem; }

.mwhb-draw-note {
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--mwhb-ink-50);
  margin: 0;
}

.mwhb-draw-msg.is-ok { color: #0a6b3d; }
.mwhb-draw-msg.is-err { color: #a4231f; }

/* ------------------------------------------ 53. Contestant detail page */

.mwhb-contestant-detail { padding-block: 2.5rem 3rem; }

.mwhb-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--mwhb-purple);
  text-decoration: none;
}

.mwhb-back-link:hover { color: var(--mwhb-navy); }

.mwhb-contestant-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

/* Video/bio in the main column on the LEFT, profile+vote sidebar on the RIGHT.
   In RTL the first grid track sits on the right, so the aside (declared second
   in the source) is placed into track 1 and the main into track 2. */
@media (min-width: 1000px) {
  .mwhb-contestant-grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 2rem;
  }
  .mwhb-contestant-aside {
    grid-column: 1;
    position: sticky;
    top: 96px;
  }
  .mwhb-contestant-main { grid-column: 2; }
}

.mwhb-contestant-main { min-width: 0; }
.mwhb-contestant-aside { min-width: 0; }

/* ----------------------------------------------- 54. Auth tabs (both mode) */

.mwhb-auth-tabs {
  display: flex;
  gap: 0.4rem;
  background: var(--mwhb-cream);
  padding: 0.35rem;
  border-radius: var(--mwhb-radius);
  margin-bottom: 1.5rem;
}

.mwhb-auth-tab {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: var(--mwhb-radius-sm);
  background: transparent;
  color: var(--mwhb-ink-60);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mwhb-auth-tab.is-active {
  background: var(--mwhb-navy);
  color: var(--mwhb-white);
}

.mwhb-auth-panel.is-hidden { display: none; }

/* -------------------------------------------- 55. Leaderboard vote button */

.mwhb-board-row { flex-wrap: wrap; }

.mwhb-board-vote {
  flex: 1 1 100%;
  margin-top: 0.5rem;
}

.mwhb-board-vote .mwhb-vote { margin: 0; }

.mwhb-vote-btn--sm {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  gap: 0.35rem;
}

.mwhb-vote-btn--sm svg { width: 15px; height: 15px; }

.mwhb-board-vote .mwhb-vote-msg,
.mwhb-board-vote .mwhb-vote-rule { display: none; }

/* ------------------------------------------------- 46. Draw steps card

   "كيف تشارك في السحوبات؟" — a single white card holding the heading and a row
   of soft-yellow step tiles. Deliberately flatter and quieter than the
   how-it-works tracks: this is a reassurance strip on the prizes page, not the
   main explainer. */

.mwhb-drawsteps {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
  padding: 1.6rem;
}

.mwhb-drawsteps-title {
  margin: 0 0 1.15rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--mwhb-ink);
  line-height: 1.4;
}

.mwhb-drawsteps-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .mwhb-drawsteps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mwhb-drawstep {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--mwhb-radius);
  background: var(--mwhb-cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mwhb-drawstep:hover {
  transform: translateY(-2px);
  box-shadow: var(--mwhb-shadow-sm);
}

.mwhb-drawstep-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mwhb-gold);
  color: var(--mwhb-navy);
  font-size: 1.15rem;
  line-height: 1;
}

.mwhb-drawstep-body { min-width: 0; }

.mwhb-drawstep-title {
  display: block;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
  line-height: 1.5;
}

.mwhb-drawstep-text {
  display: block;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-50);
  line-height: 1.7;
}

@media (max-width: 719px) {
  .mwhb-drawsteps { padding: 1.2rem; }
}

/* ------------------------------------------ 47. Password reset panel

   The lost-password and set-new-password steps live inside the auth widget so a
   member never lands on wp-login.php — which is both off-brand and, on a site
   that hides or restricts wp-admin, frequently a dead end. */

.mwhb-auth-panel--reset .mwhb-form-msg { margin-bottom: 1rem; }

.mwhb-auth-back {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ------------------------------------------ 48. Dashboard payment rows

   The "join a draw" step lives in the member dashboard, because a paid draw
   sends a logged-out visitor to sign up first and they need somewhere obvious
   to land afterwards. Each row is one open draw: what it costs on one side,
   the PayPal button (or the reason they can't pay yet) on the other. */

.mwhb-paybox {
  background: var(--mwhb-cream);
  border: 1px solid rgba(244, 194, 32, 0.5);
  border-radius: var(--mwhb-radius-lg);
  padding: 1.15rem;
  margin-bottom: 1.5rem;
}

.mwhb-paybox-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--mwhb-ink);
}

.mwhb-payrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: var(--mwhb-radius);
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
}

.mwhb-payrow + .mwhb-payrow { margin-top: 0.65rem; }

.mwhb-payrow-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 14rem;
}

.mwhb-payrow-title {
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mwhb-ink);
  text-decoration: none;
}
.mwhb-payrow-title:hover { color: var(--mwhb-purple); }

.mwhb-payrow-price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--mwhb-ink-60);
}

.mwhb-payrow-action {
  flex: 0 1 16rem;
  min-width: 12rem;
}
.mwhb-payrow-action .mwhb-btn { width: 100%; justify-content: center; }
.mwhb-payrow-action .mwhb-draw-msg { margin: 0.4rem 0 0; }

.mwhb-paybox-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--mwhb-ink-50);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .mwhb-payrow { flex-direction: column; align-items: stretch; }
  .mwhb-payrow-action { flex-basis: auto; min-width: 0; }
}

/* ------------------------------------------------ 49. Studio page

   The standalone "استديو مواهب" page. The source design was a dark studio
   landing with a radial night hero and a gradient contestants band; this keeps
   that character but drives every colour from the platform tokens, so it reads
   as the same site rather than a bolt-on microsite. */

.mwhb-studio-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 32rem;
  padding-block: clamp(3.5rem, 10vw, 6rem);
  background:
    radial-gradient(circle at 82% 22%, rgba(116, 103, 232, 0.45) 0%, transparent 42%),
    linear-gradient(160deg, var(--mwhb-navy-light) 0%, var(--mwhb-navy) 38%, var(--mwhb-navy-dark) 100%);
  color: var(--mwhb-white);
}

/* With a background image the gradient becomes a scrim so the text keeps its
   contrast whatever the photo underneath is. */
.mwhb-studio-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--mwhb-studio-bg);
  background-size: cover;
  background-position: center;
}
.mwhb-studio-hero.has-image {
  background:
    linear-gradient(160deg, rgba(24, 35, 63, 0.92) 0%, rgba(15, 23, 40, 0.86) 100%);
}

.mwhb-studio-hero-glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: -8%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 194, 32, 0.28) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.mwhb-studio-hero-inner { max-width: 44rem; }

.mwhb-studio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: var(--mwhb-radius-pill);
  background: rgba(244, 194, 32, 0.16);
  border: 1px solid rgba(244, 194, 32, 0.35);
  color: var(--mwhb-gold);
  font-family: var(--mwhb-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
}

.mwhb-studio-hero-title {
  margin: 0 0 1rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  line-height: 1.28;
  color: var(--mwhb-white);
}
.mwhb-studio-hero-title span {
  display: block;
  color: var(--mwhb-gold);
}

.mwhb-studio-hero-desc {
  margin: 0 0 1.9rem;
  max-width: 38rem;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

.mwhb-studio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Gold-outlined secondary, matching the source design more closely than the
   white .mwhb-btn--ghost used elsewhere on dark sections. */
.mwhb-studio-hero-actions .mwhb-btn--ghost {
  border-color: rgba(244, 194, 32, 0.55);
  color: var(--mwhb-gold);
}
.mwhb-studio-hero-actions .mwhb-btn--ghost:hover {
  background: rgba(244, 194, 32, 0.12);
  color: var(--mwhb-gold);
}

/* -------------------------------------------------------- Service cards */

.mwhb-studio-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .mwhb-studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .mwhb-studio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mwhb-studio-card {
  background: var(--mwhb-white);
  border: 1px solid var(--mwhb-ink-05);
  border-radius: var(--mwhb-radius-lg);
  box-shadow: var(--mwhb-shadow-sm);
  padding: 1.6rem;
  transition: transform 0.25s var(--mwhb-ease), box-shadow 0.25s var(--mwhb-ease);
}
.mwhb-studio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mwhb-shadow);
}

.mwhb-studio-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: var(--mwhb-navy);
}
.mwhb-studio-card-icon--gold   { background: rgba(244, 194, 32, 0.22); color: #8a6a00; }
.mwhb-studio-card-icon--purple { background: rgba(116, 103, 232, 0.18); color: var(--mwhb-purple); }
.mwhb-studio-card-icon--orange { background: rgba(242, 140, 40, 0.18); color: #b35c00; }

.mwhb-studio-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--mwhb-ink);
  line-height: 1.5;
}

.mwhb-studio-card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--mwhb-ink-60);
}

/* ---------------------------------------------------- Contestants band */

.mwhb-studio-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border-radius: var(--mwhb-radius-lg);
  background: linear-gradient(135deg, var(--mwhb-navy-light) 0%, var(--mwhb-navy) 55%, var(--mwhb-navy-dark) 100%);
  color: var(--mwhb-white);
}

.mwhb-studio-band-glow {
  position: absolute;
  inset-block-start: -50%;
  inset-inline-end: -6%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 194, 32, 0.26) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.mwhb-studio-band-text { flex: 1 1 20rem; min-width: 0; }

.mwhb-studio-band-title {
  margin: 0 0 0.5rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  color: var(--mwhb-white);
  line-height: 1.4;
}

.mwhb-studio-band-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}

/* -------------------------------------------------------- Closing block */

.mwhb-studio-end { text-align: center; }

.mwhb-studio-end-title {
  margin: 0 0 0.6rem;
  font-family: var(--mwhb-font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--mwhb-ink);
  line-height: 1.4;
}

.mwhb-studio-end-desc {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--mwhb-ink-60);
}

@media (max-width: 640px) {
  .mwhb-studio-hero { min-height: 0; }
  .mwhb-studio-hero-actions .mwhb-btn { flex: 1 1 100%; justify-content: center; }
  .mwhb-studio-band { flex-direction: column; align-items: stretch; text-align: center; }
  .mwhb-studio-band .mwhb-btn { justify-content: center; }
}
