/*
Theme Name: Orbi Blog
Theme URI: https://blog.orbi.finance
Author: Orbi
Description: Tema del blog de Orbi. Fondo oscuro, resplandores morados y tarjetas de vidrio.
Version: 1.9.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: orbi-blog
*/

:root{
  --bg:#0A0A0E;
  --bg-2:#121318;
  --ink:#111216;
  --white:#FFFFFF;
  --text:#C9CBD8;
  --muted:#B4B6C4;
  --iris:#7046C2;
  --iris-light:#B9A3F5;
  --indigo:#8B8FE6;
  --lilac:#CF9CFF;
  --lavender:#ECEBF9;
  --deep:#2A1B6B;
  --radius:24px;
  --wrap:1140px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:clip}
main,.site-footer{overflow-x:clip}
svg{max-width:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--iris-light);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;position:relative}
.section{position:relative;padding:72px 0}

/* Type */
.h-display{font-size:clamp(44px,6vw,84px);line-height:1;letter-spacing:-.04em;font-weight:800;color:var(--white);margin:0}
.h-section{font-size:clamp(34px,4.4vw,60px);line-height:1;letter-spacing:-.035em;font-weight:800;color:var(--white);margin:0}
.h-italic{font-weight:300;font-style:italic;letter-spacing:-.03em}
.kicker{font-style:italic;font-weight:300;color:var(--white);opacity:.85;font-size:18px}
.lead{font-size:clamp(17px,1.6vw,19px);color:var(--text);line-height:1.55}
.date{font-size:14px;color:var(--muted)}

/* Glow */
.glow{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(112,70,194,.7),rgba(75,45,154,.4) 40%,rgba(10,10,14,0) 100%);z-index:0}
.section>.wrap{z-index:1}

/* Glass */
.glass{position:relative;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.14);border-radius:var(--radius);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 24px 48px -12px rgba(0,0,0,.5)}
.glass:hover{border-color:rgba(255,255,255,.28)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;font-weight:600;font-size:14px;padding:12px 22px;line-height:1;transition:transform .15s ease,background .15s ease;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-outline{border:1.2px solid rgba(255,255,255,.8);color:var(--white)}
.btn-outline:hover{background:rgba(255,255,255,.08)}
.btn-light{background:var(--lavender);color:var(--ink)}
.btn svg{width:14px;height:14px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(10,10,14,.72);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;gap:40px;height:76px}
.brand{display:flex;align-items:center;gap:8px;color:var(--white);font-weight:600;font-size:21px;letter-spacing:-.02em}
.brand img{height:30px;width:auto}
.brand .custom-logo{height:36px;width:auto;max-width:none}
.site-footer .brand .custom-logo{height:44px}
.primary-nav{flex:1}
.primary-nav ul{list-style:none;margin:0;padding:0}
.primary-nav>ul{display:flex;gap:30px}
.primary-nav li{position:relative}
.primary-nav>ul>li>a{display:flex;align-items:center;gap:6px;color:var(--white);font-size:14px;font-weight:500;padding:26px 0}
.primary-nav>ul>li.menu-item-has-children>a::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.8}
.primary-nav .sub-menu{position:absolute;top:100%;left:-16px;min-width:240px;padding:10px;border-radius:18px;background:rgba(24,25,32,.92);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 48px -12px rgba(0,0,0,.6);opacity:0;visibility:hidden;transform:translateY(6px);transition:all .15s ease}
.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.primary-nav .sub-menu a{display:block;padding:10px 14px;border-radius:10px;font-size:14px;color:var(--text)}
.primary-nav .sub-menu a:hover{background:rgba(255,255,255,.06);color:var(--white)}
.header-cta{margin-left:0}
.menu-toggle{display:none;background:none;border:0;color:var(--white);padding:10px;margin-left:8px;cursor:pointer}
.subbar{padding-top:14px}
.subbar a{color:var(--iris-light);font-weight:600;font-size:15px}

@media (max-width:900px){
  .header-inner{gap:12px;height:64px}
  .primary-nav{position:fixed;inset:64px 0 auto 0;background:rgba(10,10,14,.97);padding:12px 24px 28px;display:none;border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-open .primary-nav{display:block}
  .primary-nav>ul{flex-direction:column;gap:0}
  .primary-nav>ul>li>a{padding:14px 0;font-size:17px}
  .primary-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;background:none;border:0;box-shadow:none;padding:0 0 8px 12px;-webkit-backdrop-filter:none;backdrop-filter:none}
  .menu-toggle{display:block}
  .header-cta .btn{padding:9px 14px;font-size:12px}
}

/* Hero */
.hero{text-align:center;padding:52px 0 0}
.top-row{padding:28px 0 24px}
.top-row .related{margin-top:0}
.hero .h-display{font-size:clamp(36px,4.6vw,60px);letter-spacing:-.035em}
.hero .lead{max-width:620px;margin:22px auto 30px}

/* Art frame: transparent render over purple blobs */
.art{position:relative;overflow:hidden;border-radius:18px;background:#C9CBF2;isolation:isolate}
.art::before,.art::after,.art i{content:"";position:absolute;border-radius:50%;filter:blur(55px);z-index:-1}
.art::before{width:90%;height:100%;left:-20%;top:30%;background:#7046C2}
.art::after{width:70%;height:80%;left:40%;top:-30%;background:#CF9CFF;opacity:.95}
.art i{width:45%;height:50%;left:38%;top:50%;background:#ECEBF9;opacity:.85}
.art img{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(42,27,107,.35))}
.art--placeholder img{display:none}
.art--cover{background:#141418}
.art--cover::before{content:"";position:absolute;inset:-30px;width:auto;height:auto;left:-30px;top:-30px;border-radius:0;background:var(--art-bg) center/cover no-repeat;filter:blur(28px) brightness(.55) saturate(1.2);opacity:1;z-index:0}
.art--cover::after,.art--cover i{display:none}
.art.art--cover img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;filter:none;z-index:1}
.featured .art.art--cover{aspect-ratio:16/10}
.art img{max-width:100%}
.art .art-symbol{position:absolute;inset:0;margin:auto;width:40%;height:40%;opacity:.95}

/* Featured */
.featured{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:20px;max-width:none;margin:48px 0 0;align-items:center}
.featured .art{aspect-ratio:6/5}
.featured .body{padding:8px 20px 8px 4px}
.featured h2{font-size:clamp(30px,3.4vw,40px);line-height:1.02;letter-spacing:-.035em;font-weight:800;color:var(--white);margin:6px 0 4px}
.featured .subtitle{font-style:italic;font-weight:300;color:var(--white);font-size:20px;margin:0 0 14px}
.featured p.excerpt{font-size:16px;color:var(--text);margin:0 0 20px}
.chip{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.35);border:1px solid rgba(255,255,255,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--ink);font-size:11px;font-weight:600}
.chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--iris)}

/* Pillars */
.pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px}
.pillar{padding:32px 28px}
.pillar h3{margin:0 0 8px;font-size:28px;letter-spacing:-.02em;color:var(--white)}
.pillar p{margin:0;font-size:17px;color:var(--muted)}

