/*
Theme Name: LightBreeze
Theme URI: http://example.com/lightbreeze
Author: Isaac Hernández
Author URI: http://example.com
Description: LightBreeze es un tema de WordPress ligero, amigable con el SEO y totalmente responsive, diseñado para ofrecer un rendimiento óptimo y una experiencia de usuario fluida. Ideal para sitios que buscan rapidez, compatibilidad con dispositivos móviles y una estructura optimizada para motores de búsqueda.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightbreeze
Tags: lightweight, seo-friendly, responsive, clean, modern, white, barra lateral derecha
*/

/* Estilo base */
html {
  font-size: 16px; /* Base de 16px */
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem; /* 16px */
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #176324;
}
h3 {
  font-size: 1.6rem;
}
body.admin-bar header {
  margin-top: 32px;
}
header {
  position: fixed;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0 0 0 0;
  top: 0;
}
.main-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.breadcrumb {
  display: flex;
  color: #595959;
  align-items: center;
  padding: 5px 0;
}
.breadcrumb a {
  color: #595959;
}
.logo img {
  width: 210px;
  height: auto;
  transition: width 0.5s ease; /* Transición suave para el cambio de tamaño */
  position: relative;
  top: 3px;
}
.shrink-logo img {
  width: 180px; /* Tamaño reducido del logo al hacer scroll */
  height: auto;
}
.menu {
  display: flex;
  list-style: none;
}
.menu li {
  margin-left: 20px;
}
.menu a {
  color: #333333;
  font-weight: bold;
}
.menu-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}
/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 1200px) {
  .menu {
    display: none;
    flex-direction: column;
  }
  .menu-toggle {
    display: block;
    align-self: normal;
    color: white;
    margin-top: auto;
    margin-bottom: auto;
  }
  .main-content {
    float: left;
    width: 100% !important;
    padding: 0 !important;
  }
  .sidebar {
    width: 100% !important;
  }
}
.top-space {
  width: 100%;
  height: 140px;
}
.container {
  width: 90%;
  margin: auto;
  overflow: hidden;
}
.main-content {
  float: left;
  width: 73%;
  padding: 0 1% 1% 0;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
@media screen and (max-width: 782px) {
  body.admin-bar header {
    margin-top: 46px; /* Altura mayor de la barra en pantallas pequeñas */
  }
}
.h3-titles {
  width: 100%;
  border-radius: 5px;
  text-indent: 1rem;
  height: 2.8rem;
}

/* Big Cards*/
.big-cards-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  aspect-ratio: 16/9;
  margin: 20px 0 30px 0;
}
.big-post-card {
  position: relative;

  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;

  background: #fff;
  line-height: 1.3;
  font-family: sans-serif;

  z-index: 0;
}
.big-post-card h2 {
  font-size: 1.6rem;
  color: #000000;
  line-height: 1.6rem;
  margin-bottom: 8px;
}
.big-post-card p {
  position: relative;
  margin-top: 7px;
}
.big-post-card .bp-card-meta img {
  width: 100%;
  height: auto; /* Mantiene la proporción original de la imagen */
  object-fit: cover; /* Cubre el área del contenedor sin estirar la imagen */
  aspect-ratio: 16/9;
  border-radius: 5px 5px 0 0;
  transition: transform 0.2s;
}
.big-post-card:hover .meta2 img {
  transform: scale(1.1);
}
.card-description {
  padding: 0 20px 0 20px;
}
@media screen and (max-width: 782px) {
  .big-cards-container {
    grid-template-columns: 1fr; /* Una columna que ocupe el 100% del ancho */
  }
  .big-post-card h2 {
    font-size: 1.4rem;
  }
  .big-post-card .bp-card-meta img {
    width: 40%;
    aspect-ratio: 1/1;
    float: right;
    border-radius: 5px 5px 5px 5px;
  }
  .card-description {
    padding: 0;
  }
  .big-post-card {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }
}

/* Little Cards */
.little-cards-container {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto;
 /* grid-template-rows: 8rem 8rem 8rem;*/
  gap: 5px 10px;
  aspect-ratio: 16/9;
  margin-top: 20px;
}

.little-card {
  border-radius: 5px;
  height: auto;
  margin: 0;
  margin-bottom: 1.6%;
  position: relative;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #fff;
  line-height: 1.3;
  font-family: sans-serif;
  z-index: 0;
  display: flex;
  align-items: normal;
}
.little-card h2 {
  font-size: 1rem;
  color: #000000;
  line-height: 1.3rem;
  font-weight: normal;
}
.little-card img {
  
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px 0 0 5px;
  margin-right: 16px;
}
.lt-card-content {
  width: 100%;
  align-self: center;
}
.lt-card-meta {
  padding-bottom: 10px;
  font-size: 0.8rem;

  display: flex;
  justify-content: left;
  align-items: center;
}
.lt-card-meta span, .card-meta span {
  color: #595959;
  font-size: 0.8rem;
}
.meta-item {
  margin-right: 3px;
 }
 .meta-item svg, .card-meta svg {
   position: relative;
   bottom: -2px;
 }

