/*
Theme Name: ManifestiFuturisti
Author: AlfaPi - Serena
Description: tema per Manifesti Futuristi
Version:1.0
Text Domain: manifesti-futuristi
*/

/* 
01 - HEADING
02 - MAIN MENU
03 - HERO HP
04 - INTRO
05 - ANNI
06 - MANIFESTI
07 - SINGLE MANIFESTI
08 - BOX BLOG
09 - PAGINAZIONE
10 - MODULO
11 - FOOTER
12 - ACF BLOCK
12a - Box immagine-testo
12b - Box testo evidenziato
13 - CONTENUTI 
14 - ELENCO PUNTATO/NUMERATO
15 - BOX TRASCRIZIONE INTEGRALE
16 - BREADCRUMB
17 - HEADER BLOG PAGE
18 - HEADER SINGLE BLOG PAGE
 */

/* VARIABILI */
:root {
    --font-1: 'Outfit';
    --font-2: 'League Gothic';
    --colore-1: #C54435;
    --colore-2: #063D3F;
    --colore-3: #D2AF74;
    --colore-4: #F5F5F5;
    --colore-5: #F2E9DB;
    --colore-6: #F0F0F0;
    --colore-7: #E7DFCA;
    --text-color: #252D31;
    --menu-color: #063D3F;
}

a,
a:hover {
    text-decoration: none !important;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-size: 1.75rem;
    color: var(--text-color);
    background-color: #fff;
    font-family: var(--font-1);
    font-weight: 300;
}

body,
html {
    height: 100%;
    width: 100%;
    position: relative;
    touch-action: pan-y;
}

a,
a:hover {
    text-decoration: none;
    color: var(--colore-1);
}

strong {
    font-weight: bold;
}

figcaption {
    text-align: center;
    background-color: var(--colore-7);
    margin: 0 !important;
}

.container-fluid {
    max-width: 1920px;
    margin: 0 auto;
}

.bg-avorio {
    background-image: url(images/BG_Avorio.webp);
}

@media (max-width:767px) {
    body {
        font-size: 1.5rem;
    }
}

/* 01 - HEADING */
h1 {
    font-size: 5rem;
    font-family: var(--font-2);
}

h2 {
    color: var(--colore-1);
    font-size: 4.175rem;
    font-family: var(--font-2);
}

h3 {
    font-size: 3.5rem;
    font-family: var(--font-2);
    line-height: 1;
}

h4 {
    font-size: 1.75rem;
}

@media (max-width:767px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2.5rem;
    }
}

p+h3,
p+h2 {
    margin: 60px auto 15px auto;
}

p a {
    color: var(--colore-1);
    font-weight: bold;
    text-decoration: underline !important;
}

.wp-block-image {
    margin-block: 30px;
}

.wp-element-caption {
    padding-block: 20px;
}

/* 02 - MAIN MENU */
.navbar {
    z-index: 1000;
}

.navbar-nav {
    position: static;
}

.fixed {
    top: 0 !important;
    left: 0;
    right: 0;
    position: fixed !important;
    box-shadow: rgb(0 0 0 / 10%) 1px 18px 15px -4px;
    z-index: +1001;
}

.bg-main-menu {
    background-color: var(--colore-4) !important;
    height: 67px;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand {
    width: 100%;
    max-width: 361px;
    height: auto;
}

.nav-link {
    color: var(--menu-color);
    font-size: 1.375rem;
    margin: 0 10px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--colore-2) !important;
}

.current_page_item .nav-link.active {
    color: var(--colore-1);
}

.active-manifesti a,
.active-news a,
.current_page_item a {
    color: var(--colore-1) !important;
}

.main-menu {
    max-width: initial;
    margin-inline: initial
}

.main-menu .nav-item .nav-link {
    padding-inline: 15px;
    padding-block: 0;
}

.main-menu .nav-item:is(.wpml-ls-item) .nav-link,
.main-menu .nav-item:is(.open-search) .nav-link {
    padding-inline: 5px;
}

.main-menu .nav-item:is(.open-search) .nav-link {
    color: var(--colore-1);
}

.main-menu .wpml-ls-item {
    border-left: 2px solid #063d3f26;
}

.wpml-ls-current-language {
    opacity: .3;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--colore-2);
}

