/* =========================================================
   PORTADA v3 (2.7.0) - betting-first homepage
   =========================================================
   Same house style as /apuestas/ and the /pronosticos/ hub: white canvas,
   ink #0f1525 headings, one navy hero over the abstract texture, gold pick
   strips, red CTAs, 18px cards with a soft shadow. Loaded only when the
   v3 homepage renders (inc/home-v3.php), on top of the light skin
   (body.mi-light main), so every rule is scoped to main.mh.
   ========================================================= */

main.mh {
  --mx-ink: #0f1525;
  --mx-ink2: #333a55;
  --mx-mute: #5f6784;
  --mx-line: #e3e7f0;
  --mx-soft: #f5f7fb;
  --mx-red: #e8112a;
  --mx-gold: #f5b431;
  --mx-gold-ink: #b07a12;
  --mx-shadow: 0 14px 34px rgba(15, 21, 37, .07);
  --mx-shadow-hi: 0 18px 38px rgba(15, 21, 37, .12);
  --mx-tex: url("../img/texture-abstract.webp");
  display: block;
  background: #fff;
  color: var(--mx-ink);
  padding-bottom: 8px;
}
main.mh a { text-decoration: none; }

/* ---------- shared ---------- */
.mh-sec { padding: 56px 0; }
.mh-sec--soft { background: var(--mx-soft); border-top: 1px solid var(--mx-line); border-bottom: 1px solid var(--mx-line); }
.mh-sec--last { padding-bottom: 64px; }
@media (max-width: 700px) { .mh-sec { padding: 40px 0; } }

.mh-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
body.mi-light main.mh .mh-head__k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mx-gold-ink);
}
body.mi-light main.mh .mh-head__t {
  margin: 0;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--mx-ink);
}
body.mi-light main.mh .mh-head__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--mx-red);
  white-space: nowrap;
}
body.mi-light main.mh .mh-head__more:hover { color: #b30d20; }
.mh-head--panel { margin-bottom: 16px; }
.mh-head--panel .mh-head__t { font-size: 22px !important; }

body.mi-light main.mh .mh-btn {
  display: inline-block;
  background: var(--mx-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
body.mi-light main.mh .mh-btn:hover { background: #ff2740; }
body.mi-light main.mh .mh-btn--ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); }
body.mi-light main.mh .mh-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
body.mi-light main.mh .mh-btn--line { background: #fff; color: var(--mx-ink); border: 1.5px solid var(--mx-ink); }
body.mi-light main.mh .mh-btn--line:hover { background: var(--mx-ink); color: #fff; }

.mh-flag {
  display: inline-block;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 21, 37, .18);
  flex: 0 0 auto;
  vertical-align: middle;
}
.mh-flag--sm { width: 22px; height: 15px; }
.mh-flag--chip { width: 24px; height: 16px; }

body.mi-light main.mh .mh-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--mx-mute);
}

.mh-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mx-red);
  box-shadow: 0 0 0 0 rgba(232, 17, 42, .5);
  animation: mh-pulse 1.8s infinite;
}
@keyframes mh-pulse {
  70% { box-shadow: 0 0 0 8px rgba(232, 17, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 17, 42, 0); }
}

/* ---------- hero: full-bleed navy band ---------- */
.mh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 21, 37, .97) 0%, rgba(15, 21, 37, .84) 50%, rgba(15, 21, 37, .55) 100%),
    var(--mx-tex) 85% 50% / cover no-repeat,
    #0f1525;
  color: #e9ecf6;
}
.mh-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}
@media (min-width: 980px) {
  .mh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 48px; }
}
body.mi-light main.mh .mh-hero__k {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mx-gold);
}
body.mi-light main.mh .mh-hero__t {
  margin: 0 0 16px;
  max-width: 760px;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
}
body.mi-light main.mh .mh-hero__p {
  margin: 0 0 26px;
  max-width: 620px;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.65;
  color: #d3d8ea;
}
.mh-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Side: match slider. All slides share one grid cell (height = tallest);
   position classes move the neighbours out to the sides, smaller and faded. */
