/* Detto e Annotato
   viola prugna per i titoli, oro per le parole che contano, fucsia solo sui bottoni */

html {
    overflow-x: clip;
}
* ,
*:before,
*:after {
    box-sizing: border-box;
}
body {
    margin: 0px;
    font-family: "Fira Sans", "Trebuchet MS", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #121212;
    background: #fff;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: #4b345d;
}
h1, h2, h3 {
    font-weight: 400;
    margin: 0px 0px 14px;
    text-wrap: balance;
}
p {
    margin: 0px 0px 16px;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.sr-only:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto;
    background: #fff;
    padding: 8px 14px;
    z-index: 500;
}
:focus-visible {
    outline: 3px solid #edaa16;
    outline-offset: 2px;
}
.fl-row-content {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 30px;
}
.bebas {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0.3px;
    line-height: 1;
}
.gold {
    color: #edaa16;
}
.UOTP-defaultButton {
    display: inline-block;
    background: #c4005f;
    color: #fff;
    border: 0px;
    border-radius: 35px;
    padding: 16px 40px;
    font: 500 16px "Fira Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.15px;
    text-decoration: none;
    cursor: pointer;
}
.UOTP-defaultButton:hover {
    background: #99006b;
    color: #fff;
}
.UOTP-defaultButton--purple {
    background: #4b345d;
    padding: 12px 40px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.UOTP-arrowPurple {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border: 1px solid #99006b;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #99006b;
    text-decoration: none;
}
.UOTP-arrowPurple svg {
    width: 16px;
    height: 16px;
}

/* barra lilla e intestazione fissa */
.top-strip {
    background: #f3eff5;
    font-size: 13px;
}
.top-strip .fl-row-content {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    min-height: 35px;
    align-items: center;
}
.top-strip a {
    color: #4b345d;
    text-decoration: none;
}
.fl-builder-content-header {
    position: sticky;
    top: 0px;
    z-index: 90;
    background: #fff;
    box-shadow: 0 1px 0 #e7e1ea;
}
.fl-builder-content-header .fl-row-content {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 86px;
}
.fl-logo img {
    width: 230px;
    height: auto;
}
.fl-menu {
    display: flex;
    list-style: none;
    margin: 0px 0px 0 auto;
    padding: 0px;
    gap: 16px;
}
.fl-menu a {
    color: #121212;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-decoration: none;
}
.fl-menu a:hover,
.fl-menu a[aria-current] {
    color: #99006b;
}
.fl-menu-responsive-toggle-mobile {
    display: none;
    margin-left: auto;
    background: #4b345d;
    color: #fff;
    border: 0px;
    border-radius: 30px;
    padding: 9px 18px;
    font: 600 14px "Fira Sans", sans-serif;
}

/* apertura: riquadro viola sopra il mosaico */
.HeroMosaic {
    position: relative;
    min-height: 498px;
    overflow: hidden;
    background: #4b345d;
}
.HeroMosaic-grid {
    position: absolute;
    inset: 0px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 166px;
}
.HeroMosaic-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
}
.HeroMosaic:after {
    content: "";
    position: absolute;
    inset: 0px;
    background: rgba(75, 52, 93, 0.42);
}
.HeroMosaic-card {
    position: relative;
    z-index: 2;
    width: 510px;
    max-width: calc(100% - 60px);
    margin: 38px 0 38px 40px;
    background: rgba(61, 38, 82, 0.92);
    border-radius: 14px;
    padding: 46px 48px 40px;
    color: #fff;
}
.HeroMosaic-card h1 {
    font-size: clamp(34px, 3.6vw, 46px);
    color: #fff;
    margin-bottom: 18px;
}
.HeroMosaic-card p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}
.HeroMosaic-card .deadline {
    margin: 22px 0 0;
    font-size: 17px;
    font-weight: 600;
}
.HeroMosaic-card .deadline em {
    color: #edaa16;
}

/* due colonne con la riga verticale */
.TwoCols {
    padding: 56px 0;
    border-bottom: 1px solid #ddd;
}
.TwoCols .fl-row-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
}
.TwoCols-col {
    padding: 4px 40px;
}
.TwoCols-col + .TwoCols-col {
    border-left: 1px solid #ccbed0;
}
.TwoCols h2 {
    font-size: 32px;
    color: #4b345d;
}
.TwoCols ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.TwoCols li {
    padding: 7px 0 7px 26px;
    position: relative;
}
.TwoCols li:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #edaa16;
}

