/*
Theme Name: ListasChat
Theme URI: https://uachatec.com.mx
Description: Tema estilo Ranker para listas de votación con RankIt Plugin.
Version: 3.1.0
Author: RankIt / UACH
Text Domain: listaschat
License: GPL-2.0+
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

/* ─── VARIABLES ─────────────────────────────── */
:root {
  --bg:       #fff;
  --bg2:      #f5f5f5;
  --surface:  #fff;
  --s2:       #fafafa;
  --border:   #e8e8e8;
  --border2:  #d0d0d0;
  --green:    #1a7f5a;
  --gold:     #c9a227;
  --accent:   #e8332a;
  --nav:      #1a1814;
  --text:     #1a1814;
  --text2:    #4a4640;
  --muted:    #9a9590;
  --radius:   12px;
  --sh:       0 1px 3px rgba(0,0,0,.07),0 4px 12px rgba(0,0,0,.05);
  --sh-h:     0 6px 20px rgba(0,0,0,.1),0 12px 40px rgba(0,0,0,.07);
  --fh:       'Playfair Display',Georgia,serif;
  --fb:       'Inter',system-ui,sans-serif;
  --fm:       'JetBrains Mono',monospace;
}

/* ─── RESET ─────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--fb);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;word-break:break-word;overflow-wrap:break-word}



a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}

/* ─── LAYOUT ─────────────────────────────────── */
.lc-container{width:100%;max-width:1160px;margin:0 auto;padding:0 1rem}
/* Contenedor de contenido de página — evita que el plugin rompa el layout horizontal */
.lc-container--content { overflow-x: clip; }
.lc-page-wrap{display:flex;flex-direction:column;gap:1.5rem;padding:1rem 0 3rem}
/* En móvil también contener el overflow del main */
.lc-page-wrap>main { min-width:0; overflow-x:hidden; }
@media(min-width:960px){
  .lc-page-wrap{display:grid;grid-template-columns:1fr 280px;gap:2rem;align-items:start;padding:2rem 0 4rem}
  .lc-page-wrap>main { overflow:hidden; }
  .lc-page-wrap>.lc-sidebar { min-width:0; }
}

/* ─── HEADER DOS BARRAS ──────────────────────── */
.lc-header{position:sticky;top:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,.1)}

/* Barra superior — logo blanco */
.lc-header__top{background:#fff;border-bottom:1px solid var(--border)}
.lc-header__top-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:1rem}
.lc-logo{font-family:var(--fh);font-size:clamp(1.3rem,4vw,2rem);font-weight:900;color:var(--text);letter-spacing:-.02em;display:flex;align-items:baseline;white-space:nowrap;text-decoration:none;line-height:1}
.lc-logo__first{color:var(--accent)}
.lc-logo__rest{color:var(--text)}

