/* Marco editorial ARCA: banner conservado, navegación persistente y pie propio. */
:root{--cq-navy:#243f4a;--cq-nav-height:64px}
html{scroll-padding-top:calc(var(--cq-nav-height,64px) + 1rem)}
.cq-shell .masthead,.cq-shell.article-page .masthead{min-height:350px;max-width:1600px;display:block}
.cq-shell .masthead-art,.cq-shell.article-page .masthead-art{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.cq-shell .masthead-copy,.cq-shell.article-page .masthead-copy{padding:3rem 0;position:relative}
.cq-shell .brand,.cq-shell.article-page .brand{font-size:clamp(3rem,5vw,4.8rem);max-width:45%;line-height:1.08}
.cq-shell .brand span,.cq-shell .brand em{display:block}
.cq-shell .masthead-copy>p,.cq-shell.article-page .masthead-copy>p{display:block;font:italic 1.1rem/1.6 var(--cq-font-editorial);margin-top:1.3rem;color:var(--cq-ink)}
.cq-shell .blog-navigation{position:sticky;top:0;z-index:30;background:var(--cq-navy);color:#fffdf8;box-shadow:0 2px 8px rgb(20 38 46 / .12)}
.cq-shell .navigation{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0;border:0;min-height:64px}
.cq-shell .desktop-nav{flex:1}
.cq-shell .menu-groups{display:block}
.cq-shell .desktop-nav .menu-main{gap:1.7rem;align-items:stretch;margin:0}
.cq-shell .navigation .menu-main a{font:1.0625rem/1.4 var(--cq-font-interface);min-height:64px;padding:.7rem .15rem;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#fffdf8;text-decoration:none}
.cq-shell .navigation .menu-main a:hover,.cq-shell .navigation .menu-main a[aria-current]{border-bottom-color:#e7bba6;background:transparent;color:#fffdf8}
.cq-shell .navigation .menu-main a[aria-current]{font-weight:700}
.cq-shell .navigation .nav-search{display:inline-flex;align-items:center;gap:.55rem;padding:.6rem 0 .6rem 1.5rem;font-size:1rem;min-height:48px;border-left:1px solid #72878e;color:#fffdf8;text-decoration:none}
.cq-shell .navigation .nav-search:hover{text-decoration:underline}
.cq-shell .blog-navigation :focus-visible{outline-color:#f1cdb7;box-shadow:none}
.cq-shell .mobile-nav{display:none}
.cq-shell .page-head{max-width:880px;padding:2.6rem 0}
.cq-shell .page-head h1{font-size:clamp(2.25rem,4vw,3.2rem);line-height:1.15;margin:.65rem 0 1rem}
.cq-shell .page-head>p:last-child{font:1.1875rem/1.7 var(--cq-font-interface);max-width:760px}
.cq-shell .article-head{padding-top:1rem;padding-bottom:1.4rem}
.cq-shell .breadcrumbs{margin-top:1.5rem;margin-bottom:1rem;font-size:1rem}
.cq-shell .post-navigation{position:sticky;top:var(--cq-nav-height,64px);z-index:20;max-width:840px;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#f0ebe0;border:0;border-block:1px solid #cec6b5;border-radius:0;box-shadow:none;padding:0 .9rem;margin:0 auto 1.8rem;font:1rem/1.5 var(--cq-font-interface);min-height:56px}
.cq-shell .post-sections{position:static;min-width:0;flex:1}
.cq-shell .post-sections summary{display:flex;align-items:center;justify-content:flex-start;gap:1rem;min-height:54px;width:fit-content;padding:.65rem 0;background:transparent;color:var(--cq-navy);border-radius:0;font-weight:600}
.cq-shell .post-sections summary::before{content:'☷';font-size:1.4rem;line-height:1}
.cq-shell .post-sections summary::after{font-size:1.1rem}
.cq-shell .post-sections ol{top:100%;background:#fffcf5;border:1px solid #cec6b5;border-top:0;border-radius:0;box-shadow:0 8px 16px rgb(37 43 39 / .12);padding:1rem;max-height:calc(100dvh - var(--cq-nav-height,64px) - 90px);gap:0 1.4rem;counter-reset:article-section}
.cq-shell .post-sections li{border-bottom:1px solid var(--cq-line)}
.cq-shell .post-sections a{min-height:48px;padding:.6rem .3rem;border:0;border-radius:0;background:transparent;color:var(--cq-navy);text-decoration:none}
.cq-shell .post-sections a:hover{color:var(--cq-accent);background:transparent;text-decoration:underline}
.cq-shell .post-sections a[aria-current]{background:transparent;font-weight:bold;color:var(--cq-accent)}
.cq-shell .back-to-top{min-height:48px;border:0;border-radius:0;padding:.6rem 0;font-weight:400;font-size:1rem;text-decoration:underline;background:transparent;white-space:nowrap}
.cq-shell .back-to-top:hover{color:var(--cq-accent);background:transparent}
.cq-shell #contenido{scroll-margin-top:calc(var(--cq-nav-height,64px) + 16px)}
.cq-shell .taxonomy-heading{margin-bottom:1.4rem}
.cq-shell .taxonomy-heading h2{font-size:1.8rem;line-height:1.3;margin-bottom:.4rem}
.cq-shell .taxonomy-heading>p{font:1.0625rem/1.6 var(--cq-font-interface);color:var(--cq-soft)}
.cq-shell .topic-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;list-style:none;margin:0;padding:0}
.cq-shell .topic-card-grid li{min-width:0}
.cq-shell .topic-card{display:grid;grid-template-columns:minmax(0,1fr) 32%;height:100%;min-height:245px;border:1px solid var(--cq-line);background:#fffcf5;color:var(--cq-ink);text-decoration:none;overflow:hidden}
.cq-shell .topic-card:hover{border-color:var(--cq-accent)}
.cq-shell .topic-card-copy{padding:1.4rem 1.5rem;display:flex;align-items:flex-start;flex-direction:column}
.cq-shell .topic-number{font:1rem/1.5 var(--cq-font-editorial);color:var(--cq-accent);margin-bottom:.7rem}
.cq-shell .topic-card h3{font-size:1.65rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 .7rem}
.cq-shell .topic-card-copy p{font:1rem/1.65 var(--cq-font-interface);color:var(--cq-soft);margin-bottom:1rem}
.cq-shell .topic-count{font:1rem/1.5 var(--cq-font-interface);color:var(--cq-accent);margin-top:auto;padding-top:.6rem}
.cq-shell .topic-count>span{display:inline-block;margin-left:.7rem}
.cq-shell .topic-card>img{height:100%;width:100%;object-fit:cover;background:var(--cq-wash)}
.cq-shell .taxonomy-directory{border-top:1px solid var(--cq-line);padding-top:2rem;margin-top:3rem}
.cq-shell .tag-directory{margin:2rem 0}
.cq-shell .tag-directory h3{font-size:1.35rem;line-height:1.4;margin-bottom:.8rem;color:var(--cq-navy)}
.cq-shell .tag-directory ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2rem;list-style:none;padding:0;margin:0}
.cq-shell .tag-directory li{min-width:0;border-bottom:1px solid var(--cq-line)}
.cq-shell .tag-directory a{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.8rem 0;min-height:52px;font:1.0625rem/1.6 var(--cq-font-interface);text-decoration:none}
.cq-shell .tag-directory a:hover{color:var(--cq-accent);text-decoration:underline}
.cq-shell .tag-count{min-width:1.5rem;color:var(--cq-soft);font-size:1rem;text-align:center}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.cq-shell .site-footer{margin-top:4rem;padding:3.2rem 0 0;border-top:4px solid #b9866a;background:var(--cq-navy);color:#fffdf8}
.cq-shell .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.1fr;gap:3rem;padding-bottom:2.5rem}
.cq-shell .footer-kicker{font: .875rem/1.6 var(--cq-font-interface);text-transform:uppercase;letter-spacing:.08em;color:#e7c4b3;margin:0 0 1rem}
.cq-shell .footer-brand{font:2.25rem/1.12 var(--cq-font-editorial);letter-spacing:-.03em;margin-bottom:1rem}
.cq-shell .footer-brand em{color:#e7c4b3}
.cq-shell .footer-intro>p:last-of-type,.cq-shell .footer-participate p{font:1.0625rem/1.7 var(--cq-font-interface);color:#e1e6e4;margin:0 0 1rem}
.cq-shell .footer-grid h2{font:600 1.125rem/1.5 var(--cq-font-interface);letter-spacing:0;color:#fffdf8;margin:.25rem 0 1rem}
.cq-shell .footer-grid nav{display:flex;flex-direction:column;align-items:flex-start}
.cq-shell .site-footer a{font:1.0625rem/1.5 var(--cq-font-interface);display:inline-flex;align-items:center;gap:.6rem;min-height:44px;color:#fffdf8;text-decoration:none;padding:.5rem 0}
.cq-shell .site-footer a:hover{text-decoration:underline;color:#f2d4c0}
.cq-shell .site-footer :focus-visible{outline-color:#f1cdb7;box-shadow:none}
.cq-shell .footer-intro .footer-archive{border-bottom:1px solid #94a5a7;margin-top:.2rem}
.cq-shell .footer-participate>a{text-decoration:underline;text-underline-offset:.3em;color:#f2d4c0}
.cq-shell .footer-bottom{border-top:1px solid #72878e;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 0}
.cq-shell .footer-bottom>p{font:1rem/1.6 var(--cq-font-interface);color:#e1e6e4}
.cq-shell .footer-bottom nav{display:flex;flex-wrap:wrap;gap:1.3rem}
.cq-shell .footer-bottom a{font-size:1rem}
@media(max-width:1000px){
 .cq-shell .footer-grid{gap:2rem;grid-template-columns:1.2fr 1fr 1fr}
 .cq-shell .topic-card-copy{padding:1.2rem}
}
@media(max-width:900px){
 .cq-shell .desktop-nav{display:none}.cq-shell .mobile-nav{display:block}
 .cq-shell .navigation{min-height:60px}
 .cq-shell .mobile-nav summary{display:flex;align-items:center;min-height:60px;gap:.6rem;padding:.65rem 0;border-radius:0;border:0;background:transparent;color:#fffdf8;font-size:1.0625rem;font-weight:500}
 .cq-shell .mobile-nav summary::after{margin-left:.5rem;font-size:1.2rem}
 .cq-shell .mobile-nav nav{position:absolute;left:0;right:0;top:100%;padding:.5rem 1rem 1rem;background:var(--cq-navy);box-shadow:0 8px 14px rgb(20 38 46 / .2);max-height:65dvh;overflow:auto;border-top:1px solid #72878e}
 .cq-shell .mobile-nav .menu-groups{padding:0}
 .cq-shell .mobile-nav .menu-main{display:block;padding:0;margin:0}
 .cq-shell .mobile-nav .menu-main a{width:100%;min-height:52px;padding:.7rem .3rem;border-bottom:1px solid #72878e;color:#fffdf8}
 .cq-shell .mobile-nav .menu-main a[aria-current]{border-bottom-color:#e7bba6;color:#f2d4c0}
 .cq-shell .mobile-nav .menu-main a:hover{background:transparent;text-decoration:underline}
 .cq-shell .tag-directory ul{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .cq-shell .topline{font-size:.8rem;flex-wrap:wrap;gap:0 .7rem;padding:.5rem 0}
 .cq-shell .topline>span{letter-spacing:.03em}
 .cq-shell .masthead,.cq-shell.article-page .masthead{display:flex;flex-direction:column;min-height:0;overflow:visible}
 .cq-shell .masthead-copy,.cq-shell.article-page .masthead-copy{order:0;padding:1.2rem 0 .8rem}
 .cq-shell .brand,.cq-shell.article-page .brand{display:block;font-size:2.35rem;max-width:none;line-height:1.15}
 .cq-shell .brand span,.cq-shell .brand em{display:inline}
 .cq-shell .brand em::before{content:' '}
 .cq-shell .masthead-copy>p,.cq-shell.article-page .masthead-copy>p{font-size:1rem;margin-top:.6rem}
 .cq-shell .masthead-copy>p br{display:none}
 .cq-shell .masthead-art,.cq-shell.article-page .masthead-art{order:1;position:static;inset:auto;height:auto;width:100%;object-fit:contain;display:block}
 .cq-shell .navigation{padding:0;gap:1rem;flex-wrap:nowrap}
 .cq-shell .page-head{padding:1.8rem 0 2rem}
 .cq-shell .page-head h1{font-size:2.3rem}
 .cq-shell .page-head>p:last-child{font-size:1.125rem}
 .cq-shell .post-navigation{top:var(--cq-nav-height,60px);gap:.6rem;padding:0 .6rem;min-height:54px;flex-wrap:wrap}
 .cq-shell .post-sections summary{font-size:1rem;gap:.6rem}
 .cq-shell .back-to-top{font-size:1rem;white-space:normal}
 .cq-shell .post-sections ol{grid-template-columns:1fr;padding:.6rem 1rem}
 .cq-shell .topic-card-grid{grid-template-columns:1fr;gap:1rem}
 .cq-shell .topic-card{min-height:220px;grid-template-columns:minmax(0,1fr) 30%}
 .cq-shell .topic-card h3{font-size:1.5rem}
 .cq-shell .topic-card-copy{padding:1.2rem}
 .cq-shell .taxonomy-heading h2{font-size:1.65rem}
 .cq-shell .tag-directory ul{grid-template-columns:1fr;gap:0}
 .cq-shell .site-footer{padding-top:2.2rem;margin-top:3rem}
 .cq-shell .footer-grid{grid-template-columns:1fr;gap:2rem;padding-bottom:1.8rem}
 .cq-shell .footer-grid>nav,.cq-shell .footer-participate{border-top:1px solid #72878e;padding-top:1.3rem}
 .cq-shell .footer-brand{font-size:2rem}
 .cq-shell .footer-bottom{display:block;padding:1rem 0 1.4rem}
 .cq-shell .footer-bottom nav{margin-top:.4rem;gap:1.1rem}
}
@media(max-width:380px){.cq-shell .topic-card{grid-template-columns:minmax(0,1fr) 26%}.cq-shell .topic-card-copy{padding:1rem}.cq-shell .brand,.cq-shell.article-page .brand{font-size:2.1rem}}
@media print{.cq-shell .blog-navigation,.cq-shell .post-navigation,.cq-shell .site-footer{display:none}.cq-shell .masthead,.cq-shell.article-page .masthead{min-height:0}.cq-shell .masthead-art,.cq-shell.article-page .masthead-art{display:none}}

/* Guía numerada compacta, separada del menú principal. */
.cq-shell .post-navigation{padding:0 1rem;background:#f5f0e6;border-left:3px solid #b9866a}
.cq-shell .post-sections summary{width:100%;gap:.8rem;font-weight:600}
.cq-shell .post-sections summary::before{content:none}
.cq-shell .post-index-count{margin-left:auto;font:1rem/1.5 var(--cq-font-interface);color:var(--cq-soft);font-weight:400}
.cq-shell .post-sections .post-index-children,.cq-shell .post-navigation-desktop .post-index-children{display:block;list-style:none;margin:0 0 .35rem 1.5rem;padding:0;border-left:1px solid var(--cq-line)}
.cq-shell .post-sections .post-index-children a,.cq-shell .post-navigation-desktop .post-index-children a{min-height:44px;padding:.5rem .65rem;font:1rem/1.45 var(--cq-font-interface)}
.cq-shell .post-index-panel{position:absolute;top:100%;left:0;width:min(480px,100%);max-height:calc(100dvh - var(--cq-nav-height,64px) - 85px);overflow:auto;background:#fffcf5;border:1px solid #cec6b5;box-shadow:0 8px 18px rgb(37 43 39 / .15);padding:1.1rem 1.2rem}
.cq-shell .post-index-heading{font:1.4rem/1.3 var(--cq-font-editorial);letter-spacing:-.015em;color:var(--cq-navy);margin:0 0 .7rem}
.cq-shell .post-sections ol{position:static;display:block;max-height:none;overflow:visible;padding:0;margin:0;border:0;box-shadow:none;background:transparent}
.cq-shell .post-sections li{border:0}
.cq-shell .post-sections a{gap:.8rem;padding:.65rem .4rem;font-size:1rem;line-height:1.5;align-items:flex-start;border-left:2px solid transparent}
.cq-shell .post-sections a:hover{background:#f0ebe0;text-decoration:none}
.cq-shell .post-sections a[aria-current]{border-left-color:var(--cq-accent);background:#f0ebe0}
.cq-shell .post-index-number{flex:0 0 1.5rem;color:#80523e;font:1rem/1.5 var(--cq-font-editorial)}
.cq-shell .post-index-utilities{display:flex;gap:.5rem 1rem;flex-wrap:wrap;border-top:1px solid var(--cq-line);padding-top:.6rem;margin-top:.6rem}
.cq-shell .post-index-utilities a{padding:.55rem 0;text-decoration:underline;min-height:44px}

/* La estructura visual corresponde a la jerarquía HTML real. */
.cq-shell .prose>h2,.cq-shell .prose>.article-section>h2,.cq-shell .prose .block-heading>h2{font-size:2rem;line-height:1.3;font-weight:600;color:var(--cq-navy);padding:1.15rem 0 .3rem;margin:3rem 0 1.2rem;border-top:2px solid #d4cbbb;letter-spacing:-.02em}
.cq-shell .prose>h3,.cq-shell .prose>.article-section>h3,.cq-shell .prose .block-heading>h3{font:600 1.375rem/1.45 var(--cq-font-interface);color:var(--cq-navy);border-left:3px solid #b9866a;padding:.15rem 0 .15rem .8rem;margin:2rem 0 1rem;letter-spacing:0}
.cq-shell .prose h4{font:600 1.1875rem/1.5 var(--cq-font-interface);color:var(--cq-ink);margin:1.4rem 0 .7rem;letter-spacing:0}
.cq-shell .callout h4{margin:0 0 .7rem}
.cq-shell .prose>h2:focus-visible,.cq-shell .prose>h3:focus-visible{outline-offset:5px}
.cq-shell .related .story-card h3{font:1.8rem/1.25 var(--cq-font-editorial);letter-spacing:-.025em;margin:.65rem 0 1rem}
.cq-shell .related .story-card h3 a{text-decoration:none}
.cq-shell .related .story-card h3 a:hover{text-decoration:underline}

/* Control flotante convencional: fuera del índice y con etiqueta accesible. */
html{scroll-padding-bottom:6rem}
.cq-shell .floating-back-top{position:fixed;right:max(1.2rem,calc((100vw - 1320px)/2));bottom:1.2rem;z-index:35;display:inline-flex;gap:.6rem;min-width:56px;min-height:56px;padding:.8rem 1.1rem;border:1px solid #83979f;border-radius:30px;background:var(--cq-navy);color:#fffdf8;font:600 1rem/1.5 var(--cq-font-interface);text-decoration:none;box-shadow:0 4px 16px rgb(20 38 46 / .23)}
.cq-shell .floating-back-top:hover{background:#365966;color:#fffdf8;text-decoration:none}
.has-back-top .floating-back-top:not(.is-visible){visibility:hidden;pointer-events:none}
.image-viewer-open .floating-back-top{visibility:hidden}
@media(max-width:700px){
 .cq-shell .prose>h2,.cq-shell .prose>.article-section>h2,.cq-shell .prose .block-heading>h2{font-size:1.7rem;margin-top:2.5rem;padding-top:1rem}
 .cq-shell .prose>h3,.cq-shell .prose>.article-section>h3,.cq-shell .prose .block-heading>h3{font-size:1.25rem;margin-top:1.8rem}
 .cq-shell .post-navigation{padding:0 .7rem}.cq-shell .post-index-count{font-size:.9375rem}
 .cq-shell .post-index-panel{width:100%;padding:.9rem}
 .cq-shell .floating-back-top{width:56px;height:56px;padding:0;justify-content:center;right:1rem;bottom:max(1rem,env(safe-area-inset-bottom));border-radius:50%}
 .floating-back-top .back-top-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:380px){.cq-shell .post-index-count{display:none}}
@media print{.cq-shell .floating-back-top{display:none}}

/* El control dice la acción y representa el estado sin depender del icono. */
.cq-shell .post-sections summary{justify-content:space-between;padding:.5rem 0;gap:.8rem}
.cq-shell .post-sections summary::after{content:none}
.cq-shell .post-index-label{min-width:0;display:flex;align-items:baseline;gap:.5rem 1rem;flex-wrap:wrap}
.cq-shell .post-index-label .post-index-count{margin:0}
.cq-shell .post-index-toggle{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.55rem .85rem;border:1px solid var(--cq-navy);border-radius:4px;background:var(--cq-navy);color:#fffdf8;font:600 1rem/1.4 var(--cq-font-interface)}
.cq-shell .post-sections summary:hover .post-index-toggle{background:#365966}
.cq-shell .index-action-close{display:none}
.cq-shell .post-sections[open] .index-action-open{display:none}
.cq-shell .post-sections[open] .index-action-close{display:inline}
.cq-shell .post-sections[open] .post-index-toggle svg{transform:rotate(180deg)}
@media(max-width:700px){.cq-shell .post-index-toggle{padding:.55rem .65rem;gap:.35rem}.cq-shell .post-index-label{gap:.15rem}.cq-shell .post-index-label>span:first-child{line-height:1.4}}

/* En escritorio ancho el índice acompaña la lectura, sin superponer un panel. */
.post-navigation-desktop{display:none}
@media(min-width:1240px){
 .cq-shell .reading-article{display:grid;grid-template-columns:250px minmax(0,840px);column-gap:3rem;align-items:start;max-width:1180px;margin-inline:auto}
 .cq-shell .reading-article>.article-head{grid-column:2;grid-row:1;width:100%;min-width:0}
 .cq-shell .reading-article>.article-cover{grid-column:2;grid-row:2;width:100%;min-width:0}
 .cq-shell .reading-article>.article-layout{grid-column:2;grid-row:3;width:100%;min-width:0}
 .cq-shell .reading-article>.post-navigation{display:none}
 .cq-shell .post-navigation-desktop{display:block;grid-column:1;grid-row:1 / span 3;position:sticky;top:calc(var(--cq-nav-height,64px) + 24px);max-height:calc(100dvh - var(--cq-nav-height,64px) - 48px);overflow-y:auto;overscroll-behavior:contain;padding:1.2rem 1rem;margin-top:1.3rem;font:1rem/1.5 var(--cq-font-interface)}
 .cq-shell .post-index-eyebrow{color:var(--cq-accent);font: .875rem/1.6 var(--cq-font-interface);letter-spacing:.05em;margin:0 0 .4rem}
 .cq-shell .post-navigation-desktop h2{font:1.5rem/1.3 var(--cq-font-editorial);letter-spacing:-.02em;margin:0 0 1rem;color:var(--cq-navy)}
 .cq-shell .post-index-list{list-style:none;margin:0;padding:0}
 .cq-shell .post-index-list li{margin:0;padding:0}
 .cq-shell .post-navigation-desktop a{display:flex;gap:.65rem;align-items:flex-start;min-height:44px;padding:.6rem .35rem;border-left:2px solid transparent;color:var(--cq-navy);text-decoration:none;line-height:1.5}
 .cq-shell .post-navigation-desktop a:hover{background:var(--cq-wash);text-decoration:underline}
 .cq-shell .post-navigation-desktop a[aria-current]{border-left-color:var(--cq-accent);background:var(--cq-wash);font-weight:bold}
 .cq-shell .post-navigation-desktop .post-index-number{flex:0 0 1.65rem;white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
 .cq-shell .post-navigation-desktop .post-index-utilities{display:block}
 .cq-shell .post-navigation-desktop .post-index-utilities a{text-decoration:underline}
 .cq-shell .floating-back-top{width:56px;min-width:56px;height:56px;padding:0;justify-content:center}
 .cq-shell .floating-back-top .back-top-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media print{.cq-shell .reading-article{display:block}.cq-shell .post-navigation-desktop{display:none}}

/* Papel y tinta de ARCA: el índice pertenece a la misma identidad editorial. */
:root{--cq-index-paper:#efe7d8;--cq-index-ink:#243f4a;--cq-index-border:#cabda8;--cq-index-active:#e6d8c3}
.cq-shell .post-navigation{background:var(--cq-index-paper);border:1px solid var(--cq-index-border);border-radius:6px}
.cq-shell .post-sections summary{color:var(--cq-index-ink);font-weight:500}
.cq-shell .post-index-label .post-index-count{color:#54534f}
.cq-shell .post-index-toggle{background:#f8f3e9;color:var(--cq-index-ink);border:1px solid #8c7562;border-radius:4px;font-weight:500;box-shadow:none}
.cq-shell .post-sections summary:hover .post-index-toggle{background:var(--cq-index-active)}
.cq-shell .post-index-panel{background:var(--cq-index-paper);border:1px solid var(--cq-index-border);border-radius:0 0 6px 6px;box-shadow:0 6px 14px rgb(37 43 39 / .1)}
.cq-shell .post-index-heading{color:var(--cq-index-ink)}
.cq-shell .post-sections a,.cq-shell .post-index-number{color:var(--cq-index-ink)}
.cq-shell .post-sections a:hover,.cq-shell .post-sections a[aria-current]{background:var(--cq-index-active);color:var(--cq-index-ink)}
.cq-shell .post-index-utilities{border-top-color:var(--cq-index-border)}
.cq-shell .post-navigation-desktop{background:var(--cq-index-paper);border:1px solid var(--cq-index-border);border-radius:7px}
.cq-shell .post-navigation-desktop h2,.cq-shell .post-index-eyebrow,.cq-shell .post-navigation-desktop a{color:var(--cq-index-ink)}
.cq-shell .post-navigation-desktop a:hover,.cq-shell .post-navigation-desktop a[aria-current]{background:var(--cq-index-active);color:var(--cq-index-ink)}
.cq-shell .post-navigation-desktop a[aria-current],.cq-shell .post-sections a[aria-current]{border-left-color:var(--cq-accent)}
.cq-shell .post-index-number{color:var(--cq-accent)}

/* Solo móvil: el texto HTML se integra sobre su propio fondo ilustrado. */
.masthead-picture{display:contents}
@media(max-width:700px){
 .cq-shell .masthead,.cq-shell.article-page .masthead{display:grid;grid-template-areas:'banner';grid-template-columns:minmax(0,1fr);min-height:clamp(280px,68vw,420px);overflow:hidden;background:#faf6ed}
 .cq-shell .masthead-picture{display:block;grid-area:banner;position:relative;align-self:stretch;width:100%;height:100%;overflow:hidden}
 .cq-shell .masthead-picture .masthead-art,.cq-shell.article-page .masthead-picture .masthead-art{position:absolute;inset:auto 0 0;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center bottom}
 .cq-shell .masthead-copy,.cq-shell.article-page .masthead-copy{grid-area:banner;align-self:start;z-index:1;padding:1.3rem 0 38vw;order:initial}
}

/* Acciones del índice: iconos discretos, superficies claras y bordes uniformes. */
.cq-shell .post-index-utilities{display:flex;flex-wrap:wrap;gap:.65rem;padding-top:.85rem;margin-top:.8rem}
.cq-shell .post-sections .post-index-utilities a,.cq-shell .post-navigation-desktop .post-index-utilities a{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.65rem .7rem;border:1px solid #9e8b72;border-radius:5px;background:#faf6ed;color:var(--cq-navy);font:500 1rem/1.45 var(--cq-font-interface);text-decoration:none;box-shadow:0 1px 2px rgb(37 43 39 / .04)}
.cq-shell .post-index-utilities svg{flex:0 0 auto}
.cq-shell .post-index-utilities a{flex:1 1 9rem;white-space:nowrap}
.cq-shell .post-sections .post-index-utilities a:hover,.cq-shell .post-navigation-desktop .post-index-utilities a:hover,.cq-shell .post-sections .post-index-utilities a[aria-current],.cq-shell .post-navigation-desktop .post-index-utilities a[aria-current]{background:#e6d8c3;border-color:#883d2e;color:var(--cq-navy);text-decoration:none}
@media(min-width:1240px){.cq-shell .post-navigation-desktop .post-index-utilities{display:grid;grid-template-columns:1fr}}
@media(max-width:360px){.cq-shell .post-index-utilities{display:grid;grid-template-columns:1fr}}
.cq-shell .measurement-preferences{padding-block:1rem}.cq-shell .measurement-preferences button{font-size:1rem}
.cq-shell .cat-consent-banner__body p,.cq-shell .cat-consent-panel{font-size:1rem;line-height:1.6}

/* Descarga y difusión: dos mitades iguales con identidad propia. */
.cq-shell .article-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.2rem 0 1.4rem}
.cq-shell .article-actions .article-action{display:flex;align-items:center;justify-content:center;gap:.7rem;min-height:58px;padding:.85rem 1rem;border-radius:5px;border:1px solid transparent;font:600 1rem/1.45 var(--cq-font-interface);text-decoration:none;text-align:left}
.cq-shell .article-actions svg{flex:0 0 24px}
.cq-shell .article-actions .action-pdf{background:#883d2e;border-color:#883d2e;color:#fffdf8}
.cq-shell .article-actions .action-share{background:#28505e;border-color:#28505e;color:#fffdf8}
.cq-shell .article-actions .article-action:hover{filter:brightness(.9);text-decoration:underline}
.cq-shell .article-actions .article-action:focus-visible{outline-color:#243f4a;outline-offset:4px}
.cq-shell .post-index-utilities a.index-pdf{background:#883d2e;color:#fffdf8;border-color:#883d2e}
.cq-shell .post-index-utilities a.index-pdf:hover{background:#6f3024;color:#fffdf8}
@media(max-width:700px){.cq-shell .article-actions{gap:.6rem}.cq-shell .article-actions .article-action{padding:.8rem .65rem;gap:.5rem;align-items:flex-start}.cq-shell .article-actions svg{margin-top:.15rem}.cq-shell .article-actions span{overflow-wrap:anywhere}}

/* Difusión: icono reconocible y etiqueta visible, sin SDK ni fuentes externas. */
.cq-shell .share-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;padding-top:1.15rem;border-top:1px solid var(--cq-line)}
.cq-shell .share-buttons .share-button{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;min-width:0;min-height:54px;padding:.8rem 1rem;border:1px solid #b9b09f;border-radius:5px;background:#fffcf6;color:var(--cq-navy);font:600 1rem/1.4 var(--cq-font-interface);text-decoration:none;box-shadow:0 1px 2px rgb(37 43 39 / .04)}
.cq-shell .share-buttons .share-button svg{flex:0 0 24px}
.cq-shell .share-buttons .share-button span{overflow-wrap:anywhere}
.cq-shell .share-buttons .share-whatsapp svg{color:#176839}
.cq-shell .share-buttons .share-telegram svg{color:#12648a}
.cq-shell .share-buttons .share-facebook svg{color:#24559b}
.cq-shell .share-buttons .share-copy,.cq-shell .share-buttons .share-native{background:#eee6d8;border-color:#a69780}
.cq-shell .share-buttons .share-button:not(:disabled):hover{border-color:#883d2e;background:#e9dfce;color:#243f4a;text-decoration:underline}
.cq-shell .share-buttons .share-button:disabled{opacity:1;cursor:default;box-shadow:none}
.cq-shell .share-buttons [hidden]{display:none}
.cq-shell .share-buttons .copy-status{grid-column:1/-1;margin:0;font:1rem/1.65 var(--cq-font-interface)}
.cq-shell .share-buttons .copy-status:empty{display:none}
.cq-shell .sharing .share-help{font:1rem/1.65 var(--cq-font-interface);margin:.9rem 0;color:#414b49}
@media(max-width:700px){.cq-shell .share-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.cq-shell .share-buttons .share-button{padding:.75rem .65rem;gap:.55rem}.cq-shell .share-buttons .share-copy,.cq-shell .share-buttons .share-native{grid-column:1/-1}}

/* Cada portada queda unida a su historia; fecha y etiquetas visibles al explorar. */
.cq-shell .story-card{min-width:0;border:1px solid #cfc5b5;border-radius:6px;background:#fffcf6;overflow:hidden;padding:0;display:flex;flex-direction:column}
.cq-shell .story-card .card-image-link{margin:0;border-bottom:1px solid #ddd4c5;background:#ebe5d8}
.cq-shell .story-card-body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;flex:1;min-width:0}
.cq-shell .story-card-body .eyebrow{margin:0 0 .75rem}
.cq-shell .story-card-body h2,.cq-shell .story-card-body h3{margin:0 0 .9rem}
.cq-shell .story-card .card-summary{margin:.9rem 0 1.1rem}
.cq-shell .entry-date{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .7rem;font:1rem/1.6 var(--cq-font-interface);color:#414b49;margin:0}
.cq-shell .publication-state{font-weight:700;color:#883d2e}
.cq-shell .entry-date time{font-weight:600}
.cq-shell .entry-tags{display:flex;flex-wrap:wrap;gap:.4rem .5rem;list-style:none;padding:0;margin:1rem 0 0;font:1rem/1.4 var(--cq-font-interface)}
.cq-shell .entry-tags li{margin:0;padding:0;max-width:100%}
.cq-shell .entry-tags a{display:flex;align-items:center;min-height:44px;padding:.45rem .7rem;border:1px solid #cfc5b5;border-radius:4px;background:#f2ecdf;color:var(--cq-navy);text-decoration:none;overflow-wrap:anywhere}
.cq-shell .entry-tags a:hover{border-color:#883d2e;text-decoration:underline;background:#e9dfce}
.cq-shell .story-card-body .entry-tags{margin-top:auto;padding-top:.35rem}
.cq-shell .featured{border:1px solid #cfc5b5;border-radius:6px;background:#fffcf6;overflow:hidden;gap:0}
.cq-shell .featured-copy{padding:1.8rem 2rem}
.cq-shell .featured-copy .entry-tags{margin:1rem 0 1.3rem}
.cq-shell .article-byline{display:flex;flex-wrap:wrap;justify-content:inherit;gap:.4rem 1.3rem;margin:1rem 0}
.cq-shell .article-byline .meta{margin:0}
.cq-shell .article-head>.entry-tags{margin:1rem 0 1.3rem}
@media(max-width:700px){
 .cq-shell .stories-grid,.cq-shell .related .stories-grid{gap:2rem}
 .cq-shell .story-card-body{padding:1.2rem 1.1rem 1.35rem}
 .cq-shell .story-card .card-image-link .story-image{height:auto;max-height:320px;min-height:160px;width:100%;object-fit:contain}
 .cq-shell .featured-copy{padding:1.3rem 1.1rem}
 .cq-shell .featured-visual{border-bottom:1px solid #ddd4c5}
 .cq-shell .entry-date{display:flex;flex-direction:column;align-items:flex-start;gap:var(--cq-space-1)}
 .cq-shell .publication-state{display:block;margin-bottom:0}
 .cq-shell .article-byline{display:block}
 .cq-shell .article-byline>.entry-date{margin-top:.6rem}
}

/* Escala editorial y etiquetas compactas; CQ01, CQ02, CQ04 y CQ07. */
.cq-shell .masthead-tagline>span{display:block}
.cq-shell .page-head h1{font-size:clamp(2rem,3.5vw,2.75rem)}
.cq-shell .featured-copy h2{font-size:clamp(2rem,3.25vw,2.9rem);line-height:1.18}
.cq-shell .article-head h1{font-size:clamp(1.75rem,3vw,2.5rem)}
.cq-shell .story-card-body h2,.cq-shell .story-card-body h3{font-size:1.625rem;line-height:1.25}
.cq-shell .prose>h2{font-size:1.75rem}
.cq-shell .prose>h3{font-size:1.25rem}
.cq-shell .entry-tags,.cq-shell .tag-list{gap:.125rem .375rem}
.cq-shell .entry-tags a,.cq-shell .tag-list a{position:relative;isolation:isolate;min-height:2.75rem;height:auto;padding:.25rem .5rem;border:0;border-radius:4px;background:transparent;font-size:.875rem;line-height:1.35;overflow-wrap:anywhere}
.cq-shell .entry-tags a::before,.cq-shell .tag-list a::before{content:"";position:absolute;inset:calc(var(--cq-space-3) / 2) 0;z-index:-1;border:1px solid #cfc5b5;border-radius:4px;background:#f2ecdf;pointer-events:none}
.cq-shell .entry-tags a:hover,.cq-shell .tag-list a:hover{background:transparent}
.cq-shell .entry-tags a:hover::before,.cq-shell .tag-list a:hover::before{border-color:var(--cq-accent);background:#e9dfce}
@media(max-width:700px){
 .cq-shell .page-head h1{font-size:2rem}
 .cq-shell .prose>h2{font-size:1.5rem}
 .cq-shell .prose>h3{font-size:1.125rem}
 .cq-shell .site-footer{text-align:center}
 .cq-shell .footer-grid nav{align-items:center}
 .cq-shell .footer-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center}
 .cq-shell .footer-bottom nav{justify-content:center}
}
@media(forced-colors:active){
 .cq-shell .entry-tags a,.cq-shell .tag-list a{border:1px solid ButtonText}
 .cq-shell .entry-tags a::before,.cq-shell .tag-list a::before{display:none}
}

/* El padding de la pagina ya incluye la barra principal; no sumarla dos veces. */
.cq-shell .prose h2,.cq-shell .prose h3,.cq-shell .sources li,.cq-shell #fuentes,.cq-shell #compartir-title{scroll-margin-top:max(0px,calc(var(--post-nav-offset,7rem) - var(--cq-nav-height,64px) - 1rem))}
