/* =========================
   FONT + VARIABILI
========================= */

:root {
    --font-heading: 'Playfair', serif;
    --font-body: 'Zalando Sans', sans-serif;

    --color-primary: #b3261e;
    --color-text: #2B2E34;
    --color-muted: #777777;
}


/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.68rem;
    line-height: 1.2;
    color: var(--color-text);
}


/* =========================
   HEADINGS
========================= */

h1, .h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-primary);
}

h2, .h2 {
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
}

h3, .h3 {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.1;
}


/* =========================
   PARAGRAFI
========================= */

p, .p {
    font-family: var(--font-body);
    font-size: 1.68rem;
    font-weight: 300;
    line-height: 1.3;
}


/* =========================
   BUTTON
========================= */

.btn,
button {
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
}


/* =========================
   UTILITY
========================= */

.text-primary-custom {
    color: var(--color-primary);
}

.text-muted-custom {
    color: var(--color-muted);
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-body);
}

.container-fluid {
    --bs-gutter-x: 12rem !important;
}

.justify-content-space-between {
    justify-content: space-between;
}

/* =========================
   HEADER
========================= */

.main-header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.btn-outline-red {
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline-red:hover, .btn-outline-red:focus, .btn-outline-red:active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.main-header .container-fluid {
    --bs-gutter-x: calc(12rem - 80px) !important;
}

/* CONTENITORE PILLOLA */
.custom-navbar {
    position: relative;
    border-radius: 60px;
    padding: 15px 40px;
    background: transparent;
    overflow: visible;
    isolation: unset;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.custom-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}

.custom-navbar .navbar-brand,
.custom-navbar .navbar-toggler,
.custom-navbar .navbar-collapse {
    position: relative;
    z-index: 1;
}


/* LOGO */
.logo {
    height: 60px;
}


/* LINK MENU */
.custom-navbar .navbar-nav {
    align-items: center;
    gap: 2rem;
}

.custom-navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.custom-navbar .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    line-height: 1;
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0;
    margin: 0 8px;
    position: relative;
    text-decoration: none;
}

.custom-navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

.custom-navbar .navbar-nav .nav-link:hover::before {
    transform: scaleX(1);
}

.custom-navbar .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.custom-navbar .navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

.custom-navbar .navbar-nav .nav-link.dropdown-toggle::before {
    width: calc(100% - 16px);
}

/* CTA */
.btn-pill {
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 1.2rem;
}


/* =========================
   HEADER DROPDOWN
========================= */

.custom-navbar .dropdown {
    position: relative;
}

.custom-navbar .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom-navbar .dropdown-toggle::after {
    border: 0;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    font-size: 16px;
    transition: all 0.2s ease;
    font-weight: 600;
    position: relative;
    margin-left: 0;
}

.custom-navbar .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.custom-navbar .dropdown-menu {
    position: absolute;
    min-width: 210px;
    margin: 70px 0 0 -15px;
    padding: 14px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    left: 100%;
    top: 0;
    transform: translateX(-50%);
    overflow: hidden;
    isolation: isolate;
    z-index: 20;
}

.custom-navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}

.custom-navbar .dropdown-menu > * {
    position: relative;
    z-index: 1;
}

.custom-navbar .dropdown-menu.show {
    display: block;
}

.custom-navbar .dropdown-item {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 8px 4px;
    background-color: transparent;
    border: 0;
    font-family: var(--font-body);
    line-height: 1.3;
    font-weight: 400;
    color: #2B2E34;
    white-space: nowrap;
    font-size: 1.2rem;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left calc(100% - 1px);
    background-size: 0 1.5px;
    transition: background-size 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    background-color: transparent;
    color: #2B2E34;
    font-weight: 600;
    background-size: 100% 1.5px;
}

.custom-navbar .dropdown-item.active,
.custom-navbar .dropdown-item:active {
    background-color: transparent;
    color: #2B2E34;
    font-weight: 700;
    background-size: 100% 1.5px;
}

