/* Hydra theme family: mojo (recreated from the gamblemojo.com WordPress design, Nov 2026).
   Re-skin per site by changing ONLY the variables in :root, using the variation printed by tools/assign_theme.py
   (a kept home page's own colours win). Everything else stays identical. */
:root {
  --mj-main:       #0f7c80;   /* header bar, logo disc, headings accents, links, FAQ, pros/cons heads (role link) */
  --mj-main-dark:  #0a5a5d;   /* phone menu drawer, hover (role ink) */
  --mj-cta:        #ff7a59;   /* green buttons, ticks (role brand) */
  --mj-cta-dark:   #e0603f;   /* button shadow (role brand_dark) */
  --mj-th:         #14a3a8;   /* table header cells (role accent2) */
  --mj-bg:         #ffffff;
  --mj-alt:        #f1fafa;   /* light panels: article head, notes, cards */
  --mj-text:       #0d1b1c;
  --mj-muted:      #5c6b6c;
  --mj-line:       #d8e6e6;
  --mj-font-head:  'Open Sans', sans-serif;
  --mj-font-body:  'Open Sans', sans-serif;
  --mj-r:          6px;       /* corner radius */
  --mj-s:          0.9;         /* spacing scale */
  --mj-hero-img:   none;      /* home hero picture, e.g. url(/images/theme/home-hero.jpg); none = plain colour */
  --mj-hero-shade: rgba(6,50,52,.45); /* tint laid over the hero picture and colour (a dark tint for a light --mj-main) */
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mj-bg); color: var(--mj-text); font-family: var(--mj-font-body); font-size: 1.5rem; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--mj-main); }
h1, h2, h3, h4, h5 { font-family: var(--mj-font-head); color: #212121; font-weight: 700; line-height: 1.3; margin: .7em 0; }


/* ---------------------------------------------------------------- header: blue bar, centred round logo, menu split around it */
.mj-hd { position: sticky; top: 0; z-index: 100; height: 56px; background: var(--mj-main); box-shadow: 0 0 10px rgba(44,44,44,.6);
  display: flex; justify-content: center; padding: 0 20px; }
.mj-logo { position: relative; order: 2; flex: none; align-self: flex-start; margin: -14px 14px 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 120px; height: 120px; border-radius: 50%; background: var(--mj-main); border: 6px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,.25);
  color: #fff; text-decoration: none; font-family: var(--mj-font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.1; text-align: center; text-transform: uppercase; padding: 10px; }
.mj-logo svg { display: block; width: 92px; height: auto; margin-top: 18px; }
.mj-nav { display: contents; }                       /* desktop: the menu links sit in the bar, the logo between items 3 and 4 */
.mj-nav > * { order: 1; }
.mj-nav > :nth-child(n+4) { order: 3; }
.mj-nav > a, .mj-has > a { display: flex; align-items: center; height: 56px; padding: 0 18px; color: #fff; font-weight: 700; font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.mj-has { position: relative; display: flex; }
.mj-has > a { padding-right: 26px; }
.mj-has > a::after { content: ""; position: absolute; right: 10px; top: 24px; width: 5px; height: 5px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.mj-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mj-sub { display: none; position: absolute; top: 56px; left: 0; min-width: 230px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.mj-has:hover > .mj-sub, .mj-has:focus-within > .mj-sub { display: block; }
.mj-has:hover, .mj-has:focus-within, .mj-nav > a:hover { background: var(--mj-main-dark); }
.mj-sub a { display: block; padding: 10px 20px; color: #000; text-decoration: none; font-size: 1.4rem; font-weight: 700; white-space: nowrap; border-bottom: 1px solid #e5e5e5; }
.mj-sub a:last-child { border-bottom: 0; }
.mj-sub a:hover, .mj-sub a:focus { background: var(--mj-main); color: #fff; }
.mj-burger-cb { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mj-burger { display: none; position: absolute; right: 16px; top: 14px; width: 36px; height: 28px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.mj-burger span { display: block; height: 4px; border-radius: 2px; background: #fff; }

@media (max-width: 1099px) {
  .mj-logo { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; }
  .mj-burger { display: flex; }
  .mj-nav { display: none; position: fixed; top: 56px; left: 0; bottom: 0; width: 320px; max-width: 86vw; height: auto; overflow-y: auto; background: var(--mj-main-dark); padding: 10px 0 30px; }
  .mj-burger-cb:checked ~ .mj-nav { display: block; }
  .mj-burger-cb:focus-visible + .mj-burger { outline: 2px solid #fff; outline-offset: 3px; }
  .mj-has { display: block; }
  .mj-nav > a, .mj-has > a { height: auto; padding: 12px 22px; font-size: 1.6rem; }
  .mj-has > a::after { display: none; }
  .mj-has:hover, .mj-has:focus-within, .mj-nav > a:hover { background: none; }
  .mj-sub { display: block; position: static; min-width: 0; background: none; box-shadow: none; padding: 0 0 6px 18px; }
  .mj-sub a { color: rgba(255,255,255,.85); font-weight: 400; border: 0; padding: 6px 22px; font-size: 1.5rem; }
}
@media (max-width: 699px) {
  .mj-logo { left: 16px; transform: none; width: 92px; height: 92px; top: -10px; border-width: 5px; }
  .mj-logo svg { width: 70px; margin-top: 12px; }
}

/* ---------------------------------------------------------------- home hero (home page only) */
.mj-hero { color: #fff; text-align: center; padding: calc(90px * var(--mj-s)) max(20px, calc((100% - 1250px) / 2)) calc(56px * var(--mj-s));
  background: linear-gradient(var(--mj-hero-shade), var(--mj-hero-shade)), var(--mj-hero-img) center / cover no-repeat, var(--mj-main); }
.mj-hero h1 { color: #fff; font-size: 4.4rem; margin: 0 0 .5em; }
.mj-hero .mj-meta { justify-content: center; color: rgba(255,255,255,.85); }
.mj-hero .mj-meta a { color: #fff; }
.mj-hero .mj-lede { max-width: 1240px; margin: 0 auto; font-size: 1.7rem; line-height: 1.6em; text-align: left; }
.mj-hero .mj-btn { margin-top: 25px; }

/* ---------------------------------------------------------------- page head (articles, hubs, reviews: no hero) */
.mj-main { display: block; max-width: 1290px; margin: 0 auto; padding: 0 20px; }
.mj-main.mj-home { max-width: none; padding: 0; }
.mj-home .mj-art { display: block; max-width: 1290px; margin: 0 auto; padding: 0 20px; }
.mj-head { padding: calc(80px * var(--mj-s)) 0 0; }
.mj-bc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; font-size: 1.3rem; color: var(--mj-muted); }
.mj-bc > * + *::before { content: "›"; margin-right: 6px; }
.mj-bc a { color: var(--mj-muted); }
.mj-head h1 { font-size: 3.2rem; margin: 0 0 .4em; }
.mj-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 1.3rem; color: var(--mj-muted); margin: 0 0 14px; }
.mj-lede { margin: 0 0 18px; }
.mj-tl { margin: 0 0 calc(28px * var(--mj-s)); }
.mj-tl-h { font-size: 2.6rem; text-align: center; margin: calc(36px * var(--mj-s)) 0 .6em; }

/* ---------------------------------------------------------------- "on this page" (collapsed list, like the old site's TOC box) */
.mj-toc { border: 1px solid var(--mj-line); border-left: 4px solid var(--mj-main); border-radius: var(--mj-r); background: var(--mj-alt); margin: 0 0 24px; }
.mj-toc summary { cursor: pointer; padding: 10px 16px; font-weight: 700; color: var(--mj-main); }
.mj-toc-l { margin: 0; padding: 0 16px 12px 22px; counter-reset: t; }
.mj-toc-l a { display: block; margin: 0 0 4px; counter-increment: t; }
.mj-toc-l a::before { content: counter(t) ". "; color: var(--mj-muted); }
.mj-toc:has(.mj-toc-l:empty) { display: none; }

/* ---------------------------------------------------------------- body text */
.mj-txt { line-height: 1.6em; }
.mj-txt h2 { font-size: 2.6rem; scroll-margin-top: 70px; }
.mj-txt h3 { font-size: 2rem; }
.mj-txt h4 { font-size: 1.7rem; }
.mj-txt p { margin: 0 0 1em; }
.mj-txt ul, .mj-txt ol { margin: 0 0 1em; padding-left: 1.6em; }
.mj-txt li { margin: 0 0 10px; }
.mj-txt figure { margin: 0 0 20px; }
.mj-txt img { border-radius: var(--mj-r); }
.mj-txt blockquote { margin: 0 0 1em; padding: 10px 18px; border-left: 4px solid var(--mj-main); background: var(--mj-alt); }
.mj-tbl { overflow-x: auto; margin: 25px 0; }
.mj-tbl table { width: 100%; border-collapse: collapse; }
.mj-tbl th { background: var(--mj-th); color: #fff; padding: 15px; border: 1px solid var(--mj-line); text-align: center; font-weight: 700; }
.mj-tbl td { padding: 15px; border: 1px solid #e8e8e8; vertical-align: middle; }
.mj-fn { font-size: 1.3rem; color: var(--mj-muted); }
.mj-note { border: 1px solid var(--mj-line); border-left: 4px solid var(--mj-main); border-radius: var(--mj-r); padding: 16px 20px 4px; margin: 0 0 1.2em; background: var(--mj-bg); }
.mj-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.mj-steps > li { counter-increment: s; position: relative; padding-left: 44px; }
.mj-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--mj-main); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mj-qa { border: 1px solid var(--mj-main); border-radius: var(--mj-r); margin: 0 0 15px; overflow: hidden; }
.mj-qa > summary { cursor: pointer; padding: 12px 40px 12px 16px; font-weight: 700; position: relative; list-style: none; }
.mj-qa > summary::-webkit-details-marker { display: none; }
.mj-qa > summary::after { content: ""; position: absolute; right: 18px; top: 18px; width: 7px; height: 7px; border-right: 2px solid var(--mj-main); border-bottom: 2px solid var(--mj-main); transform: rotate(45deg); }
.mj-qa[open] > summary { background: var(--mj-main); color: #fff; }
.mj-qa[open] > summary::after { border-color: #fff; transform: rotate(225deg); top: 21px; }
.mj-qa > :not(summary) { margin-left: 16px; margin-right: 16px; }
.mj-qa > :nth-child(2) { margin-top: 12px; }
.mj-pc { display: flex; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); margin: 0 0 20px; border-radius: var(--mj-r); overflow: hidden; }
.mj-pc > div { flex: 1; }
.mj-pc > div > p:first-child { margin: 0; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--mj-main); color: #fff; font-size: 2.2rem; }
.mj-pc ul { list-style: none; padding: 16px 20px !important; margin: 0 !important; }
.mj-pc li { font-size: 1.3rem; margin: 0 0 6px; }
.mj-pc .mj-pro li::before { content: "✓"; color: var(--mj-cta); font-weight: 700; margin-right: 8px; }
.mj-pc .mj-con li::before { content: "✗"; color: #dd0007; font-weight: 700; margin-right: 8px; }
.mj-pc .mj-con ul { border-left: 1px solid var(--mj-line); }
.mj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 10px 0 30px; }
.mj-card { background: var(--mj-alt); border-radius: var(--mj-r); padding: 20px; text-align: center; }
.mj-card img { width: 100px; height: 100px; object-fit: contain; }
.mj-card h3 { margin: 8px 0; }
.mj-card ul { list-style: none; padding: 0 !important; }
.mj-card li { margin: 0 0 4px; }
.mj-card a { color: #000; font-weight: 600; text-decoration: none; }
.mj-card a:hover { text-decoration: underline; }
.mj-btn { display: inline-block; min-width: 220px; padding: 10px 20px; border-radius: 5px; background: var(--mj-cta); color: #fff !important; font-weight: 700; text-decoration: none; text-transform: uppercase; box-shadow: 0 5px 0 rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.mj-btn:hover { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
@media (max-width: 699px) {
  .mj-pc { flex-direction: column; }
  .mj-pc .mj-con ul { border-left: 0; }
  .mj-hero { padding: 64px 20px 36px; }
  .mj-hero h1 { font-size: 2.8rem; }
  .mj-hero .mj-lede { font-size: 1.5rem; }
  .mj-head { padding-top: 56px; }
  .mj-head h1 { font-size: 2.6rem; }
  .mj-txt h2 { font-size: 2.2rem; }
}

/* ---------------------------------------------------------------- lists of pages, author, sources */
.mj-kids, .mj-rel, .mj-ab, .mj-src { margin: 30px 0; padding: 20px 24px; border-radius: var(--mj-r); background: var(--mj-alt); border-top: 3px solid var(--mj-main); }
.mj-kids-t, .mj-rel-t, .mj-src-t { display: block; font-family: var(--mj-font-head); font-weight: 700; font-size: 1.8rem; color: var(--mj-main); margin: 0 0 10px; }
.mj-kids ul { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 30px; }
.mj-kids li, .mj-rel li { margin: 0 0 8px; break-inside: avoid; }
.mj-rel ul { margin: 0; padding-left: 1.2em; }
.mj-ab::after { content: ""; display: block; clear: both; }
.mj-ab-img { float: left; border-radius: 50%; margin: 0 14px 6px 0; }
.mj-ab-r { display: block; color: var(--mj-muted); font-size: 1.3rem; font-style: normal; }
.mj-src ol { margin: 0; padding-left: 1.4em; font-size: 1.4rem; }

/* ---------------------------------------------------------------- footer: blue band, then logo + columns */
.mj-ft { margin-top: 50px; }
.mj-ft-top { background: var(--mj-main); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between;
  padding: 18px max(20px, calc((100% - 1250px) / 2)); }
.mj-ft-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mj-ft-nav a { color: #fff; font-weight: 600; font-size: 1.4rem; text-decoration: none; }
.mj-ft-nav a:hover { text-decoration: underline; }
.mj-ft-badge { color: #fff; font-size: 1.4rem; border: 2px solid #fff; border-radius: 20px; padding: 4px 14px; }
.mj-ft-bot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding: 30px max(20px, calc((100% - 1250px) / 2)); }
.mj-ft-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 50%; background: var(--mj-main); color: #fff;
  text-decoration: none; font-weight: 800; text-transform: uppercase; text-align: center; margin: 0 40px; }
.mj-ft-logo svg { width: 88px; height: auto; }
.mj-ft-cols { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 0; flex: 1; }
.mj-ft-col { list-style: none; margin: 0 0 0 3%; padding: 0 20px 0 0; border-right: 1px solid var(--mj-main); text-align: right; min-width: 180px; }
.mj-ft-col > li > a { font-size: 1.8rem; font-weight: 700; color: var(--mj-main); text-decoration: none; display: inline-block; margin: 0 0 5px; }
.mj-ft-col ul { list-style: none; margin: 0; padding: 0; }
.mj-ft-col ul a { font-size: 1.4rem; color: rgba(0,0,0,.5); text-decoration: none; }
.mj-ft-col a:hover { text-decoration: underline; }
.mj-ft-d { display: block; flex-basis: 100%; font-size: 1.3rem; color: var(--mj-muted); text-align: center; margin: 10px 0 0; }
@media (max-width: 699px) {
  .mj-ft-bot { flex-direction: column; align-items: center; }
  .mj-ft-cols { justify-content: center; }
  .mj-ft-col { text-align: center; border-right: 0; margin: 0 0 16px; padding: 0; min-width: 100%; }
}
.mj-tick { stroke: var(--mj-cta); }
