/* SHIELD 978 - Presenza europea / Bologna */

.sh978-three-sites {
    align-items: stretch !important;
}

@media (min-width: 1100px) {
    .sh978-three-sites {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.sh978-bologna {
    position: relative !important;
    box-sizing: border-box;
    min-width: 0;
}

.sh978-bologna .sh978-badge {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(84, 160, 245, .32);
    background: rgba(55, 132, 230, .09);
    color: #79b8ff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.sh978-flag {
    display: inline-block;
    width: 30px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        #009246 0 33.33%,
        #ffffff 33.33% 66.66%,
        #ce2b37 66.66%
    );
}

@media (max-width: 1099px) {
    .sh978-three-sites {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .sh978-three-sites {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* SHIELD 980 - Bandiera italiana originale nella card Bologna */

.sh978-bologna .sh978-flag {
    display: inline-block !important;
    flex: none !important;
    width: 36px !important;
    height: 24px !important;
    border-radius: 4px !important;
    background: linear-gradient(
        to right,
        #009246 0% 33.333%,
        #ffffff 33.333% 66.666%,
        #ce2b37 66.666% 100%
    ) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* Solo per eventuali bandiere CSS prive di elemento immagine */
.sh978-bologna.sh980-fallback::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    top: 30px !important;
    left: 31px !important;
    width: 38px !important;
    height: 26px !important;
    z-index: 20 !important;
    border-radius: 4px !important;
    background: linear-gradient(
        to right,
        #009246 0% 33.333%,
        #ffffff 33.333% 66.666%,
        #ce2b37 66.666% 100%
    ) !important;
    pointer-events: none !important;
}

