/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,accessibility-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.3.6.1759499818
Updated: 2025-10-03 10:56:58

/* ===== Estilos para índice de autores ===== */

/* Fondo de la página siempre blanco */
body.archive-autores {
  background: #ffffff;
}

/* Barra A-Z en horizontal */
.indice-letras ul {
  display: flex;
  flex-wrap: wrap;        /* Permite saltar de línea en pantallas pequeñas */
  gap: 12px;              /* Espacio entre letras */
  justify-content: center;
  padding: 0;
  margin: 20px 0 30px 0;  /* Espaciado arriba/abajo */
  list-style: none;
}

.indice-letras li a {
  display: inline-block;
  padding: 6px 10px;
  font-weight: bold;
  text-decoration: none;
  color: #333333;          /* Gris oscuro */
  background: #ffffff;     /* Fondo blanco */
  transition: all 0.2s ease-in-out;
}

/* Hover: fondo suave rosado */
.indice-letras li a:hover {
  background: #FFD0D0;
  color: #333333;
}

/* Letra activa (la de la URL actual) */
.indice-letras li a.active {
  color: #F74A80;          /* Rosa fuerte */
  background: #ffffff;     /* Fondo blanco, sin relleno */
}

/* Títulos principales */
.contenedor-archivo-autores h1 {
  text-align: center;
  margin: 30px 0 25px 0;   /* Aire arriba y abajo */
}

.contenedor-archivo-autores h2 {
  text-align: center;
  margin: 30px 0 20px 0;   /* Aire entre subtítulo y listado */
  color: #333333;
}

/* Mensaje cuando no hay letra seleccionada */
.contenedor-archivo-autores p {
  text-align: center;
  margin: 25px 0;
  color: #333333;
}

/* Listado de autores */
.listado-autores ul {
  list-style: none;
  padding-left: 0;
  margin: 20px auto 40px auto;
  max-width: 600px;        /* Limita ancho para mejor lectura */
}

.listado-autores li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.listado-autores li a {
  text-decoration: none;
  color: #333333;
  transition: color 0.2s ease-in-out;
}

.listado-autores li a:hover {
  color: #F74A80;
  text-decoration: underline;
}
/* ======================================================
   FICHA DE LIBRO (single-libros.php)
   ====================================================== */

/* CONTENEDOR GENERAL */
.libro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
}

/* MARGEN INFERIOR DEL TÍTULO */
.libro__titulo {
  margin-bottom: 25px;
}

/* ------------------------------------------------------
   LAYOUT PRINCIPAL
   ------------------------------------------------------ */
.libro__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.libro__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.libro__cover {
  flex: 0 0 380px;
  text-align: center;
}

/* --- TABLET Y MÓVILES --- */
@media (max-width: 1024px) {
  .libro__grid {
    flex-direction: column;     /* garantiza orden normal */
    align-items: center;        /* centra ambas columnas */
    gap: 40px;                  /* más espacio */
  }
  .libro__meta,
  .libro__cover {
    width: 100%;
    max-width: 700px;
  }
}

/* ------------------------------------------------------
   LISTA DE DATOS
   ------------------------------------------------------ */
.meta-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.meta-list__item {
  margin-bottom: 16px;
  line-height: 1.6;
}

.meta-list__label::after {
  content: "";
}

.meta-list__label {
  font-weight: 600;
  display: inline-block;
  min-width: 180px;
  vertical-align: top;
  color: #111;
}

.meta-list__value {
  display: inline-block;
  vertical-align: top;
  max-width: 900px;
  word-spacing: 2px;
}

/* eliminar bullets con más prioridad */
.libro .meta-list li,
.meta-list li {
  list-style: none !important;
  background: none !important;
}

/* ------------------------------------------------------
   ENLACES
   ------------------------------------------------------ */
.meta-list__value a,
.meta-list__value a:visited {
  color: #d86ca1;
  text-decoration: none;
}

.meta-list__value a:hover {
  text-decoration: underline;
  color: #b84b83;
}

/* ------------------------------------------------------
   PORTADA PRINCIPAL + LEYENDA
   ------------------------------------------------------ */
.libro__cover img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Leyenda (figure o div) */
.libro__cover figcaption,
.libro__cover .wp-caption-text,
.libro__cover-caption {
  margin-top: 8px !important;
  font-size: 0.85rem !important;
  color: #999 !important;
  text-align: center !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  display: block !important;
  width: 100% !important;
}

