.dealer-public.template-evergreen {
    --dealer-template-surface: #fff;
    --dealer-template-muted: #f4f6f8;
    --dealer-template-ink: #10223d;
    --horizon-navy: var(--dealer-primary, #0b274a);
    --horizon-blue: var(--dealer-accent, #f5820b);
    --horizon-ink: var(--dealer-template-ink, #10223d);
    --horizon-muted: #5b6b82;
    --horizon-line: #d8e1ec;
    --horizon-soft: var(--dealer-template-muted, #eef5ff);
    --horizon-shadow: 0 18px 45px rgba(8, 32, 72, .12);
    color: var(--horizon-ink);
    background: #fff;
}

.dealer-public.template-evergreen,
.dealer-public.template-evergreen[data-template-font="inter"] {
    --dealer-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-family: var(--dealer-font-family);
}

.dealer-public.template-evergreen[data-template-font="system"] {
    --dealer-font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dealer-public.template-evergreen[data-template-font="georgia"] {
    --dealer-font-family: Georgia, "Times New Roman", serif;
}

.template-evergreen .container-fluid {
    width: min(100% - 64px, 1536px);
    margin-inline: auto;
}

.template-evergreen .dealer-topbar {
    padding-block: .62rem !important;
    border: 0;
    background: linear-gradient(90deg, var(--horizon-soft), color-mix(in srgb, var(--horizon-soft) 42%, #fff));
    color: var(--horizon-ink);
}

.template-evergreen .site-main,
.template-evergreen .dealer-body-style-section,
.template-evergreen .horizon-action-band {
    background: transparent;
}

/* Evergreen keeps the header uncluttered at every viewport width. */
.dealer-public.template-evergreen .dealer-template-mobile-actions {
    display: none !important;
}

.template-evergreen[data-template-header="compact"] .dealer-topbar {
    display: none;
}

.template-evergreen .horizon-topbar-inner,
.template-evergreen .horizon-offer,
.template-evergreen .horizon-topbar-links {
    display: flex;
    align-items: center;
}

.template-evergreen .horizon-topbar-inner {
    justify-content: space-between;
    gap: 2rem;
    font-size: .78rem;
}

.template-evergreen .horizon-offer {
    min-width: 0;
    gap: .65rem;
}

.template-evergreen .horizon-offer svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--horizon-navy);
}

.template-evergreen .horizon-offer strong {
    text-transform: uppercase;
    letter-spacing: .025em;
}

.template-evergreen .horizon-offer span {
    color: #43546c;
}

.template-evergreen .horizon-topbar-links {
    gap: 1.85rem;
    flex: 0 0 auto;
}

.template-evergreen .horizon-topbar-links a {
    color: var(--horizon-ink);
    font-weight: 600;
    text-decoration: none;
}

.template-evergreen .horizon-topbar-links a:hover {
    color: var(--horizon-blue);
}

.template-evergreen .dealer-site-header {
    border: 0 !important;
    box-shadow: 0 1px 0 rgba(8, 32, 72, .08);
}

.template-evergreen.is-scrolled .dealer-site-header {
    box-shadow: 0 12px 34px rgba(8, 32, 72, .1);
}

.template-evergreen .dealer-navbar {
    min-height: 96px;
    padding-block: .72rem;
    background: #fff;
}

.template-evergreen .horizon-header-container {
    display: flex;
    width: min(100% - 64px, 1536px);
    max-width: none;
    flex-wrap: nowrap;
    gap: clamp(1.25rem, 2.2vw, 2.7rem);
}

.template-evergreen .navbar-brand {
    width: clamp(230px, 21vw, 330px);
    margin-right: 0;
    color: var(--horizon-ink);
    font-weight: 900;
    letter-spacing: -.03em;
    white-space: normal;
}

.template-evergreen .dealer-logo {
    width: auto;
    max-width: 290px;
    max-height: 66px;
    object-fit: contain;
}

.template-evergreen #dealerNav {
    min-width: 0;
}

.template-evergreen #dealerNav .navbar-nav {
    margin-inline: auto !important;
    gap: clamp(.2rem, .55vw, .65rem);
}

.template-evergreen #dealerNav .nav-link {
    padding: .7rem .55rem;
    color: var(--horizon-ink);
    font-size: clamp(.72rem, .72vw, .86rem);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .015em;
    white-space: nowrap;
}

.template-evergreen #dealerNav .nav-link:hover,
.template-evergreen #dealerNav .nav-link.is-active {
    color: var(--horizon-blue);
}

.template-evergreen #dealerNav .btn-dealer {
    display: none;
}

.template-evergreen .horizon-header-tools {
    display: flex;
    align-items: center;
    gap: 1.65rem;
    flex: 0 0 auto;
}

.template-evergreen .horizon-header-contact {
    display: flex;
    align-items: center;
    max-width: 225px;
    gap: .72rem;
    color: var(--horizon-ink);
    text-decoration: none;
}

.template-evergreen .horizon-header-contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--horizon-soft);
    color: var(--horizon-blue);
}

.template-evergreen .horizon-header-contact-icon svg {
    width: 20px;
    height: 20px;
}

.template-evergreen .horizon-header-contact > span:last-child {
    display: grid;
    line-height: 1.15;
}

.template-evergreen .horizon-header-contact small {
    color: #62728a;
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
}

.template-evergreen .horizon-header-contact strong {
    margin-top: .25rem;
    font-size: .86rem;
    line-height: 1.3;
}

.template-evergreen .horizon-header-address {
    max-width: 260px;
}

.template-evergreen .dealer-hero-public {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--horizon-ink);
}

.template-evergreen .dealer-hero-slide {
    min-height: clamp(350px, 31vw, 505px);
    padding: 0;
}

.template-evergreen .dealer-hero-slide::before,
.template-evergreen .dealer-hero-slide::after,
.template-evergreen .dealer-hero-public::after {
    display: none;
}

.template-evergreen .dealer-hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    filter: none;
}

.template-evergreen .dealer-hero-slide > .container {
    display: none;
}

.template-evergreen .horizon-home-search-section {
    position: relative;
    z-index: 4;
    padding: 0 !important;
    margin-top: -43px;
}

.template-evergreen .horizon-home-search-section > .container {
    max-width: min(1536px, calc(100% - 64px));
}

.template-evergreen .dealer-home-search {
    position: relative;
    display: block;
    min-height: 170px;
    padding: 16px 22px 16px 261px;
    border: 1px solid rgba(8, 47, 100, .12);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--horizon-shadow);
}

.template-evergreen .dealer-home-search-tabs {
    position: absolute;
    inset: 12px auto 12px 12px;
    display: grid;
    width: 223px;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--horizon-navy) 72%, var(--horizon-blue)), color-mix(in srgb, var(--horizon-navy) 80%, #020617));
}

.template-evergreen .dealer-home-search-tabs a {
    position: relative;
    display: flex;
    min-height: 66px;
    align-items: center;
    padding: 1rem 1.05rem 1rem 3.45rem;
    color: #fff;
    font-size: .81rem;
    font-weight: 750;
    text-decoration: none;
    text-transform: uppercase;
}

.template-evergreen .dealer-home-search-tabs a::before {
    position: absolute;
    left: 1.15rem;
    width: 21px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
}

.template-evergreen .dealer-home-search-tabs a::after {
    position: absolute;
    right: 1.05rem;
    bottom: 0;
    left: 3.45rem;
    height: 1px;
    background: rgba(255,255,255,.24);
    content: "";
}

.template-evergreen .dealer-home-search-tabs a:last-child::before {
    border-radius: 3px;
    transform: rotate(45deg) scale(.85);
}

.template-evergreen .dealer-home-search-tabs a:last-child::after {
    display: none;
}

.template-evergreen .dealer-home-search-header {
    margin: 0 0 .75rem !important;
}

.template-evergreen .dealer-home-search-copy {
    text-align: left;
}

.template-evergreen .dealer-home-search-copy > p {
    display: none;
}