@media (max-width:1399px) {
    .navbar-brand {
        width: 75%;
        max-width: 260px;
        margin: 0;
        padding: 0 0 0 10px;
    }

    .navbar-brand img {
        width: 100%;
    }

    #main-menu {
        height: 100vh;
    }

    .main-menu {
        box-shadow: initial;
        background-color: var(--colore-4);
        display: block;
    }

    .bg-main-menu .container-fluid {
        background-color: var(--colore-4) !important;
        padding-inline: 0;
    }

    .nav-item {
        padding: 15px 0;
        text-align: center;
        border-bottom: 2px solid #063d3f26;
        margin-inline: 0;
    }

    .main-menu .nav-link {
        color: var(--colore-2);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler {
        border: none;
        border-radius: initial;
        height: 67px;
        overflow: hidden;
        background-color: var(--colore-4) !important;
        top: 0;
    }

    .navbar-toggler span span {
        background-color: var(--colore-1);
        height: 4px;
        margin-block: 7px;
        display: block;
        width: 50px;
    }

    #navbar-close {
        width: 65px;
    }

    #navbar-close i {
        font-size: 3.4rem;
        color: var(--colore-1);
        position: relative;
        bottom: 0;
    }

    .main-menu .wpml-ls-item {
        border: none;
        width: 49%;
        display: inline-flex;
        justify-content: end;
    }

    .main-menu .wpml-ls-item:last-of-type {
        justify-content: start;
    }

    .main-menu .wpml-ls-item a {
        width: fit-content;
    }

    .main-menu .wpml-ls-item:first-of-type {
        border-right: 2px solid #063d3f26;
    }

    .wpml-ls-current-language {
        opacity: .3;
    }
}

/* 03 - HERO HP */
.hp-hero {
    align-content: center;
    justify-items: center;
    margin-bottom: 70px;
    background-image:
        url('images/Base_hero.jpg'),
        url('images/BG_Avorio.webp');
    background-size: 55%, cover;
    background-position:
        right bottom,
        center;
    background-repeat: no-repeat;
}

.hp-hero h1 span {
    font-size: 8rem;
    text-transform: uppercase;
    line-height: 100%;
    letter-spacing: 2px;
    display: block;
    position: relative;
    background-image: url(images/BG_blu.webp);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: auto;
    background-repeat: repeat;
    background-position: center;
}

.hp-hero h1 span::before {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 2px;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    color: var(--colore-3);
    filter: blur(4px);
}

.hp-hero h1 span:last-of-type {
    background-image: url(images/BG_rosso.webp);
}

.hp-hero .cta-1,
.hp-hero .cta-2 {
    background-image: url(images/BG_blu.webp);
    color: #fff;
    font-size: 2.175rem;
    text-transform: uppercase;
    padding: 10px 40px;
    font-family: var(--font-2);
}

.hp-hero .cta-2 {
    background-image: url(images/BG_rosso.webp);
}

.hp-hero .cta-1:hover {
    background-image: url(images/BG_rosso.webp);
}

.hp-hero .cta-2:hover {
    background-image: url(images/BG_blu.webp);
}

.hp-hero p {
    font-size: 2.175rem;
    font-weight: 300;
    color: var(--colore-2);
    padding-right: 34%;
}

.hp-hero p strong:last-of-type {
    color: var(--colore-1);
}

@media (max-width:520px) {
    .hp-hero h1 {
        margin-top: 20px;
    }

    .hp-hero h1 span {
        font-size: 6rem;
    }

    .hp-hero p {
        font-size: 1.6rem;
    }

    .hp-hero .cta-1,
    .hp-hero .cta-2 {
        display: block;
        margin: 30px;
        font-size: 1.75rem;
    }
}

