:root{
  --ink:#0a0a0a;
  --paper:#f0eee9;
  --card:#fbfaf7;
  --white:#ffffff;
  --muted:#74716b;
  --line:#d7d3ca;
  --soft:#e7e3dc;
  --max:1240px;
  --radius:24px;
  --shadow:0 26px 80px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--paper)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:min(var(--max),calc(100% - 44px));margin-inline:auto}
.narrow{width:min(820px,calc(100% - 44px))}
.eyebrow{display:inline-flex;font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}

.site-header{position:sticky;top:0;z-index:80;background:rgba(240,238,233,.93);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-main{height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px}
.header-side{font-size:10px;font-weight:750;letter-spacing:.18em;color:#5f5c57}
.header-right{text-align:right}
.brand{display:flex;align-items:center;justify-content:center;gap:10px;min-width:230px}
.brand-logo-box{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px}
.brand-logo-box img{width:29px;height:29px;object-fit:contain;filter:brightness(0)}
.brand-fallback{display:none;width:29px;height:29px;background:#000;color:#fff;border-radius:50%;place-items:center;font-weight:900;font-size:10px;letter-spacing:-1px}
.brand-name{font-size:11px;font-weight:800;letter-spacing:.18em;white-space:nowrap}
.nav{height:42px;display:flex;align-items:center;justify-content:center;gap:31px;border-top:1px solid rgba(0,0,0,.06);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.13em}
.nav a{position:relative;padding:4px 0}.nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:0;height:1px;background:#000;transition:.25s}.nav a:hover:after{left:0;right:0}
.menu-btn{display:none;background:#000;color:#fff;border:0;border-radius:999px;padding:10px 14px;font-size:11px;font-weight:800}

.hero{padding:24px 0 22px}
.hero-panel{min-height:590px;background:#0b0b0b;color:#fff;border-radius:30px;padding:26px 32px 30px;display:grid;grid-template-rows:auto 1fr auto;box-shadow:var(--shadow);overflow:hidden;position:relative}
.hero-panel:before,.hero-panel:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #282828;border-radius:50%}
.hero-panel:before{left:-170px;top:120px}.hero-panel:after{right:-160px;bottom:60px}
.hero-topline,.hero-bottomline{display:flex;justify-content:space-between;gap:25px;position:relative;z-index:1;font-size:9px;font-weight:800;letter-spacing:.18em;color:#8d8d8d}
.hero-center{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;z-index:1;padding:30px 0}
.hero-logo{width:74px;height:74px;display:grid;place-items:center;margin-bottom:22px}
.hero-logo img{max-width:70px;max-height:70px;object-fit:contain}
.hero-logo .brand-fallback{width:70px;height:70px;font-size:24px;background:#fff;color:#000}
.hero h1{font-size:clamp(48px,6.9vw,92px);line-height:.94;letter-spacing:-.066em;margin:0;max-width:1050px;font-weight:650}
.hero p{font-size:15px;line-height:1.6;color:#a7a7a7;max-width:610px;margin:24px 0 0}

.feature-section{padding:18px 0 70px}
.section-label{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center;font-size:9px;font-weight:850;letter-spacing:.18em;margin-bottom:16px}
.section-label span:first-child{width:44px;height:28px;border:1px solid #bcb8af;border-radius:999px;display:grid;place-items:center}
.featured-card{display:grid;grid-template-columns:1fr 1fr;background:var(--card);border:1px solid var(--line);border-radius:26px;overflow:hidden;min-height:500px;box-shadow:0 18px 60px rgba(0,0,0,.055);transition:transform .25s ease,box-shadow .25s ease}
.featured-card:hover{transform:translateY(-3px);box-shadow:0 28px 76px rgba(0,0,0,.09)}
.featured-copy{padding:clamp(34px,5vw,70px);display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line)}
.featured-copy .eyebrow{color:#77736b}
.featured-copy h2{font-size:clamp(36px,4.5vw,61px);line-height:.99;letter-spacing:-.055em;margin:16px 0 18px;font-weight:650}
.featured-copy p{font-size:15px;color:#6f6b64;line-height:1.65;max-width:570px;margin:0}
.read-more{margin-top:30px;font-size:10px;font-weight:850;letter-spacing:.14em;display:flex;gap:8px;align-items:center}
.featured-media{background:#121212;min-height:390px;overflow:hidden}.featured-media img{width:100%;height:100%;object-fit:cover}
.typographic{background:#111!important;color:#fff!important;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.typographic:before{content:"";position:absolute;inset:9%;border:1px solid #2c2c2c;border-radius:50%}
.typographic span{font-size:clamp(82px,12vw,168px);font-weight:800;letter-spacing:-.12em;position:relative;z-index:1}

.content-section{padding:10px 0 84px}
.section-head{display:grid;grid-template-columns:1fr 1fr auto;gap:28px;align-items:end;padding:0 0 24px;border-bottom:1px solid #1a1a1a;margin-bottom:22px}
.section-head h2{font-size:clamp(34px,4vw,53px);letter-spacing:-.052em;margin:0;font-weight:650}.section-head p{margin:0;color:#77736b;line-height:1.5;font-size:13px;max-width:390px}.text-link{font-size:10px;font-weight:850;letter-spacing:.12em;white-space:nowrap}
.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.post-card{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;min-width:0;display:grid;grid-template-rows:auto 1fr;transition:transform .25s,box-shadow .25s}.post-card:hover{transform:translateY(-3px);box-shadow:0 20px 50px rgba(0,0,0,.06)}
.post-media{aspect-ratio:16/9;overflow:hidden;background:#111;border-bottom:1px solid var(--line)}.post-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.post-card:hover .post-media img{transform:scale(1.025)}.post-media.typographic span{font-size:88px}
.post-body{display:grid;grid-template-columns:48px 1fr;gap:18px;padding:24px}.post-index{font-size:10px;font-weight:850;letter-spacing:.12em;color:#8d887f;border-right:1px solid var(--line);padding-top:4px}.post-meta{font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#817d75}.post-card h3{font-size:28px;line-height:1.04;letter-spacing:-.045em;margin:10px 0 12px;font-weight:650}.post-card p{font-size:13px;line-height:1.58;color:#6f6b64;margin:0}

.manifesto{background:#111;color:#fff;border-radius:28px;padding:clamp(36px,6vw,72px);margin-bottom:72px;display:grid;grid-template-columns:74px 1fr;gap:30px;align-items:start}.manifesto-number{font-size:11px;font-weight:800;color:#6d6d6d;border-right:1px solid #333;align-self:stretch}.manifesto .eyebrow{color:#8f8f8f}.manifesto p{font-size:clamp(34px,4.8vw,65px);line-height:.99;letter-spacing:-.058em;margin:14px 0 0;max-width:1000px;font-weight:560}

.site-footer{background:#0b0b0b;color:#fff;padding:48px 0 22px}.footer-shell{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px;align-items:center}.footer-mark{display:flex;gap:14px;align-items:center}.footer-logo-box{width:43px;height:43px;display:grid;place-items:center}.footer-logo-box img{max-width:40px;max-height:40px;object-fit:contain}.footer-fallback{display:none;width:40px;height:40px;background:#fff;color:#000;border-radius:50%;place-items:center;font-weight:900}.footer-mark strong{font-size:10px;letter-spacing:.18em}.footer-mark p{margin:6px 0 0;color:#777;font-size:10px;line-height:1.5}.footer-center{text-align:center;font-size:9px;font-weight:800;letter-spacing:.17em;color:#666}.socials{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px 15px}.socials a{font-size:10px;letter-spacing:.08em;color:#cfcfcf;border-bottom:1px solid #444;padding-bottom:3px}.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;margin-top:42px;padding-top:16px;border-top:1px solid #242424;color:#666;font-size:9px;letter-spacing:.08em}.footer-bottom span:nth-child(2){text-align:center}.footer-bottom span:last-child{text-align:right}

.reading-progress{position:fixed;left:0;top:0;height:2px;background:#fff;z-index:200;width:0;mix-blend-mode:difference;pointer-events:none}
.article-stream{padding:22px 0 0}.article{padding:0 0 78px;scroll-margin-top:120px}.article-frame{background:var(--card);border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:0 18px 58px rgba(0,0,0,.045)}
.article-head{background:#0d0d0d;color:#fff;padding:clamp(38px,6vw,82px) clamp(26px,7vw,100px) clamp(34px,5vw,66px);text-align:center;position:relative}.article-head:after{content:"";position:absolute;left:50%;bottom:0;width:1px;height:24px;background:#3a3a3a}.article-kicker-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:9px;font-weight:800;letter-spacing:.14em;color:#8b8b8b;text-transform:uppercase}.article-head .eyebrow{color:#d0d0d0}.article-head h1{font-size:clamp(46px,6.8vw,88px);line-height:.95;letter-spacing:-.065em;margin:30px auto 24px;max-width:1020px;font-weight:620}.article-deck{font-size:17px;color:#a9a9a9;line-height:1.58;max-width:720px;margin:0 auto}.article-byline{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;margin-top:30px;font-size:9px;font-weight:800;letter-spacing:.14em;color:#737373}.article-cover{margin:0;padding:22px}.article-cover img{width:100%;max-height:740px;object-fit:cover;border-radius:20px}.article-content{width:min(760px,calc(100% - 48px));margin:0 auto;padding:64px 0 56px;font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.84;color:#23211e}.article-content p{margin:0 0 1.48em}.article-content h2,.article-content h3{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:-.045em;line-height:1.08;margin:1.9em 0 .7em;color:#111}.article-content h2{font-size:38px}.article-content h3{font-size:28px}.article-content blockquote{margin:2.2em -40px;padding:28px 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:28px;line-height:1.45;text-align:center;font-style:italic}.article-content a{text-decoration:underline;text-underline-offset:4px}.article-end{margin:0 24px 24px;border-top:1px solid var(--line);padding:22px 0 0;display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center}.article-sign{width:46px;height:46px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:850;font-size:13px}.article-end div:last-child{display:grid;gap:4px}.article-end strong{font-size:11px;letter-spacing:.12em;text-transform:uppercase}.article-end span{font-size:10px;color:#77736b}
.stream-transition{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #9f9a90;border-bottom:1px solid #9f9a90;padding:14px 4px;margin:0 auto 22px;font-size:9px;font-weight:850;letter-spacing:.18em}.stream-sentinel{width:min(620px,calc(100% - 44px));margin:6px auto 58px;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}.stream-rule{height:1px;background:#b9b4aa}.stream-text{font-size:9px;font-weight:850;letter-spacing:.18em;color:#6f6b64}.stream-loader,.stream-end{text-align:center;font-size:10px;font-weight:800;letter-spacing:.14em;color:#77736b;padding:0 0 58px;text-transform:uppercase}.stream-loader[hidden],.stream-end[hidden]{display:none}
.about{padding:24px 0 76px}.about{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:clamp(42px,7vw,90px);margin-top:24px;margin-bottom:72px;box-shadow:0 18px 58px rgba(0,0,0,.045)}.about h1{font-size:clamp(44px,6vw,75px);line-height:.98;letter-spacing:-.058em;margin:18px 0 34px}.about p{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.72;color:#292723}.empty{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:46px;color:var(--muted);text-align:center}

@media(max-width:820px){
  .wrap,.narrow{width:min(100% - 24px,var(--max))}
  .header-main{height:64px;grid-template-columns:1fr auto}.header-side{display:none}.brand{justify-content:flex-start;min-width:0}.brand-name{font-size:10px}.menu-btn{display:block}.nav{display:none;height:auto;position:absolute;left:0;right:0;top:64px;background:var(--paper);padding:12px;flex-direction:column;gap:0;border-bottom:1px solid var(--line)}.nav.is-open{display:flex}.nav a{width:100%;text-align:center;padding:13px;font-size:11px}
  .hero{padding:12px 0 16px}.hero-panel{min-height:500px;border-radius:22px;padding:20px 18px}.hero-topline,.hero-bottomline{font-size:8px}.hero-topline span:last-child{display:none}.hero h1{font-size:clamp(46px,14.5vw,66px)}.hero p{font-size:14px;max-width:300px}.hero-logo{width:60px;height:60px}.hero-logo img{max-width:56px;max-height:56px}
  .feature-section{padding-bottom:54px}.featured-card{grid-template-columns:1fr;min-height:0}.featured-media{min-height:270px;order:-1}.featured-copy{padding:28px;border-right:0;border-top:1px solid var(--line)}.featured-copy h2{font-size:37px}.section-head{grid-template-columns:1fr;gap:10px}.section-head p{font-size:12px}.post-grid{grid-template-columns:1fr}.post-body{padding:20px}.post-card h3{font-size:25px}.manifesto{grid-template-columns:34px 1fr;padding:32px 22px}.manifesto p{font-size:36px}
  .footer-shell{grid-template-columns:1fr}.footer-center{text-align:left}.socials{justify-content:flex-start}.footer-bottom{grid-template-columns:1fr;gap:8px}.footer-bottom span:nth-child(2),.footer-bottom span:last-child{text-align:left}
  .article-stream{padding-top:12px}.article{padding-bottom:48px}.article-frame{border-radius:22px}.article-head{padding:36px 20px 34px}.article-kicker-row{font-size:8px}.article-head h1{font-size:44px;margin-top:24px}.article-deck{font-size:16px}.article-byline{gap:8px 16px}.article-cover{padding:12px}.article-cover img{border-radius:15px}.article-content{width:calc(100% - 40px);padding:44px 0 42px;font-size:18px}.article-content h2{font-size:31px}.article-content blockquote{margin:2em -10px;padding:22px 10px;font-size:23px}.article-end{margin:0 18px 18px}.stream-transition{width:calc(100% - 24px)}
  .about{margin-top:12px;padding:38px 24px}.about h1{font-size:46px}.about p{font-size:18px}
}

/* ===== V4 · refinamiento vivo, sin numeración ===== */
.section-label{display:flex;grid-template-columns:none;gap:0;align-items:center;margin-bottom:16px;font-size:9px;font-weight:850;letter-spacing:.2em;text-transform:uppercase}
.section-label span:first-child{width:auto;height:auto;border:0;border-radius:0;display:inline-flex;place-items:unset;padding:0}
.section-label:before{content:"";width:34px;height:1px;background:#171717;margin-right:12px;opacity:.8}
.post-body{display:block;padding:24px}
.post-index,.manifesto-number{display:none!important}
.manifesto{grid-template-columns:1fr;gap:0}

/* Logo real como reemplazo de imágenes */
.logo-placeholder{position:relative;background:#0d0d0d!important;display:grid!important;place-items:center;overflow:hidden}
.logo-placeholder:before{content:"";position:absolute;width:68%;aspect-ratio:1;border:1px solid rgba(255,255,255,.08);border-radius:50%;animation:logoRing 12s linear infinite}
.logo-placeholder:after{content:"";position:absolute;width:42%;aspect-ratio:1;border:1px solid rgba(255,255,255,.05);border-radius:50%;animation:logoRing 9s linear infinite reverse}
.logo-placeholder img,.logo-placeholder .placeholder-logo{position:relative;z-index:2;width:min(34%,180px)!important;height:auto!important;object-fit:contain!important;filter:none!important;opacity:.98;transition:transform .5s ease,opacity .5s ease}
.featured-card:hover .logo-placeholder img,.post-card:hover .logo-placeholder img{transform:scale(1.045);opacity:1}
@keyframes logoRing{0%{transform:rotate(0deg) scale(.98)}50%{transform:rotate(180deg) scale(1.04)}100%{transform:rotate(360deg) scale(.98)}}

/* Portada viva, sutil y premium */
.hero-panel{--mx:50%;--my:50%}
.hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,.075),transparent 27%);transition:background .18s linear}
.hero-panel:before{animation:orbOne 16s ease-in-out infinite alternate}
.hero-panel:after{animation:orbTwo 19s ease-in-out infinite alternate}
.hero-logo{animation:logoFloat 5.6s ease-in-out infinite}
.hero-logo img{filter:none;filter:drop-shadow(0 8px 24px rgba(255,255,255,.06))}
.hero h1{transition:letter-spacing .45s ease}
.hero-panel:hover h1{letter-spacing:-.06em}
@keyframes orbOne{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(32px,-18px,0) scale(1.08)}}
@keyframes orbTwo{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-28px,22px,0) scale(.94)}}
@keyframes logoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

/* Entrada de secciones */
.reveal-on-scroll{opacity:0;transform:translateY(18px);transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)}
.reveal-on-scroll.is-visible{opacity:1;transform:translateY(0)}

/* Tarjetas con sensación física muy discreta */
.live-card{transform:perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(0);transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease}
.live-card:hover{transform:perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px)}
.read-more span{display:inline-block;transition:transform .25s ease}.featured-card:hover .read-more span{transform:translate(3px,-3px)}

/* Artículos: si no hay portada, mostrar logo blanco */
.article-cover-placeholder{min-height:430px;margin:22px;border-radius:20px;padding:0}
.article-cover-placeholder img{width:min(23%,165px)!important}
.article-sign{overflow:hidden}.article-sign img{width:25px;height:25px;object-fit:contain;filter:none}
.article-head{overflow:hidden}
.article-head-glow{position:absolute;inset:-35%;pointer-events:none;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.055),transparent 36%);animation:articleGlow 8s ease-in-out infinite alternate}
.article-head>*:not(.article-head-glow){position:relative;z-index:1}
@keyframes articleGlow{from{transform:translate3d(-3%,0,0) scale(.96)}to{transform:translate3d(3%,1%,0) scale(1.04)}}

/* Limpieza de fallbacks tipográficos antiguos */
.typographic{background:#111!important}
.typographic span{display:none!important}
.brand-fallback,.footer-fallback{display:none!important}

@media(max-width:820px){
  .section-label:before{width:24px;margin-right:10px}
  .logo-placeholder img,.logo-placeholder .placeholder-logo{width:min(31%,120px)!important}
  .article-cover-placeholder{min-height:260px;margin:12px}
  .article-cover-placeholder img{width:min(28%,105px)!important}
  .hero-panel:hover h1{letter-spacing:-.066em}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
  .reveal-on-scroll{opacity:1;transform:none}
}

/* ===== V5 · imagen editorial integrada y contenido enriquecido ===== */
.article-cover,.article-cover-placeholder{display:none!important}
.article-content{padding-top:58px}
.article-content .article-inline-media{margin:2.3em -88px 2.5em;position:relative}
.article-content .article-inline-media img{display:block;width:100%;height:auto;max-height:760px;object-fit:cover;border-radius:22px;box-shadow:0 18px 54px rgba(0,0,0,.09)}
.article-content .article-primary-media{margin-top:2em}
.article-content figure figcaption{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:10px;line-height:1.5;letter-spacing:.06em;color:#8b867e;margin-top:10px;text-align:center}
.article-content img:not(.article-sign img){max-width:100%;height:auto}
.article-content iframe,.article-content video{display:block;width:100%;max-width:100%;border:0;border-radius:18px;margin:2em auto;min-height:420px;background:#111}
.article-content pre{overflow:auto;background:#111;color:#f5f5f5;padding:22px;border-radius:16px;font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;margin:2em 0}
.article-content code{font:0.9em/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#f1efe9;padding:.12em .35em;border-radius:5px}
.article-content pre code{background:transparent;padding:0;color:inherit}
.article-content table{width:100%;border-collapse:collapse;margin:2em 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px}
.article-content th,.article-content td{border-bottom:1px solid var(--line);padding:12px 10px;text-align:left}
.article-content div,.article-content span{max-width:100%}

@media(max-width:980px){
  .article-content .article-inline-media{margin-left:-34px;margin-right:-34px}
}
@media(max-width:820px){
  .article-content{padding-top:40px}
  .article-content .article-inline-media{margin:1.9em -10px 2.1em}
  .article-content .article-inline-media img{border-radius:16px}
  .article-content iframe,.article-content video{min-height:240px;border-radius:14px}
}

/* ===== V6 · slider editorial, autor y SEO visual ===== */
.hero-panel{min-height:620px}
.hero-slider-stage{position:relative;z-index:2;min-height:480px;display:grid;align-items:center}
.hero-slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);gap:54px;align-items:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1),visibility .7s}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.hero-slide-copy{text-align:left;padding:48px 24px 48px 4vw}
.hero-slide-meta{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:24px;font-size:9px;font-weight:850;letter-spacing:.18em;text-transform:uppercase;color:#8e8e8e}
.hero-slide-meta span+span:before{content:"";display:inline-block;width:18px;height:1px;background:#555;margin:0 18px 3px 0}
.hero-slide h1,.hero-slide h2{font-size:clamp(48px,5.8vw,82px);max-width:820px;text-align:left;line-height:.94;letter-spacing:-.066em;margin:0;font-weight:650}.hero-slide h2{margin:0}
.hero-slide h1 a,.hero-slide h2 a{display:block}
.hero-slide p{margin:24px 0 0;text-align:left;max-width:650px;color:#a7a7a7;font-size:15px;line-height:1.65}
.hero-read{display:inline-flex;gap:9px;align-items:center;margin-top:30px;font-size:9px;font-weight:850;letter-spacing:.17em;color:#fff}
.hero-read span{transition:transform .25s ease}.hero-read:hover span{transform:translate(3px,-3px)}
.hero-slide-media{height:390px;border-radius:22px;overflow:hidden;border:1px solid #292929;background:#111;box-shadow:0 20px 70px rgba(0,0,0,.28)}
.hero-slide-media>img:not(.placeholder-logo){width:100%;height:100%;object-fit:cover}
.hero-slide-media.logo-placeholder img{width:min(42%,180px)!important}
.hero-slider-footer{position:relative;z-index:3;display:grid;grid-template-columns:1fr auto;align-items:end;gap:24px}
.hero-slider-footer .hero-bottomline{display:flex;justify-content:flex-start;gap:26px}
.hero-slider-controls{display:flex;align-items:center;gap:13px}
.hero-slider-controls>button{width:34px;height:34px;border:1px solid #343434;background:transparent;color:#fff;border-radius:50%;cursor:pointer;transition:.25s}
.hero-slider-controls>button:hover{background:#fff;color:#111;border-color:#fff}
.hero-slider-dots{display:flex;align-items:center;gap:7px}
.hero-slider-dots button{width:18px;height:2px;border:0;padding:0;background:#484848;cursor:pointer;transition:width .25s,background .25s}
.hero-slider-dots button.is-active{width:34px;background:#fff}
.category-hero{padding-bottom:10px}.category-hero-panel{background:#0d0d0d;color:#fff;border-radius:28px;padding:clamp(48px,8vw,100px);text-align:center;box-shadow:var(--shadow)}
.category-hero-panel h1{font-size:clamp(54px,8vw,100px);letter-spacing:-.065em;line-height:.92;margin:18px 0 16px;font-weight:650}.category-hero-panel p{color:#999;margin:0}

/* Perfil real de Flavio debajo de cada nota */
.article-author-card{margin:0 24px 24px;border-top:1px solid var(--line);padding:28px 0 4px;display:grid;grid-template-columns:92px 1fr;gap:24px;align-items:center}
.article-author-photo{width:92px;height:92px;border-radius:50%;overflow:hidden;background:#ddd;box-shadow:0 9px 30px rgba(0,0,0,.1)}
.article-author-photo img{width:100%;height:100%;object-fit:cover}
.article-author-copy{display:grid;gap:7px;max-width:650px}.article-author-copy .eyebrow{color:#8a857c}.article-author-copy strong{font-size:21px;letter-spacing:-.025em}.article-author-copy p{font-size:13px;line-height:1.6;color:#6f6b64;margin:0}.article-author-copy>a{font-size:9px;font-weight:850;letter-spacing:.16em;margin-top:4px}
.article-end{display:none!important}

@media(max-width:920px){
  .hero-slider-stage{min-height:560px}.hero-slide{grid-template-columns:1fr;gap:22px}.hero-slide-copy{padding:32px 10px 10px}.hero-slide h1,.hero-slide h2{font-size:clamp(42px,11vw,62px)}.hero-slide-media{height:220px}.hero-slide-media.logo-placeholder{display:none!important}.hero-slider-footer{grid-template-columns:1fr auto}
}
@media(max-width:820px){
  .hero-panel{min-height:610px}.hero-slider-stage{min-height:500px}.hero-slide{gap:12px}.hero-slide-copy{padding:24px 0 8px}.hero-slide-meta{margin-bottom:18px}.hero-slide h1,.hero-slide h2{font-size:clamp(42px,13vw,58px);line-height:.95}.hero-slide p{font-size:13px;margin-top:18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero-read{margin-top:21px}.hero-slide-media{height:185px;border-radius:16px}.hero-slider-footer{grid-template-columns:1fr}.hero-slider-controls{justify-content:flex-end}.hero-slider-footer .hero-bottomline{display:none}.article-author-card{grid-template-columns:68px 1fr;gap:16px;margin:0 18px 18px;padding-top:22px}.article-author-photo{width:68px;height:68px}.article-author-copy p{font-size:12px}.article-author-copy strong{font-size:18px}
}
.about-profile{width:118px;height:118px;border-radius:50%;overflow:hidden;margin:0 auto 28px;box-shadow:0 14px 40px rgba(0,0,0,.12)}.about-profile img{width:100%;height:100%;object-fit:cover}


/* ===== V7 · navegación limpia, simétrica y sin textos redundantes ===== */
.header-main{height:74px;display:flex;align-items:center;justify-content:center;position:relative}
.header-side,.brand-name{display:none!important}
.brand{min-width:0;gap:0}
.brand-logo-box{width:54px;height:38px;display:grid;place-items:center}
.brand-logo-box img{width:52px;height:34px;object-fit:contain;filter:brightness(0)}
.menu-btn{position:absolute;right:0}
.nav{gap:42px}
.hero-topline-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;border-bottom:1px solid #242424;padding-bottom:18px}
.hero-topline-categories span{white-space:nowrap}
.hero-slider-footer{grid-template-columns:1fr;justify-items:end}
.hero-slider-controls>button{width:auto;height:auto;border:0;border-radius:0;padding:9px 0;background:transparent;color:#8b8b8b;font-size:8px;font-weight:850;letter-spacing:.16em}
.hero-slider-controls>button:hover{background:transparent;color:#fff}
.hero-read{border-bottom:1px solid #505050;padding-bottom:5px}
.section-head-home{grid-template-columns:1fr}
.footer-shell{grid-template-columns:1fr auto}
.footer-mark p{margin:0;color:#9a9a9a;font-size:10px;line-height:1.5;letter-spacing:.06em}
.footer-center{display:none!important}
.footer-bottom{grid-template-columns:1fr auto}
.footer-bottom span:last-child{text-align:right}
@media(max-width:820px){
  .header-main{justify-content:flex-start}
  .brand-logo-box{width:48px;height:34px}.brand-logo-box img{width:46px;height:31px}
  .menu-btn{display:block;right:0}
  .hero-topline-categories{grid-template-columns:1fr 1fr;row-gap:10px;font-size:7px;padding-bottom:14px}
  .hero-slider-controls{justify-content:space-between;width:100%}
  .footer-shell{grid-template-columns:1fr}.footer-bottom{grid-template-columns:1fr;gap:8px}.footer-bottom span:last-child{text-align:left}
}

/* ===== V8 · compartir, relacionados y cumplimiento editorial ===== */
.article-share,.related-posts{margin:0 24px 24px;border-top:1px solid var(--line);padding-top:28px}
.article-share-head{display:flex;align-items:center;gap:16px}.share-line{height:1px;background:var(--line);flex:1}
.share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.share-actions a,.share-actions button{appearance:none;border:1px solid #d8d4cc;background:#fff;color:#111;border-radius:999px;padding:10px 15px;font:800 9px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase;cursor:pointer;transition:.2s ease}
.share-actions a:hover,.share-actions button:hover{background:#111;color:#fff;border-color:#111;transform:translateY(-1px)}
.related-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.related-heading>span:last-child{font-size:11px;color:#88837b}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.related-card{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .2s ease,box-shadow .2s ease}.related-card:hover{box-shadow:0 18px 45px rgba(0,0,0,.07)}
.related-media{display:grid;place-items:center;aspect-ratio:16/10;background:#111;overflow:hidden}.related-media>img:not([alt=""]){width:100%;height:100%;object-fit:cover}.related-media.logo-placeholder img{width:min(36%,100px)!important;height:auto!important;object-fit:contain!important;filter:none!important}
.related-copy{padding:16px}.related-copy>span{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#8b867e;font-weight:800}.related-copy h3{font-size:18px;line-height:1.08;letter-spacing:-.03em;margin:8px 0 0}

/* Páginas legales */
.legal-page{padding:86px 0 120px}.legal-page h1{font-size:clamp(48px,7vw,78px);line-height:.95;letter-spacing:-.055em;margin:18px 0 16px}.legal-updated{color:#8b867e;font-size:12px;margin:0 0 54px}.legal-page h2{font-size:25px;letter-spacing:-.035em;margin:42px 0 12px}.legal-page p,.legal-page li{font-size:17px;line-height:1.72;color:#4f4b45}.legal-page a{text-decoration:underline;text-underline-offset:3px}.legal-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px}.legal-table{width:100%;border-collapse:collapse;min-width:620px}.legal-table th,.legal-table td{text-align:left;padding:16px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.55}.legal-table th{font-size:9px;letter-spacing:.12em;text-transform:uppercase}.legal-table tr:last-child td{border-bottom:0}
.contact-page p{font-size:20px}.contact-primary{display:inline-block;font-size:24px;font-weight:700;margin:22px 0 28px}.contact-links{display:flex;flex-wrap:wrap;gap:10px}.contact-links a{border:1px solid var(--line);text-decoration:none;border-radius:999px;padding:11px 16px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

/* Footer legal */
.footer-legal{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;padding-top:28px;margin-top:30px;border-top:1px solid #252525}.footer-legal a,.footer-legal button{color:#9d9d9d;background:none;border:0;padding:0;font:700 9px/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}.footer-legal a:hover,.footer-legal button:hover{color:#fff}

/* Aviso de cookies */
.cookie-banner[hidden]{display:none!important}.cookie-banner{position:fixed;z-index:200;left:18px;right:18px;bottom:18px;display:flex;justify-content:center}.cookie-banner-inner{width:min(980px,100%);background:rgba(15,15,15,.97);color:#fff;border:1px solid #2d2d2d;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.28);padding:20px 22px;display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center;backdrop-filter:blur(18px)}.cookie-copy strong{display:block;font-size:14px;margin-bottom:5px}.cookie-copy p{margin:0;color:#aaa;font-size:11px;line-height:1.55;max-width:650px}.cookie-actions{display:flex;align-items:center;gap:8px}.cookie-actions a,.cookie-actions button{border:1px solid #393939;background:transparent;color:#fff;border-radius:999px;padding:10px 13px;font:800 8px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase;cursor:pointer;white-space:nowrap}.cookie-actions .cookie-accept{background:#fff;color:#111;border-color:#fff}.cookie-actions .cookie-reject{color:#bbb}

@media(max-width:820px){
  .article-share,.related-posts{margin:0 18px 20px;padding-top:22px}.related-heading{align-items:flex-start;flex-direction:column;gap:5px}.related-grid{grid-template-columns:1fr}.related-card{display:grid;grid-template-columns:112px 1fr}.related-media{aspect-ratio:1/1}.related-copy{padding:14px}.related-copy h3{font-size:17px}.legal-page{padding:62px 0 90px}.legal-page p,.legal-page li{font-size:16px}.cookie-banner{left:10px;right:10px;bottom:10px}.cookie-banner-inner{grid-template-columns:1fr;gap:15px;padding:17px}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-actions a{grid-column:1/-1;text-align:center;order:3}.cookie-actions button{width:100%}.footer-legal{gap:12px 18px}
}

/* ===== V9 · buscador premium en navegación ===== */
.nav-search-trigger{appearance:none;border:0;background:transparent;color:#111;display:inline-flex;align-items:center;gap:9px;padding:4px 0;font:800 10px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;cursor:pointer;position:relative}
.nav-search-trigger:after{content:"";position:absolute;left:50%;right:50%;bottom:0;height:1px;background:#000;transition:.25s}.nav-search-trigger:hover:after{left:0;right:0}
.search-icon{width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%;display:inline-block;position:relative;flex:0 0 auto}.search-icon:after{content:"";position:absolute;width:5px;height:1.5px;background:currentColor;right:-4px;bottom:-2px;transform:rotate(45deg);transform-origin:left center;border-radius:999px}.search-icon-large{width:20px;height:20px;border-width:1.7px}.search-icon-large:after{width:8px;height:1.7px;right:-6px;bottom:-3px}
.search-overlay[hidden]{display:none!important}.search-overlay{position:fixed;inset:0;z-index:180;display:grid;align-items:start;padding:88px 18px 24px;overflow:auto}.search-overlay-backdrop{position:absolute;inset:0;background:rgba(10,10,10,.66);backdrop-filter:blur(12px)}.search-dialog{position:relative;width:min(980px,100%);margin:0 auto;background:#f7f5f0;border:1px solid rgba(255,255,255,.16);border-radius:26px;box-shadow:0 34px 110px rgba(0,0,0,.28);padding:24px;animation:searchDialogIn .28s cubic-bezier(.22,1,.36,1)}
@keyframes searchDialogIn{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:none}}
body.search-open{overflow:hidden}.search-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 2px 18px}.search-dialog-label{font-size:9px;font-weight:850;letter-spacing:.19em}.search-close{appearance:none;border:0;background:transparent;padding:5px 0;color:#6f6b64;font:800 9px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;cursor:pointer}.search-close:hover{color:#111}
.search-form,.search-page-form{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #d6d2c9;border-radius:18px;padding:12px 14px 12px 18px;box-shadow:0 9px 32px rgba(0,0,0,.035)}.search-form input,.search-page-form input{min-width:0;width:100%;border:0!important;outline:0!important;background:transparent!important;padding:11px 4px!important;font-size:clamp(21px,3vw,34px)!important;font-weight:600;letter-spacing:-.035em;color:#111;box-shadow:none!important}.search-form input::placeholder,.search-page-form input::placeholder{color:#aaa59d}.search-form button,.search-page-form button{appearance:none;border:0;background:#111;color:#fff;border-radius:999px;padding:12px 18px;font:800 9px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.search-live{min-height:88px;padding-top:18px}.search-live-intro,.search-live-empty,.search-live-loading{padding:18px 5px;color:#7b766e;font-size:12px;line-height:1.6}.search-live-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.search-live-card{display:grid;grid-template-columns:96px 1fr;min-width:0;gap:14px;align-items:center;background:#fff;border:1px solid #dfdbd2;border-radius:15px;padding:9px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.search-live-card:hover{transform:translateY(-1px);border-color:#bdb8af;box-shadow:0 12px 34px rgba(0,0,0,.055)}.search-live-media{width:96px;height:74px;border-radius:10px;overflow:hidden;background:#111;display:grid;place-items:center}.search-live-media img{width:100%;height:100%;object-fit:cover}.search-live-media.is-placeholder img{width:42%!important;height:auto!important;object-fit:contain!important}.search-live-copy{min-width:0}.search-live-meta{font-size:8px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#8a857d;margin-bottom:7px}.search-live-title{font-size:16px;line-height:1.08;letter-spacing:-.03em;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.search-live-more{display:flex;justify-content:flex-end;padding-top:14px}.search-live-more a{font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;border-bottom:1px solid #aaa49b;padding-bottom:3px}

.search-page{padding:42px 0 100px}.search-page-shell{display:grid;gap:30px}.search-page-head{background:#111;color:#fff;border-radius:28px;padding:clamp(36px,7vw,82px);position:relative;overflow:hidden}.search-page-head:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #2b2b2b;border-radius:50%;right:-160px;top:-170px}.search-page-head>*{position:relative;z-index:1}.search-page-head .eyebrow{color:#8e8e8e}.search-page-head h1{font-size:clamp(46px,6.5vw,82px);line-height:.94;letter-spacing:-.06em;margin:18px 0 34px;max-width:900px;font-weight:620}.search-page-form{max-width:820px;background:#1a1a1a;border-color:#303030;box-shadow:none}.search-page-form input{color:#fff!important}.search-page-form input::placeholder{color:#777}.search-page-form .search-icon{color:#fff}.search-page-form button{background:#fff;color:#111}.search-count{margin-top:18px;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#8b8b8b}
.search-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.search-result-card{display:grid;grid-template-columns:190px 1fr;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;min-height:190px}.search-result-media{min-height:190px;background:#111;display:grid;place-items:center;overflow:hidden}.search-result-media>img:not(.placeholder-logo){width:100%;height:100%;object-fit:cover}.search-result-media.logo-placeholder img{width:min(42%,100px)!important;height:auto!important}.search-result-copy{padding:24px;display:flex;flex-direction:column;justify-content:center;min-width:0}.search-result-copy h2{font-size:27px;line-height:1.02;letter-spacing:-.04em;margin:9px 0 10px;font-weight:650}.search-result-copy p{font-size:12px;line-height:1.6;color:#6f6b64;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.search-result-link{margin-top:18px;font-size:8px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;width:max-content;border-bottom:1px solid #9f9a91;padding-bottom:4px}.search-empty-state{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:44px}.search-empty-state strong{display:block;font-size:28px;letter-spacing:-.035em}.search-empty-state p{color:#77736b;line-height:1.65;max-width:600px;margin:10px 0 0}

@media(max-width:820px){
  .nav-search-trigger{width:100%;justify-content:center;padding:13px;font-size:11px}.nav-search-trigger:after{display:none}
  .search-overlay{padding:74px 10px 10px}.search-dialog{border-radius:20px;padding:16px}.search-form,.search-page-form{grid-template-columns:auto 1fr;padding:9px 14px}.search-form button,.search-page-form button{display:none}.search-form input,.search-page-form input{font-size:24px!important;padding:10px 2px!important}.search-live-results{grid-template-columns:1fr}.search-live-card{grid-template-columns:76px 1fr}.search-live-media{width:76px;height:64px}.search-live-title{font-size:15px}
  .search-page{padding:20px 0 72px}.search-page-head{border-radius:22px;padding:34px 20px}.search-page-head h1{font-size:clamp(42px,12vw,58px);margin-bottom:26px}.search-results-grid{grid-template-columns:1fr}.search-result-card{grid-template-columns:112px 1fr;min-height:138px}.search-result-media{min-height:138px}.search-result-copy{padding:17px}.search-result-copy h2{font-size:20px}.search-result-copy p{display:none}.search-empty-state{padding:28px}.search-empty-state strong{font-size:23px}
}


/* ===== V10 · lupa limpia + slider compacto y simétrico ===== */
.nav-search-trigger{
  width:34px;height:34px;padding:0!important;border:1px solid transparent!important;border-radius:50%!important;
  display:grid!important;place-items:center;gap:0!important;flex:0 0 34px;transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.nav-search-trigger:after{display:none!important}
.nav-search-trigger:hover{background:#f1efe9!important;border-color:#e0ddd6!important;transform:translateY(-1px)}
.nav-search-trigger .search-icon{width:15px;height:15px;border-width:1.6px}
.nav-search-trigger .search-icon:after{width:6px;right:-5px;bottom:-3px;height:1.6px}
.hero{padding:18px 0 22px}
.hero>.hero-panel{width:min(1080px,calc(100% - 40px));min-height:0;height:clamp(430px,calc(100svh - 160px),540px);max-height:540px;padding:24px 28px 24px;border-radius:28px}
.hero-slider-stage{min-height:0;height:100%;padding-bottom:54px}
.hero-slide{grid-template-columns:minmax(0,1.16fr) minmax(280px,.84fr);gap:38px;min-height:0}
.hero-slide-copy{padding:24px 12px 24px 28px}
.hero-slide h1,.hero-slide h2{font-size:clamp(40px,4.5vw,66px);max-width:700px;line-height:.95}
.hero-slide p{font-size:13px;line-height:1.55;max-width:570px;margin-top:18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hero-slide-meta{margin-bottom:17px}
.hero-read{margin-top:20px}
.hero-slide-media{height:min(330px,42svh);border-radius:19px}
.hero-slider-footer{position:absolute;left:28px;right:28px;bottom:20px}
@media(max-width:1100px){
  .hero>.hero-panel{width:min(960px,calc(100% - 32px))}
  .hero-slide{grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);gap:28px}
  .hero-slide-copy{padding-left:18px}
}
@media(max-width:820px){
  .nav-search-trigger{width:38px!important;height:38px!important;padding:0!important;margin-inline:auto}
  .hero{padding:10px 0 16px}
  .hero>.hero-panel{width:calc(100% - 20px);height:auto;max-height:none;min-height:520px;padding:18px 16px 18px;border-radius:22px}
  .hero-slider-stage{height:auto;min-height:430px;padding-bottom:58px}
  .hero-slide{grid-template-columns:1fr;gap:12px;align-content:center}
  .hero-slide-copy{padding:14px 2px 4px}
  .hero-slide h1,.hero-slide h2{font-size:clamp(38px,11vw,54px)}
  .hero-slide p{-webkit-line-clamp:2;font-size:12px}
  .hero-slide-media{height:170px}
  .hero-slider-footer{left:16px;right:16px;bottom:14px}
}


/* ===== V14 · slider editorial full-bleed + banners vivos ===== */

/* Slider: imagen detrás de todo el contenido */
.hero>.hero-panel{
  width:min(1040px,calc(100% - 42px));
  height:clamp(390px,calc(100svh - 185px),500px);
  max-height:500px;
  min-height:390px;
  padding:0;
  border-radius:28px;
  background:#0b0b0b;
}
.hero-panel:before,.hero-panel:after{display:none!important}
.hero-slider-stage{
  height:100%;
  min-height:0;
  padding:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  min-height:0;
  padding:clamp(28px,5vw,58px);
  overflow:hidden;
  isolation:isolate;
}
.hero-slide:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(0,0,0,.84) 0%,rgba(0,0,0,.58) 44%,rgba(0,0,0,.24) 72%,rgba(0,0,0,.18) 100%),
    linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,0) 58%);
  pointer-events:none;
}
.hero-slide-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#111!important;
}
.hero-slide-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.01);
  transition:transform 7s ease;
}
.hero-slide.is-active .hero-slide-media img{transform:scale(1.055)}
.hero-slide-media.logo-placeholder{
  display:grid!important;
  place-items:center!important;
}
.hero-slide-media.logo-placeholder img{
  width:min(24%,180px)!important;
  height:auto!important;
  object-fit:contain!important;
  filter:none!important;
  transform:none!important;
  opacity:.95;
}
.hero-slide.no-cover:after{
  background:
    radial-gradient(circle at 70% 30%,rgba(255,255,255,.07),transparent 35%),
    linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.66));
}
.hero-slide-copy{
  position:relative!important;
  z-index:2!important;
  width:min(690px,78%);
  padding:0!important;
  margin:0;
  align-self:flex-end;
  text-shadow:0 2px 22px rgba(0,0,0,.18);
}
.hero-slide-meta{
  margin:0 0 14px!important;
  color:rgba(255,255,255,.75)!important;
}
.hero-slide h1,.hero-slide h2{
  font-size:clamp(30px,3.7vw,50px)!important;
  line-height:.99!important;
  letter-spacing:-.048em!important;
  max-width:680px!important;
  margin:0!important;
  font-weight:620!important;
  text-wrap:balance;
}
.hero-slide p{
  margin:15px 0 0!important;
  color:rgba(255,255,255,.78)!important;
  font-size:12px!important;
  line-height:1.52!important;
  max-width:560px!important;
  -webkit-line-clamp:2!important;
}
.hero-read{
  margin-top:18px!important;
  color:#fff!important;
  border-bottom-color:rgba(255,255,255,.55)!important;
}
.hero-slider-footer{
  z-index:4!important;
  left:auto!important;
  right:24px!important;
  bottom:22px!important;
  width:auto!important;
}
.hero-slider-controls{
  background:rgba(10,10,10,.54);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:8px 11px;
  backdrop-filter:blur(14px);
}
.hero-slider-controls button{color:#fff!important}
.hero-slider-dots button{background:rgba(255,255,255,.35)!important}
.hero-slider-dots button.is-active{background:#fff!important}

/* Tarjetas convertidas en banners: la foto ocupa todo el fondo */
.post-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.post-card{
  position:relative;
  min-height:360px;
  display:flex!important;
  align-items:flex-end;
  overflow:hidden;
  border:0!important;
  background:#111!important;
  color:#fff;
  box-shadow:0 18px 56px rgba(0,0,0,.08);
  isolation:isolate;
}
.post-card:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(0deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.5) 46%,rgba(0,0,0,.08) 82%);
  pointer-events:none;
}
.post-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  border:0!important;
  background:#111!important;
}
.post-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transition:transform .55s cubic-bezier(.2,.7,.2,1)!important;
}
.post-card:hover .post-media img{transform:scale(1.045)!important}
.post-media.logo-placeholder{
  display:grid!important;
  place-items:center!important;
}
.post-media.logo-placeholder img{
  width:min(28%,128px)!important;
  height:auto!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:.92;
}
.post-body{
  position:relative;
  z-index:2;
  display:block!important;
  width:100%;
  padding:28px!important;
  background:transparent!important;
}
.post-meta{color:rgba(255,255,255,.68)!important}
.post-card h3{
  color:#fff!important;
  font-size:clamp(25px,2.6vw,36px)!important;
  line-height:1.02!important;
  max-width:580px;
  margin:10px 0 10px!important;
  text-wrap:balance;
}
.post-card p{
  color:rgba(255,255,255,.74)!important;
  max-width:530px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Estado vacío del editor / publicación: nunca permitir una nota aparentemente vacía */
.rich-editor:empty:before{
  content:"Empieza a escribir tu publicación…";
  color:#aaa59d;
  pointer-events:none;
}
.editor-status.error{
  color:#b42318;
  background:#fff1f0;
  border-radius:10px;
  padding:10px 12px;
  margin-top:10px;
}

@media(max-width:820px){
  .hero>.hero-panel{
    width:calc(100% - 20px);
    min-height:410px;
    height:min(72svh,470px);
    max-height:470px;
    padding:0;
    border-radius:22px;
  }
  .hero-slider-stage{min-height:0;height:100%;padding:0}
  .hero-slide{
    padding:24px 20px 64px;
    align-items:flex-end;
  }
  .hero-slide:after{
    background:
      linear-gradient(0deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.66) 46%,rgba(0,0,0,.18) 100%);
  }
  .hero-slide-copy{width:100%}
  .hero-slide h1,.hero-slide h2{
    font-size:clamp(29px,8.6vw,42px)!important;
    line-height:1!important;
  }
  .hero-slide p{
    font-size:11.5px!important;
    -webkit-line-clamp:2!important;
  }
  .hero-slide-media{height:100%!important}
  .hero-slider-footer{
    left:18px!important;
    right:18px!important;
    bottom:14px!important;
  }
  .hero-slider-controls{width:100%;justify-content:space-between}
  .post-grid{grid-template-columns:1fr}
  .post-card{min-height:320px}
  .post-body{padding:22px!important}
  .post-card h3{font-size:29px!important}
}



/* ===== V15 · corrección visual definitiva ===== */

.reveal-on-scroll,
.reveal-on-scroll.is-visible{
  opacity:1!important;
  transform:none!important;
}

.hero{padding:20px 0 28px!important}
.hero>.hero-panel{
  width:min(980px,calc(100% - 40px))!important;
  height:430px!important;
  min-height:430px!important;
  max-height:430px!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:26px!important;
  background:#0b0b0b!important;
  box-shadow:0 24px 70px rgba(0,0,0,.12)!important;
}
.hero-slider-stage{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.hero-slide{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:none!important;
  overflow:hidden!important;
  transition:opacity .55s ease,visibility .55s ease!important;
}
.hero-slide.is-active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.hero-slide-media{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background-color:#111!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  overflow:hidden!important;
  z-index:0!important;
  transform:scale(1.002);
  transition:transform 7s ease!important;
}
.hero-slide.is-active .hero-slide-media{transform:scale(1.035)}
.hero-slide:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.54) 44%,rgba(0,0,0,.14) 76%),
    linear-gradient(0deg,rgba(0,0,0,.68) 0%,rgba(0,0,0,.04) 68%)!important;
}
.hero-slide-copy{
  position:absolute!important;
  z-index:2!important;
  left:42px!important;
  right:42px!important;
  bottom:38px!important;
  width:min(620px,calc(100% - 84px))!important;
  max-height:330px!important;
  padding:0!important;
  margin:0!important;
  display:block!important;
  overflow:visible!important;
  text-align:left!important;
}
.hero-slide-meta{
  margin:0 0 12px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:9px!important;
}
.hero-slide h1,.hero-slide h2{
  margin:0!important;
  max-width:620px!important;
  color:#fff!important;
  font-size:clamp(31px,3.2vw,44px)!important;
  line-height:1.01!important;
  letter-spacing:-.045em!important;
  font-weight:620!important;
  text-wrap:balance!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.hero-slide p{
  max-width:520px!important;
  margin:13px 0 0!important;
  color:rgba(255,255,255,.78)!important;
  font-size:12px!important;
  line-height:1.48!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.hero-read{
  display:inline-block!important;
  margin-top:17px!important;
  color:#fff!important;
  font-size:9px!important;
  letter-spacing:.16em!important;
}
.hero-slider-footer{
  position:absolute!important;
  z-index:5!important;
  right:20px!important;
  bottom:18px!important;
  left:auto!important;
  width:auto!important;
  display:block!important;
}
.hero-slider-controls{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:7px 10px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:999px!important;
  background:rgba(10,10,10,.5)!important;
  backdrop-filter:blur(14px)!important;
}
.hero-slider-controls>button{
  color:#fff!important;
  font-size:7px!important;
  letter-spacing:.12em!important;
}
.hero-slider-dots button{background:rgba(255,255,255,.35)!important}
.hero-slider-dots button.is-active{background:#fff!important}
.hero-slide-media.logo-placeholder{
  display:grid!important;
  place-items:center!important;
}
.hero-slide-media.logo-placeholder img{
  width:min(22%,150px)!important;
  height:auto!important;
  object-fit:contain!important;
  opacity:.98!important;
  filter:none!important;
}

.post-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.post-card{
  position:relative!important;
  min-height:330px!important;
  display:block!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:22px!important;
  background:#111!important;
  color:#fff!important;
  isolation:isolate!important;
  box-shadow:0 18px 50px rgba(0,0,0,.08)!important;
}
.post-card:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.52) 48%,rgba(0,0,0,.05) 86%)!important;
}
.post-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background-color:#111!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  transform:scale(1.002)!important;
  transition:transform .55s cubic-bezier(.22,1,.36,1)!important;
}
.post-card:hover .post-media{transform:scale(1.035)!important}
.post-body{
  position:absolute!important;
  z-index:2!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  padding:26px!important;
  background:transparent!important;
  color:#fff!important;
}
.post-meta{color:rgba(255,255,255,.68)!important}
.post-card h3{
  margin:9px 0 9px!important;
  max-width:540px!important;
  color:#fff!important;
  font-size:clamp(24px,2.4vw,34px)!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
  text-wrap:balance!important;
}
.post-card p{
  margin:0!important;
  max-width:520px!important;
  color:rgba(255,255,255,.74)!important;
  font-size:12px!important;
  line-height:1.5!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.post-media.logo-placeholder{
  display:grid!important;
  place-items:center!important;
}
.post-media.logo-placeholder img{
  width:min(25%,120px)!important;
  height:auto!important;
  object-fit:contain!important;
  opacity:.95!important;
  filter:none!important;
}

.article-frame,
.article-frame.reveal-on-scroll{
  opacity:1!important;
  transform:none!important;
  visibility:visible!important;
}
.article-content{
  min-height:180px!important;
}
.article-content:empty:before{
  content:"Esta publicación todavía no tiene contenido.";
  display:block;
  color:#77736b;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:14px;
  text-align:center;
  padding:30px 0;
}

@media(max-width:820px){
  .hero{padding:12px 0 18px!important}
  .hero>.hero-panel{
    width:calc(100% - 20px)!important;
    height:390px!important;
    min-height:390px!important;
    max-height:390px!important;
    border-radius:20px!important;
  }
  .hero-slide-copy{
    left:20px!important;
    right:20px!important;
    bottom:58px!important;
    width:calc(100% - 40px)!important;
    max-height:280px!important;
  }
  .hero-slide h1,.hero-slide h2{
    font-size:clamp(28px,8.2vw,38px)!important;
    -webkit-line-clamp:3!important;
  }
  .hero-slide p{
    font-size:11px!important;
    -webkit-line-clamp:2!important;
  }
  .hero-slider-footer{
    left:16px!important;
    right:16px!important;
    bottom:14px!important;
    width:auto!important;
  }
  .hero-slider-controls{justify-content:space-between!important;width:100%!important}
  .post-grid{grid-template-columns:1fr!important}
  .post-card{min-height:290px!important}
  .post-body{padding:22px!important}
  .post-card h3{font-size:27px!important}
}


/* ===== V17 · imágenes reales + slider ampliado ===== */

.hero{
  padding:24px 0 34px!important;
}
.hero>.hero-panel{
  width:min(1160px,calc(100% - 40px))!important;
  height:520px!important;
  min-height:520px!important;
  max-height:520px!important;
  border-radius:28px!important;
}

.hero-slide-media{
  background-image:none!important;
}
.hero-slide-media .hero-cover-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.01);
  transition:none!important;
}
.hero-slide.is-active .hero-slide-media .hero-cover-image{
  transform:scale(1.01);
}
.hero-slide-media .hero-placeholder-logo{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:min(22%,160px)!important;
  height:auto!important;
  transform:translate(-50%,-50%)!important;
  object-fit:contain!important;
}

.hero-slide-copy{
  left:48px!important;
  right:48px!important;
  bottom:44px!important;
  width:min(700px,calc(100% - 96px))!important;
}
.hero-slide h1,.hero-slide h2{
  max-width:700px!important;
  font-size:clamp(34px,3.55vw,52px)!important;
  -webkit-line-clamp:3!important;
}
.hero-slide p{
  max-width:590px!important;
  font-size:13px!important;
}

.post-media{
  background-image:none!important;
}
.post-media .post-cover-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:scale(1.002)!important;
  transition:transform .55s cubic-bezier(.22,1,.36,1)!important;
}
.post-card:hover .post-media .post-cover-image{
  transform:scale(1.04)!important;
}

/* La imagen principal de portada nunca se muestra como bloque dentro de la nota. */
.article-primary-media{
  display:none!important;
}

@media(max-width:820px){
  .hero>.hero-panel{
    width:calc(100% - 20px)!important;
    height:440px!important;
    min-height:440px!important;
    max-height:440px!important;
    border-radius:21px!important;
  }
  .hero-slide-copy{
    left:20px!important;
    right:20px!important;
    bottom:60px!important;
    width:calc(100% - 40px)!important;
  }
  .hero-slide h1,.hero-slide h2{
    font-size:clamp(29px,8.5vw,40px)!important;
  }
}


/* ===== V18 · banner de artículo + zoom cinematográfico ===== */

.hero>.hero-panel{
  width:min(1240px,calc(100% - 40px))!important;
  height:585px!important;
  min-height:585px!important;
  max-height:585px!important;
}
.hero-slide-copy{
  left:54px!important;
  right:54px!important;
  bottom:50px!important;
  width:min(790px,calc(100% - 108px))!important;
  max-height:none!important;
  overflow:visible!important;
}
.hero-slide h1,
.hero-slide h2{
  display:block!important;
  max-width:790px!important;
  font-size:clamp(34px,3.35vw,50px)!important;
  line-height:1.01!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow:visible!important;
}
.hero-slide p{
  max-width:610px!important;
  font-size:13px!important;
}

/* Movimiento cinematográfico: visible en los 6.5 s que dura cada slide,
   pero suficientemente lento para sentirse elegante. */
.zoom-motion{
  will-change:transform;
  transform-origin:center center;
  backface-visibility:hidden;
}

/* En el slider el movimiento necesita ser perceptible antes de cambiar de noticia. */
.hero-slide.is-active .zoom-motion-1{animation:frSliderZoom1 10s linear infinite alternate!important}
.hero-slide.is-active .zoom-motion-2{animation:frSliderZoom2 11.5s linear infinite alternate!important}
.hero-slide.is-active .zoom-motion-3{animation:frSliderZoom3 10.8s linear infinite alternate!important}
.hero-slide.is-active .zoom-motion-4{animation:frSliderZoom4 12.5s linear infinite alternate!important}

/* Dentro de una publicación es todavía más pausado. */
.article-head .zoom-motion-1{animation:frArticleZoom1 23s ease-in-out infinite alternate!important}
.article-head .zoom-motion-2{animation:frArticleZoom2 26s ease-in-out infinite alternate!important}
.article-head .zoom-motion-3{animation:frArticleZoom3 24s ease-in-out infinite alternate!important}
.article-head .zoom-motion-4{animation:frArticleZoom4 28s ease-in-out infinite alternate!important}

@keyframes frSliderZoom1{
  0%{transform:scale(1.01) translate3d(0,0,0)}
  100%{transform:scale(1.16) translate3d(-1.4%,-1%,0)}
}
@keyframes frSliderZoom2{
  0%{transform:scale(1.015) translate3d(-.7%,.2%,0)}
  100%{transform:scale(1.17) translate3d(1.3%,-1.1%,0)}
}
@keyframes frSliderZoom3{
  0%{transform:scale(1.01) translate3d(.6%,-.3%,0)}
  100%{transform:scale(1.155) translate3d(-1.2%,1%,0)}
}
@keyframes frSliderZoom4{
  0%{transform:scale(1.02) translate3d(0,.6%,0)}
  100%{transform:scale(1.175) translate3d(1%,-.9%,0)}
}

@keyframes frArticleZoom1{
  0%{transform:scale(1.01) translate3d(0,0,0)}
  100%{transform:scale(1.14) translate3d(-1.2%,-.8%,0)}
}
@keyframes frArticleZoom2{
  0%{transform:scale(1.015) translate3d(-.6%,.2%,0)}
  100%{transform:scale(1.145) translate3d(1.1%,-.8%,0)}
}
@keyframes frArticleZoom3{
  0%{transform:scale(1.01) translate3d(.5%,-.2%,0)}
  100%{transform:scale(1.135) translate3d(-1%,.8%,0)}
}
@keyframes frArticleZoom4{
  0%{transform:scale(1.02) translate3d(0,.5%,0)}
  100%{transform:scale(1.15) translate3d(.9%,-.7%,0)}
}

/* Banner de la publicación: imagen detrás del título. */
.article-head.article-head-banner{
  position:relative!important;
  min-height:535px!important;
  padding:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:flex-end!important;
  text-align:left!important;
  background:#0d0d0d!important;
  isolation:isolate!important;
}
.article-head-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  overflow:hidden!important;
}
.article-head-image{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
}
.article-head-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(0,0,0,.80) 0%,rgba(0,0,0,.53) 48%,rgba(0,0,0,.20) 82%),
    linear-gradient(0deg,rgba(0,0,0,.84) 0%,rgba(0,0,0,.12) 72%)!important;
  pointer-events:none!important;
}
.article-head.article-head-banner.no-cover .article-head-shade{
  background:linear-gradient(135deg,#101010,#060606)!important;
}
.article-head.article-head-banner .article-head-glow{
  z-index:2!important;
  opacity:.45!important;
}
.article-head-content{
  position:relative!important;
  z-index:3!important;
  width:100%!important;
  padding:54px 64px 50px!important;
}
.article-head.article-head-banner:after{
  display:none!important;
}
.article-head.article-head-banner .article-kicker-row{
  color:rgba(255,255,255,.66)!important;
}
.article-head.article-head-banner .eyebrow{
  color:rgba(255,255,255,.92)!important;
}
.article-head.article-head-banner h1{
  max-width:980px!important;
  margin:24px 0 20px!important;
  color:#fff!important;
  font-size:clamp(43px,5.7vw,78px)!important;
  line-height:.98!important;
  letter-spacing:-.058em!important;
  text-wrap:balance!important;
}
.article-head.article-head-banner .article-deck{
  max-width:760px!important;
  margin:0!important;
  color:rgba(255,255,255,.80)!important;
  font-size:16px!important;
}
.article-head.article-head-banner .article-byline{
  justify-content:flex-start!important;
  margin-top:26px!important;
  color:rgba(255,255,255,.58)!important;
}

/* La portada no se vuelve a repetir dentro del texto. */
.article-content .article-primary-media{
  display:none!important;
}

@media(max-width:820px){
  .hero>.hero-panel{
    height:485px!important;
    min-height:485px!important;
    max-height:485px!important;
  }
  .hero-slide-copy{
    left:22px!important;
    right:22px!important;
    bottom:62px!important;
    width:calc(100% - 44px)!important;
  }
  .hero-slide h1,
  .hero-slide h2{
    font-size:clamp(29px,8.1vw,39px)!important;
    line-height:1.02!important;
  }
  .article-head.article-head-banner{
    min-height:465px!important;
  }
  .article-head-content{
    padding:30px 22px 32px!important;
  }
  .article-head.article-head-banner h1{
    font-size:clamp(38px,11vw,54px)!important;
    margin:20px 0 16px!important;
  }
  .article-head.article-head-banner .article-deck{
    font-size:15px!important;
    line-height:1.5!important;
  }
}




/* ===== V18.2 · footer centrado ===== */

.footer-legal{
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.footer-legal a,
.footer-legal button{
  text-align:center!important;
}

@media(max-width:820px){
  .footer-legal{
    justify-content:center!important;
    text-align:center!important;
  }
}



/* ===== V18.3 · footer simétrico + bio ===== */

.site-footer{
  padding-bottom:24px!important;
}

.footer-shell{
  padding-bottom:0!important;
}

.footer-mark{
  justify-content:flex-start!important;
}

.footer-legal{
  box-sizing:border-box!important;
  min-height:74px!important;
  padding:26px 0!important;
  margin:28px auto 0!important;
  border-top:1px solid #252525!important;
  border-bottom:1px solid #252525!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-content:center!important;
  gap:10px 24px!important;
  text-align:center!important;
}

.footer-legal a,
.footer-legal button{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  margin:0!important;
  padding:0!important;
  line-height:22px!important;
}

.footer-bottom{
  margin-top:0!important;
  padding-top:18px!important;
  border-top:0!important;
}

.article-author-copy{
  max-width:860px!important;
}
.article-author-copy p{
  line-height:1.72!important;
}

@media(max-width:820px){
  .footer-legal{
    min-height:0!important;
    padding:22px 0!important;
    margin-top:24px!important;
    gap:10px 18px!important;
  }
  .footer-bottom{
    padding-top:16px!important;
  }
}



/* ===== V18.5 · footer legal junto al logo ===== */

.site-footer{
  padding:30px 0 22px!important;
}

.footer-shell{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  min-height:92px!important;
  padding-top:22px!important;
  padding-bottom:22px!important;
  border-top:1px solid #252525!important;
  border-bottom:1px solid #252525!important;
}

.footer-brand-legal{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:30px!important;
  flex:1 1 auto!important;
}

.footer-mark{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}

.footer-logo-box{
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
}

.footer-logo-box img{
  max-width:40px!important;
  max-height:40px!important;
  display:block!important;
}

.footer-legal{
  width:auto!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px 22px!important;
  text-align:left!important;
}

.footer-legal a,
.footer-legal button{
  min-height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  line-height:22px!important;
  white-space:nowrap!important;
}

.socials{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:9px 15px!important;
}

.footer-bottom{
  margin-top:0!important;
  padding-top:18px!important;
  border-top:0!important;
}

@media(max-width:980px){
  .footer-shell{
    align-items:flex-start!important;
  }

  .footer-brand-legal{
    align-items:center!important;
    gap:22px!important;
  }

  .footer-legal{
    gap:7px 16px!important;
  }
}

@media(max-width:820px){
  .site-footer{
    padding-top:22px!important;
  }

  .footer-shell{
    min-height:0!important;
    padding:22px 0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:20px!important;
  }

  .footer-brand-legal{
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:16px 22px!important;
  }

  .footer-legal{
    flex:1 1 260px!important;
    min-height:44px!important;
    justify-content:center!important;
    text-align:center!important;
    gap:8px 16px!important;
  }

  .socials{
    width:100%!important;
    justify-content:center!important;
  }

  .footer-bottom{
    padding-top:16px!important;
  }
}



/* ===== V18.6 · slider loop infinito + transición fluida ===== */

.hero-slider-stage{
  isolation:isolate!important;
}

.hero-slide{
  z-index:1!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:scale(1.006)!important;
  filter:blur(0)!important;
  transition:none!important;
}

.hero-slide.is-active{
  z-index:2!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:scale(1)!important;
}

/* La noticia entrante se funde con la anterior en vez de aparecer de golpe. */
.hero-slide.is-entering{
  z-index:3!important;
  visibility:visible!important;
  pointer-events:none!important;
}

.hero-slide.is-entering.from-next{
  animation:frHeroEnterNext 1.05s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-entering.from-prev{
  animation:frHeroEnterPrev 1.05s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-leaving{
  z-index:2!important;
  visibility:visible!important;
  pointer-events:none!important;
}

.hero-slide.is-leaving.to-next{
  animation:frHeroLeaveNext 1.05s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-leaving.to-prev{
  animation:frHeroLeavePrev 1.05s cubic-bezier(.22,1,.36,1) both!important;
}

@keyframes frHeroEnterNext{
  0%{
    opacity:0;
    transform:scale(1.025) translate3d(1.2%,0,0);
  }
  100%{
    opacity:1;
    transform:scale(1) translate3d(0,0,0);
  }
}

@keyframes frHeroLeaveNext{
  0%{
    opacity:1;
    transform:scale(1) translate3d(0,0,0);
  }
  100%{
    opacity:0;
    transform:scale(.992) translate3d(-.65%,0,0);
  }
}

@keyframes frHeroEnterPrev{
  0%{
    opacity:0;
    transform:scale(1.025) translate3d(-1.2%,0,0);
  }
  100%{
    opacity:1;
    transform:scale(1) translate3d(0,0,0);
  }
}

@keyframes frHeroLeavePrev{
  0%{
    opacity:1;
    transform:scale(1) translate3d(0,0,0);
  }
  100%{
    opacity:0;
    transform:scale(.992) translate3d(.65%,0,0);
  }
}

/* El texto entra apenas después de la imagen para dar una sensación más editorial. */
.hero-slide.is-entering .hero-slide-copy{
  animation:frHeroCopyIn .82s .12s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-leaving .hero-slide-copy{
  animation:frHeroCopyOut .5s ease both!important;
}

@keyframes frHeroCopyIn{
  from{opacity:0;transform:translate3d(0,12px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

@keyframes frHeroCopyOut{
  from{opacity:1;transform:translate3d(0,0,0)}
  to{opacity:0;transform:translate3d(0,-5px,0)}
}

/* Los puntos también cambian suavemente. */
.hero-slider-dots button{
  transition:width .45s cubic-bezier(.22,1,.36,1),background .45s ease,opacity .45s ease!important;
}

/* Mantiene el zoom vivo durante la salida para evitar un pequeño salto visual. */
.hero-slide.is-leaving .zoom-motion-1{animation:frSliderZoom1 10s linear infinite alternate!important}
.hero-slide.is-leaving .zoom-motion-2{animation:frSliderZoom2 11.5s linear infinite alternate!important}
.hero-slide.is-leaving .zoom-motion-3{animation:frSliderZoom3 10.8s linear infinite alternate!important}
.hero-slide.is-leaving .zoom-motion-4{animation:frSliderZoom4 12.5s linear infinite alternate!important}

@media(max-width:820px){
  .hero-slide.is-entering.from-next,
  .hero-slide.is-entering.from-prev,
  .hero-slide.is-leaving.to-next,
  .hero-slide.is-leaving.to-prev{
    animation-duration:.88s!important;
  }
}



/* ===== V18.7 · embeds responsivos ===== */

.article-content .article-embed{
  width:100%!important;
  max-width:100%!important;
  margin:2.4em auto!important;
  display:block!important;
  position:relative!important;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;
}

.article-content .article-embed iframe{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  border:0!important;
  border-radius:18px!important;
  background:#0b0b0b!important;
  box-shadow:0 18px 54px rgba(0,0,0,.08)!important;
}

/* Video horizontal */
.article-content .article-embed-youtube,
.article-content .article-embed-vimeo{
  width:min(900px,calc(100vw - 42px))!important;
  margin-left:50%!important;
  transform:translateX(-50%)!important;
  aspect-ratio:16/9!important;
}
.article-content .article-embed-youtube iframe,
.article-content .article-embed-vimeo iframe{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
}

/* Instagram */
.article-content .article-embed-instagram{
  max-width:540px!important;
}
.article-content .article-embed-instagram iframe{
  height:720px!important;
  min-height:720px!important;
  background:#fff!important;
}

/* TikTok vertical */
.article-content .article-embed-tiktok{
  max-width:420px!important;
}
.article-content .article-embed-tiktok iframe{
  height:760px!important;
  min-height:760px!important;
}

/* Spotify */
.article-content .article-embed-spotify{
  max-width:720px!important;
}
.article-content .article-embed-spotify iframe{
  height:352px!important;
  min-height:152px!important;
  background:transparent!important;
}

/* Facebook */
.article-content .article-embed-facebook{
  max-width:560px!important;
}
.article-content .article-embed-facebook iframe{
  height:680px!important;
  min-height:500px!important;
  background:#fff!important;
}

/* Otros proveedores */
.article-content .article-embed-generic iframe,
.article-content .article-embed-soundcloud iframe{
  min-height:520px!important;
}

@media(max-width:820px){
  .article-content .article-embed{
    margin:2em auto!important;
  }
  .article-content .article-embed-youtube,
  .article-content .article-embed-vimeo{
    width:calc(100vw - 24px)!important;
  }
  .article-content .article-embed-instagram iframe{
    height:650px!important;
    min-height:650px!important;
  }
  .article-content .article-embed-tiktok iframe{
    height:690px!important;
    min-height:690px!important;
  }
  .article-content .article-embed-facebook iframe{
    height:620px!important;
    min-height:480px!important;
  }
  .article-content .article-embed-generic iframe,
  .article-content .article-embed-soundcloud iframe{
    min-height:360px!important;
  }
}


/* ===== V18.8 · transición premium + slider móvil simétrico ===== */

/* La transición general deja de “deslizar” toda la tarjeta:
   la imagen hace el movimiento y el texto entra de forma independiente. */
.hero-slide.is-entering.from-next,
.hero-slide.is-entering.from-prev{
  animation:frHeroSlideFadeIn 1.25s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-leaving.to-next,
.hero-slide.is-leaving.to-prev{
  animation:frHeroSlideFadeOut 1.25s cubic-bezier(.22,1,.36,1) both!important;
}

@keyframes frHeroSlideFadeIn{
  0%{opacity:0}
  100%{opacity:1}
}

@keyframes frHeroSlideFadeOut{
  0%{opacity:1}
  100%{opacity:0}
}

/* La imagen entrante tiene profundidad suave; la anterior se aleja.
   Se anima el contenedor, no la imagen, para que el zoom continuo siga vivo. */
.hero-slide.is-entering .hero-slide-media{
  animation:frHeroMediaIn 1.25s cubic-bezier(.22,1,.36,1) both!important;
}

.hero-slide.is-leaving .hero-slide-media{
  animation:frHeroMediaOut 1.25s cubic-bezier(.22,1,.36,1) both!important;
}

@keyframes frHeroMediaIn{
  0%{
    opacity:.12;
    transform:scale(1.055);
    filter:blur(5px);
  }
  55%{
    opacity:.92;
    filter:blur(1px);
  }
  100%{
    opacity:1;
    transform:scale(1);
    filter:blur(0);
  }
}

@keyframes frHeroMediaOut{
  0%{
    opacity:1;
    transform:scale(1);
    filter:blur(0);
  }
  100%{
    opacity:.10;
    transform:scale(1.025);
    filter:blur(2px);
  }
}

/* El degradado también se funde para que no aparezca un “flash” oscuro. */
.hero-slide.is-entering:after{
  animation:frHeroShadeIn 1.1s ease both!important;
}
.hero-slide.is-leaving:after{
  animation:frHeroShadeOut .9s ease both!important;
}
@keyframes frHeroShadeIn{
  from{opacity:.35}
  to{opacity:1}
}
@keyframes frHeroShadeOut{
  from{opacity:1}
  to{opacity:.35}
}

/* Texto: movimiento mínimo y elegante, sin competir con la imagen. */
.hero-slide.is-entering .hero-slide-copy{
  animation:frHeroCopyInV188 .78s .18s cubic-bezier(.22,1,.36,1) both!important;
}
.hero-slide.is-leaving .hero-slide-copy{
  animation:frHeroCopyOutV188 .48s ease both!important;
}
@keyframes frHeroCopyInV188{
  from{opacity:0;transform:translate3d(0,10px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes frHeroCopyOutV188{
  from{opacity:1;transform:translate3d(0,0,0)}
  to{opacity:0;transform:translate3d(0,-4px,0)}
}

/* MÓVIL: todo centrado y con los mismos márgenes a izquierda/derecha. */
@media(max-width:820px){
  .hero>.hero-panel{
    height:510px!important;
    min-height:510px!important;
    max-height:510px!important;
  }

  .hero-slide-copy{
    left:24px!important;
    right:24px!important;
    bottom:84px!important;
    width:calc(100% - 48px)!important;
    max-width:none!important;
    text-align:center!important;
    margin:0 auto!important;
  }

  .hero-slide-meta{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:7px 12px!important;
    width:100%!important;
    text-align:center!important;
    margin-bottom:12px!important;
  }

  .hero-slide h1,
  .hero-slide h2{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    font-size:clamp(28px,8vw,38px)!important;
    line-height:1.03!important;
    text-wrap:balance!important;
  }

  .hero-slide p{
    width:min(100%,540px)!important;
    max-width:100%!important;
    margin:13px auto 0!important;
    text-align:center!important;
  }

  .hero-read{
    display:table!important;
    margin:17px auto 0!important;
    text-align:center!important;
  }

  .hero-slider-footer{
    left:24px!important;
    right:24px!important;
    bottom:18px!important;
    width:calc(100% - 48px)!important;
  }

  .hero-slider-controls{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:44px!important;
    display:grid!important;
    grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr)!important;
    align-items:center!important;
    justify-items:center!important;
    gap:10px!important;
    padding:7px 10px!important;
  }

  .hero-slider-controls > button{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:0 4px!important;
  }

  .hero-slider-controls > button:first-child{
    justify-self:stretch!important;
  }

  .hero-slider-controls > button:last-child{
    justify-self:stretch!important;
  }

  .hero-slider-dots{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-width:42px!important;
  }

  .hero-slide.is-entering.from-next,
  .hero-slide.is-entering.from-prev,
  .hero-slide.is-leaving.to-next,
  .hero-slide.is-leaving.to-prev,
  .hero-slide.is-entering .hero-slide-media,
  .hero-slide.is-leaving .hero-slide-media{
    animation-duration:1.05s!important;
  }
}

@media(max-width:430px){
  .hero>.hero-panel{
    height:520px!important;
    min-height:520px!important;
    max-height:520px!important;
  }

  .hero-slide-copy{
    left:20px!important;
    right:20px!important;
    width:calc(100% - 40px)!important;
  }

  .hero-slider-footer{
    left:20px!important;
    right:20px!important;
    width:calc(100% - 40px)!important;
  }

  .hero-slider-controls{
    grid-template-columns:82px 1fr 82px!important;
    gap:6px!important;
  }

  .hero-slider-controls > button{
    font-size:7px!important;
    letter-spacing:.08em!important;
  }
}



/* ===== V18.9 · footer móvil centrado ===== */

@media(max-width:820px){
  .footer-bottom{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding-top:16px!important;
    text-align:center!important;
  }

  .footer-bottom span{
    width:100%!important;
    display:block!important;
    margin:0!important;
    text-align:center!important;
  }

  .footer-legal{
    justify-content:center!important;
    text-align:center!important;
  }
}


/* ===== V18.11 · header simétrico + paginación ===== */

/* Logo perfectamente centrado en el ancho del header. */
.header-main{
  height:72px!important;
  display:grid!important;
  grid-template-columns:48px 1fr 48px!important;
  align-items:center!important;
  gap:0!important;
}
.header-main .brand{
  grid-column:2!important;
  justify-self:center!important;
  min-width:0!important;
  transform:translateX(4px);
}
.header-main .menu-btn{
  grid-column:3!important;
  justify-self:end!important;
}

/* Icono hamburguesa simétrico en móvil. */
.menu-btn{
  width:42px!important;
  height:42px!important;
  padding:0!important;
  border-radius:50%!important;
  align-items:center!important;
  justify-content:center!important;
}
.menu-icon{
  width:17px;
  height:13px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.menu-icon i{
  display:block;
  width:17px;
  height:1.5px;
  border-radius:999px;
  background:currentColor;
  transition:transform .22s ease,opacity .22s ease;
}
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1){
  transform:translateY(5.75px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2){
  opacity:0;
}
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3){
  transform:translateY(-5.75px) rotate(-45deg);
}

/* Paginación limpia y editorial. */
.pagination{
  width:100%;
  margin:34px auto 0;
  padding:22px 0 2px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  font-size:9px;
  font-weight:850;
  letter-spacing:.12em;
}
.pagination-arrow{
  display:inline-flex;
  align-items:center;
  min-height:36px;
}
.pagination-arrow:last-child{
  justify-self:end;
}
.pagination-arrow.is-disabled{
  opacity:.24;
  pointer-events:none;
}
.pagination-pages{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.pagination-pages a,
.pagination-pages span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
}
.pagination-pages a{
  border:1px solid transparent;
  transition:.2s ease;
}
.pagination-pages a:hover{
  border-color:#aaa69d;
}
.pagination-pages a.is-active{
  background:#111;
  color:#fff;
}

@media(max-width:820px){
  .header-main{
    height:64px!important;
    grid-template-columns:42px 1fr 42px!important;
  }
  .header-main .brand{
    grid-column:2!important;
    justify-self:center!important;
    transform:translateX(3px);
  }
  .menu-btn{
    display:flex!important;
    background:transparent!important;
    color:#111!important;
    border:1px solid rgba(0,0,0,.13)!important;
  }
  .brand-logo-box{
    width:34px!important;
    height:34px!important;
  }
  .brand-logo-box img{
    width:32px!important;
    height:32px!important;
  }

  .nav{
    top:64px!important;
    padding:10px 18px 16px!important;
  }
  .nav a{
    padding:14px 12px!important;
  }

  .pagination{
    grid-template-columns:1fr auto 1fr;
    gap:8px;
    margin-top:26px;
    padding-top:18px;
    font-size:8px;
  }
  .pagination-pages{
    gap:3px;
  }
  .pagination-pages a,
  .pagination-pages span{
    width:30px;
    height:30px;
  }
  .pagination-arrow{
    min-height:32px;
  }
}


/* ===== V18.14 · header negro ===== */
.site-header{
  background:#000!important;
  color:#fff!important;
  border-bottom-color:#1f1f1f!important;
}
.header-main{
  background:#000!important;
  color:#fff!important;
  min-height:88px!important;
  height:88px!important;
  border-bottom-color:#1f1f1f!important;
}
.header-main .brand{color:#fff!important}
.brand-logo-box{
  width:58px!important;
  height:58px!important;
  display:grid!important;
  place-items:center!important;
}
.brand-logo-box img{
  width:54px!important;
  height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  object-fit:contain!important;
  filter:brightness(0) invert(1)!important;
}
.nav{
  background:#000!important;
  color:#fff!important;
  border-top-color:#1f1f1f!important;
  border-bottom-color:#1f1f1f!important;
}
.nav a{color:#fff!important}
.nav a:hover,.nav a:focus-visible{color:#fff!important;opacity:.68!important}
.nav-search-trigger{color:#fff!important}
.search-icon,.search-icon:before,.search-icon:after{border-color:#fff!important}
.search-icon:after{background:#fff!important}
.menu-btn{
  color:#fff!important;
  border-color:rgba(255,255,255,.22)!important;
  background:transparent!important;
}
.menu-icon i{background:#fff!important}
@media(max-width:820px){
  .header-main{
    min-height:76px!important;
    height:76px!important;
    background:#000!important;
  }
  .brand-logo-box{width:50px!important;height:50px!important}
  .brand-logo-box img{
    width:47px!important;height:47px!important;
    max-width:47px!important;max-height:47px!important;
  }
  .nav{
    top:76px!important;
    background:#000!important;
    border-top:1px solid #1f1f1f!important;
    border-bottom:1px solid #1f1f1f!important;
  }
  .nav a{color:#fff!important;border-color:#1f1f1f!important}
  .menu-btn{color:#fff!important;border-color:rgba(255,255,255,.22)!important}
  .nav-search-trigger{color:#fff!important}
}


/* ===== V18.15 · header compacto, logo izquierda / menú derecha ===== */

.site-header{
  background:#000!important;
  color:#fff!important;
}

/* Header superior más bajo */
.header-main{
  width:min(1180px,calc(100% - 40px))!important;
  min-height:62px!important;
  height:62px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}

/* Logo a la izquierda */
.header-main .brand{
  position:static!important;
  grid-column:auto!important;
  justify-self:auto!important;
  margin:0!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}

.brand-logo-box{
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
}

.brand-logo-box img{
  width:42px!important;
  height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
  object-fit:contain!important;
  filter:brightness(0) invert(1)!important;
}

/* Menú principal alineado a la derecha */
.nav{
  width:min(1180px,calc(100% - 40px))!important;
  min-height:48px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:34px!important;
  border-top:1px solid #171717!important;
  border-bottom:0!important;
  background:#000!important;
}

.nav a{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  padding:0!important;
  color:#fff!important;
}

.nav-search-trigger{
  min-width:34px!important;
  min-height:48px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
}

/* En desktop no hace falta el botón hamburguesa */
@media(min-width:821px){
  .menu-btn{
    display:none!important;
  }
}

/* Móvil: logo izquierda, hamburguesa derecha */
@media(max-width:820px){
  .header-main{
    width:calc(100% - 28px)!important;
    min-height:58px!important;
    height:58px!important;
    margin:0 auto!important;
    padding:0!important;
  }

  .brand-logo-box{
    width:40px!important;
    height:40px!important;
  }

  .brand-logo-box img{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
  }

  .menu-btn{
    display:flex!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
    flex:0 0 40px!important;
    align-items:center!important;
    justify-content:center!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.20)!important;
    background:transparent!important;
  }

  .nav{
    position:absolute!important;
    top:58px!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 18px 14px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    background:#000!important;
    border-top:1px solid #171717!important;
    border-bottom:1px solid #171717!important;
  }

  .nav.is-open{
    display:flex!important;
  }

  .nav a,
  .nav-search-trigger{
    width:100%!important;
    min-height:46px!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #171717!important;
  }

  .nav-search-trigger{
    display:flex!important;
  }
}


/* ===== V18.16 · logo y menú en la misma fila ===== */

.site-header{
  background:#000!important;
  color:#fff!important;
  border-bottom:1px solid #171717!important;
}

.header-main{
  width:min(1180px,calc(100% - 40px))!important;
  height:66px!important;
  min-height:66px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  background:#000!important;
}

/* Logo a la izquierda */
.header-main .brand{
  position:static!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}

.brand-logo-box{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
}

.brand-logo-box img{
  width:44px!important;
  height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  object-fit:contain!important;
  filter:brightness(0) invert(1)!important;
}

/* Menú a la derecha, en la MISMA fila */
.header-main .nav{
  position:static!important;
  width:auto!important;
  min-height:0!important;
  height:66px!important;
  margin:0 0 0 auto!important;
  padding:0!important;
  display:flex!important;
  flex:0 1 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:30px!important;
  background:transparent!important;
  border:0!important;
}

.header-main .nav a{
  min-height:66px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  color:#fff!important;
  white-space:nowrap!important;
}

.header-main .nav-search-trigger{
  width:34px!important;
  height:66px!important;
  min-width:34px!important;
  min-height:66px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  border:0!important;
}

/* Desktop: sin hamburguesa */
@media(min-width:821px){
  .header-main .menu-btn{
    display:none!important;
  }
}

/* Móvil: logo y hamburguesa siguen en la misma fila; menú se despliega debajo */
@media(max-width:820px){
  .header-main{
    position:relative!important;
    width:calc(100% - 28px)!important;
    height:58px!important;
    min-height:58px!important;
    gap:16px!important;
  }

  .brand-logo-box{
    width:40px!important;
    height:40px!important;
  }

  .brand-logo-box img{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
  }

  .header-main .menu-btn{
    display:flex!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    margin-left:auto!important;
    align-items:center!important;
    justify-content:center!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.20)!important;
    background:transparent!important;
  }

  .header-main .nav{
    position:absolute!important;
    z-index:1000!important;
    top:58px!important;
    left:-14px!important;
    right:-14px!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 18px 14px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    background:#000!important;
    border-top:1px solid #171717!important;
    border-bottom:1px solid #171717!important;
  }

  .header-main .nav.is-open{
    display:flex!important;
  }

  .header-main .nav a,
  .header-main .nav-search-trigger{
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #171717!important;
  }

  .header-main .nav-search-trigger{
    display:flex!important;
  }
}


/* ===== V18.17 · fuerza logo + menú en UNA sola fila ===== */

/*
  Esta capa funciona incluso si el hosting todavía conserva la estructura
  anterior donde .nav quedó como hermano de .header-main.
*/
@media(min-width:821px){
  .site-header{
    box-sizing:border-box!important;
    width:100%!important;
    height:66px!important;
    min-height:66px!important;
    padding:0 28px!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:28px!important;
    background:#000!important;
    border-bottom:1px solid #171717!important;
    overflow:visible!important;
  }

  /* Contenedor del logo */
  .site-header > .header-main{
    width:auto!important;
    max-width:none!important;
    min-width:48px!important;
    height:66px!important;
    min-height:66px!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    border:0!important;
    background:transparent!important;
  }

  /* Si el NAV sigue fuera de header-main, igualmente queda en la misma fila */
  .site-header > .nav{
    position:static!important;
    width:auto!important;
    max-width:none!important;
    height:66px!important;
    min-height:66px!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:30px!important;
    border:0!important;
    background:transparent!important;
  }

  /* Si el NAV ya está dentro de header-main, el contenedor ocupa todo el ancho */
  .site-header > .header-main:has(> .nav){
    width:100%!important;
    flex:1 1 auto!important;
  }

  .site-header > .header-main > .nav{
    position:static!important;
    width:auto!important;
    max-width:none!important;
    height:66px!important;
    min-height:66px!important;
    flex:1 1 auto!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:30px!important;
    border:0!important;
    background:transparent!important;
  }

  .site-header .nav a{
    height:66px!important;
    min-height:66px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    color:#fff!important;
  }

  .site-header .nav-search-trigger{
    width:36px!important;
    height:66px!important;
    min-width:36px!important;
    min-height:66px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    color:#fff!important;
  }

  .site-header .menu-btn{
    display:none!important;
  }

  .site-header .brand{
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    transform:none!important;
  }

  .site-header .brand-logo-box{
    width:48px!important;
    height:48px!important;
  }

  .site-header .brand-logo-box img{
    width:46px!important;
    height:46px!important;
    max-width:46px!important;
    max-height:46px!important;
    filter:brightness(0) invert(1)!important;
  }
}

/* Móvil: logo izquierda + hamburguesa derecha; menú debajo solo al abrir */
@media(max-width:820px){
  .site-header{
    position:sticky!important;
    top:0!important;
    display:block!important;
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    padding:0!important;
    background:#000!important;
    overflow:visible!important;
  }

  .site-header > .header-main{
    position:relative!important;
    width:calc(100% - 28px)!important;
    height:58px!important;
    min-height:58px!important;
    margin:0 auto!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }

  /* Soporta ambas estructuras del header */
  .site-header > .nav,
  .site-header > .header-main > .nav{
    position:absolute!important;
    z-index:1000!important;
    top:58px!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 18px 14px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    background:#000!important;
    border-top:1px solid #171717!important;
    border-bottom:1px solid #171717!important;
  }

  .site-header .nav.is-open{
    display:flex!important;
  }

  .site-header .nav a,
  .site-header .nav-search-trigger{
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #171717!important;
    color:#fff!important;
  }
}


/* ==========================================================
   V18.18 · HEADER + FOOTER alineados con flavioroller.com
   ========================================================== */

/* ---------- HEADER ---------- */
.fr-main-header{
  position:sticky;
  top:0;
  z-index:1200;
  width:100%;
  background:#fff;
  border-bottom:1px solid #ececec;
  color:#111;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.fr-main-header,
.fr-main-header *{
  box-sizing:border-box;
}

.fr-main-header-inner{
  width:min(1220px,calc(100% - 48px));
  min-height:78px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(110px,1fr) auto minmax(160px,1fr);
  align-items:center;
  gap:28px;
}

.fr-main-logo{
  justify-self:start;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  text-decoration:none;
}

.fr-main-logo img{
  width:56px;
  height:56px;
  display:block;
  object-fit:contain;
}

.fr-main-nav{
  position:static!important;
  width:auto!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:34px!important;
  background:transparent!important;
  border:0!important;
}

.fr-main-nav > a{
  position:relative;
  display:flex!important;
  align-items:center!important;
  min-height:78px!important;
  padding:0!important;
  color:#111!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:750!important;
  letter-spacing:.035em!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap;
}

.fr-main-nav > a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:22px;
  height:1px;
  background:#111;
  transition:right .25s ease;
}

.fr-main-nav > a:hover:after{
  right:0;
}

.fr-main-client-button{
  justify-self:end;
  min-height:42px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:3px;
  background:#111;
  color:#fff!important;
  font-size:10px;
  font-weight:850;
  letter-spacing:.10em;
  text-decoration:none!important;
  white-space:nowrap;
  transition:opacity .2s ease,transform .2s ease;
}

.fr-main-client-button:hover{
  opacity:.84;
  transform:translateY(-1px);
}

.fr-main-mobile-toggle,
.fr-main-mobile-account-links{
  display:none;
}

/* ---------- FOOTER ---------- */
.fr-main-footer{
  width:100%;
  margin-top:70px;
  background:#0a0a0a;
  color:#fff;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.fr-main-footer,
.fr-main-footer *{
  box-sizing:border-box;
}

.fr-main-footer-inner{
  width:min(1220px,calc(100% - 48px));
  margin:0 auto;
  padding:64px 0 58px;
  display:grid;
  grid-template-columns:1.05fr .85fr 1.25fr 1fr;
  gap:48px;
  align-items:start;
}

.fr-footer-brand{
  min-width:0;
}

.fr-footer-logo{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  margin-bottom:26px;
}

.fr-footer-logo img{
  width:80px;
  height:80px;
  display:block;
  object-fit:contain;
}

.fr-footer-site{
  margin-bottom:8px;
  color:#d7d7d7;
  font-size:14px;
}

.fr-footer-copy{
  color:#fff;
  font-size:12px;
  line-height:1.55;
}

.fr-footer-column h3{
  margin:4px 0 22px;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:700;
}

.fr-footer-links{
  display:grid;
  gap:13px;
}

.fr-footer-links a,
.fr-footer-contact a{
  color:#d1d1d1!important;
  font-size:13px;
  line-height:1.55;
  text-decoration:none!important;
  transition:color .2s ease;
}

.fr-footer-links a:hover,
.fr-footer-contact a:hover{
  color:#fff!important;
}

.fr-footer-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.fr-footer-contact h3{
  width:100%;
}

.fr-footer-contact a{
  width:100%;
  display:grid;
  grid-template-columns:20px 1fr;
  gap:10px;
  align-items:start;
  margin-bottom:14px;
}

.fr-footer-contact-icon{
  color:#fff;
  font-size:14px;
  line-height:1.5;
}

.fr-footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.fr-footer-socials a{
  width:36px;
  height:36px;
  border:1px solid #333;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff!important;
  font-size:11px;
  font-weight:800;
  line-height:1;
  text-decoration:none!important;
  transition:background .2s ease,border-color .2s ease;
}

.fr-footer-socials a:hover{
  background:#fff;
  color:#111!important;
  border-color:#fff;
}

.fr-footer-partners-title{
  margin-top:30px!important;
  margin-bottom:14px!important;
}

.fr-footer-partners{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.fr-footer-partners a{
  width:76px;
  height:45px;
  padding:5px;
  display:grid;
  place-items:center;
  border-radius:5px;
  background:#fff;
}

.fr-footer-partners img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  object-fit:contain;
}

/* ---------- TABLET ---------- */
@media(max-width:980px){
  .fr-main-header-inner{
    grid-template-columns:80px 1fr 150px;
    gap:18px;
  }

  .fr-main-nav{
    gap:22px!important;
  }

  .fr-main-footer-inner{
    grid-template-columns:1fr 1fr;
    gap:42px 54px;
  }
}

/* ---------- MOBILE: misma composición del sitio principal ---------- */
@media(max-width:820px){
  .fr-main-header{
    min-height:66px;
  }

  .fr-main-header-inner{
    position:relative;
    width:calc(100% - 28px);
    min-height:66px;
    grid-template-columns:1fr auto 1fr;
    gap:10px;
  }

  .fr-main-mobile-toggle{
    justify-self:start;
    width:42px;
    height:42px;
    padding:0;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    color:#111;
  }

  .fr-main-mobile-toggle > span{
    width:22px;
    height:16px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .fr-main-mobile-toggle i{
    width:22px;
    height:1.5px;
    display:block;
    border-radius:999px;
    background:#111;
    transition:transform .2s ease,opacity .2s ease;
  }

  .fr-main-mobile-toggle[aria-expanded="true"] i:nth-child(1){
    transform:translateY(7.25px) rotate(45deg);
  }

  .fr-main-mobile-toggle[aria-expanded="true"] i:nth-child(2){
    opacity:0;
  }

  .fr-main-mobile-toggle[aria-expanded="true"] i:nth-child(3){
    transform:translateY(-7.25px) rotate(-45deg);
  }

  .fr-main-logo{
    justify-self:center;
    width:48px;
    height:48px;
  }

  .fr-main-logo img{
    width:46px;
    height:46px;
  }

  .fr-main-client-button{
    justify-self:end;
    min-height:38px;
    padding:0 11px;
    font-size:8px;
    letter-spacing:.07em;
  }

  .fr-main-nav{
    position:absolute!important;
    top:66px!important;
    left:-14px!important;
    right:-14px!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:18px 20px 22px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    background:#fff!important;
    border-top:1px solid #ececec!important;
    border-bottom:1px solid #ececec!important;
    box-shadow:0 16px 35px rgba(0,0,0,.08);
  }

  .fr-main-nav.is-open{
    display:flex!important;
  }

  .fr-main-nav > a{
    width:100%!important;
    min-height:50px!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #ececec;
    font-size:13px!important;
  }

  .fr-main-nav > a:after{
    display:none;
  }

  .fr-main-mobile-account-links{
    display:grid;
  }

  .fr-main-mobile-account-links a{
    min-height:46px;
    display:flex;
    align-items:center;
    color:#666!important;
    border-bottom:1px solid #f0f0f0;
    font-size:12px;
    text-decoration:none!important;
  }

  .fr-main-footer{
    margin-top:48px;
  }

  .fr-main-footer-inner{
    width:calc(100% - 40px);
    padding:46px 0 42px;
    grid-template-columns:1fr;
    gap:38px;
  }

  .fr-footer-brand,
  .fr-footer-column{
    text-align:left;
  }

  .fr-footer-logo{
    width:70px;
    height:70px;
    margin-bottom:20px;
  }

  .fr-footer-logo img{
    width:68px;
    height:68px;
  }

  .fr-footer-contact a{
    max-width:360px;
  }
}

@media(max-width:420px){
  .fr-main-client-button{
    padding:0 9px;
    font-size:7.5px;
  }

  .fr-main-logo,
  .fr-main-logo img{
    width:43px;
    height:43px;
  }
}


/* ==========================================================
   V18.19 · header negro como flavioroller.com
   + partners perfectamente centrados
   ========================================================== */

/* ---------- HEADER NEGRO ---------- */
.fr-main-header{
  background:#000!important;
  color:#fff!important;
  border-bottom:1px solid #1b1b1b!important;
}

.fr-main-header-inner{
  background:#000!important;
}

.fr-main-logo img{
  filter:brightness(0) invert(1)!important;
}

/* Menú blanco */
.fr-main-nav{
  background:transparent!important;
}

.fr-main-nav > a{
  color:#fff!important;
}

.fr-main-nav > a:after{
  background:#fff!important;
}

/* Área clientes: mismo lenguaje negro/blanco */
.fr-main-client-button{
  background:#fff!important;
  color:#000!important;
  border:1px solid #fff!important;
}

.fr-main-client-button:hover{
  background:#eaeaea!important;
  color:#000!important;
}

/* Hamburguesa blanca */
.fr-main-mobile-toggle{
  color:#fff!important;
}

.fr-main-mobile-toggle i{
  background:#fff!important;
}

/* Mobile menu negro */
@media(max-width:820px){
  .fr-main-header{
    background:#000!important;
  }

  .fr-main-header-inner{
    background:#000!important;
  }

  .fr-main-nav{
    background:#000!important;
    border-top:1px solid #1b1b1b!important;
    border-bottom:1px solid #1b1b1b!important;
    box-shadow:0 16px 35px rgba(0,0,0,.30)!important;
  }

  .fr-main-nav > a{
    color:#fff!important;
    border-bottom:1px solid #1b1b1b!important;
  }

  .fr-main-mobile-account-links a{
    color:#bdbdbd!important;
    border-bottom:1px solid #1b1b1b!important;
  }

  .fr-main-client-button{
    background:#fff!important;
    color:#000!important;
  }
}

/* ---------- FOOTER / PARTNERS ---------- */

/* Cada partner ocupa exactamente la misma caja */
.fr-footer-partners{
  display:grid!important;
  grid-template-columns:repeat(2,82px)!important;
  gap:14px!important;
  align-items:center!important;
  justify-content:start!important;
}

.fr-footer-partners a{
  width:82px!important;
  height:54px!important;
  padding:7px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:5px!important;
  background:#fff!important;
  overflow:hidden!important;
}

.fr-footer-partners img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* Google suele traer mucho espacio interno dentro de la propia imagen;
   esta regla lo compensa visualmente sin deformarla. */
.fr-footer-partners a:nth-child(2) img{
  max-width:88%!important;
  max-height:88%!important;
  transform:translateY(0)!important;
}

/* Meta también queda centrado en su propia caja */
.fr-footer-partners a:nth-child(1) img{
  max-width:92%!important;
  max-height:92%!important;
}

@media(max-width:820px){
  .fr-footer-partners{
    grid-template-columns:repeat(2,82px)!important;
    justify-content:start!important;
  }
}


/* ==========================================================
   V18.20 · categorías del blog junto al logo + CTA Builder
   ========================================================== */

.fr-main-header-inner{
  width:min(1280px,calc(100% - 48px))!important;
  min-height:74px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:24px!important;
}

/* Logo a la izquierda */
.fr-main-logo{
  flex:0 0 auto!important;
  justify-self:auto!important;
  width:56px!important;
  height:56px!important;
  margin:0!important;
}

.fr-main-logo img{
  width:54px!important;
  height:54px!important;
}

/* Categorías inmediatamente a la derecha del logo */
.fr-main-nav{
  position:static!important;
  width:auto!important;
  height:74px!important;
  min-height:74px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex:0 1 auto!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:28px!important;
  background:transparent!important;
  border:0!important;
}

.fr-main-nav > a{
  min-height:74px!important;
  display:flex!important;
  align-items:center!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}

/* Lupa al final de las categorías */
.fr-main-search{
  width:34px!important;
  height:74px!important;
  min-width:34px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  cursor:pointer!important;
}

/* CTA siempre al extremo derecho */
.fr-main-client-button{
  margin-left:auto!important;
  flex:0 0 auto!important;
  min-height:42px!important;
  padding:0 19px!important;
  background:#fff!important;
  color:#000!important;
  border:1px solid #fff!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.075em!important;
}

/* Ajuste intermedio para evitar que el menú se comprima */
@media(max-width:1080px) and (min-width:821px){
  .fr-main-header-inner{
    gap:18px!important;
  }
  .fr-main-nav{
    gap:19px!important;
  }
  .fr-main-nav > a{
    font-size:9px!important;
    letter-spacing:.04em!important;
  }
  .fr-main-client-button{
    padding:0 13px!important;
    font-size:8px!important;
  }
}

/* Móvil: hamburger izquierda, logo centro, CTA derecha.
   Las categorías aparecen dentro del desplegable. */
@media(max-width:820px){
  .fr-main-header-inner{
    position:relative!important;
    width:calc(100% - 28px)!important;
    min-height:66px!important;
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    align-items:center!important;
    gap:8px!important;
  }

  .fr-main-mobile-toggle{
    grid-column:1!important;
    justify-self:start!important;
  }

  .fr-main-logo{
    grid-column:2!important;
    justify-self:center!important;
    width:48px!important;
    height:48px!important;
  }

  .fr-main-logo img{
    width:46px!important;
    height:46px!important;
  }

  .fr-main-client-button{
    grid-column:3!important;
    justify-self:end!important;
    margin-left:0!important;
    min-height:36px!important;
    padding:0 9px!important;
    font-size:7px!important;
    letter-spacing:.055em!important;
    text-align:center!important;
    line-height:1.15!important;
    max-width:112px!important;
  }

  .fr-main-nav{
    position:absolute!important;
    z-index:1000!important;
    top:66px!important;
    left:-14px!important;
    right:-14px!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 18px 14px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    background:#000!important;
    border-top:1px solid #1b1b1b!important;
    border-bottom:1px solid #1b1b1b!important;
  }

  .fr-main-nav.is-open{
    display:flex!important;
  }

  .fr-main-nav > a{
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #1b1b1b!important;
    font-size:11px!important;
  }

  .fr-main-search{
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    border-bottom:1px solid #1b1b1b!important;
  }
}


/* ==========================================================
   V18.21 · lupa junto al CTA + iconos reales
   ========================================================== */

.fr-main-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex:0 0 auto!important;
}

.fr-main-search{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:3px!important;
  background:transparent!important;
  color:#fff!important;
  cursor:pointer!important;
}

.fr-main-search:hover{
  background:rgba(255,255,255,.08)!important;
}

.fr-main-search .search-icon,
.fr-main-search .search-icon:before,
.fr-main-search .search-icon:after{
  border-color:#fff!important;
}

.fr-main-search .search-icon:after{
  background:#fff!important;
}

.fr-main-client-button{
  margin-left:0!important;
}

/* SVG de contacto */
.fr-footer-contact-icon{
  width:18px!important;
  height:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
}

.fr-footer-contact-icon svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
  fill:currentColor!important;
}

/* SVG reales de redes */
.fr-footer-socials a{
  width:38px!important;
  height:38px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}

.fr-footer-socials svg{
  width:16px!important;
  height:16px!important;
  display:block!important;
  fill:currentColor!important;
}

.fr-footer-socials a[aria-label="LinkedIn"] svg{
  width:17px!important;
  height:17px!important;
}

.fr-footer-socials a[aria-label="YouTube"] svg{
  width:18px!important;
  height:18px!important;
}

/* Móvil: lupa sigue justo a la izquierda del CTA */
@media(max-width:820px){
  .fr-main-actions{
    grid-column:3!important;
    justify-self:end!important;
    margin-left:0!important;
    gap:6px!important;
  }

  .fr-main-search{
    width:34px!important;
    height:36px!important;
    min-width:34px!important;
    min-height:36px!important;
    border-radius:3px!important;
  }

  .fr-main-client-button{
    grid-column:auto!important;
    justify-self:auto!important;
    max-width:105px!important;
    min-height:36px!important;
    padding:0 8px!important;
    font-size:6.8px!important;
  }
}

@media(max-width:430px){
  .fr-main-actions{
    gap:5px!important;
  }

  .fr-main-search{
    width:32px!important;
    min-width:32px!important;
  }

  .fr-main-client-button{
    max-width:94px!important;
    padding:0 7px!important;
    font-size:6.4px!important;
  }
}


/* ==========================================================
   V18.22 · footer: teléfono, redes y partners
   ========================================================== */

/* El teléfono apunta hacia el lado contrario. */
.fr-footer-phone-icon svg{
  transform:scaleX(-1)!important;
  transform-origin:center!important;
}

/* Redes: todos los iconos en una sola línea, sin círculos ni cajas. */
.fr-footer-socials{
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  overflow:visible!important;
}

.fr-footer-socials a{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  text-decoration:none!important;
}

.fr-footer-socials a:hover{
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  opacity:.65!important;
}

.fr-footer-socials svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
  fill:currentColor!important;
}

.fr-footer-socials a[aria-label="LinkedIn"] svg{
  width:20px!important;
  height:20px!important;
}

.fr-footer-socials a[aria-label="YouTube"] svg{
  width:22px!important;
  height:22px!important;
}

.fr-footer-socials a[aria-label="X"] svg{
  width:18px!important;
  height:18px!important;
}

/* Partners: misma caja geométrica, sin caja blanca adicional alrededor. */
.fr-footer-partners{
  width:100%!important;
  display:grid!important;
  grid-template-columns:110px 110px!important;
  gap:18px!important;
  align-items:center!important;
  justify-content:start!important;
}

.fr-footer-partners a{
  width:110px!important;
  height:64px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}

.fr-footer-partners img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:64px!important;
  margin:auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Compensación visual para que ambos badges ocupen una presencia similar. */
.fr-footer-partners a:nth-child(1) img{
  width:100px!important;
  max-width:100px!important;
  max-height:58px!important;
}

.fr-footer-partners a:nth-child(2) img{
  width:100px!important;
  max-width:100px!important;
  max-height:58px!important;
}

/* Mantener todo en una sola línea también en móvil cuando haya espacio. */
@media(max-width:820px){
  .fr-footer-socials{
    flex-wrap:nowrap!important;
    gap:16px!important;
  }

  .fr-footer-socials svg{
    width:18px!important;
    height:18px!important;
  }

  .fr-footer-partners{
    grid-template-columns:104px 104px!important;
    gap:16px!important;
  }

  .fr-footer-partners a{
    width:104px!important;
    height:60px!important;
  }

  .fr-footer-partners a:nth-child(1) img,
  .fr-footer-partners a:nth-child(2) img{
    width:96px!important;
    max-width:96px!important;
    max-height:54px!important;
  }
}

@media(max-width:380px){
  .fr-footer-socials{
    gap:13px!important;
  }

  .fr-footer-socials svg{
    width:17px!important;
    height:17px!important;
  }
}


/* ==========================================================
   V18.23 · acciones del header mejoradas en celulares
   ========================================================== */

.fr-cta-mobile{
  display:none;
}

/* Desktop conserva el texto completo */
.fr-main-client-button{
  border-radius:4px!important;
  transition:background .2s ease,color .2s ease,transform .2s ease!important;
}

/* En móvil: acciones limpias, legibles y proporcionadas */
@media(max-width:820px){
  .fr-main-header-inner{
    width:calc(100% - 20px)!important;
    min-height:64px!important;
    grid-template-columns:42px 46px 1fr!important;
    gap:10px!important;
  }

  .fr-main-mobile-toggle{
    grid-column:1!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    border-radius:4px!important;
  }

  .fr-main-logo{
    grid-column:2!important;
    justify-self:start!important;
    width:44px!important;
    height:44px!important;
  }

  .fr-main-logo img{
    width:42px!important;
    height:42px!important;
  }

  .fr-main-actions{
    grid-column:3!important;
    justify-self:end!important;
    width:auto!important;
    margin-left:auto!important;
    gap:8px!important;
    display:flex!important;
    align-items:center!important;
  }

  /* Lupa: icon-only, sin caja pesada */
  .fr-main-search{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    border:0!important;
    border-radius:4px!important;
    background:transparent!important;
    color:#fff!important;
  }

  .fr-main-search:hover,
  .fr-main-search:focus-visible{
    background:rgba(255,255,255,.08)!important;
    outline:none!important;
  }

  .fr-main-search .search-icon{
    transform:scale(.94)!important;
  }

  /* CTA compacto y claro */
  .fr-main-client-button{
    min-width:104px!important;
    max-width:none!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 14px!important;
    border-radius:4px!important;
    background:#fff!important;
    color:#000!important;
    border:1px solid #fff!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:.055em!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
  }

  .fr-cta-desktop{
    display:none!important;
  }

  .fr-cta-mobile{
    display:inline!important;
  }

  /* El menú desplegable empieza justo debajo del header */
  .fr-main-nav{
    top:64px!important;
  }
}

/* Pantallas muy pequeñas */
@media(max-width:390px){
  .fr-main-header-inner{
    width:calc(100% - 16px)!important;
    grid-template-columns:40px 42px 1fr!important;
    gap:7px!important;
  }

  .fr-main-logo,
  .fr-main-logo img{
    width:40px!important;
    height:40px!important;
  }

  .fr-main-search{
    width:36px!important;
    height:38px!important;
    min-width:36px!important;
    min-height:38px!important;
  }

  .fr-main-client-button{
    min-width:94px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 11px!important;
    font-size:8.3px!important;
  }
}


/* ==========================================================
   V18.24 · lupa siempre limpia + partners más juntos + banner
   ========================================================== */

/* Lupa: SIEMPRE icono suelto. Sin caja, borde, fondo ni efecto hover. */
.fr-main-search{
  width:34px!important;
  height:42px!important;
  min-width:34px!important;
  min-height:42px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  transition:none!important;
}

.fr-main-search:hover,
.fr-main-search:focus,
.fr-main-search:focus-visible,
.fr-main-search:active{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  transform:none!important;
  opacity:1!important;
  transition:none!important;
}

.fr-main-search .search-icon{
  transform:none!important;
  transition:none!important;
}

.fr-main-search .search-icon,
.fr-main-search .search-icon:before,
.fr-main-search .search-icon:after{
  border-color:#fff!important;
}

.fr-main-search .search-icon:after{
  background:#fff!important;
}

/* Meta + Google: más juntos, simétricos y sin cajas extra. */
.fr-footer-partners{
  grid-template-columns:94px 94px!important;
  gap:6px!important;
  justify-content:start!important;
}

.fr-footer-partners a{
  width:94px!important;
  height:56px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.fr-footer-partners a:nth-child(1) img,
.fr-footer-partners a:nth-child(2) img{
  width:88px!important;
  max-width:88px!important;
  max-height:50px!important;
  margin:auto!important;
  transform:none!important;
}

/* Banner de Builder debajo de las publicaciones de la portada. */
.home-builder-banner{
  width:min(1240px,calc(100% - 40px));
  margin:34px auto 0;
}

.home-builder-banner a{
  display:block;
  width:100%;
  line-height:0;
  text-decoration:none;
}

.home-builder-banner img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  margin:0;
  object-fit:contain;
}

@media(max-width:820px){
  .fr-main-search{
    width:32px!important;
    height:38px!important;
    min-width:32px!important;
    min-height:38px!important;
  }

  .fr-footer-partners{
    grid-template-columns:90px 90px!important;
    gap:5px!important;
  }

  .fr-footer-partners a{
    width:90px!important;
    height:54px!important;
  }

  .fr-footer-partners a:nth-child(1) img,
  .fr-footer-partners a:nth-child(2) img{
    width:84px!important;
    max-width:84px!important;
    max-height:48px!important;
  }

  .home-builder-banner{
    width:calc(100% - 28px);
    margin-top:24px;
  }
}


/* ==========================================================
   V18.25 · banner Builder redondeado igual que el slider
   ========================================================== */

.home-builder-banner{
  border-radius:28px!important;
  overflow:hidden!important;
}

.home-builder-banner a{
  border-radius:28px!important;
  overflow:hidden!important;
}

.home-builder-banner img{
  border-radius:28px!important;
}

@media(max-width:820px){
  .home-builder-banner,
  .home-builder-banner a,
  .home-builder-banner img{
    border-radius:21px!important;
  }
}
