/* ================================================================
   WinMYR homepage (direction A "Ledger"). Styles the core blocks in
   the Home page; every rule is scoped to .wmh sections so nothing
   leaks into other pages. Also loaded in the block editor.
   Colours: the logo gold, plus the site's existing warm neutrals.
   ================================================================ */
.wmh {
  --wm-white: #ffffff;
  --wm-sand: #faf8f4;
  --wm-sand-2: #f3ede1;
  --wm-cream: #fff8ee;
  --wm-ink: #1a1409;
  --wm-body: #3b3226;
  --wm-muted: #6e6253;
  --wm-gold: #f8a000;
  --wm-gold-hi: #ffc23d;
  --wm-gold-deep: #d48a00;
  --wm-amber: #8a5600;
  --wm-line: rgba(180, 140, 60, 0.22);
  --wm-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --wm-text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wm-wrap: 1160px;
  color: var(--wm-body);
  font: 400 1.0625rem/1.65 var(--wm-text);
  -webkit-font-smoothing: antialiased;
}
.wmh *, .wmh *::before, .wmh *::after { box-sizing: border-box; }

/* Classic themes wrap every Group block in an inner container: make it transparent to layout */
.wmh .wp-block-group__inner-container { display: contents; }

/* Neutralise WordPress flow gaps and the theme's global element styles inside the sections */
.wmh.wp-block-group, .wmh .wp-block-group, .wmh .wp-block-group > *, .wmh .wp-block-group__inner-container > *, .wmh .wp-block-buttons { margin-block: 0; }
.wmh p { margin: 0; color: inherit; }
.wmh h1, .wmh h2, .wmh h3 { margin: 0; color: var(--wm-ink); font-family: var(--wm-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.wmh a { color: var(--wm-amber); }
.wmh :focus-visible { outline: 3px solid var(--wm-gold); outline-offset: 3px; border-radius: 6px; }
.wmh-wrap { max-width: var(--wm-wrap); margin-inline: auto !important; padding-inline: 20px; }

.wmh:not(.wmh-top):not(.wmh-hero):not(.wmh-band):not(.wmh-page-hero) { padding-block: 88px; }
.wmh-sand { background: var(--wm-sand); border-block: 1px solid var(--wm-line); }
.wmh .wmh-h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.05; }
.wmh .wmh-lead { margin-top: 14px; max-width: 38rem; font-size: 1.15rem; color: var(--wm-muted); }
.wmh .wmh-wide { max-width: 52rem; }

/* Buttons: core Button blocks with a style class on the wrapper */
.wmh .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wmh .wp-block-button { margin: 0; }
.wmh .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 12px; font: 600 1rem/1 var(--wm-text); text-decoration: none; transition: filter .15s, box-shadow .15s;
}
.wmh .wmh-btn-lg .wp-block-button__link { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.wmh .wmh-btn-gold .wp-block-button__link { background: linear-gradient(180deg, var(--wm-gold-hi), var(--wm-gold)); color: var(--wm-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -10px rgba(212,138,0,.9); }
.wmh .wmh-btn-gold .wp-block-button__link:hover { filter: brightness(1.05); }
.wmh .wmh-btn-line .wp-block-button__link { background: var(--wm-white); color: var(--wm-ink); box-shadow: inset 0 0 0 1.5px var(--wm-line); }
.wmh .wmh-btn-line .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--wm-gold); }
.wmh .wmh-btn-dark .wp-block-button__link { background: var(--wm-ink); color: var(--wm-white); }
.wmh .wmh-btn-light .wp-block-button__link { background: rgba(255,255,255,.72); color: var(--wm-ink); }
.wmh .wmh-actions { margin-top: 28px !important; }


