.normal-content-box{
    position: relative;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 25px 20px 25px;
}
.card-content-box{
    position: relative;
    background-color: white;
    border: 1px solid #c4c6cc;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px 170px 10px 25px;
}
.card-content-box h3 a {
    color: #4d4f54;
    overflow-wrap: normal;
}
.card-content-box h3 a:hover{
    text-decoration: none;
}
.card-content-box h3 a:visited{
    color: #4d4f54;
}
.content-arrow{
    position: absolute;
    right: 25px;
    top: 50%;
    width: 46px;
    height: 46px;
    background-color: #71b9ef;
    border-radius: 23px;
    margin-top: -23px;
    -webkit-transition: background-color .5s ease;
    -o-transition: background-color .5s ease;
    transition: background-color .5s ease;
}
.content-arrow:hover, .content-arrow:focus {
    background-color: #45a9f0;
}
/*5T Precedentemente in template_maas.css*/

/* Stile di base per i link box */
.maas-link-box {
    position: relative;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
    height: 250px;
    border: 1px solid #e1e3e6;
    border-radius: 13px;
    margin-bottom: 25px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #333;
}

.maas-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0); 
    transition: background 0.3s ease; 
}

.maas-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #3c8fcd
}

.maas-link-box:hover .maas-link-overlay {
    background: rgba(255, 255, 255, 0.5); 
}

/* Stili per il layout desktop con un massimo di 3 colonne */
.maas-link-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.maas-link-box-container a{
    display: contents;
    text-decoration: none;
}

.maas-link-box-container a:visited{
    color: #333;
}

.maas-link-box {
    width: calc(33.333% - 20px);
    /* 20px è la somma dei margini (10px su entrambi i lati) */
}

.maas-link-title {
    position: absolute;
    bottom: 0;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2em;
    font-size: 22px;
    font-family: inherit;
    color: #fff;
    text-align: center;
    width: 100%;
}

.maas-link-box:hover .maas-link-title{
    color: #333;
}

.maas-loghi {
    width: calc(100% - 40px);
    margin: 0 20px;
}

/* Stili per il layout tablet con un massimo di 2 colonne */
@media (max-width: 768px) {
    .maas-link-box {
        width: calc(50% - 20px);
        /* 20px è la somma dei margini (10px su entrambi i lati) */
    }
}

/* Stili per il layout mobile con una singola colonna */
@media (max-width: 480px) {
    .maas-link-box {
        width: 100%;
    }
}