/* AutoNews Portal Edition
   Automotive information architecture: fast navigation, car discovery, dense news, clear evidence. */
:root {
  --portal-max: 1280px;
  --portal-nav: #102019;
  --portal-nav-2: #172b22;
  --portal-accent: #edbf36;
  --portal-red: #b94a3d;
  --portal-blue: #557f94;
}

html { scroll-padding-top: 132px; }
body.editorial-ui .main { width: 100%; flex: 1 1 auto; }
body.editorial-ui .header {
  z-index: 55;
  min-height: 72px;
  padding: 10px max(24px, calc((100% - var(--portal-max)) / 2));
}
body.editorial-ui .header-left {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.an-portal-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.an-portal-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px 4px 11px 4px;
  background: linear-gradient(145deg, #f5d35e, #dca91e);
  color: #18221d;
  box-shadow: inset 0 1px rgb(255 255 255 / 55%), 0 8px 18px rgb(167 123 15 / 17%);
}
.an-portal-brand__mark svg { width: 28px; height: 28px; }
.an-portal-brand > span:last-child { display: grid; gap: 4px; }
.an-portal-brand b { font-size: 20px; line-height: 1; letter-spacing: -.45px; }
.an-portal-brand small { color: var(--ink3); font-size: 10px; line-height: 1; letter-spacing: 1.25px; }
body.editorial-ui .header .creed {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
body.editorial-ui .header-right { flex: 0 0 auto; }
body.editorial-ui .header-search { width: clamp(250px, 25vw, 360px); }

/* Two-tier portal navigation. */
.an-portal-nav {
  position: sticky;
  z-index: 49;
  top: 72px;
  min-height: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  background: linear-gradient(90deg, var(--portal-nav), var(--portal-nav-2));
  box-shadow: 0 9px 30px rgb(13 27 20 / 10%);
}
.an-portal-nav__inner {
  display: flex;
  align-items: stretch;
  width: min(var(--portal-max), calc(100% - 40px));
  min-height: 48px;
  margin: 0 auto;
}
.an-portal-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 70px;
  padding: 0 17px;
  color: rgb(244 246 239 / 78%);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}
.an-portal-nav a:hover,
.an-portal-nav a.is-active,
.an-portal-nav a[aria-current="page"] { background: rgb(255 255 255 / 7%); color: #fff9e5; }
.an-portal-nav a.is-active::after,
.an-portal-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--portal-accent);
  box-shadow: 0 0 14px rgb(237 191 54 / 45%);
}
.an-portal-nav__spacer { flex: 1 1 auto; }
.an-portal-nav a.an-portal-nav__trust {
  gap: 7px;
  min-width: auto;
  color: #fff4c9;
  background: rgb(237 191 54 / 11%);
}
.an-portal-nav__trust i { color: var(--portal-accent); }

body.editorial-ui .content,
body.editorial-ui .site-footer { width: min(var(--portal-max), calc(100% - 40px)); }
body.editorial-ui .content { padding-top: 24px; }

@media (min-width: 901px) {
  body.editorial-ui .sidebar { display: none !important; }
  body.editorial-ui .main { min-width: 0; }
}

/* Homepage: a portal lead rather than a campaign landing page. */
body.page-home .content { display: flex; flex-direction: column; }
body.page-home .content > * { order: 10; }
body.page-home .content > .an-marketbar { order: 1; }
body.page-home .content > .cjl-home-intro { order: 2; }
body.page-home .content > .cjl-home-priority { order: 3; }
body.page-home .content > .cjl-shortcuts { order: 4; }
body.page-home .content > .cjl-showcase-forward { order: 5; }
body.page-home .content > .cjl-editorial-layout { order: 6; }
body.page-home .content > .cjl-directory { order: 7; }
body.page-home .content > .cjl-legacy-home { order: 8; }

