/*
Theme Name: Hattrick Perú
Theme URI: https://example.com/hattrick-peru
Author: Hattrick Perú
Description: Portal de noticias del fútbol peruano. Blanco y azul marino, portada densa con tablas, encuestas, videos y lo más leído.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: hattrick
Tags: news, sports, blue, two-columns, custom-menu, featured-images
*/

:root{
  --ht-navy:#8f0c18;
  --ht-blue:#d91023;
  --ht-blue-soft:#ffc2c8;
  --ht-ink:#1c1b1f;
  --ht-ink-2:#34333a;
  --ht-muted:#6f6d74;
  --ht-muted-2:#8e8c93;
  --ht-line:#eeeceb;
  --ht-line-2:#f6f5f4;
  --ht-fill:#f4f2f2;
  --ht-bg:#f2f1f1;
  --ht-red:#d92b2b;
  --ht-green:#0f9d58;
  --ht-shadow:0 1px 2px rgba(80,6,14,.06);
}

*{box-sizing:border-box}
body{margin:0;background:var(--ht-bg);color:var(--ht-ink);font-family:'Archivo',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--ht-blue);text-decoration:none}
a:hover{color:#a80c1b;text-decoration:underline}
h1,h2,h3,h4{margin:0;line-height:1.2}
p{margin:0 0 16px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.ht-wrap{max-width:1260px;margin:0 auto;padding:0 18px}

/* ---------- Ticker ---------- */
.ht-ticker{background:var(--ht-navy);overflow:hidden;white-space:nowrap}
.ht-ticker__run{display:inline-flex;animation:ht-tk 40s linear infinite;font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#fff;padding:7px 0}
.ht-ticker__set{display:inline-flex;gap:24px;padding-right:24px}
.ht-ticker__set b{color:var(--ht-blue-soft);font-weight:600}
.ht-ticker__sep{opacity:.4}
@keyframes ht-tk{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Header ---------- */
.ht-head{background:#fff;border-bottom:1px solid #e6e3e2}
.ht-head__in{display:flex;align-items:center;gap:16px;padding:16px 18px;max-width:1260px;margin:0 auto}
.ht-burger{display:flex;flex-direction:column;gap:4px;background:none;border:0;padding:0;cursor:pointer;flex:0 0 auto}
.ht-burger span{display:block;width:22px;height:2px;background:var(--ht-navy)}
.ht-brand{margin:0 auto;display:flex;align-items:center;gap:10px}
.ht-brand__mark{height:32px;width:74px;display:block}
.ht-brand__mark g{fill:var(--ht-navy)}
.ht-brand__name{font-weight:800;font-size:clamp(23px,3vw,32px);letter-spacing:-.025em;text-transform:uppercase;color:var(--ht-navy)}
.ht-brand__name em{font-style:normal;color:var(--ht-blue)}
.ht-brand__flag{margin-left:2px;background:var(--ht-blue);color:#fff;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:12px;letter-spacing:.14em;padding:3px 7px;border-radius:3px}
.ht-search{flex:0 0 auto;width:22px;height:22px;border:2px solid var(--ht-navy);border-radius:50%;position:relative;background:none;padding:0;cursor:pointer}
.ht-search::after{content:"";position:absolute;right:-6px;bottom:-4px;width:9px;height:2px;background:var(--ht-navy);transform:rotate(45deg)}

/* ---------- Nav ---------- */
.ht-nav{background:var(--ht-navy);position:sticky;top:0;z-index:40}
.ht-nav ul{display:flex;gap:0;overflow-x:auto;list-style:none;margin:0;padding:0;max-width:1260px;margin:0 auto}
.ht-nav li{flex:0 0 auto}
.ht-nav a{display:block;padding:13px 14px;font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:#ffe3e6;border-bottom:3px solid transparent}
.ht-nav a:hover{color:#fff;border-bottom-color:#ffd1d5;text-decoration:none}
.ht-nav .current-menu-item>a,.ht-nav .current_page_item>a{color:#fff;font-weight:700;border-bottom-color:var(--ht-blue-soft)}

/* ---------- Scores strip ---------- */
.ht-scores{background:#f8f7f6;border-bottom:1px solid #e6e3e2}
.ht-scores__in{display:flex;align-items:stretch;max-width:1260px;margin:0 auto;padding:0 18px}
.ht-scores__label{flex:0 0 auto;display:flex;align-items:center;gap:7px;padding-right:14px;margin-right:14px;border-right:1px solid #e6e3e2;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ht-red)}
.ht-scores__dot{width:7px;height:7px;border-radius:50%;background:var(--ht-red)}
.ht-scores__list{display:flex;gap:0;overflow-x:auto;padding:8px 0}
.ht-scores__match{flex:0 0 176px;padding:0 16px;border-right:1px solid #e6e3e2;display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.ht-scores__match:last-child{border-right:0}
.ht-scores__row{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--ht-muted)}
.ht-scores__row--win{font-weight:700;color:var(--ht-ink)}
.ht-scores__row b{font-weight:700}

/* ---------- Layout ---------- */
.ht-main{background:var(--ht-bg);padding:14px 0 40px}
.ht-grid{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;max-width:1260px;margin:0 auto;padding:0 18px}
.ht-col{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
.ht-side{flex:1 1 300px;min-width:0;max-width:380px;display:flex;flex-direction:column;gap:14px}
.ht-card{background:#fff;border-radius:10px;box-shadow:var(--ht-shadow);overflow:hidden}
.ht-card__head{padding:13px 16px;border-bottom:1px solid var(--ht-line);display:flex;align-items:baseline;gap:10px;font-size:16px;font-weight:700}
.ht-card__head span{margin-left:auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ht-muted);font-weight:400}
.ht-card__more{padding:12px 16px;font-size:12px;font-weight:600;color:var(--ht-blue)}
.ht-section-title{font-size:19px;font-weight:700;margin:8px 0 12px}
.ht-row{display:flex;align-items:center;gap:12px;margin:8px 0 12px}
.ht-pill-dark{margin-left:auto;background:#2a2f3a;color:#fff;border-radius:999px;padding:7px 15px;font-size:12px;font-weight:600}
.ht-pill-dark:hover{color:#fff;text-decoration:none}
.ht-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px;align-items:stretch}

/* ---------- Hero ---------- */
.ht-hero{display:block;color:inherit}
.ht-hero:hover{text-decoration:none;color:inherit}
.ht-hero__media{position:relative;aspect-ratio:16/9;background:#e3e0df}
.ht-hero__media img{width:100%;height:100%;object-fit:cover}
.ht-hero__body{padding:14px 16px 16px}
.ht-hero__title{font-size:clamp(19px,2.1vw,25px);font-weight:700;line-height:1.28;text-wrap:pretty}
.ht-meta{font-size:13px;color:var(--ht-muted);margin-top:8px}

/* ---------- News list ---------- */
.ht-item{display:flex;gap:14px;padding:14px 16px;border-bottom:1px solid var(--ht-line);color:inherit}
.ht-item:last-child{border-bottom:0}
.ht-item:hover{background:#fbfafa;text-decoration:none;color:inherit}
.ht-item__body{flex:1;min-width:0}
.ht-item__title{font-size:15px;font-weight:600;line-height:1.35;color:var(--ht-ink);text-wrap:pretty}
.ht-item__meta{margin-top:6px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--ht-muted)}
.ht-item__thumb{flex:0 0 96px;height:62px;border-radius:6px;background:#e3e0df;overflow:hidden}
.ht-item__thumb img{width:100%;height:100%;object-fit:cover}
.ht-badge{background:var(--ht-blue);color:#fff;font-size:10px;font-weight:700;letter-spacing:.04em;padding:3px 6px;border-radius:3px;text-transform:uppercase}

/* ---------- Match strip ---------- */
.ht-match{margin-top:10px;background:var(--ht-fill);border-radius:8px;padding:9px 12px;display:flex;align-items:center;gap:12px}
.ht-match--lg{padding:11px 14px;margin-top:12px}
.ht-match__side{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:13px}
.ht-match__side--away{justify-content:flex-end}
.ht-match__side span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-match__crest{width:18px;height:18px;border-radius:50%;background:#d3cfce;flex:0 0 18px}
.ht-match__score{font-size:13px;font-weight:700;flex:0 0 auto}

/* ---------- Standings ---------- */
.ht-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px 0}
.ht-tab{padding:5px 10px;border-radius:999px;background:var(--ht-fill);color:#4d4b52;font-size:11px;font-weight:600}
.ht-tab:hover{background:#e8e5e4;color:#4d4b52;text-decoration:none}
.ht-tab.is-active{background:var(--ht-blue);color:#fff}
.ht-table{padding:10px 16px 14px}
.ht-table__head,.ht-table__row{display:flex;align-items:center}
.ht-table__head{padding:0 0 8px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ht-muted-2);border-bottom:1px solid var(--ht-line)}
.ht-table__row{padding:8px 0;border-bottom:1px solid var(--ht-line-2)}
.ht-table__row:last-of-type{border-bottom:0}
.ht-c-pos{flex:0 0 20px;font-size:12px;color:var(--ht-muted-2)}
.ht-c-pos--up{color:var(--ht-green);font-weight:700}
.ht-c-pos--down{color:var(--ht-red);font-weight:700}
.ht-c-team{flex:1;display:flex;align-items:center;gap:7px;min-width:0;font-size:13px}
.ht-c-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht-c-crest{width:16px;height:16px;border-radius:50%;background:#d3cfce;flex:0 0 16px}
.ht-c-pj{flex:0 0 26px;text-align:right;font-size:12px;color:var(--ht-muted)}
.ht-c-dg{flex:0 0 32px;text-align:right;font-size:12px;color:var(--ht-muted)}
.ht-c-pts{flex:0 0 30px;text-align:right;font-size:13px;font-weight:700;color:var(--ht-blue)}

/* ---------- Fixture / scorers ---------- */
.ht-fix{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ht-line-2)}
.ht-fix__when{flex:0 0 46px;font-size:12px;font-weight:700;color:var(--ht-blue)}
.ht-fix__when b{display:block;color:var(--ht-ink)}
.ht-fix__what{flex:1;font-size:13px;min-width:0}
.ht-scorer{display:flex;align-items:center;gap:11px;padding:11px 16px;border-bottom:1px solid var(--ht-line-2)}
.ht-scorer__pos{width:22px;height:22px;border-radius:50%;background:#e8e5e4;color:#4d4b52;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 22px}
.ht-scorer__pos--1{background:var(--ht-blue);color:#fff}
.ht-scorer__who{flex:1;min-width:0}
.ht-scorer__name{display:block;font-size:13px;font-weight:600}
.ht-scorer__club{display:block;font-size:11px;color:var(--ht-muted)}
.ht-scorer__goals{font-size:15px;font-weight:700}

/* ---------- Polls ---------- */
.ht-poll{min-width:0;background:#fff;border-radius:10px;box-shadow:var(--ht-shadow);display:flex;flex-direction:column}
.ht-poll__body{padding:16px 16px 12px;flex:1}
.ht-poll__q{font-size:15px;font-weight:700;line-height:1.35;margin-bottom:12px;text-wrap:pretty}
.ht-poll__opt{background:var(--ht-fill);border-radius:7px;padding:10px 12px;font-size:13px;margin-bottom:8px;color:var(--ht-ink-2);display:block}
.ht-poll__opt:last-child{margin-bottom:0}
.ht-poll__opt:hover{background:#e8e5e4;text-decoration:none;color:var(--ht-ink-2)}
.ht-poll__foot{border-top:1px solid var(--ht-line);padding:9px 6px 9px 16px;display:flex;align-items:center;gap:8px}
.ht-poll__votes{flex:1;font-size:12px;color:var(--ht-muted);min-width:0}
.ht-iconbtn{width:34px;height:34px;border-left:1px solid var(--ht-line);display:flex;align-items:center;justify-content:center;color:#4d4b52}
.ht-iconbtn:hover{color:var(--ht-blue);text-decoration:none}
.ht-iconbtn svg{width:17px;height:17px}

/* ---------- Videos / most read ---------- */
.ht-vcard{min-width:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:var(--ht-shadow);color:inherit;display:block}
.ht-vcard:hover{text-decoration:none;color:inherit}
.ht-vcard__media{position:relative;aspect-ratio:16/9;background:#1b2230;display:flex;align-items:center;justify-content:center}
.ht-vcard__play{width:46px;height:46px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
.ht-vcard__play i{width:0;height:0;border-left:13px solid var(--ht-ink);border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
.ht-vcard__time{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.72);color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:3px}
.ht-vcard__body{padding:12px 14px 14px}
.ht-vcard__meta{font-size:12px;color:var(--ht-muted);margin-bottom:6px}
.ht-vcard__title{font-size:14px;font-weight:700;line-height:1.35}
.ht-read__media{position:relative;aspect-ratio:16/10;background:#e3e0df}
.ht-read__media img{width:100%;height:100%;object-fit:cover}
.ht-read__rank{position:absolute;right:6px;bottom:-6px;font-weight:800;font-size:64px;line-height:1;color:rgba(255,255,255,.85)}

/* ---------- Buttons ---------- */
.ht-more{display:block;background:var(--ht-blue);border-radius:999px;padding:15px;text-align:center;color:#fff;font-size:15px;font-weight:700;margin-top:4px}
.ht-more:hover{background:#a80c1b;color:#fff;text-decoration:none}

/* ---------- Newsletter ---------- */
.ht-news{background:var(--ht-navy);border-radius:10px;padding:18px 16px;color:#fff}
.ht-news__t{font-size:16px;font-weight:700;margin-bottom:6px}
.ht-news__p{font-size:13px;line-height:1.5;color:#ffe3e6;margin-bottom:12px}
.ht-news input[type=email]{width:100%;background:#fff;border:0;border-radius:6px;padding:10px 12px;font-size:13px;font-family:inherit;color:var(--ht-ink);margin-bottom:8px}
.ht-news button{width:100%;background:var(--ht-blue);border:0;border-radius:6px;padding:11px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-family:inherit;cursor:pointer}
.ht-news button:hover{background:#e8323f}

/* ---------- Single ---------- */
.ht-crumbs{padding:16px 20px 0;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ht-muted)}
.ht-single__head{padding:12px 20px 0}
.ht-single__title{font-size:clamp(23px,3vw,34px);font-weight:700;line-height:1.2;text-wrap:pretty}
.ht-single__meta{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font-size:13px;color:var(--ht-muted);padding-bottom:14px;border-bottom:1px solid var(--ht-line)}
.ht-single__avatar{width:26px;height:26px;border-radius:50%;background:#e3e0df}
.ht-single__actions{margin-left:auto;display:flex;gap:8px}
.ht-action{display:flex;align-items:center;gap:6px;border:1px solid #e2dfde;border-radius:999px;padding:6px 12px;color:#4d4b52;font-size:12px;font-weight:600}
.ht-action:hover{border-color:var(--ht-blue);color:var(--ht-blue);text-decoration:none}
.ht-action svg{width:16px;height:16px}
.ht-single__figure{padding:16px 20px 0}
.ht-single__figure div{aspect-ratio:16/9;background:#e3e0df;border-radius:8px;overflow:hidden}
.ht-single__figure img{width:100%;height:100%;object-fit:cover}
.ht-single__caption{margin-top:8px;font-size:12px;color:var(--ht-muted-2)}
.ht-single__body{padding:20px 20px 24px;max-width:72ch}
.ht-single__body>p{font-size:16px;line-height:1.7;color:var(--ht-ink-2)}
.ht-single__body>p:first-child{font-size:17px;line-height:1.6;font-weight:600;color:var(--ht-ink)}
.ht-single__body blockquote{margin:0 0 16px;padding:14px 18px;border-left:4px solid var(--ht-blue);background:#f8f7f6;font-size:17px;line-height:1.55;font-style:italic;color:var(--ht-ink)}
.ht-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--ht-line)}
.ht-tags a{background:var(--ht-fill);border-radius:999px;padding:6px 13px;font-size:12px;font-weight:600;color:#4d4b52}
.ht-tags a:hover{background:#e8e5e4;text-decoration:none}

/* ---------- SEO block + footer ---------- */
.ht-seo{background:#2a2f3a;color:#e6e9ef;padding:28px 0}
.ht-seo h2{font-size:15px;font-weight:700;margin-bottom:8px}
.ht-seo p{font-size:13px;line-height:1.6;color:#b9c0cd;max-width:90ch}
.ht-foot{background:var(--ht-navy);color:#fff;padding:34px 0 0}
.ht-foot__mark{display:flex;justify-content:center;margin-bottom:24px}
.ht-foot__mark svg{height:40px;width:92px}
.ht-foot__mark g{fill:#fff}
.ht-foot__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:26px 20px;padding-bottom:30px}
.ht-foot__col h3{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ht-blue-soft);margin-bottom:10px}
.ht-foot__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ht-foot__col a{font-size:14px;color:#ffe9eb}
.ht-foot__col a:hover{color:#fff;text-decoration:none}
.ht-foot__legal{border-top:1px solid rgba(255,255,255,.18);padding:14px 0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:#f3b3ba}
.ht-foot__legal span:last-child{margin-left:auto}

/* ---------- Pagination / comments ---------- */
.ht-pag{display:flex;gap:8px;justify-content:center;padding:10px 0}
.ht-pag .page-numbers{background:#fff;border-radius:6px;padding:9px 14px;font-size:13px;font-weight:600;box-shadow:var(--ht-shadow)}
.ht-pag .page-numbers.current{background:var(--ht-blue);color:#fff}
.ht-comments{padding:0 20px 24px}
.ht-comments h2{font-size:16px;font-weight:700;margin-bottom:12px}
.ht-comments ol{list-style:none;margin:0;padding:0}
.ht-comments .comment-body{border-top:1px solid var(--ht-line);padding:14px 0;font-size:14px;line-height:1.6}
.ht-comments .comment-author{font-weight:600}
.ht-comments .comment-metadata{font-size:12px;color:var(--ht-muted)}

@media (max-width:640px){
  .ht-side{max-width:none}
  .ht-item__thumb{flex:0 0 76px;height:52px}
  .ht-single__body,.ht-single__head,.ht-single__figure,.ht-crumbs{padding-left:16px;padding-right:16px}
}

/* =====================================================================
   1.0.1 — menú lateral, búsqueda, Liga 1, compartir, relacionadas,
   comentarios, boletín y lo más leído
   ===================================================================== */
html.ht-lock{overflow:hidden}
.ht-skip:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100;background:#fff;color:var(--ht-navy);padding:10px 14px;border-radius:6px;font-weight:700}
:focus-visible{outline:2px solid var(--ht-blue);outline-offset:2px}

/* Ticker: enlaces y movimiento reducido */
.ht-ticker__set a{color:#fff}
.ht-ticker__set a:hover{color:#fff;text-decoration:underline}
.ht-ticker:hover .ht-ticker__run{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  .ht-ticker__run{animation:none}
  .ht-ticker__set[aria-hidden]{display:none}
  .ht-ticker{overflow-x:auto}
}

/* Búsqueda */
.ht-searchform{display:flex;gap:8px;margin:0}
.ht-searchform input[type=search]{flex:1;min-width:0;border:1px solid #e2dfde;border-radius:999px;padding:10px 16px;font:inherit;font-size:14px;background:#fff;color:var(--ht-ink)}
.ht-searchform input[type=search]:focus{outline:none;border-color:var(--ht-blue);box-shadow:0 0 0 3px rgba(217,16,35,.15)}
.ht-searchform button{background:var(--ht-blue);color:#fff;border:0;border-radius:999px;padding:10px 18px;font:inherit;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.ht-searchform button:hover{background:#a80c1b}
.ht-searchbar{border-top:1px solid #e6e3e2;background:#fff}
.ht-searchbar__in{max-width:760px;margin:0 auto;padding:12px 18px}
.ht-single__body .ht-searchform{margin-bottom:16px}

/* Menú lateral */
.ht-drawer{position:fixed;inset:0;z-index:90}
.ht-drawer[hidden]{display:none}
.ht-drawer__backdrop{position:absolute;inset:0;background:rgba(80,6,14,.45);opacity:0;transition:opacity .2s}
.ht-drawer__panel{position:absolute;top:0;left:0;bottom:0;width:min(340px,88vw);background:#fff;overflow-y:auto;padding:16px 18px 28px;transform:translateX(-100%);transition:transform .22s ease;display:flex;flex-direction:column;gap:14px;box-shadow:0 0 40px rgba(80,6,14,.25)}
.ht-drawer.is-open .ht-drawer__backdrop{opacity:1}
.ht-drawer.is-open .ht-drawer__panel{transform:none}
.ht-drawer__top{display:flex;align-items:center;justify-content:space-between}
.ht-drawer__mark{height:28px;width:66px;display:block}
.ht-drawer__mark g{fill:var(--ht-navy)}
.ht-drawer__close{background:var(--ht-fill);border:0;border-radius:50%;width:36px;height:36px;font-size:24px;line-height:1;color:var(--ht-navy);cursor:pointer}
.ht-drawer__label{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ht-muted);margin-top:4px}
.ht-drawer__menu{list-style:none;margin:0;padding:0}
.ht-drawer__menu li{border-bottom:1px solid var(--ht-line)}
.ht-drawer__menu a{display:block;padding:12px 2px;font-size:16px;font-weight:600;color:var(--ht-ink)}
.ht-drawer__menu a:hover{color:var(--ht-blue);text-decoration:none}
.ht-drawer__menu .sub-menu{list-style:none;padding:0 0 8px 12px;margin:0}
.ht-drawer__menu .sub-menu li{border:0}
.ht-drawer__menu .sub-menu a{padding:7px 2px;font-size:14px;font-weight:500;color:var(--ht-ink-2)}
.ht-drawer__menu .current-cat>a,.ht-drawer__menu .current-menu-item>a{color:var(--ht-blue)}
@media (prefers-reduced-motion:reduce){.ht-drawer__panel,.ht-drawer__backdrop{transition:none}}

/* Franja Liga 1 */
.ht-scores__label.is-live .ht-scores__dot{animation:ht-pulse 1.4s ease-in-out infinite}
.ht-scores__label:not(.is-live){color:var(--ht-navy)}
.ht-scores__label:not(.is-live) .ht-scores__dot{background:var(--ht-blue)}
@keyframes ht-pulse{50%{opacity:.25}}
.ht-scores__when{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ht-muted-2);margin-bottom:2px}
.ht-scores__match--in .ht-scores__when{color:var(--ht-red)}
.ht-scores__team{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ht-scores__crest{width:16px;height:16px;object-fit:contain;flex:0 0 16px}
.ht-scores__match--pre .ht-scores__row{color:var(--ht-ink)}

/* Tabla Liga 1 */
.ht-c-team img.ht-c-crest{background:none;border-radius:0;object-fit:contain}
.ht-table__row--more{display:none}
.ht-table.is-full .ht-table__row--more{display:flex}
.ht-table__toggle{display:block;width:100%;background:none;border:0;border-top:1px solid var(--ht-line);margin-top:4px;padding:12px 0 0;text-align:left;cursor:pointer;font-family:inherit}
.ht-table__toggle:hover{text-decoration:underline}
.ht-fix__what small{display:block;font-size:11px;color:var(--ht-muted);margin-top:2px}

/* Portada */
.ht-hero__dek{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--ht-ink-2)}
.ht-hero:hover .ht-hero__title,.ht-item:hover .ht-item__title,.ht-vcard:hover .ht-vcard__title,.ht-rank__item:hover .ht-rank__title{color:var(--ht-blue)}

/* Lo más leído (lista numerada) */
.ht-rank{list-style:none;margin:0;padding:0}
.ht-rank li{border-bottom:1px solid var(--ht-line)}
.ht-rank li:last-child{border-bottom:0}
.ht-rank__item{display:flex;align-items:center;gap:14px;padding:12px 16px;color:inherit}
.ht-rank__item:hover{background:#fbfafa;text-decoration:none;color:inherit}
.ht-rank__n{flex:0 0 28px;font-weight:800;font-size:28px;line-height:1;color:var(--ht-blue);text-align:center}
.ht-rank__body{flex:1;min-width:0}
.ht-rank__title{display:block;font-size:15px;font-weight:600;line-height:1.35;color:var(--ht-ink)}
.ht-rank__meta{display:block;margin-top:4px;font-size:12px;color:var(--ht-muted)}
.ht-rank__thumb{flex:0 0 84px;height:56px;border-radius:6px;overflow:hidden;background:#e3e0df}
.ht-rank__thumb img{width:100%;height:100%;object-fit:cover}

/* Nota */
.ht-single__dek{margin:10px 0 0;font-size:18px;line-height:1.5;color:var(--ht-ink-2)}
.ht-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;flex:0 0 auto}
.ht-single__actions{align-items:center}
.ht-single__figure{margin:0}
.ht-single__body{max-width:none}
.ht-single__body>*{max-width:72ch}
.ht-single__body h2{font-size:22px;margin:28px 0 12px}
.ht-single__body h3{font-size:18px;margin:24px 0 10px}
.ht-single__body ul,.ht-single__body ol{font-size:16px;line-height:1.7;color:var(--ht-ink-2);padding-left:22px;margin:0 0 16px}
.ht-single__body a{text-decoration:underline;text-underline-offset:2px}
.ht-single__body img{border-radius:8px}
.ht-single__body figure{margin:0 0 18px}
.ht-single__body figcaption{margin-top:6px;font-size:12px;color:var(--ht-muted-2)}
.ht-single__body iframe{max-width:100%}
.ht-single__body .twitter-tweet,.ht-single__body .instagram-media{margin-left:auto!important;margin-right:auto!important}

/* Compartir */
.ht-share__btns{display:flex;flex-wrap:wrap;gap:6px}
.ht-share__btn{width:34px;height:34px;border-radius:50%;border:1px solid #e2dfde;background:#fff;color:#4d4b52;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s,color .15s,border-color .15s}
.ht-share__btn[hidden]{display:none}
.ht-share__btn svg{width:16px;height:16px}
.ht-share__btn:hover{text-decoration:none;color:#fff;border-color:transparent;background:var(--ht-navy)}
.ht-share__btn--whatsapp:hover{background:#25d366}
.ht-share__btn--x:hover{background:#000}
.ht-share__btn--facebook:hover{background:#1877f2}
.ht-share__btn--telegram:hover{background:#229ed9}
.ht-share--card{margin-top:24px;padding:16px 18px;border-radius:10px;background:var(--ht-fill);display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;max-width:none}
.ht-share__label{font-weight:700;font-size:15px;color:var(--ht-ink)}
.ht-share--card .ht-share__btns{margin-left:auto}
.ht-share--card .ht-share__btn{width:40px;height:40px}
.ht-share--card .ht-share__btn svg{width:18px;height:18px}
.ht-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--ht-navy);color:#fff;padding:10px 18px;border-radius:999px;font-size:14px;font-weight:600;opacity:0;transition:opacity .2s,transform .2s;z-index:95;pointer-events:none}
.ht-toast.is-on{opacity:1;transform:translate(-50%,0)}

/* Relacionadas */
.ht-cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ht-related .ht-vcard__title{font-size:14px}
@media (max-width:900px){.ht-cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Comentarios */
.ht-comments{padding:18px 20px 24px}
.ht-comments__title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;margin-bottom:14px}
.ht-comments__count{background:var(--ht-fill);color:var(--ht-ink-2);font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px}
.ht-comments__empty{color:var(--ht-muted);font-size:14px;margin:0 0 16px}
.ht-cmts,.ht-cmts .children{list-style:none;margin:0;padding:0}
.ht-cmts .children{margin-left:22px;padding-left:16px;border-left:2px solid var(--ht-line)}
.ht-cmt__body{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--ht-line)}
.ht-avatar--cmt{width:36px;height:36px;font-size:13px}
.ht-cmt__main{flex:1;min-width:0}
.ht-cmt__head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}
.ht-cmt__head time{font-size:12px;color:var(--ht-muted)}
.ht-cmt__text{font-size:15px;line-height:1.6;color:var(--ht-ink-2);margin-top:4px}
.ht-cmt__text p{margin:0 0 8px}
.ht-cmt__wait{font-size:12px;color:var(--ht-muted);font-style:italic;margin:4px 0}
.ht-cmt .comment-reply-link{font-size:12px;font-weight:700;color:var(--ht-blue)}
.comment-respond{margin-top:16px;padding-top:16px;border-top:1px solid var(--ht-line)}
.comment-reply-title{font-size:16px;font-weight:700;margin:0 0 10px}
.comment-reply-title small{margin-left:8px;font-size:12px}
.ht-cform{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.ht-cform>p{margin:0}
.ht-cform .ht-cform__note,.ht-cform .comment-form-comment,.ht-cform .comment-form-cookies-consent,.ht-cform .form-submit,.ht-cform .logged-in-as{grid-column:1/-1}
.ht-cform__note{font-size:12px;color:var(--ht-muted)}
.ht-cform label{display:block;font-size:12px;font-weight:600;color:var(--ht-ink-2);margin-bottom:4px}
.ht-cform input[type=text],.ht-cform input[type=email],.ht-cform textarea{width:100%;border:1px solid #e2dfde;border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;color:var(--ht-ink);background:#fff}
.ht-cform input:focus,.ht-cform textarea:focus{outline:none;border-color:var(--ht-blue);box-shadow:0 0 0 3px rgba(217,16,35,.15)}
.ht-cform .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--ht-muted)}
.ht-cform .comment-form-cookies-consent label{display:inline;font-weight:400;color:var(--ht-muted);margin:0}
.ht-cform .submit{background:var(--ht-blue);color:#fff;border:0;border-radius:999px;padding:12px 22px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.ht-cform .submit:hover{background:#a80c1b}

/* Boletín */
.ht-news{scroll-margin-top:70px}
.ht-news__ok{background:rgba(255,255,255,.12);border-radius:6px;padding:10px 12px;font-size:14px;font-weight:600;margin:0}
.ht-news__err{color:#ffb4b4;font-size:13px;margin:0 0 8px}
.ht-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

@media (max-width:640px){
  .ht-cform{grid-template-columns:1fr}
  .ht-single__actions{margin-left:0;width:100%;justify-content:flex-start}
  .ht-share--card .ht-share__btns{margin-left:0}
  .ht-comments{padding-left:16px;padding-right:16px}
  .ht-rank__thumb{flex-basis:72px;height:48px}
  .ht-cards--4{grid-template-columns:1fr 1fr;gap:10px}
  .ht-foot__legal span:last-child{margin-left:0}
}

/* 1.0.1 — ajustes */
.ht-nav ul,.ht-scores__list{scrollbar-width:none}
.ht-nav ul::-webkit-scrollbar,.ht-scores__list::-webkit-scrollbar{display:none}
.admin-bar .ht-drawer__panel{top:32px}
@media (max-width:782px){.admin-bar .ht-drawer__panel{top:46px}}
.ht-c-dg{flex-basis:36px}
.ht-c-pts{flex-basis:34px}

/* 1.0.2 — redes sociales */
.ht-social{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ht-social__a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:var(--ht-navy);background:var(--ht-fill);transition:background .15s,color .15s}
.ht-social__a svg{width:17px;height:17px}
.ht-social__a:hover{color:#fff;text-decoration:none;background:var(--ht-navy)}
.ht-social__a--instagram:hover{background:#d62976}
.ht-social__a--x:hover{background:#000}
.ht-social__a--facebook:hover{background:#1877f2}
.ht-social__a--tiktok:hover{background:#111}
.ht-social__a--youtube:hover{background:#ff0000}
.ht-social--head{flex:0 0 auto;gap:4px}
.ht-social--head .ht-social__a{width:30px;height:30px;background:none}
.ht-social--head .ht-social__a svg{width:16px;height:16px}
.ht-head__in>.ht-social--head{margin-right:6px}
@media (max-width:900px){.ht-social--head{display:none}}
.ht-social--side{padding:14px 16px 16px;gap:10px}
.ht-social--side .ht-social__a{width:42px;height:42px}
.ht-social--side .ht-social__a svg{width:19px;height:19px}
.ht-social--foot{justify-content:center;margin:-8px 0 26px;gap:10px}
.ht-social--foot .ht-social__a{background:rgba(255,255,255,.1);color:#fff;width:38px;height:38px}
.ht-social--foot .ht-social__a:hover{background:#fff;color:var(--ht-navy)}
.ht-head__in{display:grid;grid-template-columns:1fr auto 1fr}
.ht-burger{justify-self:start}
.ht-head__right{justify-self:end;display:flex;align-items:center;gap:8px}
.ht-head__right>.ht-social--head{margin-right:4px}

/* 1.0.3 — colores de Perú: rojo y blanco */
.ht-nav{background:var(--ht-blue)}
.ht-nav a{color:#ffe3e6}
.ht-nav a:hover{border-bottom-color:#fff}
.ht-nav .current-menu-item>a,.ht-nav .current_page_item>a{border-bottom-color:#fff}
.ht-brand__name{color:var(--ht-ink)}
.ht-brand__mark g{fill:var(--ht-blue)}
.ht-news button{background:#fff;color:var(--ht-blue)}
.ht-news button:hover{background:#ffe3e6}
.ht-scores__label:not(.is-live){color:var(--ht-ink)}
.ht-foot__mark g{fill:#fff}
