/*
 Theme Name:   Astra iSHOW Child
 Theme URI:    https://ishow.com.mx/
 Description:  Tema Hijo para el Blog de iSHOW, basado en Astra, replicando la identidad visual de iSHOW.com.mx.
 Author:       Marco (Desarrollador B2B)
 Author URI:   https://ishow.com.mx/
 Template:     astra
 Version:      1.1.2
 Text Domain:  astra-ishow-child
*/

/* ==========================================================================
   ENCOLADO DE ESTILOS (Manejado en functions.php)
   ========================================================================== */

/* ==========================================================================
   ESTILOS PERSONALIZADOS REPLICANDO iSHOW FX
   (Basados en estilo2.css y las páginas anteriores)
   ========================================================================== */

/* ===================================================
   Diseño de cabecera en posts individuales
   =================================================== */

/* 1. Aplicar la imagen de fondo solo a los posts individuales */
.single-post .site-header {
    background-image: url('https://ishow.com.mx/efectos-especiales/blog/wp-content/uploads/2026/05/background_imagen_ishow.webp') !important;
    background-repeat: repeat !important;
    background-size: auto !important;
    background-position: top left !important;
    background-color: transparent !important;
}

/* 2. Contraste para el menú en los posts */
.single-post .main-header-menu a, 
.single-post .site-title a, 
.single-post .site-description {
    color: var(--ast-global-color-5) !important; /* Blanco */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7) !important;
}

/* 3. Margen o espacio de 80px entre el header y el contenido del post */
.single-post .site-content {
    padding-top: 140px !important;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* 1. Colores y Base */
:root {
    --ishow-light-blue: #06c5f1; /*cite: ishow-efectos-eco2jet.php*/
    --ishow-blue-hover: #05a0c6; /*cite: ishow-efectos-eco2jet.php*/
    --ishow-dark-gray: #222;
    --ishow-footer-bg: #333;
    --ishow-white: #fff;
}

/* Replicando la fuente principal de iSHOW */
body, button, input, select, textarea {
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 2. Cabecera (Astra Primary Header) */
/* Asegura que el menú principal coincida */
.main-navigation ul li a {
    color: var(--ishow-dark-gray) !important;
    text-transform: uppercase;
    font-weight: 700;
}

/* 3. Hero Area (Sección similar a la referencia) */
.ishow-blog-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--ishow-white);
    text-align: center;
    padding: 300px 0 100px; /* Replicando el padding de las páginas PHP */
    margin-bottom: 30px;
    z-index: 1;
}

/* Capa oscura de superposición (como en iSHOW) */
.ishow-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Ajusta la opacidad según necesites */
    z-index: -1;
}

/* Título Principal (H1 en el Hero) */
.ishow-blog-hero h1.hero-heading {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 40px !important; /* Replicando font-size: 40px */
    text-transform: uppercase;
    margin-bottom: 20px !important;
    color: var(--ishow-white) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Subtítulo (Lead text) */
.ishow-blog-hero .hero-lead-in {
    font-style: italic;
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px !important; /* Replicando font-size: 20px */
    line-height: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ishow-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Botón CTA (Luz azul de iSHOW) */
.ishow-blog-hero a.btn-ishow-custom {
    color: var(--ishow-white) !important;
    background-color: var(--ishow-light-blue); /*cite: ishow-efectos-eco2jet.php*/
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 5px;
    font-size: 18px;
    padding: 15px 40px;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: background-color 0.3s ease;
}

.ishow-blog-hero a.btn-ishow-custom:hover,
.ishow-blog-hero a.btn-ishow-custom:focus {
    background-color: var(--ishow-blue-hover) !important; /*cite: ishow-efectos-eco2jet.php*/
}

/* AJUSTES RESPONSIVE MÓVILES (Replicando la lógica previa) */
@media (max-width: 767px) {
    .ishow-blog-hero {
        padding: 100px 0 60px;
    }
    
    .ishow-blog-hero .hero-lead-in {
        font-size: 16px !important;
        padding: 0 15px;
    }
    .ishow-blog-hero a.btn-ishow-custom {
        padding: 12px 25px;
        font-size: 15px;
    }
	.ishow-blog-hero h1.hero-heading {
    font-size: 24px !important;
    padding: 63px 15px 0;
	}
	.main-navigation ul li a {
  color: #333 !important;
  text-transform: uppercase;
  font-weight: 700;
}
}	
	
@media (max-width: 480px) {
	header .custom-logo-link img {
	  max-width: 201px;
	  width: 140px !important;
	}
	
	
  }

@media (min-width: 768px) {
.main-navigation ul li a {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
}



/* ==========================================================================
   SOPORTE PARA CLASES BOOTSTRAP EN EL HERO (Astra no usa Bootstrap)
   ========================================================================== */
.text-center {
    text-align: center !important;
}

.ishow-blog-hero .container {
    max-width: 1170px; /* Ancho estándar de Bootstrap 3 */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* Ocultar el autor en el blog y en las entradas individuales */
.entry-meta .byline, 
.entry-author, 
.posted-on .author,
.ast-author-data {
    display: none !important;
}

/* Ocultar el nombre del autor en el blog y entradas */
.author-name {
    display: none !important;
}

/* Ocultar el prefijo "Por" (By) en los metadatos */
.byline {
    display: none !important;
}