/*Utils*/

html {
    scroll-behavior: smooth;
}

:root {
    --font-family-paragraph: "Inter Tight", sans-serif;
   /* --font-family-title: Bricolage Grotesque, Sans-serif;*/
  --font-family-title: "Kumbh Sans", sans-serif;
    --font-size-paragraph: 14px;
    --font-size-h1: 48px;
    --typography-size-body: 16px;
    --font-size-eyebrow: 1rem;

    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-regular: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --semantic-text-primary: #000000;
    --primary-yellow: #FFD700;

    --section-bg-grey: #F5F5F5;

    --pad-inner: 30px;
    --innerWidth: 1280px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--section-bg-grey);
}

.d-flex{
    display: flex;
}
.d-block{
    display: block!important;
}
.justify-content-center{
    justify-content: center;
}
.justify-content-end{
    justify-content: end;
}
.justify-content-between{
    justify-content: space-between;
}
.align-items-center{
    align-items: center;
}
.container{
   inline-size: min(100% - var(--pad-inner) * 2, var(--innerWidth));
  margin-inline: auto;
  box-sizing: border-box;
}


a.btn.border-outline,
button.btn.border-outline{
    border: solid var(--semantic-text-primary) 1px;
    transition: 0.4s;
    cursor: pointer;
    padding: 12px 60px 12px 18px;
    border-radius: 30px;
    font-family: var(--font-family-paragraph);
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    position: relative;
    text-decoration: none;
    display: inline-block;
}
a.btn.border-outline.transparent,
button.btn.border-outline.transparent{
    background-color: transparent;
    color: var(--semantic-text-primary);
}

a.btn.border-outline.black,
button.btn.border-outline.black{
    background-color: #000000;
    color: #ffffff;
}

a.btn.border-outline.white,
button.btn.border-outline.white{
    background-color: #ffffff;
    color: var(--semantic-text-primary);
}



a.btn.border-outline.arrow-bottom-right:before,
button.btn.border-outline.arrow-bottom-right:before{
    content: url('/img/icons/arrow-right.svg');
    position: absolute;
    transform: rotate(45deg) scale(.6);
    right: 11px;
}
a.btn.border-outline.arrow-right:before,
button.btn.border-outline.arrow-right:before{
    content: url('/img/icons/arrow-right.svg');
    position: absolute;
    transform: scale(.6);
    right: 11px;
}
a.btn.border-outline.arrow-down,
button.btn.border-outline.arrow-down {
    overflow: hidden;
}
a.btn.border-outline.arrow-down:before,
button.btn.border-outline.arrow-down:before{
    content: url('/img/icons/arrow-right.svg');
    position: absolute;
    transform: rotate(90deg) scale(.6);
    right: 12px;
    top: 50%;
    margin-top: -10px;
}
a.btn.border-outline.black.arrow-right:before,
button.btn.border-outline.black.arrow-right:before,
a.btn.border-outline.black.arrow-bottom-right:before,
button.btn.border-outline.black.arrow-bottom-right:before,
a.btn.border-outline.black.arrow-down:before,
button.btn.border-outline.black.arrow-down:before {
    filter: invert(1);
}

a.btn.border-outline.black:hover,
button.btn.border-outline.black:hover {
    background-color: #ffffff;
    color: #000000;
}
a.btn.border-outline.black.arrow-bottom-right:hover::before,
button.btn.border-outline.black.arrow-bottom-right:hover::before {
    filter: none;
    animation: btn-bounce-br 0.8s ease-in-out infinite;
}
a.btn.border-outline.black.arrow-right:hover::before,
button.btn.border-outline.black.arrow-right:hover::before {
    filter: none;
    animation: btn-bounce-r 0.8s ease-in-out infinite;
}
a.btn.border-outline.black.arrow-down:hover::before,
button.btn.border-outline.black.arrow-down:hover::before {
    filter: none;
    animation: btn-jackpot-down 0.7s ease-in-out 1;
}
@keyframes btn-bounce-br {
    0%, 100% { transform: rotate(45deg) scale(.6) translate(0, 0); }
    50%       { transform: rotate(45deg) scale(.6) translate(5px, 0); }
}
@keyframes btn-bounce-r {
    0%, 100% { transform: scale(.6) translate(0, 0); }
    50%       { transform: scale(.6) translate(5px, 0); }
}
@keyframes btn-jackpot-down {
    0%   { transform: rotate(90deg) scale(.6) translate(0,    0); animation-timing-function: ease-in;     }
    42%  { transform: rotate(90deg) scale(.6) translate(60px, 0); animation-timing-function: steps(1, end); }
    43%  { transform: rotate(90deg) scale(.6) translate(-60px,0); animation-timing-function: ease-out;    }
    85%  { transform: rotate(90deg) scale(.6) translate(0,    0); }
    100% { transform: rotate(90deg) scale(.6) translate(0,    0); }
}

a.btn.border-outline.transparent:hover,
button.btn.border-outline.transparent:hover {
    transition: 0.4s;
    color: #ffffff;
    background-color: var(--semantic-text-primary);
}
a.btn.border-outline.transparent:hover.arrow-bottom-right,
button.btn.border-outline.transparent:hover:before{
    filter: invert(1);
}




a.btn.outline,
button.btn.outline{
    color: var(--link-black);
    border: solid var(--link-black) 1px;
    transition: 0.4s;
    cursor: pointer;padding: 7px 36px;
	border-radius: 30px;
}
a.btn.outline:hover,
button.btn.outline:hover{
    transition: 0.4s;
    color: #FFFFFF;
    background-color: #000000;
    border: solid var(--button-yellow-bg) 1px;
}

a.btn.border-outline.no-arrow {
    padding: 12px 20px;
}

