/*
Theme Name: El Mundo es Flipante · Flipante V2
Theme URI: https://elmundoesflipante.com/
Author: Elmundoesflipante
Description: Clon local del theme El Mundo es Flipante, rediseñado con el sistema visual Flipante.
Version: 2.0.56
Text Domain: elmundoesflipante
Requires at least: 6.4
Requires PHP: 8.0
*/
:root{--orange:#FF5A1F;--orange-dark:#E64A12;--lime:#ABD92D;--lime-soft:#EEF7CE;--ink:#111;--ink-soft:#2B2B2B;--muted:#5B5B5B;--cream:#F5F2EA;--white:#fff;--line:rgba(17,17,17,.14);--wrap:min(1200px,calc(100% - 48px));--reading:720px;--display:'Anton',Impact,'Arial Narrow',sans-serif;--subhead:'Bebas Neue',Impact,sans-serif;--body:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;--radius:10px;--radius-lg:18px;--pill:999px;--shadow:0 2px 0 rgba(17,17,17,.08),0 8px 24px rgba(17,17,17,.06)}
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.6}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}.site-main{width:var(--wrap);margin-inline:auto}.screen-reader-text{clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.screen-reader-text:focus{clip:auto;clip-path:none;display:block;height:auto;left:1rem;padding:.7rem 1rem;top:1rem;width:auto;z-index:10000;background:var(--ink);color:#fff}
.site-header{position:relative;z-index:20;width:100%;background:var(--ink);color:var(--cream);border:0;border-radius:0;margin:0}.masthead{display:flex;align-items:center;gap:18px;min-height:74px;width:var(--wrap);margin:auto;padding:12px 0}.wordmark{display:inline-flex;align-items:center}.wordmark img{width:auto;height:34px;max-width:min(300px,58vw)}.header-spacer{flex:1}.social-links{display:flex;gap:6px}.social-links a{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(245,242,234,.35);border-radius:50%;color:var(--cream)}.social-links svg{width:16px;height:16px;fill:currentColor}.social-links a:hover{color:var(--lime);border-color:var(--lime)}.search-toggle,.menu-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:2px solid var(--cream);border-radius:var(--pill);background:transparent;color:var(--cream);cursor:pointer}.search-toggle{padding:0 14px;font-family:var(--subhead);font-size:18px;letter-spacing:.4px}.search-toggle:hover,.menu-toggle:hover{background:var(--lime);border-color:var(--lime);color:var(--ink)}.menu-toggle{width:40px;padding:0;font-size:20px}.main-nav{display:none}
.hero-title,.archive-header h1,.entry-title,.section-heading h2{font-family:var(--display);text-transform:uppercase;letter-spacing:.02em;line-height:.95}.hero-title{margin:clamp(48px,9vw,96px) 0 34px;font-size:clamp(44px,7vw,88px);color:var(--ink)}.hero-title:first-letter{color:var(--orange)}.hero-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:22px}.post-card{display:flex;flex-direction:column;min-width:0;background:var(--white);border:2px solid var(--ink);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease}.post-card:hover{transform:translateY(-2px)}.post-card__image{position:relative;display:block;overflow:hidden;background:#ddd;aspect-ratio:16/9}.post-card__image img{width:100%;height:100%;object-fit:cover}.post-card--lead{grid-row:span 2}.post-card--lead .post-card__image{aspect-ratio:1.05}.post-card__open{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--lime);font-size:22px;opacity:0;transform:translateY(-4px);transition:.2s}.post-card:hover .post-card__open,.post-card__image:focus .post-card__open{opacity:1;transform:none}.post-card__content{display:flex;flex:1;flex-direction:column;padding:16px}.post-card__category,.facet{display:inline-flex;align-items:center;align-self:flex-start;width:auto;border:0;border-radius:var(--pill);background:var(--orange);color:#fff;padding:4px 12px;font-family:var(--subhead);font-size:15px;letter-spacing:.35px;line-height:1.2}.post-card__category:hover{background:var(--orange-dark)}.post-card__title{margin:10px 0 0;font-family:var(--subhead);font-size:clamp(22px,2.4vw,32px);font-weight:400;line-height:1.04}.post-card--lead .post-card__title{font-size:clamp(28px,3.8vw,48px)}.post-card__title a:hover{color:var(--orange-dark)}.post-card__intro{margin:.8rem 0 0;color:var(--muted);font-size:.92rem;line-height:1.5}.post-card__meta{display:flex;align-items:center;gap:14px;margin:0 10px 10px;padding:10px 12px;min-height:44px;border:0;border-radius:6px;background:var(--cream);color:var(--muted);font-size:.75rem}.post-card__meta span{display:inline-flex;align-items:center;gap:4px}.post-card__meta time{margin-left:auto;white-space:nowrap}.material-symbols-rounded{font-family:Arial,sans-serif;font-size:.95em;font-style:normal}
.section{margin:clamp(64px,9vw,112px) 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{margin:0 0 6px;color:var(--orange-dark);font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.section-heading h2{margin:0;font-size:clamp(34px,5vw,64px)}.section-heading>a{border:2px solid var(--ink);border-radius:var(--pill);padding:8px 14px;font-family:var(--subhead);font-size:17px}.section-heading>a:hover{background:var(--lime)}.post-grid,.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.topic-card .post-card__image{aspect-ratio:1.3}.ad-book{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.42fr);gap:30px;align-items:center;margin:clamp(48px,8vw,90px) 0;padding:clamp(28px,5vw,56px);border:2px solid var(--ink);border-radius:var(--radius-lg);background:var(--lime-soft);box-shadow:var(--shadow)}.ad-book h2{margin:.3rem 0 1rem;font-family:var(--subhead);font-size:clamp(32px,5vw,60px);font-weight:400;line-height:1}.ad-book p{max-width:580px}.ad-book__image{order:2}.ad-book__image img{max-height:280px;margin:auto}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:2px solid var(--ink);border-radius:var(--pill);padding:8px 16px;font-family:var(--subhead);font-size:18px}.button--accent{border-color:var(--orange);background:var(--orange);color:#fff}.button--accent:hover{background:var(--orange-dark)}
.site-footer{margin-top:80px;padding:56px max(24px,calc((100% - 1200px)/2));background:var(--ink);color:var(--cream)}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:36px;align-items:start}.footer-wordmark img{height:32px}.footer-nav p,.footer-book>p,.footer-about>p{margin:0 0 10px;color:var(--lime);font-family:var(--subhead);font-size:19px}.footer-nav ul{display:grid;grid-template-columns:repeat(2,max-content);gap:6px 22px;list-style:none;margin:0;padding:0}.footer-nav a,.footer-book a,.footer-about a{color:var(--cream);font-size:.88rem}.footer-nav a:hover,.footer-book a:hover,.footer-about a:hover{color:var(--lime)}.site-footer .social-links{margin-top:18px}.copyright{margin:34px 0 0;color:#aaa;font-size:.75rem}
.entry-header{max-width:900px;margin:auto;padding:clamp(44px,8vw,92px) 0 36px}.breadcrumbs{margin:0;color:var(--muted);font-size:.82rem}.breadcrumbs a{color:var(--orange-dark);font-weight:700}.entry-title{margin:12px 0;font-size:clamp(44px,7vw,88px)}.entry-meta{color:var(--muted)}.entry-featured{width:100%;max-height:640px;margin:0 auto;overflow:hidden;border:2px solid var(--ink);border-radius:var(--radius-lg);background:#ddd}.entry-featured img{width:100%;max-height:640px;object-fit:cover}.article-layout{display:grid;grid-template-columns:210px minmax(0,var(--reading));gap:clamp(30px,7vw,90px);justify-content:center;margin:clamp(40px,7vw,80px) auto 0}.article-aside{align-self:start;position:sticky;top:20px}.article-aside__stack{display:grid;gap:22px}.author-card>p,.share-card>p{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.author-card__link{display:flex;align-items:center;gap:10px}.author-card__link span{display:grid;line-height:1.25}.author-card__link strong{font-family:var(--subhead);font-size:18px;font-weight:400}.author-card__link small{color:var(--muted);font-size:12px}.elmf-author-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.share-card>div,.article-share-links{display:flex;gap:7px;flex-wrap:wrap}.copy-link,.article-share-links a{display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--ink);border-radius:50%;background:var(--white);cursor:pointer}.article-share-links a{color:var(--cream);background:var(--ink)}.copy-link:hover,.article-share-links a:hover{background:var(--lime);color:var(--ink)}.article-share-links svg{width:16px;height:16px;fill:currentColor}.vote-box{padding:16px;border:2px solid var(--ink);border-radius:var(--radius);background:var(--lime-soft)}.vote-box p{margin:0 0 10px;font-family:var(--subhead);font-size:20px}.vote-buttons{display:flex;align-items:center;gap:10px}.vote-buttons button{width:36px;height:36px;border:2px solid var(--ink);border-radius:50%;background:var(--white);cursor:pointer}.vote-buttons button:hover{background:var(--orange);color:#fff}.vote-views{color:var(--muted);font-size:.8rem}.vote-box small{display:block;margin-top:9px;color:var(--muted);font-size:.7rem;line-height:1.35}.entry-content{font-size:1.1rem;line-height:1.75}.entry-content>:first-child{margin-top:0}.entry-content p,.entry-content ul,.entry-content ol,.entry-content blockquote,.entry-content figure,.entry-content table{margin:0 0 1.55em}.entry-content h2,.entry-content h3,.entry-content h4{margin:2em 0 .65em;font-family:var(--subhead);font-weight:400;line-height:1.05}.entry-content h2{font-size:clamp(30px,4vw,48px)}.entry-content h3{font-size:30px}.entry-content a{color:var(--orange-dark);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}.entry-content strong{font-weight:700}.entry-content blockquote{padding:32px;border-left:0;border-radius:var(--radius-lg);background:var(--lime-soft);font-family:var(--subhead);font-size:clamp(26px,3vw,42px);line-height:1.1}.entry-content figure img{width:100%;border-radius:var(--radius)}.entry-content figcaption{margin-top:8px;color:var(--muted);font-size:.8rem}.related-posts{width:var(--wrap);margin:clamp(64px,9vw,112px) auto 0}.archive-header{padding:clamp(54px,9vw,100px) 0 38px}.archive-header h1{margin:0;font-size:clamp(44px,7vw,88px)}.archive-description{max-width:650px;margin-top:18px;color:var(--muted)}.category-children{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.category-children a{border:2px solid var(--ink);border-radius:var(--pill);padding:7px 12px;font-family:var(--subhead);font-size:16px}.category-children a:hover{background:var(--lime)}
.mega-menu{position:fixed;inset:0;z-index:1000;overflow-y:auto;background:var(--ink);color:var(--cream)}.mega-menu[hidden]{display:none}.mega-menu__inner{width:var(--wrap);margin:auto;padding:36px 0}.mega-menu__top{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid rgba(245,242,234,.2);padding-bottom:26px}.mega-menu__top h2{margin:0;font-family:var(--display);font-size:clamp(38px,6vw,72px)}.mega-menu-close{width:46px;height:46px;border:2px solid var(--cream);border-radius:50%;background:transparent;color:var(--cream);font-size:28px;cursor:pointer}.mega-menu-close:hover{background:var(--orange)}.mega-menu__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;padding-top:34px}.mega-menu section{border-top:2px solid var(--lime);padding-top:10px}.mega-menu__parent{font-family:var(--subhead);font-size:24px;color:var(--lime)}.mega-menu ul{list-style:none;margin:10px 0 0;padding:0}.mega-menu li{margin:6px 0}.mega-menu li a{color:var(--cream);font-size:.85rem}.mega-menu li a:hover{color:var(--orange)}.search-dialog{position:fixed;inset:0;z-index:1100;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:var(--cream)}.search-dialog::backdrop{background:rgba(17,17,17,.7)}.search-shell{width:var(--wrap);margin:auto;padding:clamp(36px,7vw,90px) 0}.search-top{display:flex;gap:14px}.search-input{flex:1;border:0;border-bottom:3px solid var(--ink);background:transparent;padding:8px 0;font-family:var(--subhead);font-size:clamp(28px,5vw,56px);outline:0}.search-close{border:2px solid var(--ink);border-radius:50%;background:transparent;width:44px;height:44px;cursor:pointer}.search-help{color:var(--muted)}.search-facets{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.facet{border:2px solid var(--ink);background:var(--white);color:var(--ink);cursor:pointer}.facet[aria-pressed=true]{background:var(--orange);color:#fff}.search-results{display:grid;gap:4px;max-height:55vh;overflow:auto}.search-result{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.search-result img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius)}.search-result small{display:block;color:var(--muted);font-size:.78rem}.search-result strong{display:block;font-family:var(--subhead);font-size:24px;font-weight:400;line-height:1.05}.pagination{margin:42px 0}.nav-links{display:flex;gap:6px}.page-numbers{border:2px solid var(--ink);border-radius:var(--pill);padding:6px 11px}.page-numbers.current{background:var(--ink);color:var(--cream)}
@media(max-width:800px){:root{--wrap:min(100% - 32px,1200px)}.social-links{display:none}.search-toggle{padding:0;width:40px}.search-toggle span{display:none}.hero-grid,.post-grid,.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.post-card--lead{grid-column:span 2;grid-row:auto}.post-card--lead .post-card__image{aspect-ratio:1.55}.mega-menu__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px}.article-layout{grid-template-columns:1fr;gap:28px}.article-aside{position:static}.article-aside__stack{grid-template-columns:1fr 1fr}.vote-box{grid-column:span 2}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:span 2}.ad-book{grid-template-columns:1fr}.ad-book__image{order:0}.ad-book__image img{max-height:220px;margin:0}}
@media(max-width:540px){.masthead{min-height:66px}.wordmark img{height:28px}.hero-title{font-size:clamp(42px,13vw,64px)}.hero-grid,.post-grid,.archive-grid{grid-template-columns:1fr}.post-card--lead{grid-column:auto}.post-card--lead .post-card__image{aspect-ratio:1.2}.section-heading{align-items:start;flex-direction:column}.section-heading h2{font-size:42px}.entry-header{text-align:left}.entry-title{font-size:clamp(42px,13vw,64px)}.article-aside__stack{grid-template-columns:1fr}.vote-box{grid-column:auto}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.footer-nav ul{grid-template-columns:1fr}.mega-menu__grid{grid-template-columns:1fr}.search-result{grid-template-columns:56px 1fr}.search-result img{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.post-card__meta span{display:inline-flex;align-items:center;gap:5px}.post-card__meta time{display:inline-flex;align-items:center;gap:5px}.meta-icon{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Article author and sharing module: local Theme 2 treatment. */
.author-card>p,.share-card>p{margin:0 0 12px;line-height:1.35}
.author-card__link{gap:12px}
.author-card__link strong{font-family:var(--body);font-weight:700}
.author-card__link small{font-size:13px}
.elmf-author-avatar{width:72px;height:72px}
.share-card>div,.article-share-links{gap:10px}
.copy-link,.article-share-links a{width:48px;height:48px;border:0;background:#68635d;color:#fff;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.article-share-links .share-facebook{background:#1877f2}
.article-share-links .share-x{background:#111}
.article-share-links .share-linkedin{background:#0a66c2}
.article-share-links .share-whatsapp{background:#25d366}
.copy-link:hover,.article-share-links a:hover{filter:brightness(.86);transform:translateY(-2px);box-shadow:0 3px 0 rgba(17,17,17,.18)}
.copy-link:focus-visible,.article-share-links a:focus-visible{outline:3px solid var(--lime);outline-offset:3px}
.article-share-links svg{width:21px;height:21px}