.libro__cover figure,
.libro__cover .wp-caption {
  margin: 0 auto !important;
  text-align: center !important;
}

/* ------------------------------------------------------
   ARGUMENTO
   ------------------------------------------------------ */
.meta-list__item .meta-list__value p {
  margin-bottom: 10px;
}

/* ------------------------------------------------------
   TABLA DE OTRAS EDICIONES
   ------------------------------------------------------ */
.tabla-ediciones {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 1rem;
}

.tabla-ediciones th,
.tabla-ediciones td {
  border: 1px solid #ddd;
  padding: 14px 18px;
  text-align: center;
}

.tabla-ediciones th {
  background-color: #f8f8f8;
  font-weight: 600;
  color: #333;
}

/* Ajuste de proporciones entre columnas */
.tabla-ediciones td:first-child,
.tabla-ediciones th:first-child {
  width: 18%;        /* más estrecha: solo año */
  text-align: center;
  white-space: nowrap;
}

.tabla-ediciones td:last-child,
.tabla-ediciones th:last-child {
  width: 82%;        /* más espacio para colección, número, detalle */
  text-align: left;  /* mejora legibilidad */
}

/* En pantallas pequeñas, que ambas columnas ocupen toda la línea */
@media (max-width: 600px) {
  .tabla-ediciones td,
  .tabla-ediciones th {
    display: block;
    width: 100% !important;
    text-align: left !important;
  }
  .tabla-ediciones tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #ddd;
  }
  .tabla-ediciones td:first-child {
    background-color: #f8f8f8;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
  }
}
/* ------------------------------------------------------
   GALERÍAS (Otras portadas / Audiolibro)
   ------------------------------------------------------ */
.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 25px -8px 35px; /* más espacio arriba y abajo */
}

.meta-list__label + .meta-list__value .galeria {
  margin-top: 20px;
}

.galeria__img,
.galeria img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 8px;
  max-width: 200px;
}

/* ------------------------------------------------------
   AUDIOLIBRO
   ------------------------------------------------------ */
.audiolibro-texto {
  text-align: left;
  margin-bottom: 10px;
}

.audiolibro-imagenes {
  text-align: center;
  margin-top: 30px; /* más separación arriba */
}

.audiolibro-imagenes img {
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 10px auto;
  display: block;
}

/* --- Asegurar centrado en tablet/móvil --- */
@media (max-width: 1024px) {
  .audiolibro-imagenes {
    text-align: center !important;
  }
  .audiolibro-imagenes img {
    margin: 10px auto !important;
  }
}

/* ------------------------------------------------------
   RESPONSIVE EXTRA PEQUEÑO
   ------------------------------------------------------ */
@media (max-width: 768px) {
  .meta-list__label {
    display: block;
    margin-bottom: 4px;
    min-width: 0;
  }
  .meta-list__value {
    display: block;
  }
}

/* ==============================
   ESTILOS ARCHIVO DE TEMAS (FORMATO LISTADO)
   ============================== */

.archivo-temas {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  text-align: center; /* Centra encabezado y mensajes */
}

/* Encabezado superior */
.encabezado-tema {
  background-color: #ffffff;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 2.5rem;
}

.encabezado-tema h1 {
  font-size: 2.2rem;
  margin: 0;
  color: #4b0082;
  font-weight: 600;
}

.encabezado-tema p.descripcion-tema {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1rem;
  color: #555;
}

/* Listado de libros */
.listado-libros {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 700px;
}

.item-libro {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left; /* texto alineado correctamente */
}

.item-libro:last-child {
  border-bottom: none;
}

