.bcc-wrapper {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

/* Desktop: 3 colonne, 2 righe (6 box totali) */
@media (min-width: 992px) {
    .bcc-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 colonne, 3 righe */
@media (min-width: 600px) and (max-width: 991px) {
    .bcc-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 colonna (6 righe) */
@media (max-width: 599px) {
    .bcc-wrapper {
        grid-template-columns: 1fr;
    }
}

.bcc-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.bcc-titolo {
    margin: 0;
    padding: 15px;
    background: #003366;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bcc-titolo a {
    color: #fff;
    text-decoration: none;
}

.bcc-carousel {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.bcc-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.bcc-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.bcc-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.bcc-content {
    padding: 15px;
}

.bcc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #777;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.bcc-titolo-post {
    font-size: 1em;
    margin: 0 0 10px;
    line-height: 1.3;
}

.bcc-titolo-post a {
    color: #003366;
    text-decoration: none;
}

.bcc-titolo-post a:hover {
    text-decoration: underline;
}

.bcc-estratto {
    font-size: 0.85em;
    color: #444;
    margin: 0;
    line-height: 1.4;
}

.bcc-prev,
.bcc-next {
    position: absolute;
    top: 90px;                      /* centro immagine (180 / 2) */
    transform: translateY(-50%);    /* sposta in alto di metà altezza del bottone */
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.bcc-prev { left: 8px; }
.bcc-next { right: 8px; }

.bcc-prev { left: 8px; }
.bcc-next { right: 8px; }

.bcc-prev:hover,
.bcc-next:hover {
    background: rgba(0,0,0,0.8);
}

.bcc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
}

.bcc-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    display: inline-block;
}

.bcc-dots span.active {
    background: #003366;
}