@media (max-width:991px) {
    .hp-hero {
        background-size: 100%, cover;
    }

    .hp-hero p {
        text-align: center;
        padding-right: initial;
        padding-inline: 30px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .hp-hero h1 {
        margin-top: 20px;
    }

    .hp-hero h1 span {
        display: initial;
    }

    .hp-hero p {
        padding-right: initial;
        padding-inline: 2%;
    }
}

@media (min-width:1200px) and (max-width:1399px) {
    .hp-hero h1 span {
        font-size: 5.5rem;
    }

    .hp-hero p {
        font-size: 1.75rem;
        padding-right: 15%;
    }

    .hp-hero .cta-1,
    .hp-hero .cta-2 {
        font-size: 1.75rem;
    }
}

@media (min-width:1400px) and (max-width:1599px) {
    .hp-hero h1 span {
        font-size: 6.5rem;
    }

    .hp-hero p {
        font-size: 2rem;
        padding-right: 25%;
    }

    .hp-hero .cta-1,
    .hp-hero .cta-2 {
        font-size: 2rem;
    }
}

@media (max-width:1199px) {
    .hp-hero p {
        padding-right: initial;
        padding-inline: 2%;
    }
}

@media (max-width:767px) {
    .hp-hero {
        padding-top: 50px;
    }
}

@media (min-width:768px) and (max-width:1199px) {
    .hp-hero {
        padding-top: 100px;
    }
}

/* 03 - INTRO */
.hp-intro {
    font-size: 1.75rem;
    margin-bottom: 70px;
}

.hp-intro h2 {
    font-size: 5rem;
    color: var(--colore-1);
}

.hp-intro p {
    font-weight: 300;
}

.hp-intro .cta {
    background-image: url(images/BG_rosso.webp);
    color: #fff;
    font-size: 2.25rem;
    text-transform: uppercase;
    padding: 10px 40px;
    font-family: var(--font-2);
}

.hp-intro .cta:hover {
    background-image: url(images/BG_blu.webp);
}

@media (max-width:767px) {
    .hp-intro h2 {
        font-size: 4rem;
    }
}

@media (max-width:1199px) {
    .hp-intro h2 {
        padding-inline: 40px;
    }

    .hp-intro p {
        padding-inline: 40px;
    }

    .hp-intro .more {
        margin: 40px;
    }
}

/* 04 - ANNI */
.content-anni {
    background: linear-gradient(180deg, var(--colore-5) 0%, #a19d9d00 10%), url(images/BG_Avorio.webp);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-y;
}

.box-content-anni {
    padding-inline: 40px;
}

.box-content-anni .row {
    background: transparent linear-gradient(180deg, #FFFFFF 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
}

.box-content-anni h3 {
    font-size: 4.175rem;
}

/*
.box-anni {
    background: transparent linear-gradient(180deg, #FFFFFF 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
}
*/

.box-anni p {
    font-size: 1.375rem;
}

.box-anni p.anni {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 2.5rem;
    font-family: var(--font-2);
}

.box-anni p.more a {
    background-color: #fff;
    border: 2px solid var(--colore-1);
    text-transform: uppercase;
    font-family: var(--font-2);
    padding: 2px 25px;
    font-size: 1.75rem;
    font-weight: normal;
    text-decoration: none !important;
}

.box-anni p.more a i {
    transform: rotate(-45deg);
    font-size: 1.6rem;
}

.box-anni p.more a:hover {
    color: #fff;
    background-color: var(--colore-1);
}

.box-anni p.more-tax a {
    background-color: #fff;
    border: 2px solid var(--colore-1);
    padding: 2px 25px;
    color: 2px solid var(--colore-1);
    text-decoration: none !important;
    font-family: var(--font-2);
    text-transform: uppercase;
    color: var(--colore-1);
    font-weight: normal;
    font-size: 1.75rem;
}

.box-anni p.more-tax a.tax-page {
    background-color: transparent;
    border: none;
}

.box-anni p.more-tax a i {
    transform: rotate(-45deg);
    font-size: 1.6rem;
}

.box-anni p svg .bordo {
    stroke: #252D31;
    stroke-width: 12;
    fill: #fff;
}

.box-anni p svg .spunta {
    fill: #C54435;
}

.box-anni p svg .spunta-colorata {
    fill: #fff;
}

@media (max-width:767px) {
    .box-anni p:nth-child(2) {
        display: none;
    }

    .box-anni p.anni {
        flex-direction: column;
    }

    .box-anni p.anni span:nth-child(2) {
        transform: rotate(90deg);
    }
}

@media (min-width:992px) {
    .box-content-anni,
    .content-autore  {
        padding-inline: 80px;
    }

    .box-anni {
        max-width: 96%;
    }
}


.content-autore label {
    font-size: 1.25rem;
}

.btn-autore {
    background-color: #fff;
    border: 2px solid var(--colore-1);
    padding: 2px 25px;
    text-decoration: none !important;
    font-family: var(--font-2);
    text-transform: uppercase;
    color: var(--colore-1);
    font-weight: normal;
    font-size: 1.3rem;
    top: 0;
}

.btn-autore:hover {
    color: #fff !important;

}

/* 05 - MANIFESTI */
.bg-hp-manifesti {
    background-image: url(images/BG_Avorio.webp);
    background-position: center center;
}

.box-content-manifesti {
    padding-inline: 40px;
}

.box-content-manifesti.correlati h2 {
    color: var(--text-color);
}

.box-content-manifesti h3 {
    font-size: 4.175rem;
}

.box-manifesti {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: -6px 6px 3px #0000001F;
    padding: 25px;
    height: fit-content;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

.box-manifesti img {
    object-fit: cover;
    aspect-ratio: 2.5/3;
    object-position: top center;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
    border: 3px solid var(--colore-4);
}

.box-manifesti span.data {
    background-color: var(--colore-5);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 5px 10px;
}

.box-manifesti span.codice {
    background-color: var(--colore-6);
    font-size: 1.125rem;
    font-weight: 300;
    padding: 5px 10px;
}

.box-manifesti h4 a {
    font-size: 2.75rem;
    font-family: var(--font-2);
    color: var(--colore-1);
}

.box-manifesti p.sottotitolo {
    font-size: 1.75rem;
    font-family: var(--font-2);
}

.box-manifesti p.autore {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
}

.box-manifesti p.autore i {
    float: left;
    margin-right: 10px;
    margin-top: 9px;
    color: var(--colore-3);
}

.box-manifesti p.sommario {
    font-size: 1.25rem;
    border-left: 2px solid var(--colore-3);
    padding-left: 25px;
}

.box-manifesti p.more a {
    border: 2px solid var(--colore-1);
    text-transform: uppercase;
    font-family: var(--font-2);
    padding: 2px 25px;
    font-size: 1.75rem;
    background-color: var(--colore-1);
    color: #fff;
    font-weight: normal;
    text-decoration: none !important;
}

.box-manifesti p.more a:hover {
    background-color: #fff;
    color: var(--colore-1);
}

.box-content-manifesti .all-more a {
    background-image: url(images/BG_blu.webp);
    color: #fff;
    font-size: 1.8rem;
    text-transform: uppercase;
    padding: 10px 40px;
    font-family: var(--font-2);
}

.box-content-manifesti .all-more a:hover {
    background-image: url(images/BG_rosso.webp);
}

@media (max-width:991px) {
    .box-manifesti img {
        margin-bottom: 20px;
    }

    .box-manifesti {
        width: 95%;
    }
}

@media (min-width:541px) and (max-width:767px) {
    .container.box-manifesti {
        max-width: 100%;
    }
}

@media (max-width:767px) {
    .box-content-manifesti {
        padding-inline: 8px;
    }
}

/* SINGLE MANIFESTI */
.info-manifesto {
    position: relative;
    background-image:
        url('images/Volantini_Header-Manifesti.webp'),
        url('images/BG_Avorio.webp');
    background-size: 33%, cover;
    background-position:
        left top,
        center;
    background-repeat: no-repeat;
    background-blend-mode: normal, normal, normal;
    opacity: 1;
    padding-block: 25px 110px;
    margin-bottom: 60px;
}

.info-manifesto::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 50%;
    right: 0;
    bottom: 0;
    background-image: url(images/Volantini_Header-Manifesti.webp);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    transform: rotate(180deg);
}

.info-manifesto img {
    box-shadow: inset -8px 9px 8px #00000029, -8px 8px 2px #252D3117;
    border: 3px solid var(--colore-4);
    object-fit: cover;
    /*aspect-ratio: 2.5 / 3;*/
    object-position: top center;
}

.info-manifesto h1 {
    color: var(--colore-1);
    line-height: 1;
}

.info-manifesto .sottotitolo {
    font-size: 2rem;
    font-family: var(--font-2);
}

.info-manifesto .autore {
    font-size: 1.5rem;
    font-weight: 600;
}

.info-manifesto .autore i {
    color: var(--colore-1);
}

.info-manifesto .sommario {
    font-size: 1.5rem;
    border-left: 2px solid var(--colore-1);
    padding-left: 30px;
}

.info-manifesto ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-left: 30px;
}

.info-manifesto ul li {
    display: grid;
    grid-template-rows: auto auto;
    left: 0;
}

.info-manifesto ul li span:first-of-type {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.1em;
}

.info-manifesto ul li span:last-of-type {
    font-size: 1.625rem;
    font-weight: 600;
}

@media (max-width:767px) {
    .info-manifesto ul {
        grid-template-columns: initial;
    }
}

/* 07 - BOX BLOG */
.box-content-blog h2 a {
    font-size: 4.175rem;
    color: var(--colore-1);
}

.box-blog {
    background-color: #fff;
}

.box-blog h3 a {
    color: var(--colore-1);
    font-size: 2.75rem;
}

.box-blog p {
    font-size: 1.25rem;
    border-left: 2px solid var(--colore-3);
    padding-left: 25px;
}

.box-blog p.more {
    border-left: none;
    padding-left: initial;
    text-align: right;
    padding-bottom: 20px;
}

.box-blog p.more a {
    background-color: var(--colore-1);
    font-size: 1.75rem;
    font-family: var(--font-2);
    color: #fff;
    padding: 10px 40px;
    text-transform: uppercase;
    text-decoration: none !important;
    font-weight: normal;
}

.box-blog p.more a:hover {
    background-color: var(--colore-2);
}

@media (max-width:767px) {
    .box-blog h3 a {
        font-size: 2.25rem;
    }

    .box-blog p.more a {
        font-size: 1.25rem;
    }
}

/* 10 PAGINAZIONE */
.pagination {
    margin: 0 auto;
    width: fit-content;
    margin-top: 80px;
}

.pagination .page-numbers {
    padding: 15px;
    color: #fff;
    font-size: 1.125rem;
    background-color: var(--colore-1);
    font-weight: 600;
    margin-inline: 10px;
    line-height: 1;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    color: var(--text-color);
    background-color: var(--colore-3);
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    color: var(--colore-1);
    background-color: transparent;
    font-size: 3rem;
    padding: 0;
}

prev page-numbers {
    margin: 40px auto;
    color: var(--text-color);
}

/* MODULO */

.container.modulo {
    background-color: #F5F5F5;
    padding: 50px;
    margin-block: 50px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    padding: 6px 12px;
    width: 100%;
    border: 1px solid #DFDFDF;
    font-size: 1.75rem;
    color: var(--text-color);
}

input[type="number"] {
    width: auto;
    padding-block: 0;
    font-size: 1.25rem;
}

input.disabled {
    background-color: #979797;
    color: #fff;
}

textarea {
    height: 285px;
    resize: none;
}

:focus-visible {
    outline: none !important;
    border-bottom-color: var(--colore-1) !important;
}

.wpcf7-form label,
.modulo label {
    font-size: 1.375rem;
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border: 1px solid #A1A1A1;
    border-radius: 6px;
    position: relative;
    top: 2px;
    left: -20px;
}


 
select{
    padding: 6px 12px;
    border: 1px solid #DFDFDF;
    font-size: 1.25rem;
    color: var(--text-color);
}

.wpcf7-list-item-label {
    position: relative;
    left: -15px;
    font-size: 1rem;
}

.wpcf7-list-item-label a {
    font-weight: 700;
    color: var(--colore-1);
    text-decoration: none !important;
}

.wpcf7-form-control.wpcf7-submit.has-spinner,
button {
    font-size: 1.75rem;
    padding: 2px 60px;
    background-color: var(--colore-1);
    font-family: var(--font-2);
    border: 2px solid var(--colore-1);
    text-transform: uppercase;
    font-weight: normal;
    color: #fff;
    position: relative;
    top: 15px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner:hover,
button:hover {
    background-color: var(--colore-2);
    border-color: var(--colore-2);
}

.wpcf7 .wpcf7-submit:disabled {
    opacity: .7;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border: none;
    background: red;
    text-align: center;
    color: #fff;
    max-width: 1320px;
    margin: 0 auto 40px auto;
}

.wpcf7-spinner {
    display: block;
}

#arithmathic_refresh {
    background-color: transparent;
    padding: 0;
    border: none;
}

#arithmathic_refresh svg {
    position: relative;
    bottom: 15px;
}

input::placeholder {
    font-style: italic;
    font-size: 1.25rem;
    font-family: var(--font-1);
}

.wpcf7-not-valid-tip {
    color: var(--colore-1);
    font-size: 1.25rem;
}

#arithmathic_result {
    color: var(--colore-1);
    font-size: 1.25rem;

}