.template-evergreen .dealer-home-search-copy h2 {
    margin: 0 !important;
    color: var(--horizon-ink);
    font-size: clamp(1.15rem, 1.45vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.template-evergreen .dealer-home-search-actions,
.template-evergreen .dealer-range-error {
    display: none !important;
}

.template-evergreen .dealer-home-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(110px, .85fr) minmax(145px, .95fr);
    align-items: start !important;
    gap: 10px !important;
    margin: 0 !important;
}

.template-evergreen .dealer-home-search-grid > * {
    width: auto;
    max-width: none;
    padding: 0;
}

.template-evergreen .dealer-home-search .form-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.template-evergreen .dealer-home-search .form-control,
.template-evergreen .dealer-home-search .form-select,
.template-evergreen .dealer-home-search .btn {
    min-height: 48px;
    border-radius: 5px;
    font-size: .84rem;
}

.template-evergreen .dealer-home-search .form-control,
.template-evergreen .dealer-home-search .form-select {
    border-color: #cfd9e6;
    color: var(--horizon-ink);
    box-shadow: none;
}

.template-evergreen .dealer-home-search .form-control:focus,
.template-evergreen .dealer-home-search .form-select:focus {
    border-color: var(--horizon-blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--horizon-blue) 18%, transparent);
}

.template-evergreen .dealer-home-search .btn-dealer {
    border-color: var(--horizon-navy);
    background: var(--horizon-navy);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.template-evergreen .dealer-home-keyword,
.template-evergreen .dealer-home-type,
.template-evergreen .dealer-home-year,
.template-evergreen .dealer-home-mode,
.template-evergreen .dealer-home-price-min,
.template-evergreen .dealer-home-monthly-min,
.template-evergreen .dealer-home-monthly-max,
.template-evergreen .dealer-home-location,
.template-evergreen .horizon-home-radius,
.template-evergreen .dealer-home-view-all {
    display: none !important;
}

.template-evergreen .dealer-home-make { grid-column: 1; }
.template-evergreen .dealer-home-model { grid-column: 2; }
.template-evergreen .dealer-home-body { grid-column: 3; }
.template-evergreen .dealer-home-price { grid-column: 4; }
.template-evergreen .horizon-home-zip { grid-column: 5; }
.template-evergreen .dealer-home-submit { grid-column: 6; }

.template-evergreen .horizon-home-advanced {
    grid-column: 1 / -1;
    text-align: center;
}

.template-evergreen .horizon-home-advanced a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    color: var(--horizon-blue);
    font-size: .81rem;
    font-weight: 750;
    text-decoration: none;
}

.template-evergreen .dealer-body-style-section {
    padding: 1.2rem 0 1rem !important;
    background: #fff;
}

.template-evergreen .dealer-body-style-section > .container {
    max-width: min(1536px, calc(100% - 64px));
}

.template-evergreen .dealer-body-style-section > .container > .d-flex {
    display: none !important;
}

.template-evergreen .dealer-body-style-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.template-evergreen .dealer-body-style-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 210px;
    grid-template-rows: 1fr auto auto;
    padding: 15px 17px 13px;
    overflow: hidden;
    border: 1px solid var(--horizon-line);
    border-radius: 10px;
    background: #fff;
    color: var(--horizon-ink);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.template-evergreen .dealer-body-style-card:hover {
    border-color: color-mix(in srgb, var(--horizon-blue) 48%, var(--horizon-line));
    box-shadow: 0 14px 30px rgba(8, 47, 100, .1);
    transform: translateY(-2px);
}

.template-evergreen .dealer-body-style-image-wrap {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    order: 2;
}

.template-evergreen .dealer-body-style-image-wrap img {
    width: 94%;
    height: 105px;
    object-fit: contain;
    filter: saturate(.95) contrast(1.05);
}

.template-evergreen .dealer-body-style-label {
    order: 1;
    font-size: .98rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .dealer-body-style-count {
    position: absolute;
    top: 38px;
    left: 17px;
    color: var(--horizon-blue);
    font-size: .76rem;
    font-weight: 750;
}

.template-evergreen .horizon-body-style-link {
    order: 3;
    color: var(--horizon-blue);
    font-size: .77rem;
    font-weight: 750;
    text-align: center;
}

.template-evergreen .horizon-benefits {
    padding: 0 0 1rem;
    background: #fff;
}

.template-evergreen .horizon-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 16px 20px;
    border-radius: 9px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--horizon-soft) 76%, #fff), var(--horizon-soft));
}

.template-evergreen .horizon-benefits article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    padding: 0 24px;
    border-right: 1px solid #d9e2ed;
}

.template-evergreen .horizon-benefits article:last-child {
    border-right: 0;
}

.template-evergreen .horizon-benefit-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: var(--horizon-blue);
}

.template-evergreen .horizon-benefit-icon svg {
    width: 36px;
    height: 36px;
}

.template-evergreen .horizon-benefits article > span:last-child,
.template-evergreen .horizon-action-band article > span {
    display: grid;
}

.template-evergreen .horizon-benefits strong,
.template-evergreen .horizon-action-band strong {
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .horizon-benefits small,
.template-evergreen .horizon-action-band small {
    margin-top: .25rem;
    color: #596980;
    font-size: .74rem;
    line-height: 1.45;
}

.template-evergreen .horizon-action-band {
    padding: 0 0 1.5rem;
    background: #fff;
}

.template-evergreen .horizon-action-grid {
    display: grid;
    grid-template-columns: 2.1fr .95fr;
    gap: 14px;
}

.template-evergreen .horizon-action-grid article {
    display: flex;
    min-height: 84px;
    align-items: center;
    border-radius: 9px;
}

.template-evergreen .horizon-test-drive {
    gap: 1.1rem;
    padding: 15px 26px;
    background: linear-gradient(110deg, color-mix(in srgb, var(--horizon-navy) 78%, var(--horizon-blue)), color-mix(in srgb, var(--horizon-navy) 84%, #020617));
    color: #fff;
}

.template-evergreen .horizon-action-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

.template-evergreen .horizon-action-icon svg {
    width: 28px;
    height: 28px;
}

.template-evergreen .horizon-test-drive small {
    color: rgba(255, 255, 255, .78);
}

.template-evergreen .horizon-test-drive .btn {
    min-width: 195px;
    min-height: 48px;
    margin-left: auto;
    border-color: #fff;
    border-radius: 5px;
    color: var(--horizon-blue);
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .horizon-question {
    justify-content: space-between;
    gap: 1rem;
    padding: 15px 26px;
    background: var(--horizon-soft);
}

.template-evergreen .horizon-question a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--horizon-ink);
    font-size: 1rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.template-evergreen .horizon-question a svg {
    width: 22px;
    height: 22px;
    color: var(--horizon-blue);
}

.template-evergreen .btn-dealer,
.template-evergreen .btn-primary,
.template-evergreen .dealer-mobile-actions a {
    border-color: var(--horizon-navy);
    background: var(--horizon-navy);
    color: #fff;
}

.template-evergreen[data-template-buttons="square"] .btn,
.template-evergreen[data-template-buttons="square"] .dealer-mobile-actions a {
    border-radius: 2px;
}

.template-evergreen .dealer-vehicle-card,
.template-evergreen .dealer-module-card,
.template-evergreen .dealer-content-card,
.template-evergreen .dealer-detail-panel,
.template-evergreen .dealer-lead-panel,
.template-evergreen .dealer-filter-panel {
    border-color: var(--horizon-line);
    border-radius: 9px;
    background: #fff;
}

.template-evergreen[data-template-cards="shadow"] .dealer-vehicle-card,
.template-evergreen[data-template-cards="shadow"] .dealer-module-card,
.template-evergreen[data-template-cards="shadow"] .dealer-content-card {
    box-shadow: 0 14px 32px rgba(8, 32, 72, .09);
}

.template-evergreen .dealer-vehicle-card:hover,
.template-evergreen .dealer-module-card:hover,
.template-evergreen .dealer-content-card:hover {
    border-color: color-mix(in srgb, var(--horizon-blue) 42%, var(--horizon-line));
    box-shadow: 0 16px 36px rgba(8, 32, 72, .11);
}

.template-evergreen .dealer-band,
.template-evergreen .dealer-social-band {
    background: var(--horizon-soft);
}

.template-evergreen .dealer-footer {
    background: #06162e;
    color: #dce8f8;
}

.template-evergreen .dealer-footer a {
    color: #fff;
}

.template-evergreen :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--horizon-blue) 45%, #fff);
    outline-offset: 3px;
}

@media (max-width: 1399.98px) {
    .template-evergreen .container-fluid,
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .dealer-body-style-section > .container {
        width: calc(100% - 40px);
        max-width: none;
    }

    .template-evergreen .horizon-header-tools {
        gap: 1rem;
    }

    .template-evergreen .horizon-header-address {
        display: none;
    }

    .template-evergreen #dealerNav .nav-link {
        padding-inline: .42rem;
        font-size: .7rem;
    }

    .template-evergreen .dealer-home-search { padding-left: 221px; }

    .template-evergreen .dealer-home-search-tabs {
        width: 183px;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(4, minmax(105px, 1fr)) 100px 140px;
    }
}