.an-marketbar {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 91%, transparent);
  box-shadow: 0 6px 24px rgb(20 35 28 / 4%);
  backdrop-filter: blur(16px);
}
.an-marketbar > b { display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; color: var(--gold-text); font-size: 12px; }
.an-marketbar > b i { color: var(--gold); }
.an-marketbar > a {
  padding: 0 10px;
  border-right: 1px solid var(--line);
  color: var(--ink2);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.an-marketbar > a:hover { color: var(--gold-text); }
.an-marketbar__ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
  padding-left: 18px;
}
.an-marketbar__ticker i { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #3c8b68; box-shadow: 0 0 0 4px rgb(60 139 104 / 12%); }
.an-marketbar__ticker a { overflow: hidden; color: var(--ink2); font-size: 12px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }

body.page-home .cjl-home-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  margin-bottom: 14px;
  padding: 15px 22px;
  border-radius: 12px;
}
body.page-home .cjl-home-intro__copy { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 5px 18px; }
body.page-home .cjl-home-intro .cjl-eyebrow { grid-column: 1 / -1; margin: 0; font-size: 11px; }
body.page-home .cjl-home-intro h1 { margin: 0; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -1px; }
body.page-home .cjl-home-intro p { margin: 0; color: var(--ink3); font-size: 13px; }
body.page-home .an-intro-note { flex: 0 0 auto; }

