:root {
  /* ── Accent ──
     Buttons, links and rules. Drawn from the navy scale so the whole palette is
     one family. Change these five values to rebrand the entire theme. */
  --bpx-accent: #356094;
  --bpx-accent-hover: #42749f;
  --bpx-accent-bright: #8fb4dd; /* links/rules on dark navy */
  --bpx-accent-soft: #2c507a;
  --bpx-accent-rgb: 53, 96, 148;

  /* ── Navy scale ── */
  --bpx-navy: #254465;
  --bpx-navy-deep: #10243a;
  --bpx-navy-mid: #14263c;
  --bpx-navy-light: #2c507a;
  --bpx-navy-dark: #1b3350;
  --bpx-navy-rgb: 20, 38, 60;

  /* ── Text ── */
  --bpx-ink: #254465;
  --bpx-ink-strong: #253f59;
  --bpx-ink-soft: #34485b;
  --bpx-ink-body: #3c4a58;
  --bpx-ink-muted: #718394;

  /* ── Text on dark surfaces ── */
  --bpx-on-dark: #d6e2ee;
  --bpx-on-dark-bright: #e6eef6;
  --bpx-on-dark-soft: #dce8f3;
  --bpx-on-dark-dim: #aebfd0;
  --bpx-on-dark-faint: #afc4da;

  /* ── Surfaces ── */
  --bpx-white: #fff;
  --bpx-surface: #e6f2fc;
  --bpx-surface-alt: #f2f8fd;

  /* ── Borders ── */
  --bpx-border: #dbe6f0;
  --bpx-border-soft: #e4edf5;
  --bpx-border-strong: #cdd9e5;
  --bpx-border-light: rgba(255, 255, 255, 0.14);
  --bpx-border-faint: rgba(255, 255, 255, 0.16);

  /* ── Overlays ── */
  --bpx-overlay-hover: rgba(255, 255, 255, 0.07);
  --bpx-overlay-subtle: rgba(255, 255, 255, 0.06);
  --bpx-overlay-rule: rgba(255, 255, 255, 0.1);

  /* ── Radii ── */
  --bpx-radius-sm: 2px;
  --bpx-radius: 6px;
  --bpx-radius-lg: 8px;

  /* ── Accent (Galaxy Casino highlight) ── */
  --bpx-purple: #8a47ff;
  --bpx-purple-light: #c36eff;

  /* ── Type ── */
  --bpx-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--bpx-font);
  font-size: 17px;
  overflow-x: hidden;
  /* Paired with the .bpx-footer margin-top:auto, this keeps the footer at the
     bottom of short pages without reserving a fixed slab of viewport height. */
  min-height: 100vh;
}

a {
  color: var(--bpx-accent);
}

a:hover {
  color: var(--bpx-accent-soft);
}

#sidebar,
.header {
  background-color: var(--bpx-navy);
}

/* ── Inline SVG icons (inc/icons.php) ──
   Sized and coloured exactly like the icon-font glyphs these replaced: height
   tracks font-size, width follows the icon's own viewBox ratio, and fill picks
   up the inherited text colour. The -0.125em nudge is the optical baseline
   correction Font Awesome applied, so nothing shifts against its label. */
.bpx-icon {
  display: inline-block;
  height: 1em;
  width: auto;
  fill: currentColor;
  vertical-align: -0.125em;
}

.bpx-icon--spin {
  animation: bpx-spin 2s linear infinite;
}

@keyframes bpx-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpx-icon--spin {
    animation: none;
  }
}

/* The vendor sheet paints a grey diamond tile behind <body class="bg-gray">.
   Drop the tile and use a soft blue wash instead, so the page has a tint
   without a texture competing with the content. */
.bg-gray {
  background-color: var(--bpx-surface-alt);
  background-image: none;
}

.Bl_NT_DB_LITE,
.table-box-body {
  background-color: var(--bpx-surface);
}

.games_slider_container {
  background-color: var(--bpx-surface);
  overflow: hidden;
}

/* Lay the un-initialised slider out as the same horizontal strip Slick will
   build, so taking over causes no layout shift (CLS). Slide widths mirror the
   slidesToShow breakpoints in assets/js/main.js. */