.custom-navbar .dropdown-item + .dropdown-item {
    margin-top: 2px;
}

/* =========================
   HOME HERO
========================= */

.home-hero {
    padding: 0;
}

.home-hero__inner {
    position: relative;
    min-height: calc(100vh + 60px);
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.home-hero__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-hero__inner > .row,
.home-hero__inner .container-fluid,
.home-hero__inner .container-fluid > .row {
    position: relative;
    z-index: 2;
}

.home-hero__content {
    padding-top: 18rem;
    padding-bottom: 6rem;
}

.home-hero__title {
    margin: 0 0 1.5rem;
    color: var(--color-primary);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-hero__subtitle p {
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    font-size: 2.4rem;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
    min-height: 50px;
    padding: 10px 28px;
    border: 3px solid rgba(255,255,255,.95);
    border-radius: 60px;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.home-hero__badge:hover {
    background: #b3261e;
    border-color: #b3261e;
}

/* spazio per header fixed */
body {
    padding-top: 0;
}

/* =========================
   HOME INTRO
========================= */

.home-intro {
    padding: 60px 0 60px;
}

.home-intro__text p {
    margin: 0;
    font-size: 2.4rem;
}

.home-intro__text p strong {
    font-weight: 600;
}

.home-intro__text p + p {
    margin-top: 40px;
}

/* =========================
   HOME QUOTE (SEZIONE ROSSA)
========================= */

.home-quote {
    padding: 40px 0 80px;
}

.home-quote__inner {
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    height: 0;
    padding-top: 64%;
    background-size: cover;
    background-position: center;
}

.home-quote__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #b3261e;
    opacity: 0.9;
    z-index: 1;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.home-quote__content {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px;
    text-align: center;
    z-index: 2;
}

.home-quote__text {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1.1;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

/* =========================
   HOME WHY
========================= */

.home-why {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    padding: 40px 0 80px;
}

.home-why__box {
    padding: 0;
}

.home-why__left {
    padding-right: 40px;
}

.home-why__title {
    margin: 0 0 22px;
    line-height: 1.02;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

.home-why__subtitle {
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    color: #2B2E34;
    font-size: 2.4rem;
}

.home-why__intro {
    margin-bottom: 28px;
    max-width: 760px;
}

.home-why__intro p {
    margin: 0;
}

.home-why__intro strong {
    font-weight: 600;
    color: #2B2E34;
}

.home-why__items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-why__item {
    align-items: start;
}

.home-why__item-title {
    margin: 0;
    line-height: 1.05;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 2.4rem;
}

.home-why__item-text {
    margin: 0;
}

/* =========================
   HOME FUTURE
========================= */

.home-future {
    margin-top: -60px;
    padding-top: 0px;
}

.home-future__inner {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 60px 60px;

    height: 0;
    padding-top: 50%;

    background-image: url('../img/home-future.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.home-future__inner > .container-fluid {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.home-future__content {
    padding-top: 8%;
}

.home-future__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    font-size: 9rem;
    font-family: var(--font-heading);
}

.home-future__bottom {
    padding-bottom: 4.5%;
}

.home-future__date {
    line-height: 1.05;
    font-weight: 600;
    color: #2B2E34;
    font-size: 2.4rem;
}

.home-future__place-title {
    margin-bottom: 6px;
    line-height: 1.05;
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--color-primary);
}

.home-future__place-text {
    line-height: 1.25;
    color: var(--color-primary);
}

.home-future__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px 28px;
    border: 2px solid var(--color-primary);
    border-radius: 60px;
    background: transparent;
    color: var(--color-primary);
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
}

.home-future__btn:hover,
.home-future__btn:focus,
.home-future__btn:active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

/* =========================
   HOME EDITIONS
========================= */

.home-editions {
    padding: 80px 0 90px;
}

.home-editions__top {
    margin-bottom: 42px;
}

.home-editions__title {
    margin: 0;
    line-height: 1;
    font-weight: 600;
    color: #2B2E34;
    font-family: var(--font-body);
    font-size: 3.6rem;
    display: block;
    max-width: 36rem;
}

.home-editions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: auto;
    padding: 10px 26px;
    border: 2px solid var(--color-primary);
    border-radius: 60px;
    background: transparent;
    color: var(--color-primary);
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    width: max-content;
}

.home-editions__btn:hover,
.home-editions__btn:focus,
.home-editions__btn:active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.home-editions__text p {
    margin: 0;
    line-height: 1.3;
}

.home-editions__text p + p {
    margin-top: 24px;
}

.home-editions__highlight {
    font-style: italic;
    font-weight: 700 !important;
    color: #2B2E34 !important;
}

.home-editions__slider-title {
    margin: 18px 0 28px;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.home-editions__slider-wrap {
    position: relative;
    padding: 0;
}

.home-editions-swiper {
    overflow: hidden;
}

.home-editions-swiper .swiper-slide {
    height: auto;
}

.home-editions__left {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.edition-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    text-decoration: none;
    aspect-ratio: 400 / 492;
    background: #ddd;
}

.edition-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edition-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    transition: all 0.2s ease;
}

.edition-card:hover .edition-card__overlay {
    background: rgba(0,0,0,0.80);
}

.edition-card__label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: var(--font-body);
    font-size: 2.4rem;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.home-editions__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    transition: all 0.2s ease;
}

.home-editions__nav:hover {
    background: var(--color-primary);
    color: #fff;
}

.home-editions__nav--prev {
    left: -20px;
}

.home-editions__nav--next {
    right: -20px;
}

.home-editions__nav span {
    display: none;
}

/* =========================
   HOME VOICES
========================= */

.home-voices {
    padding: 0;
}

.home-voices__media {
    height: 0;
    padding-top: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 60px 60px 0 0;
}

.home-voices__content {
    background: #F9F4F3;
    border-radius: 60px 60px 60px 60px;
    padding: 60px 0 60px;
    margin-top: -60px;
}

.home-voices__head {
    margin-bottom: 24px;
}

.home-voices__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.home-voices__navs {
    display: inline-flex;
    gap: 8px;
}

.home-voices__nav {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.home-voices__nav:hover {
    background: var(--color-primary);
    color: #fff;
}

.home-voices__nav span {
    display: none;
}

.home-voices-swiper {
    overflow: hidden;
}

.home-voices-swiper .swiper-slide {
    height: auto;
}

.voice-card {
    height: 100%;
    min-height: 220px;
    background: #fff;
    border-radius: 22px;
    padding: 25px 50px;
    text-align: center;
}

.voice-card__avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    display: block;
    margin: 0 auto 20px;
}

.voice-card__name {
    margin: 0 0 20px;
    font-family: var(--font-body);
    font-size: 1.32rem;
    line-height: 1;
    font-weight: 700;
    color: var(--color-primary);
}

.voice-card__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.3;
    font-style: italic;
}

