/* ── CC Carousel ── */
.ccc-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 40px;
    overflow: hidden;
}

.ccc-track-wrap {
    overflow: hidden;
    width: 100%;
}

.ccc-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Slide sizing via CSS custom properties set inline by PHP */
.ccc-slide {
    flex-shrink: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    /* width + height set via inline style from PHP — always present */
}

.ccc-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px;
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: rgba(0,0,0,0.45);
    text-align: center;
    line-height: 1.3;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Arrows */
.ccc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 20px));
    background: rgba(98,132,78,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
    line-height: 1;
    padding: 0;
}

.ccc-arrow:hover  { background: rgba(62,100,46,0.95); }
.ccc-arrow:disabled { opacity: 0.3; cursor: default; }
.ccc-arrow-prev { left: 8px; }
.ccc-arrow-next { right: 8px; }

/* Dots */
.ccc-dots {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

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

.ccc-dot.active {
    background: #62844E;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .ccc-arrow { width: 36px; height: 36px; font-size: 15px; }
}
