/*
Theme Name: El Berrueco Digital
Theme URI: https://elberrueco.com
Author: El Berrueco Digital
Description: Medio digital rural de El Berrueco, Los Hardales y Medina Sidonia. Noticias, historia, cartografía y participación.
Version: 15.9.5
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: el-berrueco
*/

:root{
    --eb-container:1280px;
    --ink:#15372f;
    --green:#235d48;
    --green-dark:#173f32;
    --paper:#f5f3ec;
    --paper-2:#eceee8;
    --muted:#68736c;
    --line:#d8ddd7;
    --gold:#c39b55;
    --white:#fff;
    --navy:#14364d;
    --radius:16px;
    --shadow:0 18px 50px rgba(20,55,47,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.68 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--green);text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
img{display:block;max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
button,.button,input[type=submit]{cursor:pointer}
.wrap{width:min(var(--eb-container),calc(100% - 56px));margin-inline:auto}
.wide-wrap{width:min(1400px,calc(100% - 56px))}
.skip-link{position:absolute;left:10px;top:-200px;z-index:99999;background:#fff;color:#111;padding:12px 16px;border-radius:6px;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.skip-link:focus{top:10px}
:focus-visible{outline:3px solid #bf7f1f;outline-offset:4px}

h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;color:var(--ink);line-height:1.08;letter-spacing:-.025em}
h1{font-size:clamp(3.15rem,6vw,6.7rem);margin:.16em 0 .25em;max-width:9.5ch}
h2{font-size:clamp(2.35rem,4vw,4.4rem);margin:.12em 0 .3em}
h3{font-size:clamp(1.35rem,2vw,1.7rem);margin:.25em 0 .55em}
p{margin:0 0 1em}
.eyebrow{display:inline-block;font-size:12px;line-height:1.2;letter-spacing:.17em;font-weight:800;text-transform:uppercase;color:#6b765f}
.muted{color:var(--muted)}

.topline{background:#102f29;color:#eaf0eb;font-size:12px;letter-spacing:.07em}
.topline-inner{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-header{position:relative;z-index:50;background:rgba(245,243,236,.97);border-bottom:1px solid var(--line);backdrop-filter:saturate(140%) blur(8px)}
.header-inner{min-height:102px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.header-brand{flex:0 0 auto}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink)}
.brand-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:18px 6px 18px 6px;background:var(--green);color:#fff;font:700 18px/1 Georgia,serif;box-shadow:0 9px 26px rgba(35,93,72,.2)}
.brand-copy strong{display:block;font:700 29px/1 Georgia,serif;letter-spacing:-.03em}
.brand-copy small{display:block;margin-top:7px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.custom-logo-link{display:block}
.custom-logo{width:auto;max-width:300px;max-height:72px;object-fit:contain}
.header-navigation{display:flex;align-items:center;gap:22px;min-width:0}
.site-nav{min-width:0}
.nav-list{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}
.nav-list>li{position:relative}
.nav-list a{display:block;color:var(--ink);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.nav-list a:hover,.nav-list .current-menu-item>a,.nav-list .current_page_item>a{color:var(--green)}
.nav-list .sub-menu{position:absolute;left:-18px;top:100%;z-index:80;display:none;min-width:230px;margin:0;padding:10px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:block}
.nav-list .sub-menu a{padding:10px 12px;border-radius:7px;white-space:normal}
.nav-list .sub-menu a:hover{background:var(--paper)}
.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 19px;border-radius:7px;background:var(--green);color:#fff;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap}
.header-cta:hover{background:var(--green-dark);text-decoration:none}
.menu-toggle{display:none;align-items:center;gap:8px;background:transparent;border:1px solid var(--line);border-radius:7px;padding:10px 12px;color:var(--ink);font-weight:750}
.menu-toggle-icon{width:18px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
.menu-toggle-icon:after{content:"";position:absolute;left:0;right:0;top:4px;border-top:2px solid currentColor}

.hero{padding:72px 0 38px;background:radial-gradient(circle at 82% 25%,rgba(203,169,105,.15),transparent 27%),linear-gradient(180deg,#f8f6f0,var(--paper))}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:72px}
.hero-copy{padding:26px 0}
.hero .lead{max-width:670px;font-size:clamp(1.08rem,1.5vw,1.32rem);color:#4f5d55;line-height:1.72}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.button,.wp-block-button__link,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff;text-decoration:none;font-weight:800;font-size:14px;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.button:hover,.wp-block-button__link:hover,input[type=submit]:hover{background:var(--green-dark);border-color:var(--green-dark);text-decoration:none;transform:translateY(-1px)}
.button.secondary{background:transparent;color:var(--ink);border-color:#aeb8b1}
.button.secondary:hover{background:#fff;border-color:var(--green)}
.hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:42px 0 0;padding:20px 0 0;border-top:1px solid var(--line)}
.hero-facts div{padding-right:20px}
.hero-facts div+div{padding-left:20px;border-left:1px solid var(--line)}
.hero-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);font-weight:800}
.hero-facts dd{margin:5px 0 0;font-size:13px;font-weight:700;color:var(--ink)}
.hero-art{position:relative;min-height:560px;border-radius:170px 170px 18px 18px;overflow:hidden;background:#dde4da;box-shadow:var(--shadow)}
.hero-art>img{width:100%;height:100%;min-height:560px;object-fit:cover}
.hero-caption{position:absolute;left:20px;right:20px;bottom:20px;padding:17px 19px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(18,51,43,.88);color:#fff;backdrop-filter:blur(6px)}
.hero-caption strong,.hero-caption span{display:block}
.hero-caption strong{font-family:Georgia,serif;font-size:20px}
.hero-caption span{margin-top:2px;font-size:12px;color:#dce7df}

.eb-home-quicklinks{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px rgba(20,55,47,.055);overflow:hidden}
.eb-home-quicklinks>a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:92px;padding:20px 26px;color:var(--ink);text-decoration:none;border-right:1px solid var(--line)}
.eb-home-quicklinks>a:last-child{border-right:0}
.eb-home-quicklinks>a:hover{background:#fafbf8}
.eb-home-quicklinks strong{display:block;font-size:14px}
.eb-home-quicklinks span{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.eb-home-quicklinks>a>span{font-size:18px;color:var(--green);margin:0}

.section{padding:86px 0}
.section.white{background:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:38px}
.section-head>div{max-width:810px}
.section-head h2{margin-top:9px}
.section-head>p,.section-head>div+p{max-width:420px;color:var(--muted);margin:0 0 6px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{min-width:0;padding:30px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 9px 28px rgba(20,55,47,.035)}
.card .number{display:block;margin-bottom:34px;color:#738170;font-size:11px;letter-spacing:.15em;font-weight:800}
.card p{font-size:15px;color:var(--muted)}
.card h3 a{text-decoration:none;color:inherit}
.card h3 a:hover{color:var(--green)}
.status{display:inline-block;margin-top:6px;padding:6px 10px;border-radius:999px;background:#edf2eb;color:#35563e;font-size:11px;font-weight:700}
.news-image{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:19px}
.news-meta{margin-bottom:12px!important;font-size:11px!important;letter-spacing:.06em;text-transform:uppercase}
.text-link{font-size:13px;font-weight:800;text-decoration:none}
.section-link{margin:25px 0 0;font-size:14px;font-weight:800}

.map-box{overflow:hidden;background:#eff4f5;border:1px solid #d8e0e3;border-radius:18px;padding:0;box-shadow:0 14px 40px rgba(20,55,47,.055)}
.map-box iframe{width:100%;min-height:560px;border:0}
.map-box .wp-block-shortcode{max-width:none;margin:0}
.map-box>.empty{margin:24px}
.empty{padding:48px 28px;text-align:center;border:1px dashed #9faca3;border-radius:12px;background:rgba(255,255,255,.42)}
.empty h3{margin-bottom:12px}
.empty p{max-width:650px;margin:0 auto;color:var(--muted)}

.documents-section{background:#e9eee8}
.documents-panel{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:end;padding:48px 52px;background:#f8faf7;border:1px solid #d7dfd7;border-radius:20px}
.documents-panel>div:last-child{max-width:540px;justify-self:end}

.community{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:center;padding:58px 62px;border-radius:20px;background:var(--ink);color:#fff;box-shadow:0 18px 50px rgba(16,47,41,.15)}
.community h2{color:#fff;margin-top:15px}
.community p{color:#d7e4dc;max-width:700px}
.community .eyebrow{color:#d5bb81}
.community .button{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.community .button:hover{background:#fff;border-color:#fff}

.prose{max-width:900px;margin-inline:auto;overflow-wrap:anywhere}
.prose h1{max-width:14ch;font-size:clamp(2.8rem,5vw,5.3rem)}
.prose h2,.prose h3{margin-top:42px}
.prose p,.prose li{color:#3f4f47}
.prose iframe{max-width:100%}
.prose table{border-collapse:collapse;width:100%;table-layout:auto}
.prose td,.prose th{border:1px solid var(--line);padding:10px 12px;text-align:left}
.prose blockquote{margin:28px 0;padding:18px 24px;border-left:4px solid var(--green);background:#fff}
.prose input:not([type=checkbox]):not([type=radio]),.prose textarea,.prose select{max-width:100%;width:100%;padding:12px;border:1px solid #abb5ae;border-radius:6px;background:#fff}
.page-featured-image{margin:28px 0;border-radius:14px}
.alignwide{max-width:1180px;margin-left:auto;margin-right:auto}
.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.wp-caption-text,figcaption{font-size:13px;color:var(--muted)}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.pagination,.nav-links{margin-top:36px}
.page-numbers{display:inline-block;padding:8px 11px}
.post-navigation{padding-top:30px;margin-top:38px;border-top:1px solid var(--line)}
.post-tags{margin-top:30px}

.full-width-main{padding:52px 0 78px}
.page-heading{margin-bottom:30px}
.page-heading h1{font-size:clamp(2.7rem,5vw,5rem);max-width:18ch}
.full-width-content{width:100%}
.full-width-content>.wp-block-group,.full-width-content>.fl-builder-content{width:100%}
.beaver-full-width-main,.beaver-full-width-entry,.landing-main{width:100%;max-width:none;margin:0;padding:0}
.beaver-full-width-entry>.fl-builder-content{width:100%;max-width:none}
body.eb-landing{background:#fff}

.site-footer{padding:54px 0 26px;border-top:1px solid var(--line);background:#f0efe9}
.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .8fr;gap:45px}
.site-footer h3{font-size:28px;margin-top:0}
.site-footer p,.site-footer a{font-size:14px}
.footer-menu{list-style:none;padding:10px 0 0;margin:0}
.footer-menu a{display:inline-block;margin-bottom:8px;text-decoration:none}
.fineprint{margin-top:34px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}

.search-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:18px}
.search-field{min-width:min(420px,100%);padding:12px;border:1px solid var(--line);border-radius:6px;background:#fff}
.search-submit{background:var(--green);color:#fff;border:0;padding:12px 20px;border-radius:6px}
.comment-list{padding-left:22px}
.comment-body{padding:20px 0;border-bottom:1px solid var(--line)}
.comment-form label{display:block}
.comment-form-cookies-consent label{display:inline}

/* No se oculta ni reemplaza la barra de administración de WordPress. */
body.admin-bar .skip-link:focus{top:42px}

@media(max-width:1120px){
    .header-navigation{gap:14px}.nav-list{gap:15px}.nav-list a{font-size:13px}.header-cta{padding:0 14px}
    .hero-grid{gap:42px}.hero-art{min-height:500px}.hero-art>img{min-height:500px}
}
@media(max-width:940px){
    .header-inner{min-height:86px;flex-wrap:wrap;padding:14px 0}.menu-toggle{display:inline-flex;margin-left:auto}.header-navigation{display:block;width:100%}.js .header-navigation{display:none}.js .header-navigation.is-open{display:block}.site-nav{width:100%}.nav-list{display:block;padding:4px 0 10px}.nav-list a{padding:10px 0;font-size:16px}.nav-list .sub-menu{display:block;position:static;box-shadow:none;border:0;background:transparent;padding:0 0 0 18px}.header-cta{margin:4px 0 10px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding-bottom:0}.hero-art{max-width:720px;width:100%;min-height:440px;border-radius:120px 120px 16px 16px}.hero-art>img{min-height:440px}.cards{grid-template-columns:repeat(2,1fr)}.documents-panel{grid-template-columns:1fr;gap:18px}.documents-panel>div:last-child{justify-self:start}.community{grid-template-columns:1fr;gap:22px}
}
@media(max-width:720px){
    .wrap,.wide-wrap{width:calc(100% - 32px)}.topline-place{display:none}.topline-inner{min-height:32px}.brand-mark{width:48px;height:48px}.brand-copy strong{font-size:25px}.brand-copy small{font-size:9px}.custom-logo{max-height:58px;max-width:240px}
    .hero{padding:38px 0 24px}.hero-grid{gap:28px}h1{font-size:clamp(3rem,15vw,4.7rem)}.hero .lead{font-size:1.05rem}.hero-facts{grid-template-columns:1fr;gap:12px}.hero-facts div,.hero-facts div+div{padding:0;border:0}.hero-art{min-height:360px;border-radius:90px 90px 14px 14px}.hero-art>img{min-height:360px}.hero-caption{left:12px;right:12px;bottom:12px}
    .eb-home-quicklinks{grid-template-columns:1fr}.eb-home-quicklinks>a{min-height:78px;border-right:0;border-bottom:1px solid var(--line);padding:17px 19px}.eb-home-quicklinks>a:last-child{border-bottom:0}
    .section{padding:56px 0}.section-head{display:block;margin-bottom:28px}.section-head>p,.section-head>div+p{margin-top:16px}.cards{grid-template-columns:1fr}.map-box{border-radius:12px}.map-box iframe{min-height:420px}.documents-panel{padding:30px 24px}.community{padding:34px 26px}.footer-grid{grid-template-columns:1fr;gap:24px}.full-width-main{padding-top:36px}
}
@media(max-width:420px){.brand-copy small{display:none}.brand-mark{width:44px;height:44px}.brand-copy strong{font-size:22px}.actions{display:grid}.button{width:100%}.hero-art{min-height:310px}.hero-art>img{min-height:310px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* v1.2.0 - evitar que los estilos del tema limiten los controles del mapa */
body .ebm-v2{clear:both;overflow:visible;max-width:none;}
body .ebm-v2 .ebm-canvas{max-width:none;}
body .ebm-v2 button{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;}

/* El Berrueco Project 2026 — tema 1.5.0. Portada y publicación editorial. */
.eb-map-teaser{position:relative;display:block;min-height:300px;max-height:530px;overflow:hidden;border:1px solid #cfddd3;border-radius:24px;background:#e7ebdf;isolation:isolate;box-shadow:0 18px 45px #183a2b12;text-decoration:none}
.eb-map-teaser>img{width:100%;height:clamp(310px,40vw,530px);object-fit:cover;transition:transform .45s ease}
.eb-map-teaser:hover>img{transform:scale(1.035)}
.eb-map-teaser:focus-visible{outline:3px solid #ba873c;outline-offset:4px}
.eb-map-teaser-cover{position:absolute;inset:auto 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:26px 30px;background:linear-gradient(0deg,rgba(14,48,38,.96),rgba(14,48,38,.72) 75%,transparent);color:white}
.eb-map-teaser-cover strong{display:block;flex-basis:100%;font:700 clamp(24px,3.2vw,38px)/1.14 Georgia,serif;color:#fff}
.eb-map-teaser-tag{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:#e7d7ab;font-weight:800}
.eb-map-teaser-button{padding:9px 13px;border-radius:8px;background:#f4f4ee;color:#1b4b3c;font-size:13px;font-weight:800}
.eb-journal-hero{padding:75px 0 60px;background:radial-gradient(circle at 83% 24%,rgba(186,154,92,.13),transparent 30%),#edf1e9;border-bottom:1px solid var(--line)}
.eb-journal-top{display:flex;align-items:end;justify-content:space-between;gap:40px}
.eb-journal-hero h1{max-width:none;margin:12px 0 22px;font-size:clamp(2.8rem,5.6vw,5.2rem)}
.eb-journal-hero p{max-width:620px;font-size:17px;line-height:1.65;color:#547065;margin:0}
.eb-journal-description{margin-top:15px;max-width:650px}
.eb-journal-search{width:min(340px,100%);flex:0 0 auto}
.eb-journal-search .search-form{display:flex;flex-wrap:nowrap;justify-content:flex-end;margin:0;gap:5px}
.eb-journal-search .search-field{min-width:0;flex:1;padding:12px;border-radius:9px}
.eb-journal-search .search-submit{border-radius:9px;padding:12px 14px}
.eb-journal-body{padding-top:35px;padding-bottom:90px}
.eb-category-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:32px}
.eb-category-filters a{display:inline-flex;align-items:center;min-height:37px;padding:7px 15px;border:1px solid #d6e2d9;background:#fff;border-radius:100px;text-decoration:none;font-size:12px;font-weight:700;color:#315547}
.eb-category-filters a:hover,.eb-category-filters a[aria-current=page]{background:var(--green);border-color:var(--green);color:#fff}
.eb-journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.eb-journal-card{padding:0;overflow:hidden;border-radius:16px;transition:box-shadow .2s,transform .2s;min-width:0}
.eb-journal-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px #14372f17}
.eb-card-visual{display:block;overflow:hidden;background:#e1e8dc;aspect-ratio:16/10;text-decoration:none}
.eb-card-visual .news-image{height:100%;width:100%;object-fit:cover;border-radius:0;margin:0;transition:transform .4s}
.eb-journal-card:hover .news-image{transform:scale(1.04)}
.eb-card-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#315748;font:700 26px Georgia,serif;background:linear-gradient(135deg,#dce9de,#f4eedf)}
.eb-card-body{padding:24px 24px 28px}
.eb-card-body h3{line-height:1.2;margin:10px 0}
.eb-card-body .news-meta{margin:0!important;color:#60776b}
.eb-card-body .text-link{display:inline-block;margin-top:12px}
.eb-feature-article{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;min-height:360px;background:#164b3a;color:#fff;border-radius:18px;overflow:hidden;box-shadow:0 16px 38px #14372f15}
.eb-feature-image{display:block;background:linear-gradient(140deg,#3e7054,#a5b9a6);min-height:320px}
.eb-feature-image img{width:100%;height:100%;object-fit:cover}
.eb-feature-image>span{display:grid;place-items:center;height:100%;min-height:320px;color:#e2ebe0;font:700 38px Georgia,serif}
.eb-feature-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(26px,4vw,58px)}
.eb-feature-copy .eyebrow{color:#d6c28b}
.eb-feature-copy h2{font-size:clamp(30px,2.2vw,30px);max-width:100%;line-height:1.13;margin:16px 0}
.eb-feature-copy h2,.eb-feature-copy h2 a{color:#fff;text-decoration:none}
.eb-feature-copy p{color:#e2ebe5;font-size:15px;line-height:1.72}
.eb-read-more{display:inline-flex;margin-top:20px;color:#173e31;background:#f8f7ee;padding:10px 17px;border-radius:8px;font-size:13px;font-weight:750;text-decoration:none}
.eb-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.eb-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:8px 12px;background:#fff;border:1px solid #d3dfd7;border-radius:8px;text-decoration:none}
.eb-pagination .page-numbers.current,.eb-pagination .page-numbers:hover{background:var(--green);color:#fff}
.eb-article-head{background:#edf1e9;padding:68px 0 60px;border-bottom:1px solid var(--line)}
.eb-article-head-inner{max-width:960px}
.eb-article-head h1{font-size:clamp(3rem,5.8vw,5.4rem);max-width:17ch}
.eb-article-head .eyebrow{margin-top:30px}
.eb-article-deck{font-size:20px;color:#526c5d;max-width:770px}
.eb-back-link{font-size:13px;font-weight:750;text-decoration:none}
.eb-article-body{max-width:1050px;padding-top:44px;padding-bottom:90px}
.eb-article-cover{margin:0 0 50px;max-height:590px;overflow:hidden;border-radius:18px;background:#dee7df}
.eb-article-cover img{width:100%;max-height:590px;object-fit:contain}
.eb-article-prose{max-width:760px;margin-inline:auto;font-size:17px;line-height:1.9}
.eb-article-prose p{margin-bottom:1.25em}
.eb-article-prose h2{font-size:clamp(26px,3.7vw,39px);margin-top:55px}
.eb-single-nav{max-width:760px;margin:50px auto 0}
.eb-article .comments-area{display:none!important}
@media(max-width:960px){.eb-journal-top{display:block}.eb-journal-search{width:100%;margin-top:27px}.eb-journal-search .search-form{justify-content:flex-start}.eb-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-feature-article{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.eb-map-teaser{min-height:240px;border-radius:14px}.eb-map-teaser>img{height:310px}.eb-map-teaser-cover{padding:19px 20px}.eb-journal-hero{padding:45px 0}.eb-journal-hero h1{font-size:clamp(2.7rem,12vw,4rem)}.eb-journal-grid{grid-template-columns:1fr;gap:17px}.eb-feature-article{grid-template-columns:1fr}.eb-feature-image,.eb-feature-image>span{min-height:220px;max-height:250px}.eb-feature-copy{padding:27px}
.eb-feature-copy h2{font-size:31px}.eb-card-body{padding:20px}.eb-article-head{padding:44px 0}.eb-article-head h1{font-size:clamp(2.9rem,11vw,4.2rem)}.eb-article-body{padding-top:24px}.eb-article-cover{margin-bottom:30px}.eb-article-prose{font-size:16px}.eb-journal-body{padding-top:23px}}
@media(prefers-reduced-motion:reduce){.eb-map-teaser>img,.eb-journal-card,.eb-card-visual .news-image{transition:none!important;transform:none!important}}

/* Controles de diseño editables desde Apariencia. */
h1,h2,h3,h4{font-family:var(--eb-heading-font,Georgia,"Times New Roman",serif)}
.section{padding-block:calc(76px * var(--eb-section-density,1))}
.hero{padding-top:calc(72px * var(--eb-section-density,1))}
.card,.eb-journal-card,.eb-feature-article,.eb-map-teaser{border-radius:var(--eb-radius,16px)}
.eb-sticky-header .site-header{position:sticky;top:0}
body.admin-bar.eb-sticky-header .site-header{top:32px}
.eb-utility-nav{margin-left:auto}
.eb-utility-menu{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0;padding:0}
.eb-utility-menu a{color:#eaf0eb;text-decoration:none;font-size:12px;font-weight:650}
.eb-utility-menu a:hover{text-decoration:underline}
.nav-list .menu-item-has-children>a::after{content:'⌄';margin-left:5px;font-size:10px;opacity:.55}
.eb-menu-admin-hint{margin:0;font-size:12px}.eb-menu-admin-hint a{color:var(--green)}
@media(max-width:940px){.header-navigation[data-without-menu]{display:flex;align-items:center;justify-content:flex-end;width:auto}.header-navigation[data-without-menu] .header-cta{margin:0}}
@media(max-width:782px){body.admin-bar.eb-sticky-header .site-header{top:46px}}
@media(max-width:720px){.section{padding-block:calc(56px * var(--eb-section-density,1))}.hero{padding-top:calc(38px * var(--eb-section-density,1))}.eb-utility-menu{gap:8px}}


/* El Berrueco 1.6.0 — compositor de portada y archivo */
.eb-hero-image-left .hero-grid .hero-art{grid-column:1;grid-row:1}
.eb-hero-image-left .hero-grid .hero-copy{grid-column:2;grid-row:1}
.hero .hero-copy{max-width:var(--eb-hero-text-width,680px)}
.eb-hero-scale-compact .hero h1{font-size:clamp(3.1rem,5vw,6rem)}
.eb-hero-scale-large .hero h1{font-size:clamp(4.4rem,7.5vw,8.5rem)}
.eb-blog-cols-2 .eb-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.eb-blog-card-compact .eb-card-body{padding:17px 18px 20px}
.eb-blog-card-compact .eb-journal-card .news-image{aspect-ratio:16/9}
.eb-journal-description{overflow-wrap:anywhere}
.eb-journal-top>div{min-width:0}
.eb-journal-grid>article{min-width:0}
.header-navigation:focus-within{z-index:12}
.menu-toggle:focus-visible,.site-nav a:focus-visible{outline:3px solid #36765c;outline-offset:3px}
@media(max-width:940px){
 .eb-hero-image-left .hero-grid .hero-art,
 .eb-hero-image-left .hero-grid .hero-copy{grid-column:auto;grid-row:auto}
 .eb-hero-image-left .hero-grid .hero-copy{order:1}
 .eb-hero-image-left .hero-grid .hero-art{order:2}
 .eb-hero-scale-large .hero h1{font-size:clamp(3rem,11vw,5.5rem)}
 .eb-blog-cols-2 .eb-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .eb-blog-cols-2 .eb-journal-grid{grid-template-columns:1fr}
 .eb-hero-scale-compact .hero h1,.eb-hero-scale-large .hero h1{font-size:clamp(2.7rem,12vw,4.6rem)}
 .hero .hero-copy{max-width:100%}
}


/* El Berrueco Digital 1.7.3: identidad editorial y lectura responsive */
:root{--eb-news-border:#d8e2da;--eb-news-forest:#12372e}
html,body{max-width:100%}
.brand-copy strong{font-size:clamp(19px,2.1vw,27px)}
.brand-copy small{letter-spacing:.075em;font-size:10px}
.hero{padding:clamp(28px,4vw,54px) 0 28px}
.hero-grid{gap:clamp(28px,4.6vw,68px)}
.hero-copy{padding:12px 0}
.hero h1,.eb-hero-scale-compact .hero h1,.eb-hero-scale-large .hero h1{font-size:clamp(2.8rem,5.7vw,5.65rem);max-width:12ch;line-height:1.01;letter-spacing:-.047em;overflow-wrap:normal}
.hero-art,.hero-art>img{min-height:clamp(340px,38vw,500px)}
.hero-art{border-radius:110px 110px 16px 16px}
.hero-facts{margin-top:28px;padding-top:15px}
.section{padding-block:calc(64px * var(--eb-section-density,1))}
.section-head h2{font-size:clamp(2.05rem,3.7vw,3.55rem);line-height:1.13}
.section-head{margin-bottom:27px}
.eb-home-quicklinks{margin-top:14px}
.eb-home-quicklinks>a{min-height:76px;padding:15px 19px}
.news-cards .card,.eb-journal-card{display:flex;flex-direction:column}
.eb-card-visual{display:block;overflow:hidden;aspect-ratio:16 / 10;background:#e8ede7}
.eb-card-visual .news-image,.eb-card-visual img{width:100%;height:100%;aspect-ratio:auto!important;margin:0;border-radius:0;object-fit:cover}
.eb-card-body{display:flex;flex-direction:column;flex:1;gap:0}
.eb-card-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:13px;border-top:1px solid var(--eb-news-border)}
.eb-corporate-author{color:#61766b;font-size:11px;font-weight:700;letter-spacing:.02em}
.eb-card-foot .text-link{margin-top:0}
.news-meta,.eb-article-meta,.eb-feature-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:12px;letter-spacing:0;line-height:1.45;text-transform:none}
.news-meta{margin:0 0 9px!important}
.news-meta time,.eb-article-meta time,.eb-feature-meta time{font-variant-numeric:tabular-nums}
.eb-meta-separator{opacity:.5;margin-inline:2px}
.eb-news-category{color:var(--green);font-weight:750;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.eb-news-category:hover{text-decoration-color:currentColor}
.eb-journal-hero{padding:clamp(38px,6vw,70px) 0 clamp(32px,4.5vw,48px)}
.eb-journal-hero h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.05;margin:12px 0 16px}
.eb-journal-body{padding-top:30px}
.eb-feature-meta{color:#dce8df;margin-bottom:12px}
.eb-feature-meta .eb-news-category{color:#fff;text-decoration-color:rgba(255,255,255,.5)}
.eb-feature-label,.eb-editorial-label{display:inline-block;font-size:10px;font-weight:850;letter-spacing:.10em;border-radius:5px;padding:4px 7px;background:#eaf3e9;color:#19503c}
.eb-feature-meta .eb-feature-label{color:#103729;background:#f3db9d}
.eb-feature-author{font-size:12px;color:#cce0d1;font-weight:650;margin-top:11px}
.eb-article-head{padding:clamp(34px,5vw,58px) 0 clamp(30px,4.6vw,52px)}
.eb-article-head h1{font-size:clamp(2.35rem,5.6vw,4.8rem);line-height:1.09;max-width:21ch;overflow-wrap:break-word;hyphens:auto;margin:14px 0 15px}
.eb-article-meta{gap:7px;margin:25px 0 0;color:#557365}
.eb-article-deck{font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.65;margin:0 0 18px}
.eb-byline{display:flex;align-items:center;gap:10px;font-size:13px;color:#315345;margin-top:20px}
.eb-byline-symbol{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:9px;background:var(--green);color:#fff;font-family:Georgia,serif;font-weight:700}
.eb-byline small{display:block;font-size:11px;color:#728076}
.eb-article-cover{margin-bottom:30px;border-radius:14px}
.eb-article-cover img{object-fit:cover}
.eb-article-cover figcaption{text-align:left;padding:8px 2px;font-size:12px;color:#69786f}
.eb-article-body{padding-bottom:65px}
.eb-article-prose{font-size:clamp(16px,1.4vw,18px);line-height:1.8;overflow-wrap:anywhere}
.eb-article-prose img{height:auto;max-width:100%}
.eb-article-prose iframe{max-width:100%}
.eb-article-prose h2{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.23;margin-top:42px}
.eb-article-after{max-width:760px;margin:40px auto 0;border-top:1px solid var(--line);padding-top:22px}
.eb-article-tags>span{display:block;color:#65776b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;margin-bottom:10px}
.eb-article-tags>div{display:flex;gap:8px;flex-wrap:wrap}
.eb-tag-chip{display:inline-block;padding:6px 11px;background:#e9efea;border:1px solid #dce5de;border-radius:100px;font-size:12px;color:#365d4a;cursor:default}
.eb-editorial-footer{display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;margin-top:25px;font-size:12px;color:#627469}
.eb-editorial-footer a{font-weight:800}
.eb-single-nav{margin:26px auto 0}
@media(max-width:940px){
 .site-header .header-inner{min-height:74px;padding-block:11px}
 .hero-grid{gap:26px}
 .hero h1,.eb-hero-scale-compact .hero h1,.eb-hero-scale-large .hero h1{font-size:clamp(2.8rem,6.8vw,4.8rem);max-width:15ch}
 .hero-art,.hero-art>img{min-height:350px}
 .section{padding-block:calc(52px * var(--eb-section-density,1))}
}
@media(max-width:720px){
 .wrap,.wide-wrap{width:calc(100% - 36px)}
 .header-inner{gap:12px}
 .brand-mark{width:43px;height:43px;border-radius:12px 5px 12px 5px}
 .brand-copy strong{font-size:clamp(18px,5.5vw,22px)}
 .brand-copy small{display:block;font-size:8px;letter-spacing:.02em;margin-top:4px}
 .menu-toggle{padding:8px 10px;min-height:38px}
 .hero{padding:22px 0 20px}
 .hero-grid{gap:19px}
 .hero h1,.eb-hero-scale-compact .hero h1,.eb-hero-scale-large .hero h1{font-size:clamp(2.35rem,9.4vw,3.65rem);max-width:12ch;line-height:1.02;margin:12px 0}
 .hero .lead{font-size:15px;line-height:1.65;margin-bottom:0}
 .actions{margin-top:18px;gap:8px}
 .hero .actions .button{min-height:42px;padding:0 14px;font-size:12px}
 .hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:22px;padding-top:13px}
 .hero-facts div,.hero-facts div+div{padding:0 7px 0 0;border:0}
 .hero-facts dt{font-size:9px;letter-spacing:.06em}
 .hero-facts dd{font-size:11px;line-height:1.35}
 .hero-art{width:100%;min-height:270px;border-radius:65px 65px 12px 12px}
 .hero-art>img{min-height:270px;height:270px}
 .hero-caption{left:9px;right:9px;bottom:9px;padding:10px 12px}
 .hero-caption strong{font-size:15px}
 .eb-home-quicklinks>a{min-height:66px}
 .section{padding-block:calc(43px * var(--eb-section-density,1))}
 .section-head h2{font-size:clamp(1.8rem,7.3vw,2.55rem);line-height:1.12}
 .section-head>p{font-size:14px;line-height:1.6}
 .eb-journal-hero{padding:34px 0 27px}
 .eb-journal-hero h1{font-size:clamp(2.35rem,9vw,3.15rem)}
 .eb-journal-hero p{font-size:15px}
 .eb-journal-search{margin-top:18px}
 .eb-category-filters{gap:7px;margin-bottom:21px}
 .eb-category-filters a{font-size:11px;min-height:34px;padding:6px 11px}
 .eb-journal-card .eb-card-body{padding:18px}
 .eb-feature-copy h2 {
	font-size: clamp(30px, 2.2vw, 30px);
	}
 .eb-feature-copy{padding:21px}
 .eb-article-head{padding:32px 0}
 .eb-article-head h1{font-size:clamp(2.05rem,8.4vw,3.2rem);max-width:none;line-height:1.12}
 .eb-article-meta{margin-top:18px}
 .eb-article-body{padding-top:22px}
 .eb-article-cover{margin-bottom:20px}
 .eb-article-prose{font-size:16px;line-height:1.76}
 .eb-article-prose h2{margin-top:32px}
}
@media(max-width:420px){
 .header-inner{min-height:65px}
 .hero h1,.eb-hero-scale-compact .hero h1,.eb-hero-scale-large .hero h1{font-size:clamp(2.25rem,9vw,2.85rem)}
 .hero .actions{display:flex;flex-wrap:wrap}
 .hero .actions .button{width:auto;flex:0 1 auto}
 .hero-art,.hero-art>img{min-height:248px}
 .hero-art>img{height:248px}
 .brand-copy small{max-width:155px}
 .eb-article-meta,.eb-feature-meta,.news-meta{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.eb-journal-card:hover{transform:none}}


/* 1.7.4 — Lectura editorial accesible, enlaces perceptibles y formatos periodísticos.
   Mantener los enlaces de botones, menú, imágenes y tarjetas con sus estilos propios. */
.eb-article-prose :is(p,li,blockquote,figcaption,dd,td,th) a:not(.button):not(.wp-block-button__link),
.prose:not(.eb-article-prose) :is(p,li,blockquote,figcaption,dd,td,th) a:not(.button):not(.wp-block-button__link){
 color:#15533f;
 font-weight:680;
 text-decoration-line:underline!important;
 text-decoration-style:solid!important;
 text-decoration-color:#ad6d25!important;
 text-decoration-thickness:2px!important;
 text-underline-offset:.18em;
 text-decoration-skip-ink:auto;
 transition:background-color .12s ease,color .12s ease,text-decoration-color .12s ease;
 border-radius:2px;
}
.eb-article-prose :is(p,li,blockquote,figcaption,dd,td,th) a:not(.button):not(.wp-block-button__link):hover,
.prose:not(.eb-article-prose) :is(p,li,blockquote,figcaption,dd,td,th) a:not(.button):not(.wp-block-button__link):hover{
 color:#09392c;
 background:#f6e8c9;
 text-decoration-color:#09392c!important;
}
.eb-article-prose a:focus-visible,.prose a:focus-visible{outline:3px solid #b27021;outline-offset:3px;border-radius:3px;background:#fff1d8}
.eb-article-prose :is(p,li,blockquote,figcaption,dd,td,th) a img,
.prose :is(p,li,blockquote,figcaption,dd,td,th) a img{border:0}
.eb-article-prose :is(h2,h3,h4){scroll-margin-top:90px;overflow-wrap:break-word}
.eb-article-prose h2{padding-top:16px;border-top:1px solid #e1e6dc;letter-spacing:-.025em}
.eb-article-prose h3{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.25;margin-top:30px}
.eb-article-prose p{max-width:120ch;hyphens:auto}
.eb-article-prose ul,.eb-article-prose ol{padding-left:1.45em;margin-block:1.2em 1.5em}
.eb-article-prose li{padding-left:.25em;margin-bottom:.55em}
.eb-article-prose li::marker{color:var(--green);font-weight:800}
.eb-article-prose blockquote,.eb-article-prose .wp-block-quote{
 margin:34px 0;padding:23px 26px;border:0;border-left:5px solid var(--gold);
 background:#f0f4ed;border-radius:0 12px 12px 0;color:#294c3e;
}
.eb-article-prose blockquote p{font:italic 1.12em/1.65 Georgia,serif;color:#254b3b;margin:0 0 .6em}
.eb-article-prose blockquote cite{font:normal 13px/1.5 system-ui,sans-serif;color:#64756a}
.eb-article-prose figure{max-width:100%;margin:32px auto}
.eb-article-prose figure img{width:auto;max-width:100%;border-radius:10px}
.eb-article-prose figure figcaption{font-size:12px;line-height:1.6;max-width:75ch;padding:9px 0 0}
.eb-article-prose .wp-block-image img{max-height:none}
.eb-article-prose table{min-width:0;max-width:100%;font-size:.9em;line-height:1.45}
.eb-article-prose table th{background:#e8efe8;font-weight:800}
.eb-article-prose table tr:nth-child(even) td{background:#f8faf6}
.eb-article-prose hr,.eb-article-prose .wp-block-separator{border:0;border-top:1px solid #d8ded6;margin-block:40px}
.eb-article-prose :is(pre,code){overflow-wrap:anywhere}
.eb-article-prose pre{white-space:pre-wrap;overflow-x:auto;padding:18px;background:#edf0ea;border-radius:10px}
.eb-reading-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#587264;font-size:12px;margin-top:12px}
.eb-reading-meta strong{font-weight:750;color:#305846}
.eb-edited-note{margin-top:10px;font-size:12px;color:#526d5c}
.eb-article-prose .wp-block-embed,.eb-article-prose .wp-block-video{max-width:100%}
/* Responsive: lectura cómoda sin títulos desmesurados ni elementos fuera de pantalla. */
@media(max-width:720px){
 .eb-article-head h1{font-size:clamp(2rem,7.7vw,3rem);hyphens:auto;line-height:1.13}
 .eb-article-deck{font-size:1rem}
 .eb-article-prose{font-size:16px;line-height:1.79}
 .eb-article-prose h2{font-size:clamp(1.5rem,6.4vw,1.9rem);margin-top:35px}
 .eb-article-prose blockquote,.eb-article-prose .wp-block-quote{padding:18px 19px;margin:27px 0}
 .eb-article-prose figure{margin:25px 0}
 .eb-article-body{padding-bottom:42px}
 .eb-journal-grid .eb-journal-card,.eb-journal-grid .eb-feature-article{min-width:0}
}
@media(max-width:380px){.eb-article-head h1{font-size:clamp(1.85rem,7.4vw,2.4rem)}.eb-article-meta{gap:5px}.eb-article-cover{border-radius:8px}}
@media(prefers-reduced-motion:reduce){.eb-article-prose a,.prose a{transition:none!important}}

/* 1.8.4: puente continuo entre Comunidad y submenú; sin zona vacía que cierre :hover */
@media(min-width:941px){.nav-list>li.menu-item-has-children{padding-block:13px;margin-block:-13px}.nav-list>li.menu-item-has-children>.sub-menu{top:100%;margin-top:0}.nav-list .sub-menu{z-index:150}}

/* El Berrueco theme 1.8.5 · home map preview, navigation and accessibility. */
:root{--muted:#58675c}
.eyebrow{color:#55644c}
.site-header .nav-list a:focus-visible,.site-header .menu-toggle:focus-visible,.button:focus-visible,.eb-map-teaser:focus-visible{outline:3px solid #b87322;outline-offset:3px}
.nav-list .sub-menu a:focus-visible{background:#edf4ed;color:#133a2c}
@media(min-width:941px){.nav-list>li.menu-item-has-children>.sub-menu{top:100%;margin-top:0}.nav-list>li.menu-item-has-children{padding-block:14px;margin-block:-14px}}
.home .hero-art{border-radius:28px 28px 20px 20px;border:1px solid #cfdfd1;box-shadow:0 15px 40px rgba(18,55,42,.12);min-width:0}
.home .hero-art>img{width:100%;display:block}
.home .hero-caption{background:rgba(16,57,43,.92);border-color:rgba(255,255,255,.30);border-radius:12px;backdrop-filter:blur(8px)}
.home .hero-caption strong{font-size:clamp(17px,1.6vw,21px)}
.home .hero-facts{margin-top:28px}
.home .hero-grid{gap:clamp(24px,4vw,56px)}
.home .eb-map-teaser{border-radius:20px;border-color:#c9dace;box-shadow:0 14px 38px rgba(17,49,39,.08)}
.home .eb-map-teaser>img{height:clamp(275px,33vw,440px)}
.home .eb-map-teaser-cover{padding:clamp(16px,3vw,28px);background:linear-gradient(0deg,rgba(14,48,38,.96),rgba(14,48,38,.54) 75%,transparent)}
.home .eb-map-teaser-button{min-height:39px;display:inline-flex;align-items:center;border-radius:7px}
@media(hover:hover){.home .eb-map-teaser:hover>img{transform:scale(1.018)}}
@media(max-width:720px){.home .hero-art{border-radius:18px}.home .hero-caption{left:10px;right:10px;bottom:10px}.home .eb-map-teaser{border-radius:14px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.home .eb-map-teaser>img,.home .hero-art>img{transition:none!important;transform:none!important}}

/* 2.0.0 · Ajustes finos de la portada original sin romper Beaver Builder. */
.home .hero-art{border-radius:22px;border:1px solid #d5e0d6;box-shadow:0 12px 29px rgba(18,55,42,.09)}
.home .hero-art>img{object-position:center center}
.home .hero-caption{background:#173d31f2;border:1px solid rgba(255,255,255,.24);border-radius:11px;padding:15px 19px}
.home .hero-caption strong,.home .hero-caption small{color:#fff!important}
.home .hero-grid{align-items:center}
.home .eb-map-teaser{border-radius:17px;box-shadow:0 11px 27px rgba(17,49,39,.07);border:1px solid #cddccd}
.home .eb-map-teaser-cover{padding:19px 25px;background:linear-gradient(0deg,rgba(14,48,38,.96),rgba(14,48,38,.75) 63%,transparent)}
.home .eb-map-teaser-cover strong{color:#fff!important}
.home .eb-map-teaser-button{background:#fff;color:#164331}
.home .eb-map-teaser-button:hover{background:#e8f2e8;color:#133e30}
.home .hero-art:focus-within,.home .eb-map-teaser:focus-visible{outline:3px solid #b87926;outline-offset:3px}
.home .hero-facts dd,.home .hero .lead{color:#3a5c4b}
@media(max-width:720px){.home .hero-art{border-radius:15px}.home .hero-caption{padding:12px 14px}.home .eb-map-teaser-cover{padding:16px 18px}.home .eb-map-teaser-cover strong{font-size:clamp(22px,7vw,29px)}}
@media(prefers-reduced-motion:reduce){.home .eb-map-teaser>img{transition:none!important;transform:none!important}}

/* Enlaces útiles: navegación por teclado y objetivos táctiles. */
.eb-footer-resources{display:flex;flex-wrap:wrap;gap:4px 22px;border-top:1px solid #d3ded1;padding:18px 0;margin-top:25px}
.eb-footer-resources a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#23523f;text-underline-offset:4px}
.site-nav a:focus-visible,.footer-menu a:focus-visible,.eb-footer-resources a:focus-visible{outline:3px solid #a4742d;outline-offset:4px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.site-header *{transition:none!important}}

/* 6.0.0 — escritorio: tabla HTML normal; scroll SOLO en su contenedor si no cabe.
 * Nunca display:block ni width:max-content en el elemento <table> de escritorio.
 * Alcance limitado al contenido editorial; NO modifica #wpadminbar ni el mapa. */
.eb-responsive-table,.entry-content .wp-block-table{
  display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;
}
.eb-responsive-table table,.entry-content .wp-block-table table{
  display:table;width:100%;min-width:0;max-width:100%;
  table-layout:auto;border-collapse:collapse;
}
.eb-responsive-table th,.eb-responsive-table td,
.entry-content .wp-block-table th,.entry-content .wp-block-table td{
  min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;
  vertical-align:top;hyphens:auto;
}
.eb-responsive-table:focus-visible,.entry-content .wp-block-table:focus-visible{
  outline:3px solid #a66c34;outline-offset:3px;
}
/* Tablet: solo tablas de cuatro o más columnas necesitan ancho mínimo extra. */
@media (max-width:960px){
  .eb-responsive-table[data-eb-table-cols="4"] table,
  .entry-content .wp-block-table[data-eb-table-cols="4"] table{min-width:760px;max-width:none;}
}
/* Móvil: conservar legibles las celdas de tablas multicolumna y permitir swipe. */
@media (max-width:700px){
  .eb-responsive-table[data-eb-wide="1"] table,
  .entry-content .wp-block-table[data-eb-wide="1"] table{min-width:620px;max-width:none;}
  .eb-responsive-table th,.eb-responsive-table td,
  .entry-content .wp-block-table th,.entry-content .wp-block-table td{
    padding:9px 11px;font-size:14px;hyphens:none;overflow-wrap:break-word;
  }
  .eb-responsive-table,.entry-content .wp-block-table{scrollbar-width:thin;}
}

/* Chevron del menú principal alineado con el texto. */
.site-header .nav-list .menu-item-has-children > a::after{content:""!important;display:inline-block!important;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);vertical-align:middle;margin-left:8px;opacity:.75;font-size:0;line-height:0}

/* Foco visible para tablas anchas, solo en contenido editorial. */
.entry-content .eb-responsive-table:focus-visible,
.eb-article-prose .eb-responsive-table:focus-visible{outline:2px solid #a66c34;outline-offset:3px}

/* 6.2.0: accesibilidad sin afectar la barra nativa de WordPress. */
.eb-accessibility-info{max-width:880px;margin:1.5rem auto;padding:clamp(16px,3vw,32px);background:#fff;border:1px solid #d4e0dc;border-radius:12px;color:#193a30;line-height:1.7}
.eb-accessibility-info h2,.eb-accessibility-info h3{color:#173c31;line-height:1.25}
.eb-accessibility-info a{text-decoration:underline;text-underline-offset:.15em}
.eb-accessibility-info a:focus-visible,.site-footer a:focus-visible{outline:3px solid #a66c34;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.site-header *, .site-footer *, .eb-accessibility-info *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Directorio textual cuando aparece en una página sin shortcode de mapa. */
.eb-text-directory{max-width:900px;margin:1rem auto 2rem;padding:clamp(16px,3vw,30px);background:#fff;color:#18392e;border:1px solid #d6e3df;border-radius:12px;line-height:1.65}
.eb-text-directory li{padding:7px 2px;border-bottom:1px solid #e8eeeb;overflow-wrap:anywhere}
.eb-text-directory a{text-decoration:underline;text-underline-offset:.15em}
.eb-text-directory a:focus-visible{outline:3px solid #a66c34;outline-offset:3px}

/* 8.1 · Full-width layouts keep an aligned, comfortable reading column for legal documents. */
.full-width-main .page-heading{margin-bottom:30px}
.full-width-content > .ebd-legal,
.full-width-content > .ebd-legal-addendum,
.full-width-content > .ebd-legal-extra{width:min(1080px,calc(100% - 48px));max-width:1080px;margin-inline:auto}
.full-width-content .ebd-legal{overflow-wrap:anywhere}
.full-width-content .ebd-legal-addendum{padding-top:12px;border-top:1px solid var(--line);margin-top:40px}
.full-width-content .ebdc-legal-note{width:100%;max-width:100%;font-size:inherit;line-height:1.75}
.full-width-content .ebd-legal :is(table,.wp-block-table){max-width:100%}
.full-width-content .ebd-legal .ebd-table-scroll{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.full-width-content .ebd-legal :is(p,li,td,th){overflow-wrap:anywhere}
@media(max-width:700px){.full-width-main .page-heading{margin-bottom:18px}.full-width-content > .ebd-legal,.full-width-content > .ebd-legal-addendum,.full-width-content > .ebd-legal-extra{width:calc(100% - 32px)}.full-width-content .ebd-legal :is(td,th){padding:10px;font-size:13px}}