@media (max-width:767px) {
    .container.modulo {
        padding: 25px;
    }
}

/* 12 - FOOTER */
footer {
    background-color: var(--colore-4);
    font-size: 1.2rem;
}

footer>.container {
    padding-block: 80px;
}

footer a {
    background-image: url(images/BG_blu.webp);
    color: #fff;
    font-size: 1.8rem;
    text-transform: uppercase;
    padding: 10px 40px;
    font-family: var(--font-2);
    font-weight: normal;
    text-decoration: none !important;
}

footer a:hover {
    background-image: url(images/BG_rosso.webp);
    color: #fff;
}

footer .bg-credits {
    background-color: var(--colore-2);
    color: var(--colore-4);
}

footer .bg-credits a {
    background-image: none;
    color: #fff;
    font-size: 1rem;
    padding: 0;
    text-transform: initial;
    font-weight: normal;
    font-family: var(--font-1);
    margin-inline: 10px;
}

@media (max-width:640px) {
    footer img {
        max-width: 220px !important;
    }
}

/* 13 - ACF BLOCK */
/* 13b - Box immagine-testo */
.box-img-testo {
    margin-block: 60px;
}

.box-img-testo span {
    color: var(--colore-1);
    font-size: 1.675rem;
    font-weight: 700;
}