/* =========================
   HOME UNIVERSITIES
========================= */

.home-universities {
    padding: 0;
    position: relative;
    z-index: 2;
}

.home-universities__inner {
    background: #ffffff;
    border-radius: 0 0 60px 60px;
    padding: 60px 0 60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.home-universities__top {
    margin-bottom: 56px;
}

.home-universities__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.home-universities__text p {
    margin: 0;
}

.home-universities__text p + p {
    margin-top: 24px;
}

.home-universities__logos {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.home-universities__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    max-width: 130px;
}

.home-universities__logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 0 0 40px;
    background: #F9F4F3;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.site-footer__inner {
    padding: 120px 0 18px;
    overflow: hidden;
}

.site-footer__top {
    margin-bottom: 40px;
}

.site-footer__main {
    margin-bottom: 24px;
}

.site-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-footer__logo {
    width: 380px;
    max-width: 100%;
    height: auto;
    display: block;
}

.site-footer__contacts {
    font-family: var(--font-body);
    line-height: 1.4;
    font-weight: 400;
    font-size: 1rem;
}

.site-footer__contacts strong {
    font-weight: 700;
}

.site-footer__contacts a {
    color: var(--color-text);
    text-decoration: none;
}

.site-footer__contacts a:hover {
    color: var(--color-primary);
}

