/* ===========================================
   _blog.css
   Estilos exclusivos para BLOG-GASEX
   Estructura y secciones asociadas al producto individual.
=========================================== */

/* > BLOG-GASEX
  ° ESTRUCTURA HEADER
    * SECCION: TENEMOS-TODO
    * SECCION: BLOG
    * SECCION: REDES-SOCIALES
    * SECCION: BANNER-1
    * SECCION: COMPARADOR
    * SECCION: OPINIONES
  ° SECCION: FOOTER */


  /* ================================
SECCION: TENEMOS-TODO
================================== */

/* ================================
SECCIÓN: BLOG
================================== */

/* ------------------- CABECERA ------------------- */
/* .blog-header {
  width: 100%;
  display: flex;
  gap: 2rem;
}

.blog-header-texto {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-header-texto h1 {
  font-size: 3.625rem;
  font-weight: 700;
  color: #1C244B;
  margin: 0;
}

.blog-header-imagen {
  width: 50%;
}

.blog-header-imagen img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 16 / 9;
} */

/* Responsive */
/* @media (max-width: 768px) {
  .blog-header {
    flex-direction: column;
  }

  .blog-header-texto,
  .blog-header-imagen {
    width: 100%;
  }

  .blog-header-texto h1 {
    font-size: 2rem;
    text-align: center;
  }
} */

/* ------------------- CONTENIDO PRINCIPAL ------------------- */
/* .blog-contenedor {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem;
  margin-top: 2rem;
  width: 100%;
}

.blog-main {
  flex: 0 0 72.5%;
}

.blog-main h1,
.blog-main h2 {
  font-weight: 700;
  color: #1C244B;
}

.blog-main h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.blog-main h2 {
  font-size: 2.5rem;
  text-align: left;
  margin-top: 2rem;
}

.blog-main p {
  line-height: 1.6;
  font-size: 1rem;
  color: #222;
  margin-bottom: 1rem;
}

.blog-main img {
  width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.linea-separadora-blog {
  height: 3px;
  background-color: #1c244b;
  margin: 1rem 0;
}

.blog-body a {
  font-weight: medium;
  color: #467ff7;
  text-decoration: none;
} */

/* ------------------- SIDEBAR ------------------- */
/* .blog-sidebar {
  flex: 0 0 20%;
  width: 16.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-section {
  background-color: #0D2840;
  color: white;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 1rem;
} */

/* Estilo para filtros, publicaciones y newsletter */
/* .sidebar-section.filtros {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  position: relative;
  z-index: 1;
}

.filtro-titulo {
  background-color: #f4f4f4;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  border: 2px solid #0D2840;
  border-radius: 50px;
  color: #0D2840;
  width: 268px;
  height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.filtro-select-contenedor {
  margin-top: -25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 260px;
}

.filtro-select {
  background-color: #0D2840;
  color: white;
  padding: 25px 15px 15px 15px;
  font-size: 18px;
  border-radius: 0.5rem;
  border: none;
  width: 100%;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: 90% center;
  background-size: 18px;
} */

/* Publicaciones recientes */
/* .filtro-publicaciones-contenedor {
  background-color: #0D2840;
  color: #ffffff;
  margin-top: -25px;
  padding: 25px 14px 15px 14px;
  font-size: 18px;
  border-radius: 0.5rem;
  border: none;
  width: 100%;

}

.filtro-publicaciones-contenedor ul {
  list-style: none;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.filtro-publicaciones-contenedor ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  
}

.filtro-publicaciones-contenedor ul li a:hover {
  color: #fbda00;
} */

/* Newsletter */
/* .filtro-newsletter-contenedor {
  background-color: #0D2840;
  color: #ffffff;
  margin-top: -25px;
  padding: 35px 14px 15px 14px;
  font-size: 18px;
  border-radius: 0.5rem;
  border: none;
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.filtro-newsletter-contenedor p {
  margin: 0.5rem 0;
}

.filtro-newsletter-contenedor input {
  width: 10rem;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-family: inherit;
  border: none;
  
}

.filtro-newsletter-contenedor button {
  margin-top: 0.5rem;
  padding: 0.5rem;
  width: 10rem;
  border: none;
  background-color: #467ff7;
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
}

.filtro-newsletter-contenedor input,
.filtro-newsletter-contenedor button {
  max-width: 100%;
}

.filtro-newsletter-contenedor .newsletter-consent input[type="checkbox"] {
  transform: translateY(2px);
}
.filtro-newsletter-contenedor .newsletter-msg {
  color: #324A6D;
} */

/* ------------------- LO MÁS VISTO ------------------- */
/* .sidebar-section.mas-visto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar-section.mas-visto h3 {
  color: #f4f4f4;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
}

.visto-item {
  display: flex;
  align-items: center;  
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
}

.visto-item img {
  width: 80px;     
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.visto-item .text-ver {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;  
  font-size: 0.9rem;
  color: white;
}

.visto-item p {
  margin: 0;
  line-height: 1.2;
}

.visto-item p:first-child {
  font-weight: bold;
}

.visto-item p.ver {
  font-weight: normal;
} */




/* Ocultar por defecto */
/* .filtro-dropdown { display: none; } */

/* Mostrar cuando se abre (JS pondrá la clase) */
/* .filtro-dropdown.abierto {
  display: block;
} */

/* Caja del menú desplegable */
/* .filtro-dropdown {
  margin-top: 10px;
  background: #0d2a3c; 
  border-radius: 10px;
  padding: 8px 0;
  position: relative;
  z-index: 10;
  max-height: 260px;
  overflow: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
} */

