/* SWM Alariz SEO — usa las variables del tema (design.css). */

/* Secciones SEO insertadas en páginas del tema */
.swm-seo-extra .swm-seo-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(32px,6vw,110px);align-items:start}
.swm-seo-extra .swm-seo-head h2{margin-bottom:18px}
.swm-seo-extra .swm-seo-body{max-width:68ch;font-size:1.04rem;line-height:1.65}
.swm-seo-extra .swm-seo-body>*+*{margin-top:1.1em}
.swm-seo-extra .swm-seo-body h3{font-size:clamp(1.2rem,1.8vw,1.5rem);margin-top:1.6em}
.swm-seo-extra .swm-seo-body a{color:inherit;text-decoration:underline;text-decoration-color:var(--spark);text-underline-offset:3px;font-weight:650}
.swm-seo-extra .swm-seo-body ul{padding-left:1.2em}
.swm-seo-extra .swm-seo-body figure{margin:1.6em 0}
.swm-seo-extra .swm-seo-body img,.swm-seo-extra .swm-seo-body video{max-width:100%;height:auto;display:block}
.swm-seo-extra .swm-seo-body figcaption{font:500 .74rem/1.4 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:10px}
.swm-seo-extra .wp-block-video video{max-width:360px}
.swm-seo-extra.sec-paper{background:var(--paper);color:var(--ink)}
.swm-seo-extra .wp-block-button__link{display:inline-flex;align-items:center;min-height:52px;padding:0 26px;border:1.5px solid var(--spark);border-radius:0;background:var(--spark);color:var(--ink);font:700 .92rem/1 var(--f-sans);letter-spacing:.02em;text-decoration:none}
.swm-seo-extra .wp-block-button__link:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.swm-seo-extra .is-style-outline .wp-block-button__link{background:transparent;color:var(--ink);border-color:var(--ink)}
@media (max-width:900px){.swm-seo-extra .swm-seo-layout{grid-template-columns:1fr}}

/* FAQ agregadas: heredan el estilo de details/summary del tema */
.swm-faq-item>p,.swm-faq-item>ul{padding:0 56px 26px 0;margin:0;max-width:62ch;color:#2d3442}
.swm-faq-item a{font-weight:650;color:inherit}
.swm-faq-standalone{margin:3rem 0}

/* Galería: distinguir imágenes ilustrativas de fotografías reales */
.gallery .tile[data-swm-origin]{position:relative}
.gallery .tile[data-swm-origin]::before{content:attr(data-swm-origin);position:absolute;z-index:2;top:12px;left:12px;padding:6px 9px;font:500 .64rem/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;pointer-events:none}
.gallery .tile.swm-ref::before{background:rgba(255,255,255,.86);color:var(--ink)}
.gallery .tile.swm-real::before{background:var(--spark);color:var(--ink)}

/* Entradas y proyectos (el tema solo imprime h1 + contenido): misma retícula que el sitio */
.single-post .content-shell,.single-proyecto .content-shell,.blog .content-shell,.archive .content-shell{max-width:var(--max);margin-inline:auto;padding:calc(var(--hdr) + clamp(40px,6vw,96px)) var(--pad) clamp(72px,10vw,140px);background:var(--bone);color:var(--ink)}
.single-post .content-shell article,.single-proyecto .content-shell article{max-width:760px}
.single-post .content-shell h1,.single-proyecto .content-shell h1{font-size:clamp(2.2rem,5vw,4rem);text-transform:uppercase;margin-bottom:.6em}
.single-post .entry-content,.single-proyecto .entry-content{font-size:1.06rem;line-height:1.7}
.single-post .entry-content>*+*,.single-proyecto .entry-content>*+*{margin-top:1.1em}
.single-post .entry-content h2,.single-proyecto .entry-content h2{font-size:clamp(1.5rem,2.6vw,2.2rem);margin-top:1.8em}
.single-post .entry-content h3,.single-proyecto .entry-content h3{font-size:1.3rem;margin-top:1.5em}
.single-post .entry-content a,.single-proyecto .entry-content a{color:inherit;text-decoration-color:var(--spark);text-underline-offset:3px;font-weight:650}
.single-post .entry-content img,.single-proyecto .entry-content img{max-width:100%;height:auto}
