/* BOTÓN "LEER MÁS" retro solo en la portada del blog */
.blog .read-more a {
  display: inline-block;
  background-color: #E07A5F;
  color: #fff !important;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #3D405B;
  transition: all 0.2s ease;
  border: 2px solid #3D405B;
}

.blog .read-more a:hover {
  background-color: #81B29A;
  color: #3D405B !important;
  box-shadow: 3px 3px 0 #E07A5F;
}

/* FONDO general solo para la portada del blog */
.blog.ast-page-builder-template #primary {
  background-color: #f4f1de;
  padding: 2rem;
}

/* Fondo retro para la portada del blog */
body.blog {
  background-color: #f4f1de;
}

/* CONTENEDORES DE ENTRADA del blog */
.blog .ast-article-post {
  background-color: #F2CC8F;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* EFECTO HOVER retro */
.blog .ast-article-post:hover {
  background-color: #E07A5F;
  transform: translateY(-5px);
}

/* TÍTULOS de entradas del blog */
.blog h2.entry-title.ast-blog-single-element a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #3D405B;
  text-shadow: 1px 1px #F4F1DE;
  transition: color 0.3s ease;
}

.blog h2.entry-title.ast-blog-single-element a:hover {
  color: #81B29A;
}

/* METADATOS bajo el título */
.blog .entry-header,
.blog .entry-header a,
.blog .entry-header span {
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-style: italic;
  color: #f4f1de;
  text-shadow: 1px 1px 0 #3d405b;
  letter-spacing: 0.5px;
}

/* MARCO RETRO para imágenes destacadas */
.blog .post-thumb img {
  border: 4px solid #3D405B;
  border-radius: 8px;
  padding: 4px;
  background-color: #F4F1DE;
  box-shadow: 4px 4px 0 #E07A5F;
  transition: transform 0.3s ease;
}

.blog .post-thumb img:hover {
  transform: scale(1.02);
  box-shadow: 6px 6px 0 #81B29A;
}

/* ESTILO RETRO para widgets en barra lateral */
.blog .widget {
  background-color: #F2CC8F;
  border: 2px solid #3D405B;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 #E07A5F;
}

.blog .widget-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #3D405B;
  border-bottom: 2px dashed #3D405B;
  padding-bottom: 6px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog .widget a {
  color: #3D405B;
  text-decoration: none;
  font-family: 'Crimson Text', serif;
}

.blog .widget a:hover {
  color: #E07A5F;
  text-decoration: underline;
}



/* Importar tipografía retro */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* Fondo general solo en posts del blog */

/* Fondo retro para las entradas del blog */
body.single-post {
  background-color: #f4f1de;
}


/* 🔸 Contenedor externo del post (solo en entradas individuales) */
.single-post .ast-container {
  border-radius: 24px 24px 0 0; /* Solo esquinas superiores */
  overflow: hidden; /* Para evitar que sobresalga contenido angular */
  box-shadow: 4px 4px 0 #3d405b;
  border: none;
}

/* 🔸 Capas interiores que deben respetar el redondeo */
.single-post .content-area,
.single-post #primary,
.single-post #main,
.single-post .entry-content {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background-color: transparent; /* Evita que tapen el fondo */
}

/* Título del post */
.single-post h1.entry-title {
  font-family: 'Playfair Display', serif;
  color: #E07A5F;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 1px 1px 0 #3D405B;
}

/* Metadata bajo título */
.single-post .ast-meta-category, 
.single-post .ast-meta-date, 
.single-post .ast-meta-author {
  font-style: italic;
  color: #81B29A;
  font-size: 0.9rem;
}

/* Estilo para las imágenes dentro del post */
.single-post .entry-content img {
  border: 4px solid #3D405B;
  border-radius: 8px;
  padding: 4px;
  background-color: #F4F1DE;
  box-shadow: 3px 3px 0 #E07A5F;
  margin: 1rem 0;
}

/* Botón leer más o enlaces destacados */
.single-post .entry-content a.button, 
.single-post .entry-content .wp-block-button__link {
  display: inline-block;
  background-color: #E07A5F;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  border: 2px solid #3D405B;
  text-decoration: none;
  box-shadow: 2px 2px 0 #3D405B;
  transition: all 0.3s ease;
}

.single-post .entry-content a.button:hover, 
.single-post .entry-content .wp-block-button__link:hover {
  background-color: #3D405B;
  color: #F2CC8F;
  box-shadow: 3px 3px 0 #E07A5F;
}

/* Listas dentro del contenido */
.single-post .entry-content ul li::marker {
  color: #E07A5F;
}
/* === ESTILO PARA WIDGETS EN POSTS === */
.single-post .widget {
  background-color: #f2cc8f;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 2px 2px 0 #e07a5f;
  border: 1px solid #3d405b;
  margin-bottom: 20px;
}

.single-post .widget-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #3d405b;
  border-bottom: 1px dashed #3d405b;
  padding-bottom: 4px;
}

