:root{--institutional:#813f34;--accent:#57812d;--ink:#373435;--muted:#635d59;--paper:#f6f8f2;--bs-primary:#813f34;--bs-primary-rgb:129,63,52;--bs-link-color:#416122;--bs-link-color-rgb:65,97,34;--bs-link-hover-color:#304919;--bs-link-hover-color-rgb:48,73,25;--bs-primary-text-emphasis:#68332a;--bs-primary-bg-subtle:#f5e9e6;--bs-primary-border-subtle:#c99b91;--bs-focus-ring-color:rgba(129,63,52,.3)}
body{min-height:100vh;display:flex;flex-direction:column;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7}main{flex:1;min-width:0}a{color:#416122;text-underline-offset:.2em}a:hover{color:#304919}:focus-visible{outline:3px solid #416122;outline-offset:4px;box-shadow:0 0 0 2px #fff}h1,h2,h3,h4{line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}h1{font-size:clamp(2rem,4vw,3.5rem);font-weight:750}h2{font-weight:700}img{max-width:100%;height:auto}iframe,video,embed,object{max-width:100%}button,input,select,textarea{font:inherit}button,.btn{min-height:44px}button{touch-action:manipulation}.btn-primary{--bs-btn-bg:#813f34;--bs-btn-border-color:#813f34;--bs-btn-hover-bg:#68332a;--bs-btn-hover-border-color:#68332a;--bs-btn-active-bg:#68332a;--bs-btn-active-border-color:#68332a;--bs-btn-disabled-bg:#813f34;--bs-btn-disabled-border-color:#813f34;--bs-btn-focus-shadow-rgb:129,63,52}.btn-outline-primary{--bs-btn-color:#813f34;--bs-btn-border-color:#813f34;--bs-btn-hover-bg:#813f34;--bs-btn-hover-border-color:#813f34;--bs-btn-active-bg:#68332a;--bs-btn-active-border-color:#68332a;--bs-btn-disabled-color:#813f34;--bs-btn-disabled-border-color:#813f34;--bs-btn-focus-shadow-rgb:129,63,52}.skip-link{position:fixed;left:1rem;top:-10rem;z-index:2000;padding:1rem;background:#fff;color:#813f34}.skip-link:focus{top:1rem}.brand-heading{margin:0;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:normal}.brand-title{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:800;text-decoration:none;color:var(--institutional)}.custom-logo-link{display:inline-block}.custom-logo{max-height:100px;width:auto;object-fit:contain}.brand-description{margin:.5rem 0 0;color:var(--muted);font-size:.9rem}.site-search .form-control{min-width:0;min-height:48px}.offcanvas-body{padding:1rem}.site-menu,.site-submenu{list-style:none;margin:0;padding:0}.site-menu-item{position:relative;min-width:0}.menu-item-row{display:flex;align-items:stretch;border-radius:.4rem}.menu-item-row>a,.menu-label{padding:.7rem .85rem;text-decoration:none;display:block;flex:1;overflow-wrap:anywhere;line-height:1.5}.submenu-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:44px;padding:.6rem .85rem;background:transparent;border:0;border-radius:.3rem}.menu-item-row:hover,.is-current>.menu-item-row,.is-ancestor>.menu-item-row{background:rgba(129,63,52,.06)}.is-current>.menu-item-row>a{font-weight:750;text-decoration:underline;text-decoration-thickness:2px}.site-submenu{padding-left:1rem;border-left:2px solid #dce8cf;margin-left:.85rem}.site-submenu[hidden]{display:none}.chevron{display:block;flex:none;transition:transform .15s}.submenu-toggle[aria-expanded=true] .chevron{transform:rotate(180deg)}.section-space{padding-top:3.5rem;padding-bottom:3.5rem}.home-intro{background:linear-gradient(125deg,#f0f5e9,#f6f8f2);border-bottom:1px solid #deded5}.home-intro .entry-content{max-width:900px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:750;color:var(--accent);margin-bottom:.8rem}.section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1.25rem;margin-bottom:2rem}.section-heading h2{margin:0}.news-card{border:1px solid #deded5;border-radius:1rem;overflow:hidden;box-shadow:0 6px 24px #813f3408}.card-image{display:block;aspect-ratio:8/5;overflow:hidden}.card-image img{height:100%;width:100%;object-fit:cover}.news-card .card-body{padding:1.5rem}.news-card time,.article-header time{color:var(--muted);font-size:.875rem}.news-card h2{margin-top:.6rem}.news-card h2 a{color:var(--institutional);text-decoration:none}.news-card h2 a:hover{text-decoration:underline}.card-text{color:var(--muted)}.service-links .site-menu{display:grid;grid-template-columns:1fr;gap:1rem}.service-links .site-menu>.site-menu-item{padding:.5rem;background:var(--paper);border:1px solid #deded5;border-radius:.75rem}.service-links .submenu-toggle,.footer-links .submenu-toggle{color:var(--institutional)}.service-links .site-submenu,.footer-links .site-submenu{border-color:#d2d9c6}.service-links .menu-item-row:hover,.footer-links .menu-item-row:hover{background:#e9efdf}.reading-column{max-width:850px;margin-inline:auto}.article-image{width:100%;max-height:560px;object-fit:cover;margin-top:2rem;border-radius:.75rem}.entry-content{overflow-wrap:anywhere}.entry-content>*{max-width:100%}.entry-content table{display:block;max-width:100%;overflow-x:auto}.entry-content p{margin-bottom:1.3rem}.entry-content h2,.entry-content h3{margin-top:2rem}.entry-content pre{white-space:pre;overflow:auto;padding:1rem;background:var(--paper)}.entry-content figure{max-width:100%}.entry-content .alignwide{width:100%}.site-breadcrumb{margin-bottom:2rem}.breadcrumb{font-size:.875rem}.widget{margin-bottom:1.5rem;overflow-wrap:anywhere}.widget ul{padding-left:1.2rem}.site-footer{background:var(--paper);border-top:1px solid #deded5}.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;border-top:1px solid #deded5;padding-top:1.5rem;margin-top:2rem;font-size:.875rem}.nav-links{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between}.page-numbers{display:inline-block;padding:.5rem .9rem;border-radius:.4rem;border:1px solid #deded5}.page-numbers.current{background:var(--institutional);color:#fff}.comment-list{padding-left:1.5rem}.comment-form input:not([type=checkbox]),.comment-form textarea{display:block;width:100%;padding:.65rem;border:1px solid #80766f;border-radius:.35rem}.comment-form .submit{background:var(--institutional);color:white}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:static}
@media(min-width:768px){.service-links .site-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){.service-links .site-menu{grid-template-columns:repeat(3,minmax(0,1fr))}}
html:not(.nav-ready) .navbar-toggler{display:none}html:not(.nav-ready) .offcanvas-header{display:none}html:not(.nav-ready) .submenu-toggle .chevron{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active){.menu-item-row{border:1px solid ButtonText}:focus-visible{outline:3px solid Highlight}.is-current>.menu-item-row>a{text-decoration:underline}}
@media print{.section-space{padding:1rem 0}a{color:inherit}}
.form-control:focus,.form-select:focus,.form-check-input:focus{border-color:var(--institutional);box-shadow:0 0 0 .25rem rgba(129,63,52,.22)}
.form-check-input:checked{background-color:var(--institutional);border-color:var(--institutional)}
/* Compatible con formularios envueltos en .contact-form, incluidos shortcodes. */
.contact-form{width:100%;max-width:500px;min-width:0;margin:20px auto;padding:clamp(1rem,4vw,1.5rem);background:#f8f9f5;border:1px solid #deded5;border-radius:10px;box-shadow:0 4px 16px rgba(55,52,53,.08)}
.contact-form label{display:block;margin-bottom:.35rem;font-weight:700;color:var(--ink)}
.contact-form :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]):not([type=image]):not([type=range]):not([type=color]),textarea,select){box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:44px;margin-bottom:1rem;padding:.65rem .75rem;border:1px solid #80766f;border-radius:5px;background:#fff;color:var(--ink);font-size:1rem;line-height:1.5}
.contact-form textarea{min-height:160px;resize:vertical}
.contact-form :where(input[type=checkbox],input[type=radio]){width:auto;margin-inline-end:.5rem;accent-color:var(--institutional)}
.contact-form :where(input,textarea,select,button):focus-visible{outline:3px solid var(--institutional);outline-offset:3px;box-shadow:0 0 0 2px #fff}
.contact-form :where(input[type=submit],button[type=submit]){width:auto;max-width:100%;min-height:44px;white-space:normal;padding:.65rem 1rem;border:1px solid var(--institutional);border-radius:5px;background:var(--institutional);color:#fff;font-weight:650;cursor:pointer;transition:background-color .15s}
.contact-form :where(input[type=submit],button[type=submit]):hover{background:#68332a;border-color:#68332a}
.contact-form :where(input,select,textarea,button):disabled{opacity:.65;cursor:not-allowed}
.contact-form :where([aria-invalid=true],.wpcf7-not-valid){border-color:#a12424}
.contact-form :where(.wpcf7-not-valid-tip,.error){display:block;color:#a12424}
.contact-form .wpcf7-list-item{margin:0 1rem .5rem 0}
@media(prefers-reduced-motion:reduce){.contact-form :where(input,button){transition:none}}

/* Datos de contacto del pie (Personalizar → Datos de contacto). */
.footer-contact{display:flex;flex-wrap:wrap;gap:.5rem 1.75rem;margin:0 0 2rem;padding-bottom:1.5rem;border-bottom:1px solid #deded5;font-style:normal;font-size:.9375rem}
.footer-contact-item{display:inline-flex;align-items:flex-start;gap:.5rem;min-height:44px;padding-block:.6rem;color:var(--ink);overflow-wrap:anywhere}
a.footer-contact-item{color:#416122}
.footer-contact .contact-icon{flex:none;margin-top:.1em;color:var(--accent)}
/* Pie de página con el verde del logo (#57812d): texto blanco, contraste 4.6:1 (AA). */
.site-footer{--footer-bg:#57812d;--footer-line:rgba(255,255,255,.35);background:var(--footer-bg);border-top:0;color:#fff}
.site-footer :is(h2,h3,h4,h5,h6,.widget-title,.widgettitle,p,li,address,span,strong,dt,dd,label){color:#fff}
.site-footer a,.site-footer a.footer-contact-item{color:#fff;text-decoration:underline;text-decoration-thickness:1px}
.site-footer a:hover{color:#fff;text-decoration-thickness:2px}
.site-footer :focus-visible{outline-color:#fff;box-shadow:0 0 0 2px #304919}
.site-footer svg{fill:currentColor}
.site-footer .footer-contact,.site-footer .footer-bottom{border-color:var(--footer-line)}
.site-footer .footer-contact-item,.site-footer .footer-contact .contact-icon{color:#fff}
.site-footer .footer-links .submenu-toggle{color:#fff}
.site-footer .footer-links .site-submenu{border-color:var(--footer-line)}
.site-footer .footer-links .menu-item-row:hover{background:rgba(255,255,255,.12)}
.site-footer :is(input,select,textarea){color:var(--ink)}
@media(forced-colors:active){.site-footer{border-top:1px solid CanvasText}}
@media print{.site-footer{background:none;color:#000}.site-footer *{color:#000}}
/* Logotipo: se reduce al ancho de su columna sin deformarse ni ampliarse por encima de su tamaño real. */
.has-logo .custom-logo-link{display:block;max-width:100%}
.has-logo .custom-logo{display:block;height:auto}
/* Widgets del pie en tarjetas claras sobre el verde: los logos y los datos de contacto conservan su contraste. */
.site-footer .footer-col{flex:1;display:flex;flex-direction:column;justify-content:center;gap:.75rem;min-width:0;padding:1.5rem;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 6px 20px rgba(0,0,0,.08)}
.site-footer .footer-col :is(h2,h3,h4,h5,h6,.widget-title,.widgettitle,.card-title,p,li,address,span,strong,dt,dd,label){color:var(--ink)}
.site-footer .footer-col a{color:#416122}
.site-footer .footer-col a:hover{color:#304919}
.site-footer .footer-col :focus-visible{outline-color:#416122;box-shadow:0 0 0 2px #fff}
.site-footer .footer-col svg{fill:revert}
.site-footer .footer-col .widget{margin:0}
.site-footer .footer-col :is(.container,.card,.card-body){max-width:none;margin:0!important;padding:0;border:0;background:none;box-shadow:none!important}
.site-footer .footer-col .card-title{font-size:1rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.site-footer .footer-col ul{padding-left:0}
.site-footer .footer-col li{overflow-wrap:anywhere}
.site-footer .footer-col figure{margin:0 auto}
.site-footer .footer-col img{display:block;max-width:100%;height:auto;margin-inline:auto}
.site-footer .footer-col-3 img{max-width:180px}
.site-footer .footer-col :is(.wp-block-spacer,figure:empty,.wp-block-group:not(:has(img,p,a,ul)),h2:empty,h3:empty){display:none}
.site-footer .footer-col .social-icons{display:flex;justify-content:center;flex-wrap:wrap;gap:.25rem}
.site-footer .footer-col .social-icons a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;color:#5c636a}
.site-footer .footer-col .social-icons a:hover{color:#416122}
.site-footer .footer-bottom a[target=_blank]{margin-right:auto}
@media(forced-colors:active){.site-footer .footer-col{border:1px solid CanvasText}}

/* Transición entre páginas: fundido breve. Sin view-transition-name en la cabecera: crearía un contexto de apilamiento y los desplegables quedarían bajo el slider. Sin animación si se pide menos movimiento. */
html{scrollbar-gutter:stable}
@media(prefers-reduced-motion:no-preference){
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
}