/* Banner: full-width linked Image block. A gold light sweeps across it once on load and again on hover. */
.wmh-top .wmh-wrap { max-width: none; padding-inline: 0; }
.wmh .wmh-banner { margin: 0; }
.wmh .wmh-banner a { position: relative; display: block; overflow: hidden; }
.wmh .wmh-banner img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.wmh .wmh-banner a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-110%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 214, 110, .38) 45%, rgba(255, 255, 255, .55) 50%, rgba(255, 214, 110, .38) 55%, transparent 70%);
}
.wmh .wmh-banner a:hover img, .wmh .wmh-banner a:focus-visible img { transform: scale(1.015); filter: saturate(1.08) brightness(1.03); }
.wmh .wmh-banner a:focus-visible { outline: 3px solid var(--wm-gold); outline-offset: -3px; }
.wmh .wmh-banner a::after { animation: wmh-sweep 1.4s .6s cubic-bezier(.4,0,.2,1) both; }
.wmh .wmh-banner a:hover::after { animation: wmh-sweep 1.1s cubic-bezier(.4,0,.2,1) both; }
@keyframes wmh-sweep { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

/* Hero: headline left, stat ledger right */
.wmh-hero { padding-block: 104px 96px; background: linear-gradient(180deg, var(--wm-cream), var(--wm-white) 180px); }
.wmh-hero .wmh-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
/* The ledger's top rule lines up with the top of the H1 letters: kicker line + cap offset of the H1 font. */
.wmh-hero .wmh-ledger { margin-top: calc(1.0625rem * 1.65 + 0.0877 * clamp(2.5rem, 5.4vw, 4.4rem)) !important; }
.wmh .wmh-kicker { color: var(--wm-amber); font-weight: 600; }
.wmh-hero h1 { margin-top: 14px; font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1; }
.wmh-hero .wmh-lead { max-width: 34rem; }
.wmh .wmh-fine { margin-top: 14px; font-size: .9rem; color: var(--wm-muted); }
.wmh-ledger { border-top: 2px solid var(--wm-ink); }
.wmh-stat { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--wm-line); }
.wmh .wmh-num { color: var(--wm-ink); font: 800 2.2rem/1 var(--wm-display); letter-spacing: -0.03em; }
.wmh-stat p:not(.wmh-num) { color: var(--wm-muted); }

/* Intro statement */
.wmh .wmh-statement { margin-top: 18px; max-width: 50rem; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--wm-body); }

/* Games: sports is a wide tile across the first row, the other four fill the grid */
.wmh-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px !important; }
.wmh-tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 250px; padding: 24px 26px 26px; border-radius: 20px; background: var(--wm-white); border: 1px solid var(--wm-line); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.wmh-tile:hover { border-color: rgba(180,140,60,.55); box-shadow: 0 18px 36px -26px rgba(26,20,9,.6); }
.wmh-tile .wmh-icon { order: -1; margin-bottom: auto !important; padding-bottom: 18px; color: var(--wm-gold-deep); }
.wmh-tile .wmh-icon svg { display: block; width: 40px; height: 40px; }
.wmh .wmh-tile .wmh-tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: var(--wm-cream); color: var(--wm-amber); font-size: .8rem; font-weight: 600; }
.wmh-tile h3 { font-size: 1.4rem; font-weight: 700; }
.wmh-tile p:not(.wmh-tag) { color: var(--wm-muted); font-size: .98rem; }
.wmh .wmh-tile .wmh-go { margin-top: 6px; }
.wmh .wmh-go a { font-weight: 600; text-decoration: none; }
.wmh .wmh-tile .wmh-go a::after, .wmh .wmh-guide .wmh-go a::after { content: ""; position: absolute; inset: 0; }
.wmh-tile-big {
  grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) 150px; column-gap: 32px; row-gap: 6px; align-content: end;
  border: 0; background: radial-gradient(90% 90% at 100% 0%, rgba(255,255,255,.35), transparent 60%), linear-gradient(160deg, var(--wm-gold-hi), var(--wm-gold) 55%, var(--wm-gold-deep));
}
.wmh-tile-big > *, .wmh-tile-big .wp-block-group__inner-container > * { grid-column: 1; }
.wmh-tile-big .wmh-icon { grid-column: 2 !important; grid-row: 1 / span 3; align-self: center; justify-self: end; margin: 0 !important; padding: 0; color: var(--wm-ink); }
.wmh-tile-big .wmh-icon svg { width: 130px; height: 130px; stroke-width: 1.2; }
.wmh-tile-big h3 { font-size: 2.3rem; }
.wmh .wmh-tile-big p:not(.wmh-tag), .wmh .wmh-tile-big .wmh-go a { color: var(--wm-ink); }
.wmh .wmh-tile-big .wmh-tag { left: 26px; right: auto; background: rgba(255,255,255,.55); color: var(--wm-ink); }

