:root {
    --sc-primary: #FFBE55;
    --sc-secondary: #83361F;
    --sc-tertiary: #111111;
}

.sc-430-wrapper {
    width: 100%;
    /* Hide overflow-x to prevent horizontal scrollbar on body, but allow carousel to bleed out */
    overflow: hidden; 
    padding-bottom: 20px;
}

/* 
 * The layout container holds the header and acts as the starting point.
 * We want the header centered, but the carousel should extend to the right edge of the screen.
 */
.sc-430-layout-container {
    width: 100%;
    max-width: 1200px; /* Adjust to match site container width */
    margin: 0 auto;
    padding-left: 15px; /* Standard gutter */
}

/* Header */
.sc-430-header {
    margin-bottom: 40px;
    max-width: 500px;
}

.sc-430-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #111;
    margin: 0 0 15px 0;
}

.sc-430-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 20px 0 0 0;
}

/* Tri-Color Golden Ratio Separator */
.sc-430-tri-separator {
    display: flex;
    width: 250px; /* Total width */
    height: 4px;
}

.sc-430-tri-separator.card-sep {
    width: 100%; /* Full width on cards */
}

/* Golden Ratio Approximation: Primary ~62%, Secondary ~24%, Tertiary ~14% */
.sc-sep-1 { width: 62%; background-color: var(--sc-primary); }
.sc-sep-2 { width: 24%; background-color: var(--sc-secondary); }
.sc-sep-3 { width: 14%; background-color: var(--sc-tertiary); }

/* Carousel Area */
/* Allow swiper to bleed out to the right */
.sc-430-carousel-area {
    width: calc(100% + 50vw); /* Ensure it goes off screen right */
    padding-right: 50vw; /* Offset to prevent breaking layout */
}

.sc-430-swiper {
    overflow: visible; /* CRITICAL for seeing 3.5 cards */
}

/* Cards */
.sc-430-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.sc-430-badge {
    background-color: var(--sc-secondary);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 16px;
    text-align: center;
    width: 100%;
}

.sc-430-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.sc-430-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Box */
.sc-430-content {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    min-height: 140px;
}

.sc-430-content-text {
    flex: 1;
}

.sc-430-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #111;
    margin: 0 0 10px 0;
}

.sc-430-card-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.sc-430-content-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.sc-430-content-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Footer Controls */
.sc-430-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px; /* 30px from design + some buffer */
}

.sc-430-nav-btn {
    width: 40px;
    height: 40px;
    background-color: var(--sc-primary);
    border: none;
    color: var(--sc-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sc-430-nav-btn:hover {
    background-color: var(--sc-secondary);
    color: #fff;
}

/* Active/Focus state applied by JS when scrolling */
.sc-430-nav-btn.is-active {
    background-color: var(--sc-secondary);
    color: #fff;
    transform: scale(0.95);
}

.sc-430-cta {
    background-color: var(--sc-secondary);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sc-430-cta:hover {
    background-color: var(--sc-tertiary);
    color: #fff;
}

/* Swiper Disabled states */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .sc-430-carousel-area {
        width: 100%;
        padding-right: 0;
    }
    .sc-430-title {
        font-size: 32px;
    }
}