/* ---------- the MeanWeaner trademark ----------
   One lockup, everywhere: MEAN stacked over WEANER in Rubik Mono One, set tight (the words nearly touching), MEAN
   flush right over the end of WEANER, MEAN in ink and WEANER in ketchup:
        MEAN
      WEANER
   Markup is always MEAN<b>WEANER</b> on an element with class="mw-logo mw-logo--stacked". (mw-logo--row, the two
   words on one line, is left over from old ads and isn't used any more.)
   Colours and size come from wherever it's used; this file only sets the shape (two-class selectors, so it wins
   over a page's own .brand rules whatever order they load in). */
.mw-logo {
  font-family: var(--display, 'Rubik Mono One', 'Arial Black', sans-serif);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.mw-logo b { font-weight: 400; }

/* Stacked (the trademark): the bare "MEAN" text and the <b>WEANER</b> become two grid rows. The line boxes are
   shorter than the type so the words push together; the padding keeps the caps inside the box (the painted
   lettering is clipped to it). */
.mw-logo.mw-logo--stacked {
  display: inline-grid;
  letter-spacing: -0.02em;
  grid-auto-flow: row;
  justify-items: end;
  align-items: end;
  line-height: 0.82;
  padding: 0.06em 0;
}
/* Anything extra in the lockup (a model number) sits to the right of WEANER, on its baseline. */
.mw-logo.mw-logo--stacked > :not(b) { grid-column: 2; grid-row: 1 / span 2; align-self: end; line-height: 1; }

/* Horizontal (ads only): MEAN and WEANER side by side, the two colours doing the splitting. */
.mw-logo.mw-logo--row {
  display: inline-block;
  letter-spacing: 0;
  line-height: 1;
}
