/* Estilos específicos para resultados de FooGallery */
.foogallery-search-results-wrapper {
    max-width: 1200px;
    padding: 0 1rem;
}

.ast-container {
	flex-direction: column;
}

.foogallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin: 2rem 0;
}

.foogallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
	width: max-content;
}

.foogallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.gallery-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gallery-thumbnail img:hover{
	transform: scale(1.05);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-title {
    margin: 0 !important;
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
    color: #333;
	position: absolute;
    display: block;
    bottom: 0px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    opacity: 0.6;
    line-height: 1em;
    background: #fff;
}

/* Asegurar que estos estilos sobrescriban cualquier otro */
body .foogallery-search-results-wrapper .search-results-title {
    font-size: 1.8rem !important;
    color: #222 !important;
    margin-bottom: 2rem !important;
}

body .no-results {
    text-align: center !important;
    padding: 2rem !important;
    color: #666 !important;
}
/* Réplica exacta del search de Astra */
/* .ast-search-menu-icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.ast-search-menu-icon .ast-search-icon {
    display: flex;
    align-items: center;
}

.ast-search-menu-icon .ast-search-icon__link {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    padding: 0 0.6em;
    display: block;
    line-height: 1;
    transition: all 0.2s;
}

.ast-search-menu-icon .astra-search-icon {
    display: inline-flex;
    line-height: 1;
}

.ast-search-menu-icon__searchform {
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
    position: absolute;
    right: -1em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 0;
    overflow: hidden;
}

.ast-search-menu-icon.slide-search .ast-search-menu-icon__searchform {
    background-color: #fff;
    border: 1px solid #e7e7e7;
    right: 0;
    width: 250px;
    padding: 0 45px 0 15px;
    visibility: visible;
    opacity: 1;
}

.ast-search-wrapper {
    position: relative;
}

.ast-search-menu-icon .search-form {
    position: relative;
    margin: 0;
}

.ast-search-menu-icon .search-field {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: inherit;
    color: inherit;
    line-height: 1;
    box-shadow: none;
}

.ast-search-menu-icon .search-submit {
    background: transparent;
    border: 0;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    color: inherit;
    cursor: pointer;
}

/* Efecto hover y focus */
.ast-search-menu-icon .ast-search-icon__link:hover,
.ast-search-menu-icon .search-submit:hover {
    opacity: 0.8;
}

.ast-search-menu-icon .search-field:focus {
    outline: none;
} */