/* -------------------------------------------------------------
   G2 - Modulo Promozioni
   Card, carosello home, griglia pagina Promozioni, dettaglio
   ------------------------------------------------------------- */

.g2-promo-section {
    padding: 93px 0;
    background: #fff;
}

.g2-promo-section--grigio {
    background: #eaebec;
}

.g2-promo-section .common-title {
    margin-bottom: 45px;
}

/* ---------- Card ---------- */

.g2-promo-card {
    height: 100%;
}

.g2-promo-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e2e4e6;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.g2-promo-card__link:hover,
.g2-promo-card__link:focus {
    text-decoration: none;
    color: inherit;
    border-color: #00426d;
    box-shadow: 0 12px 28px rgba(0, 66, 109, .14);
    transform: translateY(-4px);
}

.g2-promo-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eaebec;
    overflow: hidden;
}

.g2-promo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.g2-promo-card__link:hover .g2-promo-card__media img {
    transform: scale(1.04);
}

.g2-promo-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #eaebec;
}

.g2-promo-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #c11b27;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

.g2-promo-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 22px 24px;
    text-align: center;
}

.g2-promo-card__title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: #00426d;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin: 0 0 10px;
}

.g2-promo-card__claim {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #5b6670;
    margin: 0 0 12px;
}

.g2-promo-card__validity {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00426d;
    letter-spacing: .3px;
    margin: 0;
}

.g2-promo-card__cta {
    display: inline-block;
    align-self: center;
    margin-top: 20px;
    padding: 10px 26px;
    background: #00426d;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .8px;
    border-radius: 2px;
    transition: background .3s ease;
}

.g2-promo-card__link:hover .g2-promo-card__cta {
    background: #c11b27;
}

.g2-promo-card__body > .g2-promo-card__validity {
    margin-top: auto;
}

/* ---------- Carosello ---------- */

.g2-promo-carousel {
    position: relative;
    padding: 0 40px;
}

.g2-promo-carousel .swiper {
    overflow: hidden;
    padding: 8px 4px 16px;
}

.g2-promo-carousel .swiper-slide {
    height: auto;
    display: flex;
}

.g2-promo-carousel .swiper-slide > .g2-promo-card {
    width: 100%;
}

.g2-promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
}

.g2-promo-nav::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    border-top: 2px solid #00426d;
    border-right: 2px solid #00426d;
    transition: border-color .3s ease;
}

.g2-promo-nav--prev {
    left: 0;
}

.g2-promo-nav--prev::before {
    transform: rotate(-135deg);
}

.g2-promo-nav--next {
    right: 0;
}

.g2-promo-nav--next::before {
    transform: rotate(45deg);
}

.g2-promo-nav:hover::before {
    border-color: #c11b27;
}

.g2-promo-nav.swiper-button-disabled {
    opacity: .25;
    cursor: default;
}

/* ---------- Griglia ---------- */

.g2-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---------- Pulsante "vedi tutte" ---------- */

.g2-promo-allbtn {
    text-align: center;
    margin-top: 40px;
}

.g2-promo-allbtn a {
    display: inline-block;
    padding: 13px 34px;
    background: #00426d;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    text-decoration: none;
    transition: background .3s ease;
}

.g2-promo-allbtn a:hover {
    background: #c11b27;
    color: #fff;
    text-decoration: none;
}

/* ---------- Dettaglio singola promozione ---------- */

.g2-promo-single {
    padding: 70px 0 93px;
}

.g2-promo-single__back {
    display: inline-block;
    margin-bottom: 26px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00426d;
    text-decoration: none;
}

.g2-promo-single__back:hover {
    color: #c11b27;
    text-decoration: none;
}

.g2-promo-single__badge {
    display: inline-block;
    background: #c11b27;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}

.g2-promo-single__title {
    font-family: 'Roboto', sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.25;
    color: #00426d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px;
}

.g2-promo-single__claim {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    line-height: 1.55;
    color: #5b6670;
    margin: 0 0 18px;
}

.g2-promo-single__validity {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #00426d;
    background: #eaebec;
    padding: 9px 18px;
    border-radius: 2px;
    margin: 0 0 28px;
}

.g2-promo-single__content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3f4a52;
}

.g2-promo-single__content p {
    margin-bottom: 16px;
}

.g2-promo-single__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.g2-promo-single__actions {
    margin-top: 34px;
}

.g2-promo-single__actions a {
    display: inline-block;
    padding: 13px 34px;
    background: #00426d;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    text-decoration: none;
    transition: background .3s ease;
}

.g2-promo-single__actions a:hover {
    background: #c11b27;
    color: #fff;
    text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .g2-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .g2-promo-section {
        padding: 60px 0;
    }

    .g2-promo-section .common-title {
        margin-bottom: 32px;
    }

    .g2-promo-single__title {
        font-size: 27px;
        letter-spacing: 1px;
    }
}

@media (max-width: 767px) {
    .g2-promo-carousel {
        padding: 0;
    }

    .g2-promo-nav {
        display: none;
    }

    .g2-promo-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .g2-promo-single {
        padding: 40px 0 60px;
    }

    .g2-promo-single__media {
        margin-bottom: 26px;
    }
}
