/* casino.css — silo components for uefmadrid.eu
   Layers on top of the restored IAMSocial theme (style_2.css) + forest scheme (forest.css).
   Palette taken from forest.css: #01400F #037F1E #04BF2D #e5e5e5.
   Light background only (no-dark rule). Same markup desktop + mobile; one breakpoint at 860px. */

:root {
  --g-dk: #01400F;
  --g-md: #037F1E;
  --g-br: #04BF2D;
  --ink: #23302a;
  --mut: #5d6b62;
  --ln: #dfe6e0;
  --bg: #ffffff;
  --bg2: #f5f8f5;
  --warn: #8a5a00;
  --warnbg: #fff8e8;
}

.cs-page { color: var(--ink); font-size: 16px; line-height: 1.62; }
.cs-page h1, .cs-page h2, .cs-page h3 { color: var(--g-dk); }
.cs-page .pg-h1 { font-size: 2.05em; line-height: 1.22; margin: .2em 0 .5em; }
.cs-page h2 { font-size: 1.5em; line-height: 1.3; margin: 2.1em 0 .55em; padding-top: .45em; border-top: 2px solid var(--ln); }
.cs-page h3 { font-size: 1.14em; margin: 1.5em 0 .4em; }
.cs-page p { margin: 0 0 1.05em; }
.cs-page a { color: var(--g-md); }
.cs-page .lead, .cs-page .pg-lead { color: #33413a; }
.cs-page .pg-lead { font-size: 1.1em; border-left: 4px solid var(--g-br); padding-left: 1em; }
.nowrap { white-space: nowrap; }
.ic { vertical-align: -.18em; }
.ic.ok { color: var(--g-md); }
.ic.wr { color: var(--warn); }

.byline { font-size: .87em; color: var(--mut); margin: 0 0 1.3em; padding-bottom: .8em; border-bottom: 1px solid var(--ln); }
.byline span + span:before { content: "·"; margin: 0 .5em; }
.tm-note { margin: 0; font-size: .82em; color: var(--mut); line-height: 34px; }
.topSocials a { display: inline-block; margin-left: .55em; color: var(--g-md); }

/* ---------- provenance badge (Layer 7) ---------- */
.prov { display: inline-block; font-size: .66em; line-height: 1.5; padding: .06em .5em; border-radius: 9px; white-space: nowrap; vertical-align: .12em; }
.prov-operador { background: #e7f4e9; color: var(--g-dk); border: 1px solid #bfe0c6; }
.prov-estimacion { background: var(--warnbg); color: var(--warn); border: 1px solid #ecd9a8; }

/* ---------- TIER 1: lean toplist card (logo · bonus · chips · CTA) ---------- */
.ct-list { margin: 1.2em 0 2em; }
.ct-card { display: grid; grid-template-columns: 38px 170px 1fr 210px; gap: 0 18px;
  border: 1px solid var(--ln); border-radius: 10px; background: var(--bg);
  padding: 14px 16px; margin-bottom: 10px; align-items: center; }
.ct-card:nth-child(-n+3) { border-color: #bfe0c6; }
.ct-rank span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--g-dk); color: #fff; font-weight: 700; font-size: .9em; }
.ct-card:nth-child(1) .ct-rank span { background: var(--g-md); }
.ct-logo { display: flex; align-items: center; justify-content: center; height: 46px; }
.ct-logo img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.ct-name { display: block; font-weight: 700; font-size: .98em; text-align: center; margin-top: .2em; }
.ct-bonus { font-weight: 700; font-size: 1.04em; color: var(--g-dk); margin: 0 0 .35em; }
.ct-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3em .9em; }
.ct-chips li { display: inline-flex; align-items: center; gap: .3em; font-size: .82em; color: var(--mut); }
.ct-data { display: flex; flex-direction: column; gap: .4em; align-items: stretch; }
.ct-score { display: flex; align-items: baseline; justify-content: center; gap: .15em; }
.ct-score strong { font-size: 1.5em; color: var(--g-md); line-height: 1; font-family: Oswald, sans-serif; }
.ct-score span { color: var(--mut); font-size: .8em; }
.ct-cta { display: flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--g-md); color: #fff !important; font-weight: 700; text-align: center;
  padding: .7em .9em; border-radius: 7px; text-decoration: none !important; }
.ct-cta:hover, .ct-cta:focus { background: var(--g-dk); color: #fff !important; }
.ct-more { font-size: .8em; text-align: center; }
.ct-tc { font-size: .68em; color: var(--mut); text-align: center; margin: 0; }

/* ---------- TIER 2: review blocks (the analytical tier) ---------- */
.rv-list { margin: 1.2em 0 2em; }
.rv { border: 1px solid var(--ln); border-radius: 10px; background: var(--bg);
  padding: 1.1em 1.25em; margin-bottom: 1.1em; }
.rv > h3 { margin: 0 0 .7em; font-size: 1.12em; padding-bottom: .45em; border-bottom: 1px solid var(--ln); }
.rv-top { display: grid; grid-template-columns: 120px 1fr; gap: 1em; align-items: center; margin-bottom: .9em; }
.rv-logo { display: flex; align-items: center; justify-content: center; height: 52px; }
.rv-logo img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.rv-verdict { margin: 0; }
.rv-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em 1em; margin: 0 0 1em;
  padding: .8em 0; border-top: 1px dashed var(--ln); border-bottom: 1px dashed var(--ln); }
.rv-facts div { min-width: 0; }
.rv-facts dt { font-size: .76em; color: var(--mut); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.rv-facts dd { margin: 0; font-size: .92em; font-weight: 700; color: var(--g-dk); }
.rv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: 1em; }
.rv-lbl { font-size: .9em; font-weight: 700; margin: 0 0 .4em; color: var(--g-dk); text-transform: uppercase; letter-spacing: .03em; }
.rv-suma ul { list-style: none; padding: 0; margin: 0; font-size: .91em; }
.rv-suma li { display: flex; gap: .5em; margin-bottom: .3em; }
.rv-aten p { display: flex; gap: .5em; font-size: .91em; background: var(--warnbg);
  border-left: 3px solid #e3c179; padding: .55em .7em; border-radius: 0 5px 5px 0; margin: 0; }
.rv-score { margin-bottom: .9em; }

.rv-total { font-size: .88em; color: var(--mut); margin: .4em 0 0; }
.rv-total strong { font-size: 1.25em; color: var(--g-md); font-family: Oswald, sans-serif; }
.axis { display: grid; grid-template-columns: 78px 1fr 30px; align-items: center; gap: .45em; font-size: .78em; color: var(--mut); }
.axb { display: block; height: 8px; background: #e9efe9; border-radius: 4px; overflow: hidden; }
.axb i { display: block; height: 100%; background: var(--g-br); border-radius: 4px; }
.axv { text-align: right; font-variant-numeric: tabular-nums; }
.rv-meths { font-size: .85em; color: var(--mut); margin: 0 0 .9em; }
.mtag { display: inline-block; font-size: .92em; color: var(--mut); border: 1px solid var(--ln);
  border-radius: 4px; padding: .08em .4em; margin: 0 .18em .18em 0; }
.rv-links { display: flex; flex-wrap: wrap; gap: .7em 1.1em; align-items: center; margin: 0; }
.rv-cta { display: inline-flex; align-items: center; gap: .4em; background: var(--g-md);
  color: #fff !important; font-weight: 700; padding: .62em 1.05em; border-radius: 7px;
  text-decoration: none !important; }
.rv-cta:hover, .rv-cta:focus { background: var(--g-dk); color: #fff !important; }
.rv-full { font-size: .88em; }

/* ---------- pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.1em 0 1.6em; }
.pc-col { border: 1px solid var(--ln); border-radius: 9px; padding: 1em 1.15em; background: var(--bg); }
.pc-col h3 { margin-top: 0; }
.pc-pro { border-top: 3px solid var(--g-br); }
.pc-con { border-top: 3px solid #e3c179; }
.pc-col ul { list-style: none; padding: 0; margin: 0; font-size: .94em; }
.pc-col li { display: flex; gap: .55em; margin-bottom: .55em; }

/* ---------- data visuals (Layer 11) ---------- */
.dv { margin: 1.4em 0 1.8em; padding: 1.1em 1.2em; border: 1px solid var(--ln);
  border-radius: 9px; background: var(--bg2); }
.dv figcaption { font-size: .86em; color: var(--mut); margin-bottom: .9em; }
.dv ul, .dv ol { list-style: none; padding: 0; margin: 0; }

.rl li { margin-bottom: .95em; }
.rl-h { display: block; font-weight: 700; color: var(--g-dk); font-size: .96em; }
.rl-b { display: block; height: 10px; background: #e4eae4; border-radius: 5px; margin: .3em 0; overflow: hidden; }
.rl-b i { display: block; height: 100%; background: var(--g-md); border-radius: 5px; }
.rl-t { display: block; font-size: .87em; color: var(--mut); }

.bv li { margin-bottom: .85em; }
.bv-n { display: block; font-weight: 700; font-size: .93em; color: var(--g-dk); }
.bv-b { display: block; position: relative; height: 12px; background: #e4eae4; border-radius: 6px; margin: .3em 0; }
.bv-b i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 6px; }
.bv-t { background: var(--g-dk); }
.bv-c { background: var(--g-br); z-index: 2; }
.bv-v { display: block; font-size: .86em; color: var(--mut); }
.bv-v strong { color: var(--ink); }

.tl { counter-reset: s; }
.tl li { display: grid; grid-template-columns: 30px 1fr auto; gap: .7em; align-items: center;
  padding: .55em 0; border-bottom: 1px dashed var(--ln); }
.tl li:last-child { border-bottom: 0; }
.stn { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--g-md); color: #fff; font-size: .82em; font-weight: 700; }
.stt { font-size: .93em; }
.stv { font-weight: 700; color: var(--g-dk); font-size: .9em; white-space: nowrap; }

/* ---------- chooser / steps / faq / sources / strip / spokes ---------- */
.ch { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.1em 0 1.6em; }
.ch li { border: 1px solid var(--ln); border-left: 3px solid var(--g-br); border-radius: 0 8px 8px 0; padding: .9em 1.05em; background: var(--bg); }
.ch-q { font-weight: 700; color: var(--g-dk); margin: 0 0 .3em; font-size: .98em; }
.ch-a { margin: 0 0 .25em; font-size: 1.02em; }
.ch-w { margin: 0; font-size: .87em; color: var(--mut); }

.steps { list-style: none; padding: 0; margin: 1.1em 0 1.7em; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: .85em; margin-bottom: 1em; align-items: start; }
.steps h3 { margin: 0 0 .2em; font-size: 1.02em; }
.steps p { margin: 0; font-size: .94em; }

.faq { margin: 1em 0 1.6em; }
.fq { border-bottom: 1px solid var(--ln); padding: .9em 0; }
.fq:first-child { border-top: 1px solid var(--ln); }
.fq h3 { margin: 0 0 .35em; font-size: 1.03em; }
.fq p { margin: 0; font-size: .95em; }

.src { font-size: .87em; color: var(--mut); padding-left: 1.1em; }
.src li { margin-bottom: .4em; }

.statstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.8em 0; }
.sv { text-align: center; border: 1px solid var(--ln); border-radius: 9px; padding: .95em .7em; background: var(--bg2); }
.sv strong { display: block; font-family: Oswald, sans-serif; font-size: 1.85em; color: var(--g-md); line-height: 1.1; }
.sv span { font-size: .83em; color: var(--mut); }

.spokes { margin-top: 2.2em; }
.sp-tiles { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* BUG (fixed 2026-07-27): this was `grid-template-columns: 1fr 20px` with three children —
   <strong>, <span>, <svg> — so auto-placement dropped the description into the 20px arrow column
   and it rendered one character per line. The children are now placed explicitly: text in column 1
   on two rows, arrow in column 2 spanning both. */
.sp-tiles a { display: grid; grid-template-columns: 1fr 20px; grid-template-rows: auto auto;
  column-gap: .8em; row-gap: .15em; align-items: start;
  padding: .85em 1em; border: 1px solid var(--ln); border-radius: 9px; background: var(--bg);
  height: 100%; }
.sp-tiles strong { grid-column: 1; grid-row: 1; }
.sp-tiles span   { grid-column: 1; grid-row: 2; }
.sp-tiles svg    { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sp-tiles a { text-decoration: none !important; color: var(--ink) !important; }
.sp-tiles a:hover { border-color: var(--g-br); background: var(--bg2); }
.sp-tiles strong { display: block; color: var(--g-md); font-size: .97em; }
.sp-tiles span { display: block; font-size: .85em; color: var(--mut); }
.sp-tiles svg { color: var(--g-md); }

.rg-box { display: flex; gap: .8em; align-items: flex-start; margin: 2em 0 1em;
  border: 1px solid #bfe0c6; background: #f2f9f3; border-radius: 9px; padding: 1em 1.15em; }
.rg-box svg { flex: 0 0 auto; color: var(--g-dk); margin-top: .15em; }
.rg-box p { margin: 0; font-size: .92em; }

#pageFooter h3 { font-size: 1em; color: var(--g-dk); margin: 0 0 .5em; }
#pageFooter .credits { font-size: .85em; color: var(--mut); }
#pageFooter .credits p { margin: .5em 0; }

/* ---------- one breakpoint: cards stack, grids collapse ---------- */
@media (max-width: 860px) {
  .cs-page { font-size: 15.5px; }
  .cs-page .pg-h1 { font-size: 1.62em; }
  .cs-page h2 { font-size: 1.3em; }
  .ct-card { grid-template-columns: 40px 1fr; gap: 0 12px; padding: 13px 14px; }
  .ct-brand { display: grid; grid-template-columns: 96px 1fr; gap: .7em; align-items: center; }
  .ct-logo { height: 44px; margin: 0; }
  .ct-logo img { max-height: 40px; }
  .ct-name { text-align: left; }
  .ct-lic { justify-content: flex-start; }
  .ct-offer, .ct-data { grid-column: 1 / -1; margin-top: .75em; }
  .ct-data { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; align-items: center; }
  .ct-score { grid-column: 1; }
  .ct-axes, .ct-meths, .ct-cta, .ct-tc { grid-column: 1 / -1; }
  .ct-cta { padding: .85em; font-size: 1.02em; }
  .pc, .ch, .sp-tiles, .statstrip { grid-template-columns: 1fr; }
  .tl li { grid-template-columns: 26px 1fr; }
  .tl .stv { grid-column: 2; }
  .axis { grid-template-columns: 58px 1fr 26px; }
}

/* site title now uses <p> so the page has exactly one <h1> (the article heading) */
.sitetitle .site-h { font-family: Oswald, sans-serif; font-size: 2.1em; line-height: 1.2; margin: .35em 0 .1em; }
.sitetitle .site-h a { color: var(--g-md); text-decoration: none; }
.sitetitle .site-t { font-family: Oswald, sans-serif; font-size: 1.16em; font-weight: 300; margin: 0 0 .2em; }
.sitetitle .site-t a { color: var(--g-md); text-decoration: none; }
@media (max-width: 860px) {
  .sitetitle .site-h { font-size: 1.5em; }
  .sitetitle .site-t { font-size: .98em; }
}

@media (max-width: 860px) {
  /* tier 1 stacks: rank+logo row, then offer, then CTA */
  .ct-card { grid-template-columns: 34px 1fr; gap: 0 12px; padding: 12px 13px; align-items: center; }
  .ct-brand { display: grid; grid-template-columns: 86px 1fr; gap: .7em; align-items: center; }
  .ct-logo { height: 40px; }
  .ct-logo img { max-height: 36px; }
  .ct-name { text-align: left; margin: 0; }
  .ct-offer { grid-column: 1 / -1; margin-top: .7em; }
  .ct-data { grid-column: 1 / -1; margin-top: .7em; display: grid;
    grid-template-columns: auto 1fr; gap: .5em .8em; align-items: center; }
  .ct-score { grid-column: 1; grid-row: 1; }
  .ct-cta { grid-column: 2; grid-row: 1; padding: .8em; }
  .ct-more, .ct-tc { grid-column: 1 / -1; }
  /* tier 2 */
  .rv-top { grid-template-columns: 1fr; gap: .6em; }
  .rv-logo { justify-content: flex-start; height: 42px; }
  .rv-facts { grid-template-columns: 1fr 1fr; }
  .rv-cols { grid-template-columns: 1fr; }
  .axis { grid-template-columns: 72px 1fr 28px; }
  .rv-links { flex-direction: column; align-items: stretch; }
  .rv-cta { justify-content: center; }
  .rv-full { text-align: center; }
}

/* Light/white brand logos (mean luminance > 175) are drawn for dark headers and vanish on a
   light card. They get a dark tile behind the MARK ONLY — the card stays light. */
.ct-logo--dark, .rv-logo--dark { background: #1d2b22; border-radius: 6px; padding: 5px 9px; }

/* sin-licencia vs DGOJ comparison table */
.vs-wrap { overflow-x: auto; margin: 1.2em 0 1.8em; -webkit-overflow-scrolling: touch; }
table.vs { width: 100%; border-collapse: collapse; font-size: .92em; min-width: 34rem; }
table.vs th, table.vs td { text-align: left; padding: .6em .75em; border-bottom: 1px solid var(--ln); vertical-align: top; }
table.vs thead th { background: var(--bg2); color: var(--g-dk); font-size: .88em;
  text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid var(--ln); }
table.vs tbody th { font-weight: 700; color: var(--ink); width: 22%; }
table.vs .vs-a { color: var(--mut); width: 39%; }
table.vs .vs-b { color: var(--g-dk); width: 39%; }
table.vs tbody tr:nth-child(odd) { background: #fbfdfb; }

/* full operator comparison table */
table.cmp { width: 100%; border-collapse: collapse; font-size: .86em; min-width: 46rem; }
table.cmp th, table.cmp td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--ln); vertical-align: top; }
table.cmp thead th { background: var(--bg2); color: var(--g-dk); font-size: .9em; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid var(--ln); }
table.cmp tbody th { font-weight: 700; white-space: nowrap; }
table.cmp tbody tr:nth-child(odd) { background: #fbfdfb; }
table.cmp td:last-child { font-weight: 700; color: var(--g-md); }

.rv-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .rv-body { grid-column: 1 / -1; } }

/* game table + game blocks (slots spoke) */
table.gt { min-width: 40rem; }
table.gt .gt-rtp { font-weight: 700; color: var(--g-md); }
.gt-note { font-size: .83em; color: var(--mut); margin: -.6em 0 1.6em; }
.gb-list { margin: 1.2em 0 2em; }
.gb { border: 1px solid var(--ln); border-left: 3px solid var(--g-br); border-radius: 0 9px 9px 0;
  background: var(--bg); padding: 1em 1.2em; margin-bottom: 1em; }
.gb > h3 { margin: 0 0 .6em; font-size: 1.08em; }
.gb-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em 1em; margin: 0 0 .8em;
  padding: .7em 0; border-top: 1px dashed var(--ln); border-bottom: 1px dashed var(--ln); }
.gb-facts dt { font-size: .74em; color: var(--mut); text-transform: uppercase; letter-spacing: .03em; }
.gb-facts dd { margin: 0; font-size: .95em; font-weight: 700; color: var(--g-dk); }
.gb p { margin: 0; }
.bv-n em { font-style: normal; font-weight: 400; color: var(--mut); font-size: .9em; }
@media (max-width: 860px) { .gb-facts { grid-template-columns: 1fr 1fr; } }

/* payment-method icons (Layer-10 MUST) — inline SVG, no external requests */
.rv-meths { display: flex; align-items: center; flex-wrap: wrap; gap: .4em; }
.rv-mlbl { font-size: .85em; color: var(--mut); margin-right: .2em; }
svg.pm { width: 40px; height: 24px; flex: 0 0 auto; border-radius: 3px; }

.rv-mnote { font-size: .78em; color: var(--mut); margin: -.5em 0 .9em; }

/* hero author card — portrait + clickable name + last-updated ([[authors]] linking rule) */
.au-card { display: grid; grid-template-columns: 56px 1fr auto; gap: .8em; align-items: center;
  margin: 0 0 1.4em; padding: .7em .9em; border: 1px solid var(--ln); border-radius: 9px; background: var(--bg2); }
.au-pic img { border-radius: 50%; display: block; width: 56px; height: 56px; object-fit: cover; }
.au-meta { min-width: 0; }
.au-by { margin: 0; font-size: .95em; }
.au-by a { font-weight: 700; }
.au-role { margin: 0; font-size: .82em; color: var(--mut); }
.au-upd { margin: 0; text-align: right; font-size: .82em; color: var(--mut); }
.au-upd span { display: block; text-transform: uppercase; letter-spacing: .04em; font-size: .85em; }
.au-upd time { font-weight: 700; color: var(--g-dk); white-space: nowrap; }
@media (max-width: 560px) {
  .au-card { grid-template-columns: 44px 1fr; }
  .au-pic img { width: 44px; height: 44px; }
  .au-upd { grid-column: 1 / -1; text-align: left; padding-top: .4em; border-top: 1px dashed var(--ln); }
  .au-upd span { display: inline; margin-right: .35em; }
}

/* ---------- author hub (/autores/<slug>/) ---------- */
.ap-hero { display: grid; grid-template-columns: 200px 1fr; gap: 1.6em; align-items: start;
  margin: 0 0 1.8em; padding: 1.2em; border: 1px solid var(--ln); border-radius: 12px; background: var(--bg2); }
.ap-pic img { display: block; width: 200px; height: 200px; border-radius: 12px; object-fit: cover; }
.ap-role { margin: 0 0 .3em; font-family: Oswald, sans-serif; text-transform: uppercase;
  letter-spacing: .06em; font-size: .84em; color: var(--g); font-weight: 700; }
.ap-tag { margin: 0 0 .9em; font-size: 1.18em; line-height: 1.4; color: var(--g-dk); font-weight: 700; }
.ap-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.ap-facts li { display: flex; align-items: center; gap: .55em; font-size: .93em; }
.ap-facts svg.ic { flex: 0 0 auto; color: var(--g); }
.ap-tags { list-style: none; margin: 0 0 1.4em; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.ap-tags li { padding: .38em .8em; border: 1px solid var(--ln); border-radius: 999px;
  background: #fff; font-size: .87em; color: var(--g-dk); }
.ap-cred { margin: 0 0 1.4em 1.2em; }
.ap-cred li { margin-bottom: .5em; }
.ap-note { font-size: .8em; color: var(--mut); margin: -.6em 0 1.4em; }

/* ---------- author index (/autores/) ---------- */
.ai-list { list-style: none; margin: 0 0 1.8em; padding: 0; }
.ai-card { display: grid; grid-template-columns: 120px 1fr; gap: 1.2em;
  padding: 1.1em; border: 1px solid var(--ln); border-radius: 12px; background: var(--bg2); }
.ai-pic img { display: block; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.ai-b h3 { margin: 0 0 .2em; font-size: 1.22em; }
.ai-role { margin: 0 0 .5em; font-size: .85em; color: var(--mut); text-transform: uppercase; letter-spacing: .03em; }
.ai-b p { margin: 0 0 .5em; }
.ai-x { font-size: .9em; color: var(--mut); }
.ai-more { margin: 0; }
.ai-more a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }

@media (max-width: 640px) {
  .ap-hero, .ai-card { grid-template-columns: 1fr; }
  .ap-pic img { width: 140px; height: 140px; }
  .ai-pic img { width: 96px; height: 96px; }
}

/* footer columns stack below the Bootstrap md breakpoint — without this the four <h3>
   headings butt straight into the last link of the column above (verified at 390px). */
@media (max-width: 991px) {
  #pageFooter [class^="col-md-"] + [class^="col-md-"] h3 { margin-top: 1.5em; }
}
/* two-line expertise pills read as broken text at a 999px radius on narrow screens */
@media (max-width: 640px) { .ap-tags li { border-radius: 8px; } }
.tm-age { margin: 0; text-align: right; font-size: .84em; }
.tm-age strong { letter-spacing: .02em; }
@media (max-width: 767px) { .tm-age { text-align: center; padding: .3em 0; } }

/* generated slot cards (scripts/gen_game_cards.py) — our own editorial ficha, never provider art */
.gb-card { margin: 0 0 1em; }
.gb-card img { display: block; width: 100%; max-width: 420px; height: auto;
  border: 1px solid var(--ln); border-radius: 10px; }
.gb-note { font-size: .82em; color: var(--mut); margin: -.4em 0 1.1em; }
@media (min-width: 861px) {
  .gb-card { float: right; margin: 0 0 .8em 1.6em; max-width: 330px; }
  .gb-card img { max-width: 330px; }
  .gb { overflow: hidden; }
}
/* No row thumbnails in the slot table. Tried 56x42 and viewed it: a typographic card is
   unreadable at that size, where a real provider tile would still be recognisable art. That is a
   genuine limitation of the generated cards, so the table stays text-only. */

/* ---------- /resenas/<brand>/ review pages ---------- */
.rv-offer { display: grid; grid-template-columns: 160px 1fr auto; gap: 1.1em; align-items: center;
  margin: 0 0 1.6em; padding: 1.1em 1.2em; border: 1px solid var(--ln); border-radius: 11px;
  background: var(--bg2); }
.rvo-logo { display: flex; align-items: center; justify-content: center; min-height: 56px;
  padding: .5em .7em; border-radius: 7px; }
.rvo-logo--dark { background: var(--g-dk); }
.rvo-logo img { max-width: 100%; height: auto; display: block; }
.rvo-bonus { margin: 0 0 .2em; font-family: Oswald, sans-serif; font-size: 1.28em;
  line-height: 1.2; color: var(--g-dk); font-weight: 700; }
.rvo-fs { margin: 0; font-size: .87em; color: var(--mut); }
.rvo-cta { margin: 0; text-align: right; }
.rvo-cta > a { display: inline-flex; align-items: center; gap: .4em; padding: .68em 1.15em;
  background: var(--g-md); color: #fff; border-radius: 7px; font-weight: 700; white-space: nowrap; }
.rvo-cta > a:hover { background: var(--g-dk); color: #fff; }
.rvo-tc { display: block; margin-top: .45em; font-size: .74em; color: var(--mut); }

.rv-pc { list-style: none; margin: 0; padding: 0; }
.rv-pc li { display: flex; gap: .5em; margin-bottom: .45em; font-size: .95em; }
.rv-pc li svg { flex: 0 0 auto; margin-top: .15em; }

.rv-ax { margin: 0 0 1.4em; padding: 1em 1.1em; border: 1px solid var(--ln); border-radius: 10px;
  background: var(--bg2); }
.rv-ax .rv-total { margin: .7em 0 0; padding-top: .6em; border-top: 1px dashed var(--ln);
  font-size: 1.02em; }
.rv-ax .rv-total strong { font-family: Oswald, sans-serif; font-size: 1.5em; color: var(--g-dk); }

.rvi { display: grid; grid-template-columns: 1fr 1fr; gap: .1em 1.4em; margin: 0 0 .7em;
  padding: .9em 0; border-top: 1px dashed var(--ln); border-bottom: 1px dashed var(--ln); }
.rvi > div { display: flex; justify-content: space-between; gap: .8em; padding: .35em 0;
  border-bottom: 1px dotted var(--ln); }
.rvi dt { font-size: .84em; color: var(--mut); }
.rvi dd { margin: 0; font-size: .9em; font-weight: 700; color: var(--g-dk); text-align: right; }
.rvi dd.rvi-no { font-weight: 400; color: var(--mut); font-style: italic; }
.rvi-note { font-size: .8em; color: var(--mut); margin: 0 0 1.5em; }

.rv-mid { margin: 1.7em 0; text-align: center; }
.rv-mid a { display: inline-flex; align-items: center; gap: .45em; padding: .8em 1.5em;
  background: var(--g-dk); color: #fff; border-radius: 8px; font-weight: 700; font-size: 1.03em; }
.rv-mid a:hover { background: var(--g-md); color: #fff; }

.rv-shot { margin: 0 0 1.5em; }
.rv-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--ln);
  border-radius: 9px; }
.rv-shot figcaption { font-size: .8em; color: var(--mut); margin-top: .5em; }

.rv-sib { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid;
  grid-template-columns: 1fr 1fr 1fr; gap: .6em; }
.rv-sib a { display: block; padding: .7em .85em; border: 1px solid var(--ln); border-radius: 8px;
  background: var(--bg2); font-weight: 700; }
.rv-sib span { display: block; font-weight: 400; font-size: .82em; color: var(--mut);
  margin-top: .2em; }

.rv-disc { font-size: .84em; color: var(--mut); margin: 1.8em 0 0; padding: .9em 1em;
  border-left: 3px solid var(--ln); background: var(--bg2); }

@media (max-width: 860px) {
  .rv-offer { grid-template-columns: 120px 1fr; }
  .rvo-cta { grid-column: 1 / -1; text-align: left; }
  .rvo-cta > a { width: 100%; justify-content: center; }
  .rvi { grid-template-columns: 1fr; }
  .rv-sib { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rv-offer { grid-template-columns: 1fr; }
  .rvo-logo { justify-content: flex-start; }
  .rv-sib { grid-template-columns: 1fr; }
}

/* ---------- mobile data tables: stack into labelled cards ----------
   Measured before writing this: at 390px the operator table was 736px wide, the game table 709px
   and the DGOJ comparison 544px. The page body never overflowed — the .vs-wrap scroll container
   held — but every table needed sideways scrolling to read one row, and a scroll affordance the
   user has to discover is not "optimised for mobile".
   Below 760px each <tr> becomes a card and each <td> a label/value row, fed by the data-l
   attribute the renderers now emit. <th scope="row"> stays as the card heading, so the reading
   order and the header association survive for screen readers. */
@media (max-width: 760px) {
  .vs-wrap { overflow-x: visible; }
  table.cmp, table.vs, table.gt { min-width: 0; width: 100%; display: block; font-size: 1em; }
  table.cmp thead, table.vs thead, table.gt thead { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.cmp tbody, table.vs tbody, table.gt tbody { display: block; }
  table.cmp tr, table.vs tr, table.gt tr { display: block; margin: 0 0 .8em; padding: .2em .9em .5em;
    border: 1px solid var(--ln); border-radius: 9px; background: var(--bg); }
  table.cmp tbody tr:nth-child(odd), table.vs tbody tr:nth-child(odd),
  table.gt tbody tr:nth-child(odd) { background: var(--bg); }
  table.cmp tbody th, table.vs tbody th, table.gt tbody th {
    display: block; width: auto; padding: .6em 0 .5em; margin-bottom: .3em; white-space: normal;
    border-bottom: 2px solid var(--g-br); font-family: Oswald, sans-serif; font-size: 1.1em;
    color: var(--g-dk); }
  table.cmp td, table.vs td, table.gt td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1em;
    padding: .42em 0; border-bottom: 1px dotted var(--ln); text-align: right; }
  table.cmp tr td:last-child, table.vs tr td:last-child, table.gt tr td:last-child {
    border-bottom: 0; }
  table.cmp td::before, table.vs td::before, table.gt td::before {
    content: attr(data-l); flex: 0 0 auto; text-align: left; font-size: .84em; font-weight: 400;
    color: var(--mut); text-transform: none; letter-spacing: 0; }
  /* the DGOJ comparison is a two-sided contrast, so keep the colour coding as the cue */
  table.vs .vs-a, table.vs .vs-b { width: auto; flex-wrap: wrap; text-align: left; }
  table.vs .vs-a::before, table.vs .vs-b::before { flex: 1 0 100%; margin-bottom: .15em;
    font-weight: 700; }
  table.gt .gt-rtp { font-size: 1.05em; }
}

/* The offer box overflowed the viewport by 5-10px on kingdom / lucki / seven at 360-390px.
   Cause: `white-space: nowrap` on the CTA. "Abrir cuenta en Kingdom Casino" cannot wrap, so the
   grid track was sized to the unbreakable string and pushed past the container. Grid items also
   default to min-width:auto, which lets a long child widen its track. Both fixed here. */
.rv-offer > * { min-width: 0; }
.rvo-b, .rvo-bonus, .rvo-fs { overflow-wrap: break-word; }
@media (max-width: 700px) {
  .rvo-cta > a { white-space: normal; text-align: center; }
}

/* The review info block fits at 360px but its right-aligned values wrapped into ragged two-line
   blocks ("no publicado — compruébalo en / el sello del operador"). Below 560px the label goes
   above the value and both align left, which is how the stacked money-table cards already read. */
@media (max-width: 560px) {
  .rvi > div { display: block; }
  .rvi dt { margin-bottom: .1em; }
  .rvi dd { text-align: left; }
}

/* ---------- navbar: the theme is Bootstrap 3 markup with no Bootstrap JS ----------
   Verified before writing this: the page had exactly one <script>, the JSON-LD block. The
   hamburger and every dropdown were inert, so below 768px the navbar was unreachable. The panel is
   now driven by .is-open from a small vanilla script, and the submenus by .open on tap. */
#main-menu-list.navbar-collapse { border-top: 0; }
@media (max-width: 767px) {
  #main-menu-list { display: none; padding: 0; }
  #main-menu-list.is-open { display: block; }
  #menu-principal { margin: 0; padding: .3em 0 .6em; float: none; }
  #menu-principal > li { float: none; display: block; }
  #menu-principal > li > a { display: block; padding: .8em 1.1em; border-bottom: 1px solid rgba(255,255,255,.12); }
  #menu-principal .dropdown-menu { position: static; float: none; display: none; width: auto;
    margin: 0; padding: .2em 0 .5em; border: 0; box-shadow: none; background: rgba(0,0,0,.18); }
  #menu-principal li.open > .dropdown-menu { display: block; }
  #menu-principal .dropdown-menu > li > a { padding: .6em 1.1em .6em 2em; }
  #menu-principal .caret { float: right; margin-top: .55em; }
  .navbar-toggle { display: block; }
}
@media (min-width: 768px) {
  /* desktop: open the submenu on hover, since there is no JS doing it */
  #menu-principal li.dropdown:hover > .dropdown-menu,
  #menu-principal li.dropdown:focus-within > .dropdown-menu { display: block; }
  .navbar-toggle { display: none; }
}

/* Desktop dropdowns: .open comes from the click handler, :hover is the enhancement. min-width
   was Bootstrap's 160px, which wrapped "Casinos sin licencia en España" onto three lines. */
@media (min-width: 768px) {
  #menu-principal li.dropdown.open > .dropdown-menu { display: block; }
  #menu-principal .dropdown-menu { min-width: 15em; padding: .35em 0; border-radius: 0 0 7px 7px;
    box-shadow: 0 6px 18px rgba(0,0,0,.16); }
  #menu-principal .dropdown-menu > li > a { padding: .5em 1.1em; white-space: nowrap; }
  #menu-principal .dropdown-toggle { cursor: pointer; }
}
/* Mobile submenu links were inheriting a dark colour onto a dark-green panel — unreadable. */
@media (max-width: 767px) {
  #menu-principal .dropdown-menu > li > a { color: #eaf5ec; }
  #menu-principal .dropdown-menu > li > a:hover,
  #menu-principal .dropdown-menu > li > a:focus { color: #fff; background: rgba(255,255,255,.10); }
  #menu-principal > li > a { color: #fff; }
  #menu-principal > li.active > a { color: var(--g-br); }
}

/* ---------- hero operator card (#1 brand), money pages only ---------- */
.hc { border: 1px solid var(--ln); border-radius: 11px; background: var(--bg2);
  padding: .9em 1em 1em; margin: 0 0 1.3em; }
.hc-rank { margin: 0 0 .5em; font-family: Oswald, sans-serif; font-size: .74em; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--g-md); }
.hc-logo { display: flex; align-items: center; justify-content: center; min-height: 52px;
  padding: .4em .6em; border-radius: 6px; margin-bottom: .55em; }
.hc-logo--dark { background: var(--g-dk); }
.hc-logo img { max-width: 100%; height: auto; display: block; }
.hc-name { margin: 0 0 .15em; font-family: Oswald, sans-serif; font-size: 1.1em; color: var(--g-dk); }
.hc-bonus { margin: 0 0 .6em; font-weight: 700; color: var(--g-dk); line-height: 1.3; }
.hc-facts { list-style: none; margin: 0 0 .8em; padding: .55em 0; display: grid; gap: .3em;
  border-top: 1px dashed var(--ln); border-bottom: 1px dashed var(--ln); }
.hc-facts li { display: flex; align-items: center; gap: .45em; font-size: .86em; color: var(--mut); }
.hc-facts svg.ic { flex: 0 0 auto; color: var(--g-md); width: 17px; height: 17px; }
.hc-cta { margin: 0 0 .45em; }
.hc-cta a { display: flex; align-items: center; justify-content: center; gap: .4em;
  padding: .72em 1em; background: var(--g-md); color: #fff; border-radius: 7px; font-weight: 700; }
.hc-cta a:hover { background: var(--g-dk); color: #fff; }
.hc-tc { margin: 0; font-size: .74em; color: var(--mut); text-align: center; }

@media (min-width: 861px) {
  /* beside the H1/lead on desktop; the hero text flows around it */
  .hc { float: right; width: 268px; margin: .2em 0 1.2em 1.8em; }
  .cs-page .pg-h1, .cs-page .pg-lead, .au-card { clear: none; }
  .cs-page > article > h2:first-of-type { clear: both; }
}
