/* ============================================================
   Ficha de autor (/autores/{autor}/) — PuntoSeguro, 28/10/2026 (v1.0.1)
   Cabecera: foto 200 px + nombre (H1) + rol + redes. Debajo, columna
   de lectura (bio, credenciales, experiencia...) y los artículos del
   blog en caja. Tokens de marca: Poppins, #142c91, #39B220, #EDEEF6.
   Vale para las tres estructuras de ficha: la cabecera la inyecta el
   PHP (.ps-autor-diseno__header) y el resto cuelga de .author-content.
   ============================================================ */
body.single-autores main > .container{ max-width: 960px; }
body.single-autores .ps-breadcrumb{ max-width: 960px; margin: 22px auto 14px; padding: 0 16px; }
body.single-autores .content-row-auth{ width: 100%; max-width: 960px; margin: 0 auto 40px; padding: 0 16px; }

/* Rejilla: foto | cabecera; debajo todo a ancho completo */
body.single-autores .content-card-auth{
  display: grid; grid-template-columns: 200px minmax(0,1fr); grid-template-rows: auto auto;
  column-gap: 32px; row-gap: 0; align-items: start;
}
body.single-autores .author-content, body.single-autores .author-content > .ps-author{ display: contents; }
body.single-autores .author-image{ grid-column: 1; grid-row: 1 / span 2; float: none; margin: 0; max-width: 200px; }
body.single-autores .author-image img{ width: 200px; height: 200px; object-fit: cover; border-radius: 3px; display: block; }
body.single-autores .ps-autor-diseno__header{ grid-column: 2; grid-row: 1; margin: 0; }
body.single-autores .ps-autor-diseno__header h1{ font-size: 38px; line-height: 1.15; font-weight: 700; color: #142c91; margin: 4px 0 10px; }
body.single-autores .ps-autor-diseno__header p{ font-size: 17px; line-height: 1.6; color: #333; margin: 0; }
body.single-autores .ps-autor-diseno__header p strong{ color: #142c91; }
body.single-autores .social-icons{ grid-column: 2; grid-row: 2; margin: 14px 0 0 !important; }
body.single-autores .social-icons a{ border-radius: 3px; }
body.single-autores .content-card-auth > :not(.author-image):not(.social-icons),
body.single-autores .author-content > :not(.ps-autor-diseno__header),
body.single-autores .author-content > .ps-author > *{ grid-column: 1 / -1; }

/* Separador y columna de lectura */
body.single-autores .ps-autor-diseno__sep{ margin: 36px 0 28px; border: 0; border-top: 1px solid #e3e6f0; height: 0; opacity: 1; }
body.single-autores .author-content p{ font-size: 17px; line-height: 1.7; color: #333; margin: 0 0 1em; text-align: left !important; }
body.single-autores .author-content h3{ font-size: 20px; font-weight: 500; color: #142c91; margin: 30px 0 10px; text-align: left !important; }
body.single-autores .author-content ul{ margin: 0 0 10px; padding-left: 22px !important; }
body.single-autores .author-content ul > li{ list-style: disc outside !important; font-size: 16px; line-height: 1.6; color: #333; margin: 0 0 7px; }
body.single-autores .author-content ul > li::marker{ color: #39B220; }
body.single-autores .author-content ul > li[style]{ list-style: none !important; margin-left: -22px; } /* <li> contenedor del bloque Contacto */
body.single-autores .author-content ul ul{ margin-top: 4px; }

/* Artículos del blog (plugin PS Autores) */
body.single-autores .ps-autor-articulos{ max-width: none; margin: 34px 0 8px; padding: 22px 24px; background: #EDEEF6; border-radius: 3px; }
body.single-autores .ps-autor-articulos h3{ margin-top: 0; }
body.single-autores .ps-autor-articulos p{ font-size: 16px; }
/* Más específico que "ul > li" de arriba: aquí sin viñetas */
body.single-autores .ps-autor-articulos ul.ps-autor-articulos__lista{ list-style: none; padding-left: 0 !important; }
body.single-autores .ps-autor-articulos ul.ps-autor-articulos__lista > li{ list-style: none !important; font-size: 16px; padding: 10px 0; border-bottom: 1px solid #d9dcea; margin: 0; }
body.single-autores .ps-autor-articulos ul.ps-autor-articulos__lista > li::marker{ content: ''; }
body.single-autores .ps-autor-articulos ul.ps-autor-articulos__lista > li:last-child{ border-bottom: 0; }
body.single-autores .ps-autor-articulos__lista a{ font-weight: 500; }
body.single-autores .ps-autor-articulos__todos{ margin: 12px 0 0; }
body.single-autores .ps-autor-articulos__todos a{ display: inline-flex; align-items: center; background: #142c91; color: #fff !important; font-weight: 500; padding: 10px 18px; border-radius: 3px; text-decoration: none !important; }
body.single-autores .ps-autor-articulos__todos a:hover{ background: #002f87; }

@media (max-width: 767px){
  body.single-autores .ps-breadcrumb__current, body.single-autores .ps-breadcrumb__sep:last-of-type{ display: none; }
  body.single-autores .content-card-auth{ grid-template-columns: minmax(0,1fr); }
  body.single-autores .author-image{ grid-column: 1; grid-row: 1; margin: 0 auto; }
  body.single-autores .author-image img{ width: 150px; height: 150px; border-radius: 50%; }
  body.single-autores .ps-autor-diseno__header{ grid-column: 1; grid-row: 2; text-align: center; margin-top: 14px; }
  body.single-autores .ps-autor-diseno__header h1{ font-size: 28px; }
  body.single-autores .ps-autor-diseno__header p{ font-size: 15px; text-align: center !important; }
  body.single-autores .social-icons{ grid-column: 1; grid-row: 3; justify-content: center; }
  body.single-autores .ps-autor-diseno__sep{ margin: 26px 0 22px; }
  body.single-autores .author-content p{ font-size: 16px; }
  body.single-autores .ps-autor-articulos{ padding: 18px 16px; }
}

/* ============================================================
   v1.1.0 — Listado /autores/ (plantilla autores-2025): sin portada, H1 en
   el contenido, intro a 960 px y tarjetas de autor (foto, nombre, extracto,
   "Ver ficha"). 3 columnas / 2 en tablet / 1 en móvil.
   ============================================================ */
body.page-template-autores-2025 .ps-breadcrumb{ max-width: 960px; margin: 22px auto 10px; padding: 0 16px; }
body.page-template-autores-2025 .ps-autores-diseno__head{ max-width: 960px; margin: 0 auto; padding: 0 16px; }
body.page-template-autores-2025 .ps-autores-diseno__head h1{ font-size: 38px; line-height: 1.15; font-weight: 700; color: #142c91; margin: 4px 0 6px; text-align: left; }
body.page-template-autores-2025 .autores-intro{ max-width: 960px; margin: 10px auto 8px; padding: 0 16px; }
body.page-template-autores-2025 .autores-intro__inner{ max-width: none; }
body.page-template-autores-2025 .autores-intro__inner ul{ list-style: disc; }
body.page-template-autores-2025 .autores-intro__inner ul li{ list-style: disc outside; }
body.page-template-autores-2025 .autores-intro__inner ul li p{ margin: 0; }
body.page-template-autores-2025 main > .container > section > h2:empty{ display: none; }
body.page-template-autores-2025 .content-row.company-margin{ width: 100%; max-width: 960px; margin: 8px auto 48px; padding: 0 16px; gap: 24px; align-items: stretch; justify-content: flex-start; }
body.page-template-autores-2025 .company-content-card{ flex: 1 1 calc(33.333% - 16px); max-width: calc(33.333% - 16px); margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e6f0; border-radius: 3px; padding: 0 0 20px; overflow: hidden; }
body.page-template-autores-2025 .company-content-card .companyimage{ margin: 0 0 16px; width: 100%; }
body.page-template-autores-2025 .company-content-card .companyimage img{ width: 100%; height: 260px; object-fit: cover; display: block; }
body.page-template-autores-2025 .company-content-card h3{ order: 1; margin: 0 20px 6px; font-size: 20px; line-height: 1.3; }
body.page-template-autores-2025 .company-content-card h3 a.company-button{ display: inline; background: none !important; color: #142c91 !important; padding: 0; font-weight: 700; font-size: 20px; text-decoration: none; border: 0; box-shadow: none; }
body.page-template-autores-2025 .company-content-card h3 a.company-button:hover{ color: #002f87 !important; text-decoration: underline; }
body.page-template-autores-2025 .company-content-card .company-text{ order: 2; margin: 0 20px; flex: 1 1 auto; }
body.page-template-autores-2025 .company-content-card .company-text p{ font-size: 15px; line-height: 1.55; color: #333; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
body.page-template-autores-2025 .company-content-card .ps-autores-diseno__ver{ order: 3; margin: 14px 20px 0; font-size: 14px; font-weight: 500; color: #39B220; text-decoration: none; align-self: flex-start; }
body.page-template-autores-2025 .company-content-card .ps-autores-diseno__ver:hover{ text-decoration: underline; }
@media (max-width: 991px){ body.page-template-autores-2025 .company-content-card{ flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); } }
@media (max-width: 600px){
  body.page-template-autores-2025 .company-content-card{ flex-basis: 100%; max-width: 100%; }
  body.page-template-autores-2025 .ps-autores-diseno__head h1{ font-size: 28px; }
  body.page-template-autores-2025 .company-content-card .companyimage img{ height: 240px; }
}

/* v1.1.1 — El tema pone a, button { white-space: nowrap } en global y los
   títulos largos de la lista de artículos se salían de la caja. */
body.single-autores .author-content a,
body.page-template-autores-2025 .autores-intro a,
body.page-template-autores-2025 .company-content-card a{ white-space: normal; }
