/* El Berrueco Digital 1.8.0. Diseño editorial autónomo; no modifica el mapa. */
#actualidad{scroll-margin-top:5rem}
#actualidad .section-head{margin-bottom:25px}
#actualidad .section-head h2{font-size:clamp(2rem,4.3vw,3.8rem);max-width:17ch;line-height:1.11}
.eb-home-news-intro{background:#143e33;color:#f7f8f2;display:flex;align-items:center;gap:15px 26px;padding:14px 21px;margin-bottom:16px;border-radius:var(--eb-radius,16px);flex-wrap:wrap}
.eb-home-news-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#efcd95;font-weight:800;flex:none}
.eb-home-news-intro a{color:#fff;text-decoration:underline;text-decoration-color:#eac590;text-underline-offset:4px;max-width:100%;font-weight:650;line-height:1.4}
.eb-home-news-intro a:hover,.eb-home-news-intro a:focus-visible{color:#f7d1a4}
.eb-home-category-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;overflow-wrap:anywhere}
.eb-home-category-nav a{font-size:12px;font-weight:700;border:1px solid #bdcec4;color:#174637;padding:9px 13px;border-radius:30px;text-decoration:none;background:#fff}
.eb-home-category-nav a:hover,.eb-home-category-nav a:focus-visible{background:#194f3d;color:#fff;text-decoration:none;outline-offset:3px}
.eb-home-news-feature{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.eb-home-news-feature>article{min-width:0}
.eb-home-news-feature>.eb-home-lead-story{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;background:#fffdf7;border:1px solid #d7e2d8;overflow:hidden}
.eb-home-lead-story .eb-card-visual{height:100%;min-height:290px;aspect-ratio:auto}
.eb-home-lead-story .eb-card-body{display:flex;flex-direction:column;justify-content:center;padding:clamp(18px,2.6vw,32px)}
.eb-home-lead-story h3{font-size:clamp(23px,2.4vw,34px);line-height:1.16}
.eb-home-lead-story .eb-card-foot{margin-top:auto;padding-top:10px}
.eb-home-news-feature .eb-journal-card .eb-card-visual img{width:100%;height:100%;object-fit:cover}
.eb-home-news-feature .eb-card-placeholder{font-size:clamp(17px,2vw,27px)}
.eb-archive-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px 28px;padding:18px 22px;border:1px solid #d9e3da;background:#f5f7f2;border-radius:14px;margin:0 0 28px;flex-wrap:wrap}
.eb-archive-toolbar>div{display:flex;flex-direction:column;gap:2px}
.eb-archive-toolbar strong{font-size:17px;color:#183e32}
.eb-archive-toolbar>div>span{font-size:12px;color:#577064}
.eb-archive-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.eb-archive-form label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:#295747}
.eb-archive-form select{font:inherit;min-height:42px;border:1px solid #bacbbf;background:#fff;border-radius:8px;padding:8px 29px 8px 10px;color:#173a30;min-width:110px}
.eb-archive-form button{min-height:42px;padding:8px 16px;border-radius:8px;border:1px solid #164535;background:#164535;color:#fff;font-weight:800;cursor:pointer}
.eb-archive-form button:hover,.eb-archive-form button:focus-visible{background:#0f3128}
.eb-archive-clear{font-size:12px;font-weight:700;min-height:40px;padding:11px 5px;color:#275444;text-decoration:underline;text-underline-offset:3px}
.eb-archive-toolbar :focus-visible,.eb-related-news :focus-visible{outline:3px solid #a76b2d;outline-offset:3px}
.eb-article-sources{max-width:760px;margin:36px auto;border:1px solid #d7e3d9;padding:23px 27px;border-radius:14px;background:#f6f8f3;overflow-wrap:anywhere}
.eb-article-sources h2{font:700 clamp(22px,3vw,28px)/1.2 Georgia,serif;color:#15372f;margin:0 0 12px}
.eb-article-sources p{font-size:14px;color:#3f5a4d;line-height:1.65;margin:0 0 12px}
.eb-article-sources ul{margin:0;padding-left:22px}
.eb-article-sources li{margin:7px 0;font-size:14px;line-height:1.5}
.eb-article-sources a{color:#0e593e;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;overflow-wrap:anywhere}
.eb-related-news{margin:50px auto 18px;max-width:1080px;padding-top:24px;border-top:1px solid #d4ded7}
.eb-related-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.eb-related-heading h2{font:700 clamp(24px,3vw,35px)/1.2 Georgia,serif;margin:0;color:#15372f}
.eb-related-heading>a{color:#21533f;font-weight:750;font-size:13px}
.eb-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.eb-related-grid .eb-journal-card{min-width:0}
.eb-related-grid .eb-card-body{padding:17px}
.eb-related-grid .eb-card-body h3{font-size:20px}
.eb-related-grid .eb-card-body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.eb-related-grid .eb-card-foot{flex-wrap:wrap}
.eb-journal-card .eb-card-body h3 a{text-decoration:none}
.eb-journal-card .eb-card-body h3 a:hover,.eb-journal-card .eb-card-body h3 a:focus-visible{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.eb-journal-grid img,.eb-home-news img,.eb-related-news img{height:auto}
.eb-article-prose a:not(.button):not(.wp-block-button__link){text-decoration-line:underline!important;text-decoration-thickness:2px!important;text-decoration-color:#4d8d6b!important;text-underline-offset:.17em!important;overflow-wrap:anywhere}
@media(max-width:1050px){.eb-home-news-feature>.eb-home-lead-story{grid-column:1/-1}.eb-home-news-feature{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 #actualidad .section-head h2{font-size:clamp(1.95rem,8.5vw,2.65rem)}
 .eb-home-news-intro{padding:14px 16px;gap:8px}
 .eb-home-news-feature{grid-template-columns:1fr;gap:15px}
 .eb-home-news-feature>.eb-home-lead-story{display:flex;flex-direction:column;grid-column:span 1}
 .eb-home-lead-story .eb-card-visual{aspect-ratio:16/9;min-height:0;width:100%}
 .eb-home-lead-story .eb-card-body{padding:19px}
 .eb-home-lead-story h3{font-size:24px}
 .eb-home-category-nav{gap:7px}
 .eb-home-category-nav a{font-size:11px;padding:7px 11px}
 .eb-archive-toolbar{padding:17px;align-items:stretch}
 .eb-archive-form{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .eb-archive-form label{min-width:0}.eb-archive-form select{width:100%;min-width:0}
 .eb-archive-form button{grid-column:1/-1}.eb-archive-clear{grid-column:1/-1;text-align:center}
 .eb-related-grid{grid-template-columns:1fr;gap:14px}
 .eb-article-sources{padding:18px}
 .eb-journal-hero h1{font-size:clamp(2rem,8.7vw,3.2rem)}
}
@media(prefers-reduced-motion:reduce){.eb-home-news-feature .news-image{transition:none}}


/* El Berrueco Digital 1.8.1 · Imágenes editoriales sin pérdida de encuadre.
 * La miniatura base previa era un recorte 720x450; desde ahora se usan
 * adjuntos completos y srcset/sizes de WordPress. No se estiran píxeles.
 */
.eb-journal-card .eb-card-visual,
.eb-home-news .eb-card-visual,
.eb-journal-grid .eb-card-visual{
  position:relative;display:flex;justify-content:center;align-items:center;
  width:100%;aspect-ratio:16 / 10;overflow:hidden;flex-shrink:0;
  background:linear-gradient(135deg,#dfeae0,#f1f2e9 55%,#d6e2d5);
}
.eb-card-visual img.eb-news-responsive-image,
.eb-home-news-feature .eb-card-visual img.eb-news-responsive-image,
.eb-journal-grid .eb-card-visual img.eb-news-responsive-image{
  position:absolute;inset:0;width:100%!important;height:100%!important;
  display:block;object-fit:contain!important;object-position:center center;
  max-width:none;max-height:none;aspect-ratio:auto!important;
  transform:none!important;transition:filter .2s ease;
}
.eb-card-visual.eb-img-crop img.eb-news-responsive-image,
.eb-home-news-feature .eb-card-visual.eb-img-crop img.eb-news-responsive-image,
.eb-journal-grid .eb-card-visual.eb-img-crop img.eb-news-responsive-image{
  object-fit:cover!important;
}
.eb-journal-card:hover .eb-card-visual img.eb-news-responsive-image{filter:brightness(.97)}
.eb-home-news-feature>.eb-home-lead-story{
  grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  min-height:0;
}
.eb-home-news-feature .eb-home-lead-story>.eb-card-visual{
  aspect-ratio:auto;min-height:0;height:100%;flex-shrink:1;
}
.eb-home-news-feature .eb-home-lead-story>.eb-card-visual img.eb-news-responsive-image{
  object-fit:contain!important;
}
.eb-home-news-feature .eb-home-lead-story>.eb-card-visual.eb-img-crop img.eb-news-responsive-image{
  object-fit:cover!important;
}
.eb-journal-grid .eb-feature-article{
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  min-height:0;
}
.eb-journal-grid .eb-feature-image{
  position:relative;display:flex;justify-content:center;align-items:center;
  width:100%;height:100%;min-height:260px;
  overflow:hidden;
  background:linear-gradient(135deg,#c8ddcc,#edf2e7 60%,#abc8b5);
}
.eb-journal-grid .eb-feature-image>img.eb-news-responsive-image{
  position:absolute;inset:0;width:100%!important;height:100%!important;
  object-fit:contain!important;max-width:none;max-height:none;
}
.eb-journal-grid .eb-feature-image.eb-img-crop>img.eb-news-responsive-image{
  object-fit:cover!important;
}
.eb-article-cover{max-height:none;display:grid;place-items:center;background:#e6eee6;overflow:hidden}
.eb-article-cover>img.eb-news-responsive-image{
  display:block;position:static;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:min(75vh,740px)!important;
  object-fit:contain!important;
}
.eb-article-cover figcaption{justify-self:stretch;padding:10px 15px;font-size:12px;color:#4d6559}
.hero-art.eb-hero-image-complete{background:#e4e9de}
.hero-art.eb-hero-image-complete>img{object-fit:contain!important}
@media(max-width:960px){
  .eb-journal-grid .eb-feature-article{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:750px){
  .eb-home-news-feature{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eb-home-news-feature>.eb-home-lead-story{grid-column:1/-1}
}
@media(max-width:650px){
  .eb-home-news-feature{grid-template-columns:minmax(0,1fr)}
  .eb-home-news-feature>.eb-home-lead-story{display:flex;flex-direction:column;grid-column:auto}
  .eb-home-news-feature .eb-home-lead-story>.eb-card-visual{
    width:100%;height:auto;aspect-ratio:16 / 10;min-height:0;flex-shrink:0;
  }
  .eb-journal-grid .eb-feature-article{display:flex;flex-direction:column}
  .eb-journal-grid .eb-feature-image{
    width:100%;height:auto;aspect-ratio:16 / 10;
    min-height:0;max-height:none;
  }
  .eb-feature-copy{padding:clamp(17px,5vw,26px)}
  .eb-article-cover>img.eb-news-responsive-image{max-height:520px!important}
}
@media(prefers-reduced-motion:reduce){
 .eb-card-visual img.eb-news-responsive-image{transition:none!important}
}

/* 2.8.21 · Nota editorial legible, sin badges de verificación automáticos. */
.ebd-verification{border-left:4px solid #2d735c;background:#edf5ef;border-radius:0 12px 12px 0;padding:15px 20px;margin:28px 0;color:#173c32;font-size:.95rem;line-height:1.65}
.ebd-verification p{margin:8px 0 0;color:inherit}
@media(max-width:600px){.ebd-verification{padding:13px 15px;margin:20px 0}}