/* Buscador header */
.lc-header__search{display:none}
@media(min-width:600px){
  .lc-header__search{display:flex;align-items:center;background:#f4f4f4;border:1.5px solid var(--border);border-radius:99px;overflow:hidden;transition:border-color .2s}
  .lc-header__search:focus-within{border-color:var(--accent)}
  .lc-header__search input{background:transparent;border:none;outline:none;color:var(--text);padding:.4rem .9rem;font-size:.82rem;font-family:var(--fb);width:190px;transition:width .25s}
  .lc-header__search input:focus{width:240px}
  .lc-header__search input::placeholder{color:var(--muted)}
  .lc-header__search button{background:var(--accent);border:none;color:#fff;padding:.4rem .85rem;font-size:.82rem;transition:background .15s;flex-shrink:0}
  .lc-header__search button:hover{background:#c42820}
}

/* Hamburger */
.lc-hamburger{display:flex;align-items:center;justify-content:center;background:none;border:1.5px solid var(--border);border-radius:8px;color:var(--text);font-size:1.2rem;padding:.3rem .6rem;flex-shrink:0;transition:border-color .15s,color .15s}
.lc-hamburger:hover{border-color:var(--accent);color:var(--accent)}
@media(min-width:900px){.lc-hamburger{display:none}}

/* Barra menú oscura */
.lc-nav{background:var(--nav);position:relative;overflow:visible}

/* Links desktop */
.lc-nav__links{display:none;list-style:none}
@media(min-width:900px){
  .lc-nav__links{display:flex;align-items:stretch;height:42px;overflow:visible}
  .lc-nav__links>li{flex-shrink:0;display:flex;align-items:stretch;position:relative}
  .lc-nav__links>li>a{color:rgba(255,255,255,.78);font-size:.82rem;font-weight:500;padding:0 1rem;display:flex;align-items:center;white-space:nowrap;transition:color .15s,background .15s}
  .lc-nav__links>li>a:hover{color:#fff;background:rgba(255,255,255,.09)}
  .lc-nav__links>li.active>a,.lc-nav__links>li.current-menu-item>a{color:#fff;font-weight:700;background:var(--accent)}
}

/* Dropdown desktop */
.lc-has-dropdown{position:relative}
.lc-dropdown{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#23201c;border-top:2px solid var(--accent);border-radius:0 0 10px 10px;box-shadow:0 8px 24px rgba(0,0,0,.4);list-style:none;z-index:500;padding:.4rem 0}
@media(min-width:900px){
  .lc-has-dropdown:hover>.lc-dropdown,.lc-has-dropdown:focus-within>.lc-dropdown{display:block}
}
.lc-dropdown li{border-bottom:1px solid rgba(255,255,255,.05)}
.lc-dropdown li:last-child{border-bottom:none}
.lc-dropdown a{display:block;padding:.6rem 1rem;color:rgba(255,255,255,.72);font-size:.79rem;font-weight:500;white-space:nowrap;transition:background .14s,color .14s}
.lc-dropdown a:hover{background:rgba(255,255,255,.08);color:#fff}
.lc-nav-arrow{font-size:.55rem;margin-left:.3rem;display:inline-block;transition:transform .2s;opacity:.8}
@media(min-width:900px){.lc-has-dropdown:hover .lc-nav-arrow{transform:rotate(180deg)}}

/* Overlay */
.lc-nav__overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:998;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.lc-nav__overlay.open{display:block}

/* Drawer móvil — sale desde arriba, cubre toda la pantalla */
.lc-nav__drawer{
  position:fixed;top:0;left:0;right:0;
  background:#1e1b17;
  border-bottom:2px solid var(--accent);
  box-shadow:0 8px 32px rgba(0,0,0,.5);
  z-index:999;
  max-height:100dvh;
  overflow-y:auto;
  transform:translateY(-110%);
  transition:transform .28s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.lc-nav__drawer.open{transform:translateY(0);pointer-events:auto}
@media(min-width:900px){.lc-nav__drawer{display:none!important}}

.lc-drawer__search{display:flex;align-items:center;margin:1rem 1rem .5rem;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:9px;overflow:hidden}
.lc-drawer__search input{flex:1;background:transparent;border:none;outline:none;color:#fff;padding:.65rem .9rem;font-size:.88rem;font-family:var(--fb)}
.lc-drawer__search input::placeholder{color:rgba(255,255,255,.35)}
.lc-drawer__search button{background:var(--accent);border:none;color:#fff;padding:.65rem .9rem;font-size:.88rem}

.lc-drawer__links{list-style:none;padding:.5rem 0 2rem}
.lc-drawer__links>li{border-bottom:1px solid rgba(255,255,255,.06)}
.lc-drawer__links>li:last-child{border-bottom:none}
.lc-drawer__links>li>a{display:block;padding:.82rem 1.25rem;color:rgba(255,255,255,.75);font-size:.92rem;font-weight:500;transition:background .15s,color .15s}
.lc-drawer__links>li>a:hover{background:rgba(255,255,255,.06);color:#fff}
.lc-drawer__links>li.active>a{color:var(--accent)}

/* Drawer: ítems con submenú */
.lc-drawer__row{display:flex;align-items:stretch;border-bottom:1px solid rgba(255,255,255,.06)}
.lc-drawer__row>a{flex:1;padding:.82rem 1.25rem;color:rgba(255,255,255,.75);font-size:.92rem;font-weight:500;transition:background .15s,color .15s}
.lc-drawer__row>a:hover{background:rgba(255,255,255,.05);color:#fff}
.lc-drawer__toggle{background:none;border:none;border-left:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.45);padding:0 1.1rem;min-height:48px;font-size:.85rem;transition:color .15s,transform .22s;flex-shrink:0;display:flex;align-items:center}
.lc-drawer__toggle:hover{color:rgba(255,255,255,.9)}
.lc-drawer__toggle.open{color:var(--accent);transform:rotate(180deg)}
.lc-drawer__sub{list-style:none;background:rgba(0,0,0,.2);max-height:0;overflow:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1)}
.lc-drawer__sub.open{max-height:800px}
.lc-drawer__sublink{display:block;padding:.62rem 1.25rem .62rem 2.1rem;color:rgba(255,255,255,.55);font-size:.84rem;border-bottom:1px solid rgba(255,255,255,.04);transition:background .14s,color .14s}
.lc-drawer__sublink:hover{background:rgba(255,255,255,.05);color:#fff}

/* ─── HERO ───────────────────────────────────── */
.lc-hero{background:linear-gradient(135deg,#1a1814 0%,#2d2621 60%,#1a1814 100%);padding:2.5rem 0 2.25rem;position:relative;overflow:hidden}
.lc-hero::before{content:'';position:absolute;top:-40%;right:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(232,51,42,.18) 0%,transparent 70%);pointer-events:none}
.lc-hero__inner{position:relative;text-align:center}
.lc-hero__eyebrow{font-family:var(--fm);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:.6rem}
.lc-hero__title{font-family:var(--fh);font-size:clamp(2rem,6vw,3.8rem);font-weight:900;color:#fff;line-height:1.05;letter-spacing:-.03em;margin-bottom:.85rem}
.lc-hero__title em{color:var(--gold);font-style:normal}
.lc-hero__sub{color:rgba(255,255,255,.65);font-size:clamp(.9rem,2.5vw,1.15rem);max-width:560px;margin:0 auto 2rem;padding:0 .5rem}
.lc-hero__stats{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,4vw,3rem);flex-wrap:wrap;padding:0 .5rem}
.lc-hero__stat{text-align:center}
.lc-hero__stat-num{font-family:var(--fh);font-size:clamp(1.4rem,3vw,2.2rem);font-weight:900;color:#fff;line-height:1}
.lc-hero__stat-label{font-size:.72rem;color:rgba(255,255,255,.5);font-family:var(--fm);text-transform:uppercase;letter-spacing:.07em;margin-top:.25rem}
.lc-hero__divider{width:1px;height:44px;background:rgba(255,255,255,.15)}
@media(min-width:600px){.lc-hero{padding:3rem 0 2.5rem}.lc-hero__divider{height:48px}}
@media(min-width:960px){.lc-hero{padding:4.5rem 0 3.5rem}}

/* ─── SECTION HEADERS ────────────────────────── */
.lc-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:.5rem}
.lc-section-head h2{font-family:var(--fh);font-size:clamp(1rem,3vw,1.4rem);font-weight:900;letter-spacing:-.015em;display:flex;align-items:center;gap:.4rem}
.lc-section-head h2::before{content:'';display:inline-block;width:3px;height:1.1em;background:var(--accent);border-radius:2px;flex-shrink:0}
.lc-see-all{font-size:.75rem;font-weight:600;color:var(--green);border:1px solid currentColor;border-radius:99px;padding:.28rem .8rem;transition:all .18s;white-space:nowrap;flex-shrink:0}
.lc-see-all:hover{background:var(--green);color:#fff}

/* ─── LIST GRID ──────────────────────────────── */
.lc-lists-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem;margin-bottom:1.5rem}
@media(min-width:720px){.lc-lists-grid{grid-template-columns:repeat(3,1fr);gap:1rem}}
@media(min-width:960px){.lc-lists-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.1rem}}

/* ─── LIST CARD ──────────────────────────────── */
.lc-list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--sh);transition:transform .22s,box-shadow .22s,border-color .22s;display:flex;flex-direction:column}
.lc-list-card:hover{transform:translateY(-3px);box-shadow:var(--sh-h);border-color:var(--border2)}
.lc-list-card__thumb{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--bg2)}
.lc-list-card__thumb-placeholder{width:100%;aspect-ratio:4/3;background:linear-gradient(135deg,var(--bg2),var(--border));display:flex;align-items:center;justify-content:center;font-size:2rem}
.lc-list-card__body{padding:.75rem .85rem;flex:1;display:flex;flex-direction:column;gap:.35rem}
.lc-list-card__title{font-family:var(--fh);font-size:clamp(.82rem,2vw,1rem);font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc-list-card__meta{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin-top:auto}
.lc-badge{font-family:var(--fm);font-size:.62rem;font-weight:700;padding:.15rem .5rem;border-radius:99px;border:1px solid}
.lc-badge--items{background:var(--s2);border-color:var(--border);color:var(--muted)}
.lc-badge--votes{background:#f0faf5;border-color:#a0dcc0;color:var(--green)}
.lc-badge--hot{background:#fff3f2;border-color:#f0a09a;color:var(--accent)}
.lc-list-card__top-item{display:flex;align-items:center;gap:.5rem;padding:.55rem .85rem;border-top:1px solid var(--border);background:var(--s2)}
.lc-list-card__top-rank{font-family:var(--fh);font-size:1rem;font-weight:900;color:var(--gold);flex-shrink:0}
.lc-list-card__top-img{width:26px;height:26px;border-radius:50%;object-fit:cover;background:var(--bg2);flex-shrink:0}
.lc-list-card__top-name{font-size:.72rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ─── SPOTLIGHT ──────────────────────────────── */
.lc-section-gap{margin-top:1.25rem}
.lc-spotlight{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--sh);overflow:hidden;margin-bottom:1.5rem}
.lc-spotlight__head{padding:1rem 1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.lc-spotlight__title{font-family:var(--fh);font-size:clamp(.95rem,2.5vw,1.15rem);font-weight:900}
.lc-spotlight__items{display:grid;grid-template-columns:repeat(3,1fr)}
@media(min-width:600px){.lc-spotlight__items{grid-template-columns:repeat(5,1fr)}}
.lc-spot-item{padding:1.25rem .75rem;text-align:center;border-right:1px solid var(--border);transition:background .18s;display:block;color:inherit}
.lc-spot-item:last-child{border-right:none}
.lc-spot-item:hover{background:var(--s2)}
@media(max-width:599px){.lc-spot-item:nth-child(4),.lc-spot-item:nth-child(5){display:none}}
.lc-spot-item__rank{font-family:var(--fm);font-size:.62rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.4rem}
.lc-spot-item__rank--gold{color:var(--gold)}
.lc-spot-item__rank--silver{color:#8a929e}
.lc-spot-item__rank--bronze{color:#b07040}
.lc-spot-item__img{width:clamp(56px,9vw,84px);height:clamp(56px,9vw,84px);border-radius:50%;object-fit:cover;margin:0 auto .55rem;border:3px solid var(--border)}
.lc-spot-item__img--gold{border-color:var(--gold)}
.lc-spot-item__img--silver{border-color:#8a929e}
.lc-spot-item__img--bronze{border-color:#b07040}
.lc-spot-item__name{font-size:clamp(.75rem,1.8vw,.88rem);font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc-spot-item__score{font-family:var(--fm);font-size:.75rem;color:var(--green);font-weight:700;margin-top:.3rem}

/* ─── SIDEBAR ────────────────────────────────── */
.lc-sidebar{display:flex;flex-direction:column;gap:1.1rem;order:2}
@media(min-width:600px)and(max-width:959px){.lc-sidebar{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}}
@media(min-width:960px){.lc-sidebar{order:0;position:sticky;top:120px}}
.lc-widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--sh)}
.lc-widget__head{padding:.75rem 1rem;border-bottom:1px solid var(--border);font-family:var(--fh);font-size:.9rem;font-weight:900;background:var(--s2);display:flex;align-items:center;gap:.4rem}
.lc-widget__body{padding:.85rem 1rem}
.lc-activity-item{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem 0;border-bottom:1px solid var(--border)}
.lc-activity-item:last-child{border-bottom:none}
.lc-activity-dot{width:7px;height:7px;border-radius:50%;margin-top:.35rem;flex-shrink:0}
.lc-activity-dot--up{background:var(--green)}
.lc-activity-dot--down{background:var(--accent)}
.lc-activity-text{font-size:.76rem;color:var(--text2);line-height:1.45;flex:1;min-width:0}
.lc-activity-text strong{color:var(--text);font-weight:600}
.lc-activity-time{font-family:var(--fm);font-size:.62rem;color:var(--muted);white-space:nowrap;flex-shrink:0}
.lc-trending-item{display:flex;align-items:center;gap:.65rem;padding:.55rem 0;border-bottom:1px solid var(--border)}
.lc-trending-item:last-child{border-bottom:none}
.lc-trending-rank{font-family:var(--fh);font-size:1rem;font-weight:900;color:var(--border2);flex:0 0 22px;text-align:center}
.lc-trending-rank--1{color:var(--gold)}
.lc-trending-rank--2{color:#8a929e}
.lc-trending-rank--3{color:#b07040}
.lc-trending-info{flex:1;min-width:0}
.lc-trending-name{font-size:.8rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-trending-votes{font-family:var(--fm);font-size:.65rem;color:var(--muted)}
.lc-trending-bar{width:36px;height:4px;background:var(--bg2);border-radius:99px;overflow:hidden;flex-shrink:0}
.lc-trending-bar-fill{height:100%;background:var(--green);border-radius:99px}

/* ─── SINGLE PAGE HEADER ─────────────────────── */
.lc-list-header{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;margin-bottom:1.25rem;box-shadow:var(--sh)}
@media(min-width:600px){.lc-list-header{padding:1.5rem;display:flex;align-items:flex-start;gap:1.25rem}}
.lc-list-header__number{font-family:var(--fh);font-size:2.5rem;font-weight:900;color:var(--border2);line-height:1;flex-shrink:0;margin-bottom:.5rem}
@media(min-width:600px){.lc-list-header__number{font-size:3.5rem;margin-bottom:0}}
.lc-list-header__content{flex:1;min-width:0}
.lc-list-header__title{font-family:var(--fh);font-size:clamp(1.2rem,3.5vw,1.9rem);font-weight:900;line-height:1.1;letter-spacing:-.02em;margin-bottom:.45rem}
.lc-list-header__desc{color:var(--text2);font-size:.88rem;line-height:1.65;margin-bottom:.75rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}
.lc-list-header__pills{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}

/* ─── VOTE CTA ───────────────────────────────── */
.lc-vote-cta{background:linear-gradient(135deg,#1a1814 0%,#2d2218 100%);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.lc-vote-cta__text{color:rgba(255,255,255,.85);font-size:.88rem;line-height:1.4}
.lc-vote-cta__text strong{color:#fff;font-weight:700;display:block;font-size:.95rem;margin-bottom:.15rem}
.lc-vote-cta__btn{background:var(--accent);color:#fff;border:none;border-radius:99px;padding:.55rem 1.3rem;font-family:var(--fb);font-size:.82rem;font-weight:700;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .18s,transform .18s;box-shadow:0 4px 12px rgba(232,51,42,.35);animation:lc-pulse 2.5s ease-in-out infinite}
.lc-vote-cta__btn:hover{background:#c42820;transform:scale(1.04)}
@keyframes lc-pulse{0%,100%{box-shadow:0 4px 12px rgba(232,51,42,.35)}50%{box-shadow:0 4px 20px rgba(232,51,42,.65)}}

/* ─── POST / PÁGINA NORMAL ───────────────────── */
/* Imagen destacada */
.lc-post-thumb{border-radius:var(--radius);overflow:hidden;margin-bottom:1.5rem;box-shadow:var(--sh)}
.lc-post-thumb img{width:100%;height:auto;max-height:420px;object-fit:cover;display:block}

/* Artículo con tarjeta */
.lc-post-article{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--sh)}
@media(min-width:640px){.lc-post-article{padding:2rem 2.25rem}}
.lc-post-article__header{margin-bottom:1.5rem;padding-bottom:1.25rem;border-bottom:1px solid var(--border)}
.lc-post-article__title{font-family:var(--fh);font-size:clamp(1.4rem,4vw,2.2rem);font-weight:900;line-height:1.15;letter-spacing:-.025em;color:var(--text);margin-bottom:.75rem}
.lc-post-article__meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.78rem;color:var(--muted);font-family:var(--fm)}

/* Tipografía del contenido editorial */
.lc-post-body{font-size:1rem;line-height:1.8;color:var(--text2)}
.lc-post-body>*+*{margin-top:1.2em}
.lc-post-body h2,.lc-post-body h3,.lc-post-body h4{font-family:var(--fh);font-weight:900;color:var(--text);line-height:1.2;letter-spacing:-.015em;margin-top:1.8em;margin-bottom:.5em}
.lc-post-body h2{font-size:clamp(1.2rem,3vw,1.6rem)}
.lc-post-body h3{font-size:clamp(1.05rem,2.5vw,1.3rem)}
.lc-post-body h4{font-size:1.05rem}
.lc-post-body p{margin:0}
.lc-post-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.lc-post-body a:hover{color:#c42820}
/* IMÁGENES: solo limitadas, sin márgenes que rompan el plugin */
.lc-post-body figure{margin:1.5em 0;text-align:center}
.lc-post-body figcaption{font-size:.78rem;color:var(--muted);margin-top:.5rem;font-style:italic}
.lc-post-body ul,.lc-post-body ol{padding-left:1.5rem}
.lc-post-body ul{list-style:disc}
.lc-post-body ol{list-style:decimal}
.lc-post-body li{margin-bottom:.35em}
.lc-post-body li::marker{color:var(--accent)}
.lc-post-body blockquote{border-left:4px solid var(--accent);margin:1.5em 0;padding:.85rem 1.25rem;background:var(--s2);border-radius:0 8px 8px 0;font-style:italic;color:var(--text2)}
.lc-post-body blockquote p{margin:0}
.lc-post-body code{background:var(--bg2);border:1px solid var(--border);border-radius:4px;padding:.1em .4em;font-family:var(--fm);font-size:.88em;color:var(--accent)}
.lc-post-body pre{background:#1a1814;border-radius:8px;padding:1.25rem;overflow-x:auto;margin:1.5em 0}
.lc-post-body pre code{background:none;border:none;color:#e2ddd6;padding:0;font-size:.85rem}
.lc-post-body table{width:100%;border-collapse:collapse;font-size:.88rem;margin:1.5em 0}
.lc-post-body th{background:var(--nav);color:#fff;padding:.6rem .9rem;text-align:left;font-weight:600}
.lc-post-body td{padding:.55rem .9rem;border-bottom:1px solid var(--border)}
.lc-post-body tr:nth-child(even) td{background:var(--s2)}
.lc-post-body hr{border:none;border-top:2px solid var(--border);margin:2em 0}

/* Footer del post */
.lc-post-article__footer{margin-top:2rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.lc-post-article__tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.25rem}
.lc-tag-pill{font-size:.75rem;font-weight:600;padding:.25rem .75rem;background:var(--s2);border:1px solid var(--border);border-radius:99px;color:var(--text2);transition:all .15s}
.lc-tag-pill:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.lc-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
@media(max-width:480px){.lc-post-nav{grid-template-columns:1fr}}
.lc-post-nav__link{display:flex;flex-direction:column;gap:.2rem;padding:.85rem 1rem;background:var(--s2);border:1px solid var(--border);border-radius:10px;transition:border-color .18s,background .18s}
.lc-post-nav__link:hover{border-color:var(--accent);background:#fff8f7}
.lc-post-nav__link--next{text-align:right}
.lc-post-nav__label{font-family:var(--fm);font-size:.65rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.lc-post-nav__title{font-size:.82rem;font-weight:600;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ─── HOMEPAGE SECTIONS ──────────────────────── */
.lc-home-section{margin-bottom:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.lc-home-section:first-child{border-top:none;padding-top:1rem}
.lc-refresh-random{background:var(--surface);border:1.5px solid var(--border);color:var(--text2);font-family:var(--fb);font-size:.75rem;font-weight:600;padding:.28rem .8rem;border-radius:99px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.3rem;white-space:nowrap;flex-shrink:0}
.lc-refresh-random:hover{border-color:var(--accent);color:var(--accent)}

/* Pódium */
.lc-podium{display:flex;flex-direction:column;gap:.65rem;margin-bottom:.75rem}
@media(min-width:560px){.lc-podium{flex-direction:row;gap:.85rem}}
.lc-podium__pos{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--sh);transition:transform .22s,box-shadow .22s;display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;text-decoration:none;color:var(--text)}
@media(min-width:560px){.lc-podium__pos{flex-direction:column;align-items:center;text-align:center;padding:1.1rem 1rem 1rem}}
.lc-podium__pos:hover{transform:translateY(-3px);box-shadow:var(--sh-h)}
.lc-podium__pos--1{border-top:3px solid var(--gold);background:linear-gradient(160deg,#fffdf5 0%,var(--surface) 60%)}
.lc-podium__pos--2{border-top:3px solid #8a929e;background:linear-gradient(160deg,#f7f8fa 0%,var(--surface) 60%)}
.lc-podium__pos--3{border-top:3px solid #b07040;background:linear-gradient(160deg,#fdf8f3 0%,var(--surface) 60%)}
.lc-podium__medal{font-size:1.2rem;line-height:1;flex-shrink:0}
.lc-podium__img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:3px solid var(--border);flex-shrink:0}
@media(min-width:560px){.lc-podium__img{width:72px;height:72px}}
.lc-podium__pos--1 .lc-podium__img{border-color:var(--gold)}
.lc-podium__pos--2 .lc-podium__img{border-color:#8a929e}
.lc-podium__pos--3 .lc-podium__img{border-color:#b07040}
.lc-podium__info{flex:1;min-width:0}
@media(min-width:560px){.lc-podium__info{width:100%}}
.lc-podium__title{font-family:var(--fh);font-size:.88rem;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc-podium__votes{font-family:var(--fm);font-size:.68rem;font-weight:700;color:var(--green);margin-top:.2rem}
.lc-podium__bar{display:none;width:100%;height:3px;background:var(--bg2);border-radius:99px;overflow:hidden;margin-top:.5rem}
@media(min-width:560px){.lc-podium__bar{display:block}}
.lc-podium__bar-fill{height:100%;border-radius:99px}
.lc-podium__pos--1 .lc-podium__bar-fill{background:var(--gold)}
.lc-podium__pos--2 .lc-podium__bar-fill{background:#8a929e}
.lc-podium__pos--3 .lc-podium__bar-fill{background:#b07040}

/* Category tabs */
.lc-cattabs{display:flex;align-items:center;gap:.4rem;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:.75rem;margin-bottom:1rem;border-bottom:1.5px solid var(--border)}
.lc-cattabs::-webkit-scrollbar{display:none}
.lc-cattab{display:flex;align-items:center;gap:.35rem;padding:.38rem .85rem;border-radius:99px;border:1.5px solid var(--border);background:var(--surface);color:var(--text2);font-family:var(--fb);font-size:.76rem;font-weight:600;cursor:pointer;transition:all .18s;white-space:nowrap;flex-shrink:0}
.lc-cattab:hover{border-color:var(--accent);color:var(--accent)}
.lc-cattab.active{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 10px rgba(232,51,42,.25)}
.lc-cattab__count{font-family:var(--fm);font-size:.6rem;background:rgba(0,0,0,.12);border-radius:99px;padding:.05rem .38rem;font-weight:700}
.lc-cattab.active .lc-cattab__count{background:rgba(255,255,255,.25)}
.lc-catpanel{display:none;animation:lc-fadein .22s ease}
.lc-catpanel.active{display:block}

/* ─── SCROLL INFINITO ────────────────────────── */
#lc-infinite-sentinel{height:1px;margin-top:-1px}
.lc-infinite-loader{display:none;align-items:center;justify-content:center;gap:.7rem;padding:1.5rem 0;color:var(--muted);font-size:.82rem;font-family:var(--fm)}
.lc-infinite-loader.visible{display:flex}
.lc-infinite-end{display:none;text-align:center;padding:1.25rem 0 1.75rem;color:var(--muted);font-size:.76rem;font-family:var(--fm);letter-spacing:.05em}
.lc-infinite-end.visible{display:block}
.lc-list-card.lc-card-entering{animation:lc-card-in .35s ease both}

/* ─── FOOTER ─────────────────────────────────── */
.lc-footer{background:var(--nav);border-top:2px solid #2d2a26;padding:2rem 0 1.25rem;margin-top:2.5rem;color:rgba(255,255,255,.55)}
.lc-footer__inner{display:grid;grid-template-columns:1fr;gap:1.25rem;margin-bottom:1.5rem}
@media(min-width:560px){.lc-footer__inner{grid-template-columns:1fr 1fr}}
@media(min-width:860px){.lc-footer__inner{grid-template-columns:1fr 1fr 1fr}}
.lc-footer__col-title{font-family:var(--fh);font-size:.88rem;font-weight:900;color:#fff;margin-bottom:.65rem}
.lc-footer__links{list-style:none;display:flex;flex-direction:column;gap:.3rem}
.lc-footer__links a{font-size:.78rem;color:rgba(255,255,255,.5);transition:color .18s}
.lc-footer__links a:hover{color:rgba(255,255,255,.9)}
.lc-footer__copy{border-top:1px solid #2d2a26;padding-top:1rem;text-align:center;font-size:.72rem;font-family:var(--fm)}
.lc-footer__copy a{color:var(--accent)}

/* ─── UTILIDADES ─────────────────────────────── */
.lc-breadcrumb{display:flex;align-items:center;gap:.35rem;font-size:.72rem;color:var(--muted);padding:.75rem 0;font-family:var(--fm);flex-wrap:wrap}
.lc-breadcrumb a{color:var(--text2)}
.lc-breadcrumb a:hover{color:var(--accent)}
.lc-breadcrumb__sep{color:var(--border2)}
.lc-empty{text-align:center;padding:2.5rem 1rem;color:var(--muted);font-size:.92rem}
.lc-empty__icon{font-size:2.2rem;margin-bottom:.65rem}
.lc-spinner{display:inline-block;width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--green);border-radius:50%;animation:lc-spin .7s linear infinite;flex-shrink:0}
.lc-pagination{display:flex;align-items:center;justify-content:center;gap:.35rem;padding:1.25rem 0;flex-wrap:wrap}
.lc-pagination a,.lc-pagination span{min-width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--text2);transition:all .18s}
.lc-pagination a:hover{border-color:var(--accent);color:var(--accent)}
.lc-pagination .current{background:var(--accent);border-color:var(--accent);color:#fff}
.lc-search-wrap{padding:1.5rem 0 3rem}
.lc-search-heading{font-family:var(--fh);font-size:clamp(1.2rem,4vw,1.5rem);font-weight:900;margin-bottom:1.1rem}
.lc-search-heading span{color:var(--accent)}

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes lc-spin{to{transform:rotate(360deg)}}
@keyframes lc-fadein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes lc-card-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* ── Contenido editorial en páginas de lista (texto fuera del shortcode) ── */
.lc-list-content {
  max-width: 100%;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}
.lc-list-content img,
.lc-list-content .wp-block-image img,
.lc-list-content .alignfull img,
.lc-list-content .alignwide img,
.lc-list-content .aligncenter img,
.lc-list-content .alignleft img,
.lc-list-content .alignright img,
.lc-list-content figure img {
  max-width: 100% !important;
  height: auto !important;
}
.lc-list-content img.emoji,
.lc-list-content img.wp-smiley {
  max-width: none !important;
  width: auto !important;
  height: 1em !important;
  display: inline !important;
}
.lc-list-content .wp-block-image,
.lc-list-content .alignfull,
.lc-list-content .alignwide,
.lc-list-content figure:not([class*="rk"]) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* El plugin maneja sus propias imágenes — no interferir */
.lc-list-content .rankit-wrap img { max-width: 100% !important; }
.lc-list-content .rk-thumb img,
.lc-list-content .rk-carousel-slide img { height: 100% !important; object-fit: cover !important; }

/* ── IMÁGENES EDITORIALES — contención completa ── */

/* Contenedores principales */
.lc-post-body,
.lc-post-article {
  overflow-x: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#main {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Todas las imágenes editoriales — ganarle a Gutenberg */
.lc-post-body img,
.lc-post-body .wp-block-image img,
.lc-post-body .alignfull img,
.lc-post-body .alignwide img,
.lc-post-body .aligncenter img,
.lc-post-body .alignleft img,
.lc-post-body .alignright img,
.lc-post-body figure img,
.lc-post-article img,
.lc-post-article .wp-block-image img,
.lc-post-article figure img {
  max-width: 100% !important;
  height: auto !important;
}

/* Bloques Gutenberg */
.lc-post-body .wp-block-image,
.lc-post-body .alignfull,
.lc-post-body .alignwide,
.lc-post-body figure,
.lc-post-article .wp-block-image,
.lc-post-article .alignfull,
.lc-post-article .alignwide,
.lc-post-article figure {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Excluir emojis */
.lc-post-body img.emoji,
.lc-post-body img.wp-smiley,
.lc-post-article img.emoji,
.lc-post-article img.wp-smiley {
  max-width: none !important;
  width: auto !important;
  height: 1em !important;
  display: inline !important;
}

.lc-post-thumb img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* ── RANKIT PLUGIN ── */
.rankit-wrap { padding: 0; max-width: 100%; width: 100%; }
.rk-header   { display: none; }
.rk-cp       { display: none; }
/* Dar ancho de referencia al contenedor para que el resize del plugin funcione */
.lc-list-content { width: 100%; max-width: 100%; box-sizing: border-box; }
.lc-list-content .rk-item { width: 100%; box-sizing: border-box; }
/* Limitar imágenes embebidas en descripciones de items */
.rankit-wrap img { max-width: 100% !important; }
/* Restaurar sólo las del thumb/carrusel que necesitan height fijo */
.rk-thumb img,
.rk-carousel-slide img { height: 100% !important; object-fit: cover !important; }
.rk-carousel-slide.rk-slide-portrait img { object-fit: contain !important; }



/* ─── SCROLL INFINITO ENTRE ENTRADAS ────────── */
.lc-next-post-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: .85rem;
  font-family: var(--fm);
}
.lc-next-post-loader.visible { display: flex; }

.lc-next-post-entry {
  margin-top: 1rem;
  animation: lc-fadein .4s ease;
}

.lc-next-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.75rem;
}
.lc-next-divider::before,
.lc-next-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.lc-next-divider__label {
  font-family: var(--fm);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
  padding: .3rem .8rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--bg);
}

.lc-next-end {
  text-align: center;
  padding: 2rem 0;
  color: var(--muted);
  font-size: .78rem;
  font-family: var(--fm);
  letter-spacing: .05em;
}