body.page-home .cjl-home-priority {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 312px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}
.an-car-finder {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 438px;
  padding: 21px 19px 17px;
  border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent);
  border-top: 4px solid var(--portal-accent);
  border-radius: 5px 5px 16px 16px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 14px 42px rgb(20 35 28 / 7%);
  backdrop-filter: blur(18px) saturate(1.07);
}
.an-car-finder__head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.an-car-finder__head > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: var(--gold-wash); color: var(--gold-text); }
.an-car-finder__head small { display: block; margin-bottom: 5px; color: var(--ink3); font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.an-car-finder__head h2 { margin: 0; font-size: 21px; line-height: 1; }
.an-car-finder__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 17px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.an-car-finder__tabs a { padding: 10px 2px; border-right: 1px solid var(--line); color: var(--ink2); font-size: 12px; font-weight: 650; text-align: center; text-decoration: none; }
.an-car-finder__tabs a:last-child { border-right: 0; }
.an-car-finder__tabs a:hover,
.an-car-finder__tabs a.is-active { background: var(--gold); color: #1b241f; }
.an-car-finder__group { margin-bottom: 15px; }
.an-car-finder__group > b { display: block; margin-bottom: 8px; color: var(--ink3); font-size: 12px; }
.an-car-finder__group > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.an-car-finder__group a { padding: 7px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink2); font-size: 12px; text-align: center; text-decoration: none; }
.an-car-finder__group a:hover { background: var(--gold-wash); color: var(--gold-text); }
.an-car-finder__all { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 11px 12px; border-radius: 7px; background: var(--portal-nav); color: #fff8e1; font-size: 13px; font-weight: 700; text-decoration: none; }
.an-car-finder > p { margin: 10px 0 0; color: var(--ink3); font-size: 11px; line-height: 1.55; }

body.page-home .cjl-home-focus { min-height: 438px; height: 438px; border-radius: 6px 6px 18px 18px; }
body.page-home .cjl-home-focus__overlay { padding: 32px 34px; }
body.page-home .cjl-home-focus h2 { max-width: 820px; font-size: clamp(27px, 3vw, 43px); line-height: 1.23; }
body.page-home .cjl-home-focus__summary { max-width: 680px; }
body.page-home .cjl-home-check { min-height: 438px; height: 438px; padding: 23px 21px; border-radius: 6px 6px 18px 18px; }
body.page-home .cjl-home-check form { height: 100%; }
body.page-home .cjl-home-check h2 { margin-top: 12px; font-size: 23px; }
body.page-home .cjl-home-check__intro { margin-bottom: 14px; }
body.page-home .cjl-home-check textarea { min-height: 84px; resize: none; }
body.page-home .cjl-home-check__criteria { gap: 5px; margin: 11px 0; }
body.page-home .cjl-home-check__criteria span { font-size: 11px; }
body.page-home .cjl-home-check__actions { margin-top: auto; }

body.page-home .cjl-shortcuts { margin: 0 0 24px; padding: 0; }
body.page-home .cjl-shortcuts__head { margin-bottom: 11px; }
body.page-home .cjl-shortcuts__head h2 { font-size: 21px; }
body.page-home .cjl-shortcuts__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
body.page-home .cjl-shortcuts__grid > a { min-height: 82px; padding: 13px 12px; border-radius: 9px; }
body.page-home .cjl-shortcuts__grid > a:hover { transform: translateY(-3px); }

body.page-home .cjl-showcase-forward { margin: 0 0 26px; border-radius: 10px; }
body.page-home .cjl-editorial-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
body.page-home .cjl-editorial-head { border-top: 0; padding-top: 0; }
body.page-home .cjl-editorial-card { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
body.page-home .cjl-editorial-card:hover { background: transparent; transform: translateX(3px); }
body.page-home .cjl-editorial-aside { gap: 14px; }

/* News channel: dense readable list with a useful right rail. */
body.cjl-newsroom .cjl-page-wrap { max-width: none; }
body.cjl-newsroom .cjl-page-head {
  min-height: 144px;
  margin: 0 0 14px;
  padding: 28px 32px;
  border-radius: 10px;
}
body.cjl-newsroom .cjl-page-head h1 { font-size: clamp(34px, 4vw, 52px); }
body.cjl-newsroom .cjl-page-stat { min-width: 120px; padding-left: 24px; border-left: 1px solid var(--line); }
body.cjl-newsroom .cjl-tabs {
  position: relative;
  gap: 0;
  margin-bottom: 0;
  padding: 0 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  scrollbar-width: none;
}
body.cjl-newsroom .cjl-tabs::-webkit-scrollbar { display: none; }
body.cjl-newsroom .cjl-tabs a { min-height: 50px; padding: 0 17px; border-radius: 0; border-bottom: 3px solid transparent; }
body.cjl-newsroom .cjl-tabs a.is-active { border-bottom-color: var(--gold); background: transparent; color: var(--ink); }
.an-news-topics {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 43px;
  padding: 0 17px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
  background: color-mix(in srgb, var(--paper-2) 82%, transparent);
  scrollbar-width: none;
}
.an-news-topics::-webkit-scrollbar { display: none; }
.an-news-topics span { color: var(--gold-text); font-size: 12px; font-weight: 750; }
.an-news-topics a { padding: 0 14px; border-right: 1px solid var(--line); color: var(--ink2); font-size: 13px; text-decoration: none; white-space: nowrap; }
.an-news-topics a:hover { color: var(--gold-text); }
body.cjl-newsroom .cjl-filter-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(125px, 1fr)) auto auto;
  gap: 10px;
  margin: 14px 0 20px;
  padding: 15px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 93%, transparent);
  backdrop-filter: blur(16px);
}
body.cjl-newsroom .cjl-filter-panel label { min-width: 0; font-size: 11px; }
body.cjl-newsroom .cjl-filter-panel select { width: 100%; min-height: 38px; margin-top: 5px; padding-inline: 10px 30px; font-size: 13px; }
body.cjl-newsroom .cjl-filter-panel .cjl-btn { align-self: end; min-height: 38px; padding-inline: 14px; }
.an-news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 30px; align-items: start; }
.an-news-main { min-width: 0; }
body.cjl-newsroom .cjl-news-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
body.cjl-newsroom .cjl-news-card {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 176px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.cjl-newsroom .cjl-news-card:first-child { padding-top: 0; }
body.cjl-newsroom .cjl-news-card--text { grid-template-columns: 1fr; }
body.cjl-newsroom .cjl-news-card__media { height: 140px; margin: 0 20px 0 0; border-radius: 8px; overflow: hidden; }
body.cjl-newsroom .cjl-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
body.cjl-newsroom .cjl-news-card:hover .cjl-news-card__media img { transform: scale(1.035); }
body.cjl-newsroom .cjl-news-card__body { padding: 0; }
body.cjl-newsroom .cjl-news-card h2 { margin: 8px 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; }
body.cjl-newsroom .cjl-news-card h2 a { color: var(--ink); }
body.cjl-newsroom .cjl-news-card h2 a:hover { color: var(--gold-text); }
body.cjl-newsroom .cjl-news-card__body > p { margin: 0 0 10px; color: var(--ink3); font-size: 13px; line-height: 1.75; }
body.cjl-newsroom .cjl-news-card__meta { font-size: 12px; }
body.cjl-newsroom .cjl-chip-row { margin-top: 9px; }
body.cjl-newsroom .cjl-chip-row a { padding: 3px 7px; font-size: 11px; }
body.cjl-newsroom .cjl-scoreline { margin-top: 8px; padding: 5px 8px; }

.an-news-side { display: grid; gap: 16px; position: sticky; top: 138px; }
.an-news-ranking,
.an-news-services {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 12px 34px rgb(20 35 28 / 6%);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.an-news-ranking > header,
.an-news-services > header { display: flex; align-items: end; justify-content: space-between; padding: 18px 18px 13px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.an-news-ranking header small,
.an-news-services header small { display: block; margin-bottom: 5px; color: var(--gold-text); font-size: 10px; font-weight: 800; letter-spacing: 1.35px; }
.an-news-ranking header h2,
.an-news-services header h2 { margin: 0; font-size: 20px; }
.an-news-ranking header > span { color: var(--ink3); font-size: 11px; }
.an-news-ranking ol { margin: 0; padding: 6px 18px 10px; list-style: none; }
.an-news-ranking li { border-bottom: 1px solid var(--line); }
.an-news-ranking li:last-child { border-bottom: 0; }
.an-news-ranking li a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.an-news-ranking li em { color: var(--ink3); font: 800 15px/1.4 var(--sans); font-style: normal; }
.an-news-ranking li:nth-child(-n+3) em { color: var(--gold-text); }
.an-news-ranking li span { font-size: 13px; font-weight: 650; line-height: 1.5; }
.an-news-ranking li small { display: block; margin-top: 4px; color: var(--ink3); font-size: 10px; font-weight: 400; }
.an-news-services > div { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; }
.an-news-services a { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px 8px; border-radius: 7px; color: var(--ink); text-decoration: none; }
.an-news-services a:hover { background: var(--gold-wash); }
.an-news-services a > i { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 7px; background: var(--paper-2); color: var(--gold-text); }
.an-news-services a span { font-size: 12px; font-weight: 700; }
.an-news-services a small { display: block; margin-top: 3px; color: var(--ink3); font-size: 10px; font-weight: 400; }
.an-news-side__note { margin: 0; padding: 13px 15px; border-left: 3px solid var(--green); background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink3); font-size: 11px; line-height: 1.7; }
.an-news-side__note i { color: var(--green); }

html[data-theme="dark"] .an-portal-nav { border-bottom-color: rgb(255 255 255 / 9%); }
html[data-theme="dark"] .an-car-finder__all { background: #0c1712; }
html[data-theme="dark"] body.cjl-newsroom .cjl-news-card { background: transparent; }

@media (max-width: 1240px) {
  body.editorial-ui .header .creed { display: none; }
  .an-portal-nav a { min-width: 0; padding-inline: 14px; }
  body.page-home .cjl-home-priority { grid-template-columns: 220px minmax(0, 1fr) 286px; }
  .an-car-finder { padding-inline: 15px; }
  body.page-home .cjl-home-check { padding-inline: 17px; }
  body.cjl-newsroom .cjl-filter-panel { grid-template-columns: repeat(5, minmax(105px, 1fr)) auto auto; }
}

@media (max-width: 1050px) {
  .an-portal-nav a.is-optional { display: none; }
  body.page-home .cjl-home-priority { grid-template-columns: minmax(0, 1fr) 300px; }
  .an-car-finder { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 190px 1fr 1fr 200px; gap: 14px; align-items: center; }
  .an-car-finder__head { padding: 0; border: 0; }
  .an-car-finder__tabs { margin: 0; }
  .an-car-finder__group { margin: 0; }
  .an-car-finder__all { margin: 0; }
  .an-car-finder > p { display: none; }
  body.page-home .cjl-home-focus,
  body.page-home .cjl-home-check { min-height: 420px; height: 420px; }
  body.page-home .cjl-shortcuts__grid { grid-template-columns: repeat(3, 1fr); }
  .an-news-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  body.cjl-newsroom .cjl-filter-panel { grid-template-columns: repeat(3, 1fr); }
  body.cjl-newsroom .cjl-filter-panel .cjl-btn { align-self: end; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 112px; }
  body.editorial-ui .header { top: 0; min-height: 66px; padding-inline: 18px; }
  .an-portal-brand__mark { width: 37px; height: 37px; }
  .an-portal-brand > span:last-child { display: none; }
  body.editorial-ui .header .creed,
  body.editorial-ui .header-ask,
  body.editorial-ui .lens-toggle-btn,
  body.editorial-ui .elder-toggle-btn,
  body.editorial-ui .auth-links,
  body.editorial-ui .cjl-showcase-my { display: none !important; }
  body.editorial-ui .header-search { width: min(48vw, 330px); }
  .an-portal-nav { top: 66px; min-height: 44px; overflow-x: auto; scrollbar-width: none; }
  .an-portal-nav::-webkit-scrollbar { display: none; }
  .an-portal-nav__inner { width: max-content; min-width: 100%; min-height: 44px; padding-inline: 10px; }
  .an-portal-nav a { min-height: 44px; padding-inline: 15px; font-size: 13px; }
  .an-portal-nav a.is-optional { display: inline-flex; }
  .an-portal-nav__spacer { display: none; }
  body.editorial-ui .content { padding-top: 18px; }
  .an-marketbar__ticker { display: none; }
  body.page-home .cjl-home-intro__copy { display: block; }
  body.page-home .cjl-home-intro p { margin-top: 7px; }
  body.page-home .an-intro-note { display: none; }
  .an-news-layout { grid-template-columns: 1fr; }
  .an-news-side { position: static; grid-template-columns: 1fr 1fr; }
  .an-news-side__note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.editorial-ui .content,
  body.editorial-ui .site-footer { width: calc(100% - 28px); }
  .an-marketbar { margin-inline: -2px; padding-inline: 8px; overflow-x: auto; scrollbar-width: none; }
  .an-marketbar::-webkit-scrollbar { display: none; }
  .an-marketbar > a { padding-inline: 9px; }
  body.page-home .cjl-home-intro { min-height: 0; padding: 15px 17px; }
  body.page-home .cjl-home-intro h1 { font-size: 26px; }
  body.page-home .cjl-home-priority { grid-template-columns: 1fr; }
  .an-car-finder { display: flex; grid-column: auto; min-height: 0; }
  .an-car-finder__head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .an-car-finder__tabs { margin: 14px 0; }
  .an-car-finder__group { margin-bottom: 13px; }
  .an-car-finder__all { margin-top: 2px; }
  body.page-home .cjl-home-focus { min-height: 390px; height: 390px; }
  body.page-home .cjl-home-check { min-height: 0; height: auto; }
  body.page-home .cjl-shortcuts__grid { grid-template-columns: repeat(2, 1fr); }
  body.page-home .cjl-editorial-layout { grid-template-columns: 1fr; gap: 24px; }
  body.cjl-newsroom .cjl-page-head { min-height: 0; padding: 22px 18px; }
  body.cjl-newsroom .cjl-page-stat { min-width: 82px; padding-left: 14px; }
  body.cjl-newsroom .cjl-tabs { padding-inline: 5px; }
  body.cjl-newsroom .cjl-tabs a { min-height: 46px; padding-inline: 13px; }
  body.cjl-newsroom .cjl-filter-panel { grid-template-columns: 1fr 1fr; }
  body.cjl-newsroom .cjl-news-card { grid-template-columns: 150px minmax(0, 1fr); min-height: 140px; }
  body.cjl-newsroom .cjl-news-card__media { height: 105px; margin-right: 14px; }
  body.cjl-newsroom .cjl-news-card h2 { margin: 5px 0; font-size: 17px; }
  body.cjl-newsroom .cjl-news-card__body > p { display: none; }
  body.cjl-newsroom .cjl-scoreline,
  body.cjl-newsroom .cjl-chip-row { display: none; }
}

@media (max-width: 560px) {
  body.editorial-ui .header-left { display: none; }
  body.editorial-ui .header-right { width: 100%; }
  body.editorial-ui .header-search { width: auto; }
  .an-portal-nav a { padding-inline: 13px; }
  body.page-home .cjl-home-intro p { display: none; }
  body.page-home .cjl-home-focus { min-height: 350px; height: 350px; }
  body.page-home .cjl-home-focus__overlay { padding: 24px 20px; }
  body.page-home .cjl-home-focus h2 { font-size: 25px; }
  body.page-home .cjl-shortcuts__grid > a { min-height: 76px; }
  body.cjl-newsroom .cjl-page-head { align-items: start; }
  body.cjl-newsroom .cjl-page-head h1 { font-size: 32px; }
  body.cjl-newsroom .cjl-page-head p { font-size: 12px; }
  body.cjl-newsroom .cjl-filter-panel { grid-template-columns: 1fr 1fr; padding: 12px; }
  body.cjl-newsroom .cjl-filter-panel label:nth-of-type(5) { grid-column: 1 / -1; }
  body.cjl-newsroom .cjl-news-card { grid-template-columns: 116px minmax(0, 1fr); padding-block: 14px; }
  body.cjl-newsroom .cjl-news-card__media { height: 84px; margin-right: 12px; }
  body.cjl-newsroom .cjl-news-card h2 { display: -webkit-box; overflow: hidden; font-size: 15px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  body.cjl-newsroom .cjl-news-card__topline .cjl-status { display: none; }
  .an-news-side { grid-template-columns: 1fr; }
  .an-news-side__note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .an-portal-nav a,
  body.cjl-newsroom .cjl-news-card__media img { transition: none; }
}

/* Reference alignment: keep the clear left navigation from the supplied display draft.
   The content area remains portal-dense; global tools are not duplicated in a second desktop nav. */
html { scroll-padding-top: 90px; }
body.editorial-ui { font-size: 15px; }
body.editorial-ui .an-portal-nav { display: none !important; }
body.editorial-ui .header {
  top: 0;
  min-height: 76px;
  padding: 13px 28px;
}
body.editorial-ui .header-left { flex: 1 1 auto; }
body.editorial-ui .cjl-showcase-header-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink3);
  font-size: 13px;
}
body.editorial-ui .cjl-showcase-header-title b { color: var(--ink); font-size: 16px; }
body.editorial-ui .cjl-showcase-header-title i { color: var(--gold-text); font-size: 10px; }
body.editorial-ui .cjl-showcase-header-title span { color: var(--ink3); }
body.editorial-ui .content,
body.editorial-ui .site-footer { width: min(1340px, calc(100% - 48px)); }

@media (min-width: 901px) {
  body.editorial-ui .sidebar {
    display: flex !important;
    width: 218px;
    height: 100dvh;
    top: 0;
    padding: 27px 17px 18px;
    border-right: 1px solid #d8e1e6;
    background: rgb(248 251 252 / 96%) !important;
    box-shadow: 14px 0 42px rgb(27 54 68 / 6%);
  }
  body.editorial-ui .sidebar::before {
    background:
      linear-gradient(180deg, transparent 0 48%, rgb(244 249 251 / 86%) 88%),
      url("../images/luxury-road-ambient-v1.4ab4c1a47df0.webp") 64% 58% / auto 66% no-repeat;
    opacity: .055;
    filter: grayscale(.3) saturate(.45);
  }
  body.editorial-ui .sidebar::after { height: 2px; background: linear-gradient(90deg, #b9d8e9, #6f9db6, transparent); box-shadow: none; }
  body.editorial-ui .logo-area { padding: 0 8px 27px; }
  body.editorial-ui .an-brand-mark {
    background: #dcecf5;
    color: #285975;
    box-shadow: inset 0 0 0 1px #c2dce9, 0 7px 18px rgb(55 104 130 / 10%);
  }
  body.editorial-ui .logo-text { color: #173043; font-size: 17px; }
  body.editorial-ui .logo-text small { color: #668091; }
  body.editorial-ui :is(.nav-item,.cjl-showcase-nav a) {
    min-height: 45px;
    padding: 11px 13px;
    border-color: transparent;
    color: #506675;
    font-size: 14px;
  }
  body.editorial-ui :is(.nav-item,.cjl-showcase-nav a) i { color: #738a99; }
  body.editorial-ui :is(.nav-item,.cjl-showcase-nav a):hover {
    border-color: #dbe6ec;
    background: #edf4f7;
    color: #1f465e;
  }
  body.editorial-ui :is(.nav-item,.cjl-showcase-nav a).active {
    border-color: #d5e5ed;
    background: linear-gradient(90deg, #e2eff5, #f1f6f8);
    color: #183f58;
    box-shadow: inset 3px 0 #78a9c2;
  }
  body.editorial-ui :is(.nav-item,.cjl-showcase-nav a).active i { color: #356c89; }
  body.editorial-ui .cjl-showcase-nav__label,
  body.editorial-ui .mobile-menu-label { color: #8093a0; }
  body.editorial-ui .cjl-showcase-sidebar-note,
  body.editorial-ui .designer-info {
    border-color: #dce6eb;
    background: #eef4f7;
    color: #607987;
  }
  body.editorial-ui .cjl-showcase-sidebar-note b,
  body.editorial-ui .designer-title,
  body.editorial-ui .designer-name,
  body.editorial-ui .cjl-showcase-profile { color: #25485d; }
  body.editorial-ui .cjl-showcase-profile small { color: #718895; }
}
html[data-theme="dark"] body.editorial-ui .sidebar {
  border-right-color: rgb(255 255 255 / 8%);
  background: rgb(13 24 19 / 97%) !important;
  box-shadow: 16px 0 46px rgb(0 0 0 / 20%);
}
html[data-theme="dark"] body.editorial-ui .an-brand-mark { background: #25465a; color: #d8edf7; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); }
html[data-theme="dark"] body.editorial-ui .logo-text,
html[data-theme="dark"] body.editorial-ui .cjl-showcase-sidebar-note b,
html[data-theme="dark"] body.editorial-ui .designer-title,
html[data-theme="dark"] body.editorial-ui .designer-name,
html[data-theme="dark"] body.editorial-ui .cjl-showcase-profile { color: #eef3ef; }
html[data-theme="dark"] body.editorial-ui :is(.nav-item,.cjl-showcase-nav a) { color: rgb(236 240 234 / 73%); }
html[data-theme="dark"] body.editorial-ui :is(.nav-item,.cjl-showcase-nav a).active { border-color: rgb(126 177 203 / 24%); background: linear-gradient(90deg, rgb(79 131 157 / 26%), rgb(79 131 157 / 8%)); color: #eef8fd; box-shadow: inset 3px 0 #78a9c2; }

/* Larger and calmer type: titles lead, summaries explain, metadata recedes without disappearing. */
body.page-home .cjl-home-intro p { font-size: 14px; line-height: 1.7; }
body.page-home .cjl-shortcuts__grid b { font-size: 14px; }
body.page-home .cjl-shortcuts__grid small { margin-top: 4px; font-size: 12px; line-height: 1.5; }
body.page-home .cjl-editorial-card h3 { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.48; }
body.page-home .cjl-editorial-card__copy > p { font-size: 13px; line-height: 1.8; }
body.page-home .cjl-editorial-card__meta { font-size: 12px; line-height: 1.6; }
body.page-home .cjl-editorial-tabs a { font-size: 13px; }
body.page-home .cjl-directory-link b { font-size: 13px; }
body.page-home .cjl-directory-link small { font-size: 11px; line-height: 1.5; }
body.cjl-newsroom .cjl-news-card__meta { font-size: 12px; line-height: 1.6; }
body.cjl-newsroom .cjl-news-card__topline { font-size: 12px; }

body.editorial-ui.cjl-newsroom .cjl-news-card {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  flex-direction: initial;
  min-height: 176px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body.editorial-ui.cjl-newsroom .cjl-news-card:first-child { padding-top: 0; }
body.editorial-ui.cjl-newsroom .cjl-news-card--text { grid-template-columns: 1fr; }
body.editorial-ui.cjl-newsroom .cjl-news-card__media { height: 140px; margin: 0 20px 0 0; border-radius: 8px; overflow: hidden; }
body.editorial-ui.cjl-newsroom .cjl-news-card__body { padding: 0; }

@media (max-width: 900px) {
  html { scroll-padding-top: 70px; }
  body.editorial-ui .content,
  body.editorial-ui .site-footer { width: calc(100% - 36px); }
}

@media (max-width: 760px) {
  body.page-home .cjl-home-focus { order: 1; }
  body.page-home .an-car-finder { order: 2; }
  body.page-home .cjl-home-check { order: 3; }
  body.editorial-ui.cjl-newsroom .cjl-news-card { grid-template-columns: 150px minmax(0, 1fr); min-height: 140px; }
  body.editorial-ui.cjl-newsroom .cjl-news-card__media { height: 105px; margin-right: 14px; }
}

@media (max-width: 560px) {
  body.editorial-ui.cjl-newsroom .cjl-news-card { grid-template-columns: 116px minmax(0, 1fr); padding-block: 14px; }
  body.editorial-ui.cjl-newsroom .cjl-news-card__media { height: 84px; margin-right: 12px; }
}
