/*
Theme Name: GeneratePress Child Optimizado
Theme URI: https://numero-virtual-gratis.com
Description: Tema hijo de GeneratePress optimizado para velocidad, anuncios y compatibilidad total sin GP Premium.
Author: David + GPT
Template: generatepress
Version: 1.1
*/

/* ==================== PERSONALIZACIÓN BÁSICA ==================== */

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background-color: #ffffff;
  color: #222;
}

/* Cabecera */
.site-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

/* Logo */
.site-logo img {
  max-height: 60px;
}

/* Título del sitio */
.main-title {
  font-size: 24px;
  font-weight: bold;
  color: #111;
}

/* Menú de navegación */
.main-navigation {
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.main-navigation a {
  color: #333;
  font-weight: 600;
  padding: 10px 15px;
}

.main-navigation a:hover {
  color: #0073aa;
}

/* Contenido */
.entry-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
}

.entry-meta {
  font-size: 14px;
  color: #666;
}

/* Ocultar imagen destacada en post */
.single .post-image,
.single .featured-image,
.single .inside-article .post-image,
.single .inside-article .featured-image {
  display: none !important;
}

/* Anuncios */
.ads-container {
  min-height: 250px;
  margin: 30px auto;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  will-change: transform;
  backface-visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

/* Pie de página */
.site-footer {
  background-color: #f1f1f1;
  color: #555;
  text-align: center;
  padding: 30px 15px;
  font-size: 15px;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .main-navigation a {
    display: block;
    padding: 12px 10px;
  }
  .entry-title {
    font-size: 22px;
  }
  .ads-container {
    padding: 10px 5px;
  }
}

/* Ocultar botón de accesibilidad si deseas */
.skip-link {
  display: none !important;
}
