

body {

    font-weight: 200!important;

}


b, strong {
    font-weight: 700 !important;
}

.giustifica {
    text-align: justify !important;
    hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
}


a {
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
    text-decoration: none!important;
}

a.link-custom {
    color: var(--arco-default);
}


.btn {
    border-radius: 52px!important;

    text-transform: unset!important;
    font-weight: 300!important;
}

.btn.btn-primary {

    text-transform: unset!important;
    font-weight: 300!important;
}

/*testo copy footer*/
.text-secondary {
    color: rgb(88 88 88) !important;
}



.fs-7 {
    font-size: 0.8rem!important;
}


.bg-secondary {
    background-color: #505050 !important;

}


.page-template-page-locale .swiper-pagination {
    bottom: 45px !important;
}

.orario-riga {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.orario-giorno {
    width: 120px; /* abbastanza da contenere il giorno più lungo */
    font-weight: bold;
}

.card {

    border: 0px!important;
    border-radius: 0.875rem !important;
}


:root {
    --bs-body-bg: #ffffff;
    --arco-default: #e02e32;
    --bs-primary: #e02e32;
    --bs-success: #30a84f;
    --bs-primary-rgb: 224, 46, 50;
    --bs-secondary-rgb: 38, 38, 38;
    --bs-success-rgb: 48, 168, 79 ;
}

/* Dark mode */
[data-bs-theme="dark"] {
    --bs-body-bg: #000000; /* fondo scuro */
    --arco-default: #e02e32;
    --bs-primary: #e02e32;
    --bs-primary-rgb: 224, 46, 50;
    --bs-secondary-rgb: 38, 38, 38;
    --bs-dark-rgb: 80, 80, 80;
}

.btn.btn-primary {
    --bs-btn-bg: #e02e32;
    --bs-btn-border-color: #e02e32;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #e02e32;
    --bs-btn-hover-border-color: #e02e32;
    --bs-btn-active-bg: #e02e32;
    --bs-btn-active-border-color: #e02e32;
    text-transform: uppercase;
    font-weight: 500;
}

.btn.btn-secondary {
    text-transform: uppercase;
    font-weight: 500;
    --bs-btn-color: #fff;
    --bs-btn-bg: #505050;
    --bs-btn-border-color: #505050;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #505050;
    --bs-btn-hover-border-color: #505050;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #505050;
    --bs-btn-active-border-color: #505050;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #aaaaaa;
    --bs-btn-disabled-border-color: #aaaaaa;
}

.btn.btn-info {
    --bs-btn-bg: #FFFFFF;
    --bs-btn-border-color: #FFFFFF;
    --bs-btn-color: #000000;
    --bs-btn-hover-bg: #FFFFFF;
    --bs-btn-hover-border-color: #FFFFFF;
    --bs-btn-active-bg: #FFFFFF;
    --bs-btn-active-border-color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 500;
}

.bg-very-dark {
    background-color: #262626;
}

.bg-light-grey {
    background-color: #505050;
}

.top-10 {
    top: 10px;
}

header.sticky-top {
    background-color: var(--bs-body-bg);
    z-index: 1030;
}



.card-text {
    font-size: 16px;
}

.arco-img-scheda {
    width: 100%;
    aspect-ratio: 3 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 0.375rem; /* per uniformarsi con Bootstrap .card */
    border-top-right-radius: 0.375rem;
}


.custom-logo {
    max-height: 45px;
    height: auto;
    width: auto;
}

.navbar-toggler {
    border: none !important;
}

/* Container del menu */
#menu-menu-principale {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Voci di menu */
#menu-menu-principale > li > a {
    text-decoration: none;
    /* text-transform: uppercase;*/
    font-weight: 300;
    color: var(--bs-body-color);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}


/*       menù mobile       */


.padding-laterale{
    padding-right: 1.5rem!important;
    padding-left: 1.5rem!important;
}

/*pallino dello slide attivo */
.swiper-pagination-bullet-active {
    transform: scale(1.9)!important;
}

.swiper-pagination-bullet {
    width:4px!important;
    height: 4px!important;
    background-color: #fff!important;

}







/* Media query per dispositivi mobili (max-width: 768px) */
@media (max-width: 768px) {





    /* Forza la struttura del menu */
    #menu-menu-principale li {
        border-bottom: none !important;
        position: relative !important;
        display: block;
        width: 100% !important;
    }

    /* Crea linea sotto ogni elemento tranne l'ultimo */
    #menu-menu-principale li:not(:last-child) {
        border-bottom: 1px solid #333 !important;
    }

    /* Forza il link a occupare tutto lo spazio */
    #menu-menu-principale li a {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-right: 50px !important;
    }

    /* Aggiungi freccia con massima priorità */
    #menu-menu-principale li a::after {
        content: "❯" !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 10px !important;
        color: #ccc !important;
        z-index: 9999 !important;
        display: block !important;
        transition: all 0.2s ease !important;
    }

    /* Effetto hover per la freccia */
    #menu-menu-principale li a:hover::after {
        color: #fff !important;
        transform: translateY(-50%) translateX(3px) !important;
    }

    /* Rimuovi eventuali pseudo-elementi che potrebbero interferire */
    #menu-menu-principale li::before,
    #menu-menu-principale li::after {
        content: none !important;
        display: none !important;
    }

    /* Nascondi elementi vuoti del menu */
    #menu-menu-principale li:empty {
        display: none !important;
    }
}


/*   FINE    menù mobile       */





/* Effetto hover per la freccia */
#menu-menu-principale li a:hover::after {
    color: #fff; /* Bianco al hover */
    transform: translateY(-50%) translateX(3px); /* Piccolo movimento */
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {

    font-weight: 100;

}



/* Hover + attivo */
#menu-menu-principale > li > a:hover,
#menu-menu-principale > li.current-menu-item > a {
    color: var(--arco-default);
    border-bottom: 2px solid var(--arco-default);
}

.locale-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease;
}

.locale-item:hover {
    background-color: #2a2a2a;
    color: white;
    text-decoration: none;
}

.locale-logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locale-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.locale-info {
    flex: 1;
}

.locale-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.locale-address {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0 0 3px 0;
}

.locale-city {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* backup css elenco per regione dei club

.regione-header {
    background-color: #505050;
    color: white;
    padding: 5px 20px;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

*/

.testi-secondari {
    font-size: 13px;
}

.regione-header {

    color: white;
    padding: 5px 20px;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;

    border-bottom: 1px solid #999999;
}

.regione-header:first-child {
    margin-top: 0;
}

.page-title {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.layout-switch {
    text-align: center;
    padding: 20px;
    background-color: #505050;
}

.layout-switch a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #505050;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;
}

.layout-switch a:hover {
    color: white;
    border-color: white;
}

.layout-switch a.active {
    background-color: #666;
    color: white;
}


/* Responsive (mobile) */
@media (max-width: 768px) {
    #menu-menu-principale {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 1rem;
    color: white;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-excerpt {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-excerpt {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 14px !important;
}