*{
    font-family: 'Montserrat', sans-serif;
}
#news{
    background-color: #938a75;
}
.logo-head{
    width: 34vw;
}
.carousel-control-prev{
    width: 8%;
}
.carousel-control-next{
    width: 8%;
}
.leggi-tutto a{
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
}
.img-element{
    height: 15%;
}
.btn-entra{
    padding: 1.3rem 3rem;
    border-radius: 100px;
    font-size: 1.3rem;
    font-weight: 400;
    border: 2px solid #fff;
    color: #fff;
    transition: color .15s ease-in-out,background-color .15s ease-in-out;
}

.btn-entra:hover, .btn-entra:active, .btn-entra:focus{
    cursor: pointer;
    background-color: #fff;
    color: #000;
}

.btn-success:hover, .btn-success:active, .btn-success:focus{
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: #fff;
    box-shadow: none;
}

.full-image {
    background-size: cover;
    background-position: center;
    height: 40vh; /* o qualsiasi altezza desiderata */
    margin-bottom: 2rem;
}

.square-image{
    aspect-ratio: 1 / 1;
}

.card-body{
    padding: 0;
}
.categoria{
    color: #ffd913;
    font-weight: 700;
    font-size: 1rem;
}
.card-title{
    font-size: 1.8rem;
    font-weight: 700;
}
.card-img-top{
    border-radius: 10px;
    height: clamp(0px, 40%, 230px);
}
.card{
    background-color: transparent;
    border: none;
}
.testo-overlay{
    text-align: center;
    color: #fff;
    padding: 1rem 0;
}
.box-attivita img{
    border-radius: 10px;
}
.box-attivita .testo-overlay{
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.active-navlink{
    color: #ffd913!important;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '>'!important;
}

.breadcrumb-item a{
    color: #000!important;
    text-decoration: none!important;
}
.yellow-box{
    background-color: #ffd913;
    padding: 4rem;
    display: flex;
    margin-bottom: 3rem;
}

.container-edizioni {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 3rem; /* distanza fra le colonne */
}

.edizione-item {
    width: calc((100% - 6rem) / 3); /* 3 colonne con 3rem totali di gap */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.edizione-item .square-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff !important;
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-bottom: 3rem;
}

.overlay-text span {
    font-weight: bold;
}

.entra-button {
    margin-top: 2rem;
    color: #000;
    border: 2px solid #000;
    font-weight: bold;
    padding: 1rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.entra-button:hover {
    background-color: #000;
    color: #fff;
}

.bando-button {
    margin-top: 2rem;
    color: #fff;
    background-color: #000;
    border: 2px solid #000;
    font-weight: 300;
    padding: 1rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.bando-button:hover {
    background-color: #fff;
    color: #000;
}
