/* Cabecera y pie compartidos en todas las páginas */
body.inner-page,body.calendar-page{min-height:100vh;display:flex;flex-direction:column}
body.inner-page main,body.calendar-page main{flex:1 0 auto}
body.inner-page .legal-main{padding-top:145px}
body.inner-page .header,body.calendar-page .header{position:fixed;top:0;left:0;right:0;z-index:1000}
body.inner-page .legal-main{padding-top:145px}
body.inner-page main.section{padding-top:145px!important}
body.calendar-page .calendar-hero{padding-top:145px}
footer#contacto{flex-shrink:0}
footer#contacto .legal-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin:30px auto 0;width:min(1180px,calc(100% - 42px))}
footer#contacto .legal-footer a,footer#contacto .legal-footer button{font:inherit;font-size:12px;color:var(--muted);background:none;border:0;cursor:pointer;padding:5px}
footer#contacto .legal-footer a:hover,footer#contacto .legal-footer button:hover{color:#fff}
@media(max-width:900px){body.inner-page .header .links,body.calendar-page .header .links{position:absolute}}

/* Cabecera fija y contenido despejado en páginas interiores */
body.inner-page,body.calendar-page{padding-top:0}
body.inner-page .header,body.calendar-page .header{position:fixed!important;top:0;left:0;right:0;z-index:1000}
body.inner-page .legal-main{padding-top:clamp(125px,13vw,165px)!important}
body.inner-page main.section{padding-top:clamp(125px,13vw,165px)!important}
body.calendar-page .calendar-hero{padding-top:clamp(145px,16vw,190px)!important}
body.inner-page .back-to-top,body.calendar-page .back-to-top{position:fixed}
@media(max-width:900px){body.inner-page .legal-main,body.inner-page main.section{padding-top:110px!important}body.calendar-page .calendar-hero{padding-top:130px!important}}