@media (max-width:767px) {
    .box-img-testo img {
        margin-block: 15px;
    }
}

/* 13l - Box testo evidenziato */
.box-testo-evidenziato {
    margin-block: 60px;
    background-image: url(images/BG_Avorio.webp);
    background-position: center center;
    padding: 50px 90px;
    position: relative;
    font-weight: 400;
}

.box-testo-evidenziato::before {
    content: "";
    background-image: url(images/Virgolette-citazione.svg);
    position: absolute;
    top: 15px;
    left: -40px;
    width: 64px;
    height: 87px;
    z-index: 1;
}

.box-testo-evidenziato p:first-of-type {
    font-weight: 600;
    text-align: left;
}

.box-testo-evidenziato p:nth-of-type(2)::before {
    left: 50%;
    content: "";
    position: absolute;
    width: 2.5%;
    height: 2px;
    background-color: var(--text-color);
    top: 65.5%;
}

@media (max-width:767px) {
    .box-testo-evidenziato {
        padding: 10px 15px 50px 40px;
        width: calc(100% - 40px);
        margin-left: 40px;
        font-size: 1.5rem;
    }

    .box-testo-evidenziato::before {
        top: 15px;
    }
}

/* 14 - CONTENUTI */
.sommario {
    font-size: 2.125rem;
    font-weight: 300;
}

