/*
Theme Name: Carlos Serrano Studio (Astra Child)
Theme URI: https://carlosserrano.studio/
Description: Tema hijo de Astra para Carlos Serrano Studio. Identidad visual compartida, patrones Gutenberg y estilos de portada independientes.
Author: Carlos Serrano Studio
Template: astra
Version: 1.1.0
Text Domain: carlos-serrano-astra-child
*/
/* Shared components for new Gutenberg pages; the existing homepage is scoped separately. */
.csg-page{--csg-ink:#000814;--csg-navy:#001d3d;--csg-blue:#003566;--csg-yellow:#ffc300;--csg-gold:#ffd60a;color:var(--csg-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;}
.csg-page h1,.csg-page h2,.csg-page h3{color:var(--csg-navy);font-weight:800;line-height:1.1;letter-spacing:-.04em;}
.csg-page .csg-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;font-weight:700;color:var(--csg-blue);}
.csg-page .wp-block-button__link{background:var(--csg-yellow);color:var(--csg-ink);border-radius:0;font-weight:700;padding:1rem 1.5rem;text-decoration:none;}
.csg-page .wp-block-button__link:hover{background:var(--csg-gold);color:var(--csg-ink);}
.csg-page a:focus-visible{outline:3px solid var(--csg-blue);outline-offset:4px;}
.csg-page .csg-panel{border-top:4px solid var(--csg-yellow);padding:clamp(24px,5vw,64px);background:#fff;}

/* Legal pages: shared brand and readable document layout. */
body.csg-legal{background:#dce0e3;color:#001d3d;font-family:Arial,Helvetica,sans-serif;}
body.csg-legal .site-header,body.csg-legal .site-footer{display:none;}
body.csg-legal .site-content>.ast-container{display:block;width:min(860px,calc(100% - 48px));max-width:none;margin-inline:auto;padding:64px 0 80px;}
body.csg-legal #primary{width:100%;margin:0;padding:0;}
body.csg-legal article,body.csg-legal .entry-content{background:transparent;margin:0;padding:0;}
body.csg-legal .entry-header{margin:0 0 32px;}
body.csg-legal .entry-title{font-size:clamp(36px,5vw,60px);line-height:1.08;font-weight:700;letter-spacing:-.045em;color:#001d3d;overflow-wrap:anywhere;}
body.csg-legal .entry-content{font-size:17px;line-height:1.8;color:#263f55;overflow-wrap:anywhere;}
body.csg-legal .entry-content h2{margin:40px 0 16px;font-size:clamp(23px,2.3vw,29px);line-height:1.25;letter-spacing:-.025em;color:#001d3d;font-weight:700;}
body.csg-legal .entry-content h3{font-size:21px;line-height:1.35;color:#001d3d;}
body.csg-legal .entry-content p,body.csg-legal .entry-content ul,body.csg-legal .entry-content ol{margin-bottom:20px;}
body.csg-legal .entry-content a{color:#003566;text-decoration:underline;text-underline-offset:3px;}
body.csg-legal a:focus-visible{outline:2px solid #ffc300;outline-offset:4px;}
body.csg-legal .css-header,body.csg-legal .css-footer{background:#000814;color:#fff;margin:0;}
body.csg-legal .css-header *,body.csg-legal .css-footer *{box-sizing:border-box;}
body.csg-legal .css-wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto;}
body.csg-legal .css-header{border-bottom:1px solid #003566;}
body.csg-legal .css-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;}
body.csg-legal .css-brand-logo{display:block;width:110px;line-height:0;}
body.csg-legal .css-brand-logo svg{display:block;width:100%;height:auto;fill:#fff;}
body.csg-legal .css-header a,body.csg-legal .css-footer a{text-decoration:none;color:inherit;}
body.csg-legal .css-button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:50px;padding:15px 22px;background:#ffc300;color:#001d3d!important;border:1px solid #ffc300;font-size:14px;font-weight:700;line-height:1.25;}
body.csg-legal .css-button:hover{background:#ffd60a;}
body.csg-legal .css-button-arrow{font-size:24px;font-weight:400;line-height:1;}
body.csg-legal .css-footer{padding:72px 0 24px;}
body.csg-legal .css-footer-top{display:grid;grid-template-columns:1.3fr .8fr 1.2fr;gap:64px;}
body.csg-legal .css-footer-brand .css-brand-logo{width:220px;max-width:100%;margin-bottom:28px;}
body.csg-legal .css-footer p{font-size:15px;line-height:1.65;color:#b7c2ce;margin:0 0 24px;}
body.csg-legal .css-footer .css-kicker{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin:0 0 28px;}
body.csg-legal .css-footer-links{display:flex;flex-direction:column;gap:18px;font-size:14px;font-weight:700;}
body.csg-legal .css-footer a:hover{color:#ffd60a;}
body.csg-legal .css-footer-socials{display:flex;gap:12px;}
body.csg-legal .css-footer-socials a{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #6b798b;}
body.csg-legal .css-footer-socials svg{width:18px;height:18px;fill:currentColor;}
body.csg-legal .css-footer-cta{width:100%;}
body.csg-legal .css-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;margin-top:64px;padding-top:24px;border-top:1px solid #33506b;}
body.csg-legal .css-footer-bottom p{font-size:10px;letter-spacing:.06em;margin:0;}
body.csg-legal .css-footer-legal{display:flex;flex-wrap:wrap;gap:24px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#b7c2ce;}
body.csg-legal .css-footer-status{display:flex;align-items:center;gap:8px;text-transform:uppercase;color:#ffd60a!important;font-weight:700;}
body.csg-legal .css-footer-status span{width:8px;height:8px;border-radius:50%;background:#ffd60a;}
body.csg-legal #ast-scroll-top{background:#ffc300;color:#001d3d;}
@media(max-width:760px){body.csg-legal .site-content>.ast-container{width:calc(100% - 40px);padding:40px 0 56px;}body.csg-legal .entry-content{font-size:16px;line-height:1.75;}body.csg-legal .css-wrap{width:calc(100% - 40px);}body.csg-legal .css-header-inner{min-height:76px;gap:16px;}body.csg-legal .css-brand-logo{width:100px;}body.csg-legal .css-footer{padding-top:48px;}body.csg-legal .css-footer-top{grid-template-columns:1fr;gap:36px;}body.csg-legal .css-footer-bottom{margin-top:40px;justify-content:center;text-align:center;}body.csg-legal .css-footer-legal{justify-content:center;gap:18px;}body.csg-legal .css-footer-bottom p{width:100%;justify-content:center;}}

body.csg-legal .css-header .wp-block-group,body.csg-legal .css-footer .wp-block-group{margin-block:0;}
body.csg-legal .css-footer .css-footer-bottom{margin-top:64px;}
@media(max-width:760px){body.csg-legal .css-footer .css-footer-bottom{margin-top:40px;}}
