/* =========================
   FONDO GENERAL
========================= */
body{
  background: #f5eee5;
}

/* =========================
   TÍTULOS
========================= */
h1, h2, h3{
  font-family: inherit;
}

/* =========================
   LINKS
========================= */
a{
  color: #fa074e;
}

a:hover{
  color: #ffde59;
}

/* =========================
   POSTS
========================= */
.post, .type-post, article{
  border-radius: 12px;
}

/* =========================
   IMÁGENES
========================= */
img{
  border-radius: 10px;
  transition: transform 0.35s ease;
}

.post img,
.type-post img,
article img{
  transition: transform 0.35s ease;
}

.post:hover img,
.type-post:hover img,
article:hover img{
  transform: scale(1.05);
}

/* =========================
   BLOG MÁS COMPACTO
========================= */
.blog .post,
.blog .type-post,
.blog article{
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.blog h2{
  font-size: 18px;
  line-height: 1.3;
}

.blog p{
  font-size: 14px;
  line-height: 1.4;
}

/* =========================
   HEADER
========================= */
header,
.site-header,
.elementor-location-header,
.elementor-header{
  background: #f5eee5 !important;
  border-bottom: 3px solid #fa074e !important;
  padding: 12px 20px !important;
}

/* =========================
   LOGO
========================= */
.site-title,
.site-logo,
.elementor-heading-title{
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* =========================
   MENÚ
========================= */
nav a,
.menu a,
.elementor-nav-menu a{
  color: #333 !important;
  font-weight: 600 !important;
  padding: 10px 12px !important;
  position: relative;
  transition: all 0.3s ease;
}

nav a:hover,
.menu a:hover,
.elementor-nav-menu a:hover{
  color: #fa074e !important;
}

/* SUBRAYADO */
nav a::after,
.menu a::after,
.elementor-nav-menu a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #fa074e;
  transition: 0.3s;
}

nav a:hover::after,
.menu a:hover::after,
.elementor-nav-menu a:hover::after{
  width: 100%;
}

/* =========================
   🔥 CATEGORÍAS (ARREGLADAS Y PRO)
========================= */
.wp-block-post-terms a{
  background: #fa074e;
  color: #fff !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  display: inline-block;
  transition: 0.3s ease;
}

.wp-block-post-terms a:hover{
  background: #ffde59;
  color: #111 !important;
}

/* =========================
   GRID LIBROS
========================= */
.libro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.libro-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    padding-bottom: 15px;
}

.libro-card:hover {
    transform: translateY(-5px);
}

.libro-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.libro-card h2 {
    font-size: 18px;
    padding: 10px 15px 0 15px;
}

.libro-card p {
    padding: 0 15px;
    font-size: 14px;
    color: #555;
}
/* =========================
   TÍTULOS DE POSTS / NOTAS RECIENTES
========================= */
.elementor-post__title a,
.elementor-post__title,
.elementor-posts-container .elementor-heading-title,
.elementor-widget-posts .elementor-post__title a,
h3.elementor-post__title a {
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.4 !important;
}

.elementor-post__title a:hover {
  color: #fa074e !important;
}