/* 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}

/* Lo elegido: las etiquetas de seccion conservan sus colores */
aside .pick span.tag{font-size:.66rem}
aside .pick span.t-per{color:#fff}aside .pick span.t-ide{color:var(--verde-profundo)}aside .pick span.t-com,aside .pick span.t-pro{color:var(--noche)}aside .pick span.t-col{color:var(--lima)}
/* Banners apaisados: en el celular se reemplazan por la alternativa 300x250 */
.phh-sp-mob{display:none}
@media(max-width:700px){
  .phh-sp-on:has(> .phh-sp-mob) > .phh-sp-item{display:none}
  .phh-sp-on .phh-sp-mob{display:block}
  .phh-sp-on .phh-sp-mob .phh-sp-item{max-width:300px;aspect-ratio:300/250}
}

/* Videos: proporcion original; los verticales centrados y mas angostos */
article .body iframe.phh-vid{width:100%;display:block;margin:0 auto;border:0;border-radius:10px}
article .body iframe.phh-vid-v{max-width:360px}
@media(max-width:700px){article .body img.phh-portrait{max-height:75vh}}
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 auto}
article .body h2{line-height:1.2}
/* Las notas nunca se ensanchan mas que la columna (grilla con min-width:0) */
.layout > *{min-width:0}
article .body{overflow-wrap:break-word}
article .body video,article .body .wp-video{max-width:100%!important;height:auto}
article .body .wp-video{width:100%!important}
article .body pre{white-space:pre-wrap;max-width:100%;overflow-x:auto;font-family:inherit}

/* phh-feedback-1 */
/* Banner cuadrado del lateral (podcast) */
.phh-sp-k-square .phh-sp-item{max-width:300px;aspect-ratio:1/1}
aside .phh-sp-k-square{margin:22px 0}
/* Antes del pie: todos los banners, uno debajo del otro, a su proporcion */
.phh-pie{padding:34px 22px 8px}
.phh-sp-k-pie{display:flex!important;flex-direction:column;align-items:center;gap:16px}
.phh-sp-k-pie .phh-sp-item{max-width:min(var(--w),100%);aspect-ratio:auto;height:auto}
.phh-sp-k-pie .phh-sp-item img{height:auto!important;object-fit:initial}
/* Nos acompanan: logos a color, todos en la misma caja */
.sponsors .s{width:200px;height:110px;background:#fff;padding:0 16px}
.sponsors .s img{width:170px!important;height:80px!important;filter:none;opacity:1}
.sponsors .s a:hover img{opacity:.85}
@media(max-width:600px){.sponsors .s{width:calc(50% - 5px);height:96px}.sponsors .s img{width:100%!important;height:70px!important}}
/* Quienes somos: tarjetas sin el titulo repetido */
.qs-card .tag{margin-bottom:14px}
/* Menu: panel angosto que entra desde la izquierda */
.mobile-menu{display:flex!important;inset:0 auto 0 0;width:320px;max-width:86vw;padding:58px 22px 24px;gap:0;transform:translateX(-105%);visibility:hidden;transition:transform .25s ease,visibility .25s;box-shadow:none}
.mobile-menu.open{transform:none;visibility:visible;box-shadow:0 0 0 100vmax rgba(8,20,14,.55)}
.mobile-menu a{font-size:1rem;padding:11px 2px}
.mobile-menu a small{font-size:.74rem;margin-top:2px}
.mobile-menu .mm-close{top:10px;right:14px;font-size:1.7rem}
.mobile-menu .mm-search input{padding:10px 12px;font-size:.92rem;margin-bottom:6px}
.mobile-menu .mm-sub{margin-top:16px;padding:12px;font-size:.92rem}/* Sin la etiqueta Publicidad sobre los espacios */
.phh-sp::before,.phh-sp.phh-sp-on::before{content:none!important;display:none!important}

/* phh-feedback-2 */
/* Columna lateral en tablet y celular: ocupa todo el ancho, debajo de la nota */
@media(max-width:920px){
  aside{display:block}
  aside .sticky{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-items:start}
  aside .sticky > .box{grid-column:1/-1}
}
@media(max-width:560px){aside .sticky{grid-template-columns:1fr}}
/* Newsletter */
.phh-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.phh-ns-msg{font-family:"Archivo";font-weight:700;font-size:.86rem;padding:9px 12px;border-radius:7px;margin:0 0 10px}
.phh-ns-msg.ok{background:var(--lima);color:var(--verde-profundo)}
.phh-ns-msg.err{background:#fde2dc;color:#8a1c0c}
.phh-ns-form{display:grid;gap:12px;max-width:460px;margin:24px 0}
.phh-ns-form label{display:grid;gap:6px;font-family:"Archivo";font-weight:700;font-size:.9rem;color:var(--verde-profundo)}
.phh-ns-form input{padding:12px;border:1px solid var(--linea);border-radius:8px;font-family:inherit;font-size:1rem}
.phh-ns-form .btn-lima{justify-self:start;padding:12px 26px}@media(min-width:561px) and (max-width:920px){aside .sticky{grid-auto-flow:row dense}}


/* Ubicacion | redes en la barra superior */
.topbar .weather+.tsoc{margin-left:14px;padding-left:14px;border-left:1px solid rgba(255,255,255,.25)}
@media(max-width:600px){.topbar .wrap{justify-content:center}.topbar .tright{margin:0 auto}}
