/* ══ Wrapper ══════════════════════════════════════════ */
.hortus-carousel-wrap {
    width: 100%;
}

.hc-row {
    min-height: 520px;
}

/* ══ Colonna sinistra ════════════════════════════════ */
.hc-left {
    z-index: 11;
}

.hc-left-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
	position: relative;
}

/* ══ Navigazione desktop ═════════════════════════════ */
.hc-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.hc-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hc-dot.active {
    background: #1a3a2a;
    transform: scale(1.2);
}

.hc-arrows {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.hc-arrow {
    border: none;
    background: none;
    cursor: pointer;
    color: #1a3a2a;
    padding: 0;
}

/* ══ Colonna destra / outer ══════════════════════════ */
.hc-right {
    padding-left: 0;
}

.hc-carousel-outer {
    overflow: visible;
    position: relative;
}

/* Maschera il peek sul lato sinistro (desktop) */
.hc-carousel-outer::before {
    content: '';
    position: absolute;
    top: 0; left: -9999px; bottom: 0;
    width: 9999px;
    background: #fff;
    z-index: 2;
    pointer-events: none;
}

.hc-owl {
    overflow: visible !important;
}

.hc-owl .owl-stage-outer {
    overflow: visible !important;
}

/* ══ Dots mobile (nascosti di default) ═══════════════ */
.hc-dots-mobile {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
}
h2.hc-title {
	font-size: 70px !important;
    line-height: 80px !important;
}
/* ══ Card ════════════════════════════════════════════ */
.hc-card {
    position: relative;
    overflow: hidden;

}

.hc-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hc-card-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.hc-card-body {
    padding: 20px 24px 24px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease-out;
    min-height: 185px;
    background: rgba(26, 58, 42, 1);
}




.hc-card:hover .hc-card-body {
    transform: translateY(-12px);
    backdrop-filter: blur(10px);
}

.hc-cat {
    display: block;
    color: #7dbd8e;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hc-excerpt {
    font-size: 0.92rem;
    color: #e8f0eb;
    line-height: 1.55;
    margin-bottom: 16px;
}

.leggi {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.hc-leggi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #87AA84;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-transform: uppercase;
    transition: gap 0.2s;
}

.hc-leggi a {
    color: #87AA84;
}

.hc-card:hover a {
    text-decoration: none !important;
}

/* Overlay scuro sull'immagine all'hover */
.hc-card-img {
    position: relative;
}

.hc-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 47, 40, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hc-card:hover .hc-card-img::after {
    opacity: 1;
}

/* ══ MOBILE (< 768px) ════════════════════════════════ */
@media (max-width: 767px) {
.hc-row {
    margin: 0;
}
    .hc-left {
        padding: 30px 0;
    }

    .hc-right {
        padding: 0 ;
    }

    /* Nasconde frecce e dots nella colonna sinistra */
    .hc-arrows,
    .hc-dots-desktop {
        display: none !important;
    }

    /* Mostra dots sotto il carousel */
    .hc-dots-mobile {
        display: flex;
    }

    /* Rimuove overflow visible: niente peek su mobile */
    .hc-carousel-outer {
        overflow: hidden !important;
    }

    .hc-owl,
    .hc-owl .owl-stage-outer {
        overflow: hidden !important;
    }

    /* Rimuove la maschera sinistra: non serve su mobile */
    .hc-carousel-outer::before {
        display: none;
    }
}