.miniatura-libro img {
  width: 80px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.info-libro {
  flex: 1;
}

.titulo-libro {
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.titulo-libro a {
  color: #333;
  text-decoration: none;
}

.titulo-libro a:hover {
  color: #7a42f4;
  text-decoration: underline;
}

.autor-libro {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.3rem;
}

.autor-libro a {
  color: #7a42f4;
  text-decoration: none;
}

.autor-libro a:hover {
  text-decoration: underline;
}

/* ==========================================================
   === SERIES DE AUTORA (centrado definitivo) ===
   ========================================================== */

/* === CENTRAR EL TÍTULO PRINCIPAL === */
.page-template-page-series-autor .site-main.entry-content > h1 {
  text-align: center;
  margin: 0 auto 60px auto;
  font-family: var(--global-heading-font-family, inherit);
  font-size: var(--global-h1-font-size, 2.5rem);
  color: var(--global-palette5, #111);
  font-weight: var(--global-heading-font-weight, 600);
  line-height: 1.2;
}

/* === CONTENEDOR GENERAL === */
.page-template-page-series-autor .entry-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

/* === BLOQUE DE SERIE === */
.entry-content .serie-bloque {
  max-width: 900px;
  margin: 0 auto 80px auto;
  text-align: center;
}

/* === TÍTULO DE CADA SERIE === */
.entry-content .serie-bloque h3 {
  margin: 0 0 35px 0;
  text-align: center;
  font-family: var(--global-heading-font-family, inherit);
  font-size: var(--global-h3-font-size, 1.6rem);
  color: var(--global-palette5, #111);
  font-weight: var(--global-heading-font-weight, 600);
  line-height: 1.3;
}

/* === TABLAS === */
.entry-content .tabla-serie {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.entry-content .tabla-serie th,
.entry-content .tabla-serie td {
  padding: 14px 18px;
  border-bottom: 1px solid #ddd;
}

.entry-content .tabla-serie thead {
  background-color: #f8f8f8;
}

.entry-content .tabla-serie tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* === ENLACES === */
.entry-content .tabla-serie a,
.entry-content .tabla-serie a:visited {
  color: #d86ca1;
  text-decoration: none;
}

.entry-content .tabla-serie a:hover {
  text-decoration: underline;
  color: #b84b83;
}

/* === SEPARACIÓN ENTRE SERIES === */
.entry-content .serie-bloque + .serie-bloque {
  margin-top: 100px;
  border-top: 1px solid #e5e5e5;
  padding-top: 80px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .page-template-page-series-autor .entry-content {
    padding: 30px 15px;
  }

  .entry-content .serie-bloque {
    max-width: 100%;
    margin-bottom: 60px;
  }

  .entry-content .tabla-serie {
    font-size: 0.9rem;
  }

  .page-template-page-series-autor .site-main.entry-content > h1 {
    font-size: 2rem;
    margin-bottom: 45px;
  }

  .entry-content .serie-bloque h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }
/* === NOMBRE ORIGINAL DE LA SERIE === */
.entry-content .serie-nombre-original {
  font-size: 1rem; /* fuente base */
  color: #555;
  margin-top: 4px;
  margin-bottom: 25px;
  font-style: italic;
  font-family: var(--global-body-font-family, inherit);
}

/* ===== Estilos para índice de series multiautor ===== */

/* Fondo blanco, igual que el de autores */
body.archive-series-multiautor {
  background: #ffffff;
}

/* Contenedor general */
.contenedor-archivo-series-multiautor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
  text-align: center; /* 🔹 centra todo el contenido dentro */
}

/* Título principal */
.contenedor-archivo-series-multiautor h1 {
  text-align: center;
  margin: 30px 0 25px 0;
  color: #333333;
}

/* Subtítulo por letra */
.contenedor-archivo-series-multiautor h2 {
  text-align: center;
  margin: 30px 0 20px 0;
  color: #333333;
}

/* Barra de letras A-Z */
.indice-letras ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0;
  margin: 20px 0 30px 0;
  list-style: none;
}

.indice-letras li a {
  display: inline-block;
  padding: 6px 10px;
  font-weight: bold;
  text-decoration: none;
  color: #333333;
  background: #ffffff;
  transition: all 0.2s ease-in-out;
}

/* Hover: fondo rosado suave */
.indice-letras li a:hover {
  background: #FFD0D0;
  color: #333333;
}

/* Letra activa */
.indice-letras li a.active {
  color: #F74A80;
  background: #ffffff;
}

/* Listado de series */
.listado-series-multiautor ul {
  list-style: none;
  padding-left: 0;
  margin: 20px auto 40px auto;
  max-width: 600px;
  text-align: center; /* 🔹 centra los enlaces de la lista */
}

.listado-series-multiautor li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.listado-series-multiautor li a {
  text-decoration: none;
  color: #333333;
  transition: color 0.2s ease-in-out;
}

.listado-series-multiautor li a:hover {
  color: #F74A80;
  text-decoration: underline;
}

/* Mensaje genérico (sin letra o sin resultados) */
.contenedor-archivo-series-multiautor p {
  text-align: center;
  margin: 25px 0;
  color: #333333;
}

/* ==========================================================
   === SERIES MULTIAUTOR (versión estable + viñetas corregidas) ===
   ========================================================== */

/* Contenedor principal */
.contenedor-archivo-series-multiautor {
  text-align: center; /* Centra el título, no el contenido del listado */
}

/* Listado general */
.listado-series-multiautor {
  list-style: disc;          /* ✅ Muestra las viñetas */
  margin: 0 auto 60px auto;
  padding-left: 1.5em;       /* ✅ Espacio suficiente para las viñetas */
  columns: 3;                /* ✅ Tres columnas */
  column-gap: 40px;
  max-width: 1000px;
  display: inline-block;     /* ✅ Centra el bloque dentro del contenedor */
  text-align: left;          /* ✅ Texto alineado correctamente */
}

/* Ítems */
.listado-series-multiautor li {
  margin-bottom: 10px;
  break-inside: avoid;
  font-size: 1rem;
}

/* Enlaces (heredan colores de Kadence) */
.listado-series-multiautor a {
  text-decoration: none;
}

.listado-series-multiautor a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .listado-series-multiautor {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .listado-series-multiautor {
    columns: 1;
  }
}

/* ==========================================================
   === FICHA INDIVIDUAL DE AUTOR (single-autores.php) ===
   ========================================================== */

/* Centrado general coherente con Kadence */
body.single-autores .content-area,
body.single-autores .site-main,
body.single-autores .entry-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
  background: #fff;
  text-align: center; /* 🟢 añadido para centrar como las series */
}

/* Título principal */
.titulo-autor {
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--global-heading-font-family, inherit);
  font-size: var(--global-h1-font-size, 2.2rem);
  color: var(--global-palette5, #111);
  font-weight: var(--global-heading-font-weight, 600);
  line-height: 1.2;
}

/* Bloque principal */
.autor-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 60px;
  text-align: left; /* mantiene el texto de los datos correctamente alineado */
}

/* Columna izquierda */
.autor-datos {
  flex: 1 1 55%;
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  margin: 0 auto; /* 🟢 centrado estructural */
}

.autor-datos p {
  margin-bottom: 10px;
}

/* Solo negrita, sin color rosa */
.autor-datos strong {
  font-weight: 600;
  color: inherit;
}

/* Columna derecha: foto */
.autor-foto {
  flex: 0 0 260px;
  text-align: center;
}

.autor-foto img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Series */
.autor-series {
  text-align: center;
  margin: 60px auto 80px auto;
}

.autor-series h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333333;
}