/* Ajuste para pantallas pequeñas */
@media screen and (max-width: 782px) {
  .little-cards-container {
    grid-template-columns: 1fr; /* Una columna que ocupe el 100% del ancho */
    grid-template-rows: 12rem 12rem 12rem 12rem 12rem 12rem;
  }
  .little-card h2 {
    font-size: 1.5rem;
    color: #000000;
    line-height: 1.7rem;
    font-weight: normal;
  }
}

.sidebar {
  float: right;
  width: 23%;
  padding: 0;
}
.sidebar .widget ul {
  list-style-type: none;
  padding-left: 0; /* Opcional: Elimina el padding izquierdo */
  margin: 0; /* Opcional: Ajusta el margen para personalizar el espaciado */
  line-height: 1.3rem;
}
.sidebar .widget ul li {
  padding-top: 10px;
  padding-bottom: 15px;
  border-bottom: 1px #cccccc solid;
}
.sidebar .widget ul a {
  color: #000000;
}


/* CSS solo para posts */
.post-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 5px;
}
.post-title {
  font-size: 2rem;
  color: #000000;
  line-height: 2rem;
  margin: 0.8rem 0;
}
.post-meta {
  margin-bottom: 1rem;
}
.post-date, .post-author {
  color: #595959;
  font-size: 0.8rem; 
}
.post-meta svg {
  width: 14px;
  height: 14px;
  position: relative;
  top: 2px;
  left: 3px;
  color: #595959;
}

.lt-entries-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%; 
  margin: 20px 0 30px 0;
}

.entry-card {
  display: flex;
  align-items: stretch; /* Permite que la card se expanda con el contenido */
  background: #fff;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.entry-image-link {
  width: 40%;
  overflow: hidden;
  border-right: 2px solid #eee;
}

.entry-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.entry-content {
  width: 60%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.entry-title h2 {
  font-size: 1rem;
  color: #333;
  margin: 0;
  font-weight: normal;
  line-height: 1.3;
  font-family: sans-serif;
}

.entry-meta {
  font-size: 0.9em;
  color: #595959;
}

.entry-meta span {
  display: block;
}

.entry-date,
.entry-author {
  margin-top: 5px;
}

@media screen and (max-width: 768px) {
  .lt-entries-container {
      grid-template-columns: 1fr;
  }
}

.donation-prompt {
  margin-top: 30px;
  padding: 20px;
  border: 2px solid #eee;
  border-radius: 10px;
  background-color: #f9f9f9;
  text-align: center;
}

.donation-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 15px;
}

.donation-text strong {
  color: #0056b3;
}

.donation-button {
  margin-top: 15px;
}

.btn-donate {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #176324;
  border-radius: 5px;
}

.btn-donate:hover {
  background-color: #218838;
}

.medium-card-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  width: 100%; 
  margin: 20px 0 30px 0;
}

.medium-card {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Permite que la card se expanda con el contenido */
  background: #fff;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.medium-card-link {
  width: 100%;
  overflow: hidden;
  border-right: 2px solid #eee;
}

.medium-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  border-radius: 5px 5px 0 0;
}

.medium-card-content {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.medium-card-title h2 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  line-height: 1.3;
  font-family: sans-serif;
}

@media screen and (max-width: 768px) {
  .medium-card-container {
      grid-template-columns: 1fr;
  }
}

/* Formulario de comentarios */

/* Estilos generales para el formulario de comentarios */
.comment-form {
  margin: 20px 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

/* Estilo para los campos de entrada (inputs y textarea) */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

/* Estilo para el título de los campos */
.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Estilo para el botón de enviar */
.comment-form input[type="submit"] {
  background-color: #176324;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
  background-color: #1c7c2c;
}
/* Estilos para los comentarios */
.comment-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  border-left: 4px solid #176324;
}

.comment-list .comment .comment-avatar {
  float: left;
  margin-right: 15px;
  border-radius: 50%;
  overflow: hidden;
}

.comment-list .comment .comment-author {
  font-weight: bold;
  color: #333;
}

.comment-list .comment .comment-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
}

.comment-list .comment .comment-content {
  margin-top: 10px;
  line-height: 1.6;
}

.comment-list .comment .reply {
  margin-top: 10px;
}

.comment-list .comment .reply a {
  color: #176324;
  text-decoration: none;
  font-weight: bold;
}

.comment-list .comment .reply a:hover {
  text-decoration: underline;
}

/* Estilos para respuestas a comentarios */
.comment-list .children {
  margin-left: 30px;
  border-left: 2px solid #ddd;
  padding-left: 15px;
}

.comment-list .children .comment {
  border-left-color: #176324;
}

/* Estilos para el avatar */
.comment-list .comment .comment-avatar img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Eliminar el círculo de la lista */
.comment-list li {
  list-style-type: none;
}

/* Estilo para el nombre del autor */
.comment-list .comment .comment-author {
  font-size: 1.1em;
  color: #176324;
}

/* Fondo y sombra */
.comment-list .comment {
  background-color: #f3f3f3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-author .avatar {
 border-radius: 50%;
}

