/* Shared sidebar spacing and cards; independent of individual page wrappers. */
body .ams-shared-inner-sidebar{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;width:100%;min-width:0;margin:0;padding:0;box-sizing:border-box;}
body .ams-shared-inner-sidebar > *{min-width:0;max-width:100%;margin:0;}
body .ams-conversion-sidebar-column,body .ams-navigation-sidebar-column{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;align-content:start;}
body :is(.ams-conversion-sidebar-column,.ams-navigation-sidebar-column) > *{margin-top:0;margin-bottom:0;min-width:0;}
body .ams-shared-inner-sidebar > .ams-consultation-phone{margin:0;text-align:center;}
body .ams-shared-inner-sidebar > .ams-consultation-phone a{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:48px;padding:13px 24px;border-radius:7px;background:var(--ams-green,#087a4c);color:#fff;font-family:Montserrat,Arial,sans-serif;font-size:18px;font-weight:700;line-height:1.4;text-decoration:none;}
body .ams-sidebar-promo{display:block;min-width:0;width:100%;margin:0;padding:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:12px;background:#fff;color:#33465a;font-family:Montserrat,Arial,sans-serif;box-sizing:border-box;box-shadow:0 5px 24px rgba(0,44,95,.06);}
body .ams-sidebar-promo .ams-sidebar-promo__photo{position:relative;display:flex;align-items:center;justify-content:center;min-height:190px;margin:0;padding:28px;background:var(--ams-blue,#153359);text-align:center;box-sizing:border-box;isolation:isolate;}
body .ams-sidebar-promo .ams-sidebar-promo__photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;object-fit:cover;margin:0;border:0;border-radius:0;padding:0;}
body .ams-sidebar-promo .ams-sidebar-promo__photo::after{content:"";position:absolute;inset:0;background:rgba(0,44,95,.68);}
body .ams-sidebar-promo .ams-sidebar-promo__photo h3{position:relative;z-index:1;margin:0;padding:0;color:#fff;font-family:inherit;font-size:26px;font-weight:700;line-height:1.25;letter-spacing:normal;}
body .ams-sidebar-promo .ams-sidebar-promo__body{display:flex;flex-direction:column;gap:20px;margin:0;padding:24px;box-sizing:border-box;font-size:17px;line-height:1.6;}
body .ams-sidebar-promo .ams-sidebar-promo__body p{margin:0;padding:0;color:#33465a;font-family:inherit;font-size:17px;line-height:1.6;}
body .ams-sidebar-promo a.ams-sidebar-promo__button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:12px 16px;box-sizing:border-box;border:0;border-radius:6px;background:var(--ams-blue,#153359);color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;}
body .ams-sidebar-promo a.ams-sidebar-promo__button:is(:hover,:focus-visible){background:var(--ams-blue-hover,#2b507b);color:#fff;text-decoration:none;}
body .ams-sidebar-promo a.ams-sidebar-promo__button:focus-visible{outline:3px solid var(--ams-green,#087a4c);outline-offset:3px;}

/* Shared classifieds promotion: editable and selectable alongside the other cards. */
body .ams-shared-inner-sidebar .ams-sidebar-classifieds{padding:26px 24px;border-radius:12px;border-top:4px solid #087a4c;background:#153359;color:#fff;}
body .ams-sidebar-classifieds .ams-sidebar-classifieds__eyebrow{margin:0 0 12px;color:#a8e3c6!important;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body .ams-sidebar-classifieds h3{margin:0 0 16px;color:#fff!important;font-size:26px;line-height:1.25;}
body .ams-sidebar-classifieds__copy p{margin:0 0 22px;color:#e3ebf5;font-size:16px;line-height:1.65;}
body .ams-sidebar-classifieds a.ams-sidebar-classifieds__button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border-radius:6px;background:#087a4c;color:#fff!important;font-size:16px;font-weight:700;line-height:1.4;text-decoration:none;}
body .ams-sidebar-classifieds a.ams-sidebar-classifieds__button:hover{background:#06633d;}
body .ams-sidebar-classifieds a:focus-visible{outline:3px solid #a8e3c6;outline-offset:4px;}

/* Version 3: real text and a clean photo instead of text embedded in artwork. */
body .ams-sidebar-feature-slides{overflow:hidden;border:1px solid #dce4ed;border-radius:12px;background:#153359;}
body .ams-sidebar-feature-slide__image{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;margin:0;padding:0;border-radius:0;}
body .ams-sidebar-feature-slide__content{padding:26px 24px;border-top:5px solid #087a4c;}
body .ams-sidebar-feature-slide__content .ams-sidebar-feature-slide__eyebrow{margin:0 0 12px;color:#a8e3c6!important;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;}
body .ams-sidebar-feature-slide h3{margin:0 0 16px;color:#fff!important;font-size:30px;font-weight:700;line-height:1.18;letter-spacing:-.02em;}
body .ams-sidebar-feature-slide__content p{margin:0 0 22px;color:#e3ebf5;font-size:16px;line-height:1.65;}
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__button{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 16px;border-radius:6px;background:#087a4c;color:#fff!important;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;}
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__button:hover{background:#06633d;}
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__phone{display:block;margin:20px 0 8px;color:#fff!important;font-size:23px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;}
body .ams-sidebar-feature-slide small{display:block;color:#c4d1e1;font-size:11px;line-height:1.5;text-align:center;}
body .ams-sidebar-feature-slide a:focus-visible{outline:3px solid #a8e3c6;outline-offset:4px;}

body .ams-sidebar-feature-slide[hidden],body .ams-sidebar-feature-slides__nav[hidden]{display:none!important;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slides__track{display:grid;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide{grid-area:1/1;visibility:hidden;pointer-events:none;min-width:0;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide.is-current{visibility:visible;pointer-events:auto;}
body .ams-sidebar-feature-slide__image{background:#fff;}
body .ams-sidebar-feature-slide:last-child .ams-sidebar-feature-slide__image{object-fit:contain;}
body .ams-sidebar-feature-slides__nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px 20px;}
body .ams-sidebar-feature-slides__nav button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid #8499b0;border-radius:50%;background:transparent;color:#fff;font-size:20px;cursor:pointer;}
body .ams-sidebar-feature-slides__dots{display:flex;gap:10px;}
body .ams-sidebar-feature-slides__dots button{width:12px;height:12px;border:0;background:#8499b0;}
body .ams-sidebar-feature-slides__dots button[aria-current="true"]{background:#21ba7a;}
body .ams-sidebar-feature-slides__nav button:focus-visible{outline:3px solid #a8e3c6;outline-offset:4px;}

/* Keep the original ad photographs, clipping their old copy and phone artwork. */
body .ams-sidebar-feature-slide__photo{position:relative;overflow:hidden;}
body .ams-sidebar-feature-slide__photo[class*="__photo--"]{aspect-ratio:400/130;background:#153359;}
body .ams-sidebar-feature-slide__photo[class*="__photo--"] img{position:absolute;left:0;top:0;width:100%;height:auto;max-width:none;aspect-ratio:auto;object-fit:initial;}
body .ams-sidebar-feature-slide__photo--staff img{top:-30%!important;}
body .ams-sidebar-feature-slide__photo--online img{top:-63%!important;}
body .ams-sidebar-feature-slide__photo--van{aspect-ratio:450/160!important;}
body .ams-sidebar-feature-slide__photo--van img{top:-172%!important;}
body .ams-sidebar-feature-slide:last-child .ams-sidebar-feature-slide__image{object-fit:cover;}
body .ams-sidebar-feature-slides__dots{gap:8px;flex-wrap:wrap;justify-content:center;}
body .ams-sidebar-feature-slides__dots button{width:10px;height:10px;}

/* One shared row layout keeps shorter slides, especially Great Value, aligned. */
body .ams-sidebar-feature-slides{border-radius:12px;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slides__track{grid-template-rows:auto auto auto auto auto auto auto;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide{display:grid;grid-column:1;grid-row:1/span 7;grid-template-rows:subgrid;align-self:stretch;}
body .ams-sidebar-feature-slide .ams-sidebar-feature-slide__photo{grid-row:1;aspect-ratio:400/130!important;border-radius:12px 12px 0 0;}
body .ams-sidebar-feature-slide__photo:not([class*="__photo--"]) img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide__content{display:grid;grid-row:2/span 6;grid-template-rows:subgrid;padding:22px 24px 16px;}
body .ams-sidebar-feature-slide__content > *{align-self:start;min-width:0;}
body .ams-sidebar-feature-slide__content .ams-sidebar-feature-slide__eyebrow{margin:0 0 10px;}
body .ams-sidebar-feature-slide__content h3{margin:0 0 14px;}
body .ams-sidebar-feature-slide__content > p:not(.ams-sidebar-feature-slide__eyebrow){margin:0 0 18px;}
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__phone{margin:16px 0 6px;}
body .ams-sidebar-feature-slide__content small{margin:0;align-self:end;}
body .ams-sidebar-feature-slide__photo--van img{top:-190%!important;}
body .ams-sidebar-feature-slides__nav{padding-top:0;}

/* Fade between shared sidebar slides without moving the surrounding layout. */
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide{opacity:0;transition:opacity .5s ease,visibility 0s linear .5s;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide.is-current{opacity:1;transition:opacity .5s ease,visibility 0s;}
@media(prefers-reduced-motion:reduce){body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide{transition:none;}}

/* Manual controls for comparing the complete original sidebar artwork. */


body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__inline-link{color:#a8e3c6!important;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}

/* Keep each title beside its copy instead of reserving the tallest title row. */
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide__content{display:flex;flex-direction:column;grid-template-rows:none;}
body .ams-sidebar-feature-slide__content h3{margin-bottom:12px;}
body .ams-sidebar-feature-slide__content a.ams-sidebar-feature-slide__button{margin-top:auto;}
body .ams-sidebar-feature-slide__content small{align-self:stretch;}

body .ams-sidebar-feature-slide__content a.ams-sidebar-feature-slide__button{width:100%;box-sizing:border-box;align-self:stretch;}
body .ams-sidebar-feature-slide__content small{margin-top:12px;}

/* Center phone links across the full slide content width in the flex layout. */
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__phone{align-self:stretch;width:100%;box-sizing:border-box;text-align:center;}

/* Share action rows while letting each heading and paragraph flow together. */
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide__content{display:grid;grid-template-rows:subgrid;}
body .ams-sidebar-feature-slide__message{grid-row:1/span 3;align-self:start;}
body .ams-sidebar-feature-slide__message>p:last-child{margin-bottom:18px;}
body .ams-sidebar-feature-slides.is-ready .ams-sidebar-feature-slide__button{grid-row:4;margin-top:0;}
body .ams-sidebar-feature-slide .ams-sidebar-feature-slide__phone{grid-row:5;display:block;margin:16px 0 6px;font-size:23px;font-weight:700;line-height:1.4;text-align:center;}
body .ams-sidebar-feature-slide__phone--spacer{visibility:hidden;}
body .ams-sidebar-feature-slide__content small{grid-row:6;}

/* Secondary browse action occupies the same row as the other slides' phone links. */
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__secondary{font-size:16px;line-height:32.2px;color:#a8e3c6!important;text-decoration:underline;text-underline-offset:3px;}
body .ams-sidebar-feature-slide a.ams-sidebar-feature-slide__secondary:hover{color:#fff!important;}

/* Inventory quick links are a shared widget, independent of its page wrapper. */
body .ams-shared-inner-sidebar .ams-conversion-buying>h2{margin:0 0 16px;color:var(--ams-blue,#153359);font-size:20px;line-height:1.3;text-align:center;}
body .ams-shared-inner-sidebar .ams-conversion-buying nav{display:grid;gap:10px;}
body .ams-shared-inner-sidebar a.ams-conversion-buying__button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;box-sizing:border-box;margin:0;padding:12px 24px;border:2px solid var(--ams-green,#087a4c);border-radius:4px;background:var(--ams-green,#087a4c);color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;}
body .ams-shared-inner-sidebar a.ams-conversion-buying__button:is(:hover,:focus-visible){background:var(--ams-green-hover,#06633d);border-color:var(--ams-green-hover,#06633d);color:#fff;text-decoration:none;}
body .ams-shared-inner-sidebar a.ams-conversion-buying__button:focus-visible{outline:3px solid var(--ams-blue,#153359);outline-offset:3px;}

/* The shared grid owns spacing after navigation; do not add legacy margins. */
body :is(.ams-navigation-sidebar-column,.ams-conversion-sidebar-column)>.ams-state-page__sidebar{margin-bottom:0!important;}
body :is(.ams-navigation-sidebar-column,.ams-conversion-sidebar-column)>.ams-navigation-promotions,
body .ams-navigation-promotions .ams-shared-inner-sidebar>.ams-sidebar-consultation{margin-top:0!important;}

/* Trade and sell cards: clear photography, readable headings, and one strong action. */
body .ams-sidebar-promo:is(.ams-sidebar-promo--trade,.ams-sidebar-promo--sell){border:1px solid #dce4ed;border-radius:14px;background:#f3f6fa;box-shadow:0 4px 18px #1533590a;}
body .ams-sidebar-promo:is(.ams-sidebar-promo--trade,.ams-sidebar-promo--sell) .ams-sidebar-promo__photo{min-height:0;aspect-ratio:1.8;padding:0;background:#e9eef3;}
body .ams-sidebar-promo:is(.ams-sidebar-promo--trade,.ams-sidebar-promo--sell) .ams-sidebar-promo__photo::after{background:linear-gradient(180deg,transparent 70%,#15335912);}
body .ams-sidebar-promo .ams-sidebar-promo__body{gap:16px;padding:24px;border-top:4px solid #087a4c;}
body .ams-sidebar-promo .ams-sidebar-promo__body .ams-sidebar-promo__eyebrow{margin:0;color:#087a4c;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;}
body .ams-sidebar-promo .ams-sidebar-promo__body h3{margin:0;color:#153359;font-family:inherit;font-size:27px;font-weight:800;line-height:1.2;letter-spacing:-.02em;}
body .ams-sidebar-promo .ams-sidebar-promo__body p:not(.ams-sidebar-promo__eyebrow){font-size:15px;line-height:1.65;color:#425b76;}
body .ams-sidebar-promo a.ams-sidebar-promo__button{justify-content:space-between;gap:12px;padding:13px 16px;border-radius:8px;background:#087a4c;text-align:left;transition:background .15s;}
body .ams-sidebar-promo a.ams-sidebar-promo__button:is(:hover,:focus-visible){background:#06633d;}
body .ams-sidebar-promo .ams-sidebar-promo__arrow{flex-shrink:0;font-size:24px;line-height:1;}
@media(prefers-reduced-motion:reduce){body .ams-sidebar-promo a.ams-sidebar-promo__button{transition:none;}}
/* Classifieds uses the same light card and action styling as Sell and Trade. */
body .ams-shared-inner-sidebar .ams-sidebar-classifieds{padding:24px;border:1px solid #dce4ed;border-top:4px solid #087a4c;border-radius:14px;background:#f3f6fa;color:#425b76;box-shadow:0 4px 18px #1533590a;font-family:Montserrat,Arial,sans-serif;}
body .ams-sidebar-classifieds .ams-sidebar-classifieds__eyebrow{margin:0 0 16px;color:#087a4c!important;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;}
body .ams-sidebar-classifieds h3{margin:0 0 16px;color:#153359!important;font-family:inherit;font-size:27px;font-weight:800;line-height:1.2;letter-spacing:-.02em;}
body .ams-sidebar-classifieds__copy p{margin:0 0 16px;color:#425b76;font-family:inherit;font-size:15px;line-height:1.65;}
body .ams-sidebar-classifieds a.ams-sidebar-classifieds__button{justify-content:space-between;gap:12px;min-height:48px;padding:13px 16px;border-radius:8px;background:#087a4c;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;text-align:left;}
body .ams-sidebar-classifieds .ams-sidebar-classifieds__arrow{flex-shrink:0;font-size:24px;line-height:1;}
body .ams-sidebar-classifieds a:focus-visible{outline:3px solid #087a4c;outline-offset:3px;}
/* A compact financing CTA replaces the full stack on short funding pages. */
body .ams-sidebar-compact-contact{padding:24px;border:1px solid #dce4ed;border-top:4px solid #087a4c;border-radius:12px;background:#f3f6fa;color:#425b76;}
body .ams-sidebar-compact-contact h3{margin:0 0 12px;font-size:23px;line-height:1.25;color:#153359;}
body .ams-sidebar-compact-contact p{margin:0 0 16px;line-height:1.6;}
body .ams-sidebar-compact-contact a{display:block;padding:12px 16px;border-radius:8px;background:#087a4c;color:#fff;font-weight:700;text-align:center;text-decoration:none;}/* Classifieds photography matches the Sell and Trade card proportions. */
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo{padding:0;border-top:1px solid #dce4ed;overflow:hidden;}
body .ams-sidebar-classifieds__photo{aspect-ratio:1.8;background:#e9eef3;}
body .ams-sidebar-classifieds__photo img{display:block;width:100%;height:100%;aspect-ratio:1.8;object-fit:cover;margin:0;border-radius:0;}
body .ams-sidebar-classifieds__body{padding:24px;border-top:4px solid #087a4c;}
/* Show the full owner-and-van photograph without cropping. */
body .ams-sidebar-classifieds__photo{aspect-ratio:auto;}
body .ams-sidebar-classifieds__photo img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
/* Keep the Classifieds photo inside its card and preserve the entire frame. */
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo>.ams-sidebar-classifieds__photo{display:block;position:relative;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;overflow:visible;box-sizing:border-box;}
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo>.ams-sidebar-classifieds__photo>img{display:block;position:static!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;inset:auto;margin:0;padding:0;border:0;box-sizing:border-box;}
/* Sidebar photos: 25% shorter, with a focal crop for each card. */
body .ams-shared-inner-sidebar .ams-sidebar-promo:is(.ams-sidebar-promo--sell,.ams-sidebar-promo--trade) .ams-sidebar-promo__photo,
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo>.ams-sidebar-classifieds__photo{display:block;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:2.4;overflow:hidden;padding:0;}
body .ams-shared-inner-sidebar .ams-sidebar-promo:is(.ams-sidebar-promo--sell,.ams-sidebar-promo--trade) .ams-sidebar-promo__photo>img,
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo>.ams-sidebar-classifieds__photo>img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;}
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--photo>.ams-sidebar-classifieds__photo>img{object-position:center top;}
body .ams-shared-inner-sidebar .ams-sidebar-promo--sell .ams-sidebar-promo__photo>img{object-position:center bottom;}
body .ams-shared-inner-sidebar .ams-sidebar-promo--trade .ams-sidebar-promo__photo>img{object-position:center center;}
/* Buyer photo keeps the accessible vans centered in the compact crop. */
body .ams-shared-inner-sidebar .ams-sidebar-classifieds--classifieds_shop>.ams-sidebar-classifieds__photo>img{object-position:center 58%;}