.autor-series a {
  color: var(--global-palette3, #d86ca1);
  font-weight: 600;
  text-decoration: none;
}

.autor-series a:hover {
  color: var(--global-palette4, #b84b83);
  text-decoration: underline;
}

/* Bloque de libros */
.autor-libros {
  max-width: 800px;
  margin: 0 auto;
  text-align: center; /* 🟢 centrado global */
}

.autor-libros h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #333333;
}

.autor-libros ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block; /* 🟢 permite centrar la lista */
  text-align: left; /* mantiene legibilidad del texto */
  columns: 1;
}

.autor-libros.dos-columnas ul {
  columns: 2;
  column-gap: 40px;
}

.autor-libros li {
  margin-bottom: 10px;
}

/* Hereda los estilos de enlace del tema */
.autor-libros a {
  text-decoration: none;
  color: inherit;
}

.autor-libros a:hover {
  text-decoration: underline;
  color: var(--global-palette3, #d86ca1);
}

/* Responsive */
@media (max-width: 1024px) {
  .autor-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .autor-datos {
    flex: 1 1 100%;
  }

  .autor-foto {
    flex: 0 0 auto;
    margin-top: 30px;
  }

  .autor-libros.dos-columnas ul {
    columns: 1;
  }
}

/* ==========================================================
   === Ajustes de estilo coherentes para single-autores ===
   ========================================================== */

.titulo-autor {
  font-family: var(--global-heading-font-family, inherit);
  font-size: var(--global-h1-font-size, 2.2rem);
  color: var(--global-palette5, #111);
  font-weight: var(--global-heading-font-weight, 600);
  line-height: 1.2;
}

.autor-datos strong {
  font-weight: 600;
  color: inherit; /* Solo negrita, sin rosado */
}

.enlace-rosa {
  color: #d86ca1;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.enlace-rosa:hover {
  color: #b84b83;
  text-decoration: underline;
}
