@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');

/* =========================
   LAYOUT GENERALE FREEDOM
========================= */

main,
.site-page,
.site-page .blocks,
.blocks,
.site-page-pagination {
    max-width: 1200px !important;
    width: min(1200px, calc(100% - 40px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================
   GRIGLIA BOX
========================= */

.block.block-html.grid-span-4,
.block.block-html.grid-span-12 {
    display: flex;
}

/* =========================
   BOX FOTO BASE
========================= */

.box-foto {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #8a6b2f;
    padding: 25px;
    margin: 0;
    color: #f5f1e8;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: stretch;
    justify-content: center;
}

.box-foto::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.box-foto::after {
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    font-size: 72px;
    line-height: 1;
    color: #ffffff;
    opacity: 0.28;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 48;
}

.box-foto-contenuto {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #8a6b2f;
    padding: 25px;
    margin: 0;

    display: flex;
    flex-direction: column;
}

.grid-span-4 .box-foto {
    min-height: 330px;
}

.grid-span-12 .box-foto {
    min-height: 260px;
}

.box-cta {
    min-height: 260px;
}

/* =========================
   TESTI E PULSANTI
========================= */

.box-foto h2 {
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

.box-foto p {
    margin: 20px 0;
    color: #f5f1e8;
    flex-grow: 1;
}

.box-foto a {
    display: inline-block;
    align-self: center;
    margin-top: auto;
    padding: 12px 24px;
    background: #8a6b2f;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.box-foto a:hover {
    background: #a6843d;
}

/* =========================
   BOX ARCHIVIO
========================= */

.box-prima-guerra {
    background-image: url('/files/asset/box/trincea1gm.webp');
}

.box-prima-guerra::before {
    background: rgba(79,107,42,0.72);
}

.box-prima-guerra::after {
    content: "military_tech";
}

.box-seconda-guerra {
    background-image: url('/files/asset/box/roma2gm.webp');
}

.box-seconda-guerra::before {
    background: rgba(42,86,105,0.72);
}

.box-seconda-guerra::after {
    content: "shield";
}

.box-reperti {
    background-image: url('/files/asset/box/elmo.webp');
}

.box-reperti::before {
    background: rgba(115,64,32,0.72);
}

.box-reperti::after {
    content: "museum";
}

.box-documenti {
    background-image: url('/files/asset/box/lettera_delmonte.webp');
}

.box-documenti::before {
    background: rgba(56,78,96,0.72);
}

.box-documenti::after {
    content: "description";
}

.box-personaggi {
    background-image: url('/files/asset/box/deruggero.webp');
}

.box-personaggi::before {
    background: rgba(76,108,44,0.72);
}

.box-personaggi::after {
    content: "person";
}

.box-cinema {
    background-image: url('/files/asset/box/carry_on.webp');
}

.box-cinema::before {
    background: rgba(128,45,33,0.72);
}

.box-cinema::after {
    content: "movie";
}

/* =========================
   CTA A TUTTA LARGHEZZA
========================= */

.box-contribuisci {
    background-image: url('/files/asset/box/memorabilia.webp');
}

.box-contribuisci::before {
    background: rgba(120,90,70,0.72);
}

.box-contribuisci::after {
    content: "volunteer_activism";
}

.box-visita {
    background-image: url('/files/asset/box/memoriale.webp');
}

.box-visita::before {
    background: rgba(70,70,70,0.62);
}

.box-visita::after {
    content: "location_on";
}

.box-associazione {
    background-image: url('/files/asset/box/associazione.webp');
}

.box-associazione::before {
    background: rgba(42,86,105,0.62);
}

.box-associazione::after {
    content: "groups";
}

/* =========================
   RESPONSIVE
========================= */

@media screen and (max-width: 768px) {

    main,
    .site-page,
    .site-page .blocks,
    .blocks,
    .site-page-pagination {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
    }

    .grid-span-4 .box-foto {
        min-height: 300px;
        margin-bottom: 20px !important;
    }

    .grid-span-12 .box-foto,
    .box-cta {
        min-height: 300px;
        margin-bottom: 20px !important;
    }

    .box-foto::after {
        font-size: 56px;
    }
}

//* =========================
   FOOTER ASSOCIAZIONE
========================= */

.main-footer__top-container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
}

.footer-custom {
    width: min(1300px, calc(100% - 80px)) !important;
    margin: 0 auto !important;
    display: grid;
    grid-template-columns: 260px 180px 360px 420px;
    column-gap: 50px;
    align-items: start;
}
.footer-logo{
    width:90px;
    height:auto;
    display:block;
}
.footer-custom h3 {
    color: #d8c28a;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
}

.footer-custom p {
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.footer-custom a {
    color: #f5f1e8;
    text-decoration: none;
    white-space: nowrap;
}

.footer-custom strong {
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .footer-custom {
        width: calc(100% - 40px) !important;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-custom a {
        white-space: normal;
    }
}
.main-footer__top-container{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
    padding-left:5vw!important;
    padding-right:5vw!important;
}
.coming-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.coming-hero {
    background-image: url('/files/asset/box/hero_comin.webp');
    background-size: cover;
    background-position: center;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 45px;
}

.coming-hero-overlay {
    background: rgba(0, 0, 0, 0.48);
    padding: 55px 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    max-width: 900px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-hero-overlay h1 {
    color: #fff;
    margin: 0 auto;
    font-size: 2.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 750px;
    line-height: 1.25;
}

.coming-hero-overlay p {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.5;
}

.coming-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.coming-content .coming-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
}

.coming-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.coming-card {
    background: #f5f2eb;
    border-left: 5px solid #8c6b3d;
    padding: 28px;
    margin: 40px 0;
    text-align: left;
    border-radius: 8px;
}

.coming-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.coming-card p {
    margin-bottom: 0;
}

.coming-button {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 30px;
    background: #8c6b3d;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all .3s ease;
}

.coming-button:hover {
    background: #6f542f;
    transform: translateY(-2px);
}

.coming-note {
    margin-top: 38px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .coming-page {
        padding: 0 12px 35px;
    }

    .coming-hero {
        min-height: 320px;
        margin-bottom: 32px;
    }

    .coming-hero-overlay {
        padding: 28px 20px;
        margin: 0 15px;
    }

    .coming-hero-overlay h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .coming-hero-overlay p {
        font-size: 1rem;
    }

    .coming-card {
        padding: 22px;
    }
}
.warning-card {
    background: #f5e6e6;
    border-left: 5px solid #9b4d4d;
}
.hero-chi-siamo {
    background: #4a6578;
}
.coming-content > .coming-hero-overlay {
    margin-left: 0;
    margin-right: auto;
}