/* Steps: horizontal track (a real sequence) */
.wmh-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px !important; counter-reset: wmh-step; }
.wmh-track::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--wm-gold-hi), var(--wm-gold-deep)); }
.wmh-step { position: relative; counter-increment: wmh-step; }
.wmh-step::before { content: counter(wmh-step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--wm-white); border: 2px solid var(--wm-gold); color: var(--wm-ink); font: 800 1.15rem/1 var(--wm-display); }
.wmh-step h3 { font-size: 1.2rem; }
.wmh-step p { margin-top: 6px !important; color: var(--wm-muted); font-size: .98rem; }
.wmh-track + .wmh-actions { margin-top: 36px !important; }

/* Why: heading row on top, six reasons in a 3 x 2 grid */
.wmh-head-row { display: block; }
.wmh .wmh-after-grid { margin-top: 20px !important; }
.wmh-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 40px !important; }
.wmh-reason { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0 26px; border-top: 1px solid var(--wm-line); }
.wmh-reason .wmh-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--wm-cream); color: var(--wm-gold-deep); }
.wmh-sand .wmh-reason .wmh-icon { background: var(--wm-white); }
.wmh-reason .wmh-icon svg { width: 24px; height: 24px; }
.wmh-reason h3 { font-size: 1.15rem; }
.wmh-reason p { margin-top: 4px !important; color: var(--wm-muted); font-size: .98rem; }

/* Compare: Table block, WinMYR column raised in gold */
.wmh .wmh-compare { margin: 36px 0 0; overflow-x: auto; }
.wmh .wmh-compare table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--wm-line); border-radius: 20px; background: var(--wm-white); font-size: 1rem; }
.wmh .wmh-compare th, .wmh .wmh-compare td { padding: 14px 22px; border: 0; border-bottom: 1px solid var(--wm-line); text-align: left; }
.wmh .wmh-compare thead th { padding-block: 20px; color: var(--wm-ink); font: 700 1.05rem var(--wm-display); border-bottom: 1px solid var(--wm-line); }
.wmh .wmh-compare td:first-child { color: var(--wm-muted); }
.wmh .wmh-compare td:nth-child(2), .wmh .wmh-compare th:nth-child(2) { background: var(--wm-cream); color: var(--wm-ink); box-shadow: inset 2px 0 0 var(--wm-gold), inset -2px 0 0 var(--wm-gold); }
.wmh .wmh-compare th:nth-child(2) { background: var(--wm-gold); box-shadow: none; }
.wmh .wmh-compare tbody tr:last-child td { border-bottom: 0; }
.wmh .wmh-compare tbody tr:last-child td:nth-child(2) { box-shadow: inset 2px 0 0 var(--wm-gold), inset -2px 0 0 var(--wm-gold), inset 0 -2px 0 var(--wm-gold); }
.wmh .wmh-compare strong { font-weight: 600; }
.wmh .wmh-note { margin-top: 12px; font-size: .88rem; color: var(--wm-muted); }