.site-footer__socials {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
}

.site-footer__social {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.site-footer__social:hover {
    background: #b3261e;
    color: #fff;
}

.site-footer__menu li {
    line-height: 0;
}

.site-footer__menu li + li {
    margin-top: 0px;
}

.site-footer__menu a {
    font-family: var(--font-body);
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
}

.site-footer__menu a:hover {
    color: var(--color-primary);
}

.site-footer__mini-btn,
.site-footer__cta,
.site-footer__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 22px;
    border: 2px solid var(--color-primary);
    border-radius: 60px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-body);
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.04rem;
}

.site-footer__mini-btn {
    margin-top: 16px;
}

.site-footer__cta {
    min-height: 50px;
    padding: 10px 28px;
    font-size: 2.4rem;
}

.site-footer__mini-btn:hover,
.site-footer__mini-btn:focus,
.site-footer__mini-btn:active,
.site-footer__cta:hover,
.site-footer__cta:focus,
.site-footer__cta:active,
.site-footer__submit:hover,
.site-footer__submit:focus,
.site-footer__submit:active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.site-footer__label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--font-body);
    font-size: 1.32rem;
    line-height: 1.2;
    font-weight: 400;
    color: #a0a0a0;
}

.site-footer__input,
.site-footer__textarea {
    border: 1.5px solid #9fa3a9;
    border-radius: 16px;
    background: transparent;
    box-shadow: none !important;
    color: #555962;
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.3;
}

.site-footer__input {
    min-height: 44px;
    padding: 10px 14px;
}

.site-footer__textarea {
    min-height: 88px;
    padding: 12px 14px;
    resize: none;
}

.site-footer__input::placeholder,
.site-footer__textarea::placeholder {
    color: #b6b6b6;
}

.site-footer__input:focus,
.site-footer__textarea:focus {
    border-color: var(--color-primary);
    background: transparent;
}

.site-footer__privacy {
    margin-top: 2px;
}

.site-footer__checkline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.3;
    color: #a0a0a0;
}

.site-footer__checkline input {
    margin: 0;
}

.site-footer__radios {
    display: flex;
    gap: 24px;
    margin-top: 4px;
}

.site-footer__submit {
    min-width: 134px;
}

.site-footer__bottom {
    margin-top: 40px;
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.3;
    color: #7f7f7f;
}

/* =========================
   CUSTOM ARROWS
========================= */

.home-editions__nav,
.home-voices__nav, .edition-detail__nav{
    background: none;
}

.home-editions__nav::before,
.home-voices__nav::before, .edition-detail__nav::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background-color: var(--color-primary);

    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* SX */
.home-editions__nav--prev::before,
.home-voices__nav--prev::before, .edition-detail__nav--prev::before {
    mask-image: url('../img/FRECCIA-SX.svg');
    -webkit-mask-image: url('../img/FRECCIA-SX.svg');
}

/* DX */
.home-editions__nav--next::before,
.home-voices__nav--next::before, .edition-detail__nav--next::before {
    mask-image: url('../img/FRECCIA-DX.svg');
    -webkit-mask-image: url('../img/FRECCIA-DX.svg');
}

/* hover */
.home-editions__nav:hover::before,
.home-voices__nav:hover::before, .edition-detail__nav:hover::before {
    background-color: #fff;
}

/* =========================
   PAGE SCHOOL - METHOD
========================= */

.school-page .home-intro, .editions-page .home-intro {
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;    
}

