/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


@media (max-width: 768px) {
    /* CSS in here for mobile only */
	.mb-6 {
		margin-bottom: 2rem;
	}
	.mb-4 {
		margin-bottom: 3rem;
	}
	.py-6 {
		padding: 2rem 0;
	}
	.sqz-testimonio {
		padding: 3rem;
		background-color: #7c896f;
		color: #ffffff;
		border-radius: 10px 60px;
	}
	section.sqz-sectionhero > div:first-child {
		padding: 2rem;
	}
	.sqz-boxed {
		max-width: var(--gb-container-width);
		margin-left: auto;
		margin-right: auto;
		padding: 4rem 2rem;
	}
	.sqz-fullwidth {
		padding: 2rem;
	}
	/* CAJA BLANCA CON ESQUINAS REDONDEADAS */ 
	.sqz-cajablanca {
		padding: 2rem;
		margin: 2rem 0;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
    /* CSS in here for tablet only */
	.mb-6 {
		margin-bottom: 4rem;
	}
	.mb-4 {
		margin-bottom: 3rem;
	}
	.py-6 {
		padding: 4rem 0;
	}
	.sqz-testimonio {
		padding: 3rem;
		background-color: #7c896f;
		color: #ffffff;
		border-radius: 10px 60px;
	}
	section.sqz-sectionhero > div:first-child {
		padding: 4rem;
	}
	.sqz-boxed {
		max-width: var(--gb-container-width);
		margin-left: auto;
		margin-right: auto;
		padding: 4rem;
	}
	.sqz-fullwidth {
		padding: 0 4rem;
	}
	/* CAJA BLANCA CON ESQUINAS REDONDEADAS */ 
	.sqz-cajablanca {
		padding: 4rem;
		margin: 2rem 0;
	}
}
@media (min-width: 1025px) {
    /* CSS in here for desktop only */
	.mb-6 {
		margin-bottom: 6rem;
	}
	.mb-4 {
		margin-bottom: 3rem;
	}
	.py-6 {
		padding: 6rem 0;
	}
	.sqz-testimonio {
		padding: 3rem;
		background-color: #7c896f;
		color: #ffffff;
		border-radius: 10px 60px;
	}
	section.sqz-sectionhero > div:first-child {
		padding: 4rem;
	}
	.sqz-boxed {
		max-width: var(--gb-container-width);
		margin-left: auto;
		margin-right: auto;
		padding:6rem 0;
	}
	.sqz-fullwidth {
		padding: 0 6rem;
	}
	/* CAJA BLANCA CON ESQUINAS REDONDEADAS */ 
	.sqz-cajablanca {
		padding: 4rem;
		margin: 2rem 0;
	}
	/*ESPACIOS BAJO TÍTULOS*/
	h2 {
		margin-bottom: 3rem;
	}
}


section.sqz-sectionpink {
	background-color: var(--global-color-5);
}


/* CABECERA - PADDING EN TABLET Y MOVIL*/
@media (min-width: 769px) and (max-width: 1024px) {
  .main-navigation .navigation-branding,
  .main-navigation .site-logo,
  .inside-header {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .main-navigation .navigation-branding img,
  .site-logo img {
    max-height: 60px !important;
  }
}


/* BOTONES */
.sqz-botonblanco {
	margin-top:5% !important;
	color: #294734 !important;
    background-color: #ffffff !important;
    border-radius: 30px !important;
    padding: 10px 40px 10px 40px !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
}
.sqz-botonblanco:hover {
	background-color: #294734 !important;
	color: #ffffff !important;	
}

.sqz-botonverde {
	margin-top:5% !important;
	color: #ffffff !important;
    background-color: #294734 !important;
    border-radius: 30px !important;
    padding: 10px 40px 10px 40px !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
}
.sqz-botonverde:hover {
	background-color: #ac803d !important;
	color: #ffffff !important;	
}

.sqz-botonverdeborde {
	margin-top:5% !important;
	color: #294734 !important;
    background-color: #ffffff !important;
    border-radius: 30px !important;
	border: 2px solid #294734 !important;
    padding: 10px 40px 10px 40px !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
}
.sqz-botonverdeborde:hover {
	background-color: #294734 !important;
	color: #ffffff !important;	
}


/* HOME - SECCIÓN BLOG  */
/* Ocultar 1 post en tablet*/
/* Tablet: 2 columnas y ocultar el tercer post */
@media (min-width: 768px) and (max-width: 1024px) {
  .sqz-blog .gb-looper-4021e690 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sqz-blog .gb-loop-item:nth-child(3) {
    display: none;
  }
}
.sqz-blog h4 a {
	font-size:1.5rem !important;
}

/* FOOTER */
.site-footer .textwidget p {
	font-size:15px !important;	
}

/* LISTAS */
ul.sqz-flechas {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.sqz-flechas li {
    position: relative;
    padding-left: 24px; /* Espacio para la flecha */
    margin-bottom: 0.5em;
}

ul.sqz-flechas li::before {
    content: "➜";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac803d;
}

ul.sqz-check {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.sqz-check li {
    position: relative;
    padding-left: 24px; /* Espacio para la flecha */
    margin-bottom: 0.5em;
}

ul.sqz-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac803d;
}

ul.sqz-x {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.sqz-x li {
    position: relative;
    padding-left: 24px; /* Espacio para la flecha */
    margin-bottom: 0.5em;
}

ul.sqz-x li::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac803d;
}


ul.sqz-chevron {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.sqz-chevron li {
    position: relative;
    padding-left: 24px; /* Espacio para la flecha */
    margin-bottom: 0.5em;
}

ul.sqz-chevron li::before {
    content: "❯";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac803d;
}

sqz-mail li {
    position: relative;
    padding-left: 24px; /* Espacio para la flecha */
    margin-bottom: 0.5em;
}

sqz-mail li::before {
    content: "❯";
    position: absolute;
    left: 0;
    top: 0;
    color: #ac803d;
}


/* BLOG */
.post-image img {
	border-radius: 10px 60px;
}
/*Separación columna widgets*/
@media (min-width: 769px) {
    .right-sidebar .widget-area {
        margin-left: 50px;
    }
}
#right-sidebar a {
    font-size: 12px;
}
.blog .post-image {
    margin-bottom: 3rem;
}
.one-container.blog .post:not(:last-child):not(.is-loop-template-item) {
    padding-bottom: 4rem !important;
}

/* Estilo de los posts para eliminar estilos anteriores */
.single-post h1 {
    font-weight: 400;
	color: var(--contrast);
}
.single-post .entry-content h2 strong {
    font-weight: 400;
}
.single-post .entry-content h3 strong {
    font-weight: 400;
}
.post-image img {
	min-width: 100%; 
}

.single-post .page-header-image-single img {
    min-width: 100%; 
	border-radius: 10px 60px;
	margin-top:20px;
}
.sqz-citablog {
	border:0px !important;
	padding:0px !important;
}
.sqz-citablog p {
	font-family: Bellefair;
	color: #294734;
	font-size: 1.8rem !important;
	margin-bottom:0px;
}
.sqz-citablog .sqz-autor {
	font-family: Bellefair;
	color: #294734;
	font-size: 1.3rem !important;
	margin-bottom:0px;
	padding-top: 0.5rem;
}

/* Customizar Cookie Yes*/

/* BOTÓN PRINCIPAL: Aceptar todas */
.cky-btn-accept {
    background-color: #7c896f !important;
    border-color: #7c896f !important;
    color: #ffffff !important;
}

/* Hover del botón Aceptar */
.cky-btn-accept:hover {
    background-color: #68745f !important;
    border-color: #68745f !important;
    color: #ffffff !important;
}


/* BOTONES SECUNDARIOS: Rechazar y Personalizar */
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences {
    background-color: transparent !important;
    border-color: #7c896f !important;
    color: #7c896f !important;
}

/* Hover de los botones secundarios */
.cky-btn-reject:hover,
.cky-btn-customize:hover,
.cky-btn-preferences:hover {
    background-color: #7c896f !important;
    border-color: #7c896f !important;
    color: #ffffff !important;
}


/* ENLACES DEL BANNER */
.cky-consent-container a,
.cky-preference-center a,
.cky-notice-des a {
    color: #7c896f !important;
}

.cky-consent-container a:hover,
.cky-preference-center a:hover,
.cky-notice-des a:hover {
    color: #68745f !important;
}


/* INTERRUPTORES ACTIVADOS DEL PANEL DE PREFERENCIAS */
.cky-switch input[type="checkbox"]:checked {
    background-color: #7c896f !important;
}

.cky-switch input[type="checkbox"]:checked + label {
    background-color: #7c896f !important;
}


/* CASILLAS Y CONTROLES ACTIVADOS */
.cky-checkbox input[type="checkbox"]:checked {
    accent-color: #7c896f !important;
}


/* BOTÓN GUARDAR PREFERENCIAS */
.cky-preference-content-wrapper + .cky-footer-wrapper .cky-btn-accept,
.cky-preference-center .cky-btn-accept {
    background-color: #7c896f !important;
    border-color: #7c896f !important;
    color: #ffffff !important;
}


/* BOTÓN FLOTANTE PARA VOLVER A ABRIR LAS PREFERENCIAS */
.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
    background-color: #7c896f !important;
}


/* ICONO DEL BOTÓN FLOTANTE */
.cky-revisit-bottom-left img,
.cky-revisit-bottom-right img {
    filter: brightness(0) invert(1);
}


/* ELEMENTOS CON BORDE O ESTADO ACTIVO */
.cky-accordion-btn:hover,
.cky-accordion-header-des *,
.cky-preference-title {
    border-color: #7c896f !important;
}


/* FOCO DE ACCESIBILIDAD EN LOS BOTONES */
.cky-btn:focus-visible,
.cky-btn-accept:focus-visible,
.cky-btn-reject:focus-visible,
.cky-btn-customize:focus-visible {
    outline: 2px solid #7c896f !important;
    outline-offset: 2px;
}
