/* Hero originale AGCM 3996c4db5, qualificatore isolato agcm-hero-layout. */
@media (min-width: 992px) {
    body.course-profile-course.agcm-hero-layout .combo-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 440px);
        grid-template-areas:
            "copy offer"
            "included offer"
            "proof offer";
        column-gap: 48px;
        row-gap:18px;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof {
        display: grid;
        grid-template-columns: 172px minmax(120px, 1fr) minmax(190px, auto);
        align-items: center;
        width: min(100%, 660px);
        min-height: 76px;
        margin-top: 0;
        padding: 10px 16px;
        overflow: hidden;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-avatars {
        display: block;
        padding: 0;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-avatars img {
        display: block;
        width: 166px;
        height: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        object-fit: contain;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-summary {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        padding: 0 16px;
        text-align: left;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-rating {
        display: flex;
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
        min-height: 48px;
        margin: 0;
        padding: 0 0 0 18px;
        border-top: 0;
        border-left: 1px solid #c8d9e7;
    }
}

body.course-profile-course.agcm-hero-layout .combo-hero .new-hero-overlay {
    background: var(--fd-hero-overlay);
}

body.course-profile-course.agcm-hero-layout .combo-hero .hero-title,
body.course-profile-course.agcm-hero-layout .combo-hero .hero-primary-benefit,
body.course-profile-course.agcm-hero-layout .combo-hero .hero-subtitle {
    text-shadow: none !important;
    -webkit-text-stroke: 0 transparent;
    filter: none;
}

body.course-profile-course.agcm-hero-layout .combo-hero .hero-title,
body.course-profile-course.agcm-hero-layout .combo-hero .hero-subtitle,
body.course-profile-course.agcm-hero-layout .combo-hero .combo-hero-included-item,
body.fd-category-layout .combo-hero-included-item {
    color: #fff;
}

body.course-profile-course.agcm-hero-layout .combo-hero .hero-primary-benefit,
body.course-profile-course.agcm-hero-layout .combo-hero .combo-hero-included-icon,
body.fd-category-layout .combo-hero-included-icon {
    color: #b8e8ff;
}

body.course-profile-course.agcm-hero-layout .combo-hero .hero-primary-benefit > span {
    background: #72d2ff;
}

body.course-profile-course.agcm-hero-layout .combo-hero .combo-hero-included-icon,
body.fd-category-layout .combo-hero-included-icon {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
}

body.course-profile-course.agcm-hero-layout .combo-hero .combo-hero-included-item + .combo-hero-included-item,
body.fd-category-layout .combo-hero-included-item + .combo-hero-included-item {
    border-left-color: rgba(255, 255, 255, .40);
}

body.course-profile-course.agcm-hero-layout .hero-social-proof-summary strong {
    font-size:16px;
    line-height:1.2;
}

body.course-profile-course.agcm-hero-layout .hero-social-proof-summary span {
    font-size:14px;
    line-height:1.3;
}

body.course-profile-course.agcm-hero-layout .hero-social-proof-rating {
    justify-content:center;
}

.agcm-hero-layout .combo-chart-bars {
    display: inline-flex;
    height: 23px;
    align-items: flex-end;
    gap: 3px;
}

.agcm-hero-layout .combo-chart-bars b {
    display: block;
    width: 5px;
    border-radius: 2px 2px 0 0;
    background: currentColor;
}

.agcm-hero-layout .combo-chart-bars b:nth-child(1) { height: 9px; }
.agcm-hero-layout .combo-chart-bars b:nth-child(2) { height: 16px; }
.agcm-hero-layout .combo-chart-bars b:nth-child(3) { height: 23px; }

@media (max-width: 991px) {
    body.course-profile-course.agcm-hero-layout .hero-social-proof {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        align-items: center;
        width: 100%;
        min-height: 0;
        padding: 12px 14px;
        overflow: hidden;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-avatars {
        display: block;
        padding: 0;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-avatars img {
        display: block;
        width: 132px;
        height: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        object-fit: contain;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-summary {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 0 14px;
        text-align: left;
    }

    body.course-profile-course.agcm-hero-layout .hero-social-proof-rating {
        display: flex;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 40px;
        margin-top: 10px;
        padding: 10px 0 0;
        border-top: 1px solid #c8d9e7;
        border-left: 0;
    }
}

/* Hero commerciale dei pacchetti combo: replica del mockup approvato. */
.agcm-hero-layout .combo-hero {
    min-height: 0;
    padding: 44px 0 34px;
    background-position: center;
    background-color: var(--fd-hero-blue);
}

.agcm-hero-layout .combo-hero .new-hero-overlay {
    background:
        linear-gradient(90deg, rgba(246, 251, 255, .92) 0%, rgba(241, 248, 253, .79) 43%, rgba(241, 248, 253, .40) 72%, rgba(241, 248, 253, .22) 100%),
        linear-gradient(0deg, rgba(233, 245, 253, .28), rgba(255, 255, 255, .08));
}

.agcm-hero-layout .combo-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 440px);
    grid-template-areas:
        "copy offer"
        "included offer"
        "proof offer";
    align-items: center;
    column-gap: 48px;
    row-gap:18px;
}

.agcm-hero-layout .combo-hero-copy {
    grid-area:copy;
    align-self: center;
    color: #08245d;
    text-align: left;
}

.agcm-hero-layout .combo-hero .hero-badge-category {
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0878e8, #075bd8);
    box-shadow: 0 7px 18px rgba(3, 103, 221, .18);
    color: #fff;
    font-size: 12px;
}

.agcm-hero-layout .combo-hero .hero-title {
    max-width: 680px;
    margin: 15px 0 12px;
    color: #08245d;
    font-size: clamp(38px, 3.45vw, 51px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.04;
    text-shadow: none;
}

.agcm-hero-layout .combo-hero .hero-primary-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 13px;
    color: #0878e8;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.agcm-hero-layout .combo-hero .hero-primary-benefit > span {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #199bdf;
}

.agcm-hero-layout .combo-hero .hero-subtitle {
    max-width: 680px;
    margin: 0 0 18px;
    color: #263d69;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: none;
}

:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included {
    grid-area:included;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 690px);
    margin:0;
}

:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    padding: 0 12px;
    color: #08245d;
    text-align: left;
}

:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-item + .combo-hero-included-item {
    border-left: 1px solid rgba(17, 69, 125, .28);
}

:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(222, 240, 255, .96);
    color: #0878e8;
    font-size: 23px;
}

:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-item strong {
    max-width: 150px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.agcm-hero-layout .hero-social-proof {
    grid-area:proof;
    display: grid;
    grid-template-columns: auto minmax(190px, 1fr) minmax(235px, auto);
    align-items: center;
    width: min(100%, 660px);
    min-height: 76px;
    margin-top: 0;
    padding: 11px 16px;
    overflow: visible;
    border: 1px solid #b9ddf7;
    border-radius: 11px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(26, 78, 119, .13);
    color: #08245d;
}

.agcm-hero-layout .hero-social-proof-avatars {
    display: flex;
    padding-left: 9px;
}

.agcm-hero-layout .hero-social-proof-avatars img {
    width: 43px;
    height: 43px;
    margin-left: -9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #dcecf5;
    object-fit: cover;
}

.agcm-hero-layout .hero-social-proof-summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 0 16px;
    text-align: left;
}

.agcm-hero-layout .hero-social-proof-summary strong {
    color: #08245d;
    font-size: 22px;
    line-height: 1;
}

.agcm-hero-layout .hero-social-proof-summary span {
    color: #38527c;
    font-size: 14px;
    line-height: 1.25;
}

.agcm-hero-layout .hero-social-proof-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-height: 48px;
    padding-left: 18px;
    border-left: 1px solid #c8d9e7;
}