.school-method {
    padding: 120px 0 0;
    background: #F9F4F3;
    margin-top: -60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.school-method__inner {
    padding: 0 0 40px;
}

.school-method__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.school-method__item {
    max-width: 58rem;
}

.school-method__subtitle {
    margin: 0 0 30px;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    display: block;
    min-height: 92px;
}

.school-method__text p {
    margin: 0;
}

.school-method__text p + p {
    margin-top: 10px;
}

.school-method__text strong {
    font-weight: 700;
    color: #2B2E34;
}

.school-image {
    padding: 0;
    background: #F9F4F3;
}

.school-image__media {
    height: 0;
    padding-top: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 60px 60px 0 0;
}

/* =========================
   PAGE SCHOOL - LEARNING
========================= */

.school-learning {
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    padding: 72px 0 80px;
    position: relative;
    z-index: 3;
}

.school-learning__inner {
    padding: 0;
}

.school-learning__title {
    margin: 0 0 20px;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block; 
    font-weight: 800;
    line-height: 1;
}

.school-learning__intro {
    max-width: 72rem;
    margin: 0 auto 48px;
}

.school-learning__intro p {
    margin: 0;
}

.school-learning__intro strong {
    font-weight: 700;
}

.school-learning__grid {
    margin-top: 0;
}

.school-learning-card {
    height: 100%;
    overflow: hidden;
    border-radius: 60px;
    background: #f1eeee;
}

.school-learning-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.school-learning-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.school-learning-card__body {
    padding: 25px 50px;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
}

.school-learning-card__title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.1;
    color: #2B2E34;
}

.school-image-2 {
    padding: 0;
    background: #fff;
    margin-top: -60px;
}

.school-image-2 .school-image__media {
    height: 0;
    padding-top: 40%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    border-radius: 0 0 60px 60px;
}

/* =========================
   PAGE SCHOOL - TERRITORY
========================= */

.school-page .home-intro {
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;    
}

.school-territory {
    padding: 120px 0 0;
    background: #F9F4F3;
    margin-top: -60px;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.school-territory__inner {
    padding: 0 0 40px;
}

.school-territory__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.school-territory__item {
    max-width: 58rem;
}

.school-territory__subtitle {
    margin: 0 0 30px;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    display: block;
    min-height: 92px;
}

.school-territory__text p {
    margin: 0;
}

.school-territory__text p + p {
    margin-top: 10px;
}

.school-territory__text strong {
    font-weight: 700;
    color: #2B2E34;
}

/* =========================
   SCHOOL WHY
========================= */

.school-why {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    padding: 40px 0 80px;
}

.school-why__box {
    padding: 0;
}

.school-why__left {
    padding-right: 40px;
}

.school-why__title {
    margin: 0 0 22px;
    line-height: 1.02;
    font-weight: 800;
    color: var(--color-primary);
}

.school-why__subtitle {
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    color: #2B2E34;
    font-size: 2.4rem;
}

.school-why__intro {
    margin-bottom: 28px;
    max-width: 760px;
}

.school-why__intro p {
    margin: 0;
}

.school-why__intro strong {
    font-weight: 600;
    color: #2B2E34;
}

.school-why__items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.school-why__item {
    align-items: start;
}

.school-why__item-title {
    margin: 0;
    line-height: 1.05;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 2.4rem;
}

.school-why__item-text {
    margin: 0;
}

/* =========================
   SCHOOL COMMUNITY (SEZIONE ROSSA)
========================= */

.school-community {
    padding: 0 0 80px;
    margin-top: -60px;
    background: #F9F4F3;
}

.school-community__inner {
    position: relative;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    height: 0;
    padding-top: 55%;
    background-size: cover;
    background-position: bottom center;
}

.school-community__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #b3261e;
    opacity: 0.9;
    z-index: 1;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.school-community__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    text-align: center;
    z-index: 2;
}

.school-community__title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 30px;
}

.school-community__text {
    font-weight: 400;
    color: #ffffff;
}

.school-community__text p {
    margin-bottom: 30px;
}

.school-community__social-label {
    display: block;
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: #fff;
    font-style: italic;
}

.school-community__social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.school-community__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 45px;
    border: 2px solid #fff;
    border-radius: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 2.1rem;
}

