/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Estado inicial: header transparente */
.header-sticky {
	background-color: rgba(0, 0, 0, 0.72);
}
.home .header-sticky {
    background-color: transparent;
    transition:
        background-color 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.35s ease;
}

/* Estado después de hacer scroll */
.header-sticky.elementor-sticky--effects {
    background-color: rgba(0, 0, 0, 0.72) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Estado inicial: línea invisible */
.menu-grow-izquierda .elementor-item::after {
    transform: scaleX(0) !important;
    transform-origin: left center !important;
    transition: transform 0.3s ease !important;
}

/* Hover: la línea crece de izquierda a derecha */
.menu-grow-izquierda .elementor-item:hover::after,
.menu-grow-izquierda .elementor-item:focus::after,
.menu-grow-izquierda .elementor-item.elementor-item-active::after {
    transform: scaleX(1) !important;
    transform-origin: left center !important;
}

/* Vínculo con línea animada */
.subraya .elementor-heading-title {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.subraya .elementor-heading-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background-color: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.subraya .elementor-heading-title:hover::after {
    transform: scaleX(1);
}

/*buscador*/
.jet-ajax-search__results-item .jet-ajax-search__item-link {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

.jet-ajax-search__results-item .jet-ajax-search__item-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.jet-ajax-search__results-item .jet-ajax-search__item-thumbnail-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.jet-ajax-search__results-item .jet-ajax-search__item-content-wrapper {
  display: block;
  width: 100%;
}

.jet-ajax-search__results-item .jet-ajax-search__item-title {
  display: block;
  margin-top: 8px !important;
}