/* ==========================================================
   Centre Stage Carousel — csc-slider.css
   ========================================================== */

.csc-wrapper *,
.csc-wrapper *::before,
.csc-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Outer wrapper — 3-column fixed ratio layout ── */
.csc-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: #fff8f5;
    font-family: inherit;
    user-select: none;
    min-height: 480px;
}

/* ── Side panels — each 25% ── */
.csc-side {
    flex: 0 0 25%;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 28px;
    cursor: pointer;
    transition: background 300ms ease;
    background: #fff8f5;
}

.csc-side-left {
    border-top:    1.5px solid #e8d9c8;
    border-bottom: 1.5px solid #e8d9c8;
    border-right:  1.5px solid #e8d9c8;
    border-left:   none;
}

.csc-side-right {
    border-top:    1.5px solid #e8d9c8;
    border-bottom: 1.5px solid #e8d9c8;
    border-left:   1.5px solid #e8d9c8;
    border-right:  none;
}

.csc-side:hover {
    background: rgba(160, 120, 64, 0.04);
}

/* Side title */
.csc-side-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a07840;
    text-align: center;
    line-height: 1.6;
}

/* Arrows */
.csc-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #a07840;
    background: transparent;
    color: #a07840;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 250ms ease, color 250ms ease;
    padding: 0;
    flex-shrink: 0;
    font-family: inherit;
}
.csc-arrow:hover {
    background: #a07840;
    color: #ffffff;
}

/* ── Centre stage — 50% ── */
.csc-centre {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 36px;
}

/* Image */
.csc-image-wrap {
    width: 100%;
    overflow: hidden;
}

.csc-active-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: opacity 380ms ease, transform 380ms ease;
}

.csc-active-image.csc-fading {
    opacity: 0;
    transform: scale(1.025);
}

/* Text area */
.csc-text-wrap {
    padding: 26px 32px 0;
    text-align: center;
    width: 100%;
    transition: opacity 320ms ease;
}

.csc-text-wrap.csc-fading {
    opacity: 0;
}

.csc-active-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a07840;
    margin-bottom: 14px;
}

.csc-active-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #555555;
    margin-bottom: 10px;
}

.csc-read-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a07840;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease;
}
.csc-read-more::after { content: ' »'; }
.csc-read-more:hover  { border-bottom-color: #a07840; }

/* Dot indicators */
.csc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.csc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d9c9b8;
    cursor: pointer;
    transition: background 250ms ease, transform 250ms ease;
    border: none;
    padding: 0;
}
.csc-dot.is-active {
    background: #a07840;
    transform: scale(1.5);
}

/* ==========================================================
   MOBILE  ≤ 767px — horizontal swipe row
   Side panels shrink, centre fills remaining space
   ========================================================== */
@media (max-width: 767px) {

    .csc-wrapper {
        flex-direction: row;   /* keep horizontal on mobile too */
        align-items: stretch;
        min-height: 0;
    }

    /* Side panels collapse to arrow-only strips */
    .csc-side {
        flex: 0 0 52px;
        width: 52px;
        padding: 12px 8px;
        gap: 0;
        justify-content: center;
    }

    /* Keep borders same on mobile */
    .csc-side-left {
        border-top:    1.5px solid #e8d9c8;
        border-bottom: 1.5px solid #e8d9c8;
        border-right:  1.5px solid #e8d9c8;
    }
    .csc-side-right {
        border-top:    1.5px solid #e8d9c8;
        border-bottom: 1.5px solid #e8d9c8;
        border-left:   1.5px solid #e8d9c8;
    }

    /* Hide title text on mobile — not enough room */
    .csc-side-title {
        display: none;
    }

    /* Centre fills remaining width */
    .csc-centre {
        flex: 1 1 0%;
        width: auto;
        padding-bottom: 20px;
    }

    .csc-active-image {
        height: 220px !important;
    }

    .csc-text-wrap {
        padding: 16px 14px 0;
    }

    .csc-active-title {
        font-size: 11px;
    }

    .csc-active-desc {
        font-size: 13px;
    }

    .csc-dots {
        margin-top: 14px;
    }
}

/* ==========================================================
   TABLET  768px – 1024px
   ========================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    .csc-side {
        padding: 30px 16px;
        gap: 14px;
    }

    .csc-side-title {
        font-size: 11px;
    }

    .csc-active-image {
        height: 300px !important;
    }

    .csc-text-wrap {
        padding: 20px 20px 0;
    }
}
