.home-page {
    --home-section-width: min(1200px, calc(100% - 2.5rem));
}

.home-page .slider-container,
.home-page > section,
.home-page .carousel-section {
    box-sizing: border-box;
    width: var(--home-section-width);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.home-page #browse-services,
.home-page #service-questions,
.home-page #maintenance-header,
.home-page #service-area { scroll-margin-top: var(--home-anchor-offset, 200px); }

.home-page #maintenance-header.home-anchor-alias { display: block; width: 0; height: 0; margin: 0; padding: 0 !important; background: transparent !important; }

.home-page .service-questions-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.home-page .home-questions { display: grid; gap: 12px; }
.home-page .home-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--rr-ink); font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.home-page .home-questions summary::-webkit-details-marker { display: none; }
.home-page .home-questions summary i { flex: 0 0 auto; font-size: 12px; transition: transform 160ms; }
.home-page .home-questions details[open] summary i { transform: rotate(180deg); }
.home-page .home-questions .faq-answer { padding: 0 24px 22px; }
.home-page .home-questions .faq-answer p { margin: 0; color: var(--rr-muted); font-size: 15px; line-height: 1.7; }
.home-page .home-questions .faq-answer p + p { margin-top: 12px; }
.home-page .faq-answer a, .home-page .faq-support a { color: var(--rr-blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.home-page .faq-support { margin: 24px 12px 0; color: var(--rr-muted); font-size: 14px; line-height: 1.7; text-align: center; }
.home-page .mailing-list-section { margin-top: 0; margin-bottom: 48px; }
.home-page .carousel-section { padding: 24px 0; }
.home-page .mailing-list-section form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 12px; max-width: 860px; margin: 0 auto; }
.home-page .mailing-list-section form > * { min-width: 0; margin-top: 0; }
.home-page .mailing-list-section input { box-sizing: border-box; height: 50px; min-height: 50px; padding: 12px; font-size: 16px; line-height: 24px; }
.home-page .mailing-list-section button { min-height: 50px; }

.home-page .timeline-container,
.home-page .service-menu-inner {
    width: 100%;
    max-width: none;
}

.home-page .timeline-section,
.home-page .service-menu-section {
    padding-right: 0;
    padding-left: 0;
}

.home-page .site-footer {
    padding-right: 0;
    padding-left: 0;
}

.home-page #return-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--rr-blue); box-shadow: 0 4px 18px rgba(19, 34, 56, .2); align-items: center; justify-content: center; cursor: pointer; }
.home-page #return-to-top[hidden] { display: none; }
.home-page #return-to-top:not([hidden]) { display: inline-flex; }
.home-page #return-to-top:focus-visible { outline: 3px solid var(--rr-blue); outline-offset: 3px; }

.home-page .site-footer .footer-container,
.home-page .site-footer .footer-bottom-layout,
.home-page .site-footer .footer-bottom > .legal-links {
    width: var(--home-section-width);
    max-width: none;
}

#vehicle-selection #unified-select:focus-visible,
#vehicle-selection #unified-select-toggle:focus-visible,
#vehicle-selection #service-select:focus-visible {
    outline: 3px solid #4b83e0;
    outline-offset: 3px;
}

#vehicle-selection .rr-vehicle-bar [data-picker-field="make"] > button:focus-visible {
    outline: 3px solid #4b83e0;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .home-page { --home-section-width: calc(100% - 1.25rem); }
    .home-page .topbar.rr-brand-header .site-wordmark { max-width: min(160px, calc(100vw - 175px)); }
    .home-page .mailing-list-section form { grid-template-columns: minmax(0, 1fr); }
    .home-page .topbar-selected-vehicle { max-width: clamp(0px, calc(100vw - 340px), 100px); overflow: hidden; }
    .home-page #vehicle-id { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* The service section background reaches both page edges while its cards align with the hero. */
.home-page>#browse-services.service-menu-section{width:100%;max-width:none;margin-left:0;margin-right:0}
.home-page #browse-services .service-menu-inner{width:var(--home-section-width);max-width:none;margin-left:auto;margin-right:auto}
