.sol-model-years {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 8px 0 8px;
}

.sol-model-years .model-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #444;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #d9d9d9;
    transition: all .2s ease;
}

.sol-model-years .model-year.active {
    color: #000;
    border-bottom-color: #da5e27;
}

.sol-model-years .model-year:hover {
    color: #da5e27;
}

.model-year-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #b45309;
    background: #fff3d6;
    border: 1px solid #f2c879;
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
}

/* Shared max-width for RV series landing pages.
   Hero/header can stay full-width; everything below uses this content shell. */
:root {
    --rv-series-content-max: 1500px;
    --rv-series-content-width: min(92vw, var(--rv-series-content-max));
    --rv-series-model-card-max: 1750px;
    --rv-series-model-card-width: min(96vw, var(--rv-series-model-card-max));
}

.rv-series-content-shell {
    width: var(--rv-series-content-width);
    margin-left: auto;
    margin-right: auto;
}

.rv-series-model-card-shell {
    width: var(--rv-series-model-card-width);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    :root {
        --rv-series-content-width: min(94vw, 720px);
        --rv-series-model-card-width: min(94vw, 720px);
    }
}

/* Series landing page feature rows
   Keeps lower series-page image/text rows constrained like model-page content. */
.rv-series-feature-rows {
    padding: 4rem 0 !important;
    background-color: #fff;
}

.rv-series-feature-row {
    width: var(--rv-series-content-width);
    max-width: var(--rv-series-content-max);
    margin: 0 auto 4rem auto;
    padding: 0 1.5rem;
}

.rv-series-feature-row:last-child {
    margin-bottom: 0;
}

.rv-series-feature-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.18);
}

.rv-series-feature-text {
    padding: 1.5rem 2.5rem;
}

@media (max-width: 991px) {
    .rv-series-feature-row {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .rv-series-feature-text {
        padding: 1.5rem 0;
    }

    .rv-series-feature-image img {
        max-height: none;
    }
}


/* Series landing page feature-card grid
   Slightly narrows the 3-column card section without making it as tight as model-page content.
*/
.rv-series-card-section {
    background-color: #f5f6f7;
}

.rv-series-card-wrap {
    width: var(--rv-series-content-width);
    margin: 0 auto;
}

.rv-series-card-grid {
    margin-left: -12px;
    margin-right: -12px;
}

.rv-series-card-grid > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

.rv-series-card-grid img.feature-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .rv-series-card-wrap {
        width: min(94vw, 720px);
    }

    .rv-series-card-grid img.feature-image {
        max-height: none;
    }
}
