/* ===== FOOTER PERSONALIZADO ===== */
.site-info {
  font-size: 0;
  text-align: center;
  opacity: 0.8;
}

.site-info:before {
  content: "© 2026 Conectando Bienestar";
  font-size: 13px;
}

/* ===== OPTIMIZACIÓN HEADER MÓVIL (COMPACTO PRO) ===== */
@media (max-width: 768px) {

  .site-header {
    padding: 0 !important;
    margin: 0 !important;
  }

  .custom-logo {
    max-height: 50px !important;
    width: auto !important;
  }

  .header-inner,
  .header-container,
  .site-branding {
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-branding img {
    max-height: 50px !important;
  }

  /* Menú más compacto */
  .main-navigation {
    font-size: 14px;
    padding: 5px 0 !important;
    margin: 0 !important;
  }

  .menu-toggle {
    margin: 5px 0 !important;
  }

}
/* ===== ARTÍCULOS RELACIONADOS ===== */
.cb-relacionados {
    margin: 40px 0 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}
.cb-relacionados h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.cb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.cb-card {
    text-decoration: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.cb-card:hover { transform: translateY(-3px); }
.cb-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.cb-card span {
    display: block;
    padding: 10px;
    font-size: 0.9em;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}
@media(max-width: 600px) {
    .cb-grid { grid-template-columns: 1fr; }
}

/* ===== FIX CLS - CONTENEDOR PRINCIPAL ===== */
.site.grid-container#page {
  height: unset !important;
  min-height: 100vh;
}

/* ===== FIX CLS - IMAGENES DESTACADAS ===== */
.wp-post-image,
img.attachment-full,
img.size-full {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: attr(width) / attr(height);
}