.mh-cf { position: relative; }
.mh-cf__stage { display: grid; position: relative; padding: 4px 0 10px; }
body.mi-light main.mh .mh-cf__slide {
  grid-area: 1 / 1;
  width: 80%;
  justify-self: center;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .45s, filter .45s, box-shadow .45s;
  will-change: transform, opacity;
}
body.mi-light main.mh .mh-cf__slide.is-pos0 { z-index: 3; transform: none; opacity: 1; }
body.mi-light main.mh .mh-cf__slide.is-pos1,
body.mi-light main.mh .mh-cf__slide.is-posm1 {
  z-index: 2;
  opacity: .32;
  filter: saturate(.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  cursor: pointer;
}
body.mi-light main.mh .mh-cf__slide.is-pos1 { transform: translateX(22%) scale(.84); }
body.mi-light main.mh .mh-cf__slide.is-posm1 { transform: translateX(-22%) scale(.84); }
body.mi-light main.mh .mh-cf__slide.is-pos1:hover,
body.mi-light main.mh .mh-cf__slide.is-posm1:hover { opacity: .5; }
body.mi-light main.mh .mh-cf__slide.is-posoff { z-index: 1; opacity: 0; transform: scale(.7); pointer-events: none; }
body.mi-light main.mh .mh-cf__slide.is-pos0:hover { transform: translateY(-3px); }
.mh-cf:not(.has-many) .mh-cf__slide { width: 100%; }

.mh-cf__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
body.mi-light main.mh .mh-cf__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #e9ecf6;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
body.mi-light main.mh .mh-cf__arrow:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.mh-cf__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mh-cf__dots { display: flex; gap: 6px; }
body.mi-light main.mh .mh-cf__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: width .3s, background .3s;
}
body.mi-light main.mh .mh-cf__dot.is-on { width: 20px; background: var(--mx-gold); }
body.mi-light main.mh .mh-cf__all { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; }
body.mi-light main.mh .mh-cf__all:hover { color: var(--mx-gold); }
@media (max-width: 700px) {
  body.mi-light main.mh .mh-cf__slide { width: 84%; }
  body.mi-light main.mh .mh-cf__slide.is-pos1 { transform: translateX(16%) scale(.86); }
  body.mi-light main.mh .mh-cf__slide.is-posm1 { transform: translateX(-16%) scale(.86); }
  .mh-cf__stage { touch-action: pan-y; }
}
@media (prefers-reduced-motion: reduce) {
  body.mi-light main.mh .mh-cf__slide { transition: none; }
}