.agcm-hero-layout .hero-social-proof-stars {
    color: #f6a800;
    font-size: 21px;
    letter-spacing: -2px;
    white-space: nowrap;
}

.agcm-hero-layout .hero-social-proof-rating-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agcm-hero-layout .hero-social-proof-rating strong {
    color: #08245d;
    font-size: 22px;
    line-height: 1.1;
}

.agcm-hero-layout .hero-social-proof-rating small {
    margin-top: 0;
    color: #496184;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.agcm-hero-layout .combo-hero-sale-card {
    display: block;
    padding: 26px 25px 17px;
    border: 1px solid rgba(255, 255, 255, .96);
    border-radius: 17px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 22px 50px rgba(19, 48, 76, .22);
    color: #08245d;
    text-align: left;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.agcm-hero-layout .combo-hero-sale {
    grid-area:offer;
    align-self:center;
}

.agcm-hero-layout .combo-hero-price-row {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    padding: 0 4px 18px;
    border-bottom: 1px solid #cfdeea;
}

.agcm-hero-layout .combo-hero-price-row--single {
    grid-template-columns: 1fr;
    text-align: center;
}

.agcm-hero-layout .combo-hero-price,
.agcm-hero-layout .combo-hero-saving {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.agcm-hero-layout .combo-hero-price {
    padding-right: 19px;
}

.agcm-hero-layout .combo-hero-saving {
    padding-left: 22px;
    border-left: 1px solid #cfdeea;
}

.agcm-hero-layout .combo-hero-price > span,
.agcm-hero-layout .combo-hero-saving > span {
    color: #39547d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.agcm-hero-layout .combo-hero-price > strong {
    margin-top: 5px;
    color: #08245d;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
}

.agcm-hero-layout .combo-hero-saving > strong {
    margin-top: 4px;
    color: #15a313;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.agcm-hero-layout .combo-hero-saving small {
    margin-top: 8px;
    color: #344e76;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.agcm-hero-layout .combo-hero-action {
    margin-top: 15px;
}

.agcm-hero-layout .combo-hero-btn {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7a18, #ff4f0a);
    box-shadow: 0 10px 22px rgba(236, 82, 11, .25);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.agcm-hero-layout .combo-hero-btn:hover,
.agcm-hero-layout .combo-hero-btn:focus {
    background: linear-gradient(135deg, #ff861f, #f14605);
    color: #fff;
    transform: translateY(-1px);
}

.agcm-hero-layout .combo-hero-installments {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 12px;
    border-radius: 9px;
    background: #e7f2ff;
    color: #0866d8;
    font-size: 16px;
}

.agcm-hero-layout .combo-hero-installments i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.agcm-hero-layout .combo-hero-installments > span {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.agcm-hero-layout .combo-hero-installments strong {
    margin-left: 4px;
}

.agcm-hero-layout .combo-hero-payments {
    padding: 20px 5px;
    text-align: center;
}

.agcm-hero-layout .combo-hero-payments > strong {
    display: block;
    margin-bottom: 13px;
    color: #19366a;
    font-size: 15px;
    font-weight: 500;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-hero-payment-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    gap: 12px 0;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-brand,
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-method {
    display: inline-flex;
    position: relative;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-method:nth-child(3n + 2)::before,
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-method:nth-child(3n + 3)::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 26px;
    background: #d5e0ea;
    content: "";
    transform: translateY(-50%);
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo--visa { width: 64px; height: 21px; }
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo--mastercard { width: 44px; height: 27px; }
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo--paypal { width: 78px; height: 26px; }
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo--satispay { width: 94px; height: 22px; }
:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-logo--scalapay {
    width: 94px;
    height: 18px;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-bank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b2a67;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.05;
    text-align: left;
    justify-self: stretch;
}

:is(.agcm-hero-layout, .single-payment-methods) .combo-payment-bank i {
    font-size: 21px;
}

.agcm-hero-layout .combo-hero-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0;
    padding: 17px 0 0;
    border-top: 1px solid #d8e4ee;
    border-radius: 0;
    background: transparent;
    color: #18366c;
    text-decoration: none;
}

.agcm-hero-layout .combo-hero-help:hover,
.agcm-hero-layout .combo-hero-help:focus {
    background: #eff8ff;
    color: #075fc3;
    text-decoration: none;
}

.agcm-hero-layout .combo-hero-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e5f2ff;
    color: #0878e8;
}

.agcm-hero-layout .combo-hero-help-icon i {
    font-size: 31px;
    line-height: 1;
}

.agcm-hero-layout .combo-hero-help > span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.3;
}

.agcm-hero-layout .combo-hero-help strong {
    color: #075fc3;
    font-size: 17px;
    font-weight: 500;
}

.agcm-hero-layout .combo-hero-help strong b {
    font-weight: 800;
}

@media (max-width: 1199px) {
    .agcm-hero-layout .combo-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 410px);
        column-gap: 30px;
    }

    .agcm-hero-layout .combo-hero .hero-title {
        font-size: clamp(35px, 3.7vw, 45px);
    }

    .agcm-hero-layout .hero-social-proof {
        grid-template-columns: auto 1fr;
    }

    .agcm-hero-layout .hero-social-proof-rating {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 38px;
        margin-top: 8px;
        padding-top: 8px;
        padding-left: 0;
        border-top: 1px solid #c8d9e7;
        border-left: 0;
    }
}

@media (max-width: 991px) {
    .agcm-hero-layout .combo-hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "offer" "included" "proof";
        row-gap: 26px;
    }

    .agcm-hero-layout .combo-hero-copy,
    .agcm-hero-layout .combo-hero-sale {
        width: 100%;
        max-width: 690px;
        margin-inline: auto;
    }

    .agcm-hero-layout .combo-hero .hero-title {
        max-width: none;
    }
}

@media (max-width: 767px) {
    body.course-profile-course.agcm-hero-layout .combo-hero .new-hero-overlay {
        background: linear-gradient(180deg, rgba(var(--fd-hero-rgb), .84) 0%, rgba(var(--fd-hero-rgb), .78) 48%, rgba(var(--fd-hero-rgb), .66) 70%, rgba(var(--fd-hero-rgb), .24) 100%);
    }

    .agcm-hero-layout .combo-hero {
        padding: 27px 0 30px;
    }

    .agcm-hero-layout .combo-hero .new-hero-overlay {
        background: linear-gradient(180deg, rgba(246, 251, 255, .91), rgba(236, 246, 252, .76));
    }

    .agcm-hero-layout .combo-hero .hero-title {
        font-size: clamp(31px, 9vw, 39px);
    }

    .agcm-hero-layout .combo-hero .hero-primary-benefit {
        font-size: 20px;
    }

    :is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 0;
    }

    :is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-item:nth-child(3) {
        border-left: 0;
    }

    .agcm-hero-layout .hero-social-proof {
        grid-template-columns: auto 1fr;
        padding: 12px;
    }

    .agcm-hero-layout .hero-social-proof-avatars img {
        width: 34px;
        height: 34px;
    }

    .agcm-hero-layout .hero-social-proof-summary {
        padding: 0 8px 0 12px;
    }

    .agcm-hero-layout .hero-social-proof-rating {
        grid-column: 1 / -1;
        margin-top: 10px;
        padding-top: 10px;
        padding-left: 0;
        border-top: 1px solid #c8d9e7;
        border-left: 0;
    }

    .agcm-hero-layout .combo-hero-sale-card {
        padding: 22px 18px 15px;
    }

    .agcm-hero-layout .combo-hero-price > strong {
        font-size: 43px;
    }

    .agcm-hero-layout .combo-hero-saving > strong {
        font-size: 32px;
    }

    .agcm-hero-layout .combo-hero-saving small {
        font-size: 12px;
        white-space: normal;
    }

    .agcm-hero-layout .combo-hero-btn {
        min-height: 56px;
        font-size: 19px;
    }

    .agcm-hero-layout .combo-hero-installments {
        font-size: 16px;
    }

    .agcm-hero-layout .combo-hero-help {
        margin: 0;
    }
}
/* Collegamento al layout corrente: stessi limiti del contenitore AGCM.
   Nessuna modifica a header/home/footer o ai servizi commerciali. */
