/* Pepógrafo — estilos propios consolidados. Origen: WPCode (7 fragmentos CSS) + CSS adicional. 25/11/2026 */

/* ---- WPCode #6435 ---- */
#commentform input#submit,
#commentform .form-submit input[type="submit"]{
  width:auto !important;
  min-width:170px !important;
  max-width:none !important;
  height:auto !important;
  overflow:visible !important;
  white-space:nowrap !important;
  display:inline-block !important;
  padding:10px 18px !important;
  line-height:1.3 !important;
}

#commentform .form-submit{
  width:auto !important;
  overflow:visible !important;
}


/* ---- WPCode #6452 ---- */
body.author-almudena-villar.pg-almudena-profile {background:#f6f1e8 !important;color:#272322 !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-wrap,
body.author-almudena-villar.pg-almudena-profile .pg-av-intro,
body.author-almudena-villar.pg-almudena-profile .pg-av-section {background:#f6f1e8 !important;color:#272322 !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-kicker,
body.author-almudena-villar.pg-almudena-profile .pg-av-role {color:#870f2c !important;}
body.author-almudena-villar.pg-almudena-profile h1,
body.author-almudena-villar.pg-almudena-profile h2,
body.author-almudena-villar.pg-almudena-profile .pg-av-bio,
body.author-almudena-villar.pg-almudena-profile .pg-av-card a {color:#272322 !important;opacity:1 !important;text-shadow:none !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-empty {background:#fffaf3 !important;color:#272322 !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-top,
body.author-almudena-villar.pg-almudena-profile .pg-av-nav {background:#790b23 !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-top a,
body.author-almudena-villar.pg-almudena-profile .pg-av-nav a {color:#fff !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-foot {background:#242020 !important;color:#fff !important;}
body.author-almudena-villar.pg-almudena-profile .pg-av-foot a {color:#fff !important;}


/* ---- WPCode #6837 ---- */
/* Unificar las cabeceras con el color de fondo de Pepógrafo. */
.home.pepografo-editorial .pg-brand,
.pg-inner-shell .pg-inner-brand {
  background: var(--paper, #f6f0e6) !important;
}
.pg-inner-brand .pg-inner-logo3d img {
  mix-blend-mode: multiply;
}


/* ---- WPCode #7007 ---- */
.home .pg-home-groups .pg-cards article > p {display:none !important;}
.home .pg-home-groups .pg-cards article a.pg-more {display:inline-block !important;background:transparent !important;color:#870b27 !important;border:0 !important;padding:0 !important;min-width:0 !important;min-height:0 !important;font:600 16px Georgia,serif !important;text-decoration:none !important;margin-top:10px !important;}
.home .pg-home-groups .pg-cards article h3 {margin-bottom:0 !important;}



/* ---- WPCode #7121 ---- */
/* LA MIRADA: seis fotografías originales como portadas visibles de las galerías.
   Solo afecta a los seis enlaces de la sección de fotografía (página 16).
   Conserva sus enlaces, nombres y los metadatos sociales de Yoast. */
.page-id-16 .pg-mirada-direct .pg-mirada-grid a {
  min-height: 195px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-direction: column !important;
  padding: 20px 10px 18px !important;
  background-color: #39332c !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  font: bold 21px/1.25 Georgia, "Times New Roman", serif !important;
  text-align: center !important;
  text-shadow: 0 2px 5px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.55) !important;
  border: 2px solid #fff !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.13) !important;
  transition: filter .2s ease, transform .2s ease;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(1) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2024/02/B0AE5BC1-0E62-4646-8A8B-AAA73689E842.jpg") !important;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(2) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2026/10/Atardecer-sobre-el-Tajo-Lisboa.webp") !important;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(3) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2023/03/46D1CD55-D391-4649-822D-31302EC64EB2-scaled.jpg") !important;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(4) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2024/03/IMG_9698-1-scaled.jpeg") !important;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(5) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2023/07/IMG_8700.jpeg") !important;
}
.page-id-16 .pg-mirada-direct .pg-mirada-grid a:nth-child(6) {
  background-image: linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.72)),url("https://pepografo.com/wp-content/uploads/2023/01/FINAL-W.webp") !important;
}
@media (hover:hover) {
  .page-id-16 .pg-mirada-direct .pg-mirada-grid a:hover {
    filter:brightness(1.1);
    transform:translateY(-2px);
  }
}
@media (max-width:820px) {
  .page-id-16 .pg-mirada-direct .pg-mirada-grid a {
    min-height:165px!important;
    font-size:19px!important;
    padding:15px 7px!important;
  }
}
@media (max-width:480px) {
  .page-id-16 .pg-mirada-direct .pg-mirada-grid a {
    min-height:190px!important;
  }
}


/* ---- WPCode #7284 ---- */
/* Pepógrafo | Legibilidad editorial — fase 1. Ajuste reversible. */
/* Artículos: lectura larga, sin alterar pies, formularios ni citas de autor. */
body.single-post .post-entry > p:not(.pg-editorial-byline),
body.single-post .post-entry > ul,
body.single-post .post-entry > ol,
body.single-post .post-entry > blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px !important;
  line-height: 1.65 !important;
}
/* Extractos de categorías y archivos. */
body.archive .blog-entry p,
body.category .blog-entry p {
  font-size: 17px !important;
  line-height: 1.55 !important;
}
/* Tarjetas de portada: mejor lectura sin aumentar demasiado su altura. */
body.home .pg-cards article > p,
body.pepografo-editorial .pg-cards article > p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  min-height: 0 !important;
}
/* Mantener el tamaño legible en pantallas pequeñas. */
@media (max-width: 480px) {
  body.single-post .post-entry > p:not(.pg-editorial-byline),
  body.single-post .post-entry > ul,
  body.single-post .post-entry > ol,
  body.single-post .post-entry > blockquote {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }
}


/* ---- WPCode #7717 ---- */
@media (min-width: 681px) {
  body.home.pepografo-editorial .pg-home-group .pg-cards:has(> article:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Fotografías editoriales reales en las tres tarjetas de secciones de la portada. */
body.home.pepografo-editorial .pg-panels > a.pg-panel {
  background-color:#4d3535 !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  color:#fff !important;
}
body.home.pepografo-editorial .pg-panels > a.pg-panel.pg-laugh {
  background-image:linear-gradient(100deg,rgba(25,15,20,.16),rgba(25,15,20,.03)),url('https://i0.wp.com/pepografo.com/wp-content/uploads/2026/11/Calendario-Zaragozano-2027-optimizado.jpg?w=960&quality=85&ssl=1') !important;
  background-position:center 45% !important;
}
body.home.pepografo-editorial .pg-panels > a.pg-panel.pg-travel {
  background-image:linear-gradient(100deg,rgba(22,21,20,.16),rgba(22,21,20,.03)),url('https://i0.wp.com/pepografo.com/wp-content/uploads/2026/10/idanha-a-velha-calle-ropa-tendida.webp?w=960&quality=85&ssl=1') !important;
}
body.home.pepografo-editorial .pg-panels > a.pg-panel.pg-stories {
  background-image:linear-gradient(100deg,rgba(15,24,24,.16),rgba(15,24,24,.03)),url('https://i0.wp.com/pepografo.com/wp-content/uploads/2026/11/Templo-de-Los-Marmoles-WebP-ligero.webp?w=960&quality=85&ssl=1') !important;
}
/* Texto legible sin tapar toda la fotografía. */
body.home.pepografo-editorial .pg-panels > a.pg-panel h2,
body.home.pepografo-editorial .pg-panels > a.pg-panel p {
  display:table !important;
  width:auto !important;
  max-width:100% !important;
  color:#fff !important;
  background-color:rgba(18,17,16,.61) !important;
  padding:5px 8px !important;
  border-radius:3px;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
}
body.home.pepografo-editorial .pg-panels > a.pg-panel b {
  color:#fff !important;
}


/* ---- CSS adicional del Personalizador (post 6598). Va al final, como ahora ---- */
.pepografo-editorial .pg-herotxt h1{hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;}@media(min-width:821px) and (max-width:1050px){.pepografo-editorial .pg-herotxt h1{font-size:32px;}} /* Menú editorial: evita que los enlaces queden fuera de pantalla */ @media (min-width:821px){ .pepografo-editorial .pg-nav{height:auto;min-height:58px;padding:8px 20px;} .pepografo-editorial .pg-navlinks{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 18px;min-width:0;} .pepografo-editorial .pg-navlinks a{display:inline-block;flex:0 0 auto;padding:13px 0;line-height:1.3;white-space:nowrap;} } /* Portada: no pintar las secciones fotográficas hasta que se aproximen a pantalla. No oculta contenido ni cambia imágenes o enlaces. */ @supports (content-visibility:auto) { .home.pepografo-editorial .pg-site .pg-look { content-visibility:auto; contain-intrinsic-size:auto 330px; } .home.pepografo-editorial .pg-site .pg-bottom { content-visibility:auto; contain-intrinsic-size:auto 650px; } @media (max-width:820px) { .home.pepografo-editorial .pg-site .pg-bottom { contain-intrinsic-size:auto 950px; } } } /* Portada Pepógrafo: fotos proporcionadas y filas completas */ .home.pepografo-editorial .pg-home-group .pg-cardimg{display:block;min-width:0;overflow:hidden} .home.pepografo-editorial .pg-home-group .pg-cardimg img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover!important} @media(min-width:681px){ .home.pepografo-editorial .pg-home-group .pg-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:min-content min-content min-content 1fr;column-gap:24px;align-content:start} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd)>.pg-cardimg{grid-column:1;grid-row:1/-1} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd)>:not(.pg-cardimg){grid-column:2} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd)>.pg-cat{margin-top:0} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd)>h3{font-size:clamp(23px,2.5vw,31px);line-height:1.16} .home.pepografo-editorial .pg-home-group .pg-cards>article:last-child:nth-child(odd)>p{display:block!important;margin:12px 0 0;font-size:16px;line-height:1.5;min-height:0} } @media(max-width:680px){.home.pepografo-editorial .pg-home-group .pg-cards{grid-template-columns:1fr!important}} /* Articulos: una sola columna, widgets a todo el ancho */ body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;gap:24px!important;width:100%!important;max-width:1100px!important;margin:0 auto!important;padding:0 20px!important;box-sizing:border-box!important} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix>div.inner-content{grid-column:1!important;float:none!important;display:block!important;position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:20px 0!important;box-sizing:border-box!important} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar{grid-column:1!important;float:none!important;position:static!important;display:block!important;clear:both!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:20px 0!important;box-sizing:border-box!important} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar .widget{float:none!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;box-sizing:border-box!important} /* Pepógrafo: presentación del equipo en escritorio y portátil, 2026-11-03 */ @media (min-width:821px) { .home.pepografo-editorial .pg-bottom>.pg-about{ display:grid!important; grid-template-columns:128px minmax(0,1fr)!important; align-content:start!important; align-items:start!important; gap:16px!important; min-width:0!important; max-width:100%!important; box-sizing:border-box!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait{ display:block!important; width:128px!important; min-width:0!important; max-width:100%!important; height:auto!important; min-height:0!important; background:transparent!important; overflow:hidden!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait:after{display:none!important} .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait img{ display:block!important; width:100%!important; max-width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:auto!important; object-fit:contain!important; object-position:center top!important; margin:0!important; } .home.pepografo-editorial .pg-bottom .pg-about>div:last-child{min-width:0!important;} .home.pepografo-editorial .pg-bottom .pg-about h2{ font-size:25px!important; line-height:1.15!important; letter-spacing:-.02em!important; margin:0 0 10px!important; overflow-wrap:normal!important; } .home.pepografo-editorial .pg-bottom .pg-about p{ font-size:14px!important; line-height:1.48!important; margin:0 0 12px!important; min-height:0!important; overflow-wrap:break-word!important; } .home.pepografo-editorial .pg-bottom .pg-about .pg-btn{ display:inline-block!important; width:auto!important; min-height:0!important; max-width:100%!important; padding:4px 0!important; margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:var(--wine,#7d0c22)!important; font:700 12px/1.4 Arial,sans-serif!important; letter-spacing:.04em!important; text-align:left!important; text-decoration:underline!important; text-underline-offset:3px; } } @media (min-width:1181px){ .home.pepografo-editorial .pg-bottom>.pg-book{ grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important; min-width:0!important; } } @media (min-width:821px) and (max-width:1180px){ .home.pepografo-editorial .pg-bottom{ grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:22px!important; align-items:start!important; overflow:visible!important; } .home.pepografo-editorial .pg-bottom>.pg-book{ min-width:0!important; padding:0 20px 0 0!important; border-right:1px solid var(--line,#ded7c9)!important; border-bottom:0!important; } .home.pepografo-editorial .pg-bottom>.pg-about{ padding:0!important; border:0!important; margin:0!important; overflow:visible!important; } .home.pepografo-editorial .pg-bottom>.pg-news{ grid-column:1/-1!important; display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; column-gap:24px!important; align-items:start!important; padding:20px 0 0!important; margin:0!important; border-top:1px solid var(--line,#ded7c9)!important; overflow:visible!important; } .home.pepografo-editorial .pg-bottom>.pg-news>h2{ grid-column:1!important; grid-row:1!important; } .home.pepografo-editorial .pg-bottom>.pg-news>p{ grid-column:1!important; grid-row:2!important; } .home.pepografo-editorial .pg-bottom>.pg-news>form{ grid-column:2!important; grid-row:1 / span 3!important; margin:0!important; } } @media (min-width:821px) and (max-width:960px){ .home.pepografo-editorial .pg-bottom>.pg-about{grid-template-columns:106px minmax(0,1fr)!important;gap:13px!important;} .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait{width:106px!important;} .home.pepografo-editorial .pg-bottom .pg-about h2{font-size:22px!important;} .home.pepografo-editorial .pg-bottom .pg-about p{font-size:13px!important;} } /* Pepógrafo: presentación compacta de autores en la portada móvil, 2026-11-03 */ @media (max-width:820px){ .home.pepografo-editorial .pg-bottom .pg-about{ display:grid!important; grid-template-columns:112px minmax(0,1fr)!important; align-items:start!important; gap:16px!important; min-width:0!important; padding:20px 0!important; margin:0!important; border-right:0!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait{ display:block!important; width:112px!important; max-width:112px!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:auto!important; overflow:hidden!important; background:transparent!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait:after{ display:none!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait img{ display:block!important; width:100%!important; max-width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:auto!important; object-fit:contain!important; object-position:center top!important; margin:0!important; } .home.pepografo-editorial .pg-bottom .pg-about>div:last-child{min-width:0!important;} .home.pepografo-editorial .pg-bottom .pg-about h2{ font-size:clamp(20px,5.5vw,25px)!important; line-height:1.18!important; letter-spacing:-.02em!important; margin:0 0 9px!important; } .home.pepografo-editorial .pg-bottom .pg-about p{ font-size:14px!important; line-height:1.5!important; margin:0 0 9px!important; min-height:0!important; } .home.pepografo-editorial .pg-bottom .pg-about .pg-btn{ display:inline-block!important; width:auto!important; min-height:0!important; max-width:100%!important; padding:3px 0!important; margin:1px 0 0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:var(--wine,#7d0c22)!important; font:700 12px/1.35 Arial,sans-serif!important; letter-spacing:.04em!important; text-decoration:underline!important; text-underline-offset:3px; } } @media (max-width:360px){ .home.pepografo-editorial .pg-bottom .pg-about{ grid-template-columns:92px minmax(0,1fr)!important; gap:12px!important; } .home.pepografo-editorial .pg-bottom .pg-about>.pg-portrait{ width:92px!important; max-width:92px!important; } } /* Cabecera interior en móvil: logotipo completo y menú legible, 2026-11-05 */ @media (max-width:820px){ .pg-inner-shell .pg-inner-brand{ display:flex!important;flex-direction:column!important;align-items:center!important; justify-content:center!important;gap:0!important;padding:14px 12px!important; min-height:0!important;overflow:hidden!important; } .pg-inner-shell .pg-inner-brand .pg-inner-mark{display:none!important;} .pg-inner-shell .pg-inner-brand .pg-inner-word.pg-inner-logo3d{ display:flex!important;flex:0 1 auto!important;width:100%!important;max-width:100%!important; height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important; align-items:center!important;justify-content:center!important; } .pg-inner-shell .pg-inner-brand .pg-inner-word.pg-inner-logo3d img{ display:block!important;width:100%!important;max-width:480px!important; height:auto!important;max-height:none!important;margin:0 auto!important; transform:none!important;object-fit:contain!important;object-position:center!important; } .pg-inner-shell nav.pg-inner-nav{ display:block!important;height:auto!important;min-height:0!important; padding:8px 12px!important; } .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact{ display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:4px 10px!important;align-items:stretch!important;justify-items:stretch!important; position:static!important;width:100%!important;padding:0!important; } .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact > a, .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact > details{ box-sizing:border-box!important;width:100%!important;min-width:0!important; margin:0!important;text-align:center!important; } .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact > a, .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact > details > summary{ display:block!important;padding:10px 5px!important; font:700 11px/1.35 Arial,sans-serif!important;letter-spacing:0!important; white-space:normal!important;overflow-wrap:break-word!important;text-align:center!important; } .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact > :last-child:nth-child(odd){ grid-column:1/-1!important; } } /* Listados de categorías en una columna */ body.archive.category.blog-right-sidebar .content .content-wrapper.clearfix > aside.sidebar {display:none!important} body.archive.category.blog-right-sidebar .content .content-wrapper.clearfix > div.inner-content {float:none!important;width:100%!important;min-width:0!important;max-width:960px!important;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(16px,4vw,32px)!important;padding-right:clamp(16px,4vw,32px)!important;box-sizing:border-box!important} body.archive.category .inner-content .blog-thumb img {max-width:100%;height:auto} /* Legibilidad del pie de artículos y archivos: listas al tamano del texto editorial (19px). */ .sidebar #block-5 .wp-block-latest-posts__list li, .sidebar #block-5 .wp-block-latest-posts__list li a, .sidebar #block-8 .wp-block-categories-list li, .sidebar #block-8 .wp-block-categories-list li a, .sidebar #block-10 .wp-block-latest-comments__comment-meta, .sidebar #block-10 .wp-block-latest-comments__comment-meta a, .sidebar #block-10 .wp-block-latest-comments__comment-meta time, .sidebar #block-10 .wp-block-latest-comments__comment-excerpt, .sidebar #block-10 .wp-block-latest-comments__comment-excerpt p{ font-size:19px!important; line-height:1.65!important; } .sidebar #block-5 .wp-block-latest-posts__list li, .sidebar #block-8 .wp-block-categories-list li{margin-bottom:8px!important;} .sidebar #block-10 .wp-block-latest-comments__comment{margin-bottom:22px!important;} .sidebar #block-10 .wp-block-latest-comments__comment-excerpt p{margin-bottom:0!important;} /* Mantener reglas actuales de las imagenes destacadas. */ /* Imagenes destacadas completas en archivos, blog y busquedas; no afecta a la portada editorial ni a las galerias. */ body.archive .inner-content .blog-thumb > a, body.blog .inner-content .blog-thumb > a, body.search .inner-content .blog-thumb > a{ display:block!important; width:100%!important; height:auto!important; min-height:0!important; padding-bottom:0!important; } body.archive .inner-content .blog-thumb img, body.blog .inner-content .blog-thumb img, body.search .inner-content .blog-thumb img{ position:static!important; inset:auto!important; display:block!important; width:100%!important; max-width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; object-fit:contain!important; } /* Integrar el fondo claro del logotipo con la cabecera. */ .pg-brand .pg-header-logo-direct, .pg-inner-brand .pg-inner-logo3d img { mix-blend-mode: multiply; } /* Pie de los artículos: distribuir los bloques por todo el ancho. */ body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto auto; align-items:start; gap:12px 28px; border-top:1px solid #ded4c5; padding-top:28px!important; inset:auto!important; } body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > .widget {margin:0!important;padding:0!important;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-6,#block-5) {grid-column:1;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-9,#block-10) {grid-column:2;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-7,#block-8) {grid-column:3;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-6,#block-9,#block-7) {grid-row:1;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-5,#block-10,#block-8) {grid-row:2;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-6,#block-9,#block-7) h2 {margin:0;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > :is(#block-2,#text-1,#block-11) {grid-column:1 / -1;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > #block-2 {border-top:1px solid #ded4c5;padding-top:24px!important;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > #block-2 .wp-block-columns {align-items:center!important;max-width:360px;margin:0 auto;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > #block-2 img {width:100%;height:120px;object-fit:contain;} @media (max-width:760px) { body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar {grid-template-columns:minmax(0,1fr);grid-template-rows:none;} body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix aside.sidebar > .widget {grid-column:1!important;grid-row:auto!important;} } /* ===== PG_SINGLE_EDITORIAL_V2_START ===== Pepógrafo · Plantilla editorial para artículos Solo body.single; deja portada, categorías y páginas intactas. Reversible: eliminar únicamente este bloque. */ body.single { background: #111 !important; } body.single .content { box-sizing: border-box; width: 100% !important; max-width: 1100px !important; margin: 0 auto !important; padding: 0 0 40px !important; border-radius: 0 !important; background: var(--paper, #f6f0e6) !important; color: var(--ink, #191716) !important; } body.single .content-wrapper, body.single .inner-content, body.single .post-entry, body.single .sidebar { background: var(--paper, #f6f0e6) !important; color: var(--ink, #191716) !important; } body.single .inner-content, body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix > div.inner-content { box-sizing: border-box; padding: 26px 34px 0 !important; } /* No ocultar navegación: la cabecera editorial del tema permanece. */ body.single .kktfwp-bgImage, body.single .bg-overlay, body.single .bg-slider-ctrl, body.single #slidecaption { display: none !important; } body.single .post-title, body.single .post-title h1, body.single h1.post-title, body.single .post-entry h1, body.single .post-entry h2, body.single .post-entry h3, body.single .sidebar h2, body.single .sidebar h3, body.single #reply-title, body.single .comments-title { font-family: Georgia, "Times New Roman", serif !important; color: var(--ink, #191716) !important; letter-spacing: 0 !important; } body.single .post-title { margin: 0 0 6px !important; } body.single .post-title h1, body.single h1.post-title { font-size: clamp(32px, 4vw, 46px) !important; font-weight: 400 !important; line-height: 1.12 !important; margin: 0 0 14px !important; } body.single .post-entry p { color: #2a2724 !important; } body.single .post-entry > p:first-of-type:not(.pg-editorial-byline) { font-size: 21px !important; } /* Enlaces editoriales: no alterar botones ni enlaces de captación. */ body.single .post-entry a:not( .wp-block-button__link, .button, .btn, [role="button"], .pg-subscribe-post a, #pg-whatsapp-post a, .pg-subscribe-invite a ), body.single .sidebar a, body.single .comments-content a, body.single .textwidget a { color: var(--wine, #7d0c22) !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px !important; } body.single .post-entry :is(p, li, blockquote, figcaption) > a:not( .wp-block-button__link, .button, .btn, [role="button"], .pg-subscribe-post a, #pg-whatsapp-post a, .pg-subscribe-invite a ):hover { background: rgba(125, 12, 34, .08) !important; } body.single .blog-thumb, body.single .blog-thumb img { margin: 0 !important; border-radius: 0 !important; } body.single .post-entry figure.wp-block-image img, body.single .post-entry img { border-radius: 2px; } body.single #progress-bar { background: var(--wine, #7d0c22) !important; } body.single .pg-editorial-byline { color: #6b625a !important; font-family: Georgia, serif !important; } body.single .post-tags a { display: inline-block !important; margin: 0 6px 6px 0 !important; padding: 7px 10px !important; border: 1px solid rgba(125, 12, 34, .35) !important; color: var(--wine, #7d0c22) !important; font: 700 11px/1 Arial, sans-serif !important; letter-spacing: .06em !important; text-transform: uppercase !important; text-decoration: none !important; } body.single .commentlist { padding: 0 !important; } body.single .comment-wrapper { padding: 18px 0 !important; border-top: 1px solid #ded5c8 !important; list-style: none !important; } body.single .comment-author { color: var(--ink, #191716) !important; font: 700 15px Georgia, serif !important; } body.single .comment-text p { font-size: 17px !important; line-height: 1.6 !important; } body.single .comment-text a { color: var(--wine, #7d0c22) !important; } body.single .avatar { border-radius: 2px !important; } body.single #commentform textarea, body.single #commentform input[type="text"], body.single #commentform input[type="email"] { border: 1px solid #d9d2c8 !important; background: #fffdf9 !important; color: #22201e !important; font-family: Georgia, serif !important; font-size: 16px !important; } body.single #commentform input[type="submit"] { padding: 13px 20px !important; border-radius: 2px !important; background: var(--wine, #7d0c22) !important; color: #fff !important; font: 700 12px/1 Arial, sans-serif !important; letter-spacing: .06em !important; text-transform: uppercase !important; } body.single #commentform input[type="submit"]:hover { background: #5b0919 !important; } body.single .sidebar { padding-top: 26px !important; border-top: 1px solid #ded5c8 !important; font-family: Georgia, serif !important; } body.single .sidebar h2, body.single .sidebar h3 { font-size: 15px !important; letter-spacing: .06em !important; text-transform: uppercase !important; } body.single .sidebar a { text-decoration: none !important; } body.single .sidebar a:hover { text-decoration: underline !important; } body.single .footer { background: var(--paper, #f6f0e6) !important; color: #6b625a !important; border-top: 1px solid #ded5c8 !important; margin-top: 30px; padding-top: 18px; } body.single .footer a { color: var(--wine, #7d0c22) !important; } body.single .pg-subscribe-post, body.single #pg-whatsapp-post, body.single .pg-subscribe-invite { border: 1px solid #d7cfc3 !important; border-top: 3px solid var(--wine, #7d0c22) !important; border-radius: 3px !important; background: #fbf6ee !important; } body.single .pg-subscribe-invite { border-top-width: 1px !important; border-left: 4px solid var(--wine, #7d0c22) !important; } body.single .content a:focus-visible, body.single .content button:focus-visible, body.single .content input:focus-visible, body.single .content textarea:focus-visible { outline: 2px solid var(--wine, #7d0c22) !important; outline-offset: 3px !important; } @media (max-width: 767px) { body.single .inner-content, body.single.single-post.blog-right-sidebar div.content-wrapper.clearfix > div.inner-content { padding: 20px 18px 0 !important; } } /* Imagen destacada de artículos: no esperar a la animación lazy del tema. */ body.single-post .blog-thumb.img-loading > img.wp-post-image { opacity: 1 !important; transition: none !important; } /* Párrafos anidados en grupos y columnas Gutenberg: misma lectura que en el nivel superior. */ body.single-post .post-entry :is(.wp-block-group, .wp-block-column, .wp-block-columns) p:not(.pg-editorial-byline) { font-family: Georgia, "Times New Roman", serif; font-size: 18px !important; line-height: 1.65 !important; } @media (max-width: 480px) { body.single-post .post-entry :is(.wp-block-group, .wp-block-column, .wp-block-columns) p:not(.pg-editorial-byline) { font-size: 17px !important; } } /* Página Buscar: encabezado editorial sin depender de Google Fonts. */ body.page-id-7285 .page-title h1, body.page-id-7285 .post-title h1 { font-family: Georgia, "Times New Roman", serif !important; } /* El control Me gusta solo es visible en entradas de blog. La restricción del endpoint AJAX se completa al activar la corrección WPCode 6432. */ body:not(.single-post) .pepografo-like-wrap { display: none !important; } /* Enlaces de la barra lateral: identificables también sin percibir el color. */ body.single-post .sidebar a:not(.button):not([role="button"]) { text-decoration: underline !important; text-underline-offset: 3px !important; } /* ===== PG_SINGLE_EDITORIAL_V2_END ===== */ /* ===== PG_BUSCADOR_CABECERA_2026_11_10_START ===== */ /* El enlace conserva el texto "Buscar" para lectores de pantalla; se presenta como lupa. */ .pg-navlinks.pg-nav-compact > a[href$="/buscar/"] { display:inline-flex!important;align-items:center!important;justify-content:center!important; position:relative!important;flex:0 0 42px!important;width:42px!important;height:42px!important; min-width:42px!important;padding:0!important;border:0!important;line-height:0!important; font-size:0!important;letter-spacing:0!important;color:#fff!important;text-decoration:none!important; } .pg-navlinks.pg-nav-compact > a[href$="/buscar/"]::before { content:"";display:block;position:absolute;left:9px;top:9px;width:15px;height:15px; border:2px solid currentColor;border-radius:50%;box-sizing:border-box; } .pg-navlinks.pg-nav-compact > a[href$="/buscar/"]::after { content:"";display:block;position:absolute;left:21px;top:22px;width:12px;height:2px; border-radius:2px;background:currentColor;transform:rotate(45deg);transform-origin:left center; } .pg-navlinks.pg-nav-compact > a[href$="/buscar/"]:hover{background:rgba(255,255,255,.13)!important;border-radius:3px} .pg-navlinks.pg-nav-compact > a[href$="/buscar/"]:focus-visible{outline:2px solid #fff!important;outline-offset:3px!important;border-radius:3px} @media (max-width:820px) { /* Portada: mantener la lupa visible a la derecha aunque el menú esté plegado. */ body.home.pepografo-editorial .pg-site .pg-navlinks.pg-nav-compact:not(.open){display:contents!important} body.home.pepografo-editorial .pg-site .pg-navlinks.pg-nav-compact:not(.open)>:not(a[href$="/buscar/"]){display:none!important} body.home.pepografo-editorial .pg-site .pg-navlinks.pg-nav-compact:not(.open)>a[href$="/buscar/"]{margin-left:auto!important} body.home.pepografo-editorial .pg-site .pg-navlinks.pg-nav-compact.open>a[href$="/buscar/"]{ position:absolute!important;top:-45px;right:16px;z-index:52;margin:0!important; } /* Interiores: última posición del menú adaptable de dos columnas. */ .pg-inner-shell nav.pg-inner-nav .pg-navlinks.pg-nav-compact>a[href$="/buscar/"]{ justify-self:end!important;align-self:center!important; } } /* ===== PG_BUSCADOR_CABECERA_2026_11_10_END ===== */ /* PEPÓGRAFO 2026-11-18: portada con cuatro tarjetas de Extremadura, dos de humor y rejilla adaptable en tablet. */ @media (min-width: 681px) { body.home.pepografo-editorial .pg-home-group .pg-cards { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; align-items: stretch; } body.home.pepografo-editorial .pg-home-group-humor .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } @media (max-width: 1180px) { body.home.pepografo-editorial .pg-home-group .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } } body.home.pepografo-editorial .pg-home-group .pg-cards > article:last-child:nth-child(odd) { grid-column: auto !important; display: block !important; grid-template-columns: none !important; } body.home.pepografo-editorial .pg-home-group .pg-cards > article:last-child:nth-child(odd) > .pg-cardimg { grid-column: auto !important; grid-row: auto !important; } body.home.pepografo-editorial .pg-home-group .pg-cards > article:last-child:nth-child(odd) > :not(.pg-cardimg) { grid-column: auto !important; } body.home.pepografo-editorial .pg-home-group .pg-cards > article:last-child:nth-child(odd) > h3 { font-size: 21px !important; line-height: 1.2 !important; } body.home.pepografo-editorial .pg-home-group .pg-cards > article:last-child:nth-child(odd) > p { display: none !important; } }
