/*
Theme Name: Academia OPE | Formación
Theme URI: https://academiaope.com/
Author: Academia OPE
Description: Tema ligero, accesible y responsive para Academia OPE, con tres landings editables en Gutenberg y configuración de Contact Form 7.
Version: 1.2.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: academiaope
License: GPL-2.0-or-later
*/
:root{--ao-ink:#292630;--ao-ink-deep:#231f2b;--ao-muted:#6e6874;--ao-accent:#ab628d;--ao-accent-dark:#87476d;--ao-accent-soft:#eed9e6;--ao-cream:#fcfafb;--ao-fog:#f7f3f6;--ao-line:#e9e2e9;--ao-white:#fff;--ao-font-heading:'Raleway',Arial,sans-serif;--ao-font-body:'Figtree',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ao-cream);color:var(--ao-ink);font:400 16px/1.65 var(--ao-font-body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9b487b;outline-offset:4px}h1,h2,h3,h4,h5,h6{font-family:var(--ao-font-heading);font-weight:800;letter-spacing:-.04em;line-height:1.18}p{margin:0 0 1em}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;word-wrap:normal!important}.screen-reader-text:focus{clip:auto!important;display:block;height:auto;width:auto;padding:1em;z-index:100000;background:#fff;color:#000;left:15px;top:15px}.ao-header{height:88px;position:relative;z-index:25;background:rgba(255,255,255,.98);border-bottom:1px solid var(--ao-line);box-shadow:0 5px 22px rgba(24,17,28,.035)}.ao-header-row{height:100%;max-width:1240px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:30px;justify-content:space-between}.ao-site-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}.ao-site-brand img{width:250px;height:auto;max-height:57px;object-fit:contain;object-position:left center;display:block}.ao-navigation{display:flex;align-items:center;gap:24px}.ao-nav-list{display:flex;align-items:center;gap:25px;margin:0;padding:0;list-style:none}.ao-nav-list li{position:relative;margin:0}.ao-nav-list a{text-decoration:none;font-weight:700;font-size:12px;color:#554b58;transition:color .2s}.ao-nav-list a:hover,.ao-nav-list .current-menu-item>a{color:var(--ao-accent-dark)}.ao-nav-list .sub-menu{display:none;position:absolute;top:100%;left:0;list-style:none;margin:0;padding:16px;min-width:235px;background:#fff;box-shadow:0 15px 28px #2117271a;border:1px solid var(--ao-line);border-radius:12px}.ao-nav-list li:hover>.sub-menu,.ao-nav-list li:focus-within>.sub-menu{display:block}.ao-nav-list .sub-menu li+li{margin-top:10px}.ao-header-cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;background:var(--ao-ink-deep);color:white;text-decoration:none;font-weight:800;font-size:12px;padding:13px 19px;border-radius:9px}.ao-header-cta:hover{background:var(--ao-accent-dark)}.ao-nav-toggle{display:none;border:1px solid var(--ao-line);border-radius:9px;background:#fff;color:var(--ao-ink);padding:10px 12px;align-items:center;gap:8px;cursor:pointer}.ao-nav-toggle svg{display:block}.ao-footer{background:#211c27;color:#eee7ed;padding:64px 0 25px}.ao-footer-main{max-width:1200px;padding:0 28px;margin:0 auto 45px;display:grid;grid-template-columns:1.2fr .8fr .9fr;gap:55px}.ao-footer .ao-footer-logo{display:block;width:250px;max-width:100%;filter:brightness(0) invert(1)}.ao-footer-about p{font-size:14px;color:#c9becb;max-width:310px;margin-top:17px}.ao-footer h3{font-size:14px;color:#fff;letter-spacing:0;margin:0 0 18px}.ao-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.ao-footer a{color:#d5cbd5;text-decoration:none;font-size:13px}.ao-footer a:hover{text-decoration:underline;color:#fff}.ao-footer-meta{border-top:1px solid #514655;padding:22px 28px 0;margin:0 auto;max-width:1200px;display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#bfb5c2;flex-wrap:wrap}.ao-footer-meta a{font-size:11px}.ao-default-content{max-width:900px;margin:0 auto;padding:80px 30px}.ao-default-content h1{font-size:clamp(34px,4vw,55px);margin:0 0 28px}.ao-default-content img{max-width:100%;height:auto}.ao-default-content .wp-block-group{max-width:100%}
@media(max-width:1050px){.ao-header-row{padding:0 20px;gap:16px}.ao-nav-list{gap:14px}.ao-site-brand img{width:215px}.ao-header-cta{padding:12px}.ao-nav-list a{font-size:11px}}
@media(max-width:800px){.ao-header{height:auto;min-height:74px}.ao-header-row{flex-wrap:wrap;padding:13px 20px;gap:12px}.ao-site-brand img{width:190px}.ao-nav-toggle{display:inline-flex;margin-left:auto}.ao-header-cta{display:none}.ao-navigation{order:3;width:100%;display:none;flex-basis:100%;padding:10px 0 14px;border-top:1px solid var(--ao-line)}.ao-navigation[data-open="true"]{display:block}.ao-nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.ao-nav-list li{border-bottom:1px solid #ece8eb}.ao-nav-list a{display:block;padding:12px;font-size:14px}.ao-nav-list .sub-menu{display:block;position:static;box-shadow:none;border:0;border-radius:0;padding:0 0 10px 18px;min-width:0}.ao-footer-main{grid-template-columns:1fr 1fr;gap:30px}.ao-footer-about{grid-column:1/-1}}
@media(max-width:550px){.ao-footer-main{grid-template-columns:1fr}.ao-footer-about{grid-column:auto}.ao-footer{padding-top:45px}.ao-default-content{padding:50px 20px}}

/* 1.0.2 — Cabecera y pie visibles en plantillas de formación.
   Importante: evita que las reglas de otros plugins oculten elementos del tema. */
body.page-template-landing-formacion header.ao-header,
body.page-template-landing-formacion footer.ao-footer {
  display:block !important; visibility:visible !important; opacity:1 !important;
  height:auto; overflow:visible;
}
body.page-template-landing-formacion header.ao-header {min-height:84px; isolation:isolate;}
body.page-template-landing-formacion .ao-header-row {min-height:84px;}
body.page-template-landing-formacion footer.ao-footer {position:relative; min-height:210px;}
.ao-site-brand img, .ao-footer-logo {object-fit:contain;}
@media(max-width:800px){body.page-template-landing-formacion header.ao-header,
body.page-template-landing-formacion .ao-header-row{min-height:70px}}

/* 1.2.0 | refined sitewide identity */
:root{--ao-ink:#27202a;--ao-ink-deep:#211925;--ao-muted:#695f6c;--ao-accent:#a65883;--ao-accent-dark:#834066;--ao-accent-soft:#f5e7ef;--ao-cream:#fffdfd;--ao-fog:#fbf7f9;--ao-line:#eee5eb}
.ao-header{position:sticky;top:var(--wp-admin--admin-bar--height,0px);height:86px;background:rgba(255,253,254,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 4px 24px rgba(48,24,40,.05)}
.ao-header-row{max-width:1320px;padding:0 34px;gap:22px}
.ao-site-brand img{width:min(238px,27vw);max-height:62px}
.ao-nav-list a{font-size:13px;font-weight:700}
.ao-header-cta{background:#834066;padding:14px 22px;border-radius:999px;box-shadow:0 10px 25px #83406624}
.ao-header-cta:hover{background:#662b4d}
.ao-footer{background:#211925;padding-top:76px}
.ao-footer-main{max-width:1240px}
.ao-footer h3{font-size:16px}
.ao-footer-about p{font-size:15px;line-height:1.8}
@media(max-width:1070px){.ao-header-row{padding:0 20px;gap:14px}.ao-nav-list{gap:12px}.ao-nav-list a{font-size:11.5px}.ao-header-cta{padding:12px 15px}.ao-site-brand img{width:195px}}
@media(max-width:800px){.ao-header{height:auto;min-height:74px}.ao-site-brand img{width:190px}.ao-nav-list a{font-size:14px}}
/* Sitewide editorial system (posts, archives, search, 404). */
.ao-post-content .entry-content{font-size:17px;line-height:1.9}.ao-post-content .entry-content h2{font-size:clamp(27px,3vw,38px);margin:1.6em 0 .5em}.ao-post-content .entry-content h3{font-size:clamp(22px,2.4vw,29px)}.ao-post-content .entry-content p{margin-bottom:1.35em}.ao-post-content .entry-content a{color:var(--ao-accent-dark)}
.ao-post-eyebrow{font-weight:800;font-size:12px;letter-spacing:.13em;color:var(--ao-accent-dark);text-transform:uppercase}.ao-post-cover{margin:35px 0}.ao-post-cover img{display:block;width:100%;height:auto;border-radius:18px}.ao-post-list{max-width:960px}.ao-excerpt-card{padding:27px 0;border-bottom:1px solid var(--ao-line)}.ao-excerpt-card h2{font-size:clamp(23px,2.5vw,33px);margin:6px 0}.ao-excerpt-card h2 a{text-decoration:none}.ao-excerpt-card h2 a:hover{color:var(--ao-accent-dark)}.ao-not-found{min-height:54vh}.ao-not-found p{max-width:570px}.ao-search-form{display:flex;gap:10px;max-width:680px}.ao-search-form input{flex:1;min-width:0;border:1px solid var(--ao-line);border-radius:9px;padding:12px 14px}.ao-search-form button{background:var(--ao-accent-dark);color:#fff;border:0;border-radius:9px;padding:12px 19px;font-weight:800;cursor:pointer}