/* programma a quattro riquadri */
.ProgramBoxes {
    position: relative;
    padding: 70px 0 80px;
    text-align: center;
    overflow: hidden;
}
.ProgramBoxes .poly {
    position: absolute;
    left: -60px;
    bottom: -40px;
    width: 340px;
    height: 420px;
    pointer-events: none;
}
.ProgramBoxes h2 {
    font-size: clamp(40px, 4.6vw, 58px);
    color: #4b345d;
}
.ProgramBoxes .intro {
    max-width: 740px;
    margin: 0 auto 46px;
    font-size: 18px;
    font-weight: 500;
}
.ProgramBoxes-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}
.ProgramBox {
    border: 1px solid #121212;
    background: #fff;
    min-width: 0px;
}
.ProgramBox-head {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #4b345d;
    color: #fff;
    padding: 14px 16px;
}
.ProgramBox-head svg {
    width: 30px;
    height: 30px;
    flex: none;
}
.ProgramBox-head h3 {
    margin: 0px;
    font-size: 20px;
}
.ProgramBox-body {
    padding: 18px 20px 26px;
    font-size: 16px;
    font-weight: 500;
}
.ProgramBox-body p {
    margin: 0px 0px 12px;
}

/* esempi a scorrimento con le miniature tonde */
.VoiceSlider {
    padding: 40px 0 80px;
}
.VoiceSlider h2 {
    text-align: center;
    font-size: 52px;
    color: #4b345d;
    margin-bottom: 40px;
}
.VoiceSlider-stage > * {
    min-width: 0px;
}
.VoiceSlider-stage {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.VoiceSlider-stage > img {
    width: 100%;
    aspect-ratio: 0.8;
    object-fit: cover;
}
.VoiceSlider-quote {
    position: relative;
    padding-left: 44px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.9;
}
.VoiceSlider-quote:before {
    content: "\201C";
    position: absolute;
    left: 0px;
    top: -14px;
    font-size: 70px;
    line-height: 1;
    color: #28cca2;
    font-family: Georgia, serif;
}
.VoiceSlider-quote small {
    display: block;
    margin-top: 14px;
    font-size: 16px;
    color: #4b345d;
}
.VoiceSlider-line {
    margin-top: 18px;
    background: #f5f2f6;
    border-left: 4px solid #edaa16;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.6;
}
.VoiceSlider-thumbs {
    display: flex;
    gap: 22px;
    margin-top: 36px;
}
.VoiceSlider-thumbs button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 0px;
    border: 3px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: none;
}
.VoiceSlider-thumbs button[aria-pressed="true"] {
    border-color: #28cca2;
}
.VoiceSlider-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* cose che non facciamo, su fondo grigio */
.MediaStories {
    background: #f3f1f4;
    padding: 70px 0;
}
.MediaStories h2 {
    font-size: 44px;
    color: #4b345d;
}
.MediaStories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.MediaStories-item {
    min-width: 0px;
}
.MediaStories-item .badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: #fff;
    color: #4b345d;
    font-family: "Bebas Neue", sans-serif;
    font-size: 40px;
    text-decoration: line-through;
    text-decoration-color: #c4005f;
    margin-bottom: 14px;
}
.MediaStories-item p {
    font-size: 15px;
    font-weight: 500;
    color: #4b345d;
}

/* risorse con immagine */
.FeaturedResources {
    padding: 70px 0;
}
.FeaturedResources h2 {
    text-align: center;
    font-size: 52px;
    color: #4b345d;
    margin-bottom: 36px;
}
.FeaturedResources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}
.FeaturedResources-item_assets img {
    width: 100%;
    aspect-ratio: 1.57;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}
.FeaturedResources-item_title {
    font-size: 21px;
    font-weight: 600;
    margin: 14px 0 6px;
}
.FeaturedResources-item_desc {
    font-size: 15px;
}

/* iscrizione */
.ApplyBox {
    background: #f5f2f6;
    padding: 70px 0;
}
.ApplyBox .fl-row-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.ApplyBox h2 {
    font-size: 52px;
    color: #4b345d;
}
.ApplyBox form {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(75, 52, 93, 0.12);
}
.ApplyBox-errors {
    min-height: 0px;
    background: #fde7f1;
    border: 1px solid #c4005f;
    color: #7a0040;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 15px;
}
.ApplyBox-errors ul {
    margin: 6px 0 0;
    padding-left: 18px;
}
.ApplyBox label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}
.ApplyBox select,
.ApplyBox input[type=text],
.ApplyBox input[type=email] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b7a8bf;
    border-radius: 6px;
    font: 17px "Fira Sans", sans-serif;
    margin-bottom: 16px;
    background: #fff;
}
.ApplyBox .has-error {
    border-color: #c4005f;
}
.ApplyBox .check {
    display: flex;
    gap: 10px;
    font-weight: 400;
    font-size: 15px;
}
.ApplyBox .nope {
    display: none;
}
.ApplyBox-thanks {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    border-top: 6px solid #28cca2;
}