.school-community__social-btn:hover {
    background: #fff;
    color: var(--color-primary);
}

/* =========================
   PAGE CONTACTS - HERO
========================= */

.contacts-hero {
    padding: 130px 0 60px;
    background: #F9F4F3;
    border-radius: 0 0 60px 60px;
}

.contacts-hero__inner {
    padding: 80px 0px 40px;
}

.contacts-hero__title {
    margin: 0;
    color: var(--color-primary);
    line-height: 1;
    font-weight: 800;
}

.contacts-hero__block + .contacts-hero__block {
    margin-top: 32px;
}

.contacts-hero__label {
    display: block;
}

.contacts-hero__label p {
    margin-bottom: 10px;
}

.contacts-hero__value {
    font-size: 2.4rem;
    font-weight: 600;
}

/* =========================
   PAGE CONTACTS - DIRECTIONS
========================= */

.contacts-directions {
    padding: 80px 0 80px;
}

.contacts-directions__inner {
    padding: 0;
}

.contacts-directions__title {
    margin: 0;
    color: var(--color-primary);
    line-height: 1;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 6rem;
    display: block;
}

.contacts-directions__block {
    max-width: 32rem;
}

.contacts-directions__subtitle {
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 10px;
    display: block;
}

.contacts-directions__text p {
    margin: 0;
}

/* =========================
   PAGE CONTACTS - MAP
========================= */

.contacts-map {
    padding: 0;
    position: relative;
    z-index: 2;
}

.contacts-map__inner {
    border-radius: 60px;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 2
}

.contacts-map__embed {
    position: relative;
    width: 100%;
    height: 80vh;
}

.contacts-map__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================
   PAGE REGISTRATION - MAP
========================= */

.registration-iframe {
    padding: 130px 0 60px;
    background: #f8f9fa;
    position: relative;
    z-index: 2;
}

.registration-iframe iframe {
    padding-top: 80px;
    width: 100%;
    border: 0;
    min-height: 1450px;
    height: auto;
}

/* =========================
   PAGE EDITIONS - CURRENT
========================= */

.school-page .home-intro {
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 0 0 60px 60px;
    overflow: hidden;    
}

.editions-current {
    padding: 120px 0 0;
    background: #B0241C;
    margin-top: -60px;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.editions-current__inner {
    padding: 0 0 40px;
}

.editions-current__title {
    margin: 0;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    font-size: 6rem;
    font-family: var(--font-heading);
    display: block;
}

.editions-current__item {
    max-width: 58rem;
}

.editions-current__subtitle {
    margin: 0 0 30px;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    display: block;
    color: #fff;
}

.editions-current__text p {
    margin: 0;
    color: #fff;
}

.editions-current__text p + p {
    margin-top: 10px;
}

.editions-current__text strong {
    font-weight: 700;
    color: #2B2E34;
}

.editions-current__edition-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 45px;
    border: 2px solid #fff;
    border-radius: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 2.1rem;
}

.editions-current__button {
    margin-top: 40px;
}

.editions-current__edition-btn:hover {
    background: #fff;
    color: var(--color-primary);
}

/* =========================
   PAGE EDITIONS - ARCHIVE
========================= */

.editions-archive {
    padding: 60px 0 0;
    position: relative;
    z-index: 2;
}

.editions-archive__inner {
    border-radius: 0 0 60px 60px;
    padding: 0 0 60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #fff;
}

.editions-archive__title {
    margin: 0 0 32px;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-family: var(--font-heading);
    display: block;
}

.editions-archive__grid {
    margin-top: 0;
}

.editions-archive__card {
    width: 100%;
}

/* =========================
   PAGE EDITION - DETAIL
========================= */

.edition-detail {
    padding: 130px 0 80px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.edition-detail__inner {
    padding: 80px 0px 0px;
}

.edition-detail__main {
    min-width: 0;
}

.edition-detail__year {
    display: block;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
}

.edition-detail__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.95;
    color: var(--color-primary);
}

