/*
Theme Name: Educa Hogar — Aprender en familia
Version: 4.0.0
Description: Tema ligero para lectura y actividades en familia.
Text Domain: educa-hogar
*/
:root{--ink:#243c34;--muted:#627269;--paper:#fcfbf7;--sage:#e8eee4;--green:#355c49;--peach:#f6e6d9;--line:#dde3d8;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.skip{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:9}.skip:focus{top:12px}:focus-visible{outline:3px solid #b96533;outline-offset:4px}header.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;justify-content:space-between;align-items:center;padding:22px 0;gap:24px}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;font-weight:750;color:var(--ink);line-height:1.25}.brand-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--green);color:white;border-radius:13px;font-size:23px}.brand small{display:block;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-top:5px;font-weight:500}nav{display:flex;align-items:center;gap:26px;font-size:14px}nav a{text-decoration:none}.mobile-nav{display:none}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.15;letter-spacing:-.03em}h1{font-size:clamp(38px,5vw,64px);margin:12px 0 22px}h2{font-size:clamp(29px,3.3vw,42px);margin:8px 0 18px}h3{font-size:25px;margin:14px 0}p{margin:0 0 18px}.eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:var(--green)}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;padding:70px 0 58px}.hero p{max-width:490px;color:var(--muted)}.hero-art{border-radius:35px;background:var(--sage);overflow:hidden}.buttons{display:flex;gap:13px;flex-wrap:wrap;margin:28px 0 0}.button{padding:12px 21px;border-radius:40px;text-decoration:none;border:1px solid var(--green);display:inline-block;font-size:14px;font-weight:650;background:var(--green);color:white}.button.secondary{background:transparent;color:var(--green)}.note{font-size:12px;color:var(--muted);margin-top:20px}.promise{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;font-size:13px;color:var(--muted)}section.block{padding:60px 0}.section-top{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:22px}.section-top p{color:var(--muted);max-width:440px}.age-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.age-card{border:1px solid var(--line);border-radius:var(--radius);padding:28px;text-decoration:none;background:#fffefb;color:var(--ink)}.age-card:hover,.article-card:hover{border-color:var(--green)}.age-card .age{font-size:13px;font-weight:650;color:var(--green)}.age-card p{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:0}.arrow{float:right;font-size:24px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.article-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fffefb}.article-card>a{display:block;text-decoration:none;color:var(--ink);height:100%}.article-card .cover{aspect-ratio:1.65;object-fit:cover;width:100%;background:var(--sage)}.card-content{padding:24px}.card-content .label{font-size:11px;color:var(--green);font-weight:700;letter-spacing:1px;text-transform:uppercase}.card-content h3{font-size:24px;line-height:1.25}.card-content p{font-size:14px;line-height:1.65;color:var(--muted)}.read{font-size:12px;font-weight:700}.soft-panel{background:var(--sage);border-radius:30px;padding:42px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}.soft-panel p,.soft-panel li{font-size:15px;color:var(--muted)}.soft-panel ul{margin:0;padding-left:20px}.soft-panel li{padding:6px 0}.site-footer{border-top:1px solid var(--line);margin-top:35px;padding:38px 0 24px;font-size:13px;color:var(--muted)}.footer-grid{display:flex;justify-content:space-between;gap:30px}.site-footer a{margin-right:20px}.footer-bottom{font-size:11px;margin-top:25px;max-width:850px}.article-shell{max-width:760px;margin:50px auto 70px}.article-shell h1{font-size:clamp(35px,5vw,52px)}.article-shell .lead{font-size:20px;color:var(--muted)}.article-shell .cover{border-radius:var(--radius);margin:30px 0;width:100%}.article-shell h2{font-size:31px;margin-top:40px}.article-shell h3{font-size:24px;margin-top:28px}.article-shell li{margin-bottom:10px}.byline{font-size:12px;color:var(--muted)}.breadcrumb{font-size:12px;margin-bottom:22px}.article-shell figure{margin:0}.article-shell figcaption{font-size:11px;color:var(--muted)}.article-shell table{border-collapse:collapse;width:100%;font-size:14px}.article-shell td,.article-shell th{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.article-shell blockquote{border-left:3px solid var(--green);padding-left:20px;margin-left:0;color:var(--muted)}.empty{padding:60px 0}.pagination{margin-top:30px}.wp-block-image img{height:auto}.search-form{display:flex;gap:10px}.search-form input{padding:10px;border:1px solid var(--line);border-radius:8px;min-width:0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:800px){.wrap{width:calc(100% - 32px)}.hero{gap:30px;padding:40px 0;grid-template-columns:1fr}.hero-art{max-width:550px}.header-inner{padding:18px 0}.desktop-nav{display:none}.mobile-nav{display:block;font-size:14px}.mobile-nav nav{display:flex;position:absolute;right:16px;top:83px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px;flex-direction:column;z-index:2;align-items:start}.promise{flex-wrap:wrap;font-size:12px}.section-top{display:block}.age-grid,.grid{grid-template-columns:1fr 1fr}.soft-panel{grid-template-columns:1fr;gap:20px;padding:28px}.footer-grid{display:block}.footer-grid>div{margin-bottom:20px}.article-shell{margin-top:35px}}@media(max-width:520px){.grid,.age-grid{grid-template-columns:1fr}.hero-art{max-height:340px}.brand{font-size:16px}.brand small{font-size:9px}.section-top h2{font-size:32px}section.block{padding:42px 0}.article-shell .lead{font-size:18px}.article-shell table{font-size:12px}.article-shell td,.article-shell th{padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.article-card .product-photo{object-fit:contain;background:#fff;padding:18px}.article-shell .product-photo{object-fit:contain;max-height:540px;background:#fff;padding:24px}

.hero-art img{width:100%;aspect-ratio:1.3;object-fit:cover}.hero-art figcaption{font-size:10px;padding:10px 18px}.product-summary{color:var(--green)!important;font-weight:650}.all-stages{margin-top:24px;display:flex;gap:10px;flex-wrap:wrap}.stage-link{border:1px solid var(--line);border-radius:30px;padding:9px 16px;font-size:13px;text-decoration:none}