/* Ítems */
/* .filtro-dropdown ul { list-style: none; margin: 0; padding: 0; }
.filtro-dropdown li a {
  display: block;
  padding: 10px 14px;
  color: #fff;             
  text-decoration: none;
}
.filtro-dropdown li a:hover {
  background: rgba(255,255,255,.12);
} */

/* Botones "Elegir ..." en columna con separación */
/* .filtro-select-contenedor { display: grid; gap: 12px; } */

/* Si tu tema aplica overflow/position raro, forzamos esto en el contenedor */
/* .sidebar-section.filtros { position: relative; overflow: visible; } */

/* Dropdowns: oculto por defecto, visible con .abierto */
/* .filtro-dropdown { display: none; }
.filtro-dropdown.abierto { display: block; } */

/* ✅ solo el módulo de filtros con data-navegacion="blog" */
/* .sidebar-section.filtros[data-navegacion="blog"] .filtro-publicaciones-contenedor {
  display: none;
}
.sidebar-section.filtros[data-navegacion="blog"].resultados-visible .filtro-publicaciones-contenedor {
  display: block;
  margin-top: 70px;



@media screen and (max-width: 768px) {
  .seccion-banner {
    display: none !important;
  }
} */




/* Por defecto, sin margen extra */
/* .filtro-publicaciones-contenedor {
  margin-top: 0;
  transition: margin-top 0.3s ease;
} */

/* Cuando hay resultados visibles */
/* .sidebar-section.filtros.resultados-visible .filtro-publicaciones-contenedor {
  margin-top: 70px;
} */





/* ============================
   Sidebar: Publicaciones más recientes
   ============================ */


   

/* La tarjeta de "recientes" necesita espacio arriba para el pill */
/* .sidebar-section.recientes {
  position: relative;
  padding-top: 72px;       
} */

/* .sidebar-section.recientes .filtro-titulo {
  display: block;
  text-align: center;
  margin: 0 auto 8px;
} */


/* Centrar el pill horizontalmente y separarlo de la lista */
/* .sidebar-section.recientes .filtro-titulo {
  position: absolute;
  top: -25px;                   
  left: 50%;
  transform: translateX(-50%); 
  margin: 0;
  padding: 10px 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 2;
} */


/* .sidebar-section.recientes .filtro-publicaciones-contenedor {
  padding: 12px 16px;
} */

/* Caja de la lista: padding uniforme */
/* .sidebar-section.recientes .filtro-publicaciones-contenedor {
  padding: 0 18px 16px 0px;   
}


.sidebar-section.filtros .filtro-newsletter-contenedor {
  padding: 0 30px 16px 0px; 
} */


/* .sidebar-section.recientes .filtro-publicaciones-contenedor ul {
  margin: 0;
  padding-left: 1.2rem;
} */

/* Lista alineada, sin desplazamientos raros */
/* .sidebar-section.recientes .filtro-publicaciones-contenedor ul {
  margin: 0;
  padding-left: 1.2rem;       
  list-style-position: outside;
} */

/* Cada item con buen interlineado */
/* .sidebar-section.recientes .filtro-publicaciones-contenedor li {
  margin: 10px 0;
  line-height: 1.35;
} */

/* Enlaces a ancho de línea para click cómodo */
/* .sidebar-section.recientes .filtro-publicaciones-contenedor a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.sidebar-section.recientes .filtro-publicaciones-contenedor a:hover {
  text-decoration: underline;
} */


/* ---- Fallback por si aún tienes la clase 'filtros' en esa sección ---- */
/* .sidebar-section.filtros:not([data-navegacion="blog"]) .filtro-publicaciones-contenedor {
  padding: 12px 16px;
}
.sidebar-section.filtros:not([data-navegacion="blog"]) .filtro-publicaciones-contenedor ul {
  margin: 0;
  padding-left: 1.2rem;
}
.sidebar-section.filtros:not([data-navegacion="blog"]) .filtro-publicaciones-contenedor li {
  margin: 10px 0;
  line-height: 1.35;
}




.mas-visto .visto-item img {
  width: 102px;
  height: 87px;
  object-fit: cover;
  border-radius: 4px;
}

.mas-visto .visto-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #fff;
}

.mas-visto .visto-item .ver:hover {

  font-size: 0.875rem;
} */












/* ================================
SECCION: REDES-SOCIALES
================================== */

/* Contenedor principal: flex alineación horizontal */
/* .seccion-redes-sociales {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 0rem;
} */

/* Logo Gasex a la izquierda */
/* .redes-sociales {
  display: flex;
  align-items: center;
}

.logo-redes {
  width: 4.2rem;
  height: auto;
  display: block;
} */

/* Contenido a la derecha (texto y redes) */
/* .redes-contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
} */

/* Share text alineado con icono */
/* .redes-contenido p {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.12rem;
  margin: 0 0 0.25rem 0;
  color: #222;
  gap: 0.4rem;
}

.redes-contenido .fa-share {
  font-size: 1rem;
  color: #222;
} */

/* Redes alineadas horizontalmente */
/* .iconos-redes {
  display: flex;
  flex-direction: row;
  gap: 0.35rem;
}

.cuadro-redes {
  background: #2271B8;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  transition: transform 0.2s;
}

.cuadro-redes:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.cuadro-redes i {
  color: #fff;
  font-size: 1.15rem;
} */


/* ================================
SECCION: BANNER-1
================================== */

/* ================================
SECCION: COMPARADOR
================================== */

/* ================================
SECCION: OPINIONES
================================== */