.single-post .post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 20px;
  background-color: #f2cc8f;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: inset 0px -4px 0px #3d405b;
	border: 1px solid #3d405b;
}

.single-post .post-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e07a5f;
  color: #fff !important;
  padding: 10px 20px;
  min-width: 240px;
  height: 48px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #000;
  border: 2px solid #000;
  transition: all 0.2s ease;
  text-align: center;
	border: 1px solid #3d405b;
}

.single-post .post-navigation a:hover {
  background-color: #3d405b;
  color: #f2cc8f !important;
  box-shadow: 3px 3px 0 #e07a5f;

}


/* Sombra interior superior y borde retro solo al artículo del post */
.single-post article.ast-article-single {
  border: 1px solid #3d405b;
  box-shadow: inset 0px 4px 0px #3d405b;
  border-radius: 24px 24px 0 0;
  background-color: #f4f4f4; /* Por si el fondo no hereda bien */
  padding: 1.5rem;
}




/* Cambiar título "retrobjetos" por "El Desván de Retrobjetos" solo en el blog */
body.archive.author .page-title.ast-archive-title::before {
  content: "El Desván de Retrobjetos";
  display: block;
  font-size: 3rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #E07A5F;
  text-shadow: 1px 1px 0 #3D405B;
  text-align: center;
}

/* Ocultar el texto original "retrobjetos" */
body.archive.author .page-title.ast-archive-title {
  font-size: 0;
  color: transparent;
}


/* Añadir espacio debajo del título del blog */
body.archive.author .ast-author-box.ast-archive-description {
  margin-bottom: 2.5rem;
}


/* Oculta el avatar del autor en el blog */
body.archive.author .ast-author-avatar {
  display: none;
}



/* === ESTILO RETRO SOLO PARA ARCHIVOS DE CATEGORÍA === */

/* 🟡 FONDO CREMA solo en archivos de categoría */
body.archive.category {
  background-color: #f4f1de;
}

/* 🟡 CONTENEDOR general del título y descripción de la categoría */
body.archive.category .ast-archive-description {
  background-color: #fffaf2;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 4px 4px 0 #3d405b;
  max-width: 900px;
  margin: 3rem auto 2rem auto;
  text-align: center;
}

/* 🟠 TÍTULO principal de la categoría */
body.archive.category .ast-archive-description .ast-archive-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #e07a5f;
  text-shadow: 1px 1px 0 #3d405b;
  margin-bottom: 1.5rem;
}

/* 🔹 PÁRRAFO de descripción bajo el título */
body.archive.category .ast-archive-description p {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  color: #3d405b;
  line-height: 1.6;
}

/* 🔲 ENTRADAS individuales dentro del archivo */
body.archive.category .ast-article-post {
  background-color: #f2cc8f;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

body.archive.category .ast-article-post:hover {
  background-color: #e07a5f;
  transform: translateY(-5px);
}

/* 🖼️ IMÁGENES destacadas con marco */
body.archive.category .post-thumb img {
  border: 4px solid #3d405b;
  border-radius: 8px;
  background-color: #fffaf2;
  padding: 4px;
  box-shadow: 3px 3px 0 #e07a5f;
  transition: transform 0.3s ease;
}

body.archive.category .post-thumb img:hover {
  transform: scale(1.03);
  box-shadow: 4px 4px 0 #81b29a;
}

/* 🧷 TÍTULOS de los posts */
body.archive.category h2.entry-title.ast-blog-single-element a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #3d405b;
  text-shadow: 1px 1px #f4f1de;
  transition: color 0.3s ease;
}

body.archive.category h2.entry-title.ast-blog-single-element a:hover {
  color: #81b29a;
}

/* ℹ️ METADATOS bajo título */
body.archive.category .entry-header,
body.archive.category .entry-header a,
body.archive.category .entry-header span {
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-style: italic;
  color: #f4f1de;
  text-shadow: 1px 1px 0 #3d405b;
  letter-spacing: 0.5px;
}

/* 🔘 BOTÓN leer más */
body.archive.category .read-more a {
  display: inline-block;
  background-color: #e07a5f;
  color: #fff !important;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #3d405b;
  border: 2px solid #3d405b;
  transition: all 0.2s ease;
}

body.archive.category .read-more a:hover {
  background-color: #81b29a;
  color: #3d405b !important;
  box-shadow: 3px 3px 0 #e07a5f;
}

/* 🅰️ FUENTES desde Google */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');


/* 📦 ESTILO RETRO para widgets */
body.archive.category .widget {
  background-color: #f2cc8f;
  border: 2px solid #3d405b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 #e07a5f;
}

/* 🏷️ Título del widget */
body.archive.category .widget-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #3d405b;
  border-bottom: 2px dashed #3d405b;
  padding-bottom: 6px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 🔗 Enlaces dentro del widget */
body.archive.category .widget a {
  color: #3d405b;
  text-decoration: none;
  font-family: 'Crimson Text', serif;
}

body.archive.category .widget a:hover {
  color: #e07a5f;
  text-decoration: underline;
}