/* Closer look: all four topics visible, 2 x 2 */
.wmh-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin-top: 40px !important; }
.wmh-fact { padding-top: 20px; border-top: 3px solid var(--wm-gold); }
.wmh-fact h3 { font-size: 1.35rem; }
.wmh-fact p { margin-top: 10px !important; }

/* Guides: card row moved with arrow buttons (added by home.js); swipe still works on touch */
.wmh-strip-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; }
.wmh-strip-head .wmh-lead { max-width: 36rem; }
.wmh-arrows { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.wmh-arrows button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--wm-white); border: 1.5px solid var(--wm-line); color: var(--wm-ink); transition: background .2s, border-color .2s, opacity .2s;
}
.wmh-arrows button:hover:not(:disabled) { background: var(--wm-gold); border-color: var(--wm-gold); }
.wmh-arrows button:disabled { opacity: .35; cursor: default; }
.wmh-arrows svg { width: 20px; height: 20px; }
.wmh-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; margin-top: 28px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.wmh-strip::-webkit-scrollbar { display: none; }
.wmh-guide { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; min-height: 180px; padding: 20px; border-radius: 18px; background: var(--wm-white); border: 1px solid var(--wm-line); transition: border-color .2s; }
.wmh-guide:hover { border-color: var(--wm-gold); }
.wmh-guide h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.wmh-guide p:not(.wmh-go) { color: var(--wm-muted); font-size: .95rem; }
.wmh .wmh-guide .wmh-go { margin-top: auto !important; }

/* FAQ: heading on top, questions in one readable column */
.wmh-faq-head { text-align: center; }
.wmh .wmh-faq-head .wmh-lead { margin-inline: auto; }
.wmh-faq { max-width: 820px; margin: 36px auto 0 !important; }
.wmh-faq .wp-block-details { margin: 0; border-bottom: 1px solid var(--wm-line); }
.wmh-faq .wp-block-details:first-child { border-top: 1px solid var(--wm-line); }
.wmh-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--wm-ink); font-weight: 600; font-size: 1.08rem; }
.wmh-faq summary::-webkit-details-marker { display: none; }
.wmh-faq summary::after { content: "+"; flex: none; color: var(--wm-gold-deep); font: 700 1.5rem/1 var(--wm-display); transition: transform .2s; }
.wmh-faq details[open] summary::after { transform: rotate(45deg); }
.wmh-faq details p { padding: 0 0 22px; max-width: 44rem; }

/* Closing band */
.wmh-band { padding-block: 80px; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(255,255,255,.45), transparent 70%), linear-gradient(160deg, var(--wm-gold-hi), var(--wm-gold) 50%, var(--wm-gold-deep)); }
.wmh-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.wmh-band p { margin: 12px auto 0 !important; max-width: 34rem; color: var(--wm-ink); font-size: 1.12rem; }
.wmh-band .wp-block-buttons { justify-content: center; }
.wmh-band .wmh-fine { color: var(--wm-ink); }