.sommario.blog {
    font-size: 1.925rem;
}

@media (max-width:767px) {
    .sommario {
        font-size: 1.75rem;
    }

    .sommario.blog {
        font-size: 1.75rem;
    }
}

/* 14 - ELENCO PUNTATO/NUMERATO */
ul {
    list-style: none;
}

ul li:not(.menu-item) {
    margin-bottom: 20px;
    position: relative;
}

ol {
    display: grid;
    row-gap: 28px;
    list-style: none;
    counter-reset: list;
    margin: 40px 0 40px 20px;
}

ol li {
    counter-increment: list;
    position: relative;
}

ol li:not(.menu-item):before {
    content: counter(list);
    position: absolute;
    left: -40px;
    font-weight: 900;
    color: var(--colore-1);
    top: 0;
    font-size: 1.75rem;
}

ol li,
ul li {
    left: 10px;
}

ol li strong,
ul li strong {
    color: var(--colore-2)
}

ul.wp-block-list {
    margin-block: 40px;
}

ul.wp-block-list li {
    left: 30px;
    width: calc(100% - 30px);
}

ul.wp-block-list li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 14px;
    width: 12px;
    height: 12px;
    background: var(--colore-1);
    border-radius: 50%;
}

.wp-block-file:not(.wp-element-button) {
    font-size: .8em;
    text-align: center;
    margin-block: 50px;
}

