#section-page{
    overflow:hidden;
}
#section-page aside {
    padding: 2rem 3rem;
    background: #F3F5FA;
}
aside > .wp-block-group:not(:last-child),
aside .wp-block-rank-math-toc-block{
    margin-bottom: 2rem;
}
.wp-block-group .wp-block-heading,
.wp-block-rank-math-toc-block > h2{
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    font-size: 1.5rem;
}
.wp-block-group .wp-block-heading:not(.noline):after,
.wp-block-rank-math-toc-block > h2:after{
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    display: block;
    width: 50%;
    height: 2px;
    overflow: hidden;
    background: var(--mgh-color-2);
}
.wp-block-rank-math-toc-block a{
    text-decoration: none !important;
}
.wp-block-group-citta-projects ul > li {
    margin-bottom: 1.5rem;
}
.wp-block-group-citta-projects img {
    width: 100%;
    height: 100px;
    margin-bottom: 0.25rem;
    object-fit: cover;
}
#section-page .wp-block-group-citta-projects a {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    padding: 0 30px 5px 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--mgh-color-1);
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--mgh-color-1);
    text-decoration: none;
    text-transform: uppercase;
}
#section-page .wp-block-group-citta-projects a:after {
    content: '';
    position: absolute;
    top: 4px;
    right: 0;
    width: 12px;
    height: 12px;
    overflow: hidden;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11.996" height="12" viewBox="0 0 11.996 12"><path id="arrow-up-right" d="M41.2,96H42.1v10.733H40.307V99.052L32,107.366l-.634.634L30.1,106.733l.634-.634,8.311-8.311H31.363V96H41.2Z" transform="translate(-30.1 -96)" fill="%23003153"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}
#section-page .wp-block-group-citta-projects a:hover:after {
    transform: rotate(45deg);
}
.wp-block-group-citta-reviews .card {
    background: none;
    border: none;
}
.wp-block-group-citta-reviews .card-body {
    padding: 0;
}
.wp-block-group-citta-reviews .card-text {
    position: relative;
    min-height: 205px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.3;
}
.wp-block-group-citta-reviews .card-text .quote.open-quote,
.wp-block-group-citta-reviews .card-text .quote.close-quote {
    display: none;
}
.wp-block-group-citta-reviews .card-text:before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 20px;
    width: 0;
    height: 0;
    border-width: 12px 17px 0 17px;
    border-style: solid;
    border-color: #dddddd transparent transparent transparent;
}
.wp-block-group-citta-reviews .card-text:after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 20px;
    width: 0;
    height: 0;
    border-width: 12px 17px 0 17px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}
.wp-block-group-citta-reviews .readmore-link {
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    color: var(--mgh-color-1);
    text-decoration: underline;
    text-transform: uppercase;
}
.wp-block-group-citta-reviews .card-text-inner {
    overflow: hidden;
    transition: all .5s cubic-bezier(.215, .61, .355, 1);
}
.wp-block-group-citta-reviews .card-title {
    margin-top: 25px;
    font-size: 20px;
    font-weight: 700;
}
.wp-block-group-citta-reviews .stars svg {
    margin-right: 3px;
}
.wp-block-group-citta-reviews .swiper-custom-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 10px;
    column-gap: 5px;
}
.wp-block-group-citta-reviews .swiper-button-next,
.wp-block-group-citta-reviews .swiper-button-prev {
    position: relative;
    top: auto;
    bottom: -12px;
    width: 56px;
    height: 36px;
}
.wp-block-group-citta-reviews .swiper-button-prev {
    left: -70px;
}
.wp-block-group-citta-reviews .swiper-button-next {
    right: -70px;
}
.wp-block-group-citta-reviews .swiper-button-next:after,
.wp-block-group-citta-reviews .swiper-button-prev:after {
    content: '';
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28.258" height="13.625" viewBox="0 0 28.258 13.625"><g transform="translate(626.652 3219.656) rotate(180)"><line x2="27.652" transform="translate(599 3213)" fill="none" stroke="%23003153" stroke-width="1"/><path d="M3265.445,2060.514l-4.445,7.033,4.445,6.029" transform="translate(-2662 1145.784)" fill="none" stroke="%23003153" stroke-width="1"/></g></svg>') center no-repeat;
    background-size: contain;
}
.wp-block-group-citta-reviews .swiper-button-prev:after {
    transform: rotate(180deg);
}
#section-progetti{
    padding-top: 70px;
    padding-bottom: 70px;
}
#section-progetti .card {
    overflow: hidden;
    border: none;
    border-radius: 0;
    color: #fff;
}
#section-progetti .card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
#section-progetti .card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 32px;
    text-align: center;
}
#section-progetti .card-title {
    margin-bottom: 16px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 7px #00000066;
}
#section-progetti .card-title a {
    color: #fff;
}
#section-progetti .card.comingsoon .card-title a {
    cursor: default;
}
#section-progetti .card:not(.comingsoon) .card-title a:hover {
    text-decoration: underline;
}
#section-progetti .card-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.3;
}
#section-progetti .card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(180deg, rgba(var(--mgh-color-1-rgb), 0) 60%, rgba(var(--mgh-color-1-rgb), 1) 100%) 0% 0% no-repeat padding-box;
}
#section-progetti .swiper-custom-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 10px;
    column-gap: 5px;
}
#section-progetti .swiper-custom-pagination-wrapper .swiper-pagination:not(.swiper-pagination-bullets-dynamic) {
    top: 0;
}
#section-progetti-swiper .swiper-button-next,
#section-progetti-swiper .swiper-button-prev {
    position: relative;
    top: auto;
    bottom: -12px;
    width: 56px;
    height: 36px;
}
#section-progetti-swiper .swiper-button-prev {
    left: -70px;
}
#section-progetti-swiper .swiper-button-next {
    right: -70px;
}
#section-progetti-swiper .swiper-button-next:after,
#section-progetti-swiper .swiper-button-prev:after {
    content: '';
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28.258" height="13.625" viewBox="0 0 28.258 13.625"><g transform="translate(626.652 3219.656) rotate(180)"><line x2="27.652" transform="translate(599 3213)" fill="none" stroke="%23003153" stroke-width="1"/><path d="M3265.445,2060.514l-4.445,7.033,4.445,6.029" transform="translate(-2662 1145.784)" fill="none" stroke="%23003153" stroke-width="1"/></g></svg>') center no-repeat;
    background-size: contain;
}
#section-progetti-swiper .swiper-button-prev:after {
    transform: rotate(180deg);
}