.nora-services-carousel {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.nora-services-carousel .swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.nora-services-carousel .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto !important;
    position: relative;
    transition-property: transform;
    display: flex !important; /* Forza l'altezza uguale per flex */
}

.nora-service-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1; /* Occupa tutto lo spazio disponibile */
}

.nora-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nora-service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    width: 100%;
}

.nora-service-card-icon {
    width: 60px;
    height: 60px;
    background-color: #2b649e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.nora-service-card-icon i,
.nora-service-card-icon svg,
.nora-service-card-icon img,
.nora-svg-icon-img,
.nora-single-service-svg {
    font-size: 28px;
    color: #ffffff;
    fill: #ffffff;
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

.service-hero-icon img,
.service-hero-icon.nora-svg-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

.nora-service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2b649e;
    margin-bottom: 15px;
    line-height: 1.2;
    display: block;
}

.nora-service-card-description {
    font-size: 15px;
    line-height: 1.5;
    color: #7a7a7a;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nora-service-card-description p {
    margin-bottom: 0;
}

.nora-service-card-button {
    background-color: #2b649e;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid #2b649e;
}

.nora-service-card-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nora-service-card:hover .nora-service-card-button {
    background-color: #1e4b7a;
    border-color: #1e4b7a;
}

.nora-service-card:hover .nora-service-card-button i {
    transform: translateX(3px);
}

.nora-service-doctors {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}

.nora-doctors-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #2b649e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nora-doctors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nora-doctors-list li {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
}

.nora-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

@media (max-width: 1024px) {
    .nora-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nora-services-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Team Member Mobile Adjustments */
    .nora-team-card {
        border-radius: 0;
        height: 450px; /* Altezza fissa totale */
        display: flex;
        flex-direction: column;
        width: 100% !important;
        box-sizing: border-box;
    }

    .nora-grid-item, .swiper-slide {
        width: 100% !important;
        box-sizing: border-box;
    }

    .nora-team-card-image {
        height: 250px;
        flex-shrink: 0;
    }

    .nora-team-card-image img {
        object-position: center top;
    }

    .nora-team-card-content {
        padding: 20px 15px;
        height: 200px; /* Altezza fissa contenuto */
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .nora-team-card-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .nora-team-card-specializations li {
        font-size: 13px;
    }
}

.nora-grid-item {
    display: flex;
}

.nora-grid-item .nora-service-card {
    height: 100%;
}

.nora-services-carousel .swiper-pagination {
    position: relative;
    margin-top: 30px;
    bottom: 0;
}

.nora-services-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #2b649e;
    opacity: 0.3;
}

.nora-services-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* Forzatura estrema per le frecce nel frontend */
.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-next,
.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-prev {
    position: absolute !important;
    color: #2b649e !important;
    background: #ffffff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    top: 50% !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-next {
    right: 0px !important;
}

.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-prev {
    left: 0px !important;
}

.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-next::after,
.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-prev::after {
    display: none !important;
}

.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-next svg,
.elementor-widget-nora_services_carousel .nora-services-carousel.swiper .swiper-button-prev svg {
    width: 24px !important;
    height: 24px !important;
    color: #2b649e !important;
}

/* Container overflow per permettere alle frecce di uscire leggermente */
.elementor-widget-nora_services_carousel .elementor-widget-container {
    overflow: visible !important;
    padding: 0 30px;
}

/* Team Member Widget */
.nora-team-card {
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.nora-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.nora-team-card-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.nora-team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.nora-team-card:hover .nora-team-card-image img {
    transform: scale(1.05);
}

.nora-team-card-content {
    padding: 30px 20px 40px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nora-team-card-name {
    font-size: 22px;
    font-weight: 700;
    color: #2b649e;
    margin-bottom: 15px;
    line-height: 1.2;
}

.nora-team-card-name span {
    display: inline-block;
    margin: 0 2px;
}

.nora-team-card-specializations {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nora-team-card-specializations li {
    font-size: 15px;
    color: #7a7a7a;
    margin-bottom: 5px;
    line-height: 1.4;
}

.nora-team-card-specializations li:last-child {
    margin-bottom: 0;
}

/* Google Map Sidebar Widget */
.nora-map-wrapper {
    display: flex;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.nora-map-sidebar-left .nora-map-wrapper {
    flex-direction: row-reverse;
}

.nora-map-container {
    flex: 1;
    min-height: 400px;
}

.nora-map-sidebar {
    width: 350px;
    background: #f8f9fa;
    border-left: 1px solid #eee;
    overflow-y: auto;
}

.nora-map-sidebar-left .nora-map-sidebar {
    border-left: none;
    border-right: 1px solid #eee;
}

.nora-map-sidebar-inner {
    padding: 0;
}

.nora-map-sidebar-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    border-left: 4px solid transparent;
}

.nora-map-sidebar-item:hover {
    background: #fff;
}

.nora-map-sidebar-item.active {
    background: #fff;
    border-left-color: #2b649e;
}

.nora-map-sidebar-icon {
    font-size: 20px;
    color: #2b649e;
    margin-top: 2px;
}

.nora-map-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.nora-map-item-address {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.nora-info-window {
    padding: 10px;
    max-width: 250px;
}

.nora-info-window h4 {
    margin: 0 0 10px 0;
    color: #2b649e;
}

@media (max-width: 768px) {
    .nora-map-wrapper {
        flex-direction: column !important;
    }
    .nora-map-sidebar {
        width: 100%;
        height: 300px !important;
        border-left: none;
        border-top: 1px solid #eee;
    }
    .nora-map-sidebar-left .nora-map-sidebar {
        border-right: none;
    }
}