body.fd-course.agcm-hero-layout .combo-hero>.hero-content.container{width:100%;max-width:1170px;padding:0 15px}
.agcm-hero-layout .combo-hero-sale.hero-cta-container{display:block;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:left}
.agcm-hero-layout .combo-hero .hero-title{text-transform:none}
.agcm-hero-layout .combo-hero .hero-primary-benefit>span{flex:0 0 26px}
.agcm-hero-layout .combo-hero .hero-primary-benefit{margin-top:0}
.agcm-hero-layout .hero-badges{margin-bottom:0}
.agcm-hero-layout .combo-hero-price .hero-promo-label{display:block;margin:0;color:#39547d;font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;line-height:1.4}
.agcm-hero-layout .combo-hero-price .hero-price-new{display:block;margin:5px 0 0;white-space:normal}
.agcm-hero-layout .combo-hero-price .hero-price-details{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;margin:12px 0 8px;color:#647589;font-size:12px}
.agcm-hero-layout .combo-hero-price .hero-price-old{color:#647589;font-size:18px}
.agcm-hero-layout .hero-stamp-note{margin:10px 0 0;color:#526474;font-size:13px}
.agcm-hero-layout .hero-master-info{margin:16px 0 0;padding:0;list-style:none;color:#526474;font-size:14px}
.agcm-hero-layout .hero-master-info li{padding:4px 0}
.agcm-hero-layout .hero-iscrizioni-aperte{margin-bottom:14px}
.agcm-hero-layout .combo-hero-copy .hero-features{padding:0;list-style:none;display:grid;gap:8px;margin:16px 0 0}
.agcm-hero-layout .combo-hero-copy .hero-features li{margin:0;font-size:14px;line-height:1.4}
.agcm-hero-layout .combo-hero-copy .hero-features i{color:#b8e8ff}
.agcm-hero-layout .combo-hero-copy .hero-features:empty{display:none}
.agcm-hero-layout .hero-social-proof-initials{display:inline-flex;width:40px;height:40px;margin-left:-6px;align-items:center;justify-content:center;background:#dcecf5;border:2px solid #fff;border-radius:50%;font-weight:700;font-size:12px;color:#173b5b}
body.fd-course.agcm-hero-layout .hero-social-proof-avatars{white-space:nowrap}
body.fd-course.agcm-hero-layout .hero-social-proof-rating{min-width:0}
body.fd-course.agcm-hero-layout .hero-social-proof-rating-line{gap:8px}
body.fd-course.agcm-hero-layout .hero-social-proof-rating strong{font-size:21px}
body.fd-course.agcm-hero-layout .hero-social-proof-rating strong>small{font-size:15px;font-weight:400;line-height:inherit}
body.fd-course.agcm-hero-layout .hero-social-proof .fd-rating-stars{--rating-size:19px;gap:2px}
body.fd-course.agcm-hero-layout .combo-hero .hero-social-proof:not(:has(.hero-social-proof-avatars)){grid-template-columns:1fr auto}
.agcm-hero-layout .combo-hero a:focus-visible{outline:3px solid #0878e8;outline-offset:4px}
.agcm-hero-layout .combo-hero-btn[aria-disabled=true]:not(.cta-disabled){cursor:default}
.fd-agcm-course-body .course-editorial-benefits{margin:24px 0 0;padding:20px 20px 20px 38px;border-top:1px solid #e3ebf0}
@media(min-width:992px){body.fd-course.agcm-hero-layout .combo-hero-grid{grid-template-columns:minmax(0,1fr) 440px;column-gap:48px}}
@media(min-width:992px) and (max-width:1199px){body.fd-course.agcm-hero-layout .combo-hero-grid{grid-template-columns:minmax(0,1fr) 380px;column-gap:30px}}
@media(max-width:991px){body.fd-course.agcm-hero-layout .combo-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'copy' 'offer' 'included' 'proof';row-gap:26px}.agcm-hero-layout .hero-social-proof-initials{width:32px;height:32px}}
.agcm-hero-layout .combo-hero-sale-card .hero-iscriviti-note{margin:12px 0 0;color:#526474;font-size:12px;text-align:center;text-shadow:none}

/* Prezzo promozionale su una riga e scadenza compatta vicino all'acquisto. */
.fd-site .hero-offer-label{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap}
.fd-site .hero-offer-label .hero-promo-label{margin:0;white-space:nowrap}
.fd-site .hero-offer-label .hero-discount-badge{font-size:12px;line-height:1.4;padding:3px 7px}
.fd-site .hero-offer-values{display:flex;align-items:baseline;gap:14px;flex-wrap:nowrap}
.fd-site .hero-offer-values .hero-price-new{margin:4px 0 0;white-space:nowrap;font-size:clamp(38px,4vw,54px);line-height:1.15}
.fd-site .hero-offer-values .hero-price-old{flex:0 0 auto;font-size:20px;white-space:nowrap;color:#647589}
.fd-site .hero-countdown-compact{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0;padding:9px 12px;border-radius:8px;background:#e8f2fa}
.fd-site .hero-countdown-compact .hero-countdown-label{display:inline-flex;flex:0 0 auto;gap:6px;margin:0;font-size:12px;line-height:1.4;letter-spacing:0;text-transform:none;color:#31517a}
.fd-site .hero-countdown-compact .hero-countdown-label i{animation:none}
.fd-site .hero-countdown-compact .hero-countdown-boxes{display:flex;gap:7px;margin:0}
.fd-site .hero-countdown-compact .countdown-box{display:inline-flex;align-items:baseline;gap:2px;min-width:0;padding:0;border:0;background:transparent;border-radius:0}
.fd-site .hero-countdown-compact .countdown-value{font-size:15px;line-height:1.4;color:#173b5b;font-variant-numeric:tabular-nums}
.fd-site .hero-countdown-compact .countdown-unit{font-size:11px;line-height:1.4;letter-spacing:0;margin:0;text-transform:none;color:#526474}
@media(max-width:359px){.fd-site .hero-offer-values{gap:10px}.fd-site .hero-offer-values .hero-price-new{font-size:36px}.fd-site .hero-offer-values .hero-price-old{font-size:18px}.fd-site .hero-countdown-compact{padding-inline:8px;gap:7px}.fd-site .hero-countdown-compact .hero-countdown-boxes{gap:5px}}
/* Scadenza a destra del prezzo, nella stessa riga del riepilogo. */
.fd-site .combo-hero-offer-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.fd-site .combo-hero-offer-summary .combo-hero-price-row{min-width:0;margin:0;padding:0;border:0}
.fd-site .combo-hero-offer-summary .hero-offer-values{gap:10px}
.fd-site .combo-hero-offer-summary .hero-offer-values .hero-price-new{font-size:clamp(32px,3.2vw,46px)}
.fd-site .combo-hero-offer-summary .hero-price-old{font-size:18px}
.fd-site .combo-hero-offer-summary .hero-countdown-compact{display:block;margin:0;padding:9px}
.fd-site .combo-hero-offer-summary .hero-countdown-label{justify-content:flex-start;margin-bottom:4px}
.fd-site .combo-hero-offer-summary .hero-countdown-boxes{gap:5px}
.fd-site .combo-hero-offer-summary .countdown-box:last-child{display:none}
@media(max-width:359px){.fd-site .combo-hero-offer-summary{gap:8px}.fd-site .combo-hero-offer-summary .hero-price-old{font-size:16px}.fd-site .combo-hero-offer-summary .hero-countdown-compact{padding:7px}.fd-site .combo-hero-offer-summary .countdown-value{font-size:13px}.fd-site .combo-hero-offer-summary .hero-countdown-label{font-size:11px}}
.fd-site .hero-countdown-compact .hero-countdown-boxes,.fd-site .hero-countdown-compact .countdown-box{line-height:1}
.fd-site .combo-hero-offer-summary .hero-countdown-compact{display:grid;gap:4px}
.fd-site .combo-hero-offer-summary .hero-countdown-label{margin-bottom:0}
/* Scadenza leggibile a destra: cifre più grandi, con spazio interno dedicato. */
.fd-site .combo-hero-offer-summary .hero-countdown-compact{min-width:124px;padding:12px;gap:6px}
.fd-site .combo-hero-offer-summary .hero-countdown-label{font-size:13px}
.fd-site .combo-hero-offer-summary .countdown-value{font-size:19px}
.fd-site .combo-hero-offer-summary .countdown-unit{font-size:12px}
.fd-site .combo-hero-offer-summary .hero-countdown-boxes{gap:6px}
@media(max-width:767px){.fd-site .combo-hero-offer-summary .hero-countdown-compact{min-width:118px}}
@media(max-width:359px){.fd-site .combo-hero-offer-summary{gap:6px}.fd-site .combo-hero-offer-summary .hero-offer-values{gap:6px}.fd-site .combo-hero-offer-summary .hero-offer-values .hero-price-new{font-size:30px}.fd-site .combo-hero-offer-summary .hero-price-old{font-size:15px}.fd-site .combo-hero-offer-summary .hero-countdown-compact{min-width:108px;padding:10px 8px}.fd-site .combo-hero-offer-summary .hero-countdown-label{font-size:12px}.fd-site .combo-hero-offer-summary .countdown-value{font-size:18px}}
.fd-site .combo-hero-offer-summary .combo-hero-price-row{grid-template-columns:minmax(0,1fr)}
.fd-site .combo-hero-offer-summary .combo-hero-price{min-width:0;padding-right:0;border-right:0}
@media(max-width:767px){.fd-site .combo-hero-offer-summary .hero-offer-values--long{gap:8px}.fd-site .combo-hero-offer-summary .hero-offer-values--long .hero-price-new{font-size:30px}.fd-site .combo-hero-offer-summary .hero-offer-values--long .hero-price-old{font-size:16px}}
@media(max-width:359px){.fd-site .combo-hero-offer-summary .hero-offer-values--long{gap:4px}.fd-site .combo-hero-offer-summary .hero-offer-values--long .hero-price-new{font-size:23px}.fd-site .combo-hero-offer-summary .hero-offer-values--long .hero-price-old{font-size:13px}}

/* I riepiloghi della hero usano singoli avatar, non la vecchia immagine a striscia. */
body.fd-course.agcm-hero-layout .combo-hero .hero-social-proof-avatars{display:flex;align-items:center;padding-left:9px}
body.fd-course.agcm-hero-layout .combo-hero .hero-social-proof-avatars img{display:block;flex:0 0 43px;width:43px;height:43px;max-width:none;margin:0 0 0 -9px;border:2px solid #fff;border-radius:50%;object-fit:cover}
@media(max-width:991px){body.fd-course.agcm-hero-layout .combo-hero .hero-social-proof-avatars img{flex-basis:32px;width:32px;height:32px}}

/* Titoli di catalogo con parole composte lunghe: restano dentro la hero mobile. */
.fd-site .combo-hero .hero-title { overflow-wrap: anywhere; }

/* L’apostrofo non eredita la spaziatura stretta delle lettere maiuscole. */
.fd-course .course-title-apostrophe{padding-inline:.035em;letter-spacing:normal;font-kerning:none}

/* Hero mobile approvata: foto e sfumatura della home, acquisto nella barra condivisa. */
.course-hero-photo,.course-hero-mobile-saving{display:none}
@media(max-width:991px){
 body.fd-site.fd-course .combo-hero[data-course-hero-mobile]{padding-top:195px;background-image:none!important;background-color:var(--fd-hero-blue)}
 .course-hero-photo{display:block;position:absolute;inset:0 0 auto;height:225px;background-size:cover;background-position:center}
 .course-hero-photo::after{content:'';position:absolute;inset:0 0 -20px;background:var(--fd-hero-overlay-mobile)}
 body.fd-course.agcm-hero-layout .combo-hero[data-course-hero-mobile]>.new-hero-overlay{display:none}
 body.fd-course.agcm-hero-layout .combo-hero[data-course-hero-mobile] .combo-hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:26px}
 .combo-hero[data-course-hero-mobile] .combo-hero-copy{order:0}
 .course-hero-mobile-saving{display:flex;order:1;align-items:baseline;gap:6px 12px;flex-wrap:wrap;color:#fff;line-height:1.5;font-size:16px}
 .course-hero-mobile-saving strong{color:#fff;font-size:20px;font-weight:700}
 .course-hero-mobile-saving span{color:#c8e2ef;font-size:14px}
 body.fd-course.agcm-hero-layout .combo-hero[data-course-hero-mobile] .combo-hero-sale{display:none}
 .combo-hero[data-course-hero-mobile] .combo-hero-included{order:2}
 .combo-hero[data-course-hero-mobile] .hero-social-proof{order:3}
}
@media(min-width:768px) and (max-width:991px){
 body.fd-site.fd-course .combo-hero[data-course-hero-mobile]{padding-top:220px}
 .course-hero-photo{height:250px}
}

/* Primo elemento della hero allineato al margine della colonna di testo. */
:is(.agcm-hero-layout,.fd-category-layout) .combo-hero-included-item:first-child{padding-left:0}