a.btn.yellow,
button.btn.yellow {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--semantic-text-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
a.btn.yellow:hover,
button.btn.yellow:hover {
    opacity: 0.85;
}

.pt-05{
    padding-top: 5px;
}
.pt-1{
    padding-top: 10px;
}
.pt-2{
    padding-top: 20px;
}
.pt-3{
    padding-top: 30px;
}
.pt-4{
    padding-top: 40px;
}
.pt-5{
    padding-top: 50px;
}
.pt-6{
    padding-top: 60px;
}
.pt-7{
    padding-top: 70px;
}
.pt-8{
    padding-top: 80px;
}
.pb-0{
    padding-bottom: 0!important;
}
.pb-1{
    padding-bottom: 10px;
}
.pb-2{
    padding-bottom: 20px;
}
.pb-3{
    padding-bottom: 30px;
}
.pb-4{
    padding-bottom: 40px;
}
.pb-5{
    padding-bottom: 50px;
}
.pb-6{
    padding-bottom: 60px;
}
.pb-7{
    padding-bottom: 70px;
}
.pb-8{
    padding-bottom: 80px;
}
.ps-4{
    padding-left: 40px;
}
.pe-4{
    padding-right: 40px;
}
.mt-05{
    margin-top: 5px;
}
.mt-1{
    margin-top: 10px;
}
.mt-2{
    margin-top: 20px;
}
.mt-3{
    margin-top: 30px;
}
.mt-4{
    margin-top: 40px;
}
.mt-5{
    margin-top: 50px;
}
.mb-0{
    margin-bottom: 0!important;
}
.mb-1{
    margin-bottom: 10px!important;
}
.mb-2{
    margin-bottom: 20px!important;
}
.mb-3{
    margin-bottom: 30px!important;
}
.mb-4{
    margin-bottom: 40px!important;
}
.mb-5{
    margin-bottom: 50px!important;
}
.me-0{
    margin-right: 0!important;
}
.gap-05{
    gap: 5px;
}
.gap-1{
    gap: 10px;
}
.gap-2{
    gap: 20px;
}
.gap-3{
    gap: 30px;
}
.gap-4{
    gap: 40px;
}
.gap-5{
    gap: 50px;
}
.gap-6{
    gap: 60px;
}
.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.visually-hidden{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.p-relative{
    position: relative;
}

body{
    margin: 0;
}

h1{
    color: var(--semantic-text-primary);
    font-family: var(--font-family-title);
    font-size: var(--font-size-h1);
    font-style: normal;
    font-weight: var(--font-weight-bold);
    line-height: 110%;
    letter-spacing: -0.24px;
    margin: 0;
}




h2{
    color: var(--semantic-text-primary);
    font-family: var(--font-family-title);
    font-style: normal;
    margin: 0;
}

.heading-1 {
    font-family: var(--font-family-title);
    font-size: clamp(64px, 8vw, 160px);
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -4px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.heading-2{
    font-family: var(--font-family-title);
    font-size: clamp(80px, 3vw, 96px);
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -4px;
    margin: 0;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
}


.heading-3 {
    font-family: var(--font-family-title);
    font-size: clamp(42px,9vw,120px);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

h2.common{
    font-style: normal;
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
}
h3, h4, h5, h6{
    font-family: var(--font-family-title);
    color: var(--semantic-text-primary);
}

p{
    font-family: var(--font-family-paragraph);
    color: var(--semantic-text-primary);
    font-weight: var(--font-weight-regular);
    line-height: 25px;
}
span{
    font-family: var(--font-family-paragraph);
    color: var(--semantic-text-primary);
    font-weight: var(--font-weight-regular);
}

.grey-section-bg{
    background: var(--section-bg-grey);
    color: var(--semantic-text-primary);
}

.grid-4{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/*Header*/
header{
    padding: 25px 0;
    z-index: 9;
    position: relative;
}
body > header {
    z-index: 1200;
    position: sticky;
    top: 0;
    transition: transform 0.3s ease, padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
body > header.nf-header--scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
body > header.nf-header--hidden {
    transform: translateY(-110%);
}
.header-content .menu-mobile, #menu-mobile-toggle{
    display: none;
}

header .header-content{
    display: grid;
    align-items: center;
    grid-template-columns: auto auto auto;
}
header nav .logo img{
    width: 250px;
    height: auto;
    aspect-ratio: 634/159;
}
.header-content .menu ul {
    list-style-type: none;
    padding: unset;
    justify-content: center;
    display: flex;
    gap: 37px;
}
header .menu .nav-link{
    font-size: var(--font-size-paragraph);
    font-weight: var(--font-weight-semibold);
    transition: 0.4s;
    border-bottom: solid 2px transparent;
    color: var(--semantic-text-primary);
    text-decoration: none;
    font-family: var(--font-family-paragraph);
}

header .signup{
    justify-self: end;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}
.header-desktop-social{
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-desktop-social a{
    line-height: 0;
    opacity: 0.9;
}
.header-desktop-social a:hover{
    opacity: 1;
}
.header-desktop-social img{
    display: block;
    width: 22px;
    height: 22px;
}
/*End Header*/

/*Home*/
body.home{
    background-color: var(--primary-yellow);
}
/* Lo sfondo del body è quello dell'hero scelto (header trasparente lo eredita) */
body.home.home--hero-openday{
    background-color: var(--section-bg-grey);
}
body.home.home--hero-video{
    background-color: var(--section-bg-grey);
}
.home-hero{
    background-color:transparent;
    width: 100%;
    height: 90vh;
}
.home-hero .hero-content{
    position: relative;
    width: 100%;
    height: 100%;
}
.home-hero .hero-content-inner-image img {
    position: absolute;
    top: -250px;
    height: 1200px;
    width: auto;
    right: 0;
    object-fit: cover;
}
.home .content {
    width: 100%;
    min-height: 300px;
    z-index: 999;
    position: relative;
    margin-top: 0;
}

.home .marquee {
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    max-width: 100%;
  }
  
  .marquee__inner {
    display: inline-block;
    animation: marquee 50s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    opacity: 0;
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-title);
    font-size: 400px;
    font-style: normal;
    font-weight: 800;
    margin-top: 0;
    line-height: 68%;
    margin-bottom: 0;
    letter-spacing: -2px;
    text-transform: uppercase;
  }
  
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

.hero-content-inner{
    height: 100%;
    display: grid;
    align-items: center;
}

.hero-content-inner-text{
    padding-left: 30px;
    display: grid;
    align-items: center;
    gap: 20px;
    z-index: 9;
}
.hero-content-inner-text h2{
    font-size: 24px;
    font-weight: 600;
}
.home .comics-text{
    width: 100%;
    margin-top: -10%;
}

/* ============================================================
   HERO OPEN DAY (sezione 2)
   ============================================================ */
.home-hero--openday {
    background-color: var(--section-bg-grey);
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
}

/* Marquee: testo bianco gigante, di cui resta visibile solo una sottile
   striscia in alto perché la card lo copre (come nel Figma, mb -280px). */
.home-hero--openday .hero-od-marquee-wrap {
    width: 100%;
    overflow: hidden;
    height: 240px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.home-hero--openday .hero-od-marquee-wrap .marquee {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.home-hero--openday .hero-od-marquee-wrap .marquee__inner {
    display: inline-block;
    color: #fff;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: 300px;
    line-height: 0.72;
    letter-spacing: -4px;
    text-transform: uppercase;
    opacity: 1;
    animation: marquee 60s linear infinite;
}

/* Card immagine open day: pull-up per coprire il marquee */
.home-hero--openday .hero-od-card-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 30px;
    margin-top: -210px;
    position: relative;
    z-index: 2;
}

.home-hero--openday .hero-od-card {
    width: min(1008px, 100%);
    aspect-ratio: 1008 / 511;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    background: #FFD700;
    position: relative;
}

.home-hero--openday .hero-od-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero--openday .hero-od-card--no-img::after {
    content: "OPEN DAY";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-title);
    font-weight: 800;
    font-size: 64px;
    color: #000;
    letter-spacing: -1px;
}

/* Riga inferiore: stessa larghezza della card, testo a sinistra + CTA a destra */
.home-hero--openday .hero-od-below {
    width: min(1008px, calc(100% - 60px));
    margin: 24px auto 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 56px;
    position: relative;
    z-index: 2;
}

.home-hero--openday .hero-od-below-text h1 {
    font-size: var(--font-size-h1);
    font-family: var(--font-family-title);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--semantic-text-primary);
}

.home-hero--openday .hero-od-below-text p {
    font-size: 24px;
    font-family: var(--font-family-title);
    font-weight: 600;
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 0;
}

.home-hero--openday .hero-od-below-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ============================================================
   HERO VIDEO (sezione 3)
   ============================================================ */
.home-hero--video {
    height: auto;
    min-height: auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    background-color: var(--section-bg-grey);
}

/* Due righe di testo giallo gigante (tagliato): la prima a sinistra, la seconda
   a destra. La card video centrata le copre al centro lasciando sporgere una
   fascia sopra e sotto (come nel Figma). */
.hero-video-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}
.hero-video-marquee--top {
    justify-content: flex-start;
}
.hero-video-marquee--bottom {
    justify-content: center;
}

.hero-video-marquee__inner {
    display: inline-block;
    color: #FFD600;
    font-family: var(--font-family-title);
    font-size: clamp(140px, 29vw, 440px);
    font-weight: 800;
    line-height: 0.78;
    letter-spacing: -4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-video-marquee--top .hero-video-marquee__inner {
    animation: marquee 60s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

/* Card video posizionata in modo assoluto, centrata sopra le due righe */
.hero-video-card {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1197px, calc(100% - 60px));
    aspect-ratio: 1197 / 510;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    background: #1a1a1a;
    z-index: 2;
}

.hero-video-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
}

.hero-video-card__text h2 {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f5;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.hero-video-card__buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-shrink: 0;
}

.home-hero--video .btn.border-outline.white {
    border-color: #000;
    color: #000;
    background: #fff;
}

/* Responsive adjustments for new heroes
   (il marquee video usa clamp() e scala da solo) */
@media (max-width: 1100px) {
    .home-hero--openday .hero-od-marquee-wrap .marquee__inner {
        font-size: 200px;
    }
}

@media (max-width: 900px) {
    .home-hero--openday {
        padding-top: 100px;
    }
    .home-hero--openday .hero-od-marquee-wrap {
        height: 150px;
    }
    .home-hero--openday .hero-od-card-wrap {
        margin-top: -130px;
    }
    .home-hero--openday .hero-od-below {
        flex-direction: column;
        gap: 20px;
    }
    .home-hero--openday .hero-od-marquee-wrap .marquee__inner {
        font-size: 130px;
    }
    .home-hero--video {
        padding: 36px 0;
    }
    .hero-video-card__overlay {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .home-hero--openday .hero-od-marquee-wrap {
        height: 90px;
    }
    .home-hero--openday .hero-od-card-wrap {
        margin-top: -78px;
    }
    .home-hero--openday .hero-od-marquee-wrap .marquee__inner {
        font-size: 80px;
    }
    .home-hero--openday .hero-od-below-text h1,
    .hero-video-card__text h2 {
        font-size: 20px;
    }
    .home-hero--openday .hero-od-below-text p {
        font-size: 16px;
    }
}

.openday-section {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.openday-red-box {
    width: 180px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.12);
    height: 118px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    margin-bottom: -72px;
    border-radius: 6px;
    background-color: #fff;
    margin-left: -39px;
    transform: rotate(-22deg);
}

.openday-red-box-title {
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    text-align: center;
    background: #ED1B26;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.openday-red-box-title span:nth-child(1) {
    color: #fff;
    font-weight: 500;
    font-family: var(--font-family-title);
    letter-spacing: .6px;
}

.openday-red-box-title span:nth-child(2) {
    color: #fff;
    font-weight: var(--font-weight-regular);
    font-family: 'Inter';
    font-size: 13px;
}

.openday-red-box-content {
    height: 66px;
}

.openday-red-box-footer {
    height: 10px;
    width: 100%;
    background: #ed1a26;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.openday-card {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: var(--primary-yellow);
    border-radius: 24px;
    padding: 24px;
    gap: 24px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.openday-card-image,
.openday-card-image img {
    width: 100%;
    border-radius: 8px;
}

.openday-card-content h2 {
    font-size: 28px;
    font-weight: var(--font-weight-regular);
}

.openday-card-content h3 {
    font-size: 36px;
    margin: 5px 0 0 0;
}

.openday-card-content p {
    margin: 0 0 10px 0;
}
.openday-card-content-buttons {
    text-align: right;
}

.news-events-grid-item {
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.news-events-grid-item-header {
    height: 180px;
}
.news-events-grid-item-header img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}
.news-events-grid-item-ribbon {
    position: relative;
}
.news-events-grid-item-ribbon span {
    position: absolute;
    left: 10px;
    top: -16px;
    background: var(--primary-yellow);
    padding: 4px 13px;
    font-size: 12px;
}
h3.news-events-grid-item-title {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    text-align: left;
    padding: 0 10px;
    margin-bottom: 12px;
}
.news-events-grid-item-content {
    padding-bottom: 15px;
    text-align: left;
}
span.news-events-grid-item-date {
    margin-left: 10px;
    font-size: var(--font-size-paragraph);
    color: #000001;
}



/* Global — Come diventare */
.become-section {
    background-color: #ffffff;
    color: var(--semantic-text-primary);
}

.become-section__wrap {
    max-width: 1344px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.become-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.become-section__title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

[class*="__eyebrow"] {
  font-family: var( --font-family-title);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-medium);
  line-height: 1.25;
  color: var(--semantic-text-secondary);
  margin: 0 0 8px;
  display: block;
  letter-spacing: 0.02em;
  text-transform: none;
}

.become-section__eyebrow { margin: 0; }

.become-section__lead {
    font-family: var(--font-family-paragraph);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.8px;
    margin: 0;
    max-width: 621px;
    text-align: center;
    color: var(--semantic-text-primary);
}

.become-section__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.become-section__roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 24px;
    row-gap: 0;
    width: 100%;
}

.become-section__role {
    box-sizing: border-box;
    border-bottom: 1px solid var(--semantic-text-primary);
    padding: 10px;
    gap: 10px;
    text-decoration: none;
    color: var(--semantic-text-primary);
    transition: opacity 0.2s ease;
}

.become-section__role:hover {
    opacity: 0.65;
}

.become-section__role-label {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    white-space: nowrap;
}

.become-section__role-arrow {
    flex-shrink: 0;
    width: 28.511px;
    height: 28.511px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.become-section__role-arrow img {
    width: 20px;
    height: 20px;
    display: block;
    transform: rotate(-45deg);
}

.become-section__more {
    margin: 0;
    width: 100%;
}

.become-section__more a {
    font-family: var(--font-family-paragraph);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: var(--semantic-text-primary);
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-transform: lowercase;
}

.become-section__more a:hover {
    opacity: 0.65;
}

@media screen and (max-width: 768px) {

    .become-section__lead {
        font-size: 18px;
        line-height: 22px;
    }

    .become-section__role-label {
        font-size: 22px;
    }
}

@media screen and (max-width: 500px) {
    .become-section__title {
        font-size: 36px;
    }

    .become-section__role-label {
        font-size: 18px;
    }
}


/*End Global — Come diventare*/

/* GLobal departments-section*/
.departments-accordion {
    border-top: 1px solid var(--semantic-text-primary);
    max-width: 1002px;
    margin-left: auto;
    margin-right: auto;
}

.departments-accordion__item {
    border-bottom: 1px solid var(--semantic-text-primary);
}

.departments-accordion__trigger {
    width: 100%;
    margin: 0;
    padding: 8px 24px;
    box-sizing: border-box;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

/* Sfondo che sale dal basso sull'hover */
.departments-accordion__trigger::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: var(--primary-yellow);
    transition: height 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 0;
}

.departments-accordion__item:not(.is-open) .departments-accordion__trigger:hover::before {
    height: 100%;
}

/* Contenuto sopra lo strato animato */
.departments-accordion__head,
.departments-accordion__icon-wrap {
    position: relative;
    z-index: 1;
}

.departments-accordion__item.is-open .departments-accordion__trigger {
    background-color: var(--primary-yellow);
}

.departments-accordion__item.is-open .departments-accordion__trigger:hover {
    background-color: var(--primary-yellow);
}

/* Variante: colori dipartimento */
[data-accordion-style="colori"] .departments-accordion__trigger::before {
    background-color: var(--dept-color);
}

[data-accordion-style="colori"] .departments-accordion__item.is-open .departments-accordion__trigger,
[data-accordion-style="colori"] .departments-accordion__item.is-open .departments-accordion__trigger:hover {
    background-color: var(--dept-color);
}

[data-accordion-style="colori"] .departments-accordion__item.is-open .departments-accordion__panel {
    background-color: var(--dept-color);
}

.departments-accordion__head {
    flex: 1 1 auto;
    min-width: 0;
}

.departments-accordion__title {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
}

.departments-accordion__subtitle {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    margin: 4px 0 0 0;
    color: var(--semantic-text-primary);
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.departments-accordion__icon-wrap {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.departments-accordion__icon-rotator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform: scaleY(-1) rotate(90deg);
    transition: transform 0.25s ease;
}

.departments-accordion__item.is-open .departments-accordion__icon-rotator {
    transform: none;
}

.departments-accordion__icon {
    width: 32px;
    height: 32px;
    display: block;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

.departments-accordion__panel {
    display: none;
}

/* Il colore del panel appare solo quando aperto: così durante slideUp non c'è flash */
.departments-accordion__item.is-open .departments-accordion__panel {
    background-color: var(--primary-yellow);
}

.departments-accordion__panel-inner {
    padding: 0 24px 28px;
}

.departments-accordion__view-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    padding: 20px 24px;
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.departments-accordion__view-more:hover {
    text-decoration: underline;
}

.departments-accordion__view-more-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    transform: rotate(-45deg);
}

.departments-accordion__layout {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.departments-accordion__sidebar {
    flex: 0 1 280px;
    min-width: 220px;
    max-width: 320px;
}

.departments-accordion__intro {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: var(--semantic-text-primary);
}

.departments-accordion__filter-label {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    color: var(--semantic-text-primary);
}

.departments-accordion__select-label {
    display: block;
    width: 100%;
    margin-bottom: 28px;
}

.departments-accordion__select {
    width: 100%;
    padding: 10px 32px 10px 0;
    border: none;
    border-bottom: 1px solid var(--semantic-text-primary);
    border-radius: 0;
    background-color: transparent;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--semantic-text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.5' d='M1 1.5L6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

.departments-accordion__types {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.departments-accordion__type {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

.departments-accordion__type-arrow {
    display: inline-block;
    width: 23px;
    text-align: center;
}

.departments-accordion__type--active {
    color: var(--semantic-text-primary);
}

.departments-accordion__type--muted {
    color: rgba(11, 11, 11, 0.21);
}

.departments-accordion__courses {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
}

.departments-accordion__course-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 4px 0;
    text-decoration: none;
    color: var(--semantic-text-primary);
    transition: opacity 0.2s ease;
}

.departments-accordion__course-card:hover {
    opacity: 0.75;
}

.departments-accordion__course-label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

.departments-accordion__course-name {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.departments-accordion__course-meta {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
}

@media screen and (max-width: 991px) {
    .departments-accordion__layout {
        flex-direction: column;
    }

    .departments-accordion__sidebar {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }

    .departments-accordion__courses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .departments-accordion__courses {
        grid-template-columns: 1fr;
    }

    .departments-accordion__title {
        font-size: 22px;
    }

    .departments-accordion__type {
        font-size: 22px;
    }
}
.sedi-departments-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.sedi-departments-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sedi-departments-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.sedi-departments-section__mark {
    display: block;
    width: 78px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.sedi-departments-section__title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sedi-departments-section__eyebrow {
    margin: 0;
}

.sedi-departments-section__list {
    width: 100%;
    max-width: 894px;
    background-color: #ffffff;
}

.sedi-departments-section__row {
    border-bottom: 1px solid #565656;
    padding: 8px 40px;
    gap: 51px;
    box-sizing: border-box;
}

.sedi-departments-section__row-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sedi-departments-section__row-main {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    gap: 24px;
    pointer-events: none;
}

.sedi-departments-section__city {
    flex: 0 0 auto;
    width: 313px;
    max-width: 40%;
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
}

.sedi-departments-section__socials {
    flex-shrink: 0;
    gap: 15.842px;
}

.sedi-departments-section__social {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.sedi-departments-section__social img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.sedi-departments-section__address {
    flex: 0 1 auto;
    max-width: 250px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 20px;
    color: var(--semantic-text-primary);
    text-align: left;
}

.sedi-departments-section__chevron {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sedi-departments-section__chevron img {
    width: 24px;
    height: 24px;
    display: block;
}

@media screen and (max-width: 991px) {
    .sedi-departments-section__row {
        flex-wrap: wrap;
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sedi-departments-section__row-main {
        flex-wrap: wrap;
        width: 100%;
    }

    .sedi-departments-section__city {
        width: auto;
        max-width: none;
    }

    .sedi-departments-section__chevron {
        margin-left: auto;
    }
}

@media screen and (max-width: 500px) {
   .sedi-departments-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .sedi-departments-section__title {
        font-size: 36px;
    }

    .sedi-departments-section__city {
        font-size: 28px;
    }
}



@media screen and (max-width: 1300px) {
    .home-hero .hero-content-inner-image img {
        top: -142px;
        height: 998px;
    }
}

@media screen and (max-width: 991px) {
    /*Header*/
    #menu-mobile-toggle{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 30px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
        line-height: 0;
    }
    #menu-mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 28px;
        line-height: 1;
        padding: 8px;
    }
    .header-content .menu-mobile{
        position: fixed;
        top: 70px;
        display: block;
        transition: right 0.4s ease, visibility 0.4s;
        width: 100%;
        right: -100%;
        background-color: black;
        height: 100vh;
        height: calc(100dvh - 70px);
        visibility: hidden;
        overflow-y: auto;
    }
    .header-content .menu, .header-content .signup{
        display: none;
    }
    .header-content .menu-mobile.open{
        right: 0;
        visibility: visible;
    }
    .menu-mobile .social-icons {
        padding-top: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    .menu-mobile .social-icons img {
        width: 24px;
    }
    .menu-mobile ul {
        padding-left: 0;
        padding-top: 30px;
        list-style-type: none;
    }
    .menu-mobile li {
        text-align: center;
        padding: 12px 0 16px 0;
    }
    .menu-mobile li a {
        color: #c7c7c7;
        font-size: 18px;
        font-weight: 500;
    }
    .menu-mobile li hr {
        margin: 23px auto 0 auto;
        width: 300px;
        background-color: #72727254;
        height: 1px;
        border: unset;
    }
    .mobile-signup {
        text-align: center;
        padding-top: 15px;
    }
    .mobile-signup button{
        padding: 8px 45px;
        font-size: 15px;
    }
    /*End Header*/
    
}
@media screen and (max-width: 500px) {

    .mobile-single{
        grid-template-columns: repeat(1, 1fr)!important;
    }
    .mobile-block {
        display: block!important;
    }
}
/* Global Il nostro corpo docente  */
.teachers-section {
    padding-top: 64px;
    padding-bottom: 64px;
    overflow: hidden;
}

.teachers-section__head {
    margin-bottom: 48px;
}

.teachers-section__eyebrow {
    margin: 0 0 16px;
}

.teachers-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0 30px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.teachers-slider::-webkit-scrollbar { display: none; }
.teachers-slider.is-dragging { cursor: grabbing; }
.teachers-slider.is-dragging .teachers-card { pointer-events: none; }

.teachers-card {
  width: 285px;
  height: 356px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.teachers-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 18px solid var(--semantic-brand-primary, #FFD700);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}


.teachers-card:hover::after {
  opacity: 1;
}

.teachers-card > * {
  position: relative;
  z-index: 2;
}

.teachers-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    pointer-events: none;
    filter: grayscale(100%);
    z-index: 1;
}

.teachers-card__info {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 12px 16px;
}

.teachers-card__name-first,
.teachers-card__name-last {
    display: inline-block;
    background-color: #000001;
    color: #ffffff;
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    padding: 0 4px;
}

.teachers-card__role {
    display: inline-block;
    background-color: #ffffff;
    color: #000001;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    padding: 0 10px;
    overflow: hidden;
}

.teachers-card__city {
    display: inline-flex;
    align-items: center;
    background-color: #000001;
    color: #ffffff;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    padding: 0 6px;
    gap: 4px;
}

.teachers-card__pin {
    filter: invert(1);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

.teachers-section__cta {
    margin-top: 48px;
}

.teachers-card {
    flex: 0 0 285px;
     text-decoration: none;
    color: inherit;
}

/* Home — Formazione concreta (Figma 1153:20015) */
.about-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.about-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about-section__eyebrow {
    margin: 0 0 16px;
    text-align: center;
}

.about-section__scroll-area {
    position: relative;
    padding-bottom: 117px;
}

.about-section__headline {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -6.72px;
    text-transform: uppercase;
    text-align: center;
    color: var(--semantic-text-primary);
    margin: 0 0 -117px 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.about-section__card-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 120px;
    margin-bottom: -117px;
}

.about-section__card {
    background-color: rgba(255,215,0, .9);
    border-radius: 12px;
    padding: 32px;
    max-width: 660px;
    width: 100%;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* per Safari */
}

.about-section__card p {
    font-family: var(--font-family-paragraph);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: var(--semantic-text-primary);
    margin: 0;
}

.about-section__card p + p {
    margin-top: 24px;
}

.about-section__cta {
    margin-top: 0;
}

.about-section__cta-link {
    display: inline-block;
    border: 1.5px solid var(--semantic-text-primary);
    border-radius: 793px;
    padding: 12.697px 25.394px;
    font-family: var(--font-family-paragraph);
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: normal;
    letter-spacing: 0.96px;
    color: var(--semantic-text-primary);
    text-decoration: none;
    background-color: #ffffff;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.about-section__cta-link:hover {
    background-color: var(--semantic-text-primary);
    color: #ffffff;
}

@media screen and (max-width: 991px) {
    .about-section__headline {
        font-size: 64px;
        letter-spacing: -4px;
    }
}

@media screen and (max-width: 768px) {
    .about-section__headline {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .about-section__card p {
        font-size: 17px;
    }

    .about-section__cta-link {
        font-size: 20px;
    }
}

/* Global Contact form */
.contact-form-section {
    padding-top: 48px;
    padding-bottom: 64px;
}

.contact-form-section__wrap {
    max-width: 1212px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: flex;
    gap: 127px;
    align-items: flex-start;
}

/* Sidebar */
.contact-form-card__aside {
    flex: 0 0 285px;
    width: 285px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-card__title {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin: 0;
    color: var(--semantic-text-primary);
}

.contact-form-card__desc p {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    margin: 0 0 16px 0;
    color: var(--semantic-text-primary);
    max-width: 284px;
}

.contact-form-card__desc p:last-child {
    margin-bottom: 0;
}

.contact-form-card__contacts {
    margin-top: 4px;
}

.contact-form-card__contacts p {
    margin: 0;
    line-height: 1.6;
}

.contact-form-card__contacts a {
    color: var(--semantic-text-primary);
    text-decoration: none;
}

.contact-form-card__contacts a:hover {
    text-decoration: underline;
}

.contact-form-card__socials {
    gap: 12px;
    flex-wrap: wrap;
}

.contact-form-card__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.contact-form-card__social:hover {
    opacity: 0.65;
}

.contact-form-card__social img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.contact-form-card__alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-form-card__alert--error {
    background: #ffe5e5;
    color: #c0392b;
}

.contact-form-card__alert--success {
    background: #e6f9ee;
    color: #1a7341;
}

/* Form col */
.contact-form-card__form-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-form-card__form-col form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

/* Field rows */
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: end;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-field--full {
    grid-column: 1 / -1;
    gap: 8px;
}

.cf-label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

.cf-label--bold {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.cf-required {
    color: #fa3c2d;
}

/* Underline inputs */
.cf-input,
.cf-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    padding: 0 0 4px 0;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: #a4a4a4;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease;
}

.cf-input:focus,
.cf-select:focus {
    border-bottom-color: var(--semantic-text-primary);
    color: var(--semantic-text-primary);
}

.cf-input::placeholder {
    color: #a4a4a4;
}

.cf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
    cursor: pointer;
}

.cf-select option {
    color: var(--semantic-text-primary);
    font-size: 14px;
}

/* Bordered textarea */
.cf-textarea {
    width: 100%;
    height: 145px;
    border: 1px solid var(--semantic-text-primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: var(--semantic-text-primary);
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.cf-textarea::placeholder {
    color: #a4a4a4;
}

.cf-textarea:focus {
    border-color: var(--semantic-text-primary);
}

/* Privacy + submit row */
.cf-bottom {
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cf-privacy {
    flex: 1 1 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cf-checkboxes {
    flex-wrap: wrap;
}

.cf-checkbox-field {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cf-checkbox-label {
    gap: 12px;
    cursor: pointer;
    align-items: center;
}

.cf-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cf-checkmark {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #757575;
    border-radius: 4px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cf-checkbox:checked + .cf-checkmark {
    background-color: var(--semantic-text-primary);
    border-color: var(--semantic-text-primary);
}

.cf-checkbox:checked + .cf-checkmark::after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
    transform: rotate(-45deg) translateY(-1px);
}

.cf-checkbox-title {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: #1e1e1e;
}

.cf-checkbox-desc {
    font-family: var(--font-family-paragraph);
    font-size: 8px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    color: #757575;
    margin: 0;
    padding-left: 28px;
}

.cf-consent-text {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* Yellow pill submit button */
.cf-submit {
    flex-shrink: 0;
    background-color: var(--primary-yellow);
    border: 1px solid var(--primary-yellow);
    border-radius: 753px;
    padding: 12px 40px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    align-self: flex-end;
}

.cf-submit:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

@media screen and (max-width: 991px) {
    .contact-form-card {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-card__aside {
        flex: none;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .cf-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cf-bottom {
        flex-direction: column;
    }

    .cf-submit {
        width: 100%;
        text-align: center;
    }
}

/* global — Newsletter / Keep Updated */
.newsletter-section {
    background-color: #000000;
    padding-top: 48px;
    padding-bottom: 48px;
}

.newsletter-section__wrap {
    max-width: 1512px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Header */
.newsletter-section__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-section__title {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: #f5f5f5;
    margin: 0;
}

.newsletter-section__desc {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    max-width: 596px;
}

/* Flash messages */
.newsletter-section__alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: -16px;
}

.newsletter-section__alert--error {
    background: rgba(250, 60, 45, 0.2);
    color: #fa3c2d;
}

.newsletter-section__alert--success {
    background: rgba(0, 200, 80, 0.2);
    color: #00c850;
}

/* Three-column field row */
.newsletter-section__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: end;
}

.newsletter-section__field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.newsletter-section__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 41px;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin: 0;
}

.newsletter-section__required {
    color: #fa3c2d;
}

/* Underline inputs — white variant */
.newsletter-section__input-wrap {
    position: relative;
}

.newsletter-section__input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    padding: 0 0 4px 0;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: 500;
    line-height: 41px;
    letter-spacing: 0.4px;
    color: #a4a4a4;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease;
}

.newsletter-section__input:focus {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

.newsletter-section__input::placeholder {
    color: #a4a4a4;
}

/* Select */
.newsletter-section__input-wrap--select {
    display: flex;
    align-items: center;
}

.newsletter-section__select {
    padding-right: 24px;
    cursor: pointer;
}

.newsletter-section__select option {
    color: #000000;
    background: #ffffff;
    font-size: 14px;
}

.newsletter-section__chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #a4a4a4;
    pointer-events: none;
    flex-shrink: 0;
}

/* Privacy + submit row */
.newsletter-section__bottom {
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-section__privacy {
    flex: 1 1 0;
    min-width: 0;
    max-width: 729px;
}

.newsletter-section__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.newsletter-section__checkbox-label {
    flex-shrink: 0;
    cursor: pointer;
}

.newsletter-section__checkmark {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #757575;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter-section__checkbox:checked + .newsletter-section__checkmark {
    background-color: #ffffff;
    border-color: #ffffff;
}

.newsletter-section__checkbox:checked + .newsletter-section__checkmark::after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
    transform: rotate(-45deg) translateY(-1px);
}

.newsletter-section__privacy-text {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

/* Yellow pill submit */
.newsletter-section__submit {
    flex-shrink: 0;
    background-color: var(--primary-yellow);
    border: 1px solid var(--primary-yellow);
    border-radius: 753px;
    padding: 12px 40px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.newsletter-section__submit:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

@media screen and (max-width: 768px) {
    .newsletter-section__fields {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-section__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-section__submit {
        width: 100%;
        text-align: center;
    }
}



.home-fixed-navbar {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    z-index: 1100;
    width: fit-content;
    max-width: calc(100% - 24px);
}

.home-fixed-navbar__inner {
    display: flex;
    align-items: center;
    gap: 8.75px;
    width: max-content;
    max-width: 100%;
    padding: 12px;
    border: 0.875px solid #535353;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.home-fixed-navbar__logo {
    flex: 0 0 auto;
    display: block;
    width: 40.671px;
    height: 27px;
    line-height: 0;
}

.home-fixed-navbar__logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-fixed-navbar__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 40px;
    flex: 0 0 auto;
}

.home-fixed-navbar__chips {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.home-fixed-navbar__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 40px;
    box-sizing: border-box;
    padding: 10.5px 12px;
    border: 0.875px solid #000000;
    border-radius: 8px;
    background: #333333;
    color: #ffffff;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.home-fixed-navbar__chip:hover,
.home-fixed-navbar__search:hover,
.home-fixed-navbar__cta:hover {
    opacity: 0.88;
}

.home-fixed-navbar__chip--location {
    gap: 4px;
}
.fnb-sede-label {
    color: #ffffff;
}

.home-fixed-navbar__icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-fixed-navbar__chip--active {
    border-color: #ffd600;
}

.home-fixed-navbar__search {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
}

.home-fixed-navbar__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
    padding: 10.5px 24.5px;
    border: 0.875px solid #000000;
    border-radius: 8px;
    background: var(--primary-yellow);
    color: #000001;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .home-fixed-navbar {
        width: calc(100% - 16px);
        max-width: none;
    }

    .home-fixed-navbar__inner {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        align-items: center;
        -webkit-overflow-scrolling: touch;
    }

    .home-fixed-navbar__actions {
        flex: 1 1 auto;
        min-width: min-content;
        justify-content: flex-end;
        gap: 16px;
    }

    .home-fixed-navbar__chips {
        min-width: max-content;
    }
}

@media screen and (max-width: 768px) {
    body.home main {
        padding-bottom: 120px;
    }

    .home-fixed-navbar {
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
    }
}

/* Fixed navbar — search panel */
.fnb-search-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.95);
    border: 0.875px solid #535353;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fnb-search-panel[hidden] {
    display: none;
}

.fnb-search-results {
    max-height: 52vh;
    overflow-y: auto;
    padding: 12px 8px 4px;
}

.fnb-search-results::-webkit-scrollbar { width: 4px; }
.fnb-search-results::-webkit-scrollbar-track { background: transparent; }
.fnb-search-results::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.fnb-search-hint,
.fnb-search-loading,
.fnb-search-empty {
    padding: 8px 12px 4px;
    color: #888;
    font-family: var(--font-family-paragraph);
    font-size: 13px;
    margin: 0;
    font-style: italic;
}

.fnb-search-group {
    margin-bottom: 6px;
}

.fnb-search-group__label {
    padding: 4px 12px 5px;
    color: #888;
    font-family: var(--font-family-paragraph);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

.fnb-search-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family-paragraph);
    transition: background 0.15s ease;
}

.fnb-search-item:hover,
.fnb-search-item:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    color: #fff;
}

.fnb-search-item__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #fff;
}

.fnb-search-item__sede {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 20px;
    background: rgba(255, 214, 0, 0.15);
    border: 0.875px solid rgba(255, 214, 0, 0.4);
    color: #ffd600;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.fnb-search-item__sub {
    font-size: 11px;
    color: #999;
    line-height: 1.3;
}

.fnb-search-sede-bar {
    padding: 10px 14px 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.fnb-search-sede-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    background: transparent;
    border: 0.875px solid #535353;
    color: #aaa;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.fnb-search-sede-chip:hover {
    border-color: #888;
    color: #fff;
}

.fnb-search-sede-chip.is-active {
    background: rgba(255, 214, 0, 0.15);
    border-color: #ffd600;
    color: #ffd600;
}

.fnb-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-top: 0.875px solid #333;
    flex-shrink: 0;
}

.fnb-search-icon {
    flex-shrink: 0;
    opacity: 0.45;
    filter: brightness(0) invert(1);
}

.fnb-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    line-height: 1.4;
    min-width: 0;
}

.fnb-search-input::placeholder { color: #555; }
.fnb-search-input::-webkit-search-cancel-button,
.fnb-search-input::-webkit-search-decoration { display: none; }

.fnb-search-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.fnb-search-close img { filter: brightness(0) invert(0.5); transition: filter 0.15s ease; }
.fnb-search-close:hover img { filter: brightness(0) invert(1); }

.home-fixed-navbar__search {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Fixed navbar — sede dropdown (Figma BarraContestuale) */
.fnb-sede-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    z-index: 10;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.92);
    border: 0.875px solid #535353;
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fnb-sede-dropdown[hidden] {
    display: none;
}

.fnb-sede-dropdown__title {
    padding: 4px 12px 8px;
    color: #888;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 0.875px solid #333;
    margin-bottom: 4px;
}

.fnb-sede-dropdown__item {
    display: block;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fnb-sede-dropdown__item:hover,
.fnb-sede-dropdown__item:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.fnb-sede-dropdown__item.is-active {
    color: #ffd600;
    font-weight: 600;
}

/* Sede chip button resets */
.home-fixed-navbar__chip--location {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #333333;
    border: 0.875px solid #000000;
}

/* Chevron rotation transition */
.fnb-chevron {
    transition: transform 0.2s ease;
}

/* Sedi page — hero (Figma 1153:20441) */
.sedi-page-hero {
    padding: 48px 0 56px;
}

.sedi-page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 894px;
    margin-left: auto;
    margin-right: auto;
}

.sedi-page-hero__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.sedi-page-hero__mark {
    display: block;
    width: 78px;
    height: 52px;
    object-fit: contain;
}

.sedi-page-hero__titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.sedi-page-hero__eyebrow {
    margin: 0;
}

.sedi-page-hero__title {
    margin: 0;
    font-family: var(--font-family-title);
    font-size: clamp(2.5rem, 6vw + 1.5rem, 6rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -0.07em;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
}

.sedi-page-hero__lead {
    margin: 0;
    width: 100%;
    max-width: 894px;
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--semantic-text-primary);
}

@media screen and (max-width: 768px) {
    .sedi-page-hero {
        padding: 32px 0 40px;
    }

    .sedi-page-hero__lead {
        font-size: 18px;
    }
}

/* Sedi page — lista sedi (Figma 1153:20445) */
.sedi-list-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.sedi-list-section__inner {
    max-width: 894px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 0!important;
}

.sedi-list-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 51px;
    padding: 8px 40px;
    border-bottom: 1px solid #565656;
    box-sizing: border-box;
}

.sedi-list-row:hover {
    background-color: var(--primary-yellow);
    transition: background-color 0.2s ease;
}

.sedi-list-row__hit {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sedi-list-row__main {
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    min-width: 0;
    pointer-events: none;
}

.sedi-list-row__city {
    flex: 0 0 auto;
    width: 313px;
    max-width: 36%;
    margin: 0;
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
}

.sedi-list-row__socials {
    gap: 16px;
    flex-shrink: 0;
}

.sedi-list-row__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.sedi-list-row__social:hover {
    opacity: 0.65;
}

.sedi-list-row__social img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.sedi-list-row__address {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 250px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 20px;
    color: var(--semantic-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.sedi-list-row__chevron {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    pointer-events: none;
}

.sedi-list-row__chevron img {
    object-fit: contain;
    transform: rotate(0);
}

@media screen and (max-width: 991px) {
    .sedi-list-row {
        flex-wrap: wrap;
        gap: 24px;
        padding: 12px 20px;
    }

    .sedi-list-row__main {
        flex-wrap: wrap;
        width: 100%;
        gap: 16px;
    }

    .sedi-list-row__city {
        width: 100%;
        max-width: none;
    }

    .sedi-list-row__address {
        max-width: none;
    }

    .sedi-list-row__chevron {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media screen and (max-width: 600px) {
    .sedi-list-row__chevron {
        display: none;
    }
}

/* Footer (Figma 1153:20098) */
.footer-legal {
    background: #f5f5f5;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    line-height: 1.5;
    color: #666;
}
.footer-legal__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}
.footer-legal__sede {
    font-weight: 600;
    color: var(--semantic-text-primary);
}
.footer-legal__sep {
    margin: 0 8px;
    opacity: 0.35;
}
.footer-legal__inner a {
    color: inherit;
    text-decoration: none;
}
.footer-legal__inner a:hover {
    text-decoration: underline;
}

.newfrontend-footer {
    border-top: 1px solid #e0e0e0;
    background: #ffffff;
    padding: 0;
    padding-bottom: 90px;
}

.newfrontend-footer__inner {
    gap: 123px;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.newfrontend-footer__logo {
    flex-shrink: 0;
    display: block;
    width: 280px;
}

.newfrontend-footer__logo img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70px;
    object-fit: contain;
}

.newfrontend-footer__copy {
    flex: 1 1 0;
    min-width: 0;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.48px;
    color: var(--semantic-text-primary);
    margin: 0;
}

.newfrontend-footer__copy a {
    color: var(--semantic-text-primary);
    text-decoration: underline;
}

.newfrontend-footer__copy a:hover {
    opacity: 0.65;
}

.newfrontend-footer__socials {
    flex-shrink: 0;
    width: 310px;
    justify-content: space-between;
}

.newfrontend-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.newfrontend-footer__social-link:hover {
    opacity: 0.55;
}

.newfrontend-footer__social-link img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.newfrontend-footer__recaptcha {
    padding-top: 8px;
    padding-bottom: 16px;
    border-top: 1px solid #f0f0f0;
}

.newfrontend-footer__recaptcha p {
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

.newfrontend-footer__recaptcha a {
    color: #666666;
    text-decoration: underline;
}

@media screen and (max-width: 991px) {
    .newfrontend-footer__inner {
        gap: 40px;
    }

    .newfrontend-footer__logo {
        width: 200px;
    }

    .newfrontend-footer__socials {
        width: auto;
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .newfrontend-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .newfrontend-footer__logo {
        width: 160px;
    }

    .newfrontend-footer__socials {
        width: 100%;
        justify-content: flex-start;
        gap: 24px;
    }
}

/*End utils*/

/* ============================================================
   SEDE PAGE
   ============================================================ */

/* Hero */
.sede-hero {
    background: #f5f5f5;
    padding: 48px 30px 60px;
}

.sede-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.sede-hero__logo {
    width: 78px;
    height: auto;
}

.sede-hero__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-hero__city {
    font-family: var(--font-family-title);
    font-size: 128px;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-hero__img-wrap {
    width: 100%;
    padding: 16px 0;
}

.sede-hero__img {
    width: 100%;
    max-width: 794px;
    height: 341px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.sede-hero__desc {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 0;
    max-width: 894px;
}

@media screen and (max-width: 768px) {
    .sede-hero__city {
        font-size: 72px;
    }
    .sede-hero__img {
        height: 220px;
    }
    .sede-hero__desc {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .sede-hero__city {
        font-size: 52px;
    }
}

/* Social bar */
.sede-social-bar {
    background: #f5f5f5;
    padding: 16px 30px;
}

.sede-social-bar__icons {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sede-social-bar__link {
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.2s;
}

.sede-social-bar__link:hover {
    opacity: 0.6;
}

/* Foto verticali */
.sede-photos {
    overflow: hidden;
}

.sede-photos__strip {
    display: flex;
    gap: 24px;
    padding: 64px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sede-photos__strip::-webkit-scrollbar {
    display: none;
}

.sede-photos__item {
    flex: 0 0 587px;
    height: 440px;
    border-radius: 12px;
    overflow: hidden;
}

.sede-photos__item--last {
    border-radius: 0;
}

.sede-photos__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 768px) {
    .sede-photos__item {
        flex: 0 0 85vw;
        height: 300px;
    }
    .sede-photos__strip {
        padding: 40px 20px;
    }
}

/* Presentazione corso */
.sede-about {
    padding: 20px 0;
}

.sede-about__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sede-about__title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-about__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sede-about__col {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .sede-about {
        padding: 60px 0;
    }
    .sede-about__cols {
        grid-template-columns: 1fr;
    }
    .sede-about__title {
        font-size: 28px;
    }
    .sede-about__col {
        font-size: 16px;
    }
}

/* Video hero */
.sede-video-hero {
    background: #fff;
    padding: 32px 0 80px;
    overflow: hidden;
}

.sede-video-hero__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 530px;
}

.sede-video-hero__bg-text {
    position: absolute;
    font-family: var(--font-family-title);
    font-size: clamp(80px, 20vw, 300px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
    margin: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.sede-video-hero__card {
    position: relative;
    width: 744px;
    max-width: 90vw;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    flex-shrink: 0;
}

.sede-video-hero__poster {
    width: 100%;
    height: 530px;
    object-fit: cover;
    display: block;
}

.sede-video-hero__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 191px;
    height: 191px;
    cursor: pointer;
}

.sede-video-hero__play-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sede-video-hero__footer {
    display: flex;
    justify-content: center;
    padding-top: 24px;
}

.sede-video-hero__play-link {
    font-family: var(--font-family-title);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.sede-video-hero__play-link:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .sede-video-hero__stage {
        min-height: 300px;
    }
    .sede-video-hero__poster {
        height: 300px;
    }
    .sede-video-hero__play-btn {
        width: 100px;
        height: 100px;
    }
}

/* Partnership e Collaborazioni */
.sede-partners {
    padding: 48px 0;
}

.sede-partners__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.sede-partners__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sede-partners__eyebrow { margin: 0; }

.sede-partners__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-partners__desc {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    text-align: center;
    max-width: 1007px;
    margin: 0;
}

.sede-partners__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1212px;
}

.sede-partners__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 285px;
    height: 124px;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 28px 40px;
    box-sizing: border-box;
    background: transparent;
}

.sede-partners__box img {
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: opacity 0.2s, filter 0.2s;
}

.sede-partners__box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .sede-partners__title {
        font-size: 32px;
    }
    .sede-partners__box {
        width: calc(50% - 12px);
        height: 100px;
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .sede-partners__box {
        width: 100%;
    }
}

/* Placement teaser */
.spt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.spt__text {
    background: var(--semantic-text-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 64px;
}
.spt__eyebrow {
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.spt__title {
    font-family: var(--font-family-title);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}
.spt__body {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}
.spt__body p { margin: 0; color: #fff; }
.spt__media {
    overflow: hidden;
}
.spt__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .spt { grid-template-columns: 1fr; min-height: auto; }
    .spt__text { padding: 56px 24px; }
    .spt__media { height: 300px; }
}

/* ===== PLACEMENT (newfrontend) ===== */
.nfp-chip-back {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--semantic-text-primary);
    border-radius: 999px;
    font-family: var(--font-family-paragraph);
    font-size: 0.9rem;
    color: var(--semantic-text-primary);
    text-decoration: none;
    margin-bottom: 24px;
    transition: background 0.25s, color 0.25s;
}
.nfp-chip-back:hover { background: var(--semantic-text-primary); color: #fff; }

.nfp-hero__claim {
    font-family: var(--font-family-paragraph);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--semantic-text-primary);
    margin: 12px auto 0;
    max-width: 600px;
    opacity: 0.65;
}

/* Slider */
.nfp-slider-wrapper { position: relative; }
.nfp-slider {
    position: sticky;
    top: 0;
    height: 52vh;
    overflow: hidden;
}
.nfp-slider__track {
    display: flex;
    align-items: stretch;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.nfp-slider__item { flex: 0 0 auto; height: 100%; }
.nfp-slider__item img { display: block; height: 100%; width: auto; object-fit: cover; }
@media (max-width: 768px) { .nfp-slider { height: 35vh; } }

/* Split sezione 3 */
.nfp-split { padding: 80px 0; }
.nfp-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.nfp-split__media {
    position: sticky;
    top: 100px;
    align-self: start;
}
.nfp-split__media img {
    width: 100%;
    display: block;
}
.nfp-split__title {
    font-family: var(--font-family-title);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}
.nfp-split__body {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.7;
    color: var(--semantic-text-primary);
}
.nfp-split__body p { margin: 0 0 1em; }
@media (max-width: 768px) {
    .nfp-split__inner { grid-template-columns: 1fr; gap: 32px; }
    .nfp-split__media { position: static; }
}

/* Portfolio */
.nfp-portfolio { padding: 80px 0; }
.nfp-portfolio__header { text-align: center; margin-bottom: 48px; }
.nfp-portfolio__logo { width: 80px; margin-bottom: 16px; }
.nfp-portfolio__title {
    font-family: var(--font-family-title);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: var(--font-weight-semibold);
    margin: 0 0 8px;
}
.nfp-portfolio__sub {
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    color: var(--semantic-text-primary);
    opacity: 0.6;
    margin: 0;
}
.nfp-portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.nfp-filter-btn {
    border: 1px solid var(--semantic-text-primary);
    border-radius: 999px;
    padding: 5px 20px;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: var(--semantic-text-primary);
    transition: background 0.2s, color 0.2s;
}
.nfp-filter-btn:hover, .nfp-filter-btn.active { background: var(--semantic-text-primary); color: #fff; }
.nfp-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: height 0.4s ease;
}
.nfp-portfolio__item { position: relative; }
.nfp-portfolio__link { display: block; position: relative; }
.nfp-portfolio__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(1deg, rgba(244,244,244,0.75), transparent 160px);
    opacity: 0; transition: opacity 0.3s;
}
.nfp-portfolio__link:hover .nfp-portfolio__overlay { opacity: 1; }
.nfp-portfolio__link img { width: 100%; height: auto; display: block; }
.nfp-portfolio__tags {
    position: absolute; bottom: 10px; left: 12px;
    display: none; flex-wrap: wrap; gap: 6px;
    opacity: 0; transition: opacity 0.3s;
}
.nfp-portfolio__item:hover .nfp-portfolio__tags { display: flex; opacity: 1; }
.nfp-filter-tag {
    border: 1px solid #000; border-radius: 999px;
    padding: 3px 12px; font-size: 13px;
    cursor: pointer; color: #000; background: rgba(255,255,255,0.85);
    text-decoration: none;
}
.nfp-portfolio__no-results { grid-column: 1/-1; text-align: center; padding: 32px 0; opacity: 0.5; }
.nfp-lazy { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.nfp-visible { opacity: 1; transform: translateY(0); }
.nfp-animating { overflow: hidden; transition: height 0.4s ease; }
@media (max-width: 768px) { .nfp-portfolio__grid { grid-template-columns: repeat(2, 1fr); } }

/* Collaborazioni */
.nfp-collab { padding: 64px 0; text-align: center; }
.nfp-collab__title {
    font-family: var(--font-family-title);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: var(--font-weight-semibold);
    margin: 0 0 40px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.nfp-collab__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.nfp-collab__item {
    border: 1px solid var(--semantic-text-primary);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.nfp-collab__item img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 768px) { .nfp-collab__grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.sede-faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    padding: 48px 0;
}

.sede-faq__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sede-faq__eyebrow {
    margin: 0;
}

.sede-faq__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-faq__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 830px;
    max-width: 100%;
}

.sede-faq__item {
    border-bottom: 1px solid #000;
}

.sede-faq__trigger {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.sede-faq__trigger span {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--semantic-text-primary);
    flex: 1;
}

.sede-faq__arrow {
    flex-shrink: 0;
    margin-top: 6px;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.sede-faq__item.is-open .sede-faq__arrow {
    transform: rotate(180deg);
}

.sede-faq__answer {
    padding: 8px 16px 16px;
}

.sede-faq__answer[hidden] {
    display: none !important;
}

.sede-faq__answer p {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .sede-faq__title {
        font-size: 32px;
    }
    .sede-faq__trigger span {
        font-size: 20px;
    }
}

/* Come arrivare e mappa */
.sede-map {
    padding: 48px 0;
}

.sede-map__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sede-map__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.sede-map__logo {
    width: 78px;
    height: auto;
}

.sede-map__titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sede-map__eyebrow { margin: 0; }

.sede-map__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.sede-map__desc {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
    max-width: 1007px;
}

.sede-map__block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.sede-map__canvas {
    width: 100%;
    height: 426px;
    border-radius: 24px;
    overflow: hidden;
}

.sede-map__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    gap: 24px;
    flex-wrap: wrap;
}

.sede-map__address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: var(--semantic-text-primary);
    flex-shrink: 0;
}

.sede-map__address svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.sede-map__transports {
    display: flex;
    align-items: center;
    gap: 48px;
}

.sede-map__transport {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sede-map__transport-icon {
    height: 38px;
    width: 47px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sede-map__transport-label {
    background: var(--primary-yellow);
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: var(--semantic-text-primary);
    padding: 2px 6px;
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    .sede-map__title {
        font-size: 32px;
    }
    .sede-map__canvas {
        height: 300px;
        border-radius: 16px;
    }
    .sede-map__bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .sede-map__transports {
        gap: 24px;
        flex-wrap: wrap;
    }
}

/* ====== CORSI PAGE ====== */
.corsi-hero {
    padding: 60px 0 80px;
}
.corsi-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.corsi-hero__icon {
    width: 78px;
    height: 52px;
    object-fit: contain;
}
.corsi-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.corsi-hero__eyebrow { margin: 0; }
.corsi-hero__title {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -6.72px;
    color: var(--semantic-text-primary);
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .corsi-hero {
        padding: 40px 0 50px;
    }
    .corsi-hero__title {
        font-size: 48px;
        letter-spacing: -3.36px;
        white-space: normal;
    }
}

.corsi-intro {
    background-color: var(--primary-yellow);
}
.corsi-intro__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 96px 0;
}
.corsi-intro__title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corsi-intro__body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.corsi-intro__col {
    flex: 1;
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corsi-intro__col p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 1em;
}
.corsi-intro__col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .corsi-intro__inner {
        padding: 50px 0;
    }
    .corsi-intro__body {
        flex-direction: column;
    }
    .corsi-intro__title {
        font-size: 26px;
    }
}

/* ====== CORSO (single course) PAGE ====== */
.corso-hero {
    padding: 180px 0 96px;
}
.corso-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.corso-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--semantic-text-primary);
    border-radius: 999px;
    padding: 4px 16px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.corso-hero__badge:hover {
    background-color: #000;
    color: #fff;
}

.corso-hero__badge:hover span {
    color: #fff;
}
.corso-hero__badge:hover img {
    filter: invert(1);
}
.corso-hero__title-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.corso-hero__eyebrow {
    margin: 0;
}
.corso-hero__name {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -6.72px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
    word-break: break-word;
}
.corso-hero__meta {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}

@media (max-width: 768px) {
    .corso-hero {
        padding: 100px 0 60px;
    }
    .corso-hero__name {
        font-size: 48px;
        letter-spacing: -3.36px;
        line-height: 0.9;
    }
    .corso-hero__meta {
        font-size: 20px;
    }
}

/* ===== CORSO COVER IMAGE ===== */
.corso-cover {
    padding: 0 0 40px;
}
.corso-cover__wrap {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 5;
}
.corso-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== CORSO PRESENTAZIONE ===== */
.corso-presentazione__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 96px 0;
}
.corso-presentazione__title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corso-presentazione__col {
    flex: 1;
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corso-presentazione__col p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 1em;
}
.corso-presentazione__col p:last-child { margin-bottom: 0; }

/* ===== CORSO INFO TABLE ===== */
.corso-info__inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 12px 0;
}
.corso-info__table {
    flex: 0 0 593px;
}
.corso-info__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--semantic-text-primary);
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
}
.corso-info__label { flex: 0 0 250px; }
.corso-info__value { flex: 1; min-width: 0; }
.corso-info__value a {
    color: inherit;
    text-decoration: none;
}
.corso-info__value a:hover {
    text-decoration: underline;
}
.corso-info__value--invest { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.corso-info__cost-group { display: flex; flex-direction: column; gap: 8px; }
.corso-info__rate-detail { display: block; font-size: 15px; line-height: 1.6; }
.corso-info__rate-detail[hidden] { display: none; }
.corso-info__row[hidden] { display: none; }
.corso-info__rateizza {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    letter-spacing: 0.7px;
    color: var(--semantic-text-primary);
    padding: 0;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}
.corso-info__aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: center;
}
.corso-info__aside-desc {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
    width: 100%;
}
.corso-info__aside-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 216px;
}
.corso-info__aside-btns .btn {
    width: 100%;
    text-align: center;
    padding-right: 20px;
}

/* ===== CORSO DETAILED CONTENT ===== */
.corso-detail__header { padding: 64px 0 96px; }
.corso-detail__name {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -6.72px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
    word-break: break-word;
}
.corso-detail__body {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.corso-detail__content { flex: 1; min-width: 0; }
.corso-detail__h3 {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0 0 8px;
}
.corso-detail__text {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
}
.corso-detail__text p { font-size: 16px; line-height: 1.6; margin: 0 0 1em; }
.corso-detail__text ul { padding-left: 24px; margin: 0 0 1em; }
.corso-detail__text li { font-size: 16px; line-height: 1.6; margin-bottom: 4px; }
.corso-detail__sidebar {
    flex: 0 0 264px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.corso-detail__box { display: flex; flex-direction: column; }
.corso-detail__box-title {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    color: #383838;
    padding: 10px;
    margin: 0;
}
.corso-detail__tool-list {
    list-style: none;
    padding: 0 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.corso-detail__tool-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: #383838;
    letter-spacing: 0.64px;
}
.corso-detail__tool-arrow { flex-shrink: 0; transform: rotate(45deg); }
.corso-detail__feature-list { list-style: none; padding: 0; margin: 0; }
.corso-detail__feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    border-bottom: 1px solid var(--semantic-text-primary);
    gap: 8px;
}
.corso-detail__feature-arrow { flex-shrink: 0; transform: rotate(-45deg); }
.corso-detail__keywords {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    padding: 0 8px;
    margin: 0;
}

@media (max-width: 768px) {
    .corso-cover__wrap { aspect-ratio: 16 / 7; }
    .corso-presentazione__inner { padding: 50px 0; }
    .corso-presentazione__title { font-size: 26px; }
    .corso-info__inner { flex-direction: column; padding: 40px 0; }
    .corso-info__table { flex: none; width: 100%; }
    .corso-info__aside { width: 100%; }
    .corso-detail__header { padding: 40px 0 50px; }
    .corso-detail__name { font-size: 48px; letter-spacing: -3.36px; }
    .corso-detail__body { flex-direction: column; }
    .corso-detail__sidebar { position: static; width: 100%; }
    .corso-detail__h3 { font-size: 22px; }
}

/* ===== CORSO FOTO VERTICALI ===== */
.corso-photos__sticky {
    position: sticky;
    top: 0;
    padding: 64px 0;
    overflow: hidden;
}
.corso-photos__strip {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.corso-photos__item {
    flex: 0 0 auto;
    width: 587px;
    height: 440px;
    border-radius: 8px;
    overflow: hidden;
}
.corso-photos__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .corso-photos__item { width: 80vw; height: 280px; }
    .corso-photos__sticky { padding: 40px 0; }
}

/* ===== CORSO PROGRAMMA ===== */
.corso-programma__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}
.corso-programma__icon {
    width: 78px;
    height: 52px;
    object-fit: contain;
}
.corso-programma__title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.corso-programma__eyebrow {
    margin: 0;
}
.corso-programma__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
.corso-programma__body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0;
}
.corso-programma__desc {
    flex: 1;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
}
.corso-programma__desc p { margin: 0 0 1.4em; }
.corso-programma__desc p:last-child { margin-bottom: 0; }
.corso-programma__anni {
    flex: 0 0 593px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.corso-programma__anno {
    border-bottom: 1px solid var(--semantic-text-primary);
}
.corso-programma__anno-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 1.4px;
    color: var(--semantic-text-primary);
    text-align: left;
    min-height: 46px;
}
.corso-programma__anno-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    transform: rotate(45deg);
}
.corso-programma__anno-btn[aria-expanded="true"] .corso-programma__anno-arrow {
    transform: rotate(-45deg);
}
.corso-programma__anno-content {
    padding: 0 24px 16px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
}
.corso-programma__anno-content ul {
    columns: 2;
    column-gap: 32px;
}
.corso-programma__anno-content p { margin: 0; }

@media (max-width: 768px) {
    .corso-programma__body { flex-direction: column; }
    .corso-programma__anni { flex: none; width: 100%; position: static; }
    .corso-programma__title { font-size: 32px; }
    .corso-programma__anno-btn { font-size: 20px; padding: 4px 12px; }
}

/* ===== CORSO SHOWCASE ===== */
.corso-showcase {
    padding-bottom: 80px;
}
.corso-showcase__header {
    padding: 24px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.corso-showcase__eyebrow {
    margin: 0;
}
.corso-showcase__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
@media (max-width: 900px) {
    .corso-showcase__title { font-size: 32px; }
}

/* ===== CORSO VIDEO BANNER ===== */
.corso-video {
    padding: 32px 0 80px;
    overflow: hidden;
}
.corso-video__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.corso-video__bg-text {
    font-family: var(--font-family-title);
    font-size: clamp(80px, 20vw, 300px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--semantic-text-primary);
    margin: 0 0 -151px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.corso-video__bg-text-track {
    display: inline-flex;
    gap: 0;
    font-family: var(--font-family-title);
    font-weight: 800;
    animation: corso-bg-marquee 20s linear infinite;
}
.corso-video__bg-text-track > span {
    padding-right: 1.2em;
    flex-shrink: 0;
    font-weight: var(--font-weight-bold);
}
@keyframes corso-bg-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-25%); }
}
.corso-video__card {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    width: 744px;
    max-width: calc(100% - 48px);
    flex-shrink: 0;
}
.corso-video__card img:first-child {
    width: 100%;
    height: 530px;
    object-fit: cover;
    display: block;
}
.corso-video__card iframe {
    width: 100%;
    height: 530px;
    display: block;
    border: none;
}
.corso-video__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    color: #111;
    text-decoration: none;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}
.corso-video__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.07);
    background: rgba(255, 255, 255, .5);
}
.corso-video__cta-wrap {
    margin-top: 24px;
}
.corso-video__play-link {
    font-family: var(--font-family-title);
    font-size: 20px;
    font-weight: var(--font-weight-light);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .corso-video__card { width: 100%; max-width: calc(100% - 48px); }
    .corso-video__card img:first-child { height: 280px; }
    .corso-video__card iframe { height: 280px; }
    .corso-video__play-btn { width: 72px; height: 72px; border-radius: 16px; }
}

/* ===== CORSI ABBINATI ===== */
.corso-abbinati {
    background-color: #ffffff;
    padding: 64px 0;
}
.corso-abbinati__header {
    margin-bottom: 24px;
}
.corso-abbinati__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
.corso-abbinati__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.corso-abbinati__card {
    background-color: var(--primary-yellow);
    border-radius: 12px;
    padding: 16px;
    width: 286px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.corso-abbinati__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corso-abbinati__name {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 0;
}
.corso-abbinati__meta {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: var(--semantic-text-primary);
    margin: 0;
}

@media (max-width: 768px) {
    .corso-abbinati__title { font-size: 32px; }
    .corso-abbinati__card { width: 100%; }
}

/* ===== DIPARTIMENTO ===== */
.dipartimento-hero {
    padding-top: 180px;
    padding-bottom: 48px;
}
.dipartimento-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.dipartimento-hero__eyebrow {
    margin: 0;
}
.dipartimento-hero__name {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -6.72px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}

/* Presentazione */
.dipartimento-presentazione {
    padding-top: 80px;
    padding-bottom: 80px;
}
.dipartimento-presentazione__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.dipartimento-presentazione__title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.dipartimento-presentazione__body {
    display: flex;
    gap: 48px;
}
.dipartimento-presentazione__col {
    flex: 1;
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* Course listing */
.dipartimento-corsi {
    padding-top: 64px;
    padding-bottom: 64px;
    background-color: #fff;
}
.dipartimento-corsi__header {
    margin-bottom: 48px;
}
.dipartimento-corsi__eyebrow {
    margin: 0 0 4px;
}
.dipartimento-corsi__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -1.92px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
.dipartimento-corsi__inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.dipartimento-corsi__sidebar {
    flex: 0 0 284px;
    width: 284px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.dipartimento-corsi__sidebar-desc {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}
.dipartimento-corsi__sede-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dipartimento-corsi__sede-label {
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.88px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
}
.dipartimento-corsi__sede-row {
    border-bottom: 1px solid var(--semantic-text-primary);
    padding-bottom: 8px;
    cursor: pointer;
}
.dipartimento-corsi__sede-value {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--semantic-text-primary);
}
.dipartimento-corsi__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dipartimento-corsi__tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: rgba(0,0,0,0.3);
    text-align: left;
}
.dipartimento-corsi__tab.active {
    font-weight: var(--font-weight-bold);
    color: var(--semantic-text-primary);
}
.dipartimento-corsi__tab-arrow {
    font-size: 20px;
}
.dipartimento-corsi__cards {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.dipartimento-corso-card {
    flex: 0 0 calc(50% - 12px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    text-decoration: none;
    color: var(--semantic-text-primary);
    transition: border-color 0.2s;
}
.dipartimento-corso-card:hover {
    border-color: var(--semantic-text-primary);
}
.dipartimento-corso-card__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    margin: 0;
}
.dipartimento-corso-card__name {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin: 0;
}
.dipartimento-corso-card__meta {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.12px;
    line-height: 1.4;
    color: rgba(0,0,0,0.55);
    margin: 0;
}
.dipartimento-corso-card__meta-link {
    color: var(--semantic-text-primary);
    font-weight: var(--font-weight-semibold);
}

@media (max-width: 1024px) {
    .dipartimento-hero__name { font-size: 60px; letter-spacing: -3px; }
    .dipartimento-corsi__title { font-size: 36px; }
    .dipartimento-corsi__tab { font-size: 22px; }
}
@media (max-width: 768px) {
    .dipartimento-hero { padding-top: 80px; padding-bottom: 32px; }
    .dipartimento-hero__name { font-size: 40px; letter-spacing: -2px; line-height: 0.9; }
    .dipartimento-presentazione__body { flex-direction: column; gap: 24px; }
    .dipartimento-corsi__inner { flex-direction: column; }
    .dipartimento-corsi__sidebar { width: 100%; flex: unset; }
    .dipartimento-corso-card { flex: 0 0 100%; }
}

/* ===== DIPARTIMENTO CORSI — corrected ===== */
.dipartimento-corsi__sidebar {
    flex: 0 0 284px;
    width: 284px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
    align-self: flex-start;
}
.dipartimento-corsi__sidebar-desc {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.dipartimento-corsi__sticky {
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}
.dipartimento-corsi__sede-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dipartimento-corsi__sede-label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}
.dipartimento-corsi__sede-row {
    display: flex;
    flex-direction: column;
}
.dipartimento-corsi__sede-selected {
    padding-bottom: 4px;
}
.dipartimento-corsi__sede-left {
    gap: 10px;
}
.dipartimento-corsi__sede-close {
    font-size: 18px;
    line-height: 1;
    color: var(--semantic-text-primary);
}
.dipartimento-corsi__sede-value {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
}
.dipartimento-corsi__sede-line {
    height: 1px;
    background-color: var(--semantic-text-primary);
    width: 100%;
}
.dipartimento-corsi__tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dipartimento-corsi__tab {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: rgba(11,11,11,0.21);
    text-align: left;
    text-decoration: none;
}
.dipartimento-corsi__tab.active {
    color: var(--semantic-text-primary);
}
.dipartimento-corsi__tab-arrow {
    width: 23px;
    text-align: center;
    flex-shrink: 0;
}
.dipartimento-corsi__cards {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-content: flex-start;
}
.dipartimento-corso-card {
    flex: 0 0 calc(50% - 12px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
    text-decoration: none;
    color: var(--semantic-text-primary);
    border: none;
    border-radius: 0;
    background: none;
}
.dipartimento-corso-card:hover {
    border: none;
}
.dipartimento-corso-card__top {
    display: flex;
    flex-direction: column;
}
.dipartimento-corso-card__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    margin: 0;
}
.dipartimento-corso-card__name {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    margin: 0;
}
.dipartimento-corso-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.12px;
    line-height: 1.4;
    color: var(--semantic-text-primary);
    white-space: nowrap;
    margin: 0;
}
.dipartimento-corso-card__meta-link {
    color: var(--semantic-text-primary);
}

@media (max-width: 900px) {
    .dipartimento-corso-card { flex: 0 0 100%; }
    .dipartimento-corsi__sede-close,
    .dipartimento-corsi__sede-value { font-size: 14px; }
}

/* ===== DOCENTI ===== */
.docenti-hero {
    padding-bottom: 48px;
}
.docenti-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.docenti-hero__eyebrow {
    margin: 0;
}


/* Intro */
.docenti-intro {
    padding-bottom: 48px;
}
.docenti-intro__text {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    max-width: 1208px;
    margin: 0 auto;
    text-align: center;
}

/* Grid section */
.docenti-grid {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* Filters */
.docenti-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1212px;
    margin: 0 auto 24px;
    gap: 16px;
}
.docenti-filters__search {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 594px;
}
.docenti-filters__sede {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 403px;
}
.docenti-filters__label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    white-space: nowrap;
}
.docenti-filters__field {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.docenti-filters__field-inner {
    padding: 0 12px;
}
.docenti-filters__input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: #6d6d6d;
    outline: none;
    padding: 0;
}
.docenti-filters__input::placeholder {
    color: #6d6d6d;
}
.docenti-filters__line {
    height: 1px;
    background-color: var(--semantic-text-primary);
    width: 100%;
    margin-top: 2px;
}
.docenti-filters__sede-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 2px;
}
.docenti-filters__sede-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.docenti-filters__sede-close {
    font-size: 18px;
    line-height: 1;
    color: var(--semantic-text-primary);
}
.docenti-filters__sede-select {
    border: none;
    background: transparent;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}

/* Teacher cards grid */
.docenti-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    transition: opacity .2s ease;
}
.docenti-cards.is-loading {
    opacity: .45;
    pointer-events: none;
}
.docenti-cards__empty {
    flex-basis: 100%;
    text-align: center;
    margin: 24px 0;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
}
.docenti-card {
    position: relative;
    width: 285px;
    height: 356px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}
.docenti-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 18px solid var(--semantic-brand-primary, #FFD700);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.docenti-card:hover::after {
    opacity: 1;
}
.docenti-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    pointer-events: none;
}
.docenti-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    z-index: 4;
}
.docenti-card__badge-row {
    display: flex;
    justify-content: flex-end;
}
.cg-coord-badge {
    background-color: #000;
    color: #fff;
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}
.docenti-card__sede {
    background-color: #000;
    color: #fff;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.14px;
    padding: 2px 12px;
    border-radius: 4px;
    white-space: nowrap;
}
.docenti-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.docenti-card__firstname,
.docenti-card__lastname {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    white-space: nowrap;
    padding: 0 4px;
}
.docenti-card__role {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    text-decoration: underline;
    white-space: nowrap;
    padding: 0 10px;
}

/* Pagination */
.docenti-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}
.docenti-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.docenti-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--semantic-text-primary);
    font-family: var(--font-family-paragraph);
    font-size: 20px;
    font-weight: 500;
    color: var(--semantic-text-primary);
    text-decoration: none;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.docenti-pagination .page-item.active .page-link {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--semantic-text-primary);
}
.docenti-pagination .page-item:first-child .page-link,
.docenti-pagination .page-item:last-child .page-link {
    width: auto;
    border-radius: 999px;
    padding: 8px 24px;
    font-size: 24px;
    letter-spacing: 0.96px;
}

@media (max-width: 1024px) {
    .docenti-hero__title { font-size: 60px; letter-spacing: -3px; }
    .docenti-intro__text { font-size: 22px; }
    .docenti-filters { flex-direction: column; align-items: flex-start; max-width: 100%; }
    .docenti-filters__search,
    .docenti-filters__sede { flex: unset; width: 100%; }
}
@media (max-width: 768px) {
    .docenti-hero { padding-top: 80px; }
    .docenti-hero__title { font-size: 40px; letter-spacing: -2px; line-height: 0.9; }
    .docenti-intro__text { font-size: 18px; }
    .docenti-cards { gap: 16px; }
    .docenti-card { width: calc(50% - 8px); height: 280px; }
}
@media (max-width: 480px) {
    .docenti-card { width: 100%; height: 320px; }
}

/* ===== NEWFRONTEND PAGINATION ===== */
.nf-pagination {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nf-pagination__numbers {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nf-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--semantic-text-primary);
    font-family: var(--font-family-paragraph);
    font-size: 20px;
    font-weight: 500;
    color: var(--semantic-text-primary);
    text-decoration: none;
    background: #fff;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}
.nf-pagination__num.active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--semantic-text-primary);
}
.nf-pagination__num:hover:not(.active) {
    background-color: #f0f0f0;
}
.nf-pagination__btns {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nf-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--semantic-text-primary);
    border-radius: 999px;
    background: #fff;
    padding: 8px 25px;
    font-family: var(--font-family-paragraph);
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.96px;
    color: var(--semantic-text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.nf-pagination__btn:hover {
    background-color: #f0f0f0;
}
.docenti-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ===== DOCENTE SINGOLO ===== */
.docente-hero {
   /* padding-top: 180px;*/
    padding-bottom: 48px;
}
.docente-hero__inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.docente-hero__photo-wrap {
    width: 596px;
    height: 745px;
    border-radius: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.docente-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.docente-hero__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    padding-top: 12px;
}
.docente-hero__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.docente-hero__label {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-hero__name {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-hero__role {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-hero__bio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.docente-hero__bio-title {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-hero__bio-text {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-hero__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 8px;
}
.docente-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--semantic-text-primary);
    border-radius: 999px;
    padding: 12px 24px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--semantic-text-primary);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.docente-hero__social {
    display: flex;
    align-items: center;
    gap: 32px;
}
.docente-hero__social-label {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--semantic-text-primary);
    white-space: nowrap;
}
.docente-hero__social-icons {
    display: flex;
    align-items: center;
    gap: 28px;
}
.docente-hero__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Showcase */
.docente-showcase {
    background: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}
.docente-showcase__header {
    padding-bottom: 0;
}
.docente-showcase__eyebrow {
    margin: 0;
}
.docente-showcase__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
.docente-showcase__strip {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 64px 24px;
    scrollbar-width: none;
}
.docente-showcase__strip::-webkit-scrollbar { display: none; }
.docente-showcase__item {
    width: 587px;
    height: 440px;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.docente-showcase__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Insegna nella sede di */
.docente-sedi {
    padding-top: 64px;
    padding-bottom: 64px;
    background: #fff;
}
.docente-sedi__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}
.docente-sedi__text {
    flex: 0 0 484px;
    padding: 24px 0;
}
.docente-sedi__name {
    font-family: var(--font-family-title);
    font-size: 20px;
    font-weight: var(--font-weight-light);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0 0 16px;
}
.docente-sedi__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0;
}
.docente-sedi__cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 433px;
}
.docente-sede-card {
    background-color: #FFD600;
    border-radius: 8px;
    padding: 24px;
    width: 433px;
}
.docente-sede-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.docente-sede-card__city {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
}
.docente-sede-card__social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}
.docente-sede-card__social-icons a {
    display: flex;
    align-items: center;
    color: var(--semantic-text-primary);
    text-decoration: none;
}
.docente-sede-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.docente-sede-card__address {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}
.docente-sede-card__arrow {
    font-size: 24px;
    color: var(--semantic-text-primary);
    line-height: 1;
    flex-shrink: 0;
}


@media (max-width: 1024px) {
    .docente-hero__inner { flex-direction: column; }
    .docente-hero__photo-wrap { width: 100%; height: 400px; }
    .docente-hero__info { position: static; }
    .docente-sedi__inner { flex-direction: column; }
    .docente-sedi__text { flex: unset; }
    .docente-sedi__cards,
    .docente-sede-card { width: 100%; }
}
@media (max-width: 768px) {
    .docente-hero { padding-top: 80px; }
    .docente-hero__name { font-size: 36px; }
    .docente-showcase__title,
    .docente-sedi__title { font-size: 32px; }
    .docente-showcase__item { width: 320px; height: 280px; }
}

/* =============================================
   COME DIVENTARE
   ============================================= */

/* Hero */
.cd-hero {
    padding-top: 180px;
    padding-bottom: 48px;
}
.cd-hero__title {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -6.72px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}


/* Departments */
.cd-departments {
    padding-top: 24px;
    padding-bottom: 0;
}
.cd-divider {
    height: 1px;
    background-color: var(--semantic-text-primary);
    width: 100%;
}
.cd-dept {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 0;
}
.cd-dept__left {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.cd-dept__name {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.cd-dept__right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    align-items: flex-start;
}
.cd-profession {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--semantic-text-primary);
    text-decoration: none;
    white-space: nowrap;
    color: var(--semantic-text-primary);
}
.cd-profession__label {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}
.cd-profession__arrow {
    display: block;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cd-hero { padding-top: 80px; }
    .cd-hero__title { font-size: 48px; letter-spacing: -3px; }
    .cd-dept { flex-direction: column; }
    .cd-dept__left { position: static; }
    .cd-dept__name { font-size: 20px; }
    .cd-profession__label { font-size: 20px; }
}

/* =============================================
   COME DIVENTARE SINGOLA
   ============================================= */

/* Hero */
.cds-hero {
    padding-top: 40px;
    padding-bottom: 48px;
    margin: o auto;
}

.cds-hero__title {
    font-family: var(--font-family-title);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: var(--font-weight-bold);
    line-height: 0.85;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0 auto;
    width: min-content;
    max-width: 100%;
}


.cg-hero__meta {
    font-family: var(--font-family-paragraph);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--semantic-text-primary);
    margin: 1rem auto;
    max-width: 720px;
}

.cg-hero__cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Presentazione corso (condivisa tra corso-generale e corso singolo) */
.cg-presentazione {
    padding: 32px 0;
}
.cg-presentazione__title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 28px;
}
.cg-presentazione__body {
    column-count: 2;
    column-gap: 40px;
    line-height: 1.7;
}
.cg-presentazione__body > p:first-child {
    margin-top: 0;
}
.cg-presentazione__body ul,
.cg-presentazione__body ol {
    font-family: var(--font-family-paragraph);
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 1.4em;
    margin: 0.75em 0;
}
.cg-presentazione__body li {
    font-family: var(--font-family-paragraph);
    margin-bottom: 0.35em;
}
@media (max-width: 991px) {
    .cg-presentazione { padding: 40px 0; }
    .cg-presentazione__body { column-count: 1; }
}

/* Cover */
.cds-cover {
    padding:0;
}
.cds-cover__wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}
.cds-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* InfoBox */
.cds-infobox {
    padding: 80px 0;
}
.cds-infobox__inner {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* Article */
.cds-article {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.cds-article__section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cds-article__heading {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 28px 0 12px;
}
.cds-article__section:first-child .cds-article__heading {
    margin-top: 0;
}
.cds-article__h3 {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.cds-article__body {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    color: var(--semantic-text-primary);
}
.cds-article__body--lg {
    font-size: 18px;
}
.cds-article__body p { margin: 0 0 4px; }
.cds-article__body ul,
.cds-article__body ol { margin: 4px 0 4px 24px; padding: 0; }
.cds-article__body li { margin-bottom: 2px; }

/* Sidebar */
.cds-sidebar {
    width: 264px;
    flex-shrink: 0;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Offset sticky quando l'header è visibile (scroll su) */
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .openday-red-box,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .corso-detail__sidebar,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .corso-programma__anni,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .dipartimento-corsi__sticky,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .docente-hero__info,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .cd-dept__left,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .lcs-about__label,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .lcs-info-row__label,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .sn-hero__images,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .sn-booking__form-col,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .cds-article,
body:has(header.nf-header--scrolled:not(.nf-header--hidden)) .cds-sidebar {
    top: var(--header-h, 83px);
}
.cds-sidebar__block {
    display: flex;
    flex-direction: column;
}
.cds-sidebar__title {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    color: #383838;
    margin: 0;
    padding: 10px;
}
.cds-sidebar__software-list {
    list-style: none;
    padding: 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cds-sidebar__software-item {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: #383838;
    letter-spacing: 0.64px;
}
.cds-sidebar__software-arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: var(--cg-dept-color, #383838);
    -webkit-mask: url('/assets/public/icons/arrow-right.svg') center / contain no-repeat;
    mask: url('/assets/public/icons/arrow-right.svg') center / contain no-repeat;
    transform: rotate(45deg);
}
.cds-sidebar__campi {
    display: flex;
    flex-direction: column;
}
.cds-sidebar__campo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #E0E0E0;
    text-decoration: none;
    color: var(--semantic-text-primary);
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}
.cds-sidebar__campo-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-color: var(--cg-dept-color, #383838);
    -webkit-mask: url('/assets/public/icons/arrow-right.svg') center / contain no-repeat;
    mask: url('/assets/public/icons/arrow-right.svg') center / contain no-repeat;
    transform: rotate(45deg);
}
.cds-sidebar__keywords {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: #000;
    margin: 0;
    padding: 8px;
}
.cds-sidebar__kw-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 4px 8px;
}
.cds-sidebar__kw-tag {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: #000;
}
.cds-sidebar__kw-sep {
    display: block;
    border-top: 1px solid currentColor;
    margin: 6px 8px;
    opacity: 0.25;
}

/* Section header (shared) */
.cds-section-header {
    margin-bottom: 48px;
}
.cds-section-header__eyebrow {
    margin: 0 0 16px;
}
.cds-section-header__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* Dove frequentare */
.cds-dove {
    background: #fff;
    padding: 64px 0;
}
.cds-dove__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.cds-dove__card {
    background-color: #FFD600;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    width: 286px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    text-decoration: none;
    color: #000;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cds-dove__card .cds-dove__sep,
.cds-dove__card .cds-dove__card-name,
.cds-dove__card .cds-dove__card-city {
    transition: color 0.25s ease;
}
.cds-dove__card:hover,
.cds-dove__card:focus-visible {
    background-color: #fff;
    border-color: #E0E0E0;
}
.cds-dove__card:hover .cds-dove__card-name,
.cds-dove__card:focus-visible .cds-dove__card-name,
.cds-dove__card:hover .cds-dove__sep,
.cds-dove__card:focus-visible .cds-dove__sep {
    color: var(--cg-dept-color, #E94B85);
}
.cds-dove__card-top { display: flex; flex-direction: column; }
.cds-dove__card-label {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: #000;
    margin: 0;
}
.cds-dove__card-name {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    color: #000;
    margin: 0;
}
.cds-dove__card-meta {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    color: #000;
}
.cds-dove__card-meta p { margin: 0; }
.cds-dove__card-meta p:first-child { text-transform: uppercase; }
.cds-dove__card-sede {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
}
.cds-dove__card-pin {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: #000;
    -webkit-mask: url('/assets/public/icons/map-pin.svg') center / contain no-repeat;
    mask: url('/assets/public/icons/map-pin.svg') center / contain no-repeat;
    transition: background-color 0.25s ease;
}
.cds-dove__card:hover .cds-dove__card-pin,
.cds-dove__card:focus-visible .cds-dove__card-pin {
    background-color: var(--cg-dept-color, #E94B85);
}
.cds-dove__card-city {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: #000;
}

/* Lavori studenti */
.cds-studenti {
    padding: 64px 0;
}
.cds-studenti__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.cds-studenti__card {
    position: relative;
    width: 285px;
    height: 208px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.cds-studenti__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover credit label (Figma Card Portfolio Allievo — Variant2)
   Slide-in dal basso verso il centro, 600ms */
.cds-studenti__card .lsp-credit {
    position: absolute;
    left: 50%;
    top: 50%;
    background: #fff;
    color: #000;
    font-family: var(--font-family-paragraph, 'Inter Tight', sans-serif);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    text-align: center;
    padding: 4px;
    white-space: nowrap;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(50% + 208px));
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms ease;
    z-index: 2;
    will-change: transform, opacity;
}
.cds-studenti__card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.cds-studenti__card:hover .lsp-credit,
.cds-studenti__card:focus-visible .lsp-credit {
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .cds-infobox__inner { flex-direction: column; }
    .cds-sidebar { width: 100%; position: static; }
    .cds-article { position: static; }
}
@media (max-width: 768px) {
    .cds-hero { padding-top: 80px; }
    .cds-hero__title { font-size: 48px; letter-spacing: -3px; }
    .cds-section-header__title { font-size: 32px; }
    .cds-dove__card { width: 100%; }
    .cds-studenti__card { width: calc(50% - 12px); height: auto; aspect-ratio: 285 / 208; }
}

/* =============================================
   NEWS LIST PAGE
   ============================================= */

.nl-hero {
    padding-top: 180px;
    padding-bottom: 48px;
}
.nl-hero__title {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -6.72px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0;
}

.nl-section {
    background: #fff;
    padding: 64px 0;
}
.nl-section__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.nl-section__title {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
}
.nl-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.nl-card {
    background: #fff;
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--semantic-text-primary);
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nl-card__image {
    width: 100%;
    aspect-ratio: 320 / 180;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.nl-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nl-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    margin-top: -26px;
    z-index: 2;
}
.nl-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nl-card__tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-yellow);
    color: var(--semantic-text-primary);
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    letter-spacing: 0.12px;
    padding: 4px 12px;
    white-space: nowrap;
}
.nl-card__title {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 4px 0 0;
    height: 100%;
}
.nl-card__date {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.14px;
    color: #000;
    margin: 0;
}
.nl-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .nl-hero { padding-top: 80px; }
    .nl-hero__title { font-size: 48px; letter-spacing: -3px; }
    .nl-grid { justify-content: center; }
    .nl-card { width: 100%; max-width: 380px; }
}


/* =============================================
   LA COMICS (COMICS PAGE)
   ============================================= */

/* HERO */
.lcs-hero {
    padding-top: 180px;
    padding-bottom: 64px;
}
.lcs-hero__title {
    font-family: var(--font-family-title);
    font-size: 96px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -6px;
    color: var(--semantic-text-primary);
    text-transform: uppercase;
    margin: 0 0 32px;
}
.lcs-hero__subtitle {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* HERO IMAGE */
.lcs-hero-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}
.lcs-hero-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SHARED ROW DIVIDER */
.lcs-row-divider {
    width: 100%;
    height: 1px;
    background-color: #000;
}

/* CHI SIAMO */
.lcs-about {
    padding: 0;
}
.lcs-about__inner {
    display: flex;
    gap: 48px;
    padding: 32px 0;
}
.lcs-about__left {
    flex: 0 0 280px;
}
.lcs-about__label {
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.lcs-about__right {
    flex: 1;
    min-width: 0;
}
.lcs-about__text {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* INFO ROWS (Storia / Vision / Mission / Network) */
.lcs-info-rows {
    padding-bottom: 0;
}
.lcs-info-row__inner {
    display: flex;
    gap: 48px;
    padding: 32px 0;
}
.lcs-info-row__label {
    flex: 0 0 280px;
    font-family: var(--font-family-title);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--semantic-text-primary);
    margin: 0;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
    align-self: flex-start;
}
.lcs-info-row__text {
    flex: 1;
    min-width: 0;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* MARQUEE */
.lcs-marquee {
    overflow: hidden;
    padding: 24px 0;
    background: var(--section-bg-grey);
    white-space: nowrap;
}
.lcs-marquee__track {
    display: inline-flex;
    animation: lcs-marquee 20s linear infinite;
}
.lcs-marquee__text {
    font-family: var(--font-family-title);
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
    text-transform: uppercase;
    color: #000;
    display: inline-block;
    flex-shrink: 0;
}
@keyframes lcs-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* VIDEO / IMAGE */
.lcs-video {
    padding: 64px 0;
}
.lcs-video__wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-height: 560px;
}
.lcs-video__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lcs-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
}
.lcs-video__play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.80);
    border: none;
    border-radius: 999px;
    padding: 16px 32px;
    cursor: pointer;
    color: #fff;
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.lcs-video__play-btn:hover {
    background: rgba(0,0,0,0.95);
}
.lcs-video__play-label {
    font-family: var(--font-family-title);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
}

/* NUMERI */
.lcs-numeri {
    background: var(--primary-yellow);
    padding: 80px 0;
}
.lcs-numeri__head {
    text-align: center;
    margin-bottom: 64px;
}
.lcs-numeri__eyebrow {
    margin: 0 0 8px;
}
.lcs-numeri__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.lcs-numeri__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 64px;
}
.lcs-numeri__item {
    text-align: center;
    min-width: 160px;
}
.lcs-numeri__number {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--semantic-text-primary);
    margin: 0 0 4px;
}
.lcs-numeri__label {
    font-family: var(--font-family-paragraph);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
    color: var(--semantic-text-primary);
    margin: 0;
}

