/*
Theme Name: Vivienda Paso a Paso
Template: twentytwentyfive
Version: 1.4.2
Author: Rafael Santos Cerveró
Description: Tema hijo de Twenty Twenty-Five. Gutenberg, identidad oficial y Arial y lectura práctica.
License: GPL-2.0-or-later
Text Domain: vivienda-paso-a-paso
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{overflow-wrap:anywhere}.vpp-shell{padding-inline:clamp(1rem,4vw,3rem)}.vpp-panel,.vpp-next{padding:clamp(1rem,3vw,2rem);background:#fff;border:1px solid #d7e2db;border-radius:1rem;margin-block:2rem}.vpp-next{border-left:5px solid #176653;background:#EAF2EE}.vpp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:1120px!important;background:none;border:0;padding:0}.vpp-card{background:#fff;border:1px solid #d7e2db;border-radius:.8rem;padding:1.4rem;margin:0!important}.vpp-card h3{font-size:1.25rem;line-height:1.3}.vpp-card a{text-decoration:none}.vpp-card a:hover{text-decoration:underline}.vpp-card p{font-size:1rem}.vpp-header{border-bottom:1px solid #d7e2db;background:#fff}.vpp-footer{border-top:1px solid #d7e2db;margin-top:4rem;padding-block:2.5rem}.wp-block-post-content>h1{max-width:900px}.wp-block-post-content>h2{margin-top:2.5rem}.wp-block-post-title{line-height:1.15}.wp-block-search__input{border:1px solid #52636C;border-radius:.4rem}.wp-block-search__button{background:#176653;color:#fff;border-radius:.4rem}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #172c3c;outline-offset:3px}.wp-block-navigation__responsive-container.is-menu-open{padding:2rem;background:#fff}.vpp-overline{text-transform:uppercase;letter-spacing:.07em;font-size:.8rem;font-weight:700}.wp-block-post-content>p:first-child{font-size:1.15rem}.wp-block-post-content li{margin-bottom:.5rem}@media(max-width:900px){.vpp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.vpp-grid{grid-template-columns:1fr}.vpp-header .wp-block-search{display:none}h1{font-size:2.35rem!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.vpp-header,.vpp-footer{display:none}body{background:white}.vpp-panel{border:0}}

/* Identidad oficial · Branding R1 */
.vpp-brand{display:inline-flex;align-items:center;flex-shrink:0}.vpp-brand img{display:block;width:clamp(190px,19vw,270px);height:auto}.vpp-header .wp-block-navigation{font-size:1rem;font-weight:700}.vpp-header .wp-block-search__input{font-family:Arial,"Liberation Sans",sans-serif}.vpp-footer{background:#172C3C;color:#FFFFFF}.vpp-footer a{color:#FFFFFF}.vpp-footer p{color:#FFFFFF}.vpp-breadcrumbs{font-size:.875rem;color:#52636C}.vpp-breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;padding:0}.vpp-breadcrumbs li+li:before{content:"/";margin-right:.5rem} @media(max-width:600px){.vpp-brand img{width:190px}}


/* Portada editorial R2 */
.vpp-home{margin-top:0!important}.vpp-hero{display:grid;grid-template-columns:45% 55%;max-width:1600px;margin:0 auto;min-height:620px;background:#F7F8F5}.vpp-hero-copy{padding:clamp(2rem,5vw,5rem);align-self:center}.vpp-hero h1{font-size:clamp(2.5rem,4.4vw,4.8rem);letter-spacing:-.045em;line-height:1.05;margin:1.3rem 0 1.6rem}.vpp-lead{font-size:1.125rem;line-height:1.65;max-width:38rem}.vpp-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.14em;line-height:1.5;color:#176653}.vpp-hero-note{font-size:.875rem;color:#52636C;margin-top:2rem}.vpp-hero-image{margin:0!important;min-height:620px;height:100%}.vpp-hero-image img{display:block;width:100%;height:100%;min-height:620px;object-fit:cover;object-position:65% center}.vpp-section{max-width:1248px;margin:auto;padding:clamp(3rem,7vw,6rem) clamp(1.25rem,4vw,4rem)}.vpp-section h2{font-size:clamp(2rem,3vw,3.25rem);letter-spacing:-.035em;line-height:1.12;margin:1rem 0 2.8rem}.vpp-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.vpp-route-card{padding-top:1.4rem;border-top:1px solid #D7E2DB}.vpp-step-number{font-size:2.25rem;letter-spacing:-.06em;font-weight:700;color:#176653;margin:0 0 1.3rem}.vpp-route-card h3,.vpp-tool-card h3{font-size:1.5rem;letter-spacing:-.025em}.vpp-route-card p,.vpp-tool-card p,.vpp-editorial-card p{font-size:1rem}.vpp-text-link{font-weight:700;margin-top:1.8rem}.vpp-text-link a{text-decoration:none}.vpp-text-link a:hover{text-decoration:underline}.vpp-tool-section{background:#172C3C;color:#FFFFFF}.vpp-tool-section h2,.vpp-tool-section h3,.vpp-tool-section p,.vpp-tool-section a{color:#FFFFFF}.vpp-tool-section .vpp-route-grid{margin-top:3rem}.vpp-tool-card{border-top:1px solid #52636C;padding-top:1.5rem}.vpp-editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 3rem;margin-bottom:2.4rem}.vpp-editorial-card{padding:1.5rem 0;border-top:1px solid #D7E2DB}.vpp-editorial-card h3{font-size:1.65rem;line-height:1.25;letter-spacing:-.025em}.vpp-editorial-card h3 a{color:#172C3C;text-decoration:none}.vpp-editorial-card h3 a:hover{text-decoration:underline}.vpp-trust{display:grid;grid-template-columns:1.25fr 1fr;gap:5rem;background:#EAF2EE;max-width:1120px;margin-bottom:5rem}.vpp-trust h2{margin-bottom:1.8rem}.vpp-trust-steps{display:grid;grid-template-columns:auto 1fr;gap:.5rem 1.4rem;align-content:center}.vpp-trust-steps .vpp-step-number{grid-row:span 2;margin:0}.vpp-trust-steps h3,.vpp-trust-steps p{margin:0}.vpp-trust-steps p:not(.vpp-step-number){font-size:1rem;margin-bottom:1.5rem}.vpp-home .wp-block-button.is-style-outline a{background:transparent!important;color:#172C3C!important;border:1px solid #172C3C}.vpp-home .wp-block-button a{font-size:.9375rem;font-weight:700;border-radius:2px;padding:.95rem 1.3rem}.vpp-home .wp-block-buttons{gap:.75rem;margin-top:1.8rem}.vpp-footer{margin-top:0}.vpp-header .alignwide{gap:1.5rem}.vpp-header .wp-block-navigation{gap:1.4rem}
@media(max-width:1000px){.vpp-hero{grid-template-columns:1fr 1fr;min-height:540px}.vpp-hero-image,.vpp-hero-image img{min-height:540px}.vpp-trust{gap:2.5rem}.vpp-header .wp-block-search{display:none}}
@media(max-width:700px){.vpp-hero{display:flex;flex-direction:column;min-height:0}.vpp-hero-copy{padding:2.5rem 1.25rem}.vpp-hero-image{min-height:0;height:300px;order:2}.vpp-hero-image img{min-height:0;height:300px}.vpp-hero h1{font-size:2.8rem!important}.vpp-route-grid,.vpp-editorial-grid,.vpp-trust{grid-template-columns:1fr}.vpp-route-grid{gap:2rem}.vpp-trust{margin-inline:1rem;margin-bottom:3rem;gap:2rem}.vpp-section h2{margin-bottom:2rem}.vpp-home .wp-block-button{max-width:100%}.vpp-home .wp-block-button a{white-space:normal}.vpp-hero .wp-block-buttons{display:flex;flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:no-preference){.vpp-home a{transition:color .16s ease,background-color .16s ease}}

/* Sistema editorial visual R3 */
.vpp-visual-opening{margin:1.75rem 0 2.5rem;width:100%}.vpp-visual-opening img,.vpp-visual-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.vpp-visual-opening figcaption{font-size:.75rem;line-height:1.5;color:#52636C;margin-top:.65rem}.vpp-visual-card{margin:0 0 1.4rem}.vpp-card .vpp-visual-card{margin:-1.2rem -1.2rem 1.4rem}.vpp-card{overflow:hidden}.vpp-route-card,.vpp-editorial-card{border-top:0;padding-top:0}.vpp-route-grid{gap:1.6rem}.vpp-editorial-grid{gap:2.2rem}.vpp-shell .wp-block-post-content h2{border-bottom:1px solid #D7E2DB;padding-bottom:.7rem}.vpp-shell .wp-block-post-content .vpp-panel{border-left:3px solid #176653}.vpp-footer a{display:inline-block;padding:.35rem 0}
@media(max-width:700px){.vpp-route-grid{gap:1.5rem}.vpp-route-card .vpp-step-number{margin-bottom:.7rem}.vpp-route-card p,.vpp-editorial-card p{margin-top:.75rem}.vpp-editorial-grid{gap:1.8rem}.vpp-visual-opening{margin:1.4rem 0 1.8rem}.vpp-visual-card{margin-bottom:1rem}.vpp-section{padding-top:2.7rem;padding-bottom:2.7rem}}

/* Listado editorial dinámico R5 */
.vpp-article-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.vpp-article-card{background:#FFFFFF;border:1px solid #D7E2DB;overflow:hidden}.vpp-article-card .vpp-visual-card{margin:0}.vpp-article-card>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}.vpp-article-copy{padding:1.4rem}.vpp-article-copy h3{font-size:1.5rem;line-height:1.25}.vpp-article-copy h3 a{color:#172C3C;text-decoration:none}.vpp-article-copy h3 a:hover{text-decoration:underline}.vpp-article-featured{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.vpp-article-featured .vpp-visual-card,.vpp-article-featured img{height:100%}.vpp-article-featured img{object-fit:cover}.vpp-pagination{display:flex;flex-wrap:wrap;gap:.6rem;margin:2rem 0 3rem}.vpp-pagination .page-numbers{padding:.6rem .9rem;border:1px solid #D7E2DB}.vpp-pagination .current{background:#176653;color:#FFFFFF}.vpp-editorial-list{margin-bottom:3rem}@media(max-width:700px){.vpp-article-grid,.vpp-article-featured{grid-template-columns:1fr}.vpp-article-featured img{height:auto}.vpp-article-copy{padding:1.2rem}}

/* Footer y regreso al principio R6 */
.vpp-footer-r6{background:#172C3C;color:#FFFFFF;padding:0!important}.vpp-footer-inner{max-width:1248px;margin:0 auto;padding:3.5rem clamp(1.25rem,4vw,4rem) 1.75rem}.vpp-footer-columns{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:3rem}.vpp-footer-logo{display:inline-block;background:#FFFFFF;padding:.8rem 1rem;border-radius:2px}.vpp-footer-logo img{display:block;width:230px;max-width:100%;height:auto}.vpp-footer-r6 .vpp-footer-promise{font-size:1.4rem;font-weight:700;margin:1.5rem 0 .8rem}.vpp-footer-brand>p:not(.vpp-footer-promise){font-size:1rem;line-height:1.65;max-width:25rem}.vpp-footer-r6 h2{font-size:1rem;line-height:1.4;color:#FFFFFF;margin:0 0 1.1rem;letter-spacing:0}.vpp-footer-r6 ul{list-style:none;padding:0;margin:0}.vpp-footer-r6 li{margin:0 0 .3rem}.vpp-footer-r6 a{color:#FFFFFF;text-decoration:none;font-size:1rem;line-height:1.5}.vpp-footer-r6 nav a{display:inline-block;padding:.45rem 0}.vpp-footer-r6 a:hover{text-decoration:underline}.vpp-footer-r6 a:focus-visible{outline:2px solid #FFFFFF;outline-offset:5px}.vpp-footer-bottom{border-top:1px solid #52636C;margin-top:2.5rem;padding-top:1.4rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.vpp-footer-bottom p{font-size:.875rem;margin:0}.vpp-footer-bottom ul{display:flex;gap:1.5rem;flex-wrap:wrap}.vpp-footer-bottom nav a{font-size:.875rem}.vpp-footer-r6 .vpp-footer-status{font-size:.75rem;line-height:1.5;margin-top:1.4rem;color:#FFFFFF}.vpp-back-top{position:fixed;right:1.25rem;bottom:6rem;z-index:1000;width:48px;height:48px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #FFFFFF;border-radius:50%;background:#176653;color:#FFFFFF;cursor:pointer;box-shadow:0 3px 12px rgba(23,44,60,.18)}.vpp-back-top[hidden]{display:none!important}.vpp-back-top:hover{background:#172C3C}.vpp-back-top:focus-visible{outline:3px solid #172C3C;outline-offset:3px}
@media(max-width:850px){.vpp-footer-columns{grid-template-columns:1fr 1fr}.vpp-footer-brand{grid-column:1/-1}.vpp-footer-columns{gap:2rem}}
@media(max-width:520px){.vpp-footer-columns{grid-template-columns:1fr;gap:1.8rem}.vpp-footer-inner{padding-top:2.5rem}.vpp-footer-logo img{width:210px}.vpp-footer-bottom{align-items:flex-start;flex-direction:column}.vpp-footer-bottom ul{gap:1rem}.vpp-back-top{right:1rem}}
