section a {
    margin: 0 auto;
}

/**************************
    HERO - SLIDER
***************************/
.hero {
    margin-top: .5rem;
    margin-bottom: 8rem;
    width: 100%;
    height: 31.25rem;
    border-top: 5px solid var(--bordeaux);
    border-bottom: 5px solid var(--bordeaux);
    background: var(--white);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_col {
    width: 50%;
    height: 100%;
}

.slider {
    background-color: var(--bordeaux);
    padding: 1rem;
}

.hero_breack {
    background-color: var(--bordeaux);
    height: 5px;
    width: 5rem;
}

.hero_call,
.slider_item {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.hero_call h1 {
    color: var(--dark_gold);
    font-size: 4rem;
    font-weight: 400;
    line-height: 3.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.hero_call p {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    width: 31.25rem;
    text-align: justify;
}

.hero_btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.slider_item h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 600;
    /* line-height: 2rem; */
    max-width: 85%;
    text-align: center;
}

.slider_img_wrapper {
    margin: 2rem 0;
    width: 32.5rem;
    height: 18.3rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slider_video .slider_img_wrapper {
    background-color: var(--black);
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider_video .slider_img_wrapper img {
    opacity: .5;
    transform: scale(1.05);
}

.slider_img_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider_img_wrapper img {
    transform: scale(1.12);
}

.slider_video .slider_img_wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 8rem;
    opacity: 1 !important;
    z-index: 998;
    transition: all .3s ease;
}

.slider_video .slider_img_wrapper:hover img {
    opacity: 1;
}

.slider_video .slider_img_wrapper:hover i {
    color: var(--bright_gold);
}

/* .hero_mobile_img{
    display: none;
} */
.hero_mobile_logo {
    display: none;
}

@media screen and (max-width: 1133px) {
    .hero {
        margin-top: 5rem;
        margin-bottom: 8rem;
        width: 100%;
        height: auto;
        border-top: none;
        border-bottom: none;
        background: var(--white);

        flex-direction: column;
        justify-content: center;
        gap: 3rem;
    }

    .hero_col {
        width: 100%;
    }

    .slider {
        padding: 3rem;
    }

    /* .slider{
        display: none;
    } */
    /* .hero_mobile_img{
        display: block;
        height: 20rem;
        width: 100%;
        margin-top: 3rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    } */
}

@media screen and (max-width: 1024px) {
    .hero_mobile_logo {
        display: block;
        width: 11.25rem;
        margin: 3rem 0;
        margin-bottom: 0;
    }

    .hero_call p {
        max-width: 31.25rem;
        width: 70%;
    }

    .slider_img_wrapper {
        margin: 2rem 0;
        width: 80%;
        max-height: 25rem;
        height: auto;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .slider_img_wrapper {
        width: 90%;
    }
}

@media screen and (max-width: 430px) {
    .hero {
        margin-bottom: 5rem;
    }

    .hero_call h1 {
        font-size: 2.5rem;
    }

    .slider_item h2 {
        font-size: 1.5rem;
        max-width: none;
    }

    .slider_video .slider_img_wrapper i {
        font-size: 6rem;
    }

    .slider_img_wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 375px) {
    .slider_item h2 {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .slider_video .slider_img_wrapper i {
        font-size: 5rem;
    }
}

@media screen and (max-width: 420px) {
    .slider_item h2 {
        font-size: 1rem;
    }

    .slider_img_wrapper {
        box-shadow: none;
    }
}

/**************************
   ULTIME NEWS
***************************/
.no-news-message {
    width: 100%;
    text-align: center;
    color: var(--dark_gray);
    font-size: 18px;
    margin-top: 3rem;
}

#ultimeNews {
    margin-bottom: 8rem;
}

.news_row {
    margin: 5rem 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3rem;
}

.news_col {
    width: calc((100% - 3rem * 2) / 3);
    transition: all .3s linear;
    cursor: pointer;
}

.news_col:hover {
    transform: scale(1.01);
}

.news_col:active {
    transform: scale(1);
}

.news_card_img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.news_card_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* .placeholder{
    width: 80% !important;
} */
.news_col:active .news_card_img {
    box-shadow: none;
}

/* .img_preview{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 280px;
    max-height: 280px;
    margin-bottom: .5rem;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
} 
.news_col:active .img_preview{
    box-shadow: none;
}*/
.news_col small {
    color: var(--dark_gray);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 0.8rem;
    text-transform: uppercase;
}

.news_col small i {
    margin-right: .5rem;
}

.news_brake {
    width: 3.13rem;
    height: 0.20rem;
    background: var(--bordeaux);
    margin: 0.75rem 0;
    transition: background-color 250ms linear;
}

.news_col:hover .news_brake,
.news_col:active .news_brake {
    background-color: var(--bright_gold);
}

.news_col p {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2rem;
    text-transform: uppercase;
}

/********* MEDIA QUERY ************/
@media screen and (max-width: 1340px) {
    .news_row {
        flex-wrap: wrap;
    }

    .news_col {
        width: calc((100% - 3rem) / 2);
    }

    .news_row>a:last-child {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .news_col {
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    #ultimeNews {
        margin-bottom: 5rem;
    }

    .news_row {
        margin: 3rem 0;
    }
}

@media screen and (max-width: 375px) {
    .news_col p {
        text-align: justify;
    }
}

/**************************
   COSA OFFRIAMO
***************************/
#cosaOfriamo {
    margin-bottom: 8rem;
}

.offers_row {
    margin: 5rem 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.offers_row a {
    width: calc((100% - 3rem * 2) / 3);
    height: 90px;
    padding: 1.25rem 2.5rem;
    background: var(--bordeaux);
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 250ms linear;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.offers_row a:hover {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transform: scale(1.01);
}

.offers_row a:active {
    box-shadow: none;
    transform: scale(1);
}

/* .offers_row a:last-child{
    background: var(--bright_gold);
    color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
    padding: 1.05rem 0;

    transition: .3s ease;

    pointer-events: all;
}
.offers_row a:last-child:hover{
    background: var(--dark_gold);
}
.offers_row a:last-child:active{
    box-shadow: none;
} */
/* .btn_mobile{
    display: none;
} */
@media screen and (max-width: 1246px) {
    .offers_row a {
        font-size: .75rem;
    }
}

@media screen and (max-width: 1164px) {
    .offers_row {
        gap: 1.5rem;
    }

    .offers_row a {
        width: calc((100% - 1.5rem * 2) / 3);
        font-size: .65rem;
    }

    /* .offers_row a:last-child{
        padding: .95rem 0;
    } */
}

@media screen and (max-width: 1020px) {
    .offers_row a {
        width: calc((100% - 1.5rem * 2) / 2);
        font-size: .75rem;
    }

    /* .offers_row a:last-child{
        padding: 1rem 0;
    } */

}

@media screen and (max-width: 760px) {
    #cosaOfriamo {
        margin-bottom: 5rem;
    }

    .offers_row {
        margin: 3rem 0;
    }

    .offers_row a {
        width: 100%;
        font-size: .75rem;
        /* padding: 1rem; */
    }

    .offers_row a:last-child {
        display: none;
    }

    .btn_mobile {
        display: block;
    }
}

/**************************
    FORMAZIONE
***************************/
#formazione {
    /* margin-bottom: 8rem; */
    border-top: 8px solid var(--bordeaux);
    padding-top: 5rem;
}

.f_link {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f_link a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark_gold);
    text-transform: uppercase;
    padding: 0 1.25rem;
    transform: .3s ease;
}

.f_link a:hover {
    color: var(--bright_gold);
}

.f_link_breack {
    display: inline-block;
    width: 3.13rem;
    height: 0.3rem;
    background-color: var(--bordeaux);
}

.f_imgs {
    margin-top: 5rem;
    margin-bottom: 3.5rem;
    width: 100%;
    height: 20rem;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.f_imgs img {
    width: calc(100% / 3);
}

.f_texture {
    width: 100%;
    height: 8rem;
    /* background-color: var(--bordeaux); */
    background: url(../../img/graduation_texture.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
    .f_imgs {
        margin-top: 3rem;
        margin-bottom: 3rem;
        height: auto;
    }

    .f_texture {
        height: 5rem;
    }

    .f_link div {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    .f_link_breack {
        display: none;
    }
}

@media screen and (max-width: 430px) {
    #formazione {
        /* margin-bottom: 5rem; */
        border-top: none;
        padding-top: 0;
    }

    .f_imgs img {
        width: 100%;
    }

    .f_imgs img:nth-child(2),
    .f_imgs img:nth-child(3) {
        display: none;
    }

    .f_link_breack {
        width: 2rem;
    }

    .f_link a {
        padding: 0 .85rem;
    }
}

@media screen and (max-width: 319px) {
    .f_link {
        display: none;
    }
}

/**************************
    ORGANISMI
***************************/
/* #organismi{
    margin-bottom: 8rem;
}
.organismi_p{
    margin: 5rem auto;
    max-width: 600px;
    width: 100%;
    line-height: 1.5rem;
    text-align: justify;
}
.organismi_p a{
    color: var(--dark_gray);
    text-decoration: underline;
    font-weight: 600;
}
.organismi_btns{
    width: fit-content;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
@media screen and (max-width: 475px){
    .organismi_btns{
        flex-direction: column;
    }
}
@media screen and (max-width: 430px){
    #organismi{
        margin-bottom: 5rem;
    }
    .organismi_btns{
        flex-direction: column;
    }
}
@media screen and (max-width: 320px){
    .organismi_p{
        text-align: center;
    }
} */
/**************************
    RICHIEDI INFO
***************************/
.info_bg {
    width: 100%;
    height: 25rem;
    border-top: 5px solid var(--bright_gold);
    background: url(../../img/home_info.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.info_bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(214, 214, 214, 0.5);
    /* Utilizza rgba per definire l'opacità */
}

.info_call {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bright_gold);
    color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1.5rem 2rem;
}

.info_call_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.info_call_content h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 4.8rem;
    text-transform: uppercase;
}

.info_call_content div {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
}

.info_call_content a {
    border: 3px solid var(--white);
    color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    transition: .3s ease;
    text-transform: uppercase;
}

.info_call_content a:hover {
    background-color: var(--white);
    color: var(--bright_gold);
}

.info_call_content a:active {
    box-shadow: none;
}

@media screen and (max-width: 1680px) {
    .info_call_content h2 {
        font-size: 3.5rem;
        line-height: 4rem;
    }
}

@media screen and (max-width: 1305px) {
    .info_call_content h2 {
        font-size: 3.3rem;
        line-height: 3.8rem;
    }
}

@media screen and (max-width: 1239px) {
    .info_call_content h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

@media screen and (max-width: 1139px) {
    .info_call_content h2 {
        font-size: 2.8rem;
        line-height: 3rem;
    }
}

@media screen and (max-width: 1073px) {
    .info_call_content h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .info_bg {
        height: fit-content;
        border-top: none;
        background: var(--darker_bordeaux);
        padding: 5rem 0;
    }

    .info_bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--darker_bordeaux);
    }

    .info_call {
        position: static;
        transform: translate(0, 0);
        background-color: transparent;
        box-shadow: none;
        padding: 1.25rem 1.88rem;
    }

    .info_call_content a {
        border: 3px solid var(--bright_gold);
        color: var(--bright_gold);
    }

    .info_call_content a:hover {
        background-color: transparent;
        color: var(--dark_gold);
        border: 3px solid var(--dark_gold);
    }

    .info_call_content div {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 604px) {
    .info_call_content h2 {
        font-size: 2rem;
        line-height: 2.1rem;
    }

    .info_call_content div {
        font-size: 1rem;
    }
}

@media screen and (max-width: 412px) {
    .info_call_content h2 {
        font-size: 1.8rem;
        line-height: 2rem;
    }
}

@media screen and (max-width: 375px) {
    .info_call {
        padding: 0 1rem;
    }

    .info_call_content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
}