@media (max-width: 980px) {
  .wmh-hero .wmh-wrap { grid-template-columns: 1fr; gap: 36px; }
  .wmh-hero .wmh-ledger { margin-top: 0 !important; }
  .wmh-bento { grid-template-columns: 1fr 1fr; }
  .wmh-tile-big { grid-column: 1 / -1; }
  .wmh-track { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .wmh-track::before { display: none; }
  .wmh-reasons { grid-template-columns: 1fr 1fr; }
  .wmh-strip { grid-auto-columns: calc((100% - 14px) / 2); }
}
@media (max-width: 600px) {
  .wmh-hero { padding-block: 64px 64px; }
  .wmh:not(.wmh-top):not(.wmh-hero):not(.wmh-band):not(.wmh-page-hero) { padding-block: 60px; }
  .wmh-bento, .wmh-reasons, .wmh-facts { grid-template-columns: 1fr; }
  .wmh-tile { min-height: 200px; }
  .wmh-tile-big { grid-template-columns: minmax(0, 1fr) 72px; column-gap: 16px; padding-top: 64px; }
  .wmh-tile-big .wmh-icon svg { width: 72px; height: 72px; }
  .wmh-tile-big h3 { font-size: 1.8rem; }
  .wmh-track { grid-template-columns: 1fr; }
  .wmh-strip-head { grid-template-columns: 1fr; }
  .wmh-arrows { grid-column: 1; grid-row: auto; }
  .wmh .wmh-compare th, .wmh .wmh-compare td { padding: 12px 10px; font-size: .9rem; }
  .wmh-strip { grid-auto-columns: 82%; }
  .wmh .wmh-actions { flex-direction: column; }
  .wmh .wmh-actions .wp-block-button, .wmh .wmh-actions .wp-block-button__link { width: 100%; }
}

/* Block editor: keep the canvas close to the site */
.editor-styles-wrapper .wmh-tile .wmh-go a::after, .editor-styles-wrapper .wmh-guide .wmh-go a::after, .editor-styles-wrapper .wmh-banner a::after { display: none; }

/* ── Motion (kept light: one hero entrance, one reveal per card group, FAQ open/close) ── */
.wmh-hero .wmh-hero-copy > *, .wmh-hero .wmh-hero-copy .wp-block-group__inner-container > *, .wmh-stat { animation: wmh-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.wmh-hero .wmh-kicker { animation-delay: .05s; }
.wmh-hero h1 { animation-delay: .12s; }
.wmh-hero .wmh-lead { animation-delay: .2s; }
.wmh-hero .wmh-actions { animation-delay: .28s; }
.wmh-hero .wmh-fine { animation-delay: .34s; }
.wmh-stat:nth-child(1) { animation-delay: .3s; } .wmh-stat:nth-child(2) { animation-delay: .38s; }
.wmh-stat:nth-child(3) { animation-delay: .46s; } .wmh-stat:nth-child(4) { animation-delay: .54s; }

/* Card groups: home.js adds .is-in once the group scrolls into view */
.wmh-js [data-wmh-reveal] > *:not(.wp-block-group__inner-container),
.wmh-js [data-wmh-reveal] > .wp-block-group__inner-container > * { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.wmh-js [data-wmh-reveal].is-in > *:not(.wp-block-group__inner-container),
.wmh-js [data-wmh-reveal].is-in > .wp-block-group__inner-container > * { opacity: 1; transform: none; }

.wmh-tile:hover { transform: translateY(-3px); }
.wmh-tile { transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
@keyframes wmh-rise { from { opacity: 0; transform: translateY(16px); } }
.wmh-faq details { overflow: hidden; }
.wmh-faq summary::after { transition: transform .3s cubic-bezier(.2,.8,.2,1); }

/* ── Button motion: lift, sheen sweep on hover, press on click ── */
.wmh .wp-block-button .wp-block-button__link { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .2s, background-color .2s; }
.wmh .wp-block-button .wp-block-button__link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.55) 55%, transparent 75%);
}
.wmh .wmh-btn-dark .wp-block-button__link::after { background: linear-gradient(105deg, transparent 25%, rgba(255,194,61,.35) 45%, rgba(255,214,110,.5) 50%, rgba(255,194,61,.35) 55%, transparent 75%); }
.wmh .wp-block-button .wp-block-button__link:hover, .wmh .wp-block-button .wp-block-button__link:focus-visible { transform: translateY(-2px); }
.wmh .wp-block-button .wp-block-button__link:hover::after, .wmh .wp-block-button .wp-block-button__link:focus-visible::after { transition: transform .7s cubic-bezier(.4,0,.2,1); transform: translateX(120%); }
.wmh .wp-block-button .wp-block-button__link:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.wmh .wmh-btn-gold .wp-block-button__link:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 28px -12px rgba(212,138,0,.95); }
.wmh .wmh-btn-dark .wp-block-button__link:hover { box-shadow: 0 14px 28px -14px rgba(26,20,9,.8); }
.wmh .wmh-btn-light .wp-block-button__link:hover { background: var(--wm-white); box-shadow: 0 12px 24px -14px rgba(26,20,9,.5); }
.wmh .wmh-btn-line .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--wm-gold), 0 12px 24px -16px rgba(26,20,9,.45); }