/* Estilo para los mensajes de error */
.comment-form .error {
  color: #ff0000;
  margin-bottom: 15px;
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 10px;
}

.pagination a, .current {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  color: #dd0606;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover,
.pagination .current {
  background-color: #dd0606;
  color: #ffffff;
  border-color: #dd0606;
}

.pagination a.disabled {
  pointer-events: none;
  opacity: 0.5;
}


/* Mejora de la accesibilidad en dispositivos móviles */
@media (max-width: 768px) {
  .pagination a {
      padding: 12px 20px;
      font-size: 18px;
      margin: 5px;
  }
  .pagination .prev, .pagination .next {
    width: 100%;
  }
}

/* Etiquetas debajo del post */
.post-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-button a {
  background-color: #ebebeb; /* Fondo gris claro */
  color: #555; /* Letras un poco más oscuras */
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem; /* Ajusta el tamaño de la fuente según prefieras */
  transition: background-color 0.3s ease;
}

.tag-button a:hover {
  background-color: #e0e0e0; /* Fondo ligeramente más oscuro al hacer hover */
}

/* Pie de imagen */
.wp-caption-text {
  font-size: 0.875rem;
  color: #555; /* Letras un poco más oscuras */
  margin: 0;
}

/* Código para alinear videos a la derecha */
/* Asegura que el contenedor del video mantenga su alineación */
figure.wp-block-embed.alignright {
  float: right;
  margin-left: 20px; /* Ajusta el margen según sea necesario */
  margin-bottom: 20px; /* Ajusta el margen inferior */
  width: auto; /* Asegura que el ancho no se fuerce */
}

/* Asegura que el iframe se ajuste correctamente */
figure.wp-block-embed.alignright iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16; /* Mantiene la proporción 9:16 */
}

/* Estilos para móviles (centrado) */
@media (max-width: 768px) {
  figure.wp-block-embed.alignright {
      float: none; /* Elimina el float */
      margin-left: auto;
      margin-right: auto;
      display: block; /* Asegura que el contenedor sea un bloque */
      text-align: center; /* Centra el contenido interno */
      width: 80%; /* Ajusta el ancho para dispositivos móviles */
  }

  figure.wp-block-embed.alignright iframe {
      width: 100%; /* Asegura que el iframe ocupe todo el ancho del contenedor */
      height: auto;
      aspect-ratio: 9/16; /* Mantiene la proporción 9:16 */
  }
}

/* Estilos para el bloque de código */
pre code {
  display: block;
  background-color: #f4f4f4; /* Fondo gris claro */
  padding: 15px; /* Espaciado interno */
  border-radius: 5px; /* Bordes redondeados */
  border: 1px solid #ddd; /* Borde sutil */
  font-family: "Courier New", Courier, monospace; /* Fuente monoespaciada */
  font-size: 14px; /* Tamaño de fuente */
  color: #333; /* Color del texto */
  line-height: 1.6; /* Espaciado entre líneas */
  overflow-x: auto; /* Desplazamiento horizontal si el código es muy largo */
  white-space: pre-wrap; /* Mantiene el formato del código */
}

/* Estilos para palabras clave o elementos específicos del código */
code .keyword {
  color: #d73a49; /* Color para palabras clave (ej: void, int) */
  font-weight: bold;
}

code .comment {
  color: #6a737d; /* Color para comentarios */
  font-style: italic;
}

code .function {
  color: #6f42c1; /* Color para nombres de funciones */
}

code .string {
  color: #032f62; /* Color para cadenas de texto */
}

code .number {
  color: #005cc5; /* Color para números */
}

        /* Estilos del footer */
        .news-footer {
            background-color: #1a1a1a;
            color: #f5f5f5;
            padding: 50px 0 20px;
            margin-top: auto;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
            margin-bottom: 30px;
            padding: 0 15px;
        }
        
        .footer-section h3 {
            color: #dd0606;
            margin-bottom: 20px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: #dd0606;
        }
        
        .footer-about p {
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #dd0606;
            padding-left: 5px;
        }
        
        .footer-contact p {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .contact-icon {
            margin-right: 10px;
            color: #dd0606;
        }
        
        .footer-newsletter p {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .newsletter-form {
            display: flex;
            margin-bottom: 15px;
        }
        
        .newsletter-form input {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        
        .newsletter-form button {
            background-color: #dd0606;
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .newsletter-form button:hover {
            background-color: #c1121f;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icons a {
            display: inline-block;
            color: white;
            background-color: #333;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background-color: #dd0606;
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            border-top: 1px solid #444;
            padding-top: 20px;
            text-align: center;
        }
        
        .footer-bottom p {
            margin-bottom: 10px;
        }
        
        .footer-credits {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .footer-credits a {
            color: #ddd;
            margin: 0 10px;
            text-decoration: none;
        }
        
        .footer-credits a:hover {
            color: #dd0606;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
            }
            
            .footer-section {
                margin-bottom: 30px;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .newsletter-form input {
                border-radius: 4px;
                margin-bottom: 10px;
            }
            
            .newsletter-form button {
                border-radius: 4px;
                padding: 12px;
            }
        }