.wp-block-file__button {
    background: var(--colore-1);
    border-radius: 0;
    text-transform: uppercase;
    font-family: var(--font-2);
    font-size: 2rem;
}

.wp-block-file__button::before {
    content: "\f063";
    font-family: "Font Awesome 6 Free";
    position: relative;
    border: none;
    margin-right: 10px;
    font-weight: 900;
    top: 1px;
}

:where(.wp-block-file__button):is(a):active,
:where(.wp-block-file__button):is(a):focus,
:where(.wp-block-file__button):is(a):hover,
:where(.wp-block-file__button):is(a):visited {
    box-shadow: none;
    color: #fff;
    opacity: 1;
    background-color: var(--colore-2);
}

@media (max-width:767px) {
    .wp-block-file__button {
        font-size: 1.5rem;
    }
}

/* TRASCRIZIONE INTEGRALE */
.box-trascrizione {
    margin-block: 80px;
}

.box-content-overlay {
    position: relative;
    max-height: 10em;
    overflow: hidden;
    margin-bottom: 90px;
    margin-block: 80px;
}

.box-content-overlay .trascrizione-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 8em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    text-align: center;
}

.box-content-overlay p {
    font-size: 1.65rem;
}

.box-content-overlay .trascrizione-overlay a {
    position: relative;
    display: inline-block;
    color: var(--colore-2);
    font-size: 2.2rem;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 50px;
    font-family: var(--font-2);
    text-transform: uppercase;
    border: 3px solid var(--colore-1);
    line-height: 1;
    background-color: #fff;
    bottom: -100px;
}

.box-content-overlay .trascrizione-overlay a:hover {
    background: var(--colore-1);
    color: #fff;
}

.box-content-overlay a.chiudi {
    color: var(--colore-1);
    font-size: 2.2rem;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 50px;
    font-family: var(--font-2);
    text-transform: uppercase;
    border: 3px solid var(--colore-1);
    background-color: #fff;
    font-weight: normal;
    text-decoration: none !important;
}

.box-content-overlay a.chiudi i {
    font-size: 1.75rem;
    bottom: 2px;
    position: relative;
}

.box-content-overlay a.chiudi:hover {
    background-color: var(--colore-1);
    color: #fff;
}

.box-trascrizione p.more a {
    background-color: var(--colore-1);
    color: #fff;
    font-size: 2.2rem;
    text-decoration: none;
    padding: 10px 50px;
    font-family: var(--font-2);
    text-transform: uppercase;
    border: 3px solid var(--colore-1);
    font-weight: normal;
    text-decoration: none !important;
}

.box-trascrizione p.more a:hover {
    background-color: #fff;
    color: var(--colore-1);
    text-decoration: none !important;
}

.box-trascrizione span {
    font-size: 2rem;
    color: var(--colore-1);
    font-family: var(--font-2);
    font-weight: normal;
}

.box-trascrizione h2 {
    font-size: 3.5rem;
    color: var(--text-color);
    font-weight: normal;
}

.box-trascrizione h3 {
    font-size: 2.25rem;
    font-family: var(--font-1);
    font-weight: normal;
}

@media (max-width:767px) {
    .box-trascrizione p.more a {
        font-size: 1.75rem;
        padding-inline: 0;
        display: block;
    }
}

/* 16 - BREADCRUMB */
.briciole {
    position: relative;
    z-index: +2;
}

.briciole span {
    font-size: 1.5rem;
}

.briciole span a {
    color: var(--colore-2);
    font-weight: 700;
}

.briciole span a img {
    position: relative;
    bottom: 7px;
}

.briciole .breadcrumb_last {
    opacity: 0.57;
    font-weight: 300;
}

@media (max-width:767px) {
    .briciole span {
        font-size: 1.2rem;
    }
}

/* HEADER BLOG PAGE */
.header-page {
    position: relative;
    background-image:
        url(images/BG_Avorio.webp);
    background-size: cover;
    background-position:
        center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    margin-bottom: 60px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding-block: 50px;
}

.header-page img.header-dx,
.header-page img.header-sx {
    width: 270px !important;
    position: absolute;
    background-color: transparent !important;
    height: auto;
}

.header-page img.header-sx {
    left: 0;
    bottom: 0;
}

.header-page img.header-dx {
    right: 0;
    top: 0;
    transform: rotate(180deg);
}