/* ================================================================
   Inner pages (Slots, Casino, guides and so on): same design system
   ================================================================ */
.wmh-page { background: var(--wm-white, #fff); }

/* Page title band */
.wmh-page-hero {
  padding-block: 72px 76px; border-bottom: 1px solid var(--wm-line);
  background: radial-gradient(60rem 22rem at 100% 0%, rgba(248,160,0,.16), transparent 70%), var(--wm-sand);
}
.wmh.wmh-page-hero h1 { max-width: 22ch; margin-top: 16px; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.wmh-page-hero .wmh-lead { max-width: 40rem; margin-top: 18px; font-size: 1.18rem; }
.wmh-page-hero .wmh-kicker { margin-bottom: 2px; }
.wmh .wmh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wmh .wmh-chips li { padding: 6px 12px; border-radius: 999px; background: var(--wm-white); border: 1px solid var(--wm-line); color: var(--wm-amber); font-size: .88rem; font-weight: 600; }
.wmh .wmh-chips li::before { content: none; }

/* Section rhythm */
.wmh-section .wmh-kicker { margin-bottom: 8px; }
.wmh-section .wmh-h2 { max-width: 30ch; }
.wmh .wmh-text { margin-top: 16px; max-width: 46rem; font-size: 1.08rem; line-height: 1.72; }
.wmh .wmh-text + .wmh-text { margin-top: 14px; }
.wmh-section .wmh-faq { margin-inline: auto !important; }

/* Stats row */
.wmh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: 36px !important; border-top: 2px solid var(--wm-ink); }
.wmh-stats .wmh-stat { display: block; padding: 18px 0 0; border: 0; }
.wmh-stats .wmh-num { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.wmh-stats .wmh-stat p:not(.wmh-num) { margin-top: 6px; }

/* Providers: compact cards */
.wmh-providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px !important; }
.wmh-provider { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border-radius: 18px; background: var(--wm-white); border: 1px solid var(--wm-line); transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.wmh-provider:hover { border-color: rgba(180,140,60,.55); box-shadow: 0 16px 30px -24px rgba(26,20,9,.55); transform: translateY(-3px); }
.wmh-provider h3 { font-size: 1.2rem; padding-right: 64px; }
.wmh-provider p:not(.wmh-tag):not(.wmh-count):not(.wmh-meta) { color: var(--wm-muted); font-size: .95rem; }
.wmh .wmh-count { color: var(--wm-gold-deep); font-weight: 700; font-size: .9rem; }
.wmh .wmh-meta { margin-top: auto !important; padding-top: 10px; border-top: 1px dashed var(--wm-line); color: var(--wm-muted); font-size: .86rem; }
.wmh .wmh-provider .wmh-tag, .wmh .wmh-card .wmh-tag { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--wm-cream); color: var(--wm-amber); font-size: .78rem; font-weight: 600; }
.wmh .wmh-tag-hot { background: linear-gradient(180deg, var(--wm-gold-hi), var(--wm-gold)) !important; color: var(--wm-ink) !important; }

/* Game types and tips: open list with a gold rule */
.wmh-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-top: 36px !important; }
.wmh-type { padding-top: 18px; border-top: 3px solid var(--wm-gold); }
.wmh-type h3 { font-size: 1.25rem; }
.wmh-type p { margin-top: 8px !important; color: var(--wm-muted); }

/* Related guides and offers: cards, whole card clickable when it has a link */
.wmh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px !important; }
.wmh-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: var(--wm-white); border: 1px solid var(--wm-line); transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.wmh-sand .wmh-card, .wmh-sand .wmh-provider { background: var(--wm-white); }
.wmh-card .wmh-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 12px; background: var(--wm-cream); color: var(--wm-gold-deep); }
.wmh-card .wmh-icon svg { width: 24px; height: 24px; }
.wmh-card h3 { font-size: 1.2rem; }
.wmh-card p:not(.wmh-tag):not(.wmh-go) { color: var(--wm-muted); font-size: .97rem; }
.wmh .wmh-card .wmh-go { margin-top: auto !important; padding-top: 6px; }
.wmh .wmh-card .wmh-go a::after { content: ""; position: absolute; inset: 0; }
.wmh-card.wmh-has-link:hover { border-color: var(--wm-gold); box-shadow: 0 16px 30px -24px rgba(26,20,9,.55); transform: translateY(-3px); }