/* DIPARTIMENTI */
.lcs-dipartimenti {
    padding: 80px 0;
}
.lcs-dipartimenti__header {
    margin-bottom: 48px;
}
.lcs-dipartimenti__eyebrow {
    margin: 0 0 8px;
}
.lcs-dipartimenti__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--semantic-text-primary);
    margin: 0;
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .lcs-hero__title { font-size: 72px; letter-spacing: -4px; }
    .lcs-marquee__text { font-size: 120px; }
}
@media (max-width: 768px) {
    .lcs-hero { padding-top: 100px; padding-bottom: 40px; }
    .lcs-hero__title { font-size: 48px; letter-spacing: -3px; }
    .lcs-about__inner,
    .lcs-info-row__inner { flex-direction: column; gap: 16px; }
    .lcs-about__left,
    .lcs-info-row__label { flex: none; position: static; }
    .lcs-marquee__text { font-size: 72px; letter-spacing: -2px; }
    .lcs-numeri__grid { gap: 32px 40px; }
    .lcs-numeri__number { font-size: 36px; }
    .lcs-numeri__title { font-size: 36px; }
    .lcs-dipartimenti__title { font-size: 36px; }
}


/* =============================================
   NEWS CAROUSEL (nc-)
   ============================================= */
.nc-section {
    padding: 64px 0 48px;
}
.nc-header {
    margin-bottom: 32px;
}
.nc-title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    color: var(--semantic-text-primary);
    margin: 0;
}
.nc-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 30px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.nc-carousel::-webkit-scrollbar { display: none; }
.nc-carousel.is-dragging { cursor: grabbing; }
.nc-carousel.is-dragging .nc-card { pointer-events: none; }
.nc-card {
    flex: 0 0 320px;
}
.nc-footer {
    margin-top: 40px;
    text-align: center;
}