.header-page h1 {
    color: var(--colore-1);
    font-size: 6.5rem;
    text-transform: uppercase;
}

@media (max-width:767px) {
    .header-page {

        padding-block: 120px;
    }

    .header-page h1 {
        font-size: 4.5rem;
    }
}

/* HEADER SINGLE BLOG PAGE */
.header-single-blog {
    position: relative;
    background-image: url(images/BG_Avorio.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    margin-bottom: 60px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding-block: 100px;
}

.header-single-blog .container {
    max-width: 1170px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px 0;
    z-index: 1;
}

.header-single-blog img.header-dx,
.header-single-blog img.header-sx {
    width: 230px !important;
    height: auto !important;
    position: absolute;
    background-color: transparent !important;
}

.header-single-blog img.header-sx {
    left: 0;
    bottom: 0;
}

.header-single-blog img.header-dx {
    right: 0;
    top: 0;
    transform: rotate(180deg);
}

.header-single-blog h1 {
    color: var(--colore-1);
    font-size: 5rem;
    line-height: 1;
    margin-block: auto;
}

.header-single-blog .briciole {
    position: relative;
    margin-top: 20px;
}

.info-manifesto .briciole {
    background-image: url(images/BG_Avorio.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: fit-content;
    height: fit-content;
    border-radius: 100px;
    padding: 8px 19px;
    margin-bottom: 20px;
}

.info-manifesto .briciole img {
    box-shadow: none;
    border: none;
}

@media (max-width:767px) {
    .header-single-blog {
        padding-block: 120px;
    }

    .header-single-blog h1 {
        font-size: 3.5rem;
    }
}

@media (max-width:600px) {
    .header-single-blog .container {
        padding-block: 60px;
        padding-inline: 8vw;
    }
}

@media (min-width:601px) and (max-width:1000px) {
    .header-single-blog .container {
        padding-inline: 14vw;
    }
}

@media (min-width:1001px) and (max-width:1400px) {
    .header-single-blog .container {
        padding-inline: 8vw;
    }
}

/* RICERCA (form) */
.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #063d3fe3;
}

.overlay-content {
    position: relative;
    top: 30%;
    width: 80%;
    margin-top: 30px;
    margin: auto;
    left: 20%;
}

.overlay-content h2 {
    color: #fff;
    font-family: var(--font-1);
    font-weight: 300;
    font-size: 5.375rem;
    text-align: center;
    width: 40%;
    margin-bottom: 50px;
}

.overlay .close-search {
    position: absolute;
    top: 100px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: #fff;
    z-index: +999;
}

.overlay input[type=text] {
    padding: 10px 15px;
    font-size: 1.5rem;
    border: none;
    float: left;
    width: 40%;
    border-radius: initial;
}

.overlay input[type=text]:hover {
    background: #f1f1f1;
}

.overlay button {
    float: left;
    width: 71px;
    padding: 10px;
    background: #DFDFDF;
    font-size: 1.5rem;
    border: none;
    color: var(--text-color) !important;
    border-radius: 0 !important;
    top: 0;
}

.overlay button:hover {
    background: #bbb;
}

@media (max-width:1199px) {
    .overlay-content {
        top: 20%;
        width: 90%;
        left: initial;
    }

    .overlay h2 {
        width: 100%;
        font-size: 4rem;
    }

    .overlay-content h2 svg {
        width: 60px;
    }

    .overlay input[type=text] {
        width: calc(100% - 75px);
    }
}

.container-fluid.search-result {
    background: linear-gradient(180deg, var(--colore-5) 0%, #a19d9d00 10%), url(images/BG_Avorio.webp);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-y;
}

.search-result .row {
    padding-block: 35px;
    border-bottom: 2px solid #063d3f26;
}

.search-result a img {
    object-fit: cover;
    aspect-ratio: 2.5 / 3;
    object-position: top center;
}

.search-result h2 a {
    color: var(--colore-1);
    font-size: 3rem;
}

.search-result p.update {
    font-weight: 300;
    font-style: italic;
    text-align: end;
    font-size: 1.25rem;
}

/* ZOOM PER GALLERY MEDIA FOLDER */
.mfp-img{
    transition: transform 0.3s ease-in-out;
    cursor: zoom-in;
}

.mfp-img:hover {
    transform: scale(2);
    cursor: zoom-out;
}