/* invito finale con i poligoni */
.CtaPoly .gold {
    color: #8f6200;
}
.CtaPoly {
    position: relative;
    background: #f3f1f4;
    padding: 90px 0;
    text-align: center;
    overflow: hidden;
}
.CtaPoly svg {
    opacity: 0.45;
    position: absolute;
    top: 0px;
    height: 100%;
    width: 300px;
    pointer-events: none;
}
.CtaPoly .left {
    left: 0px;
}
.CtaPoly .right {
    right: 0px;
    transform: scaleX(-1);
}
.CtaPoly h2 {
    position: relative;
    font-size: clamp(40px, 4.6vw, 58px);
    color: #4b345d;
    margin-bottom: 30px;
}

/* pagine del sito */
.PageHero {
    background: #4b345d;
    color: #fff;
    padding: 50px 0 44px;
}
.PageHero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 58px;
    line-height: 1;
    color: #fff;
}
.PageHero p {
    max-width: 720px;
    font-size: 19px;
    margin: 0px;
}
.PageHero nav {
    font-size: 14px;
    margin-bottom: 12px;
}
.PageHero nav a {
    color: #f0d48c;
}
.PageText {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 30px 70px;
    overflow-wrap: anywhere;
}
.PageText h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    line-height: 1;
    color: #4b345d;
    margin-top: 36px;
}
.PageText figure {
    margin: 30px 0;
}
.PageText figure img {
    width: 100%;
    aspect-ratio: 1.9;
    object-fit: cover;
    border-radius: 6px;
}
.PageText figcaption {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}
.PageText .memo {
    background: #f5f2f6;
    border-left: 5px solid #edaa16;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin: 24px 0;
}
.is-legal .PageText h2 {
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 21px;
}

/* piede */
.fl-builder-content-footer {
    background: #4b345d;
    color: #fff;
    padding: 56px 0 30px;
    font-size: 15px;
}
.fl-builder-content-footer a {
    color: #fff;
}
.FooterCols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
}
.FooterCols h4 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: #edaa16;
    margin: 0px 0px 12px;
}
.FooterCols ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.FooterCols li {
    margin-bottom: 8px;
}
.FooterCols button {
    background: none;
    border: 0px;
    color: #fff;
    text-decoration: underline;
    font: 15px "Fira Sans", sans-serif;
    padding: 0px;
    cursor: pointer;
}
.FooterCopy {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 36px;
    padding-top: 16px;
    font-size: 13px;
    color: #d9cfe0;
}

/* finestra dei cookie al centro */
.CookieModal {
    position: fixed;
    inset: 0px;
    z-index: 200;
    background: rgba(18, 18, 18, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.CookieModal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    padding: 26px;
    font-size: 15px;
}
.CookieModal-box h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    color: #4b345d;
}
.CookieModal-box label {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #eee;
}
.CookieModal-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.CookieModal-btns button {
    flex: 1 1 120px;
    border-radius: 30px;
    padding: 10px 14px;
    border: 2px solid #4b345d;
    background: #fff;
    color: #4b345d;
    font: 600 14px "Fira Sans", sans-serif;
    cursor: pointer;
}
.CookieModal-btns .yes {
    background: #c4005f;
    border-color: #c4005f;
    color: #fff;
}

@media (max-width: 1100px) {
    .fl-menu {
        display: none;
    }
    .fl-menu-responsive-toggle-mobile {
        display: block;
    }
    .fl-builder-content-header .fl-row-content > .UOTP-defaultButton {
        display: none;
    }
    .fl-builder-content-header.menu-open .fl-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0px;
        right: 0px;
        background: #fff;
        padding: 16px 30px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }
    .ProgramBoxes-grid,
    .MediaStories-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
    .fl-row-content {
        padding: 0 16px;
    }
    .top-strip {
        display: none;
    }
    .fl-logo img {
        width: 180px;
    }
    .HeroMosaic-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 120px;
    }
    .HeroMosaic-card {
        margin: 20px 16px;
        max-width: none;
        width: auto;
        padding: 30px 22px;
    }
    .HeroMosaic-card h1 {
        font-size: 36px;
    }
    .HeroMosaic-card p {
        font-size: 17px;
    }
    .TwoCols .fl-row-content,
    .ProgramBoxes-grid,
    .MediaStories-grid,
    .FeaturedResources-grid,
    .ApplyBox .fl-row-content,
    .FooterCols,
    .VoiceSlider-stage {
        grid-template-columns: 1fr;
    }
    .TwoCols-col {
        padding: 10px 0;
    }
    .TwoCols-col + .TwoCols-col {
        border-left: 0px;
        border-top: 1px solid #ccbed0;
    }
    .ProgramBoxes h2,
    .VoiceSlider h2,
    .FeaturedResources h2,
    .ApplyBox h2,
    .CtaPoly h2 {
        font-size: 40px;
    }
    .VoiceSlider-stage > img {
        max-width: 240px;
    }
    .VoiceSlider-quote {
        font-size: 18px;
        line-height: 1.7;
    }
    .CtaPoly svg {
        width: 120px;
    }
    .PageHero h1 {
        font-size: 42px;
    }
    .PageText {
        padding: 34px 16px 50px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
