.owl-carousel .item {
    text-align: center;
    padding: 10px;
}

.owl-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media only screen and (max-width: 450px) {
    div.owl-carousel {
        padding: 0;
        text-align: center;
    }
}

.owl-carousel .owl-stage {
    display: flex;
}

.card-items {
    display: flex;
    flex: 1 0 auto;
    height: 100%;
    padding: 5px;
    width: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    padding: 15px;
    padding-top: 10px !important;
    flex: 1 1 auto;
}

.carousel-item {
    margin-left: 40px;
}

.carousel-item:first-child {
    margin-left: 0;
}

.card {
    width: 100%;
    border: 1px solid #ddd;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    height: auto;
}

/* .card-content già definito sopra */

.card-content h3 {
    font-family: Poppins;
    font-weight: 700;
    font-size: 20px;
    color: #020000;
    padding: 0 0 20px;
    margin: 0;
}

.card-content p {
    font-family: Poppins;
    font-weight: 300;
    color: #020000;
    font-size: 16px;
    text-align: left;
}

.btn {
    font-family: Poppins;
    font-weight: 700;
    padding: 10px 20px;
    text-align: center;
    background-color: #ffffff;
    color: #020000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #60ab59;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.btn:hover {

    background-color: #e2f1e2;
}

.card-actions {
    margin-top: auto;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.card-footer {
    display: flex;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
    flex-direction: column;
    margin-top: auto;
    flex-shrink: 0;
}

.card-footer div {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.card-footer div img {
    margin-right: 5px;
}

.card-footer > div > span {
    font-family: Poppins;
    font-weight: 700;
    font-size: 16px;
}

.wrapper-slider {
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
}

.grigio {
    background-color: #f6f7f6;
}

.bianco {
    background-color: #ffffff;
}

@media only screen and (min-width: 1000px) {
    .wrapper-slider {
        width: 100%;
        padding-left: 100px;
        padding-right: 100px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

@media only screen and (max-width: 999px) {
    .wrapper-slider {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

.wrapper-titolo {
    font-family: Poppins;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

@media only screen and (max-width: 767px) {
    .wrapper-titolo {
        font-size: 22px;
    }
}

@media only screen and (min-width: 768px) {
    .wrapper-titolo {
        font-size: 30px;
    }
}

.wrapper-testo {
    font-family: Poppins;
    font-weight: 400;
}

@media only screen and (max-width: 767px) {
    .wrapper-testo {
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) {
    .wrapper-testo {
        font-size: 20px;
    }
}

.box-prezzo {
    background: #146935;
    font-family: Poppins;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    padding-top: 7px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.box-prezzo > h3 {
    font-family: Poppins;
    font-size: 21px;
    color: #ffffff;
    font-weight: 700;
    margin-top: 0 !important;
}

.box-data {
    background: #60AB59;
    font-family: Poppins;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    padding-top: 7px;
}

.box-data > h3 {
    font-family: Poppins;
    font-size: 21px;
    color: #ffffff;
    font-weight: 700;
}

.hashtag {
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #21ba45;
    font-family: Poppins;
    padding: 5px 12px;
    border-radius: 5px;
    margin: 2px 2px 2px;
}

.wrapper-hashtag {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-promo {
    background-color: #146935 !important;
    color: #ffffff;
    width: 150px;
}

.btn-promo:hover {
    background-color: #248e4c !important;
    color: #ffffff;
}

.promo-text {
    font-family: Poppins;
    font-size: 14px;
    color: #6e6e6e;
    margin-left: 10px;
}

.data-text {
    font-family: Poppins;
    font-size: 14px;
    color: #fff;
    margin-left: 10px;
}

.wrap-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.wrap-data {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot.owl-nav {
    position: absolute;
    left: -10px;
    top: 50%;
    display: block;
    padding: 0.3em !important;
    font-size: 50px !important;
    margin: 0;
    cursor: pointer;
    color: #fff;
    transform: translate(-50%, -50%);
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot.owl-nav {
    position: absolute;
    right: -27px;
    top: 50%;
    display: block ;
    padding: 0.3em !important;
    font-size: 50px !important;
    margin: 0;
    cursor: pointer;
    color: #fff;
    transform: translate(-50%, -50%);
}

.owl-next:hover .owl-prev:hover {
    background-color: rgba(255, 255, 255, 0) !important;
    color: #000 !important;
    text-decoration: none;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: rgba(255, 255, 255, 0) !important;
    color: #aaa !important;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    .box-immagine {
        height: 235px;
    }
}

@media only screen and (min-width: 768px) {
    .box-immagine {
        height: 250px;
    }
}

@media only screen and (min-width: 1280px) {
    .box-immagine {
        height: 280px;
    }
}

.wrapper-categorie-servizi {
    margin: 20px;
}

.grid-categorie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    /* Centra gli elementi */
    gap: 20px;
    width: 100%;
}

.card-categoria {
    width: 100%;
    max-width: 250px;
    background-color: #fff;
}

.card-categoria:hover{
    cursor: pointer;
}

.card-categoria:hover .card-box-testo {
    background-color: #146935 !important;
    color: #fff !important;
}

.card-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.card-categoria h3 {
    margin: 10px 0;
    padding: 10px;
}

/* Layout a 4 colonne su desktop */
@media screen and (min-width: 1025px) {
    .grid-categorie {
        justify-content: center;
    }

    .card-categoria {
        flex: 1 1 350px;
        max-width: 350px;
    }
}

/* Layout a 3 colonne su tablet */
@media screen and (max-width: 1024px) {
    .card-categoria {
        flex: 1 1 350px;
        max-width: 350px;
    }
}

/* Layout a 2 colonne su schermi medi */
@media screen and (max-width: 768px) {
    .card-categoria {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(73% - 20px);
    }
}

/* Layout a 1 colonna su smartphone */
@media screen and (max-width: 480px) {
    .card-categoria {
        flex: 1 1 300px;
        max-width: 300px;
    }
}

.card-box-testo {
    position: relative;
    text-align: center;
    padding: 25px 20px 37px;
    background-color: #fff;
    margin: -10px 22px 23px 22px;
    display: block;
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .18);
    z-index: 1;
    color: #000;
    transition: background-color 0.5s;
    min-height: 155px;
}

.card-box-testo > h3 {
    font-family: Poppins;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.card-box-testo > h4 {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
    padding: 0;
    margin: 0;
}

.card-categoria > a {
    text-decoration: none !important;;
    outline: none;
}

.card-freccia {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    background-color: #5fab59;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
    z-index: 2;
    position: relative;
    align-items: center;
}


.wrapper-servizi-categoria {
    margin: 20px auto;
    max-width: 900px;
}
.categoria-titolo {
    font-size: 32px;
    font-family: 'Poppins';
    font-weight: 700;
    margin-bottom: 20px;
}
.servizi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.servizio-riga {
    display: flex;
    padding: 15px;
    padding-bottom: 25px;
    border-bottom: #d5d5d5 1px solid;
}
.servizio-left {
    min-width: 350px;
    max-width: 350px;
    height: 200px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}
.servizio-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.servizio-prezzo {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 700;
    color: #146933;
}

.servizio-right {
    flex: 2;
    padding-left: 20px;
    text-align: left;
}
.servizio-titolo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.servizio-descrizione {
    font-size: 16px;
    color: #666;
}


/* Responsività */
@media screen and (max-width: 768px) {
    .servizio-riga {
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow: hidden;
        padding-top: 0px !important;
        padding: 5px;
    }
    .servizio-left {
        max-width: 100%;
        margin-bottom: 25px;
        margin-top: 10px;
    }
    .servizio-right {
        padding-left: 0;
        margin-top: 10px;
    }

    .p0-mobile{
        padding: 0px;
    }

    .servizio-info {
        display: contents !important; 
    }
    
}

.wrapper-elenco-eventi {
    margin: 20px auto;
    max-width: 900px;
}
.titolo-eventi {
    font-size: 32px;
    font-family: 'Poppins';
    font-weight: 700;
    margin-bottom: 20px;
}
.eventi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.evento-riga {
    display: flex;
    padding: 15px;
    padding-bottom: 25px;
    border-bottom: #d5d5d5 1px solid;
}
.evento-left {
    flex: 1;
    min-width: 350px;
    max-width: 350px;
    text-align: center;
}
.evento-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.evento-prezzo {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 700;
    color: #146933;
}

.evento-right {
    flex: 2;
    padding-left: 20px;
    text-align: left;
}
.evento-titolo {
    font-family: Poppins;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.evento-data {
    font-family: Poppins;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
.evento-descrizione {
    font-family: Poppins;
    font-size: 16px;
    color: #666;
}

.evento-right > h3 {
    margin-top: 0px !important;
}

/* Responsività */
@media screen and (max-width: 768px) {
    .evento-riga {
        flex-direction: column;
        align-items: center;
        text-align: center;
        overflow: hidden;
        padding-top: 0px !important;
    }
    .evento-left {
        max-width: 100%;
        margin-bottom: 25px;
    }
    .evento-right {
        padding-left: 0;
        margin-top: 10px;
    }

    .p0-mobile{
        padding: 0px;
    }
}

h6 {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
}
