/*
Theme Name: The Creation BS
Author: David Gutierrez
Description: Child Theme for The Creation GP
Version: 1.0
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
.lang-item a {
    padding: 5px !important;
}

#sticky-navigation {
    background-color: rgba(247,241,226,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
}
#masthead {
    position: relative;
    z-index: 99;
	border-bottom:1px solid #f7f1e12b;
}
#masthead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
    pointer-events: none;
	box-shadow:inset 0 0 50px rgba(143 143 143 / 30%);
}
.separate-containers .site-main{
    margin: 0;
}

#sticky-navigation .cta-header:hover {
    background: #7c7b7b1a;
    transition:linear .3s;
    border:var(--secondary) solid;
}

#sticky-navigation .cta-header:hover a{
    color: var(--secondary)!important;
}

.cta-header {
    background: var(--primary);
    border:var(--primary) solid;
    padding: 0;
    height: auto;
    margin-left:40px;
    transition:linear .3s;
}

.cta-header:hover {
    background: #7c7b7b1a;
    transition:linear .3s;
    border:var(--neutral) solid;
}

.cta-header:hover a{
    color: var(--neutral)!important;
}

.cta-header a{
    text-decoration: none;
    color: var(--secondary)!important;
    padding: 8px;
    line-height: 30px!important;
    font-weight: bold;
}

/* =========================================
   OVERRIDE: FILTER EVERYTHING (GALERÃA)
========================================= */

/* 1. Ocultar el tÃ­tulo "CategorÃ­a" y posibles sobras */
.wpc-filter-header {
    display: none !important;
}

/* 2. Pasar la lista a horizontal y alinearla a la derecha */
.wpc-filters-ul-list.wpc-filters-labels {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px; /* SeparaciÃ³n entre los botones */
    justify-content: flex-end; /* AlineaciÃ³n a la derecha segÃºn el diseÃ±o */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* 3. Limpiar los botones (Quitar el azul feo y dejarlos como texto) */
.wpc-filters-labels .wpc-term-item-content-wrapper label {
    background: transparent !important;
    color: var(--constrast) !important; 
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    padding: 0 !important;
    border: solid 1px rgba(0,0,0,.4) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: color 0.3s ease !important;
}

/* 4. Estado Hover */
.wpc-filters-labels .wpc-term-item-content-wrapper label:hover {
    color: #FFF9EB!important; 
}

/* 5. Estado Activo (Cuando la categorÃ­a estÃ¡ seleccionada) */
.wpc-term-selected .wpc-term-item-content-wrapper label {
    color:  #FFF9EB !important; 
    font-weight: 700 !important; 
	box-shadow:var(--over-natural) 0 8px 5px !important;
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper,
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper span,
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label{
    border-radius: 0 !important;
    margin:0!important;
}

.wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper{
	background-color:var(--active-button)!important;
}

/* 6. Asegurar que los checkboxes nativos no se asomen */
.wpc-label-input {
    display: none !important;
}

@media (width < 768px) {
  	.cta-header {
    	margin: 0px !important;
  	}
	.inside-header{
		padding:0!important;
	}
	.site-logo{
		padding:10px;
	}
	.main-navigation.sticky-navigation-transition .main-nav > ul > li > a,
	.sticky-navigation-transition .menu-toggle,
	.main-navigation.sticky-navigation-transition .menu-bar-item > a,
	.sticky-navigation-transition .navigation-branding .main-title{
		line-height:55px!important;
	}
}