/* Five-step track */
.wmh-track-5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }

/* Pros and cons */
.wmh-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px !important; }
.wmh-pros, .wmh-cons { padding: 26px 28px; border-radius: 20px; border: 1px solid var(--wm-line); background: var(--wm-white); }
.wmh-pros { background: var(--wm-cream); }
.wmh-pros h3, .wmh-cons h3 { font-size: 1.25rem; }
.wmh-proscons ul { margin: 14px 0 0 !important; padding: 0; list-style: none; display: grid; gap: 12px; }
.wmh-proscons li { position: relative; padding-left: 30px; color: var(--wm-body); }
.wmh-proscons li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; }
.wmh-pros li::before { background: var(--wm-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231a1409' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.wmh-cons li::before { background: var(--wm-sand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%236e6253' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Check lists (guides) */
.wmh .wmh-checks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wmh .wmh-checks li { position: relative; padding-left: 32px; }
.wmh .wmh-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--wm-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231a1409' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Tables */
.wmh .wmh-table { margin: 32px 0 0; overflow-x: auto; }
.wmh .wmh-table table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--wm-line); border-radius: 18px; background: var(--wm-white); font-size: 1rem; }
.wmh .wmh-table th, .wmh .wmh-table td { padding: 13px 18px; border: 0; border-bottom: 1px solid var(--wm-line); text-align: left; }
.wmh .wmh-table thead th { background: var(--wm-cream); color: var(--wm-ink); font: 700 1rem var(--wm-display); }
.wmh .wmh-table thead th:first-child { border-top-left-radius: 17px; }
.wmh .wmh-table thead th:last-child { border-top-right-radius: 17px; }
.wmh .wmh-table tbody tr:last-child td { border-bottom: 0; }
.wmh .wmh-table td:first-child { color: var(--wm-ink); font-weight: 600; }

/* Guide pages: readable text column */
.wmh-prose { max-width: 64rem; font-size: 1.1rem; line-height: 1.72; }
.wmh-prose > * + *, .wmh-prose .wp-block-group__inner-container > * + * { margin-top: 1.1em !important; }
.wmh-prose h2 { margin-top: 2.2em !important; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.wmh-prose h2:first-child, .wmh-prose .wp-block-group__inner-container > h2:first-child { margin-top: 0 !important; }
.wmh-prose h3 { margin-top: 1.7em !important; font-size: 1.28rem; }
.wmh-prose h2 + *, .wmh-prose h3 + * { margin-top: .55em !important; }
.wmh-prose ul:not(.wmh-checks), .wmh-prose ol { padding-left: 1.3em; list-style: disc; }
.wmh-prose ol { list-style: decimal; }
.wmh-prose li::marker { color: var(--wm-gold-deep); }
.wmh-prose .wmh-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.4em !important; }
.wmh-prose .wmh-text { margin-top: 1.1em; font-size: inherit; }
.wmh-prose a { color: var(--wm-amber); text-decoration: underline; text-decoration-color: rgba(248,160,0,.55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wmh-prose .wmh-card .wmh-go a { text-decoration: none; }

/* Blog listing */
.wmh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wmh-post { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: 18px; background: var(--wm-white); border: 1px solid var(--wm-line); color: var(--wm-body); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.wmh-post:hover { border-color: var(--wm-gold); box-shadow: 0 16px 30px -24px rgba(26,20,9,.55); transform: translateY(-3px); color: var(--wm-body); }
.wmh-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.wmh-post-cat { color: var(--wm-amber); font-weight: 600; font-size: .88rem; }
.wmh-post-title { color: var(--wm-ink); font: 700 1.25rem/1.25 var(--wm-display); letter-spacing: -.01em; }
.wmh-post-excerpt { color: var(--wm-muted); font-size: .97rem; }
.wmh-post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 8px; color: var(--wm-muted); font-size: .86rem; }
.wmh-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.wmh-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--wm-line); color: var(--wm-ink); text-decoration: none; font-weight: 600; }
.wmh-pagination .page-numbers.current { background: var(--wm-gold); border-color: var(--wm-gold); }
.wmh-pagination a.page-numbers:hover { border-color: var(--wm-gold); }