/* =============================================
   SINGLE NEWS / ARTICOLO (sn-)
   ============================================= */

/* ── Hero ─────────────────────────────────── */
.sn-hero {
    padding: 60px 0 80px;
    background-color: var(--section-bg-grey);
}
.sn-hero__inner {
    display: grid;
    grid-template-columns: 490px 1fr;
    gap: 60px;
    align-items: start;
}
.sn-hero__inner--no-images {
    grid-template-columns: 1fr;
}
.sn-hero__images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.sn-hero__img-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
}
.sn-hero__img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.sn-hero__info {
    padding-top: 8px;
}
.sn-hero__sede {
    font-family: var(--font-family-paragraph);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--semantic-text-primary);
    margin: 0 0 16px;
    opacity: 0.5;
}
.sn-hero__title {
    font-family: var(--font-family-title);
    font-size: 48px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0 0 24px;
}
.sn-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.sn-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    color: var(--semantic-text-primary);
}
.sn-hero__meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.sn-hero__subtitle {
    font-family: var(--font-family-title);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--semantic-text-primary);
    margin: 0 0 20px;
}
.sn-hero__desc {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.7;
    color: var(--semantic-text-primary);
}
.sn-hero__desc p { margin: 0 0 16px; }
.sn-hero__desc p:last-child { margin-bottom: 0; }
.sn-hero__cta-wrap {
    margin-top: 32px;
}