/* Country quick links: the hubs, grouped by flag, along the hero's foot. */
.mh-cty { background: rgba(5, 9, 20, .55); border-top: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.mh-cty .container { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
body.mi-light main.mh .mh-cty__k {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mx-gold);
}
/* 2.8.1: one row at every width (8 countries since Peru). Items stretch to share the row when it fits;
   when it does not, the row becomes a scroll-snap slider (swipe on touch, arrow buttons on desktop,
   inc. narrow laptops), with edge fades showing there is more. */
.mh-cty__rail { position: relative; flex: 1; min-width: 0; }
.mh-cty__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.mh-cty__list::-webkit-scrollbar { display: none; }
.mh-cty__item {
  flex: 1 0 auto;
  min-width: 118px;
  margin: 0;
  padding: 6px 12px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 3px;
  scroll-snap-align: start;
}
.mh-cty__item:first-child { border-left: 0; padding-left: 0; }
.mh-cty__name { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #fff; white-space: nowrap; }
.mh-cty__links { display: flex; flex-wrap: wrap; gap: 2px 10px; max-width: 132px; }
@media (max-width: 700px) { .mh-cty__links { max-width: none; } }
body.mi-light main.mh .mh-cty__links a { font-size: 13px; color: #b9c1dc; white-space: nowrap; }
body.mi-light main.mh .mh-cty__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Edge fades + arrows, only while the row overflows on that side (set by home-v3.js). */
.mh-cty__rail::before,
.mh-cty__rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 1;
}
.mh-cty__rail::before { left: 0; background: linear-gradient(90deg, rgba(9, 13, 26, .95), rgba(9, 13, 26, 0)); }
.mh-cty__rail::after { right: 0; background: linear-gradient(270deg, rgba(9, 13, 26, .95), rgba(9, 13, 26, 0)); }
.mh-cty__rail.can-prev::before, .mh-cty__rail.can-next::after { opacity: 1; }
body.mi-light main.mh .mh-cty__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(15, 21, 37, .9);
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
body.mi-light main.mh .mh-cty__nav:hover { border-color: var(--mx-gold); color: var(--mx-gold); }
.mh-cty__nav--prev { left: -4px; }
.mh-cty__nav--next { right: -4px; }
.mh-cty__nav[hidden] { display: none; }

@media (max-width: 1180px) {
  .mh-cty .container { flex-direction: column; align-items: stretch; gap: 10px; }
}
@media (max-width: 700px) {
  /* Phones: swipe only (no arrows), each country a small card. */
  body.mi-light main.mh .mh-cty__nav { display: none; }
  .mh-cty__list { gap: 8px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .mh-cty__item, .mh-cty__item:first-child {
    flex: 0 0 auto;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .04);
  }
}

/* Spotlight card: white on the navy. */
body.mi-light main.mh .mh-spot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  color: var(--mx-ink);
  transition: transform .15s;
}
body.mi-light main.mh a.mh-spot:hover { transform: translateY(-3px); }
.mh-spot__k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--mx-gold-ink);
}
.mh-spot__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mh-spot__t { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.mh-spot__t b { font-size: 16px; line-height: 1.25; color: var(--mx-ink); }
.mh-spot__vs { font-weight: 800; color: var(--mx-gold); font-size: 20px; }
.mh-spot__when { text-align: center; font-size: 13.5px; color: var(--mx-mute); }
.mh-spot__go { font-weight: 700; font-size: 14px; color: var(--mx-red); text-align: right; }
body.mi-light main.mh .mh-spot--empty p { margin: 0; color: var(--mx-ink2); line-height: 1.6; }
.mh-spot--empty .mh-btn { align-self: flex-start; }

/* Crests (analista badge library; initials fallback). */
body.mi-light main.mh .mh-crest {
  width: 52px;
  height: 52px;
  max-width: none;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
  filter: drop-shadow(0 4px 8px rgba(15, 21, 37, .15));
}
body.mi-light main.mh .mh-spot .mh-crest { width: 68px; height: 68px; }
body.mi-light main.mh .mh-crest.mia-crest--mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mx-soft);
  border: 1px solid var(--mx-line);
  font-weight: 800;
  color: var(--mx-ink);
  filter: none;
}

/* Gold pick strip. */
.mh-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(90deg, #fff8e6, #fffdf7);
  border: 1px solid #f3e2b4;
  border-left: 4px solid var(--mx-gold);
  border-radius: 0 12px 12px 0;
  padding: 9px 12px;
  margin-top: auto;
}
.mh-pick__l { display: flex; flex-direction: column; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--mx-ink); }
.mh-pick__l small { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mx-mute); }
.mh-pick b { font-size: 22px; font-weight: 800; color: var(--mx-ink); }
.mh-pick--lg { padding: 10px 14px; margin-top: 0; }
.mh-pick--none { background: var(--mx-soft); border-color: var(--mx-line); border-left-color: #c3c9da; }
.mh-pick--none .mh-pick__l { font-weight: 600; color: var(--mx-ink2); }
.mh-pick--lg .mh-pick__l { font-size: 15.5px; }
.mh-pick--lg b { font-size: 24px; }

/* ---------- picks board ---------- */
.mh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
@media (max-width: 700px) {
  .mh-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px 18px;
    padding: 0 16px 4px;
  }
  .mh-chips::-webkit-scrollbar { display: none; }
  .mh-chip { flex: 0 0 auto; white-space: nowrap; }
}
body.mi-light main.mh .mh-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border: 1.5px solid var(--mx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mx-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
body.mi-light main.mh .mh-chip:hover { border-color: var(--mx-ink); }
.mh-chip i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  text-align: center;
  background: var(--mx-soft);
}
body.mi-light main.mh .mh-chip.is-on { background: var(--mx-ink); border-color: var(--mx-ink); color: #fff; }
.mh-chip.is-on i { background: var(--mx-gold); color: var(--mx-ink); }
.mh-chip.is-on .mh-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }

