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

#corsi-gallery img.attachment-full {
    object-fit:cover;
    object-position: center center;
    height: 260px;
}

.e-loop-item .categoria-attivita .elementor-heading-title {
	padding: 0px 10px;
	border-radius: 30px;
}

.e-loop-item.categoria-attivita-corsi .categoria-attivita .elementor-heading-title {
	background-color: #838E6E;
}

.e-loop-item.categoria-attivita-workshop .categoria-attivita .elementor-heading-title {
	background-color: #A9B8A3;
}

.e-loop-item.categoria-attivita-convegni .categoria-attivita .elementor-heading-title {
	background-color: #2F4B59;
}

.e-loop-item.categoria-attivita-risorse .categoria-attivita .elementor-heading-title {
	background-color: #6E6E6E;
}

.e-loop-item.categoria-attivita-cene-sociali .categoria-attivita .elementor-heading-title {
	background-color: #D6CFBF;
}


#veronique-expand .eael-accordion-tab-title {
	text-align: center;
}

.wpcf7 label {
	width: 100%;
}

.wpcf7 input[type=date], .wpcf7 input[type=email], .wpcf7 input[type=number], .wpcf7 input[type=password], .wpcf7 input[type=search], .wpcf7 input[type=tel], .wpcf7 input[type=text], .wpcf7 input[type=url], .wpcf7 select, .wpcf7 textarea {
	border-radius: 30px;
	padding: 10px !important;
}

.wpcf7 [type=submit] {
	border-radius: 80px;
    padding: 8px 25px;
	font-family: "Inter", Sans-serif;
	text-transform: uppercase;
	border: 1px solid #000000;
	color: #000000;
}

.wpcf7 [type=submit]:hover {
	background-color: #000000;
	color: #ffffff;
}

.woocommerce-cart .wc-block-cart__submit-container a {
	color: #ffffff;
}

.woocommerce-checkout .wc-block-components-title.wc-block-components-title {
	letter-spacing: 0.1px;
}

.woocommerce-account .site-main {
	margin: 80px auto;
}

.woocommerce-account .woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	padding: 10px;
	border-radius: 30px;
}

.woocommerce-account .woocommerce-form button.button {
		border-radius: 80px;
    padding: 8px 25px;
	font-family: "Inter", Sans-serif;
	text-transform: uppercase;
	background-color: #000000;
	border: 1px solid #000000;
	color: #ffffff;
}

/* Wrapper menu account */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Singolo item */
.woocommerce-MyAccount-navigation ul li {
    margin: 0;
	width: 100%;
}

/* Link stile bottone */
.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;
    border-radius: 18px;

    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.06);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

/* Hover */
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #B9CEFF;
    color: #111;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

/* Tab attiva */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #B9CEFF;
    color: #111;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

/* Mobile */
@media (max-width: 767px) {

    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation ul li a {
        width: 100%;
        justify-content: flex-start;
    }
}


/* gallery loghi */
/* Loghi Gallery Styles */
.loghi-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 20px;
    margin: 30px 0;
    align-items: center;
}

/* Tablet View */
@media (min-width: 768px) {
    .loghi-gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .loghi-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .loghi-gallery-item {
        flex: 0 0 calc(25% - 20px); /* 4 columns accounting for gap */
        max-width: calc(25% - 20px);
    }
}

.loghi-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    transition: transform 0.3s ease;
    height: 100px;
}

.loghi-gallery-item:hover {
    transform: translateY(-3px);
}

.loghi-gallery-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loghi-gallery-item img {
    object-fit: contain;
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.loghi-gallery-item:hover img {
    opacity: 0.9;
}