/* LAHUM 2027 — estilos compartidos del sitio (responsivo + interacciones) */
lh-if{display:contents}
lh-if[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#FFFFFF;color:#141414}
img{max-width:100%}
.only-mob{display:none}
body:has(.lh-phone){background:#F6F6F6}

/* menú móvil para páginas internas */
.lh-burger{display:none;flex:none;margin-left:auto;width:48px;height:48px;align-items:center;justify-content:center;border:0;border-radius:12px;background:rgba(255,255,255,.12);color:#FFFFFF;cursor:pointer}
.lh-mm{position:relative;padding:4px 20px 24px}
.lh-mm ul{list-style:none;margin:0;padding:0}
.lh-mm a{display:flex;align-items:center;justify-content:space-between;min-height:56px;border-bottom:1px solid rgba(255,255,255,.16);text-decoration:none;color:#FFFFFF;font-size:20px;font-weight:700}

/* textos legales (bases, privacidad) */
.lh-prose{font-size:16px;line-height:1.65;color:#2B2B2B}
.lh-prose>*:first-child{margin-top:0}
.lh-prose h2{margin:56px 0 14px;font-size:28px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#141414;scroll-margin-top:24px}
.lh-prose h3{margin:32px 0 8px;font-size:19px;font-weight:800;color:#141414}
.lh-prose p,.lh-prose li{max-width:72ch}
.lh-prose ul,.lh-prose ol{padding-left:22px}
.lh-prose li{margin:6px 0}
.lh-prose strong{color:#141414}
.lh-prose table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px;display:block;overflow-x:auto}
.lh-prose th{text-align:left;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8C8C8C;padding:10px 14px 10px 0;border-bottom:1px solid #E8E8E8}
.lh-prose td{padding:12px 14px 12px 0;border-bottom:1px solid #F0F0F0;vertical-align:top}
.lh-prose a{color:#E3061B;font-weight:700}

@media (prefers-reduced-motion: reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  [style*="repeat(7, minmax(0, 1fr))"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  [style*="repeat(6, minmax(0, 1fr))"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  [style*="repeat(4, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="minmax(0, 1.95fr) minmax(300px, 1fr)"],[style*="minmax(0, 1.55fr) minmax(320px, 1fr)"],[style*="minmax(0, 2.3fr) minmax(280px, 1fr)"],
  [style*="260px minmax(0, 1fr) 300px"],[style*="minmax(0, 1fr) 300px"],[style*="minmax(0, 1fr) 320px"],[style*="minmax(0, 1fr) minmax(0, 360px)"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr)"]>:first-child{grid-column:1/-1}
  [style*="minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="position: sticky"]{position:static!important}
  [style*="260px minmax(0, 1fr) 300px"]>nav ol{flex-direction:row!important;flex-wrap:wrap}
}
@media (max-width:900px){
  .lh-nav{display:none!important}
  .lh-burger{display:flex}
}
/* ---------- celular ---------- */
@media (max-width:820px){
  .only-desk{display:none}
  .only-mob{display:block}
  [style*="repeat(4, minmax(0, 1fr))"],[style*="repeat(3, minmax(0, 1fr))"],[style*="repeat(2, minmax(0, 1fr))"]:not(nav [style]),
  [style*="minmax(0, 1fr) minmax(0, 1fr)"],[style*="minmax(0, 1fr) minmax(0, 1.25fr)"],[style*="minmax(0, 1fr) minmax(0, 1.3fr)"],
  [style*="minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr)"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr)"]{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
  .equipos-grid,[style*="repeat(4, minmax(0, 1fr)); gap: 20px"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [style*="padding: 36px 40px"]{padding:26px 18px!important}
  [style*="padding: 32px; border-radius: 20px"]{padding:24px!important}
  [style*="justify-self: end"]{justify-self:stretch!important;padding:28px 20px!important}
  [role="tablist"]{overflow-x:auto;scrollbar-width:none}
  [role="tablist"]>*{flex:none}
  table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  table th,table td{padding-right:14px!important}
  .lh-mini{display:none!important}
  .lh-spongrid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .lh-spon4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lh-fspon{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lh-fspon>span:first-child{grid-column:1/-1}
  /* noticias */
  .lh-nbig{min-height:460px!important}
  .lh-nov{background:linear-gradient(180deg,rgba(0,0,0,0) 15%,rgba(0,0,0,.55) 50%,rgba(0,0,0,.9) 100%)!important}
  .lh-ntx{left:20px!important;right:20px!important;bottom:22px!important;gap:10px!important}
  .lh-nbt{font-size:30px!important}
  .lh-ntx>span:nth-child(3){font-size:15px!important}
  ul.lh-ngrid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .lh-ncard>button{flex-direction:row!important;align-items:stretch!important}
  .lh-ncard>button>span:first-child{width:38%!important;flex:none!important;aspect-ratio:auto!important;min-height:150px;border-radius:15px 0 0 15px!important}
  .lh-ncard>button>span:last-child{padding:14px 14px 16px!important;gap:6px!important}
  .lh-ncard>button>span:last-child>span:nth-child(2){font-size:16px!important}
  .lh-ncard>button>span:last-child>span:nth-child(3){font-size:13px!important}
  /* historia */
  .lh-om{display:block!important}
  .lh-poscard{padding:22px 14px!important}
  table.lh-pos{display:table!important;white-space:normal!important}
  table.lh-pos th,table.lh-pos td{padding:4px 1px!important}
  table.lh-pos td>span{width:26px!important;height:26px!important;border-radius:7px!important;font-size:12px!important}
  table.lh-pos th[scope="row"]>span{font-size:13px!important;gap:0!important}
  .lh-pfx,.lh-pcr{display:none!important}
  .lh-plusin{margin-top:18px!important}
  .lh-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .lh-tiles>li{padding:18px 16px!important}
  .lh-gfx{grid-template-columns:minmax(0,1fr)!important}
  table.lh-ed{display:table!important;white-space:normal!important}
  table.lh-ed td,table.lh-ed th{font-size:14px!important;padding-right:0!important}
  .lh-bv{font-size:11px!important}
  /* partidos: filas compactas */
  .lh-fmeta{align-items:flex-end!important;gap:6px!important}
  .lh-fmeta>span:first-child{font-size:13px!important}
  .lh-mrow{column-gap:10px!important;padding:0 12px!important;min-height:72px!important}
  .lh-mrow img.lh-crest{width:30px!important;height:30px!important}
  .lh-mrow>span{gap:8px!important}
  .lh-mrow span[style*="white-space: nowrap"]{font-size:13px!important}
  .lh-mrow span[aria-label="Clasificó"]{display:none}
  [style*="min-width: 96px; height: 48px"]{min-width:72px!important;height:42px!important;font-size:21px!important}
  [style*="padding: 22px 24px; border-bottom"]{flex-wrap:wrap;row-gap:6px!important}
  [style*="padding: 22px 24px; border-bottom"] h2{white-space:nowrap}
  /* tabla: sin scroll, columnas secundarias ocultas */
  table.lh-tfit{display:table!important;overflow:visible!important;white-space:normal!important}
  .lh-hm{display:none!important}
  table.lh-tfit td,table.lh-tfit th{padding-right:6px!important}
  table.lh-tfit td span{white-space:nowrap}
  table.lh-tfit td span[style*="font-weight: 800"]{font-size:15px}
  .lh-fd .lh-tip{right:-6px}
  /* llave de la fase final en columna */
  [style*="position: relative; height: 420px"]{height:auto!important;display:flex;flex-direction:column;gap:14px}
  [style*="position: relative; height: 420px"]>*{position:static!important;width:auto!important}
  [style*="position: relative; height: 420px"]>span{display:none!important}
  /* bandas de título */
  h1{overflow-wrap:anywhere}
}
