.hgs-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hgs-slides-container {
    max-height: 100%;
    position: relative;
    overflow: hidden;
}

.hgs-slide {
    display: none;
    position: relative;
}

.hgs-slide.active {
    display: block;
}

.hgs-slide img {
    width: 100%;
    height: auto;
}

.hgs-content {
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hgs-content h2 {
    font-size: 55px;
    font-weight: 540;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
}

.hgs-content h3 {
    font-size: 33px;
    font-weight: 300;
    color: white;
    padding-bottom: 0;
}

.hgs-content p {
    font-size: 19px;
    font-weight: 400;
    color: #ffffff;
}

.hgs-cta {
    display: inline-block;
    margin: 10px;
    border: 1px solid white;
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
}
.hgs-cta:hover{
    background: white;
    color: #09438C;
}

/* Stili per le frecce */
.hgs-prev-arrow,
.hgs-next-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.hgs-prev-arrow {
    left: 10px;
}

.hgs-next-arrow {
    right: 10px;
}

.hgs-prev-arrow:hover,
.hgs-next-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Stili per i dots */
.hgs-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.hgs-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.hgs-dot.active {
    background: #0073aa;
}
.hgs-slide.active {
    display: block;
    opacity: 1;
}

@media screen and (max-width: 1024px){
    .hgs-content h2 {
        font-size: 41px;
        padding-bottom: 0;
    }
    .hgs-content h3 {
        font-size: 27px;
    }
    .hgs-content p {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px){
    .hgs-slide.active {
        min-height: 200px;
    }
    .hgs-slide img {
        min-height: 200px;
    }
    .hgs-content {
       align-items: center;
    }
    .hgs-content h2 {
        font-size: 25px;
        padding-bottom: 0;
    }
    .hgs-content h3 {
        font-size: 21px;
    }
    .hgs-content p {
        font-size: 15px;
    }
    .hgs-cta {
        padding: 6px 15px;
        font-size: 13px;
    }
}