.mh-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.mh-board .mh-pc.is-extra,
.mh-board .mh-pc[hidden] { display: none; }
.mh-board.is-open .mh-pc.is-extra:not([hidden]) { display: flex; }
.mh-board__more { text-align: center; margin: 22px 0 0; }

.mh-pc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  padding: 16px 18px 18px;
  transition: transform .15s, box-shadow .15s;
}
.mh-pc:hover { transform: translateY(-2px); box-shadow: var(--mx-shadow-hi); }
.mh-pc__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mh-pc__lg {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mx-mute);
}
.mh-pc__time {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: var(--mx-ink);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.mh-pc__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.mh-pc__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.mh-pc__team b { font-size: 15px; line-height: 1.25; color: var(--mx-ink); overflow-wrap: anywhere; }
.mh-pc__vs { font-weight: 800; color: var(--mx-gold); font-size: 15px; }
body.mi-light main.mh .mh-pc__cta {
  display: block;
  text-align: center;
  background: var(--mx-red);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 11px 14px;
  border-radius: 8px;
}
body.mi-light main.mh .mh-pc__cta:hover { background: #ff2740; }

/* ---------- panels: scores + guides, data row ---------- */
.mh-split { display: grid; gap: 22px; }
@media (min-width: 1024px) { .mh-split { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.mh-panel {
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  padding: 22px;
  min-width: 0;
}
@media (max-width: 640px) { .mh-panel { padding: 16px; } }
body.mi-light main.mh .mh-panel__t {
  margin: 0 0 14px;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--mx-ink);
}
body.mi-light main.mh .mh-panel__lead { margin: -6px 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--mx-ink2); }

/* mi_today rows inside the panel: flat, hairline separated. */
body.mi-light main.mh .mh-panel .mi-matchrow { background: var(--mx-soft); border-radius: 10px; border-left: 0; }
body.mi-light main.mh .mh-panel .mi-matchrow:hover { background: #eef1f7; }
body.mi-light main.mh .mh-panel .mi-matches__day { color: var(--mx-mute); }

/* Country guides list ([mi_casas_apuestas]) restyled as rows. */
.mh-panel--guides .mi-casas__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mh-panel--guides .mi-casas__item { margin: 0; }
body.mi-light main.mh .mh-panel--guides .mi-casas__item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--mx-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mx-ink);
  transition: border-color .15s, box-shadow .15s;
}
body.mi-light main.mh .mh-panel--guides .mi-casas__item a:hover { border-color: var(--mx-ink); box-shadow: var(--mx-shadow); }
.mh-panel--guides .mi-casas__flag { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15, 21, 37, .18); }
.mh-panel--guides .mi-casas__badge { display: inline-flex; background: none; border: 0; padding: 0; width: auto; height: auto; }
.mh-panel--guides .mi-casas__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
body.mi-light main.mh .mh-panel--guides .mi-casas__country { font-weight: 800; font-size: 15px; color: var(--mx-ink); }
body.mi-light main.mh .mh-panel--guides .mi-casas__houses { font-size: 13px; color: var(--mx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mi-light main.mh .mh-panel--guides .mi-casas__go { color: var(--mx-red); font-weight: 700; }
body.mi-light main.mh .mh-panel--guides .mi-casas__note { margin: 14px 0 6px; font-size: 12px; color: var(--mx-mute); }
body.mi-light main.mh .mh-panel--guides .mi-casas__all {
  display: block;
  margin-top: 10px;
  text-align: center;
  background: var(--mx-red);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 11px 14px;
  border-radius: 8px;
}
body.mi-light main.mh .mh-panel--guides .mi-casas__all:hover { background: #ff2740; }

.mh-data { display: grid; gap: 22px; }
@media (min-width: 900px) { .mh-data { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
body.mi-light main.mh .mh-data .mi-standings { border: 0; box-shadow: none; border-radius: 12px; overflow: hidden; }
body.mi-light main.mh .mh-data .mi-standings__head { background: var(--mx-ink); }

/* ---------- analyser ---------- */
.mh-sec--analyser { padding-bottom: 8px; }
body.mi-light main.mh .mh-analyser .mia-hero,
body.mi-light main.mh .mh-analyser .mia--compact > div:first-child {
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
}
body.mi-light main.mh .mh-analyser .mia-form__q {
  background: #fff !important;
  border: 1.5px solid var(--mx-line) !important;
  border-radius: 10px !important;
  color: var(--mx-ink) !important;
}
body.mi-light main.mh .mh-analyser .mia-form__q:focus { border-color: var(--mx-ink) !important; outline: 0; }
body.mi-light main.mh .mh-analyser .mia-form__go { background: var(--mx-red) !important; border-radius: 8px !important; color: #fff !important; }
body.mi-light main.mh .mh-analyser .mia-form__go:hover { background: #ff2740 !important; }
body.mi-light main.mh .mh-analyser .mia-chip { background: var(--mx-soft); border: 1.5px solid var(--mx-line); }

/* ---------- method ---------- */
.mh-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mh-step {
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  padding: 20px;
}
.mh-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--mx-ink);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
body.mi-light main.mh .mh-step h3 {
  margin: 0 0 8px;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--mx-ink);
}
body.mi-light main.mh .mh-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mx-ink2); }
.mh-people { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); margin-top: 24px; }
body.mi-light main.mh .mh-person {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  color: var(--mx-ink);
}
.mh-person__img { flex: 0 0 auto; }
body.mi-light main.mh .mh-person__img img {
  display: block;
  width: 132px;
  height: 132px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--mx-gold);
}
.mh-person__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
body.mi-light main.mh .mh-person__role { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mx-gold-ink); }
body.mi-light main.mh .mh-person__name {
  margin: 0;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .4px;
  text-transform: uppercase;
}
body.mi-light main.mh .mh-person__name a { color: var(--mx-ink); }
body.mi-light main.mh .mh-person__name a:hover { color: var(--mx-red); }
body.mi-light main.mh .mh-person__bio { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mx-ink2); }
.mh-person__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
body.mi-light main.mh .mh-person__tags a {
  padding: 4px 11px;
  border: 1px solid var(--mx-line);
  border-radius: 999px;
  background: var(--mx-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mx-ink);
}
body.mi-light main.mh .mh-person__tags a:hover { border-color: var(--mx-ink); }
body.mi-light main.mh .mh-person__go { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--mx-red); }
body.mi-light main.mh .mh-person__go:hover { color: #b30d20; }
@media (max-width: 560px) {
  body.mi-light main.mh .mh-person { flex-direction: column; align-items: center; text-align: center; padding: 22px 18px; }
  .mh-person__tags { justify-content: center; }
  body.mi-light main.mh .mh-person__img img { width: 112px; height: 112px; }
}

/* ---------- news ---------- */
.mh-newsgrid { display: grid; gap: 18px; }
@media (min-width: 980px) {
  .mh-newsgrid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .mh-newsgrid__row { grid-column: 1 / -1; }
}
.mh-newsgrid__side { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mh-newsgrid__row,
.mh-row4 { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .mh-newsgrid__row, .mh-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .mh-newsgrid__side,
  .mh-newsgrid__row,
  .mh-row4 { grid-template-columns: minmax(0, 1fr); }
}
.mh-news {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  overflow: hidden;
  min-width: 0;
  transition: transform .15s, box-shadow .15s;
}
.mh-news:hover { transform: translateY(-2px); box-shadow: var(--mx-shadow-hi); }
.mh-news__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--mx-ink) center / cover no-repeat;
}
.mh-news__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.mh-news__cat { font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--mx-red); }
body.mi-light main.mh .mh-news__t { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; text-transform: none; letter-spacing: 0; font-family: Inter, system-ui, sans-serif; }
body.mi-light main.mh .mh-news__t a { color: var(--mx-ink); }
body.mi-light main.mh .mh-news__t a:hover { color: var(--mx-red); }
body.mi-light main.mh .mh-news__x { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mx-ink2); }
.mh-news__d { margin-top: auto; font-size: 12.5px; color: var(--mx-mute); }
.mh-newsgrid__lead .mh-news { height: 100%; }
.mh-newsgrid__lead .mh-news__img { aspect-ratio: 16 / 9; }
.mh-newsgrid__lead .mh-news__body { padding: 20px 22px 22px; }
body.mi-light main.mh .mh-newsgrid__lead .mh-news__t { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.mh-newsgrid__side .mh-news__img { aspect-ratio: 16 / 10; }
body.mi-light main.mh .mh-newsgrid__side .mh-news__t { font-size: 15px; }

/* ---------- league hubs ---------- */
.mh-hubs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.mh-hub {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  box-shadow: var(--mx-shadow);
  padding: 18px;
}
body.mi-light main.mh .mh-hub__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--mx-line);
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--mx-ink);
}
.mh-hub ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mh-hub li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; margin: 0; border-bottom: 1px dashed var(--mx-line); }
.mh-hub li:last-child { border-bottom: 0; }
body.mi-light main.mh .mh-hub li a { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mx-ink); }
body.mi-light main.mh .mh-hub li a:hover { color: var(--mx-red); }
.mh-hub li span { font-size: 12px; color: var(--mx-mute); }
body.mi-light main.mh .mh-hub__all { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--mx-red); }