/* ── Eventbrite ──────────────────────────── */
.sn-eventbrite {
    padding: 48px 0;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.sn-eventbrite__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.sn-eventbrite__info {
    flex: 1;
}
.sn-eventbrite__info h2 {
    font-family: var(--font-family-title);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    color: var(--semantic-text-primary);
    margin: 0 0 8px;
}
.sn-eventbrite__info p {
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.sn-eventbrite__address {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    color: var(--semantic-text-primary);
}
.sn-eventbrite__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}
.sn-eventbrite__links img {
    height: 40px;
    width: auto;
}
.sn-eventbrite__date {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--semantic-text-primary);
    text-align: right;
    text-decoration: none;
    line-height: 1.4;
}

/* ── Openday gallery ─────────────────────── */
.sn-od-gallery {
    padding: 64px 0 48px;
    background-color: #fff;
    overflow: hidden;
}
.sn-od-gallery__head {
    margin-bottom: 32px;
}
.sn-od-gallery__eyebrow {
    margin: 0 0 8px;
    opacity: 0.5;
}
.sn-od-gallery__title {
    font-family: var(--font-family-title);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--semantic-text-primary);
    margin: 0;
}
.sn-od-gallery__strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 30px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.sn-od-gallery__strip::-webkit-scrollbar { display: none; }
.sn-od-gallery__strip.is-dragging { cursor: grabbing; }
.sn-od-gallery__strip.is-dragging .sn-od-gallery__frame { pointer-events: none; }
.sn-od-gallery__frame {
    flex: 0 0 587px;
    height: 440px;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
}
.sn-od-gallery__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Booking section ─────────────────────── */
.sn-booking {
    padding: 80px 0 100px;
    background-color: var(--section-bg-grey);
}
.sn-booking__head {
    text-align: center;
    padding: 0 30px 60px;
    max-width: 640px;
    margin: 0 auto;
}
.sn-booking__head-title {
    font-family: var(--font-family-title);
    font-size: 56px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.0;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--semantic-text-primary);
    margin: 0 0 20px;
}
.sn-booking__head-sub {
    font-family: var(--font-family-paragraph);
    font-size: 16px;
    line-height: 1.6;
    color: var(--semantic-text-primary);
    margin: 0;
    opacity: 0.7;
}
.sn-booking__flash {
    margin-bottom: 24px;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: var(--font-family-paragraph);
    font-size: 14px;
}
.sn-booking__flash--error {
    background: #fff0f0;
    color: #c00;
    border: 1px solid #fcc;
}
.sn-booking__flash--success {
    background: #f0fff4;
    color: #0a6b2e;
    border: 1px solid #b2e4c3;
}
.sn-booking__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.sn-booking__form-col {
    position: sticky;
    top: 30px;
    transition: top 0.3s ease;
}
.sn-booking__card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
}
.sn-booking__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.sn-booking__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sn-booking__label {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--semantic-text-primary);
    opacity: 0.6;
}
.sn-booking__required {
    color: #c00;
    opacity: 1;
    margin-right: 2px;
}
.sn-booking__input-wrap {
    position: relative;
    border-bottom: 1.5px solid rgba(0,0,0,0.2);
}
.sn-booking__input-wrap:focus-within {
    border-bottom-color: var(--semantic-text-primary);
}
.sn-booking__input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 0;
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    color: var(--semantic-text-primary);
    box-sizing: border-box;
}
.sn-booking__input::placeholder {
    color: rgba(0,0,0,0.3);
}
.sn-booking__select-wrap {
    display: flex;
    align-items: center;
}
.sn-booking__select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex: 1;
}
.sn-booking__select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
}
.sn-booking__privacy {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sn-booking__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.sn-booking__checkbox-label {
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}
.sn-booking__checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sn-booking__checkbox-box {
    display: block;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(0,0,0,0.3);
    border-radius: 4px;
    background: #fff;
    transition: background 0.15s, border-color 0.15s;
}
.sn-booking__checkbox-input:checked + .sn-booking__checkbox-box {
    background: var(--semantic-text-primary);
    border-color: var(--semantic-text-primary);
}
.sn-booking__checkbox-input:checked + .sn-booking__checkbox-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(3px, 1px);
}
.sn-booking__checkbox-text {
    font-family: var(--font-family-paragraph);
    font-size: 13px;
    line-height: 1.5;
    color: var(--semantic-text-primary);
    margin: 0;
    opacity: 0.7;
}
.sn-booking__privacy-note {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    line-height: 1.5;
    color: var(--semantic-text-primary);
    opacity: 0.6;
    margin: 0;
}
.sn-booking__privacy-note a {
    color: inherit;
}
.sn-booking__submit {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary-yellow);
    border: none;
    border-radius: 8px;
    font-family: var(--font-family-paragraph);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    color: var(--semantic-text-primary);
    cursor: pointer;
    transition: opacity 0.2s;
}
.sn-booking__submit:hover {
    opacity: 0.85;
}
.sn-booking__conclusivo {
    font-family: var(--font-family-paragraph);
    font-size: 12px;
    color: var(--semantic-text-primary);
    opacity: 0.5;
    margin: 16px 0 0;
    text-align: center;
}

