/* ─────────────────────────────────────────────────────────────
   Filarete Timeline Carousel — CSS v1.0.1
───────────────────────────────────────────────────────────────── */
body {
    overflow-x: hidden;
}
/* ── Wrapper carousel ──────────────────────────────────────── */
.ftc-carousel-wrap {
    position: relative;
}

.ftc-carousel {
    width: 100%;
}

/* Tutte le slide stessa altezza: flexbox sull'owl-stage */
/*.ftc-carousel .owl-stage {
    display: flex;
}

.ftc-carousel .owl-stage .owl-item {
    display: flex;

}
*/

.ftc-carousel .owl-item {
    height: 100%;
}

.ftc-carousel .ftc-item,
.ftc-carousel .ftc-card {
    height: 100%;
}
.nav-custom-slide-home {
    width: 47% !important;
    margin-left: auto;
}
/* ── Card slide: layout Bootstrap row con immagine a destra ── */
.ftc-carousel .ftc-item {
    display: flex;
    width: 100%;
}

.ftc-card {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

/* Colonna sinistra: testi */
.ftc-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
}

.ftc-card-anno {
font-size: 60px;
font-style: normal;
font-weight: 700;
line-height: 55px; /* 91.667% */
letter-spacing: -0.6px;
}

.ftc-card-titolo {
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -0.8px;
    margin-bottom: 1rem;
}

.ftc-card-descrizione {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.ftc-card-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease;
}

.ftc-card-link.btn-primary {
    border: 2px solid var(--FCC-Blue, #172C4A);
}

.ftc-card-link:hover {
    opacity: 0.85;
}

/* Colonna destra: immagine */
.ftc-card-image {
    display: flex;
    align-items: stretch;
}

.ftc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
      border-radius: 22px;
}

/* ── Navigazione personalizzata ─────────────────────────────── */
.owl-prev,
.owl-next {
    border: none;
    height: auto !important;
    width: auto !important;
}

.owl-prev svg,
.owl-next svg {
     width: auto !important;
    margin-top: 0 !important;
}

.ftc-nav-custom {
    position: absolute;
    z-index: 10;
    width: 100%;
}

.ftc-nav-custom .owl-nav {
    margin: 0;
}

.ftc-nav-custom .owl-nav button {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s ease;
}

.ftc-nav-custom .owl-nav button:hover {
    opacity: 0.75;
}

/* ── Thumb nav (anni) ───────────────────────────────────────── */
.ftc-thumbs {
    padding-top: 80px;
    text-align: center;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

/* Linea sinistra */
.ftc-thumbs::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #DAE2EF;
    position: absolute;
    top: 58px;
    left: 0;
}

/* Linea destra */
/*.ftc-thumbs::after {
    content: '';
    display: block;
    width: 15%;
    height: 2px;
    background: #DAE2EF;
    position: absolute;
    top: 62px;
    right: 0;
}
*/
.ftc-thumb-item {
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--BLACK, #23283C);
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 30px;
    letter-spacing: -0.52px;
    padding: 0 1.2em 0 1.2em;
}

/* Cerchietto di default */
.ftc-thumb-item::before {
    content: '';
    width:22px;
    height: 22px;
    background: #003087;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: -32px;
    margin: auto;
    border-radius: 50%;
}

/* Cerchietto attivo: giallo */
.ftc-thumb-item.active::before {
    content: '';
    width: 22px;
    height: 22px;
    background: var(--FFE-YELLOW, #FC0);
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: -32px;
    margin: auto;
    border-radius: 50%;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
    .ftc-nav-custom {
        display: none;
    }
	.ftc-thumbs::before {
		display: none
	}
    .ftc-card-body {
        padding: 1.5rem;
        order: 2;
    }
    .owl-thumb-item {
        margin-bottom: 30px;
        padding: 10px 10px;
    }
    .ftc-card-image {
        min-height: 220px;
    }

.ftc-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 55px;
}

.ftc-thumbs::before,
.ftc-thumbs::after {
    display: none;
}

.ftc-thumb-item {
    font-size: 13px;
    padding: 25px 0.6em 0.5em;
    flex: 0 0 15%;
}

.ftc-thumb-item::before,
.ftc-thumb-item.active::before {
    width: 18px;
    height: 18px;
    top: 0px;
}
}
/* ── Nav inline con contatore ───────────────────────────────── */
.ftc-nav-custom {
    position: relative !important;

}

.ftc-nav-custom .owl-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.ftc-nav-custom .owl-nav button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: currentColor;
    transition: opacity .2s ease;
}

.ftc-nav-custom .owl-nav button:hover {
    opacity: 0.6;
}


@media (max-width: 767px) {
    .ftc-nav-custom {
        display: none !important;
    }
}