/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Tema hijo de GeneratePress
 Author: Grupo LasGuias
 Template: generatepress
 Version: 1.0
*/
body {background:fixed; background-image:url(https://www.lasguias.com/blog/wp-content/uploads/2025/09/fondo2.webp); background-position:center top; background-repeat:no-repeat; background-color:#729dc7; margin-top:0px; }
.top-bar {background-color:#0e62ac;color:yellow;font-weight:bold;}

.site-header { background: linear-gradient(
    to right,
    rgba(3, 24, 77, 1) 0%,
  rgba(3, 24, 77, 1) 45%,
  rgba(3, 24, 77, 0.8) 60%,
  rgba(3, 24, 77, 0.4) 80%,
  rgba(3, 24, 77, 0) 100%
  ); background-position:right top; background-repeat:no-repeat; margin-top:0px; color:white !important;height:300px }

.site-logo img {width:90%}
.main-title A {color:white !important;font-size:25px}
.site-description {font-weight:600;color:white}


.page-header-image-single {
    display: none !important;
}
.entry-header {text-align:center}
h1,h2,h3 {color:#0e62ac;}

.main-navigation ul ul {
	width: 150%;}
.main-navigation .main-nav ul ul li A {font-weight:600}

.entry-content A {color:#0e62ac; !important}
.entry-content A :hover {color:#0e62ac;}

/* ===== Estilos de tarjetas en 2 columnas ===== */
.wp-block-latest-posts.is-grid.columns-2 li {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  list-style: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;

  display: flex;             /* activamos flexbox */
  flex-direction: column;    /* en vertical */
}

/* Orden de los elementos (imagen abajo) */
.wp-block-latest-posts__post-title {
  order: 1;
}

.wp-block-latest-posts__post-excerpt {
  order: 2;
}

.wp-block-latest-posts__featured-image {
  order: 3; /* imagen al final */
}

/* Hover */
.wp-block-latest-posts.is-grid.columns-2 li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Imagen dentro de la tarjeta */
.wp-block-latest-posts__featured-image img {
  border-radius: 8px;
  display: block;
  margin: 10px auto 0;
  max-width: 100%;
  height: auto;
}

/* Título */
.wp-block-latest-posts__post-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 8px 0;
  color: #333;
  text-decoration: none;
}

.wp-block-latest-posts__post-title:hover {
  color: #0073aa;
}

/* Extracto */
.wp-block-latest-posts__post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}
/* Quitar márgenes/paddings del UL en general */
.wp-block-latest-posts.is-grid {
  margin: 0;
  padding: 0;
}


.widget-area .widget {
	padding: 25px;-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}
.widget:last-child, .separate-containers .widget:last-child {-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; margin:1%;
}
.widget ul li {border-bottom:1px dotted #017fb6; font-size:15px}

.separate-containers .inside-article {-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; margin:1%;}

.footer-widgets { background-color: rgba(242, 242, 242, 0.80); }
.footer-widgets .widget-title {
	color: #0d5ca3; font-weight:bold}

.footer-bar-align-right .footer-bar, .footer-bar-align-left .copyright-bar {
    float: right;
    text-align: right;
	width: 30%; }
.footer-bar-align-right .copyright-bar {
    float: left;
	width: 70%; }
@media screen and (max-width: 1024px) { 
	.site-header {
	height:auto;
	}
	
	/* En móvil y tablet aseguramos que ocupa todo el ancho */
@media (max-width: 1024px) {
  .wp-block-latest-posts.is-grid.columns-2 {
    margin: 0px !important;
    padding: 0px !important;
    width: 99% !important;
  }

  .wp-block-latest-posts.is-grid.columns-2 li {
    margin-left: 0 !important;
    margin-right: 10px !important;
  }
	
	.cmplz-btn, .cmplz-manage-consent .manage-consent-1, .cmplz-show {font-size:12px; padding:8px !important;margin-right:55px !important}

}

