/* Scoped content layouts; independent of the site's navigation header. */
#content .evr-curve-catalog #catalog-detail{padding:0;background:var(--evr-canvas);border:1px solid #34473b;border-radius:18px;overflow:hidden}
#content #catalog-detail .evr-catalog-hero{position:relative;display:block;height:auto;min-height:0;margin:0;padding:30px 32px 72px;background:#fff;color:#17271e;border:0;border-radius:0;z-index:auto;overflow:visible}
#content #catalog-detail .evr-catalog-card-head{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:30px;align-items:center;min-width:0}
#content #catalog-detail .evr-catalog-car-photo{min-width:0;margin:0;text-align:center}
#content #catalog-detail .evr-catalog-car-photo img{display:block;position:static;width:100%;height:190px;max-width:100%;max-height:none;object-fit:contain;border-radius:12px}
#content #catalog-detail .evr-catalog-car-photo figcaption{font-size:11px;color:#637469;margin-top:6px}
#content #catalog-detail .evr-catalog-model-copy{min-width:0}
#content #catalog-detail .evr-catalog-model-copy h3{font-size:clamp(26px,3vw,40px);font-weight:800;line-height:1.15;letter-spacing:-.035em;margin:6px 0 12px;color:#17271e;overflow-wrap:anywhere;white-space:normal}
#content #catalog-detail .evr-catalog-brand-label{color:#53715e;font-size:11px;letter-spacing:.15em;font-weight:800;margin:0}
#content #catalog-detail .evr-catalog-variant{margin:0 0 15px;color:#455a4d;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
#content #catalog-detail .evr-catalog-model-meta{display:flex;gap:7px 14px;flex-wrap:wrap;color:#506157;font-size:12px}
#content #catalog-detail .evr-catalog-model-meta span{display:block}
#content #catalog-detail .evr-catalog-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
#content #catalog-detail .evr-catalog-metrics>div{flex:1 1 125px;min-width:0;padding:13px 12px;background:#f1f5f2;border:1px solid #e5ece7;border-radius:10px}
#content #catalog-detail .evr-catalog-metrics dt{color:#536458;font-size:11px;line-height:1.4;margin:0}
#content #catalog-detail .evr-catalog-metrics dd{color:#16291c;font-size:clamp(13px,1.3vw,17px);font-weight:800;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#content #catalog-detail .evr-catalog-edge{position:absolute;bottom:-1px;left:0;width:100%;height:54px;pointer-events:none}
#content #catalog-detail .evr-catalog-edge svg{display:block;width:100%;height:100%}
#content #catalog-detail>:not(.evr-catalog-hero){margin-left:28px;margin-right:28px}
#content #catalog-detail .evr-catalog-chart-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;margin-bottom:20px}
#content #catalog-detail .evr-catalog-chart-actions h3{font-size:clamp(21px,2.4vw,29px);margin:0;line-height:1.25;color:#f5f7f4}
#content #catalog-detail .evr-catalog-chart-actions button{background:var(--evr-logo-green,#67d000);color:#102510;border:0;border-radius:999px;padding:12px 19px;min-height:44px;font-size:13px;font-weight:750;white-space:normal;line-height:1.4}
#content #catalog-detail>label{font-size:13px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#bdcfc2}
#content #catalog-detail>label select{width:auto;max-width:100%;background:#15291e;color:#fff;border:1px solid #496650;border-radius:8px;padding:8px 12px}
#content #catalog-detail>p{font-size:13px;color:#b5c5bb;overflow-wrap:anywhere}
#content #catalog-detail>.chart-wrap{height:440px;width:calc(100% - 56px);background:#11281d;border:1px solid #304b3a;border-radius:14px;padding:18px;margin-top:20px;margin-bottom:28px}
#content #catalog-detail>.data-scroll{max-height:none;margin-bottom:28px}
#content #catalog-detail>.data-scroll table{min-width:0;table-layout:fixed}
#content #catalog-detail>.data-scroll th,#content #catalog-detail>.data-scroll td{min-width:0;overflow-wrap:anywhere;font-size:13px}
#content .evr-model-photo-placeholder{height:auto;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;background:#f5f7f4}
#content .evr-model-photo-placeholder img{width:100%;height:135px;object-fit:contain}
#content .evr-model-photo-placeholder small{font-size:10px;color:#637469;padding-bottom:6px}
/* Full article photograph and title each keep their own natural height. */
#content .evr-test-hero,#content .evr-test-hero.has-photo{display:block;position:relative;height:auto;min-height:0;padding:0;gap:0;z-index:auto;isolation:isolate;background:var(--evr-canvas)}
#content .evr-test-hero::after{display:none}
#content .evr-test-hero .evr-test-heading{padding:12px 0 26px;max-width:100%;width:100%}
#content .evr-test-hero .evr-test-heading h1{max-width:100%;overflow-wrap:anywhere;white-space:normal}
#content .evr-test-hero .evr-article-heading{font-size:clamp(21px,2.6vw,30px);line-height:1.4;margin:16px 0;overflow-wrap:anywhere}
#content .evr-test-media{position:relative;padding-bottom:52px;background:var(--evr-canvas);border-radius:18px;overflow:hidden}
#content .evr-test-media .evr-test-hero-image{position:static;inset:auto;display:block;width:100%;height:auto;max-height:none;object-fit:contain;z-index:auto;border-radius:18px}
#content .evr-test-media>.evr-curved-road{position:absolute;bottom:0;left:0;right:0;height:65px;width:100%;margin:0;pointer-events:none}
#content .evr-test-media>.evr-curved-road .evr-brand-car{display:none}
/* Five equal filter cells. A min/max pair occupies exactly one cell. */
#content .evr-tests-page .evr-filters{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 12px;align-items:end}
#content .evr-tests-page .evr-filters>label{min-width:0;margin:0;grid-column:auto}
#content .evr-tests-page .evr-filters>label:has(#portal-search){grid-column:1/-1}
#content .evr-tests-page .evr-test-range{grid-column:auto;margin:0;padding:0;min-width:0;border:0}
#content .evr-tests-page .evr-test-range .evr-range-caption{display:block;font-size:.77rem;line-height:1.6;margin-bottom:8px;color:#bed0bf}
#content .evr-tests-page .evr-test-range>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#content .evr-tests-page .evr-test-range>div>label{display:block;min-width:0}
#content .evr-tests-page .evr-test-range input{padding:10px 7px;width:100%;min-width:0}
#content .evr-tests-page .evr-filters :is(input,select){height:48px;min-height:48px}
#content .evr-tests-page #brand-filters.evr-test-brands img{max-width:155px;width:100%;height:52px;max-height:none;object-fit:contain;padding:0;background:transparent;border-radius:0}
#content #stops-list .stop-card>.evr-stop-location{display:flex;align-items:center;gap:6px;margin:2px 0 0;min-width:0;flex-wrap:wrap}
#content #stops-list .evr-stop-location .evr-stop-flag{display:inline-flex;align-items:center;margin:0;flex:none}
#content #stops-list .evr-stop-location .evr-stop-flag img{width:18px;height:13px;object-fit:contain;display:block}
#content #stops-list .evr-stop-location .evr-stop-city{display:inline;margin:0;overflow-wrap:anywhere}
@media(max-width:1000px){#content #catalog-detail .evr-catalog-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}#content #catalog-detail .evr-catalog-metrics>div:nth-child(4){grid-column:span 2}#content .evr-tests-page .evr-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#content #catalog-detail .evr-catalog-hero{padding:20px 16px 60px}#content #catalog-detail .evr-catalog-card-head{grid-template-columns:1fr;gap:16px}#content #catalog-detail .evr-catalog-car-photo img{height:150px}#content #catalog-detail .evr-catalog-model-copy h3{font-size:27px}#content #catalog-detail .evr-catalog-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}#content #catalog-detail .evr-catalog-metrics>div:nth-child(4){grid-column:1/-1;grid-row:3}#content #catalog-detail>:not(.evr-catalog-hero){margin-left:14px;margin-right:14px}#content #catalog-detail>.chart-wrap{height:325px;width:calc(100% - 28px);padding:8px}#content #catalog-detail .evr-catalog-chart-actions{gap:12px}#content #catalog-detail .evr-catalog-chart-actions button{width:100%}#content #catalog-detail>.data-scroll :is(th,td){padding:10px 6px;font-size:12px}#content .evr-tests-page .evr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-tests-page .evr-test-range{grid-column:auto}#content .evr-test-hero .evr-test-heading{padding-bottom:18px}}
#content .evr-test-range .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#content #catalog-detail .evr-catalog-metrics>div:nth-child(4){flex:1.8 1 235px}
#content .evr-tests-page .evr-test-filter-toolbar{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:18px}
#content .evr-test-filter-toolbar>label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:.77rem;color:#bed0bf}
#content .evr-test-filter-toolbar :is(input,select,button){height:48px;min-height:48px}
@media(max-width:650px){#content #catalog-detail .evr-catalog-metrics{display:flex;gap:8px}#content #catalog-detail .evr-catalog-metrics>div{flex:1 1 45%;max-width:100%}#content #catalog-detail .evr-catalog-metrics>div:nth-child(4){flex:1 1 100%;order:1}#content .evr-tests-page .evr-test-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-test-filter-toolbar>label:first-child{grid-column:1 / span 2}#content .evr-test-filter-toolbar button{font-size:12px;padding:8px}}
/* 2.33: native test selects and aligned captions share one control geometry. */
#content .evr-tests-page .evr-filters{align-items:stretch}
#content .evr-tests-page .evr-filters>label,#content .evr-tests-page .evr-test-range{display:grid;grid-template-rows:40px 48px;gap:0;align-content:start;min-width:0}
#content .evr-tests-page .evr-test-range .evr-range-caption{height:40px;display:flex;align-items:center;margin:0;line-height:1.35}
#content .evr-tests-page .evr-filters>label{line-height:1.35;align-items:center}
#content .evr-tests-page .evr-filters>label>select,#content .evr-tests-page .evr-test-range>div{align-self:end;margin:0;width:100%;min-width:0}
#content .evr-tests-page .evr-test-range>div{height:48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
#content .evr-tests-page .evr-test-range>div>label{display:block;min-width:0;width:100%;height:48px}
#content .evr-tests-page .evr-filters :is(input,select),#content .evr-tests-page .evr-test-filter-toolbar :is(input,select,button){box-sizing:border-box;height:48px;min-height:48px;max-height:48px;font-size:14px;line-height:20px;margin:0;border:1px solid #536b5b;border-radius:8px;padding:10px 9px;background:#0f2118;color:#f5f7f4}
#content .evr-tests-page .evr-filters input{padding-inline:7px}
#content .evr-tests-page .evr-test-filter-toolbar{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(150px,.85fr)}
#content .evr-test-media{padding-bottom:0;border-radius:18px;overflow:hidden}
#content .evr-test-media .evr-test-hero-image{border-radius:18px 18px 0 0}
#content .evr-test-media>.evr-curved-road{height:65px;bottom:-1px;margin:0;z-index:2}
#content .evr-contact-main>.evr-socials{justify-content:center;margin:28px 0 12px;gap:14px}
.evr-socials a{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#123024;color:#fff;border:1px solid #46624f;display:inline-flex;align-items:center;justify-content:center}
.evr-socials a:hover{color:#14241a;background:#79d600;border-color:#79d600}
.evr-socials svg{width:21px;height:21px;fill:currentColor}
@media(max-width:650px){#content .evr-tests-page .evr-test-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-tests-page .evr-test-filter-toolbar>label:first-child{grid-column:1 / span 2}#content .evr-test-media>.evr-curved-road{height:40px}}
@media(max-width:480px){#content .evr-tests-page .evr-filters{grid-template-columns:minmax(0,1fr);gap:10px}#content .evr-tests-page .evr-filters>label,#content .evr-tests-page .evr-test-range{grid-template-rows:28px 48px}#content .evr-tests-page .evr-test-range .evr-range-caption{height:28px}#content .evr-tests-page .evr-filters :is(input,select){font-size:16px}}