/* ── Accordion (right col) ───────────────── */
.sn-booking__slots-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sn-accordion__day {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.sn-accordion__day:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}
.sn-accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    border-radius: 0;
}
.sn-accordion__day.is-open .sn-accordion__header {
    background: var(--primary-yellow);
}
.sn-accordion__day-name {
    font-family: var(--font-family-title);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--semantic-text-primary);
    line-height: 1.2;
}
.sn-accordion__arrow {
    flex-shrink: 0;
    color: var(--semantic-text-primary);
    transition: transform 0.25s;
}
.sn-accordion__day.is-open .sn-accordion__arrow {
    transform: scaleY(-1);
}
.sn-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.sn-accordion__day.is-open .sn-accordion__body {
    max-height: 2000px;
}
.sn-accordion__body-inner {
    padding: 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sn-accordion__section-title {
    font-family: var(--font-family-paragraph);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--semantic-text-primary);
    margin: 0 0 12px;
    opacity: 0.5;
}
.sn-accordion__slot {
    margin-bottom: 8px;
}
.sn-accordion__slot:last-child {
    margin-bottom: 0;
}
.sn-accordion__slot-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.sn-accordion__slot-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sn-accordion__slot-box {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    background: #fff;
    margin-top: 2px;
    transition: background 0.15s, border-color 0.15s;
}
.sn-accordion__slot-check:checked + .sn-accordion__slot-box {
    background: var(--semantic-text-primary);
    border-color: var(--semantic-text-primary);
}
.sn-accordion__slot-check:checked + .sn-accordion__slot-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(3px, 1px);
}
.sn-accordion__slot-text {
    font-family: var(--font-family-paragraph);
    font-size: 14px;
    line-height: 1.5;
    color: var(--semantic-text-primary);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
    .sn-hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .sn-hero { padding: 40px 0 60px; }
    .sn-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .sn-hero__images {
        position: static;
    }
    .sn-hero__title { font-size: 32px; letter-spacing: -1px; }
    .sn-eventbrite__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sn-eventbrite__links {
        align-items: flex-start;
    }
    .sn-od-gallery__frame {
        flex: 0 0 320px;
        height: 260px;
    }
    .sn-booking { padding: 60px 0 80px; }
    .sn-booking__head-title { font-size: 40px; letter-spacing: -2px; }
    .sn-booking__body {
        grid-template-columns: 1fr;
    }
    .sn-booking__form-col {
        position: static;
    }
    .sn-booking__card { padding: 24px; }
}

/* ── Dipartimento: News primo piano ────────────────────────────────── */
.dip-news-promo-section {
    padding: 60px 0;
    background-color: #fff;
}

.dip-news-promo {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--primary-yellow, #FFD700);
    border-radius: 16px;
    padding: 40px;
    gap: 40px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.dip-news-promo__content {
    flex: 1;
}

.dip-news-promo__eyebrow {
    margin: 0 0 8px;
    opacity: 0.7;
}

.dip-news-promo__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.dip-news-promo__subtitle {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.dip-news-promo__desc {
    font-size: 15px;
    margin: 0 0 24px 0;
    opacity: 0.85;
}

.dip-news-promo__cta {
    display: inline-block;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
}

.dip-news-promo__cta:hover {
    opacity: 0.8;
    color: #fff;
}

@media (max-width: 767px) {
    .dip-news-promo {
        flex-direction: column;
        padding: 28px 20px;
        gap: 24px;
    }
    .dip-news-promo__title {
        font-size: 24px;
    }
}