/* Band */
.band{position:relative;overflow:hidden;background:#4B2D9A;padding:84px 0;isolation:isolate}
.band .blob{position:absolute;border-radius:50%;filter:blur(110px);z-index:-1}
.band .b1{width:62%;height:130%;left:-17%;top:-10%;background:#2A1B6B;opacity:.9}
.band .b2{width:48%;height:120%;left:17%;top:20%;background:#7046C2}
.band .b3{width:43%;height:110%;left:48%;top:-40%;background:#CF9CFF;opacity:.95}
.band .b4{width:36%;height:90%;left:68%;top:40%;background:#8B8FE6;opacity:.9}
.band-inner{display:grid;grid-template-columns:minmax(0,560px) 1fr;gap:40px;align-items:center}
.band .panel{padding:44px}
.band h2{font-size:clamp(32px,4vw,56px);line-height:1.02;letter-spacing:-.035em;font-weight:800;color:var(--white);margin:8px 0 26px}
.band-art{display:flex;justify-content:center}
.band-art img{max-width:340px;width:100%;filter:drop-shadow(0 30px 60px rgba(20,10,60,.5))}

/* Subscribe form */
.subscribe{display:flex;gap:10px;flex-wrap:wrap}
.subscribe input[type=email]{flex:1;min-width:200px;height:50px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:var(--white);padding:0 22px;font:inherit;font-size:15px}
.subscribe input::placeholder{color:rgba(255,255,255,.55)}
.subscribe button{height:50px;border:0;cursor:pointer}
.subscribe--jetpack{display:block}
.subscribe--jetpack .jetpack_subscription_widget,.subscribe--jetpack .wp-block-jetpack-subscriptions__container{margin:0;padding:0;background:none;border:0}
.subscribe--jetpack form{display:flex !important;flex-wrap:wrap;gap:10px;align-items:center;margin:0}
.subscribe--jetpack form p{margin:0 !important;padding:0 !important}
.subscribe--jetpack #subscribe-email,.subscribe--jetpack form>p:first-of-type{flex:1;min-width:200px}
.subscribe--jetpack input[type=email]{width:100% !important;box-sizing:border-box;height:50px !important;border-radius:999px !important;border:1px solid rgba(255,255,255,.35) !important;background:rgba(255,255,255,.1) !important;color:var(--white) !important;padding:0 22px !important;font:inherit !important;font-size:15px !important;margin:0 !important}
.subscribe--jetpack button,.subscribe--jetpack input[type=submit]{height:50px !important;padding:0 26px !important;border:0 !important;border-radius:999px !important;background:var(--lavender) !important;color:var(--ink) !important;font:inherit !important;font-size:15px !important;font-weight:600 !important;cursor:pointer;margin:0 !important;width:auto !important;box-shadow:none !important}
.subscribe--jetpack button:hover,.subscribe--jetpack input[type=submit]:hover{background:#fff !important}
.privacy{font-size:12px;color:rgba(255,255,255,.65);margin:12px 0 0}
.privacy a{text-decoration:underline}

/* Recent */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.recent-grid{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:40px;align-items:stretch}
.recent-grid .art{min-height:440px;height:100%}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.post-card{display:flex;flex-direction:column;padding:26px 24px;min-height:200px}
.post-card h3{margin:0;font-size:18px;line-height:1.3;letter-spacing:-.015em;font-weight:700;color:var(--white)}
.post-card .date{margin-top:10px}
.post-card .read svg,.more svg,.read svg{width:16px;height:16px;flex:none}
.post-card .read{margin-top:auto;padding-top:18px;font-size:14px;font-weight:600;color:var(--white);display:inline-flex;gap:6px;align-items:center}
.more{margin-top:32px}

/* Closing */
.closing{text-align:center;padding:90px 0 110px}
.closing .h-section{margin:10px auto 30px;max-width:620px;font-size:clamp(28px,3.2vw,42px)}
.stores{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.store{display:inline-flex;align-items:center;gap:8px;background:#000;border:1px solid #A6A6A6;border-radius:9px;padding:6px 14px 6px 11px;color:#fff;text-align:left}
.store svg{width:18px;height:18px;fill:#fff}
.store svg.play{width:17px;height:17px}
.store small{display:block;font-size:8.5px;line-height:1.1;letter-spacing:.02em}
.store strong{display:block;font-size:15px;line-height:1.1;font-weight:600}

/* Footer */
.site-footer{background:var(--bg-2);border-top:1px solid rgba(255,255,255,.08);padding:64px 0 48px;position:relative;overflow:hidden}
.footer-top{display:grid;grid-template-columns:1fr auto;gap:40px}
.footer-brand p{margin:16px 0 0;color:var(--white);font-size:15px;line-height:1.3}
.footer-brand p em{font-weight:300}
.footer-brand p strong{font-weight:700}
.footer-brand p em+strong{margin-left:.28em}
.footer-cols{display:grid;grid-template-columns:repeat(5,auto);gap:24px 48px}
.footer-cols h4{margin:0 0 12px;color:var(--white);font-size:13px}
.footer-cols ul{list-style:none;margin:0;padding:0}
.footer-cols li{margin:0 0 10px;line-height:1.4}
.footer-cols a{color:rgba(255,255,255,.65);font-size:13px;white-space:nowrap}
.footer-cols a:hover{color:#fff}
.legal{margin:48px 0 0;font-size:11px;line-height:1.65;color:rgba(255,255,255,.45)}
.footer-symbol{position:absolute;right:120px;bottom:-140px;width:440px;opacity:.07;pointer-events:none}

/* Single */
.article-head{padding:56px 0 40px}
.article-head .back{color:var(--iris-light);font-weight:600;font-size:15px}
.article-head .date{display:block;margin:28px 0 14px;font-size:15px}
.article-head .subtitle{font-style:italic;font-weight:300;color:var(--white);font-size:clamp(24px,3vw,40px);letter-spacing:-.02em;margin:6px 0 0}
.article-hero{aspect-ratio:2.04/1;border-radius:28px}
.entry{max-width:680px;margin:64px auto 0;font-size:19px;line-height:1.7;color:var(--text)}
.entry>p:first-child{font-size:24px;line-height:1.55;color:var(--white);font-weight:500}
.entry h2,.entry h3{color:var(--white);letter-spacing:-.02em;line-height:1.2;margin:48px 0 16px}
.entry h2{font-size:32px}
.entry h3{font-size:24px}
.entry a{color:var(--iris-light);text-decoration:underline}
.entry strong{color:var(--white)}
.entry img{border-radius:18px;margin:32px auto}
.entry ul,.entry ol{padding-left:1.2em}
.entry blockquote{margin:40px -60px;padding:40px 60px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px)}
.entry blockquote p{font-size:30px;line-height:1.35;font-style:italic;font-weight:300;color:var(--white);margin:0}
.entry figure{margin:32px 0}
.article-subscribe{max-width:800px;margin:72px auto 0;padding:40px 48px}
.article-subscribe h2{font-size:32px;letter-spacing:-.03em;font-weight:800;color:var(--white);margin:6px 0 22px}
.related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px}
.related .post-card{padding:12px 12px 26px}
.related .art{aspect-ratio:4/3;margin-bottom:22px}
.related .post-card h3,.related .post-card .date{padding:0 16px}

/* Archive */
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.archive-grid .post-card{padding:12px 12px 26px}
.archive-grid .art{aspect-ratio:4/3;margin-bottom:22px}
.archive-grid .post-card h3,.archive-grid .post-card .date{padding:0 16px}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:48px}
.pagination .page-numbers{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(255,255,255,.2);color:#fff;padding:0 14px}
.pagination .current{background:var(--lavender);color:var(--ink);border-color:var(--lavender)}

@media (max-width:900px){
  .section{padding:52px 0}
  .featured{grid-template-columns:1fr;padding:12px}
  .featured .body{padding:8px 12px 12px}
  .pillars,.cards,.related,.archive-grid{grid-template-columns:1fr}
  .pillars{gap:12px}
  .pillar{padding:24px 22px}
  .band-inner{grid-template-columns:1fr}
  .band-art{order:-1}
  .band-art img{max-width:150px}
  .band .panel{padding:26px 22px}
  .recent-grid{grid-template-columns:1fr}
  .recent-grid .art{min-height:0;height:auto;aspect-ratio:1.35}
  .footer-top{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .entry-share{margin-top:32px}
  .entry blockquote{margin:32px 0;padding:28px}
  .entry blockquote p{font-size:24px}
  .article-subscribe{padding:28px 22px}
  .stores{flex-direction:row;align-items:center}
}

/* Share buttons */
.entry-share{max-width:680px;margin:40px auto 0}
.share{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.share-label{color:var(--white);font-weight:600;font-size:15px;margin-right:6px}
.share-btn{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:var(--white);cursor:pointer;padding:0;transition:background .2s,border-color .2s}
.share-btn:hover{background:rgba(185,163,245,.22);border-color:rgba(185,163,245,.6)}
.share-btn svg{width:17px;height:17px}
.share-done{position:absolute;top:-30px;left:50%;transform:translateX(-50%);font-size:12px;background:var(--lavender);color:var(--ink);padding:3px 8px;border-radius:999px;opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap}
.share-copy.is-done .share-done{opacity:1}
.sharedaddy,.jp-relatedposts{display:none !important}


/* ==================================================================
 * Single article: editorial template
 * ================================================================ */
body.single{background:#0B0B0D}
.single-article{--sa-text:#F2F2F2;--sa-muted:#92929A;--sa-wide:780px;--sa-read:660px;padding:0 24px}
.sa-wide{max-width:var(--sa-wide);margin-left:auto;margin-right:auto}
.sa-related.sa-wide,.sa-subscribe.sa-wide{padding:0 24px;box-sizing:content-box}
.sa-head{padding:56px 0 0}
.sa-back{display:inline-block;color:var(--sa-muted);font-size:14px;font-weight:500;transition:color .2s}
.sa-back:hover{color:var(--sa-text)}
.sa-meta{margin:44px 0 18px;font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--sa-muted)}
.sa-title{margin:0;font-size:clamp(38px,4.6vw,54px);line-height:1.08;letter-spacing:-.03em;font-weight:700;color:var(--sa-text);text-wrap:balance}
.sa-deck{margin:22px 0 0;max-width:700px;font-size:21px;line-height:1.5;font-weight:400;color:var(--sa-muted)}
.sa-hero{margin-top:44px;margin-bottom:0}
.sa-hero .art{aspect-ratio:16/9;border-radius:14px;width:100%}
.sa-hero .art.art--cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}

/* Reading column */
.sa-body{max-width:var(--sa-read);margin:56px auto 0;font-size:18px;line-height:1.7;font-weight:400;color:var(--sa-text)}
.sa-body>p:first-child{font-size:18px;line-height:1.7;font-weight:400;color:var(--sa-text)}
.sa-body p{margin:0 0 26px}
.sa-body ul,.sa-body ol{margin:0 0 26px;padding-left:1.25em}
.sa-body li{margin:0 0 10px}
.sa-body li::marker{color:var(--sa-muted)}
.sa-body strong{color:var(--sa-text);font-weight:600}
.sa-body h2{font-size:30px;line-height:1.25;letter-spacing:-.02em;font-weight:650;color:var(--sa-text);margin:64px 0 22px}
.sa-body h3{font-size:23px;line-height:1.3;letter-spacing:-.015em;font-weight:600;color:var(--sa-text);margin:44px 0 16px}
.sa-body h4{font-size:18px;font-weight:600;color:var(--sa-text);margin:32px 0 12px}
.sa-body>*:first-child{margin-top:0}
.sa-body a{color:#B9A3F5;text-decoration:underline;text-decoration-color:rgba(185,163,245,.4);text-underline-offset:3px;text-decoration-thickness:1px;transition:text-decoration-color .2s,color .2s}
.sa-body a:hover{color:#CDBDF8;text-decoration-color:rgba(205,189,248,.9)}

/* Images: column width by default, editorial width when set to wide */
.sa-body img{border-radius:12px;margin:0;max-width:100%;height:auto}
.sa-body figure,.sa-body .wp-block-image{margin:40px 0}
.sa-body .alignwide,.sa-body .alignfull{width:min(var(--sa-wide),calc(100vw - 48px));max-width:none;margin-left:50%;transform:translateX(-50%)}
.sa-body figcaption,.sa-body .wp-element-caption{margin-top:12px;font-size:14px;line-height:1.5;color:var(--sa-muted);text-align:left}

/* A. Quotes */
.sa-body blockquote,.sa-body .wp-block-quote{margin:44px 0;padding:2px 0 2px 24px;border:0;border-left:2px solid rgba(185,163,245,.7);border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.sa-body blockquote p{font-size:21px;line-height:1.55;font-style:normal;font-weight:400;color:var(--sa-text);margin:0 0 12px}
.sa-body blockquote cite{display:block;font-size:14px;font-style:normal;color:var(--sa-muted)}
.sa-body .wp-block-pullquote,.sa-body .wp-block-quote.is-style-orbi-destacada{margin:64px 0;padding:36px 0;border:0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);text-align:left}
.sa-body .wp-block-pullquote blockquote{margin:0;padding:0;border:0}
.sa-body .wp-block-pullquote p,.sa-body .wp-block-quote.is-style-orbi-destacada p{font-size:clamp(26px,3vw,32px);line-height:1.3;letter-spacing:-.02em;font-weight:500;color:var(--sa-text)}
.sa-body .wp-block-pullquote cite,.sa-body .wp-block-quote.is-style-orbi-destacada cite{margin-top:16px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--sa-muted)}

/* B. Key fact */
.sa-body .is-style-orbi-dato{margin:52px 0;padding:0}
.sa-body .is-style-orbi-dato :is(p,h2,h3,h4){margin:0;font-size:17px;line-height:1.55;font-weight:400;letter-spacing:0;color:var(--sa-muted);max-width:520px}
.sa-body .is-style-orbi-dato :is(p,h2,h3,h4):first-child{margin:0 0 8px;font-size:clamp(48px,6vw,64px);line-height:1;letter-spacing:-.04em;font-weight:700;color:#ECEBF9;max-width:none}

/* C. Editorial callout */
.sa-body .is-style-orbi-nota{margin:44px 0;padding:26px 28px;border-radius:12px;background:#141418}
.sa-body .is-style-orbi-nota :is(p,ul,ol):last-child{margin-bottom:0}
.sa-body .is-style-orbi-nota :is(h2,h3,h4){margin:0 0 8px !important;font-size:13px !important;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:#C9F45A;font-weight:600}
.sa-body .is-style-orbi-nota p:first-child>strong:only-child{display:block;margin:0 0 8px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#C9F45A;font-weight:600}
.sa-body .is-style-orbi-nota p{font-size:16px;line-height:1.65;color:#D6D6DC}

/* E. Divider */
.sa-body hr,.sa-body .wp-block-separator{border:0;border-top:1px solid rgba(255,255,255,.1);margin:56px 0;width:100%;max-width:none;opacity:1;background:none;height:0}

/* Article footer */
.sa-rule{border:0;border-top:1px solid rgba(255,255,255,.1);margin:0 0 28px;height:0}
.sa-foot{max-width:var(--sa-read);margin-top:64px}
.sa-foot .share-label{color:var(--sa-muted);font-weight:500;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.sa-foot .share-btn{border-color:rgba(255,255,255,.12);background:transparent}
.sa-label{margin:0 0 28px;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sa-muted)}
.sa-related{margin-top:96px;max-width:1040px}
.rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.rel-card{display:flex;flex-direction:column;color:var(--sa-text,#F2F2F2)}
.rel-card .art{aspect-ratio:16/10;border-radius:12px;margin-bottom:18px}
.rel-card .art.art--cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.rel-card .meta{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#92929A;margin-bottom:8px}
.rel-card h3{margin:0 0 10px;font-size:18px;line-height:1.35;letter-spacing:-.01em;font-weight:600;color:#F2F2F2;transition:color .2s}
.rel-card:hover h3{color:#CDBDF8}
.rel-card .meta-sub{font-size:13px;color:#92929A}
.sa-subscribe{margin-top:96px;margin-bottom:96px;max-width:1040px}
.sa-subscribe-in{display:grid;grid-template-columns:1fr minmax(0,440px);gap:40px;align-items:end}
.sa-subscribe .sa-label{margin-bottom:10px}
.sa-subscribe h2{margin:0;font-size:28px;line-height:1.2;letter-spacing:-.02em;font-weight:650;color:#F2F2F2}
.sa-subscribe .privacy{color:#92929A}

@media (max-width:900px){
  .single-article{padding:0 20px}
  .sa-related.sa-wide,.sa-subscribe.sa-wide{padding:0 20px}
  .sa-head{padding-top:36px}
  .sa-meta{margin-top:32px;font-size:12px}
  .sa-title{font-size:clamp(34px,9.5vw,40px)}
  .sa-deck{font-size:18px}
  .sa-hero{margin-top:32px}
  .sa-body{font-size:17px;margin-top:40px}
  .sa-body h2{font-size:26px;margin-top:52px}
  .sa-body h3{font-size:21px}
  .sa-body .alignwide,.sa-body .alignfull{width:100%;margin-left:0;transform:none}
  .rel-grid{grid-template-columns:1fr;gap:36px}
  .sa-subscribe-in{grid-template-columns:1fr;gap:20px}
  .sa-related,.sa-subscribe{margin-top:72px}
}


/* ==================================================================
 * Theme toggle + light mode
 * ================================================================ */
.theme-toggle{display:inline-grid;place-items:center;flex:none;width:38px;height:38px;margin-left:0;margin-right:-26px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:transparent;color:var(--white);cursor:pointer;padding:0;transition:background .2s,border-color .2s}
.theme-toggle:hover{background:rgba(255,255,255,.08)}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .i-moon{display:none}
.logo-light{display:none}
html[data-theme="light"] .logo-dark{display:none}
html[data-theme="light"] .logo-light{display:block}
html[data-theme="light"] .theme-toggle .i-sun{display:none}
html[data-theme="light"] .theme-toggle .i-moon{display:block}
@media (max-width:900px){.theme-toggle{margin-right:0;width:36px;height:36px}}

html[data-theme="light"]{
  --bg:#F6F6F9;
  --bg-2:#EDEDF2;
  --white:#111216;
  --text:#3E4050;
  --muted:#666879;
  color-scheme:light;
}
html[data-theme="light"] body,html[data-theme="light"] body.single{background:var(--bg)}
html[data-theme="light"] .theme-toggle{border-color:rgba(17,18,22,.15)}
html[data-theme="light"] .theme-toggle:hover{background:rgba(17,18,22,.05)}
html[data-theme="light"] .glow{background:radial-gradient(closest-side,rgba(185,163,245,.42),rgba(207,156,255,.18) 45%,rgba(246,246,249,0) 100%)}
html[data-theme="light"] .glass{background:rgba(255,255,255,.82);border-color:rgba(17,18,22,.08);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 22px 44px -24px rgba(42,27,107,.22)}
html[data-theme="light"] .glass:hover{border-color:rgba(112,70,194,.35)}
html[data-theme="light"] .btn-outline{border-color:rgba(17,18,22,.75)}
html[data-theme="light"] .btn-outline:hover{background:rgba(17,18,22,.05)}
html[data-theme="light"] .header-cta .btn-light{background:#111216;color:#fff}
html[data-theme="light"] .site-header{background:rgba(246,246,249,.82);border-bottom-color:rgba(17,18,22,.07)}
html[data-theme="light"] .primary-nav .sub-menu{background:rgba(255,255,255,.97);border-color:rgba(17,18,22,.08);box-shadow:0 24px 48px -16px rgba(42,27,107,.2)}
html[data-theme="light"] .primary-nav .sub-menu a:hover{background:rgba(17,18,22,.05)}
@media (max-width:900px){html[data-theme="light"] .primary-nav{background:rgba(246,246,249,.98);border-bottom-color:rgba(17,18,22,.08)}}
html[data-theme="light"] .subscribe input[type=email],html[data-theme="light"] .subscribe--jetpack input[type=email]{border-color:rgba(17,18,22,.18) !important;background:#fff !important;color:#111216 !important}
html[data-theme="light"] .subscribe input::placeholder{color:#8A8C99}
html[data-theme="light"] .subscribe--jetpack button,html[data-theme="light"] .subscribe--jetpack input[type=submit],html[data-theme="light"] .subscribe button{background:#111216 !important;color:#fff !important}
html[data-theme="light"] .privacy{color:var(--muted)}
/* The purple band keeps its white text in both modes */
html[data-theme="light"] .band{--white:#fff;--text:#ECEBF9}
html[data-theme="light"] .band .glass{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border-color:rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 24px 48px -12px rgba(42,27,107,.35)}
html[data-theme="light"] .band .subscribe input[type=email],html[data-theme="light"] .band .subscribe--jetpack input[type=email]{border-color:rgba(255,255,255,.4) !important;background:rgba(255,255,255,.14) !important;color:#fff !important}
html[data-theme="light"] .band .subscribe input::placeholder{color:rgba(255,255,255,.7)}
html[data-theme="light"] .band .subscribe--jetpack button,html[data-theme="light"] .band .subscribe--jetpack input[type=submit],html[data-theme="light"] .band .subscribe button{background:var(--lavender) !important;color:var(--ink) !important}
html[data-theme="light"] .band .privacy{color:rgba(255,255,255,.75)}
html[data-theme="light"] .site-footer{border-top-color:rgba(17,18,22,.07)}
html[data-theme="light"] .footer-cols a{color:#5E6070}
html[data-theme="light"] .footer-cols a:hover{color:#111216}
html[data-theme="light"] .legal{color:#8A8C99}
html[data-theme="light"] .pagination .page-numbers{border-color:rgba(17,18,22,.18);color:#111216}
html[data-theme="light"] .pagination .current{background:#111216;color:#fff;border-color:#111216}
html[data-theme="light"] .share-btn{border-color:rgba(17,18,22,.14);background:transparent;color:#111216}
html[data-theme="light"] .share-btn:hover{background:rgba(112,70,194,.08);border-color:rgba(112,70,194,.4)}
html[data-theme="light"] .art--cover{background:#E4E4EC}
/* Article page */
html[data-theme="light"] .single-article{--sa-text:#111216;--sa-muted:#5E6070}
html[data-theme="light"] .sa-body a{color:#5B34B0;text-decoration-color:rgba(91,52,176,.35)}
html[data-theme="light"] .sa-body a:hover{color:#7046C2;text-decoration-color:rgba(112,70,194,.9)}
html[data-theme="light"] .sa-body hr,html[data-theme="light"] .sa-body .wp-block-separator,html[data-theme="light"] .sa-rule{border-top-color:rgba(17,18,22,.1)}
html[data-theme="light"] .sa-body blockquote,html[data-theme="light"] .sa-body .wp-block-quote{border-left-color:rgba(112,70,194,.7)}
html[data-theme="light"] .sa-body .wp-block-pullquote,html[data-theme="light"] .sa-body .wp-block-quote.is-style-orbi-destacada{border-top-color:rgba(17,18,22,.12);border-bottom-color:rgba(17,18,22,.12);border-left:0}
html[data-theme="light"] .sa-body .is-style-orbi-dato :is(p,h2,h3,h4):first-child{color:#7046C2}
html[data-theme="light"] .sa-body .is-style-orbi-nota{background:#EDEDF2}
html[data-theme="light"] .sa-body .is-style-orbi-nota p{color:#3E4050}
html[data-theme="light"] .sa-body .is-style-orbi-nota :is(h2,h3,h4),html[data-theme="light"] .sa-body .is-style-orbi-nota p:first-child>strong:only-child{color:#5B34B0}
html[data-theme="light"] .sa-foot .share-label,html[data-theme="light"] .sa-label{color:#5E6070}
html[data-theme="light"] .rel-card h3,html[data-theme="light"] .sa-subscribe h2{color:#111216}
html[data-theme="light"] .rel-card:hover h3{color:#5B34B0}
html[data-theme="light"] .rel-card .meta,html[data-theme="light"] .rel-card .meta-sub{color:#666879}

/* Language switcher */
.lang-switch{margin-left:auto;margin-right:-24px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--muted)}
.lang-switch a{color:var(--muted);transition:color .2s}
.lang-switch a:hover{color:var(--white)}
.lang-switch .is-current{color:var(--white)}
.lang-switch span[aria-hidden]{opacity:.4}
.header-inner>.theme-toggle:first-of-type{margin-left:auto}
.lang-switch+.theme-toggle{margin-left:0 !important}
@media (max-width:900px){.lang-switch{margin-right:0;font-size:12px}}

/* Reading progress */
.read-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none;opacity:0;transition:opacity .3s}
.read-progress.is-active{opacity:1}
.read-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--iris),var(--iris-light));transform:scaleX(0);transform-origin:left center;will-change:transform}
html[data-theme="light"] .read-progress span{background:var(--iris)}
@media (prefers-reduced-motion:reduce){.read-progress{transition:none}}

/* Floating star in the newsletter band */
.orbi-star{position:relative;width:100%;height:clamp(320px,32vw,440px);display:flex;align-items:center;justify-content:center;perspective:900px;--px:0px;--py:0px}
.orbi-star__halo{position:absolute;width:78%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(185,163,245,.55),rgba(112,70,194,.28) 45%,rgba(112,70,194,0) 100%);filter:blur(8px);animation:star-halo 7s ease-in-out infinite}
.orbi-star__float{position:relative;height:100%;display:flex;align-items:center;justify-content:center;transform:translate3d(var(--px),var(--py),0);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.orbi-star__spin{position:relative;display:block;height:94%;animation:star-float 7s ease-in-out infinite;transform-style:preserve-3d}
.orbi-star__turn{position:relative;display:block;height:100%;animation:star-turn 9s ease-in-out infinite}
.orbi-star__spin img{display:block;height:100%;width:auto;filter:drop-shadow(0 30px 40px rgba(75,45,154,.45))}
.orbi-star__shine{position:absolute;inset:0;pointer-events:none;-webkit-mask:var(--star) center/contain no-repeat;mask:var(--star) center/contain no-repeat;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.55) 48%,rgba(236,235,249,.4) 52%,transparent 65%) no-repeat;background-size:260% 100%;animation:star-shine 6s ease-in-out infinite;animation-delay:1.2s}
@keyframes star-float{0%,100%{transform:translateY(-10px) rotate(-3deg)}50%{transform:translateY(12px) rotate(3deg)}}
@keyframes star-turn{0%,100%{transform:rotateY(-22deg)}50%{transform:rotateY(22deg)}}
@keyframes star-shine{0%,15%{background-position:120% 0}55%,100%{background-position:-60% 0}}
@keyframes star-halo{0%,100%{transform:scale(.92);opacity:.75}50%{transform:scale(1.06);opacity:1}}
html[data-theme="light"] .orbi-star__halo{background:radial-gradient(closest-side,rgba(185,163,245,.6),rgba(207,156,255,.25) 50%,rgba(246,246,249,0) 100%)}
@media (max-width:900px){.orbi-star{height:190px}}
@media (prefers-reduced-motion:reduce){
  .orbi-star__halo,.orbi-star__spin,.orbi-star__turn,.orbi-star__shine{animation:none}
  .orbi-star__float{transition:none;transform:none}
}
.band-art .orbi-star img{max-width:none;width:auto;filter:drop-shadow(0 30px 50px rgba(20,10,60,.55))}
.band .orbi-star__halo,html[data-theme="light"] .band .orbi-star__halo{background:radial-gradient(closest-side,rgba(236,235,249,.45),rgba(207,156,255,.25) 50%,rgba(207,156,255,0) 100%)}

/* Editorial index ("Más artículos") */
.idx-list{margin-top:40px;border-bottom:1px solid rgba(255,255,255,.16)}
.idx-row{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,340px);gap:28px;align-items:start;padding:22px 18px 24px;border-top:1px solid rgba(255,255,255,.16);color:var(--white);isolation:isolate;overflow:hidden}
.idx-row::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--iris);transform:scaleY(0);transform-origin:bottom center;transition:transform .45s cubic-bezier(.7,0,.2,1)}
.idx-num{padding-top:3px;font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--muted);font-variant-numeric:tabular-nums;transition:color .3s}
.idx-head{display:flex;flex-direction:column;gap:6px;transition:transform .45s cubic-bezier(.7,0,.2,1)}
.idx-title{font-size:clamp(18px,1.5vw,21px);line-height:1.25;letter-spacing:-.02em;font-weight:600}
.idx-date{font-size:13px;color:var(--muted);transition:color .3s}
.idx-arrow{display:inline-block;width:0;white-space:nowrap;font-weight:500;opacity:0;transform:translateX(.1em);transition:opacity .3s,transform .45s cubic-bezier(.7,0,.2,1)}
.idx-desc{display:flex;flex-direction:column;gap:6px;padding-top:3px}
.idx-meta{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--iris-light);transition:color .3s}
.idx-sum{font-size:14px;line-height:1.55;color:var(--text);transition:color .3s}
.idx-row:hover::before,.idx-row:focus-visible::before{transform:scaleY(1)}
.idx-row:hover .idx-head,.idx-row:focus-visible .idx-head{transform:translateX(10px)}
.idx-row:hover .idx-arrow,.idx-row:focus-visible .idx-arrow{opacity:1;transform:translateX(.3em)}
.idx-row:hover .idx-num,.idx-row:hover .idx-date,.idx-row:hover .idx-meta,.idx-row:hover .idx-sum,.idx-row:focus-visible .idx-num,.idx-row:focus-visible .idx-date,.idx-row:focus-visible .idx-meta,.idx-row:focus-visible .idx-sum{color:rgba(255,255,255,.9)}
.idx-row:focus-visible{outline:none}
html[data-theme="light"] .idx-list{border-bottom-color:rgba(17,18,22,.16)}
html[data-theme="light"] .idx-row{border-top-color:rgba(17,18,22,.16)}
html[data-theme="light"] .idx-meta{color:var(--iris)}
html[data-theme="light"] .idx-row:hover,html[data-theme="light"] .idx-row:focus-visible{color:#fff}
@media (max-width:900px){
  .idx-row{grid-template-columns:32px minmax(0,1fr);gap:10px 14px;padding:22px 8px 24px}
  .idx-desc{grid-column:2;padding-top:0}
  .idx-title{font-size:18px}
}
@media (hover:none){.idx-arrow{opacity:1;transform:translateX(.3em)}}
@media (prefers-reduced-motion:reduce){.idx-row::before,.idx-head,.idx-arrow{transition:none}}

/* Compact newsletter banner */
.band-slot{padding:56px 0}
.band.band--compact{border-radius:22px;padding:28px 36px 28px 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px) 110px;gap:32px;align-items:center}
.band--compact .blob{filter:blur(70px)}
.band--compact .kicker{font-size:13px}
.band--compact h2{font-size:clamp(22px,2vw,26px);line-height:1.15;letter-spacing:-.025em;margin:4px 0 0}
.band--compact .subscribe input[type=email],.band--compact .subscribe button,.band--compact .subscribe--jetpack input[type=email],.band--compact .subscribe--jetpack button,.band--compact .subscribe--jetpack input[type=submit]{height:44px !important}
.band--compact .privacy{font-size:11px;margin-top:8px}
.band--compact .orbi-star{height:140px}
.band--compact .orbi-star__halo{width:120%}
@media (max-width:900px){
  .band-slot{padding:40px 0}
  .band.band--compact{grid-template-columns:minmax(0,1fr) 72px;gap:18px;padding:24px 22px}
  .band--compact .band-c-copy{grid-column:1;grid-row:1}
  .band--compact .band-art{grid-column:2;grid-row:1}
  .band--compact .band-c-form{grid-column:1 / -1}
  .band--compact .orbi-star{height:96px}
  .band--compact h2{font-size:21px}
}

/* Article page, editorial layout (title left, image + deck side by side, sidebar) */
.sa-v{--sa-max:1092px}
.sa-v-head,.sa-v-top,.sa-v-cols,.sa-v .sa-foot{max-width:var(--sa-max);margin-left:auto;margin-right:auto}
.sa-v-head{padding:44px 0 0}
.sa-tags{display:flex;gap:8px;align-items:center;margin:0 0 18px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--sa-muted)}
.sa-tags a{color:var(--iris-light);transition:color .2s}
.sa-tags a:first-child{color:var(--sa-muted)}
.sa-tags a:hover{color:var(--sa-text)}
.sa-v .sa-title{max-width:880px;font-size:clamp(28px,2.8vw,38px);line-height:1.08;text-wrap:balance}
.sa-v-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:32px;margin-top:28px;align-items:stretch}
.sa-v .sa-hero{margin:0}
.sa-v-aside{display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding-top:2px}
.sa-v .sa-deck{margin:0;font-size:20px;line-height:1.45;color:var(--sa-text);max-width:none}
.sa-slash{color:var(--iris-light);font-weight:600}
.sa-byline{display:flex;flex-direction:column;gap:6px}
.sa-by{margin:0;font-size:14px;color:var(--sa-muted)}
.sa-by strong{color:var(--iris-light);font-weight:600}
.sa-when{margin:0 0 10px;font-size:13px;color:var(--sa-muted)}
.sa-byline .share{gap:8px}
.sa-byline .share-label{display:none}
.sa-v-cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;margin-top:56px;align-items:start}
.sa-v .sa-body{margin:0 0 0 auto;max-width:var(--sa-read);width:100%}
.sa-popular{position:sticky;top:104px;padding-left:28px;border-left:1px solid rgba(255,255,255,.1)}
.sa-popular .sa-label{color:var(--iris-light);font-size:12px;margin:0 0 16px}
.sa-popular ol{list-style:none;margin:0;padding:0;counter-reset:pop}
.sa-popular li{counter-increment:pop;border-top:1px solid rgba(255,255,255,.08)}
.sa-popular li:first-child{border-top:0}
.sa-popular a{display:grid;grid-template-columns:22px 1fr;gap:2px 10px;padding:14px 0}
.sa-popular a::before{content:counter(pop);grid-row:1 / span 2;font-size:14px;font-weight:700;color:var(--iris-light);line-height:1.35}
.sa-popular .t{font-size:15px;line-height:1.35;font-weight:600;color:var(--sa-text);transition:color .2s}
.sa-popular .d{font-size:12px;color:var(--sa-muted)}
.sa-popular a:hover .t{color:var(--iris-light)}
.sa-v .sa-foot{max-width:var(--sa-max)}
.sa-v .sa-foot{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:64px}
.sa-v .sa-foot>*{grid-column:1;justify-self:end;width:100%;max-width:var(--sa-read)}
html[data-theme="light"] .sa-popular{border-left-color:rgba(17,18,22,.1)}
html[data-theme="light"] .sa-popular li{border-top-color:rgba(17,18,22,.08)}
html[data-theme="light"] .sa-tags a:not(:first-child),html[data-theme="light"] .sa-slash,html[data-theme="light"] .sa-by strong,html[data-theme="light"] .sa-popular .sa-label,html[data-theme="light"] .sa-popular a::before{color:var(--iris)}
@media (max-width:1100px){
  .sa-v-cols{grid-template-columns:1fr;gap:56px}
  .sa-v .sa-body{margin:0 auto}
  .sa-popular{position:static;padding:28px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.1);max-width:var(--sa-read);margin:0 auto;width:100%}
  html[data-theme="light"] .sa-popular{border-top-color:rgba(17,18,22,.1)}
  .sa-v .sa-foot{grid-template-columns:1fr}
  .sa-v .sa-foot>*{justify-self:center}
}
@media (max-width:800px){
  .sa-v-head{padding-top:28px}
  .sa-v .sa-title{font-size:27px}
  .sa-v-top{grid-template-columns:1fr;gap:22px;margin-top:22px}
  .sa-v .sa-deck{font-size:18px}
  .sa-v-cols{margin-top:40px}
}

/* Header shows the article title once you scroll past it (desktop) */
.hdr-title{display:none}
@media (min-width:901px){
  .hdr-title{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-30%);max-width:min(560px,45vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:600;color:var(--white);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
  .header-inner{position:relative}
  .primary-nav{transition:opacity .25s}
  body.hdr-scrolled .primary-nav{opacity:0;pointer-events:none}
  body.hdr-scrolled .hdr-title{opacity:1;transform:translate(-50%,-50%)}
}

/* Hero statement */
.hero-statement{max-width:560px;margin:0 auto;font-size:19px;line-height:1.5;letter-spacing:-.005em;font-weight:400;color:var(--text);text-wrap:balance}
.hero-sign{margin:10px 0 24px;font-size:13px;color:var(--muted)}
.hero-sign strong{color:var(--iris-light);font-weight:600}
html[data-theme="light"] .hero-sign strong{color:var(--iris)}
@media (max-width:900px){.hero-statement{font-size:17px}}

/* Scrollable card rail (top row) */
.rail-wrap{position:relative}
.rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 6px;margin:0 -2px;outline:none}
.rail::-webkit-scrollbar{display:none}
.rail .post-card{flex:0 0 calc((100% - 40px) / 3);scroll-snap-align:start;padding:12px 12px 26px}
.rail .art{aspect-ratio:4/3;margin-bottom:22px}
.rail .post-card h3,.rail .post-card .date{padding:0 16px}
.rail-nav{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.rail-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);background:transparent;color:var(--white);cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
.rail-btn svg{width:18px;height:18px}
.rail-btn:hover:not(:disabled){background:var(--iris);border-color:var(--iris);color:#fff}
.rail-btn:disabled{opacity:.3;cursor:default}
html[data-theme="light"] .rail-btn{border-color:rgba(17,18,22,.2)}
@media (max-width:900px){.rail .post-card{flex-basis:78%}.rail{gap:14px}}
.rail-static .rail-nav{display:none}

/* 3D carousel ("coverflow") for the card rail */
.rail.rail--3d{--cw:min(380px,66vw);gap:12px;padding:28px calc(50% - var(--cw) / 2) 46px;margin:-28px 0 -18px;scroll-snap-type:x mandatory}
.rail--3d .post-card{flex:0 0 var(--cw);scroll-snap-align:center;will-change:transform;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .35s,box-shadow .35s;transform-origin:center center}
.rail--3d .post-card.is-center{box-shadow:0 18px 32px -16px rgba(75,45,154,.45)}
html[data-theme="light"] .rail--3d .post-card.is-center{box-shadow:0 14px 28px -14px rgba(75,45,154,.22)}
.top-row + .band-slot,.top-row ~ .band-slot{padding-top:32px}
.rail-wrap:has(.rail--3d) .rail-nav{justify-content:center;margin-top:8px}
@media (prefers-reduced-motion:reduce){.rail--3d .post-card{transform:none !important;opacity:1 !important;transition:none}}

/* Images padded with their own edge colour instead of a blurred backdrop */
.art--cover.art--edge,html[data-theme="light"] .art--cover.art--edge{background:var(--art-edge)}
.art--cover.art--edge::before{display:none}

/* Article text: tighter rhythm */
.sa-body{font-size:17px;line-height:1.65}
.sa-body>p:first-child{font-size:17px;line-height:1.65}
.sa-body p,.sa-body ul,.sa-body ol{margin:0 0 18px}
.sa-body li{margin:0 0 6px}
.sa-body h2{font-size:24px;line-height:1.3;margin:44px 0 14px}
.sa-body h3{font-size:19px;line-height:1.35;margin:30px 0 10px}
.sa-body h4{font-size:17px;margin:24px 0 8px}
.sa-body figure,.sa-body .wp-block-image{margin:28px 0}
.sa-body blockquote,.sa-body .wp-block-quote{margin:30px 0}
.sa-body hr,.sa-body .wp-block-separator{margin:40px 0}
@media (max-width:800px){.sa-body h2{font-size:22px;margin-top:36px}}

/* FAQ items (collapsible) */
.sa-body .faq{border-top:1px solid rgba(255,255,255,.1)}
.sa-body .faq:last-of-type{border-bottom:1px solid rgba(255,255,255,.1)}
.sa-body .faq+.faq{border-top:1px solid rgba(255,255,255,.1)}
.sa-body .faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 2px;font-size:16px;font-weight:600;line-height:1.4;color:var(--sa-text)}
.sa-body .faq summary::-webkit-details-marker{display:none}
.sa-body .faq summary::after{content:"+";flex:none;font-size:20px;font-weight:400;line-height:1;color:var(--iris-light);transition:transform .25s}
.sa-body .faq[open] summary::after{transform:rotate(45deg)}
.sa-body .faq summary:hover{color:var(--iris-light)}
.sa-body .faq-a p{margin:0 0 16px;font-size:16px;color:var(--sa-muted)}
html[data-theme="light"] .sa-body .faq,html[data-theme="light"] .sa-body .faq:last-of-type{border-color:rgba(17,18,22,.12)}
html[data-theme="light"] .sa-body .faq summary::after{color:var(--iris)}
/* Photos with busy edges fill the frame */
.art--cover.art--fill::before{display:none}
.art.art--cover.art--fill img,.sa-hero .art.art--cover.art--fill img,.rel-card .art.art--cover.art--fill img{object-fit:cover;object-position:center}

/* Dark-mode reading comfort: softer body text, brighter headings */
.single-article{--sa-body:#D3D3DA}
html[data-theme="light"] .single-article{--sa-body:#2A2B33}
.sa-body,.sa-body>p:first-child,.sa-body li{color:var(--sa-body)}
.sa-body strong{color:var(--sa-text)}
.sa-v .sa-body{letter-spacing:.003em}

/* Reading focus: the block you are reading stays bright, the rest dims slightly */
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  .sa-body.is-focus>*{transition:opacity .45s ease}
  .sa-body.is-focus>:not(.is-reading):not(.read-track){opacity:.6}
  .sa-body.is-focus>:is(h2,h3,h4,figure,.wp-block-image):not(.is-reading){opacity:.85}
}

/* Reading cursor: track beside the text with a dot that follows your reading */
.sa-body{position:relative}
.read-track{position:absolute;left:-44px;top:4px;bottom:0;width:2px;border-radius:2px;background:rgba(255,255,255,.08);pointer-events:none}
.read-track .fill{position:absolute;left:0;top:0;width:100%;border-radius:2px;background:linear-gradient(180deg,rgba(185,163,245,.15),var(--iris-light))}
.read-track .dot{position:absolute;left:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--iris-light);box-shadow:0 0 0 5px rgba(185,163,245,.18),0 0 18px rgba(185,163,245,.7);transition:top .12s linear}
.read-track .dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(185,163,245,.5);animation:read-pulse 2s ease-out infinite}
.read-track .lbl{position:absolute;right:16px;white-space:nowrap;transform:translateY(-50%);font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--iris-light);opacity:0;transition:opacity .3s,top .12s linear}
.read-track.is-moving .lbl{opacity:1}
@keyframes read-pulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.9);opacity:0}}
html[data-theme="light"] .read-track{background:rgba(17,18,22,.08)}
html[data-theme="light"] .read-track .dot{background:var(--iris);box-shadow:0 0 0 5px rgba(112,70,194,.15),0 0 14px rgba(112,70,194,.45)}
html[data-theme="light"] .read-track .fill{background:linear-gradient(180deg,rgba(112,70,194,.1),var(--iris))}
html[data-theme="light"] .read-track .lbl{color:var(--iris)}
@media (max-width:1100px){.read-track{display:none}}
@media (prefers-reduced-motion:reduce){.read-track .dot::after{animation:none}}
.sa-v-aside>.sa-when{margin:0}

/* Compact dates */
.featured .feat-date{display:block;margin-top:16px;font-size:12px;letter-spacing:.04em;color:var(--muted);font-variant-numeric:tabular-nums}
.date,.idx-date,.sa-when,.sa-popular .d{font-variant-numeric:tabular-nums}
.sa-v-aside>.sa-when{font-size:12px;letter-spacing:.04em}

/* WordPress.com Like button at the end of articles */
.sa-likes{margin:0 0 22px}
.sa-likes .sharedaddy{margin:0;padding:0;border:0}
.sa-likes .sd-title,.sa-likes .sharedaddy .sd-content{display:none}
.sa-likes .sd-like h3,.sa-likes .sd-like .sd-title{display:none}

/* Article top: centred full-width image, summary and date underneath */
.sa-v-top{grid-template-columns:1fr;gap:18px}
.sa-v .sa-hero .art{aspect-ratio:16/9}
.sa-v-aside{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:40px;padding-top:0}
.sa-v .sa-deck{max-width:760px;font-size:18px;line-height:1.5;color:var(--sa-body)}
.sa-v-aside>.sa-when{flex:none;padding-top:5px}
@media (max-width:800px){.sa-v-aside{flex-direction:column;gap:10px}.sa-v .sa-deck{font-size:17px}}

/* v1.9.3 static card row: no coverflow; swipe on mobile, quiet arrows on desktop */
.rail .post-card{flex-basis:calc((100% - 60px) / 3.35)}
@media (max-width:900px){.rail .post-card{flex-basis:80%}.top-row .rail-nav{display:none}.top-row{padding-top:8px}}

/* v1.9.4 latest 3, fixed grid (no scrolling), Verge-like */
.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.latest-grid .post-card{padding:12px 12px 24px;min-height:0}
.latest-grid .art{aspect-ratio:16/10;margin-bottom:18px}
.latest-grid .post-card h3,.latest-grid .post-card .date{padding:0 14px}
.latest-grid .post-card h3{font-size:17px}
@media (max-width:900px){
  .top-row{padding-top:8px}
  .latest-grid{grid-template-columns:1fr;gap:0}
  .latest-grid .post-card{display:grid;grid-template-columns:104px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:start;padding:14px 0;background:none;border:0;border-bottom:1px solid var(--line, rgba(255,255,255,.1));border-radius:0;box-shadow:none;backdrop-filter:none}
  .latest-grid .post-card:last-child{border-bottom:0}
  .latest-grid .art{grid-row:1 / 3;aspect-ratio:1;margin:0;border-radius:12px}
  .latest-grid .post-card h3{padding:0;font-size:16px;align-self:end}
  .latest-grid .post-card .date{padding:0;margin-top:6px;font-size:12px}
}
@media (max-width:900px){html[data-theme="light"] .latest-grid .post-card{border-bottom-color:rgba(17,18,22,.1)}}

/* v1.9.5 "Por sección" row: one latest post per section, with section label */
.sec-row{padding-top:24px}
.sec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.sec-grid--3{grid-template-columns:repeat(3,1fr)}.sec-grid--2{grid-template-columns:repeat(2,1fr)}
.sec-card{padding:12px 12px 22px;min-height:0}
.sec-label{display:inline-block;margin:4px 14px 12px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--iris-light);text-decoration:none}
.sec-label:hover{text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .sec-label{color:var(--iris)}
.sec-link{display:flex;flex-direction:column;color:inherit;text-decoration:none}
.sec-card .art{aspect-ratio:16/10;margin-bottom:16px}
.sec-card h3,.sec-card .date{padding:0 14px}
.sec-card h3{font-size:16px;line-height:1.3}
@media (max-width:1100px){.sec-grid,.sec-grid--3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){
  .sec-grid,.sec-grid--3,.sec-grid--2{grid-template-columns:1fr;gap:0}
  .sec-card{padding:14px 0;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0;box-shadow:none;backdrop-filter:none}
  .sec-card:last-child{border-bottom:0}
  .sec-label{margin:0 0 8px}
  .sec-link{display:grid;grid-template-columns:104px 1fr;column-gap:14px;grid-template-rows:auto auto}
  .sec-card .art{grid-row:1 / 3;aspect-ratio:1;margin:0;border-radius:12px}
  .sec-card h3{padding:0;align-self:end}
  .sec-card .date{padding:0;margin-top:6px;font-size:12px}
}
@media (max-width:900px){html[data-theme="light"] .sec-card{border-bottom-color:rgba(17,18,22,.1)}}

.sec-grid{row-gap:20px}
@media (max-width:900px){.sec-grid{row-gap:0}}
