/* Agregados para WordPress sobre las hojas del diseño aprobado */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
header.site .find{background:none;border:0;font-family:inherit}
.complogo-link{display:flex}
.signals a.badge{display:block}
.signals li a:hover{text-decoration:underline}
.stream .row .thumb{display:block}
.sec-h h1.h2{font-family:"Archivo";font-weight:800;font-size:1.3rem;color:var(--verde-profundo)}
.pick{color:inherit}

/* Buscador desplegable */
.phh-search{background:var(--lima-soft);border-top:1px solid var(--linea)}
.phh-search .wrap{padding:12px 22px}
.phh-searchform{display:flex;gap:8px;max-width:640px;margin:0 auto}
.phh-searchform input{flex:1;padding:10px 12px;border:1px solid var(--linea);border-radius:7px;font-family:inherit;font-size:1rem}
.phh-search-inline{margin:18px 0}
.mobile-menu .mm-search input{width:100%;padding:12px;border:0;border-radius:8px;font-family:inherit;font-size:1rem;margin-bottom:8px}

/* Publicidad con contenido real */
.phh-sp.phh-sp-on{background:none;border:0;display:block;height:auto!important;min-height:0;padding:0}
.phh-sp.phh-sp-on::before{top:-12px;z-index:1}

/* Paginación */
.phh-pages{display:flex;gap:6px;flex-wrap:wrap;margin:28px 0}
.phh-pages .page-numbers{padding:8px 13px;border:1px solid var(--linea);border-radius:7px;font-weight:600;font-size:.9rem;color:var(--verde-profundo)}
.phh-pages .current{background:var(--verde-profundo);color:#fff;border-color:var(--verde-profundo)}
.phh-pages a:hover{background:var(--lima);border-color:var(--lima)}
.phh-empty{font-family:"Source Serif 4";font-size:1.05rem;color:var(--gris);padding:20px 0}
.phh-empty a{color:var(--verde);border-bottom:2px solid var(--lima)}

/* Contenido del editor dentro de la nota */
article .body a{color:var(--verde);border-bottom:2px solid var(--lima);font-weight:600}
article .body img{max-width:100%;height:auto;border-radius:10px}
article .body figure{margin:28px 0}
article .body figcaption,.wp-caption-text{font-family:"Source Sans 3";font-size:.82rem;color:var(--gris);margin-top:8px}
article .body .wp-caption{max-width:100%}
article .body blockquote{border-left:5px solid var(--lima);padding:6px 0 6px 22px;margin:30px 0;font-family:"Archivo";font-weight:700;font-size:1.35rem;line-height:1.3;color:var(--verde-profundo)}
article .body ul,article .body ol{margin:0 0 22px 1.3em}
article .body li{margin-bottom:8px}
article .body h3{font-family:"Archivo";font-weight:800;font-size:1.25rem;color:var(--verde-profundo);margin:28px 0 10px}
article .body iframe{max-width:100%}
article .body .wp-block-embed__wrapper iframe,article .body iframe[src*="youtube"]{aspect-ratio:16/9;width:100%;height:auto}
.alignleft{float:left;margin:6px 22px 12px 0}.alignright{float:right;margin:6px 0 12px 22px}.aligncenter{display:block;margin-left:auto;margin-right:auto}
.heroimg .ph{background-color:var(--verde-profundo)}
.phh-page{grid-template-columns:minmax(0,760px)!important}
.byline .share a{text-decoration:none}
.qs-body .txt p{font-family:"Source Serif 4"}
footer .fmenu{list-style:none;display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}
footer .fmenu a{font-size:.85rem;color:var(--claro)}
footer .fmenu a:hover{color:var(--lima)}

/* Espacios de publicidad: cada espacio tiene una caja fija; todos los banners
   ocupan el mismo tamaño y se ajustan sin deformarse (object-fit: contain). */
.phh-sp-on .phh-sp-item{width:100%;margin:0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.phh-sp-on .phh-sp-item a,.phh-sp-on .phh-sp-item p{display:block;width:100%;height:100%;margin:0}
.phh-sp-on .phh-sp-item img{width:100%!important;height:100%!important;max-width:none;object-fit:contain;display:block;margin:0 auto}
.phh-sp-k-header .phh-sp-item{max-width:840px;aspect-ratio:840/91}
.phh-sp-k-lead .phh-sp-item,.phh-sp-k-footer .phh-sp-item{max-width:970px;aspect-ratio:970/80}
.phh-sp-k-stream .phh-sp-item,.phh-sp-k-article .phh-sp-item{max-width:728px;aspect-ratio:728/180}
.phh-sp-k-half .phh-sp-item{max-width:300px;aspect-ratio:300/600}
.phh-sp-k-rect .phh-sp-item{max-width:300px;aspect-ratio:300/250}
.phh-sp-band .phh-sp-on{margin:0 auto}

/* Nos acompañan: todas las tarjetas del mismo tamaño y todos los logos en la misma caja */
.sponsors .srow{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 auto}
.sponsors .s{width:160px;height:76px;padding:0 18px;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box}
.sponsors .s a,.sponsors .s .textwidget,.sponsors .s p{display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0}
.sponsors .s img{width:130px!important;height:40px!important;object-fit:contain;display:block;filter:grayscale(1) brightness(.25);opacity:.85;transition:opacity .2s,filter .2s}
.sponsors .s a:hover img{opacity:1}
.sponsors .s a{font-family:"Archivo";font-weight:800;font-size:.82rem;line-height:1.15;color:var(--verde-profundo)}
@media(max-width:600px){.sponsors .s{width:calc(50% - 5px)}}

/* Nota incrustada (tarjeta a todo el ancho) */
article .body a.phh-embed{display:grid;grid-template-columns:minmax(0,42%) 1fr;gap:0;border:1px solid var(--linea);border-left:5px solid var(--lima);border-radius:12px;overflow:hidden;margin:30px 0;background:#fff;color:inherit;font-weight:400;text-decoration:none;transition:box-shadow .15s,transform .15s}
article .body a.phh-embed:hover{box-shadow:0 10px 24px rgba(0,75,46,.12);transform:translateY(-2px)}
.phh-embed .pe-img{display:block;min-height:200px;background-size:cover;background-position:center}
.phh-embed .pe-tx{display:flex;flex-direction:column;gap:8px;padding:20px 22px;align-self:center}
.phh-embed .tag{align-self:flex-start}
.phh-embed .pe-t{font-family:"Archivo";font-weight:800;font-size:1.3rem;line-height:1.15;color:var(--tinta)}
.phh-embed .pe-d{font-family:"Source Serif 4";font-size:.98rem;line-height:1.5;color:var(--gris)}
.phh-embed .pe-m{font-family:"Archivo";font-weight:800;font-size:.8rem;color:var(--verde)}
@media(max-width:600px){article .body a.phh-embed{grid-template-columns:1fr}.phh-embed .pe-img{min-height:180px}}

/* Imágenes de las notas: horizontales a todo el ancho, verticales centradas y
   contenidas, chicas a su tamaño; epígrafes alineados con la imagen. */
article .body img{display:block;height:auto}
article .body figure,article .body .wp-caption{width:auto!important;max-width:100%;margin:32px auto;float:none}
article .body img.phh-landscape{width:100%!important;max-width:100%;margin:32px auto;float:none}
article .body figure img.phh-landscape,article .body .wp-caption img.phh-landscape{margin:0}
article .body img.phh-portrait{width:auto!important;max-width:100%;max-height:640px;margin:32px auto;float:none}
article .body figure:has(img.phh-portrait),article .body .wp-caption:has(img.phh-portrait),article .body figure:has(img.phh-small),article .body .wp-caption:has(img.phh-small){width:fit-content!important;margin:32px auto}
article .body figure img.phh-portrait,article .body .wp-caption img.phh-portrait,article .body figure img.phh-small,article .body .wp-caption img.phh-small{margin:0}
article .body img.phh-small{max-width:100%;margin:32px auto;float:none}
article .body figcaption,article .body .wp-caption-text{margin-top:10px;padding-left:12px;border-left:3px solid var(--lima);font-size:.85rem;line-height:1.45;text-align:left}
article .body p:has(> img:only-child){margin:0}
@media(min-width:900px){
  article .body .alignleft:is(img.phh-portrait,img.phh-small),article .body figure.alignleft:has(.phh-portrait,.phh-small){float:left;max-width:44%;margin:6px 26px 14px 0}
  article .body .alignright:is(img.phh-portrait,img.phh-small),article .body figure.alignright:has(.phh-portrait,.phh-small){float:right;max-width:44%;margin:6px 0 14px 26px}
}
/* Galerías: grilla pareja */
article .body .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:32px 0}
article .body .gallery br{display:none}
article .body .gallery .gallery-item{width:auto!important;margin:0!important;max-width:none}
article .body .gallery img{width:100%!important;height:200px!important;max-height:none;object-fit:cover;margin:0;border-radius:8px}