.games_slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}
.games_slider:not(.slick-initialized) > .image {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}
@media (max-width: 1800px) {
  .games_slider:not(.slick-initialized) > .image {
    flex-basis: 16.6667%;
    max-width: 16.6667%;
  }
}
@media (max-width: 1500px) {
  .games_slider:not(.slick-initialized) > .image {
    flex-basis: 20%;
    max-width: 20%;
  }
}
@media (max-width: 1200px) {
  .games_slider:not(.slick-initialized) > .image {
    flex-basis: 25%;
    max-width: 25%;
  }
}
@media (max-width: 900px) {
  .games_slider:not(.slick-initialized) > .image {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
  }
}

.img-thumbnail {
  border: hidden;
}

/* ── Sections full width inside flex row ── */
.col-lg-12.Bl_NT_DB_LITE {
  width: 100%;
  flex: 0 0 100%;
}

/* ── Sidebar ── */
.sidebar-menu {
  height: 100%;
}

.sidebar-menu .nav > li {
  width: 100%;
}

.sidebar-star-icon {
  font-size: 17px;
}

/* Sport/game icons in the sidebar nav. The fixed 24px box keeps every label in
   the column starting at the same x regardless of how wide the glyph is — the
   SVG scales to the 18px height and centres itself inside that box. */
.sidebar-nav-icon {
  width: 24px;
  font-size: 18px;
}

/* Image-based nav icons: explicit box for layout stability, contain so the
   varying source aspect ratios are never squashed. */
.sidebar-menu .nav-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 14px;
  margin-bottom: -6px;
}

#invertcolor {
  background: invert(100%);
}

/* ── Editor content (homepage copy and page templates) ── */
/* Page article content (the_content wrapper) */
.bpx-article__content {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.82;
  color: var(--bpx-ink-soft);
  /* A long unbroken token — a URL, a function signature — must wrap rather
     than push the column wider than the phone. */
  overflow-wrap: break-word;
}
.bpx-article__content p {
  margin: 0 0 22px;
}
.bpx-article__content > p:first-child {
  font-size: 21px;
  line-height: 1.72;
  color: var(--bpx-ink-strong);
}
.bpx-article__content h2 {
  color: var(--bpx-navy);
  margin: 38px 0 16px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--bpx-border-soft);
  position: relative;
}
.bpx-article__content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--bpx-accent);
}
.bpx-article__content h3 {
  color: var(--bpx-navy);
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}
.bpx-article__content h1 {
  color: var(--bpx-navy);
  margin: 34px 0 16px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
}
.bpx-article__content h4 {
  color: var(--bpx-navy);
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}
.bpx-article__content h5,
.bpx-article__content h6 {
  color: var(--bpx-ink-muted);
  margin: 22px 0 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bpx-article__content ul,
.bpx-article__content ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.bpx-article__content li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.bpx-article__content li::marker {
  color: var(--bpx-accent);
  font-weight: 700;
}
/* Nested lists close up against their parent item rather than inheriting the
   full block spacing, which left a gap mid-list. */
.bpx-article__content li > ul,
.bpx-article__content li > ol {
  margin: 10px 0 0;
}

/* ── Definition lists ── */
.bpx-article__content dl {
  margin: 0 0 22px;
  padding: 22px 24px;
  background: var(--bpx-surface-alt);
  border: 1px solid var(--bpx-border-soft);
  border-radius: var(--bpx-radius-lg);
}
.bpx-article__content dt {
  font-weight: 700;
  color: var(--bpx-navy);
}
.bpx-article__content dd {
  margin: 4px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bpx-border-soft);
}
.bpx-article__content dd + dt {
  margin-top: 14px;
}
.bpx-article__content dd:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* ── Tables ──
   The wrapper scrolls, not the page: a wide table must never push the whole
   document into horizontal scroll. bpx_wrap_content_tables() in inc/blog.php
   adds the wrapper, since the editor emits a bare <table>. */
.bpx-table-wrap {
  margin: 0 0 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--bpx-border);
  border-radius: var(--bpx-radius-lg);
}
.bpx-article__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bpx-white);
}
.bpx-table-wrap table {
  margin: 0;
}
.bpx-article__content thead {
  background: var(--bpx-navy);
}
.bpx-article__content th {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bpx-on-dark-bright);
  padding: 13px 16px;
  white-space: nowrap;
}
.bpx-article__content td {
  padding: 13px 16px;
  border-top: 1px solid var(--bpx-border-soft);
  color: var(--bpx-ink-body);
}
.bpx-article__content tbody tr:nth-child(even) {
  background: var(--bpx-surface-alt);
}
.bpx-article__content caption {
  caption-side: bottom;
  padding-top: 10px;
  font-size: 13px;
  color: var(--bpx-ink-muted);
  text-align: left;
}

