/*
 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
*/

/* Site Wrapper 
.site-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
} */

/* Aspect ratios predefinidos */
.ar-16-9 {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.ar-9-16 {
    aspect-ratio: 9/16;
    object-fit: cover;
}

.ar-3-2 {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.ar-2-3 {
    aspect-ratio: 2/3;
    object-fit: cover;
}

.ar-1-1 {
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Visually Hidden */
.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* No Underline */
.no-ul,
.no-ul a {
    text-decoration: none;
}

/* Remove bottom margin on last paragraph */
.gb-container p:last-child:last-of-type {
    margin-bottom: 0px;
}

.block-editor-block-list__layout .gb-container p:nth-last-child(2) {
    margin-bottom: 0px;
}

/* Margen y padding bottom 0 en article */
article {
    padding-bottom: 0px;
    !important margin-bottom: 0px;
    !important
}

.one-container.blog .post:not(:last-child):not(.is-loop-template-item) {
    padding-bottom: 0px;
}

/* Oculto */
.oculto {
    display: none;
}

/* h1 blanco en front end, negro en back end desde "personalizar" 

h1 {
    color: #ffffff
} */

/* Div clickable */

.clickable-container {
    position: relative;
}

.clickable-container a {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
}

/* Img hover */
.img-hover {
    opacity: 1;
    /* Opacidad inicial */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Transición suave para opacidad y transformación */
}

.img-hover:hover {
    opacity: 0.7;
    /* Opacidad al hacer hover */
    transform: scale(1.05);
    /* Aumentar el tamaño al hacer hover */
}

/* Transición botones y enlaces */
a, button, input {
    transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out;
}

/* Borde en menú */
.main-navigation .main-nav ul li a, .main-navigation .menu-bar-item>a {
    border-style: solid;
	border-width: 1px;
	border-color: var(--base-2);
	margin: 0px 10px;
}

/* Columnas CF7 */

.contact-cf7 p, .column-cf7 label {
	color: var(--base-2);
}

.column-cf7 {
    width: 100%;
    float: left;
    box-sizing: border-box;
	margin-bottom: 1.5em;
}

/* Disclaimer CF7 */
.wpcf7-list-item {
	margin-left: 0;
}

.wpcf7-list-item {
	color: var(--base-2);
}

.wpcf7-list-item a {
	color: var(--accent-2);
}

.wpcf7-list-item a:hover {
	color: var(--accent-3);
}

/* Color enlaces CF7 */
.gb-element-4268fa73 .wpcf7-list-item a {
	color: var(--base-2);
}

.gb-element-4268fa73 .wpcf7-list-item a:hover {
	color: var(--contrast);
}

/* Borde cajas CF7 */
input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
}

.gb-element-4268fa73 input[type=email], .gb-element-4268fa73 input[type=number], .gb-element-4268fa73 input[type=password], .gb-element-4268fa73 input[type=search], .gb-element-4268fa73 input[type=tel], .gb-element-4268fa73 input[type=text], .gb-element-4268fa73 input[type=url], .gb-element-4268fa73 select, .gb-element-4268fa73 textarea {
	border: none;
}

/* Botón enviar CF7 */
input.wpcf7-form-control.wpcf7-submit {
	background-color: var(--accent-3);
	padding: 15px 30px 15px 30px;
	color: var(--contrast);
	font-weight: 400;
}

input.wpcf7-form-control.wpcf7-submit:hover {
	background-color: var(--accent-2);
}

/* Mensaje no válido CF7 */
.wpcf7-not-valid-tip, .wpcf7-response-output {
	font-size: 13px;
	color: var(--accent-2);
}

/* Texto pequeño CF7 */
.text-peq {
	font-size: 13px;
	color: var(--base-2);
}

.text-peq a {
	font-size: 13px;
	color: var(--accent-2);
}

.text-peq a:hover {
	color: var(--accent-3);
}

/* Site logo hover 
.site-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
} */

.site-logo {
	-webkit-filter: blur(0px);
	filter: blur(0px);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.site-logo:hover {
	-webkit-filter: blur(3px);
	filter: blur(3px);
}

/* Img hover */
.img-hover {
    opacity: 1;
    /* Opacidad inicial */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Transición suave para opacidad y transformación */
}

.img-hover:hover {
    opacity: 0.7;
    /* Opacidad al hacer hover */
    transform: scale(1.05);
    /* Aumentar el tamaño al hacer hover */
}