@media (max-width: 1199.98px) {
    .template-evergreen .horizon-offer span,
    .template-evergreen .horizon-topbar-links a:first-child {
        display: none;
    }

    .template-evergreen .navbar-brand {
        width: 210px;
    }

    .template-evergreen .horizon-header-tools {
        display: none;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }

    .template-evergreen .dealer-home-make { grid-column: 1; }
    .template-evergreen .dealer-home-model { grid-column: 2; }
    .template-evergreen .dealer-home-body { grid-column: 3; }
    .template-evergreen .dealer-home-price { grid-column: 1; }
    .template-evergreen .horizon-home-zip { grid-column: 2; }
    .template-evergreen .dealer-home-submit { grid-column: 3; }
    .template-evergreen .dealer-home-search { min-height: 220px; }

    .template-evergreen .horizon-benefits article {
        padding-inline: 14px;
    }

    .template-evergreen .horizon-benefit-icon {
        width: 40px;
        flex-basis: 40px;
    }
}

@media (max-width: 991.98px) {
    .template-evergreen .container-fluid,
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .dealer-body-style-section > .container {
        width: calc(100% - 30px);
    }

    .template-evergreen .horizon-topbar-links {
        gap: 1rem;
    }

    .template-evergreen .dealer-navbar {
        min-height: 76px;
    }

    .template-evergreen .dealer-logo {
        max-height: 54px;
    }

    .template-evergreen .horizon-header-container {
        flex-wrap: wrap;
    }

    .template-evergreen #dealerNav {
        flex-basis: 100%;
        padding: .75rem 0;
        border-top: 1px solid var(--horizon-line);
    }

    .template-evergreen #dealerNav .navbar-nav {
        align-items: stretch !important;
    }

    .template-evergreen #dealerNav .nav-link {
        min-height: 44px;
        padding: .72rem;
        font-size: .83rem;
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 340px;
    }

    .template-evergreen .dealer-home-search { padding-left: 196px; }

    .template-evergreen .dealer-home-search-tabs {
        width: 158px;
    }

    .template-evergreen .dealer-home-search-tabs a {
        padding-left: 2.65rem;
        font-size: .68rem;
    }

    .template-evergreen .dealer-home-search-tabs a::before {
        left: .75rem;
    }

    .template-evergreen .dealer-body-style-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .template-evergreen .horizon-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .template-evergreen .horizon-benefits article:nth-child(2) {
        border-right: 0;
    }

    .template-evergreen .horizon-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .template-evergreen .horizon-topbar-inner {
        min-height: 28px;
    }

    .template-evergreen .horizon-topbar-links {
        display: none;
    }

    .template-evergreen .horizon-offer {
        width: 100%;
        justify-content: center;
    }

    .template-evergreen .horizon-offer span {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .template-evergreen .navbar-brand {
        width: auto;
        max-width: calc(100% - 70px);
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 280px;
    }

    .template-evergreen .dealer-hero-background {
        object-position: 64% center;
    }

    .template-evergreen .horizon-home-search-section {
        margin-top: -24px;
    }

    .template-evergreen .dealer-home-search {
        display: block;
        min-height: 0;
        padding: 92px 15px 15px;
    }

    .template-evergreen .dealer-home-search-tabs {
        inset: 10px 10px auto;
        display: grid;
        width: auto;
        height: 66px;
        grid-template-columns: 1fr 1fr;
    }

    .template-evergreen .dealer-home-search-tabs a {
        min-height: 66px;
        justify-content: center;
        padding: .75rem .75rem .75rem 2.6rem;
        text-align: center;
    }

    .template-evergreen .dealer-home-search-tabs a::after {
        inset: 13px 0 13px auto;
        width: 1px;
        height: auto;
    }

    .template-evergreen .dealer-home-search-header {
        margin-bottom: .7rem !important;
        text-align: center;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .dealer-home-make,
    .template-evergreen .dealer-home-model,
    .template-evergreen .dealer-home-body,
    .template-evergreen .dealer-home-price,
    .template-evergreen .horizon-home-zip,
    .template-evergreen .dealer-home-submit {
        grid-column: auto;
    }

    .template-evergreen .horizon-home-advanced {
        grid-column: 1 / -1;
    }

    .template-evergreen .dealer-body-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .dealer-body-style-card {
        min-height: 190px;
    }

    .template-evergreen .horizon-benefits-grid {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

    .template-evergreen .horizon-benefits article,
    .template-evergreen .horizon-benefits article:nth-child(2) {
        padding: 0 18px 18px;
        border-right: 0;
        border-bottom: 1px solid var(--horizon-line);
    }

    .template-evergreen .horizon-benefits article:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .template-evergreen .horizon-test-drive {
        flex-wrap: wrap;
    }

    .template-evergreen .horizon-test-drive .btn {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .template-evergreen .container-fluid,
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .dealer-body-style-section > .container {
        width: calc(100% - 20px);
    }

    .template-evergreen .horizon-offer {
        font-size: .69rem;
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 240px;
    }

    .template-evergreen .dealer-body-style-grid {
        gap: 10px;
    }

    .template-evergreen .dealer-body-style-card {
        min-height: 170px;
        padding-inline: 12px;
    }

    .template-evergreen .dealer-body-style-image-wrap {
        min-height: 90px;
    }

    .template-evergreen .dealer-body-style-image-wrap img {
        height: 82px;
    }

    .template-evergreen .dealer-body-style-label {
        font-size: .82rem;
    }

    .template-evergreen .dealer-body-style-count {
        left: 12px;
        font-size: .68rem;
    }

    .template-evergreen .horizon-question {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

/* Coastal template composition */
.dealer-public.template-evergreen {
    --horizon-navy: var(--dealer-primary, #052f37);
    --horizon-blue: var(--dealer-accent, #18b8ae);
    --horizon-ink: var(--dealer-template-ink, #0b2631);
    --horizon-muted: #5f7379;
    --horizon-line: #d7e3e5;
    --horizon-soft: var(--dealer-template-muted, #f1f7f7);
    background: #fff;
}

.template-evergreen .dealer-topbar {
    min-height: 42px;
    padding-block: 0 !important;
    background: linear-gradient(90deg, #031d24, color-mix(in srgb, var(--horizon-navy) 90%, #020b0f));
    color: #fff;
}

.template-evergreen .coastal-topbar-inner,
.template-evergreen .coastal-topbar-details,
.template-evergreen .coastal-topbar-connect {
    display: flex;
    align-items: center;
}

.template-evergreen .coastal-topbar-inner {
    min-height: 42px;
    justify-content: space-between;
    gap: 24px;
}

.template-evergreen .coastal-topbar-details,
.template-evergreen .coastal-topbar-connect {
    gap: 24px;
}

.template-evergreen .coastal-topbar-details a,
.template-evergreen .coastal-topbar-connect a {
    color: #edfafa;
    font-size: .76rem;
    font-weight: 620;
    text-decoration: none;
}

.template-evergreen .coastal-topbar-details a::before {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    place-items: center;
    color: var(--horizon-blue);
    content: "\2022";
}

.template-evergreen .coastal-topbar-details a:last-child::before { content: "\25F7"; }
.template-evergreen .coastal-topbar-connect .coastal-topbar-phone { font-size: .84rem; font-weight: 800; }
.template-evergreen .coastal-topbar-connect .coastal-topbar-phone::before { margin-right: 8px; color: var(--horizon-blue); content: "\260E"; }

.template-evergreen .dealer-navbar {
    min-height: 94px;
    background: rgba(255,255,255,.98);
}

.template-evergreen .navbar-brand {
    width: min(300px, 23vw);
    justify-content: flex-start;
}

.template-evergreen .dealer-logo { max-width: 260px; max-height: 74px; }
.template-evergreen #dealerNav .nav-link { color: var(--horizon-ink); font-size: .75rem; font-weight: 780; }
.template-evergreen #dealerNav > ul > .nav-item:last-of-type .btn-dealer { display: none; }

.template-evergreen .coastal-header-cta {
    min-width: 176px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-width: 1.5px;
    border-color: var(--horizon-blue);
    color: color-mix(in srgb, var(--horizon-blue) 82%, #06343a);
    background: transparent;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.template-evergreen .coastal-header-cta:hover,
.template-evergreen .coastal-header-cta:focus-visible {
    border-color: var(--horizon-blue);
    background: var(--horizon-blue);
    color: #fff;
}

.template-evergreen .dealer-hero-slide {
    min-height: 455px;
    isolation: isolate;
}

.template-evergreen .dealer-hero-slide::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(2,20,24,.94) 0%, rgba(2,20,24,.72) 29%, rgba(2,20,24,.18) 56%, transparent 78%);
    content: "";
}

.template-evergreen .dealer-hero-background {
    z-index: -2;
    object-position: center center;
}

.template-evergreen .dealer-hero-slide > .container {
    display: block;
    width: min(100% - 64px, 1320px);
    padding-top: 70px !important;
    padding-bottom: 96px !important;
}

.template-evergreen .dealer-hero-slide .row { min-height: 290px; }
.template-evergreen .dealer-hero-slide .col-lg-7 { max-width: 560px; }

.template-evergreen .dealer-hero-slide h1 {
    max-width: 490px;
    color: #fff;
    font-size: clamp(3rem, 4.5vw, 4.8rem);
    font-weight: 850 !important;
    letter-spacing: -.055em;
    line-height: .98;
    text-shadow: 0 3px 24px rgba(0,0,0,.28);
}

.template-evergreen .dealer-hero-slide .lead {
    max-width: 470px;
    color: #f4fbfb;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.6;
    white-space: pre-line;
}

.template-evergreen .dealer-hero-slide .btn-light {
    min-width: 224px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: var(--horizon-blue);
    background: var(--horizon-blue);
    color: #fff;
    font-size: .82rem;
    font-weight: 820;
    text-transform: uppercase;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--horizon-blue) 25%, transparent);
}

.template-evergreen .dealer-hero-slide .btn-outline-light { display: none; }

.template-evergreen .horizon-home-search-section {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.template-evergreen .horizon-home-search-section > .container {
    width: min(100% - 64px, 1320px);
}

.template-evergreen .dealer-home-search {
    min-height: 118px;
    padding: 20px 20px 20px 258px;
    border: 1px solid color-mix(in srgb, var(--horizon-blue) 35%, #0b3a42);
    border-radius: 10px;
    background: linear-gradient(100deg, #062c34, color-mix(in srgb, var(--horizon-navy) 86%, #06171c));
    box-shadow: 0 20px 38px rgba(3,30,36,.2);
}

.template-evergreen .dealer-home-search-tabs {
    inset: 0 auto 0 0;
    width: 238px;
    border-radius: 9px 0 0 9px;
    background: rgba(3,34,41,.72);
    clip-path: none;
}

.template-evergreen .dealer-home-search-tabs a:first-child {
    min-height: 116px;
    padding: 16px 18px 16px 72px;
    color: #fff;
    font-size: 1rem;
    font-weight: 820;
    line-height: 1.15;
    text-transform: uppercase;
}

.template-evergreen .dealer-home-search-tabs a:first-child::before {
    left: 24px;
    width: 32px;
    height: 32px;
    border-width: 3px;
    border-color: var(--horizon-blue);
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--horizon-blue) 10%, transparent);
}

.template-evergreen .dealer-home-search-grid { gap: 14px !important; }

.template-evergreen .dealer-home-search .dealer-home-make,
.template-evergreen .dealer-home-search .dealer-home-model,
.template-evergreen .dealer-home-search .dealer-home-body,
.template-evergreen .dealer-home-search .dealer-home-price {
    min-width: 0;
    padding: 7px 11px 5px;
    border: 1px solid #dfe9ea;
    border-radius: 5px;
    background: #fff;
}

.template-evergreen .dealer-home-search .form-label {
    margin: 0;
    color: #31464d;
    font-size: .64rem;
    line-height: 1;
}

.template-evergreen .dealer-home-search .form-select {
    min-height: 30px;
    padding: 3px 30px 3px 0;
    border: 0;
    background-color: transparent;
    color: var(--horizon-ink);
    font-size: .78rem;
    box-shadow: none;
}

.template-evergreen .dealer-home-search .dealer-home-submit { padding: 0; background: transparent; }
.template-evergreen .dealer-home-search .btn-dealer { min-height: 58px; border-radius: 5px; text-transform: uppercase; }

.template-evergreen .horizon-benefits {
    padding: 28px 0 18px;
}

.template-evergreen .horizon-benefits-grid {
    width: min(100% - 64px, 1320px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.template-evergreen .horizon-benefits article,
.template-evergreen .horizon-benefits article:last-child {
    min-height: 92px;
    padding: 12px 28px;
    border: 0;
    border-right: 1px solid var(--horizon-line);
    border-radius: 0;
}

.template-evergreen .horizon-benefits article:last-child { border-right: 0; }

.template-evergreen .horizon-benefit-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--horizon-blue) 11%, #fff);
    color: var(--horizon-blue);
}

.template-evergreen .horizon-benefit-icon svg { width: 28px; height: 28px; }

.template-evergreen .dealer-body-style-section { padding: 8px 0 24px !important; }
.template-evergreen .dealer-body-style-section > .container { width: min(100% - 64px, 1320px); }
.template-evergreen .dealer-body-style-section > .container > .d-flex { display: none !important; }

.template-evergreen .dealer-body-style-grid {
    grid-template-columns: 232px repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.template-evergreen .coastal-body-style-intro {
    position: relative;
    display: flex;
    min-height: 220px;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
    border-radius: 8px;
    background: radial-gradient(circle at 115% 50%, transparent 0 31%, rgba(24,184,174,.16) 31.5% 32%, transparent 32.5% 42%, rgba(24,184,174,.12) 42.5% 43%, transparent 43.5%), linear-gradient(140deg, #07343c, #05272e);
    color: #fff;
    text-decoration: none;
}

.template-evergreen .coastal-body-style-intro small,
.template-evergreen .coastal-body-style-intro b {
    color: var(--horizon-blue);
    font-size: .69rem;
    font-weight: 800;
    text-transform: uppercase;
}

.template-evergreen .coastal-body-style-intro strong {
    max-width: 180px;
    margin: 10px 0;
    font-size: 1.7rem;
    line-height: 1.05;
}

.template-evergreen .coastal-body-style-intro span { max-width: 175px; font-size: .8rem; line-height: 1.55; }
.template-evergreen .coastal-body-style-intro b { margin-top: 20px; }

.template-evergreen .dealer-body-style-card {
    min-height: 220px;
    border-radius: 8px;
    padding: 16px 12px;
}

.template-evergreen .dealer-body-style-image-wrap { min-height: 118px; }
.template-evergreen .dealer-body-style-image-wrap img { width: 100%; height: 110px; object-fit: contain; }
.template-evergreen .dealer-body-style-count { color: #52656b; }

.template-evergreen .horizon-body-style-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    color: var(--horizon-blue);
    font-size: .69rem;
    font-weight: 800;
    text-transform: uppercase;
}

.template-evergreen .horizon-action-band { padding: 0 0 32px; }
.template-evergreen .horizon-action-grid { width: min(100% - 64px, 1320px); grid-template-columns: 1fr 1fr; gap: 0; }
.template-evergreen .horizon-test-drive,
.template-evergreen .horizon-question {
    min-height: 112px;
    padding: 22px 40px;
    border: 0;
    background: linear-gradient(120deg, #0b6f76, color-mix(in srgb, var(--horizon-blue) 65%, #08717a));
    color: #fff;
}

.template-evergreen .horizon-test-drive { border-radius: 8px 0 0 8px; }
.template-evergreen .horizon-question { border-radius: 0 8px 8px 0; }
.template-evergreen .horizon-action-icon { border: 2px solid color-mix(in srgb, var(--horizon-blue) 80%, #fff); background: transparent; }
.template-evergreen .horizon-question strong,
.template-evergreen .horizon-question small { color: #fff; }
.template-evergreen .horizon-test-drive .btn,
.template-evergreen .horizon-question a { border-color: #fff; background: #fff; color: var(--horizon-ink); }
.template-evergreen .dealer-footer { background: #031f26; }

.template-evergreen :is(a, button, input, select):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--horizon-blue) 62%, #fff);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .template-evergreen .dealer-navbar { min-height: 82px; }
    .template-evergreen .coastal-header-cta { min-width: 145px; }
    .template-evergreen .dealer-home-search { min-height: 178px; padding-left: 220px; }
    .template-evergreen .dealer-home-search-tabs { width: 200px; }
    .template-evergreen .dealer-home-search-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
    .template-evergreen .dealer-home-submit { grid-column: 1 / -1; }
    .template-evergreen .dealer-body-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .template-evergreen .coastal-body-style-intro { grid-row: span 1; }
    .template-evergreen .horizon-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .template-evergreen .horizon-benefits article:nth-child(2) { border-right: 0; }
}

@media (max-width: 991.98px) {
    .template-evergreen .coastal-header-tools { display: none; }
    .template-evergreen .dealer-hero-slide { min-height: 420px; }
    .template-evergreen .dealer-hero-slide > .container { width: min(100% - 40px, 720px); }
    .template-evergreen .dealer-hero-slide h1 { max-width: 430px; }
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .horizon-benefits-grid,
    .template-evergreen .dealer-body-style-section > .container,
    .template-evergreen .horizon-action-grid { width: min(100% - 32px, 820px); }
}

@media (max-width: 767.98px) {
    .template-evergreen .dealer-topbar { display: none; }
    .template-evergreen .dealer-navbar { min-height: 72px; }
    .template-evergreen .navbar-brand { width: min(220px, 58vw); }
    .template-evergreen .dealer-logo { max-height: 58px; }
    .template-evergreen .dealer-hero-slide { min-height: 390px; }
    .template-evergreen .dealer-hero-slide::after { background: linear-gradient(90deg, rgba(2,20,24,.91), rgba(2,20,24,.62) 72%, rgba(2,20,24,.28)); }
    .template-evergreen .dealer-hero-slide > .container { width: calc(100% - 32px); padding-top: 52px !important; padding-bottom: 92px !important; }
    .template-evergreen .dealer-hero-slide h1 { max-width: 360px; font-size: clamp(2.7rem, 13vw, 4rem); }
    .template-evergreen .horizon-home-search-section { margin-top: -52px; }
    .template-evergreen .dealer-home-search { padding: 88px 14px 14px; }
    .template-evergreen .dealer-home-search-tabs { inset: 0 0 auto; width: 100%; height: 72px; grid-template-columns: 1fr; border-radius: 9px 9px 0 0; }
    .template-evergreen .dealer-home-search-tabs a:first-child { min-height: 72px; justify-content: center; padding: 12px 16px 12px 54px; }
    .template-evergreen .dealer-home-search-tabs a:first-child::before { left: calc(50% - 126px); width: 26px; height: 26px; }
    .template-evergreen .dealer-home-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .template-evergreen .horizon-benefits-grid { grid-template-columns: 1fr; }
    .template-evergreen .horizon-benefits article,
    .template-evergreen .horizon-benefits article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--horizon-line); }
    .template-evergreen .dealer-body-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .template-evergreen .coastal-body-style-intro { grid-column: 1 / -1; min-height: 190px; }
    .template-evergreen .horizon-action-grid { grid-template-columns: 1fr; }
    .template-evergreen .horizon-test-drive,
    .template-evergreen .horizon-question { border-radius: 8px; padding: 22px; }
}

@media (max-width: 575.98px) {
    .template-evergreen .dealer-hero-slide .btn-light { width: 100%; }
    .template-evergreen .dealer-home-search-grid { grid-template-columns: 1fr; }
    .template-evergreen .dealer-home-submit { grid-column: auto; }
    .template-evergreen .dealer-body-style-grid { grid-template-columns: 1fr; }
    .template-evergreen .coastal-body-style-intro { grid-column: auto; }
    .template-evergreen .dealer-body-style-card { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    .template-evergreen *,
    .template-evergreen *::before,
    .template-evergreen *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Heritage-specific navy/orange dealership presentation. */
.template-evergreen .dealer-topbar {
    padding-block: .5rem !important;
    background: linear-gradient(90deg, color-mix(in srgb, var(--horizon-navy) 88%, #020617), var(--horizon-navy));
    color: #fff;
}

.template-evergreen .horizon-topbar-inner {
    min-height: 28px;
    justify-content: flex-end;
}

.template-evergreen .horizon-offer {
    display: none;
}

.template-evergreen .horizon-topbar-links a {
    color: #fff;
    font-size: .74rem;
    font-weight: 750;
    text-transform: uppercase;
}

.template-evergreen .horizon-topbar-links a:hover {
    color: var(--horizon-blue);
}

.template-evergreen .dealer-navbar {
    min-height: 102px;
}

.template-evergreen .horizon-header-contact-icon {
    background: color-mix(in srgb, var(--horizon-blue) 13%, #fff);
    color: var(--horizon-blue);
}

.template-evergreen .dealer-hero-slide {
    min-height: clamp(360px, 31vw, 500px);
}

.template-evergreen .dealer-hero-background {
    object-position: center 54%;
}

.template-evergreen .horizon-home-search-section {
    margin-top: -52px;
}

.template-evergreen .dealer-home-search {
    min-height: 118px;
    padding: 18px 20px 18px 294px;
    border-radius: 11px;
}

.template-evergreen .dealer-home-search-tabs {
    inset: 0 auto 0 0;
    width: 266px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(110deg, color-mix(in srgb, var(--horizon-navy) 87%, #020617), var(--horizon-navy));
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}

.template-evergreen .dealer-home-search-tabs a:first-child {
    min-height: 118px;
    padding: 1rem 2.5rem 1rem 4.6rem;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.22;
}

.template-evergreen .dealer-home-search-tabs a:first-child::before {
    left: 1.8rem;
    width: 29px;
    height: 29px;
    border-width: 3px;
    border-color: var(--horizon-blue);
}

.template-evergreen .dealer-home-search-tabs a:first-child::after,
.template-evergreen .dealer-home-search-tabs a:last-child,
.template-evergreen .dealer-home-search-header,
.template-evergreen .horizon-home-zip,
.template-evergreen .horizon-home-radius,
.template-evergreen .horizon-home-advanced {
    display: none !important;
}

.template-evergreen .dealer-home-search-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(155px, .95fr);
    align-items: end !important;
    gap: 16px !important;
}

.template-evergreen .dealer-home-make { grid-column: 1; }
.template-evergreen .dealer-home-model { grid-column: 2; }
.template-evergreen .dealer-home-body { grid-column: 3; }
.template-evergreen .dealer-home-price { grid-column: 4; }
.template-evergreen .dealer-home-submit { grid-column: 5; }

.template-evergreen .dealer-home-search .form-label {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: .35rem;
    overflow: visible !important;
    clip: auto !important;
    color: var(--horizon-ink);
    font-size: .7rem;
    font-weight: 750;
    white-space: normal !important;
}

.template-evergreen .dealer-home-search .form-control,
.template-evergreen .dealer-home-search .form-select,
.template-evergreen .dealer-home-search .btn {
    min-height: 46px;
}

.template-evergreen .dealer-home-search .btn-dealer,
.template-evergreen .horizon-test-drive .btn {
    border-color: var(--horizon-blue);
    background: var(--horizon-blue);
    color: #fff;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--horizon-blue) 22%, transparent);
}

.template-evergreen .horizon-benefits {
    padding: 2rem 0 1.25rem;
}

.template-evergreen .horizon-benefits-grid {
    gap: 14px;
    padding: 0;
    background: transparent;
}

.template-evergreen .horizon-benefits article {
    min-height: 96px;
    padding: 16px 22px;
    border: 1px solid var(--horizon-line);
    border-radius: 9px;
    background: #fff;
}

.template-evergreen .horizon-benefits article:last-child {
    border-right: 1px solid var(--horizon-line);
}

.template-evergreen .horizon-benefit-icon {
    color: var(--horizon-blue);
}

.template-evergreen .dealer-body-style-section {
    padding: 1rem 0 1.5rem !important;
}

.template-evergreen .dealer-body-style-section > .container > .d-flex {
    display: flex !important;
    margin-bottom: 1rem !important;
}

.template-evergreen .dealer-body-style-section h2 {
    position: relative;
    padding-bottom: .6rem;
    color: var(--horizon-ink);
    font-size: 1.3rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .dealer-body-style-section h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--horizon-blue);
    content: "";
}

.template-evergreen .dealer-body-style-view-all {
    color: var(--horizon-blue);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.template-evergreen .dealer-body-style-card {
    min-height: 174px;
    grid-template-rows: 1fr auto auto;
    padding: 12px 14px 14px;
}

.template-evergreen .dealer-body-style-image-wrap {
    min-height: 102px;
    order: 1;
}

.template-evergreen .dealer-body-style-image-wrap img {
    height: 96px;
}

.template-evergreen .dealer-body-style-label {
    order: 2;
    text-align: center;
}

.template-evergreen .dealer-body-style-count {
    position: static;
    order: 3;
    color: #596980;
    text-align: center;
}

.template-evergreen .horizon-body-style-link {
    display: none;
}

.template-evergreen .horizon-action-band {
    padding-top: .25rem;
}

.template-evergreen .horizon-test-drive {
    background: linear-gradient(110deg, color-mix(in srgb, var(--horizon-navy) 90%, #020617), var(--horizon-navy));
}

.template-evergreen .horizon-action-icon {
    background: var(--horizon-blue);
}

.template-evergreen .horizon-question {
    border: 1px solid var(--horizon-line);
    background: #f8fafc;
}

.template-evergreen .horizon-question a {
    min-height: 42px;
    justify-content: center;
    border: 1px solid var(--horizon-navy);
    border-radius: 5px;
    padding: .55rem 1rem;
    font-size: .76rem;
    text-transform: uppercase;
}

.template-evergreen .dealer-footer {
    background: #071a31;
}

@media (max-width: 1199.98px) {
    .template-evergreen .dealer-home-search {
        min-height: 190px;
        padding-left: 238px;
    }

    .template-evergreen .dealer-home-search-tabs {
        width: 214px;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .template-evergreen .dealer-home-make,
    .template-evergreen .dealer-home-model,
    .template-evergreen .dealer-home-body,
    .template-evergreen .dealer-home-price,
    .template-evergreen .dealer-home-submit {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .template-evergreen .dealer-topbar {
        display: none;
    }

    .template-evergreen .dealer-navbar {
        min-height: 76px;
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 260px;
    }

    .template-evergreen .dealer-hero-background {
        object-position: 52% center;
    }

    .template-evergreen .horizon-home-search-section {
        margin-top: -22px;
    }

    .template-evergreen .dealer-home-search {
        padding: 90px 15px 16px;
    }

    .template-evergreen .dealer-home-search-tabs {
        inset: 0 0 auto;
        width: 100%;
        height: 74px;
        grid-template-columns: 1fr;
        border-radius: 10px 10px 0 0;
        clip-path: none;
    }

    .template-evergreen .dealer-home-search-tabs a:first-child {
        min-height: 74px;
        justify-content: center;
        padding: .8rem 1rem .8rem 3.5rem;
        font-size: .94rem;
    }

    .template-evergreen .dealer-home-search-tabs a:first-child::before {
        left: calc(50% - 102px);
        width: 24px;
        height: 24px;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .dealer-home-submit {
        grid-column: 1 / -1;
    }

    .template-evergreen .horizon-benefits-grid {
        gap: 10px;
    }

    .template-evergreen .horizon-benefits article,
    .template-evergreen .horizon-benefits article:nth-child(2),
    .template-evergreen .horizon-benefits article:last-child {
        padding: 14px 16px;
        border: 1px solid var(--horizon-line);
    }
}

@media (max-width: 575.98px) {
    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: 1fr;
    }

    .template-evergreen .dealer-home-submit {
        grid-column: auto;
    }

    .template-evergreen .dealer-body-style-card {
        min-height: 156px;
    }
}

/* Evergreen: warm architectural showroom presentation. */
.dealer-public.template-evergreen {
    --dealer-theme-action: var(--dealer-accent, #8bab38);
    --dealer-theme-action-contrast: #fff;
    --dealer-template-surface: #fffdf9;
    --dealer-template-muted: #f6f3eb;
    --dealer-template-ink: #14241a;
    --horizon-navy: var(--dealer-primary, #173524);
    --horizon-blue: var(--dealer-accent, #8bab38);
    --horizon-ink: var(--dealer-template-ink, #14241a);
    --horizon-muted: #657066;
    --horizon-line: #e2e2d8;
    --horizon-soft: var(--dealer-template-muted, #f6f3eb);
    --horizon-shadow: 0 18px 44px rgba(26, 48, 33, .12);
    background:
        radial-gradient(circle at 12px 12px, color-mix(in srgb, var(--horizon-navy) 4%, transparent) 1px, transparent 1.5px) 0 0 / 28px 28px,
        var(--horizon-soft);
    color: var(--horizon-ink);
}

.template-evergreen .container,
.template-evergreen .container-fluid {
    width: min(100% - 64px, 1320px);
    max-width: none;
    margin-inline: auto;
}

.template-evergreen .dealer-topbar {
    display: none;
}

.template-evergreen .dealer-site-header {
    border-color: color-mix(in srgb, var(--horizon-navy) 14%, transparent) !important;
    background: color-mix(in srgb, var(--dealer-template-surface) 96%, transparent) !important;
    box-shadow: 0 1px 0 rgba(20, 36, 26, .06);
    backdrop-filter: blur(14px);
}

.template-evergreen .dealer-navbar {
    min-height: 94px;
    padding-block: 10px;
}

.template-evergreen .horizon-header-container {
    gap: 2rem;
}

.template-evergreen .navbar-brand {
    flex: 0 1 270px;
    min-width: 170px;
    margin-right: auto;
    color: var(--horizon-navy);
    font-weight: 850;
    letter-spacing: -.03em;
}

.template-evergreen .navbar-brand .dealer-logo {
    width: auto;
    max-width: 250px;
    height: 67px;
    max-height: 67px;
    object-fit: contain;
    object-position: left center;
}

.template-evergreen #dealerNav {
    flex-grow: 1;
}

.template-evergreen #dealerNav .navbar-nav {
    width: 100%;
    justify-content: center;
    gap: clamp(.08rem, .5vw, .55rem);
}

.template-evergreen .dealer-navbar .nav-link {
    padding: .68rem .58rem !important;
    color: var(--horizon-ink);
    font-size: .75rem;
    font-weight: 780;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.template-evergreen .dealer-navbar .nav-link:hover,
.template-evergreen .dealer-navbar .nav-link.is-active {
    color: var(--horizon-blue);
}

.template-evergreen .dealer-navbar .btn-dealer,
.template-evergreen .dealer-saved-nav-label {
    display: none;
}

.template-evergreen .dealer-saved-nav-link {
    position: relative;
    min-width: 36px;
    justify-content: center;
}

.template-evergreen .dealer-saved-nav-heart,
.template-evergreen .dealer-saved-nav-heart svg {
    width: 21px;
    height: 21px;
}

.template-evergreen .dealer-saved-nav-heart svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.template-evergreen .horizon-header-tools {
    flex: 0 0 245px;
    padding-left: 1.2rem;
    border-left: 1px solid var(--horizon-line);
}

.template-evergreen .horizon-header-contact {
    gap: .72rem;
    color: var(--horizon-ink);
}

.template-evergreen .horizon-header-contact-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
    background: color-mix(in srgb, var(--horizon-blue) 13%, var(--dealer-template-surface));
    color: var(--horizon-blue);
}

.template-evergreen .horizon-header-contact small {
    color: #68736a;
    font-size: .62rem;
    font-weight: 750;
    text-transform: uppercase;
}

.template-evergreen .horizon-header-contact strong {
    max-width: 190px;
    color: var(--horizon-ink);
    font-size: .82rem;
    line-height: 1.2;
}

.template-evergreen .horizon-header-address {
    display: none;
}

.template-evergreen .dealer-hero-slide {
    min-height: clamp(410px, 35vw, 530px);
    background: var(--horizon-navy);
}

.template-evergreen .dealer-hero-background {
    object-position: center center;
}

.template-evergreen .dealer-hero-slide::before {
    background: none;
}

.template-evergreen .dealer-hero-slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: linear-gradient(103deg,
        color-mix(in srgb, var(--horizon-navy) 96%, #020805) 0%,
        color-mix(in srgb, var(--horizon-navy) 91%, transparent) 29%,
        color-mix(in srgb, var(--horizon-navy) 47%, transparent) 38%,
        transparent 49%);
    content: "";
    pointer-events: none;
}

.template-evergreen .dealer-hero-slide > .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: inherit;
    padding-block: 52px 92px !important;
}

.template-evergreen .dealer-hero-slide .row {
    width: 100%;
    min-height: 0;
}

.template-evergreen .dealer-hero-slide .col-lg-7 {
    width: min(100%, 430px);
    max-width: 430px;
}

.template-evergreen .dealer-hero-slide p.text-uppercase {
    margin-bottom: .85rem !important;
    color: var(--horizon-blue);
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .09em;
}

.template-evergreen .dealer-hero-slide h1 {
    max-width: 410px;
    margin-bottom: 1rem !important;
    color: #fff;
    font-size: clamp(2.6rem, 4.2vw, 4.15rem);
    font-weight: 850 !important;
    line-height: .99;
    letter-spacing: -.045em;
}

.template-evergreen .dealer-hero-slide .lead {
    max-width: 395px;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    line-height: 1.65;
}

.template-evergreen .dealer-hero-slide .btn {
    min-height: 46px;
    border-radius: 4px;
    padding: .75rem 1.45rem;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.template-evergreen .dealer-hero-slide .btn-light {
    border-color: var(--horizon-blue);
    background: var(--horizon-blue);
    color: #fff;
}

.template-evergreen .dealer-hero-slide .btn-outline-light {
    display: inline-flex;
    border-color: rgba(255, 255, 255, .82);
    color: #fff;
}

.template-evergreen .dealer-hero-slide .btn-outline-light:hover {
    border-color: #fff;
    background: #fff;
    color: var(--horizon-navy);
}

.template-evergreen .horizon-home-search-section {
    position: relative;
    z-index: 4;
    margin-top: -50px;
    padding-block: 0 !important;
}

.template-evergreen .horizon-home-search-section > .container {
    width: min(100% - 64px, 1320px);
}

.template-evergreen .dealer-home-search {
    min-height: 110px;
    padding: 16px 18px 16px 275px;
    border: 1px solid rgba(25, 46, 31, .09);
    border-radius: 10px;
    background: var(--dealer-template-surface);
    box-shadow: var(--horizon-shadow);
}

.template-evergreen .dealer-home-search-tabs {
    inset: 0 auto 0 0;
    width: 245px;
    height: auto;
    border-radius: 9px 0 0 9px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--horizon-navy) 91%, #020805), var(--horizon-navy));
    clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
}

.template-evergreen .dealer-home-search-tabs a:first-child {
    min-height: 110px;
    justify-content: flex-start;
    padding: 1rem 2rem 1rem 4.4rem;
    color: #fff;
    font-size: .98rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.template-evergreen .dealer-home-search-tabs a:first-child::before {
    left: 1.65rem;
    width: 31px;
    height: 31px;
    border: 3px solid var(--horizon-blue);
}

.template-evergreen .dealer-home-search-tabs a:first-child::after,
.template-evergreen .dealer-home-search-tabs a:last-child,
.template-evergreen .dealer-home-search-header,
.template-evergreen .horizon-home-zip,
.template-evergreen .horizon-home-radius,
.template-evergreen .horizon-home-advanced,
.template-evergreen .dealer-home-view-all {
    display: none !important;
}

.template-evergreen .dealer-home-search-grid {
    grid-template-columns: repeat(4, minmax(110px, 1fr)) minmax(155px, .9fr);
    align-items: end !important;
    gap: 13px !important;
}

.template-evergreen .dealer-home-make { grid-column: 1; }
.template-evergreen .dealer-home-model { grid-column: 2; }
.template-evergreen .dealer-home-body { grid-column: 3; }
.template-evergreen .dealer-home-price { grid-column: 4; }
.template-evergreen .dealer-home-submit { grid-column: 5; }

.template-evergreen .dealer-home-search .form-label {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 .3rem !important;
    overflow: visible !important;
    clip: auto !important;
    color: var(--horizon-ink);
    font-size: .63rem;
    font-weight: 780;
    text-transform: uppercase;
    white-space: normal !important;
}

.template-evergreen .dealer-home-search .form-control,
.template-evergreen .dealer-home-search .form-select,
.template-evergreen .dealer-home-search .btn {
    min-height: 44px;
    border-radius: 4px;
}

.template-evergreen .dealer-home-search .form-control,
.template-evergreen .dealer-home-search .form-select {
    border-color: var(--horizon-line);
    background-color: #fff;
    color: var(--horizon-ink);
}

.template-evergreen .dealer-home-search .btn-dealer {
    border-color: var(--horizon-navy);
    background: var(--horizon-navy);
    color: #fff;
    box-shadow: none;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .horizon-benefits {
    padding: 2rem 0 1rem;
    background: transparent;
}

.template-evergreen .horizon-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.template-evergreen .horizon-benefits article,
.template-evergreen .horizon-benefits article:last-child {
    min-height: 82px;
    gap: 14px;
    padding: 12px 22px;
    border: 0;
    border-right: 1px solid var(--horizon-line);
    border-radius: 0;
    background: transparent;
}

.template-evergreen .horizon-benefits article:last-child {
    border-right: 0;
}

.template-evergreen .horizon-benefit-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--horizon-blue) 14%, #fff);
    color: var(--horizon-blue);
}

.template-evergreen .horizon-benefit-icon svg {
    width: 27px;
    height: 27px;
}

.template-evergreen .horizon-benefits strong {
    color: var(--horizon-ink);
    font-size: .72rem;
}

.template-evergreen .horizon-benefits small {
    margin-top: .3rem;
    color: #5e685f;
    font-size: .7rem;
    line-height: 1.45;
}

.template-evergreen .dealer-body-style-section {
    padding: 1.2rem 0 1.4rem !important;
}

.template-evergreen .dealer-body-style-section h2 {
    color: var(--horizon-ink);
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.template-evergreen .dealer-body-style-section h2::after {
    background: var(--horizon-blue);
}

.template-evergreen .dealer-body-style-view-all {
    color: var(--horizon-blue);
}

.template-evergreen .dealer-body-style-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.template-evergreen .dealer-body-style-card {
    min-height: 162px;
    grid-template-rows: 1fr auto auto;
    padding: 12px 18px 14px;
    border: 1px solid var(--horizon-line);
    border-radius: 8px;
    background: var(--dealer-template-surface);
    box-shadow: 0 8px 22px rgba(30, 51, 35, .04);
}

.template-evergreen .dealer-body-style-card:hover {
    border-color: color-mix(in srgb, var(--horizon-blue) 58%, var(--horizon-line));
    box-shadow: 0 14px 26px rgba(30, 51, 35, .1);
    transform: translateY(-3px);
}

.template-evergreen .dealer-body-style-image-wrap,
.template-evergreen .dealer-body-style-image-wrap img {
    min-height: 88px;
    height: 88px;
}

.template-evergreen .dealer-body-style-label,
.template-evergreen .dealer-body-style-count {
    text-align: left;
}

.template-evergreen .dealer-body-style-label {
    color: var(--horizon-ink);
    font-size: .8rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .dealer-body-style-count {
    color: #667168;
    font-size: .7rem;
}

.template-evergreen .horizon-body-style-link {
    display: block;
    position: absolute;
    right: 16px;
    bottom: 17px;
    width: 22px;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
}

.template-evergreen .horizon-body-style-link span {
    color: var(--horizon-blue);
    font-size: 1.5rem;
}

.template-evergreen .horizon-action-band {
    padding: 0 0 2rem;
}

.template-evergreen .horizon-action-grid {
    width: min(100% - 64px, 1320px);
    grid-template-columns: 1fr 1fr;
    gap: 1px;
}

.template-evergreen .horizon-test-drive,
.template-evergreen .horizon-question {
    min-height: 106px;
    padding: 20px 28px;
    border: 0;
    border-radius: 8px;
    color: #fff;
}

.template-evergreen .horizon-test-drive {
    border-radius: 8px 0 0 8px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--horizon-navy) 93%, transparent), color-mix(in srgb, var(--horizon-navy) 82%, transparent)),
        radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--horizon-blue) 20%, transparent), transparent 54%),
        var(--horizon-navy);
}

.template-evergreen .horizon-question {
    border-radius: 0 8px 8px 0;
    background: linear-gradient(110deg, #171c18, #080b09);
}

.template-evergreen .horizon-action-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--horizon-blue);
    color: #fff;
}

.template-evergreen .horizon-test-drive strong,
.template-evergreen .horizon-question strong {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
}

.template-evergreen .horizon-test-drive small,
.template-evergreen .horizon-question small {
    color: rgba(255, 255, 255, .76);
}

.template-evergreen .horizon-test-drive .btn,
.template-evergreen .horizon-question a {
    min-height: 42px;
    border-color: var(--horizon-blue);
    border-radius: 4px;
    background: var(--horizon-blue);
    color: #fff;
    box-shadow: none;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.template-evergreen .horizon-question a {
    border-color: rgba(255, 255, 255, .66);
    background: transparent;
}

.template-evergreen .dealer-footer {
    background: #0c1d12;
}

@media (max-width: 1199.98px) {
    .template-evergreen .container,
    .template-evergreen .container-fluid,
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .horizon-action-grid {
        width: min(100% - 40px, 1080px);
    }

    .template-evergreen .horizon-header-tools {
        display: none;
    }

    .template-evergreen .dealer-home-search {
        min-height: 176px;
        padding-left: 225px;
    }

    .template-evergreen .dealer-home-search-tabs {
        width: 205px;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .template-evergreen .dealer-home-make,
    .template-evergreen .dealer-home-model,
    .template-evergreen .dealer-home-body,
    .template-evergreen .dealer-home-price,
    .template-evergreen .dealer-home-submit {
        grid-column: auto;
    }

    .template-evergreen .dealer-home-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .template-evergreen .dealer-navbar {
        min-height: 78px;
    }

    .template-evergreen .navbar-brand .dealer-logo {
        height: 56px;
        max-height: 56px;
    }

    .template-evergreen #dealerNav .navbar-nav {
        align-items: stretch !important;
        gap: 0;
        padding: 1rem 0;
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 440px;
    }

    .template-evergreen .dealer-hero-slide::after {
        background: linear-gradient(95deg, rgba(9, 32, 19, .96), rgba(9, 32, 19, .72) 48%, rgba(9, 32, 19, .16) 76%);
    }

    .template-evergreen .horizon-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .horizon-benefits article:nth-child(2) {
        border-right: 0;
    }

    .template-evergreen .dealer-body-style-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .template-evergreen .container,
    .template-evergreen .container-fluid,
    .template-evergreen .horizon-home-search-section > .container,
    .template-evergreen .horizon-action-grid {
        width: calc(100% - 28px);
    }

    .template-evergreen .dealer-hero-slide {
        min-height: 410px;
    }

    .template-evergreen .dealer-hero-slide::after {
        background: linear-gradient(90deg, rgba(8, 29, 17, .97), rgba(8, 29, 17, .8) 63%, rgba(8, 29, 17, .43));
    }

    .template-evergreen .dealer-hero-slide > .container {
        width: calc(100% - 32px);
        padding-block: 44px 80px !important;
    }

    .template-evergreen .dealer-hero-slide h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .template-evergreen .horizon-home-search-section {
        margin-top: -30px;
    }

    .template-evergreen .dealer-home-search {
        padding: 84px 14px 14px;
    }

    .template-evergreen .dealer-home-search-tabs {
        inset: 0 0 auto;
        width: 100%;
        height: 70px;
        border-radius: 9px 9px 0 0;
        clip-path: none;
    }

    .template-evergreen .dealer-home-search-tabs a:first-child {
        min-height: 70px;
        justify-content: center;
        padding: 12px 20px 12px 58px;
    }

    .template-evergreen .dealer-home-search-tabs a:first-child::before {
        left: calc(50% - 126px);
        width: 27px;
        height: 27px;
    }

    .template-evergreen .dealer-home-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .horizon-benefits-grid {
        grid-template-columns: 1fr;
    }

    .template-evergreen .horizon-benefits article,
    .template-evergreen .horizon-benefits article:nth-child(2),
    .template-evergreen .horizon-benefits article:last-child {
        border-right: 0;
        border-bottom: 1px solid var(--horizon-line);
    }

    .template-evergreen .horizon-benefits article:last-child {
        border-bottom: 0;
    }

    .template-evergreen .dealer-body-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-evergreen .horizon-action-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .template-evergreen .horizon-test-drive,
    .template-evergreen .horizon-question {
        border-radius: 8px;
    }
}

@media (max-width: 575.98px) {
    .template-evergreen .dealer-hero-slide .d-flex {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .template-evergreen .dealer-hero-slide .btn {
        width: 100%;
    }

    .template-evergreen .dealer-home-search-grid,
    .template-evergreen .dealer-body-style-grid {
        grid-template-columns: 1fr;
    }

    .template-evergreen .dealer-home-submit {
        grid-column: auto;
    }

    .template-evergreen .dealer-body-style-card {
        min-height: 150px;
    }

    .template-evergreen .horizon-test-drive,
    .template-evergreen .horizon-question {
        grid-template-columns: auto 1fr;
        padding: 20px;
    }

    .template-evergreen .horizon-test-drive .btn,
    .template-evergreen .horizon-question a {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.template-evergreen .site-main,
.template-evergreen .dealer-body-style-section,
.template-evergreen .horizon-action-band {
    background: transparent;
}