/* ── Code ── */
.bpx-article__content code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--bpx-surface-alt);
  border: 1px solid var(--bpx-border-soft);
  border-radius: var(--bpx-radius-sm);
  padding: 0.15em 0.4em;
  color: var(--bpx-navy);
  /* Inline code has no spaces to break on, so it needs permission to break
     mid-token or it runs past the column on a phone. */
  overflow-wrap: anywhere;
}
.bpx-article__content pre {
  margin: 0 0 22px;
  padding: 20px 22px;
  background: var(--bpx-navy-deep);
  color: var(--bpx-on-dark-bright);
  border-radius: var(--bpx-radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
  tab-size: 2;
}
.bpx-article__content pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ── Figures and captions ── */
.bpx-article__content figure {
  margin: 0 0 22px;
}
.bpx-article__content figure img {
  margin-bottom: 0;
}
.bpx-article__content figcaption,
.bpx-article__content .wp-caption-text {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--bpx-border-strong);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bpx-ink-muted);
}

/* ── Disclosure ── */
.bpx-article__content details {
  margin: 0 0 22px;
  padding: 18px 22px;
  background: var(--bpx-white);
  border: 1px solid var(--bpx-border);
  border-radius: var(--bpx-radius-lg);
}
.bpx-article__content summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--bpx-navy);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bpx-article__content summary::-webkit-details-marker {
  display: none;
}
.bpx-article__content summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bpx-surface);
  color: var(--bpx-accent);
  font-weight: 700;
}
.bpx-article__content details[open] summary::before {
  content: "\2212";
}
.bpx-article__content details[open] summary {
  margin-bottom: 14px;
}

/* ── Rules ── */
.bpx-article__content hr {
  border: 0;
  border-top: 1px solid var(--bpx-border);
  margin: 34px 0;
}

/* ── Form controls ── */
.bpx-article__content label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--bpx-navy);
  margin-bottom: 6px;
}
.bpx-article__content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bpx-article__content select,
.bpx-article__content textarea {
  width: 100%;
  max-width: 420px;
  font: inherit;
  font-size: 16px;
  color: var(--bpx-ink-strong);
  background: var(--bpx-white);
  padding: 11px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--bpx-border-strong);
  border-radius: var(--bpx-radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bpx-article__content input:focus,
.bpx-article__content select:focus,
.bpx-article__content textarea:focus {
  outline: none;
  border-color: var(--bpx-accent);
  box-shadow: 0 0 0 3px var(--bpx-surface);
}
.bpx-article__content input[type="checkbox"],
.bpx-article__content input[type="radio"] {
  accent-color: var(--bpx-accent);
  margin-right: 8px;
}
.bpx-article__content button,
.bpx-article__content input[type="submit"],
.bpx-article__content input[type="button"] {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--bpx-white);
  background: var(--bpx-accent);
  border: 0;
  border-radius: var(--bpx-radius);
  padding: 12px 24px;
  transition: background 0.15s;
}
.bpx-article__content button:hover,
.bpx-article__content input[type="submit"]:hover,
.bpx-article__content input[type="button"]:hover {
  background: var(--bpx-accent-hover);
}
.bpx-article__content a {
  color: var(--bpx-accent);
  font-weight: 600;
  text-underline-offset: 3px;
}
.bpx-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bpx-radius-lg);
  margin: 14px 0 22px;
  box-shadow: 0 16px 34px -24px rgba(var(--bpx-navy-rgb), 0.7);
}
.bpx-article__content blockquote {
  border-left: 4px solid var(--bpx-accent);
  background: var(--bpx-surface-alt);
  margin: 28px 0;
  padding: 18px 22px;
  color: var(--bpx-navy);
  font-size: 20px;
  line-height: 1.65;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
  .bpx-article__content,
  .bpx-article__content > p:first-child {
    font-size: 19px;
    line-height: 1.75;
  }
  .bpx-article__content h2 {
    font-size: 25px;
  }
  .bpx-article__content h3 {
    font-size: 21px;
  }
}

/* Visually hidden but available to screen readers and crawlers (WP standard). */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip-path: none;
  background-color: var(--bpx-white);
  color: var(--bpx-navy);
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