.edition-detail__cover {
    margin-top: 60px;
    overflow: hidden;
    border-radius: 60px;
}

.edition-detail__cover img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.edition-detail__panorama {
    margin-top: 28px;
}

.edition-detail__section-title {
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
}

.edition-detail__text p {
    margin: 0;
}

.edition-detail__sidebar {
    position: sticky;
    top: 150px;
}

.edition-program-card {
    background: #F0F0F0;
    border-radius: 60px;
    padding: 30px;
}

.edition-program-card__poster {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    margin: 0 45px;
}

.edition-program-card__poster img {
    width: 100%;
    display: block;
}

.edition-program-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    padding: 8px 18px;
    border-radius: 60px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}

.edition-program-card__btn:hover {
    
}

.edition-program-card__meta {
    margin-top: 16px;
}

.edition-program-card__meta-row {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    line-height: 1.35;
}

.edition-program-card__meta-row + .edition-program-card__meta-row {
    margin-top: 8px;
}

.edition-program-card__meta-label {
    font-size: 1.32rem;
    font-weight: 300;
}

.edition-program-card__meta-value {
    font-size: 1.32rem;
    font-weight: 600;
}

.edition-detail__guests {
    margin-top: 56px;
}

.edition-detail__guests-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.edition-detail__navs {
    display: inline-flex;
    gap: 8px;
}

.edition-detail__nav {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.edition-detail__nav:hover {
    background: var(--color-primary);
    color: #fff;
}

.edition-guest-card {
    width: 100%;
    height: var(--guest-card-height, auto);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 60px;
    background: #F0F0F0;
    transition: background 0.25s ease, color 0.25s ease;
}

.edition-guest-card.is-clickable {
    cursor: pointer;
}

.edition-guest-card__media {
    aspect-ratio: 125 / 112;
    overflow: hidden;
    flex: 0 0 auto;
}

.edition-guest-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edition-guest-card__body {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.edition-guest-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.edition-guest-card__name {
    margin: 0;
    font-family: var(--font-body);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--color-text);
}

.edition-guest-card__more {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
}

.edition-guest-card__icon {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
}

.edition-guest-card__icon::before,
.edition-guest-card__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.edition-guest-card__icon::before {
    width: 12px;
    height: 1.5px;
}

.edition-guest-card__icon::after {
    width: 1.5px;
    height: 12px;
}

.edition-guest-card__role {
    margin-top: 20px;
    font-size: 1.32rem;
    font-style: italic;
    color: var(--color-primary);
}

.edition-detail__nav span {
    display: none;
}

.edition-guest-card__bio {
    display: none;
    margin-top: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.edition-guest-card__bio p {
    margin: 0;
    color: inherit;
    font-size: 1.32rem;
}

.edition-guest-card.is-open {
    background: var(--color-primary);
    color: #fff;
}

.edition-guest-card.is-open .edition-guest-card__name,
.edition-guest-card.is-open .edition-guest-card__role,
.edition-guest-card.is-open .edition-guest-card__bio p {
    color: #fff;
}

.edition-guest-card.is-open .edition-guest-card__more {
    border-color: #fff;
    color: #fff;
}

.edition-guest-card.is-open .edition-guest-card__bio {
    display: block;
}

.edition-guest-card.is-open .edition-guest-card__icon::after {
    display: none;
}

.edition-guest-card.is-open .edition-guest-card__media {
    display: none;
}

.edition-guests-swiper .swiper-wrapper {
    align-items: stretch;
}

.edition-guests-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.edition-guest-card__bio::-webkit-scrollbar {
    width: 6px;
}

.edition-guest-card__bio::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
}

.single-edition-page .home-editions {
    padding: 0;
    position: relative;
    z-index: 2;
}

.single-edition-page .home-editions__inner {
    border-radius: 0 0 60px 60px;
    padding: 0 0 60px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #fff;
}

.edition-detail__video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.edition-detail__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}