@media (max-width: 980px) {
  .wmh-stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .wmh-providers { grid-template-columns: repeat(2, 1fr); }
  .wmh-types, .wmh-cards, .wmh-posts { grid-template-columns: repeat(2, 1fr); }
  .wmh-track-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wmh-page-hero { padding-block: 48px 52px; }
  .wmh-providers, .wmh-types, .wmh-cards, .wmh-posts, .wmh-proscons, .wmh-prose .wmh-cards { grid-template-columns: 1fr; }
  .wmh-track-5 { grid-template-columns: 1fr; }
  .wmh-pros, .wmh-cons { padding: 22px; }
  .wmh .wmh-table th, .wmh .wmh-table td { padding: 11px 12px; font-size: .92rem; }
  .wmh-prose { font-size: 1.05rem; }
}
.editor-styles-wrapper .wmh-card .wmh-go a::after { display: none; }

/* Card titles that link to their page (kept for internal linking) read as titles */
.wmh .wmh-tile h3 a, .wmh .wmh-guide h3 a, .wmh .wmh-card h3 a, .wmh .wmh-provider h3 a, .wmh .wmh-type h3 a { color: inherit; text-decoration: none; }
.wmh .wmh-tile h3 a:hover, .wmh .wmh-guide h3 a:hover, .wmh .wmh-card h3 a:hover { color: var(--wm-amber); }
.wmh .wmh-tile-big h3 a:hover { color: var(--wm-ink); }
.wmh-band .wmh-band-title { max-width: none !important; margin: 0 !important; color: var(--wm-ink); font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--wm-display); letter-spacing: -0.02em; }

/* Guide pages: the text column is centred, and the title band lines up with it */
.wmh-prose { margin-inline: auto !important; }
.wmh-page:has(.wmh-prose) .wmh-page-hero .wmh-wrap { max-width: calc(64rem + 40px); }

/* FAQ sections on inner pages: heading and questions centred, answers left-aligned */
.wmh-section:has(.wmh-faq) .wmh-kicker, .wmh-section:has(.wmh-faq) .wmh-h2 { text-align: center; margin-inline: auto; }
.wmh-section:has(.wmh-faq) .wmh-lead, .wmh-section:has(.wmh-faq) .wmh-text { text-align: center; margin-inline: auto; }
.wmh-section .wmh-faq details { text-align: left; }
.wmh-prose .wmh-text, .wmh-prose p { max-width: none; }
.wmh-prose .wmh-faq { max-width: none; }

/* A three-step track fills the row instead of leaving an empty fourth column */
@media (min-width: 981px) {
  .wmh-track:has(> .wmh-step:nth-child(3):last-child),
  .wmh-track:has(> .wp-block-group__inner-container > .wmh-step:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
