.sss-section {
    padding: 60px 0;
    font-family: inherit;
    position: relative;     
}

/* Background-image variant */
.sss-section--has-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Semi-transparent overlay (opacity driven by CSS var) */
.sss-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, var(--sss-overlay-opacity, 0.4));
    pointer-events: none;
    z-index: 0;
}

/* Lift content above the overlay */
.sss-section--has-bg .container {
    position: relative;
    z-index: 1;
}

.sss-section--has-bg .sss-title {
    color: #ffffff;
}

.sss-section--has-bg .sss-description {
    color: rgba(255, 255, 255, 0.88);
}

.sss-section--has-bg .sss-link {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: underline;
}
.sss-section--has-bg .sss-link:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Outline button flips to white border + text on dark bg */
.sss-section--has-bg .sss-btn--outline {
    color: #ffffff;
    border-color: #ffffff;
}
.sss-section--has-bg .sss-btn--outline:hover {
    background-color: #ffffff;
    color: #222222;
    border-color: #ffffff;
}

.sss-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .sss-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.sss-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.sss-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sss-accent, var(--primary-color, #b32b1c));
    margin: 0 0 10px;
}

.sss-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .sss-title {
        font-size: 34px;
    }
}

.sss-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 24px;
}

/* ── CTA row (filled btn + text link inline) ────────────── */
.sss-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

/* ── Buttons ────────────────────────────────────────────── */
.sss-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
}

/* Filled / primary */
.sss-btn--primary {
    background-color: var(--sss-accent, var(--primary-color, #b32b1c));
    color: #fff;
    border: 2px solid var(--sss-accent, var(--primary-color, #b32b1c));
}
.sss-btn--primary:hover {
    background-color: transparent;
    color: var(--sss-accent, var(--primary-color, #b32b1c));
    text-decoration: none;
}

/* Outline */
.sss-btn--outline {
    background-color: transparent;
    color: var(--sss-accent, var(--primary-color, #b32b1c));
    border: 2px solid var(--sss-accent, var(--primary-color, #b32b1c));
    margin-top: 4px;
}
.sss-btn--outline:hover {
    background-color: var(--sss-accent, var(--primary-color, #b32b1c));
    color: #fff;
    text-decoration: none;
}

/* Inline text link */
.sss-link {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.2s;
}
.sss-link:hover {
    color: var(--sss-accent, var(--primary-color, #b32b1c));
    text-decoration: none;
}

/* ── Right slider panel ─────────────────────────────────── */
.sss-slider-wrap {
    width: 100%;
}

.sss-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
}

/* Track holds all slides side-by-side */
.sss-slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each slide */
.sss-slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.sss-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / Next arrows */
.sss-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    z-index: 2;
    padding: 0;
}
.sss-slider__btn:hover {
    background: var(--sss-accent, var(--primary-color, #b32b1c));
    color: #fff;
}
.sss-slider__btn--prev { left: 12px; }
.sss-slider__btn--next { right: 12px; }

/* ── Mobile tweaks ──────────────────────────────────────── */
@media (max-width: 991px) {
    .sss-section {
        padding: 40px 0;
    }

    .sss-title {
        font-size: 24px;
    }

    /* Show slider first on mobile */
    .sss-slider-wrap {
        order: -1;
    }
}
