/*
Theme Name: Leonardi · Archivo familiar
Author: Pablo Leonardi
Description: Plantilla editorial común con índice automático, navegación y contacto.
Version: 2.19.1
Text Domain: leonardi-archivo
*/
:root{--paper:#f4f1ea;--ink:#302e27;--blue:#556b2f;--rust:#84482f;--line:#c2a684;--muted:#696459;--white:#fff;--green:#187a45;--terracotta:#a75d3f;--taupe:#8c857b}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1.125rem/1.8 system-ui,sans-serif}a{color:var(--rust);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--rust);outline-offset:5px}h1,h2,h3{font-family:Georgia,serif;line-height:1.2;font-weight:400}h1{font-size:clamp(2.2rem,5vw,4.3rem);margin:.5rem 0 2rem;max-width:18ch}h2{font-size:2rem;margin:2.5rem 0 1rem}h3{font-size:1.5rem;margin:2rem 0 1rem}img{max-width:100%;height:auto}figure{margin:2rem 0}figcaption{font-size:.9rem;color:var(--muted)}.wrap{width:min(1160px,calc(100% - 3rem));margin:auto}.skip{position:absolute;left:1rem;top:-10rem;background:white;padding:.7rem;z-index:100}.skip:focus{top:1rem}.site-header{border-top:5px solid var(--blue);border-bottom:1px solid var(--line);background:var(--paper)}.header-row{display:flex;justify-content:space-between;gap:2rem;align-items:center;padding:1.5rem 0}.brand{display:flex;gap:.8rem;align-items:center;color:var(--blue);text-decoration:none}.monogram{width:3rem;height:3rem;display:grid;place-items:center;border:1px solid var(--blue);font:2.2rem Georgia,serif}.brand-name{display:block;font:1.6rem Georgia,serif;letter-spacing:.12em}.brand-note{display:block;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.custom-logo-link img{max-width:180px;max-height:70px;object-fit:contain}.primary-nav ul{display:flex;gap:1.5rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}.primary-nav a{color:var(--ink);font-size:.94rem;text-decoration:none}.primary-nav .current-menu-item>a{color:var(--rust);text-decoration:underline}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:.6rem 1rem;color:var(--ink);font:inherit}.article{max-width:790px;padding:4rem 0 5rem;min-height:55vh}.eyebrow{color:var(--rust);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;margin:0}.toc{margin:0 0 3rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:1.1rem 0}.toc summary{cursor:pointer;font-size:1rem;font-weight:600}.toc ol{padding-left:1.4rem;font-size:1rem}.toc li{padding:.15rem 0}.toc li.level-3{margin-left:1.3rem}.toc a{color:var(--blue)}.entry-content h2,.entry-content h3{scroll-margin-top:2rem}.entry-content p{margin:0 0 1.4rem}.entry-content blockquote{border-left:3px solid var(--rust);padding-left:1.5rem;margin:2rem 0;font:1.4rem/1.6 Georgia,serif}.entry-content ul,.entry-content ol{padding-left:1.5rem}.post-list article{padding:1.5rem 0;border-bottom:1px solid var(--line)}.site-footer{background:var(--blue);color:var(--paper);padding:3rem 0 1.4rem}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:4rem}.footer-title{font:1.4rem Georgia,serif;letter-spacing:.1em;margin:0 0 1rem}.footer-about{max-width:57ch;font-size:1rem;color:#f4f1ea}.site-footer a{color:var(--paper)}.footer-contact{font-size:1rem}.whatsapp{display:inline-flex;gap:.65rem;align-items:center;text-decoration:none}.whatsapp svg{width:30px;height:30px;fill:#fff;background:var(--green);border-radius:50%;padding:5px;flex-shrink:0}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid #a8b18c;margin-top:2rem;padding-top:1.3rem;font-size:.82rem;color:#f4f1ea}.footer-bottom p{margin:0}.wp-block-image img{border-radius:0}
@media(max-width:760px){.wrap{width:calc(100% - 2rem)}.header-row{flex-wrap:wrap;gap:1rem}.menu-toggle{display:block}.primary-nav{width:100%}.js .primary-nav[hidden]{display:none}.primary-nav ul{flex-direction:column;gap:.6rem}.article{padding:2.5rem 0 3.5rem}.footer-grid{grid-template-columns:1fr;gap:1.5rem}.brand-name{font-size:1.3rem}h2{font-size:1.7rem}}


.brand-logo{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;flex-shrink:0}.brand-logo img{display:block;width:320px;height:auto}.brand-logo .brand-note{font-size:.65rem;letter-spacing:.08em}.custom-logo-link img{max-width:320px;max-height:150px}@media(max-width:760px){.brand-logo img{width:240px}.brand-logo .brand-note{font-size:.55rem}.header-row{gap:.7rem}.custom-logo-link img{max-width:240px}}@media(max-width:360px){.brand-logo img{width:210px}.menu-toggle{padding:.4rem .6rem}}











.site-footer .footer-title{font-family:"Segoe Script","Snell Roundhand","Brush Script MT",cursive;font-size:clamp(1.8rem,3vw,2.4rem);font-weight:400;line-height:1.45;letter-spacing:.015em;color:#e7d6ac}.footer-contact .footer-email{margin:1.1rem 0 0}.footer-email a{text-decoration:underline;text-underline-offset:.2em}