/* ---------- vídeos: the shortcode's own head sits on the soft band ---------- */
.mh-sec--videos .mi-section__title { color: var(--mx-ink); }

/* ---------- responsible gambling ---------- */
.mh-rg {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--mx-soft);
  border: 1px solid var(--mx-line);
  border-left: 4px solid var(--mx-gold);
  border-radius: 0 18px 18px 0;
}
@media (min-width: 800px) { .mh-rg { grid-template-columns: auto minmax(0, 1fr) auto; } }
.mh-rg__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mx-ink);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
body.mi-light main.mh .mh-rg__t {
  margin: 0 0 6px;
  font-family: "Kumbh Sans", Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--mx-ink);
}
body.mi-light main.mh .mh-rg p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mx-ink2); }

/* ---------- phones and sticky aside ---------- */
@media (min-width: 1024px) { .mh-panel--guides { position: sticky; top: 130px; } }
@media (max-width: 700px) {
  /* Four cards, then "Ver más": eight stacked cards is a long scroll on a phone. */
  .mh-board:not(.is-open) .mh-pc:nth-child(n+5) { display: none; }
  .mh-panel { padding: 14px 10px; border-radius: 14px; }
  .mh-panel .mh-head--panel { padding: 0 4px; }
  /* Secondary news as compact rows: thumbnail left, text right. */
  .mh-newsgrid__side .mh-news,
  .mh-newsgrid__row .mh-news,
  .mh-row4 .mh-news { flex-direction: row; }
  .mh-newsgrid__side .mh-news__img,
  .mh-newsgrid__row .mh-news__img,
  .mh-row4 .mh-news__img { flex: 0 0 112px; aspect-ratio: auto; min-height: 100%; }
  .mh-newsgrid__side .mh-news__body,
  .mh-newsgrid__row .mh-news__body,
  .mh-row4 .mh-news__body { padding: 10px 12px; gap: 4px; }
  body.mi-light main.mh .mh-newsgrid__side .mh-news__t,
  body.mi-light main.mh .mh-newsgrid__row .mh-news__t,
  body.mi-light main.mh .mh-row4 .mh-news__t { font-size: 14.5px; }
}
@media (min-width: 701px) { .mh-board__more--phone { display: none; } }

/* The flat navy header/menu/ticker/back-to-top that started here (2.7.1) moved site-wide in 2.8.2:
   see "SITE CHROME (2.8.2)" at the end of main.css. */
