﻿/* =========================================
   DINAMICA DELLA TRAGEDIA
========================================= */

.dinamica-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
/* =========================================
   TITOLO
========================================= */

.affondamento-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* =========================================
   TESTI
========================================= */

.dinamica-testo {
    max-width: 720px;
    margin: 0 auto 18px auto;
    font-size: 14px;
    line-height: 1.45;
    color: #2a2a2a;
    text-align: justify;
}

    .dinamica-testo p {
        margin-bottom: 12px;
    }
/* =========================================
   IMMAGINI GENERALI CENTRATE
========================================= */

.schema-principale,
.foto-aerea-box,
.foto-finale-box,
.schema-doppio,
.schema-finale,
.video-documento {
    text-align: center;
}

/* =========================================
   SCHEMA PRINCIPALE
========================================= */

.schema-principale {
    margin: 35px 0 45px 0;
}

    .schema-principale img {
        width: 420px;
        max-width: 100%;
        border: 1px solid #cfc4ac;
        box-shadow: 0 3px 10px rgba(0,0,0,0.14);
    }

/* =========================================
   FOTO AEREA
========================================= */

.foto-aerea-box {
    margin: 45px 0;
}

    .foto-aerea-box img {
        width: 620px;
        max-width: 100%;
        border: 1px solid #cfc4ac;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

/* =========================================
   SEQUENZA FOTO STILE WIX
========================================= */

.sequenza-wix {
    width: 100%;
    max-width: 860px;
    margin: 60px auto;
}

/* righe */

.seq-riga {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
}

/* seconda riga */

.seq-bottom {
    margin-top: -20px;
}

/* foto */

.sequenza-wix .foto {
    display: block;
}

.sequenza-wix img {
    display: block;
    border: 1px solid #cfc4ac;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

    .sequenza-wix img:hover {
        transform: scale(1.03);
    }

/* dimensioni individuali */

.f1 img {
    width: 230px;
}

.f2 img {
    width: 260px;
    margin-top: 30px;
}

.f3 img {
    width: 250px;
    margin-top: 90px;
}

.f4 img {
    width: 270px;
}

.f5 img {
    width: 250px;
    margin-top: 70px;
}

.f6 img {
    width: 230px;
    margin-top: 110px;
}

/* =========================================
   VIDEO
========================================= */

.video-documento {
    margin: 55px 0;
}

    .video-documento video {
        width: 500px;
        max-width: 100%;
        background: #1f4258;
        padding: 14px;
        border: 1px solid #bfa76a;
        box-shadow: 0 4px 14px rgba(0,0,0,0.20);
    }

/* =========================================
   SCHEMI TECNICI
========================================= */

.schema-doppio {
    width: 100%;
    max-width: 920px;
    margin: 45px auto;
}

/* primo schema */

.schema-box:first-child {
    text-align: left;
    margin-bottom: 8px;
}

    .schema-box:first-child img {
        width: 520px;
    }

/* secondo schema */

.schema-box:last-child {
    text-align: right;
}

    .schema-box:last-child img {
        width: 470px;
    }

/* immagini */

.schema-box img {
    max-width: 100%;
    background: transparent;
    border: 1px solid #d3c8b0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    display: inline-block;
}
/* =========================================
   SCHEMI FINALI
========================================= */

.schema-finale {
    width: 100%;
    max-width: 920px;
    margin: 50px auto;
}

    /* primo schema */

    .schema-finale a:first-child {
        display: block;
        text-align: left;
        margin-bottom: 8px;
    }

        .schema-finale a:first-child img {
            width: 360px;
        }

    /* secondo schema */

    .schema-finale a:last-child {
        display: block;
        text-align: right;
    }

        .schema-finale a:last-child img {
            width: 430px;
        }

    /* immagini */

    .schema-finale img {
        max-width: 100%;
        background: transparent;
        border: 1px solid #d3c8b0;
        box-shadow: 0 4px 14px rgba(0,0,0,0.18);
        display: inline-block;
        transition: transform 0.25s ease;
    }

        .schema-finale img:hover {
            transform: scale(1.02);
        }
/* =========================================
   HOVER IMMAGINI
========================================= */

    .schema-principale img,
    .foto-aerea-box img,
    .sequenza-wix img,
    .schema-doppio img,
    .schema-finale img,
    .foto-finale-box img {
        transition: transform 0.25s ease;
        cursor: zoom-in;
    }

        .schema-principale img:hover,
        .foto-aerea-box img:hover,
        .sequenza-wix img:hover,
        .schema-doppio img:hover,
        .schema-finale img:hover,
        .foto-finale-box img:hover {
            transform: scale(1.02);
        }

/* =========================================
   CITAZIONE
========================================= */

.citazione-finale {
    max-width: 820px;
    margin: 65px auto;
    padding: 34px 40px;
    background: #27485d;
    color: #f4efe3;
    text-align: center;
    font-size: 24px;
    line-height: 1.7;
    font-style: italic;
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}

/* =========================================
   LINK PAGINA SUCCESSIVA
========================================= */

.timeline-next {
    text-align: center;
    margin-top: 45px;
}

.next-button {
    display: inline-block;
    background: #163d63;
    color: #f3e6bf;
    text-decoration: none;
    padding: 10px 22px;
    font-size: 15px;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}

    .next-button:hover {
        background: #0a2238;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* =========================================
   LINK IMMAGINI
========================================= */

.schema-principale a,
.foto-aerea-box a,
.sequenza-wix a,
.schema-doppio a,
.schema-finale a,
.foto-finale-box a {
    display: inline-block;
}

/* =========================================
   RESPONSIVE
========================================= */

@media screen and (max-width: 860px) {

    .seq-riga {
        flex-wrap: wrap;
    }

    .seq-bottom {
        margin-top: 20px;
    }
}

@media screen and (max-width: 640px) {

    .affondamento-content h1 {
        font-size: 34px;
    }

    .dinamica-testo {
        font-size: 14px;
    }

    .seq-riga {
        flex-direction: column;
        align-items: center;
    }

    .f1 img,
    .f2 img,
    .f3 img,
    .f4 img,
    .f5 img,
    .f6 img {
        width: 90%;
        margin-top: 0;
    }

    .citazione-finale {
        font-size: 20px;
        padding: 24px;
    }
}
/* =========================================
   PARTE FINALE TRAGEDIA
========================================= */

.tragedia-finale {
    margin-top: 70px;
}

/* blocchi */

.tragedia-blocco {
    margin: 55px 0;
}

/* immagini cliccabili */

.tragedia-finale a {
    display: inline-block;
}

/* immagini */

.tragedia-finale img {
    display: block;
    max-width: 100%;
    border: 1px solid #d3c8b0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.20);
    transition: transform 0.25s ease;
}

    .tragedia-finale img:hover {
        transform: scale(1.02);
    }

/* =========================================
   ESPLOSIONE PRINCIPALE
========================================= */

.esplosione-main {
    text-align: center;
}

    .esplosione-main img {
        width: 360px;
    }

/* =========================================
   TRE FOTO ESPLOSIONE
========================================= */

.esplosioni-tre {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    background: #27485d;
    padding: 18px;
}

    .esplosioni-tre img {
        width: 190px;
    }

    .esplosioni-tre a:nth-child(2) img {
        width: 210px;
        margin-bottom: 18px;
    }

/* =========================================
   FOTO CENTRALE
========================================= */

.foto-centrale {
    text-align: center;
}

    .foto-centrale img {
        width: 470px;
    }

/* =========================================
   DIDASCALIA
========================================= */

.didascalia-tragedia {
    max-width: 720px;
    margin: 18px auto 0 auto;
    font-size: 13px;
    line-height: 1.45;
    color: #3d3d3d;
    text-align: justify;
}

/* =========================================
   BLOCCO BLU FINALE
========================================= */

.blocco-blu-tragedia {
    background: #27485d;
    padding: 28px;
    margin: 70px 0;
}

/* griglia */

.blu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 34px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
}

    /* immagini */

    .blu-grid img {
        width: 100%;
    }

/* posizionamento */

.blu-1 {
    justify-self: start;
}

.blu-2 {
    justify-self: end;
    margin-top: 45px;
}

.blu-3 {
    justify-self: start;
    margin-top: -10px;
}

.blu-4 {
    justify-self: end;
    margin-top: 20px;
}

/* testi */

.blu-testo {
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    line-height: 1.5;
    max-width: 260px;
}

.testo-1 {
    justify-self: start;
    margin-left: 40px;
}

.testo-2 {
    justify-self: end;
    margin-right: 20px;
}

/* =========================================
   ULTIMA FOTO
========================================= */

.foto-conclusiva {
    text-align: center;
}

    .foto-conclusiva img {
        width: 520px;
    }

/* =========================================
   RESPONSIVE
========================================= */

@media screen and (max-width: 860px) {

    .esplosioni-tre {
        flex-wrap: wrap;
    }

    .blu-grid {
        grid-template-columns: 1fr;
    }

    .blu-1,
    .blu-2,
    .blu-3,
    .blu-4,
    .testo-1,
    .testo-2 {
        justify-self: center;
        margin: 0;
    }
}