
/* ============================   HERO (teaser) ============================ */
[data-row-id="hero_full_image_w_icons_container"] {
    color: #000;
}

[data-row-id="hero_full_image_w_icons_container"] .to-herobanner {
    background-color: transparent;
}

/* Testo nero su layout + breadcrumb */
.to-herobanner--full-image--with-cards :is(.to-herobanner--full-image__headings,
    .to-herobanner--full-image__body,
    .ta-paragraph,
    .ta-feature__text,
    .ta-paragraph--body-small),
[aria-label="breadcrumb"],
[data-row-id="hero_full_image_w_icons_container"] :is(.ta-heading,
    .ta-paragraph,
    .to-herobanner__price,
    .ta-feature__text) {
    color: #000;
}

/* Testi hero */
@media (min-width: 80em) {
    [data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image .ta-heading--h1-hp {
        font-size: 4rem;
    }
}

[data-row-id="hero_full_image_w_icons_container"] .to-herobanner__subtitle {
    display: block;
    padding: 0 0 1rem;
    font-size: 2.3rem;
    line-height: 1.42;
    font-weight: 400;
}

[data-row-id="hero_full_image_w_icons_container"] .to-herobanner__overlaytext .ta-paragraph.ta-paragraph--body.-no-margin {
    padding: 1rem 0 0;
    font-size: 1.4rem;
}

[data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image .ta-heading--h1-small {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 1.4rem;
    font-size: 2.4rem;
}

/* Icons */
[data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image__icons {
    display: none;
}

/* Features */
[data-row-id="hero_full_image_w_icons_container"] .tm-hero-card__features div {
    padding: 0 0 1rem;
}

[data-row-id="hero_full_image_w_icons_container"] .tm-hero-card__features div:last-of-type {
    padding: 0;
}

/* Tick color */
[data-row-id="hero_full_image_w_icons_container"] .ta-feature--tick-azzurrofluo .ta-feature__text::after {
    border-bottom: 2px solid #122AC2;
    border-right: 2px solid #122AC2;
}

/* Tile dark overlay */
.tm-tile--theme-dark .tm-tile__tra {
    background: rgba(0, 17, 54, 0.60);
}

/* Mobile hero */
@media (max-width: 47.99em) {
    [data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image {
        justify-content: flex-start;
        min-height: 0;
        background-color: #f3f4fb;
    }

    [data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image .to-herobanner--full-image__bg {
        top: auto;
        bottom: 0;
        height: auto;
        font-size: 0;
        line-height: 0;
    }

    [data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image .to-herobanner--full-image__bg img {
        height: auto;
        object-fit: contain;
    }

    [data-row-id="hero_full_image_w_icons_container"] .to-herobanner--full-image .to-herobanner--full-image__content {
        padding-bottom: 82vw;
    }
}

/* ============================   TIM INFORMA ============================ */
[data-row-id=tim_informa_container] .to-tim-informa {
    padding: 2.4rem 2.4rem 0.8rem;
}

[data-row-id=tim_informa_container] .to-tim-informa .to-tim-informa__wrapper {
    padding: 0;
    border: none;
}

[data-row-id=tim_informa_container] .to-tim-informa .to-tim-informa__wrapper .to-tim-informa__paragraph-link {
    margin: 0;
}

[data-row-id=tim_informa_container] .to-tim-informa .to-tim-informa__wrapper .to-tim-informa__paragraph-link .ta-heading,
[data-row-id=tim_informa_container] .to-tim-informa .to-tim-informa__wrapper .to-tim-informa__paragraph-link p {
    padding: 0 0 1.6rem 0;
}

@media (min-width: 48em) {
    [data-row-id=tim_informa_container] .to-tim-informa {
        padding: 2.4rem 2.4rem 1.6rem;
    }
}

/* ============================   SELEZIONA OFFERTA ============================ */
[data-row-id=selezione_offerta_container] {
    background-color: #F6F6FD;
}

[data-row-id=selezione_offerta_container] .to-tab-content__head {
    display: none;
}

[data-row-id=selezione_offerta_container] .to-subhome-cards {
    background: transparent;
}

[data-row-id=selezione_offerta_container] .tm-tile--subhome .tm-tile__vendor-logo li .ta-image {
    margin: 0;
}

@media (min-width: 48em) {
    [data-row-id=selezione_offerta_container] .tm-tile--subhome .tm-tile__body-bottom {
        min-height: auto;
    }
}

/* ============================   MODULI CARATTERISTICHE OFFERTA ============================ */
[data-row-id=caratteristiche_offerta_container] .to-dettaglioofferta.-divider .to-dettaglioofferta__header .ta-heading,
[data-row-id=attivare_online_container] .to-dettaglioofferta.-divider .to-dettaglioofferta__header .ta-heading {
    color: #081677;
    font-weight: 700;
}

/* ============================  PORTALE OFFERTE ============================ */
[data-row-id=portale_offerte_container] .to-banner-agcom {
    background-color: #F6F6FD;
    color: #000;
}

[data-row-id=portale_offerte_container] .to-banner-agcom .to-banner-agcom__button .ta-button.-primary.-negative {
    color: #fff;
}

[data-row-id=portale_offerte_container] .to-banner-agcom .to-banner-agcom__button .ta-button.-primary.-negative:after {
    background-color: #122AC2;
}

[data-row-id=portale_offerte_container] .to-banner-agcom .to-banner-agcom__button .ta-button.-primary.-negative:hover:after {
    background-color: #0d1f8f;
}

/* ============================   DOCUMENTI UTILI ============================ */
[data-row-id=documenti_utili_container] {
    background-color: #F6F6FD;
}

[data-row-id=documenti_utili_container] .to-faqaccordion--theme-light {
    background-color: transparent;
}

/* ============================   SCROLL PADDING ============================ */
/* puntare l’elemento con "scroll-margin-top" */
.scrollto_marker {
    scroll-margin-top: 4rem;
}

@media (min-width: 48em) {
    .scrollto_marker {
        scroll-margin-top: 4rem;
    }
}

@media (min-width: 80em) {
    .scrollto_marker {
        scroll-margin-top: 6.5rem;
    }
}

/* ============================    STRIKETHROUGH ============================ */
.--strike {
    text-decoration: line-through;
}

/* ============================  MODALI FONTI RINNOVABILI ============================ */
.img-full {
    max-width: 800px;
    width: 100%;
}

/* ============================   CAROUSEL VANTAGGI ============================ */
.to-carousel-vantaggi__title {
    position: relative;
    z-index: 1;
}