/*
Theme Name: archiviolorenzobonechi
Theme : http://wordpress.org/themes/twentythirteen
Author: Luca Zoccola
Author URI: http://wordpress.org/
Description:
Version: 0.1
Tested up to: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: archiviolorenzobonechi

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/




/* FONT E COLONNE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* FONT E COLONNE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* FONT E COLONNE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Import custom fonts */

@font-face {
    font-family: 'FTAktual';
    src: url('/FTAktual-Regular.woff2') format('woff2'),
         url('/FTAktual-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.menu-link.is-active a,
.menu-link a:hover { text-decoration:underline !important; 
    text-decoration-thickness: 1.5px !important; /* spessore sottile */ }
    
  /* Gutter globale da 5px su TUTTE le colonne di Bootstrap */
[class^="col-"],
[class*=" col-"] {
    padding-left: 2.5px !important;
    padding-right: 2.5px !important;
}

/* Per evitare spazio eccessivo dei container di Bootstrap */
.container,
.container-fluid,
.row {
    padding-left: 2.5px !important;
    padding-right: 2.5px !important;
}

/* Row: rimuove il -15px di Bootstrap che sovrascriverebbe i tuoi 5px */
.row {
    margin-left: -2.5px !important;
    margin-right: -2.5px !important;
}

/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BODY E STILI PRIMARY------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

body {
      -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Body e wrapper per gestire footer sticky */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}



.site-footer {
    padding: 0px;
    background-color: white
}



/* Se il contenuto non è sufficiente, footer resta in basso */
.site-footer {
    flex-shrink: 0;
}


.animated.fadeIn {
  animation-name: fadeInCustom;
  animation-duration: 1.35s; /* più lento del default */
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

@keyframes fadeInCustom {
  from {
    opacity: 0;
    transform: translateY(0px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.img-fluid {
    width: 100% !important;
}


/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* TESTI------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6, p
{
    font-family: "FTAktual", serif ;
    margin-bottom:0px !important;
}


h1 {
    color: #212529;
    text-decoration: none;
    font-size: 5.5vw;
    line-height: 6.5vw;
    letter-spacing: -3px;
    font-weight: 400;
    display: inline-block;
    margin-left:-5px !important;
}

h2 {
    color: #212529;
    text-decoration: none;
    font-size: 3vw;
    line-height: 3vw;
    font-weight: 400;
    display: inline-block;
}


h3 {
    color: #212529;
    text-decoration: none;
    font-size: 1.55vw;
    line-height: 1.55vw;
    font-weight: 400;
    display: inline-block;
}

.grande p{
    color: #212529;
    text-decoration: none;
    font-size: 1.55vw !important;
    line-height: 1.55vw !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.grande{
    color: #212529;
    text-decoration: none;
    font-size: 1.55vw !important;
    line-height: 1.55vw !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}


.grande li{
    color: #212529;
    text-decoration: none;
    font-size: 1.55vw !important;
    line-height: 1.55vw !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.menu-link {
    font-size: 1.55vw;
    line-height: 1.55vw;
    margin: 0;
}

.menu-link a {
    color: #212529;
    text-decoration: none;
    font-size: 1.55vw;
    line-height: 1.55vw;
    font-weight: 400;
    display: inline-block;
}

/* hover */
.menu-link a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px !important; /* spessore sottile */
}

/* link della pagina corrente */
.menu-link.current-menu-item a,
.menu-link.current_page_item a {
    text-decoration: underline;
    text-decoration-thickness: 1.5px !important; /* spessore sottile */
}

.menu-link .second-line {
    display: block;      /* forza la seconda riga */
    margin-left: -2px;    /* sposta leggermente a destra */
}


a {
  color: #212529;
  text-decoration: none;
}

a:hover {
  color: #212529;
  text-decoration: underline;
      text-decoration-thickness: 1.5px !important; /* spessore sottile */
}


.didascalia-footer{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    display: inline-block;
}

.didascalia p{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
        margin-right:30px !important;
}

.didascalia{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.slide-text p{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
        margin-right:10px !important;
}




.menu-link a:hover {
    text-decoration: underline;
        text-decoration-thickness: 1.5px !important; /* spessore sottile */
}

/* Alternativa più sicura: applicare line-height direttamente a h3 */


.trp-language-switcher-container.underline {
    text-decoration: underline !important;
        text-decoration-thickness: 1.5px !important; /* spessore sottile */
}

#trp-floater-ls {
  display: none !important;
}
.underline a{
    text-decoration: underline !important;
        text-decoration-thickness: 1.5px !important; /* spessore sottile */
}



/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* LISTA MOSTRE E BIOGRAFIA ECC------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.mostre-personali,
.mostre-collettive {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* Internet Explorer/Edge */
}

.mostre-personali::-webkit-scrollbar,
.mostre-collettive::-webkit-scrollbar {
    display: none;              /* Chrome/Safari */
}


.chapter {
    display: flex;
    gap: 8.33%;
    align-items: flex-start;
    position: relative;
}

.chapter2 {
    display: flex;
    gap: 4.33%;
    align-items: flex-start;
    position: relative;
}


/* --- Colonna anno --- */
.anno-col {
    width: 80px;
    flex-shrink: 0;
    position: relative;
}

/* LINEA nella colonna anno */
.vertical-line {
    position: absolute;
     margin-left: 25px;
     margin-top:1px !important;
    left: 0;
    top: 0;
    width: 1.5px;
    background-color: #212529;
    height: 100px; /* sarà sovrascritto via JS */
}

/* Anno spostato leggermente verso destra */
.anno {
    font-family: "EB Garamond" !important;
    font-size: 13.5px;
    line-height: 13.5px;
    position: relative;
    margin-left: 26.5px;
}

.anno p {
    font-family: "EB Garamond" !important;
    font-size: 13.5px;
    line-height: 13.5px;
    position: relative;
}

/* --- Lista --- */
.lista-col {
    flex: 1;
    padding-left: 0;
}

.lista-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lista-col li {
    font-family: "EB Garamond";
    font-size: 20.5px;
    line-height: 20.5px;
    margin-bottom: 0px;
    transition: color .1s;
}

.lista-col li:hover {
    color: #1C48B8;
}





/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* BIBLIOGRAFIA SLIDER-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.slider-wrapper {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide-item {
    flex-shrink: 0;
}


.bibliografia-slider {
    overflow: hidden;
    position: relative;
    padding-left: 0px !important;
}

.slider-wrapper {
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide-item {
    width: calc(100% / 3.5); /* 3.5 immagini visibili */
    padding: 2.5px;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-text p{
    max-width: 100%;
    word-wrap: break-word;
    font-size: 13.5px;
    line-height: 13.5px;
    font-family: "EB Garamond";
}


/* Cursori personalizzati */
.slider-cursor {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 20;
    cursor: pointer;
}


.left-cursor {
    left: 0;
    cursor: url('../img/sinistra.svg'), auto; /* se style.css è in /css/ e le immagini in /img/ */
}

.right-cursor {
    right: 0;
    cursor: url('../img/destra.svg'), auto;
}

/* ============================
Archivio
============================ */

.archivio-immagine {
    margin-left:25px !important; margin-right:-25px;
}

    .archivio-immagine-dida {
border-left:1.5px solid black;
}




/* ============================
   FILTRI
============================ */

#filter-container {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    width: 73vw;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    padding-right:2.9vw;
}

.filter-item {
    flex: 1;
}

.filter-item input[type="checkbox"] {
    display: none;
}

.filter-item label {
    color: black;
    cursor: pointer;
    font-size: 13.5px;
    line-height:5px;
    font-family: "EB Garamond", serif;
    display: block;
    height: 45px;
    margin-top: 0px;
    position: relative;
    border-left: 1.5px solid black;
    padding-left: 2.5px;
    text-align: left;
}

.filter-item label::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 0px;
    background-color: transparent;
    transition: background-color 0.2s;
}

.filter-item label:hover::after {
    background-color: #1C48B8 !important;
}

.filter-item input[type="checkbox"]:checked + label::after {
    background-color: #1C48B8 !important;
}

.filter-item.disabled label {
    color: #212529;
    cursor: default;
}


/* QUERY IPAD PRO-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1200px) and (max-height: 2366px){

  }

@media screen and (max-width: 1366px) and (max-height: 2366px){
h1 {
    color: #212529;
    text-decoration: none;
    font-size: 6.5vw;
    line-height: 7.5vw;
    letter-spacing: -3px;
    font-weight: 400;
    display: inline-block;
    margin-left:-5px !important;
}


 
}




/* QUERY IPAD PRO-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) and (max-height: 2366px){
h1 {
    color: #212529;
    text-decoration: none;
    font-size: 6.5vw;
    line-height: 7.5vw;
    letter-spacing: -3px;
    font-weight: 400;
    display: inline-block;
    margin-left:-5px !important;
}

h2 {
    color: #212529;
    text-decoration: none;
    font-size: 3.25vw;
    line-height: 3.25vw;
    font-weight: 400;
    display: inline-block;
}
}





/* QUERY menu-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 991px) and (max-height: 2366px){

    i {
        margin-left: 0px !important;
    }

    h1 {
    color: #212529;
    text-decoration: none;
    font-size: 10.5vw;
    line-height: 12.5vw;
    letter-spacing: -3px;
    font-weight: 400;
    display: inline-block;
    margin-left:-5px !important;
}


/* MOBILE */
.filter-container-mobile .filter-item::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    margin-left: 5px;
    vertical-align: middle;
}

.filter-container-mobile .filter-item.selected::after {
    background-color: #1C48B8 !important;
}


html, body {
overflow: auto !important;
}

h2 {
    color: #212529;
    text-decoration: none;
    font-size: 3vw;
    line-height: 3vw;
    font-weight: 400;
    display: inline-block;
}



h3 {
    color: #212529;
    text-decoration: none;
    font-size: 27.5px;
    line-height: 27.5px;
    font-weight: 400;
    display: inline-block;
}

.grande p{
    color: #212529;
    text-decoration: none;
    font-size: 20.5px !important;
    line-height: 20.5px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.grande{
    color: #212529;
    text-decoration: none;
    font-size: 20.5px !important;
    line-height: 20.5px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}


.grande li{
    color: #212529;
    text-decoration: none;
    font-size: 20.5px !important;
    line-height: 20.5px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.menu-link {
    font-size: 27.5px;
    line-height: 27.5px;
    margin: 0;
}

.menu-link a {
    color: #212529;
    text-decoration: none;
    font-size: 27.5px;
    line-height: 27.5px;
    font-weight: 400;
    display: inline-block;
}



.didascalia-footer{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 13px !important;
    font-weight: 400;
    display: inline-block;
}

.didascalia p{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
    margin-right:30px !important;
}


.p2 p{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 14px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
    margin-right:30px !important;
}



.didascalia{
    color: #212529;
    text-decoration: none;
    font-size: 13.5px !important;
    line-height: 13px !important;
    font-weight: 400;
    font-family: "EB Garamond" !important;
}

.slide-text p{
    max-width: 100%;
    word-wrap: break-word;
    font-size: 13.5px;
    line-height: 13.5px;
    font-family: "EB Garamond";
}

.anno {
    font-family: "EB Garamond";
    font-size: 13.5px;
    position: relative;
    margin-left: 35px;
}

    
.menu-link a { text-decoration:none; }
.menu-link.is-active a,
.menu-link a:hover { text-decoration:underline !important; 
    text-decoration-thickness: 1.5px !important; /* spessore sottile */ }

/* ================= MOBILE ================= */
/* ================= MOBILE ================= */
.mobile-header-wrapper {
    position: fixed !important; /* già c’era, ma assicurati */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

/* aggiungi overflow per contenere il menu interno */
.mobile-header-wrapper .mobile-menu {
    position: relative; /* importantissimo, non fixed! */
}




.mobile-header {
    padding-left:5px;
    padding-left:5px;
}

/* Menu button a destra */
.mobile-menu-toggle {
    background:none;
    border:0;
    font-size:27.5px;
     line-height:2px;
    cursor:pointer;
    padding:5px !important;
    margin-top:25px;
    color: black !important;
}

/* DROPDOWN SLIDE */
.mobile-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(0px);
    transition: max-height 1s ease, opacity 2s ease, transform 2s ease;
    background: #fff;
}

.mobile-menu.open {
    max-height: 70vh;
    overflow: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Voci menu mobile */
.mobile-menu h3 {
    margin: 0;
    font-size:27.5px !important;
    display: block; 
    padding-left:5px !important;
}

/* Spaziatura a gruppi */
.mobile-menu h3:nth-child(1) { margin-top: 1.5rem !important; }
.mobile-menu h3:nth-child(3),
.mobile-menu h3:nth-child(5),
.mobile-menu h3:nth-child(7),
.mobile-menu h3:nth-child(9) { margin-top: 1.5rem !important; }

/* Ultime due voci sulla stessa linea */
.mobile-menu h3:nth-last-child(3),
.mobile-menu h3:nth-last-child(2) {
    display: inline-block;
    margin-bottom: 0;
}
.mobile-menu h3:nth-last-child(3) {
    margin-right: 1rem; /* distanza tra Italiano e English */
}

/* Chiudi a destra */
.mobile-menu-footer {
    display:flex;
    justify-content:flex-end !important;
}


.mobile-menu-close {
    background:none;
    border:0;
    font-size:27.5px !important;
     line-height:27.5px !important;
    cursor:pointer;
        margin-top:-2rem !important;
        color: black !important;
       padding: 0px !important;
}



.trp-ls-language-name {
    display: inline;
}

    .menu-link2 a {
    font-size: 15.5px !important;
    line-height: 15.5px !important;
            color: black !important;
    }

        .crediti-mobile p {
            font-size: 10px !important;
    line-height: 15.5px !important;
    }
    .contatti-mobile {
    font-size: 15.5px !important;
    line-height: 15.5px !important;
    }


    .col-4 {
        padding-right: 0px !important;
    }




        .mostre-personali,
    .mostre-collettive {
        height: auto !important;       /* lascia l’altezza naturale */
        overflow-y: visible !important; /* rimuove lo scroll verticale */
    }


    /* ===========================
   FILTRI ANNI – MOBILE SCROLL
=========================== */

    /* Wrapper visibile dei filtri */
    #filter-container {
        overflow-x: auto; /* abilita scroll orizzontale */
        overflow-y: hidden; /* blocca scroll verticale */
        white-space: nowrap; /* impedisce il wrap degli elementi */
        -webkit-overflow-scrolling: touch; /* scroll fluido su iOS */
        padding-top:0rem; /* spazio interno */
        padding-bottom:0.5rem; /* spazio interno */
        margin-bottom: 0.5rem; /* separazione dal resto della pagina */
        background: #fff; /* opzionale, sfondo per evidenziare i filtri */
        width: 100%;
    }

    /* Singolo filtro */
    .filter-item {
        display: inline-block; /* rimane in linea */
        margin-right: 1.5rem; /* distanza tra filtri */
        flex: 0 0 auto; /* forza a non ridimensionarsi */
    }

    /* Checkbox e label */
    .filter-item input[type="checkbox"] {
        display: none; /* nascondo il checkbox nativo */
    }

    .filter-item label {
        display: inline-block;
        cursor: pointer;
        font-family: "EB Garamond", serif;
        padding: 0px 5px;
        transition: all 0.2s ease;
        white-space: nowrap; /* evita line break */

    }



/* CONTENITORE */
#filter-container {
    overflow-x: auto;
    overflow-y: hidden;
}

/* ===== WEBKIT (Chrome, Safari desktop, Edge) ===== */
#filter-container::-webkit-scrollbar {
    height: 5px;                 /* altezza scrollbar */
}

#filter-container::-webkit-scrollbar-track {
    background: #f5f5f5;             /* TRACK BLU */
}

#filter-container::-webkit-scrollbar-thumb {
    background: black;              /* THUMB ROSSO */
    border-radius: 0px !important;           /* spigoli vivi */
}

/* ===== FIREFOX ===== */
#filter-container {
    scrollbar-color: black #f5f5f5;    /* thumb | track */
    scrollbar-width: auto;        /* sempre visibile */
}


    .archivio-immagine {
    margin-left:0px !important; margin-right:0px;
}

    .archivio-immagine-dida {
    border:0px !important
}




/* Linea verticale sempre a sinistra dello schermo */
.vertical-line {
    position: absolute;
    left: 0;       /* inizio schermo */
    top: 0;
    width: 1.5px;
    background-color: #212529;
    height: 100%; /* sarà aggiornata dal JS */
    z-index: 1;   /* sotto il contenuto */
    margin-left:10px;
}

/* Colonna anno spostata leggermente a destra della linea */
.anno-col {
    flex: 0 0 16.6667%; /* col-2 */
    max-width: 16.6667%;
    position: relative;
    margin-left: 0px; /* distanza dalla linea */
    z-index: 2;        /* sopra la linea */
}

.anno{
    margin-left:12.5px;
}


/* Colonna contenuto */
.lista-col {
    flex: 1;
    z-index: 2;
}

.chapter {
    display: flex;
    gap: 0%;
    align-items: flex-start;
    position: relative;
}

.chapter2 {
    display: flex;
    gap: 0%;
    align-items: flex-start;
    position: relative;
}

}

@media screen and (max-width: 778px) and (max-height: 2366px){

}

@media screen and (max-width: 715px) and (max-height: 2366px){
 
}

/* QUERY menu-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) and (max-height: 2366px){
 

}


/* QUERY IPHONE ORIZZONTALE-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 900px) and (max-height: 450px){

}


/* QUERY IPHONE ORIZZONTALE-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 2900px) and (max-height: 550px){

  }


@media screen and (max-width: 568px) and (max-height: 2366px){

    h1 {
    color: #212529;
    text-decoration: none;
    font-size: 18.5vw;
    line-height: 15.5vw;
    letter-spacing: -3px;
    font-weight: 400;
    display: inline-block;
    margin-left:-5px !important;
}

h2 {
    color: #212529;
    text-decoration: none;
    font-size: 27.5px;
    line-height: 27.5px;
    font-weight: 400;
    display: inline-block;
}

.chapter {
    display: flex;
    gap: 4%;
    align-items: flex-start;
    position: relative;
}

.chapter2 {
    display: flex;
    gap: 4.33%;
    align-items: flex-start;
    position: relative;
}
}

@media screen and (max-width: 500px) and (max-height: 2366px){

}

@media screen and (max-width: 450px) and (max-height: 2366px){

}

@media screen and (max-width: 400px) and (max-height: 2366px){

}

@media screen and (max-width: 350px) and (max-height: 2366px){
 
}

@media screen and (max-width: 300px) and (max-height: 2366px){

}

@media screen and (max-width: 250px) and (max-height: 2366px){

}


/* QUERY IPHONE VERTICALE-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 450px) and (max-height: 2366px){

}

/* QUERY IPHONE 5S ORIZZONTALE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 900px) and (max-height: 420px){


}



/* =WordPress Core/ CLASSI CSS
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17.5px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 24px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}