/* Roulette King Board, the footer ground.
   The site footer already prints every statement the register requires: the
   age sign (18+), the National Gambling Helpline number, the GAMSTOP line and
   the paid-placement note. What it did not have was a surface of its own: it
   sat on the same ground as the article above it, so the small print read as
   more body copy rather than as a closing note.

   This sheet gives the footer that surface, in the palette's own ink, and the
   text colour that belongs on it. It sets two properties and no others: no
   layout, no spacing, no type, no borders.

   The ground is derived from the article's own ground rather than from a
   second variable: the page ground is #2a0e15, and a footer at 12% less light
   along the same hue is #16070b, so the closing note is measurably darker than
   the column above it at every width instead of depending on a token the theme
   may or may not declare. The ink stays the palette's own #f6e3da. */

footer,
footer.site-footer,
footer#colophon,
footer#footer,
footer#site-footer,
footer.rk-footer,
footer.rk-foot,
.site-footer,
.rk-footer,
.rk-foot,
.rk-foot-in,
#colophon,
#site-footer,
#footer,
[role="contentinfo"],
body > footer,
.wp-block-template-part[class*="footer"] {
  background-color: #16070b;
  color: var(--ink, #f6e3da);
}

/* The inner column of the theme's footer carries the same ground so the plate
   covers the whole element and not only the band around it. */
footer .rk-foot-in,
.rk-footer .rk-foot-in,
.rk-foot .rk-foot-in {
  background-color: #16070b;
}

/* The statements themselves keep the palette's ink and a legible contrast
   against that ground: the small print is the reason the footer exists. */
footer a,
.site-footer a,
.rk-footer a,
.rk-foot a,
[role="contentinfo"] a {
  color: var(--ink, #f6e3da);
}

footer p,
footer li,
footer span,
footer small,
.site-footer p,
.site-footer li,
.rk-footer p,
.rk-footer li {
  color: var(--ink-soft, #d8c1b8);
}

/* On a phone the footer stacks and grows taller; the ground covers the element,
   so the same two properties are all it needs at every width. The declaration
   is repeated here rather than only at the top so a theme that sets a ground at
   its own mobile breakpoint is answered at the same width. */
@media (max-width: 780px) {
  footer,
  footer.site-footer,
  footer#colophon,
  footer#footer,
  footer#site-footer,
  footer.rk-footer,
  footer.rk-foot,
  .site-footer,
  .rk-footer,
  .rk-foot,
  #colophon,
  #site-footer,
  #footer,
  [role="contentinfo"],
  body > footer,
  .wp-block-template-part[class*="footer"] {
    background-color: #16070b;
    color: var(--ink, #f6e3da);
  }
}
