/* Shared public/private editorial reading system; no content or private URLs. */
.ar-page {
  --ar-ink: #252c34;
  --ar-muted: #586776;
  --ar-line: #d9e3e5;
  --ar-teal: #245f66;
  --ar-soft: #f1f6f6;
  --ar-yellow: #ffdf70;
  --ar-panel: #fff;
  --ar-newsletter: #fff8df;
  --ar-newsletter-line: #f1e4b4;
  --ar-banner: #253e46;
  --ar-banner-text: #e5edef;
  --ar-sticky-top: 24px;
  --ar-rail-font: system-ui, sans-serif;
}
.ar-page main {
  overflow: visible;
}
.ar-page .ar-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 306px;
  align-items: start;
  gap: 40px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 48px;
  overflow: visible;
}
.ar-page .ar-content {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow-wrap: anywhere;
}
.ar-page .ar-content .ar-legacy-layout {
  display: block !important;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
}
.ar-page .ar-content .lese-auftakt,
.ar-page .ar-content .platz-auftakt {
  display: block !important;
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
}
.ar-page .ar-content .wrap,
.ar-page .ar-content .me-reading,
.ar-page .ar-content .mag-reading {
  max-width: 100%;
  width: 100%;
}
.ar-page
  .ar-content
  :is(.article-header, .me-article-head, .mag-article-head, .platz-titel, .ausgabe-kopf, .cp-head, .sued-auftakt) {
  max-width: 100%;
  margin-top: 0;
}
.ar-page .ar-mainbody {
  min-width: 0;
  max-width: none;
  width: 100%;
  font-size: 17px;
  line-height: 1.76;
  color: var(--ar-ink);
  overflow-wrap: anywhere;
}
.ar-page .ar-mainbody > section + section {
  margin-top: 38px;
}
.ar-page .ar-mainbody h2 {
  font-size: 1.8rem;
  line-height: 1.25;
  letter-spacing: 0;
  scroll-margin-top: calc(var(--ar-sticky-top) + 16px);
}
.ar-page .ar-content [id] {
  scroll-margin-top: calc(var(--ar-sticky-top) + 16px);
}
.ar-page .ar-mainbody h3 {
  font-size: 1.22rem;
  line-height: 1.35;
  letter-spacing: 0;
}
.ar-page .ar-mainbody img,
.ar-page .ar-content img {
  max-width: 100%;
}
.ar-page .ar-content figure {
  max-width: 100%;
  margin-inline: 0;
}
.ar-page .ar-mainbody .cl-stop {
  grid-template-columns: minmax(0, 1fr);
}
.ar-page .ar-mainbody .sued-hauptplaetze,
.ar-page .ar-mainbody .sued-wege,
.ar-page .ar-mainbody .me-model-grid {
  grid-template-columns: minmax(0, 1fr);
}
.ar-page .ar-mainbody .appvergleich-tabelle {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
.ar-page .ar-sidebar {
  position: static;
  top: var(--ar-sticky-top);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 400 14px/1.55 var(--ar-rail-font);
  overflow: visible;
}
.ar-page .ar-panel {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--ar-line);
  border-radius: 8px;
  background: var(--ar-panel);
  min-width: 0;
  overflow-wrap: anywhere;
}
.ar-page .ar-panel-title,
.ar-page .ar-sidebar h2,
.ar-page .ar-sidebar h3 {
  font: 750 18px/1.25 var(--ar-rail-font) !important;
  letter-spacing: 0;
  margin: 0 0 10px;
  max-width: none;
  color: var(--ar-ink);
}
.ar-page .ar-sidebar p {
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
  margin: 0 0 10px;
  max-width: none;
}
.ar-page .ar-overline {
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ar-teal);
  margin: 0 0 6px !important;
}
.ar-page .ar-sidebar a {
  color: var(--ar-teal);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.ar-page .ar-toc {
  border: 1px solid var(--ar-line);
  border-radius: 8px;
  background: var(--ar-panel);
  margin: 0;
  min-width: 0;
}
.ar-page .ar-toc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  list-style: none;
  cursor: pointer;
  color: var(--ar-ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}
.ar-page .ar-toc summary::-webkit-details-marker {
  display: none;
}
.ar-page .ar-toc summary:after {
  content: "+";
  font-size: 20px;
  color: var(--ar-teal);
  font-weight: 400;
}
.ar-page .ar-toc[open] summary:after {
  content: "−";
}
.ar-page .ar-toc nav {
  display: grid;
  padding: 0 16px 12px;
}
.ar-page .ar-toc nav a {
  border-top: 1px solid var(--ar-line);
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ar-ink);
  text-decoration: none;
}
.ar-page .ar-toc nav a:hover {
  text-decoration: underline;
}
.ar-page .ar-newsletter {
  background: var(--ar-newsletter);
  border-color: var(--ar-newsletter-line);
}
.ar-page .ar-sidebar .ar-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--ar-yellow) !important;
  color: var(--ar-ink) !important;
  font: 700 13px/1.4 var(--ar-rail-font);
  white-space: normal;
  text-align: center;
  text-decoration: none;
  height: auto;
  box-sizing: border-box;
}
.ar-page .ar-cta:hover {
  text-decoration: underline;
}
.ar-page .ar-ad {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.ar-page .ar-ad > small {
  display: block;
  color: var(--ar-muted);
  font-size: 10px;
  line-height: 1.4;
  margin-bottom: 5px;
  text-align: right;
  letter-spacing: 0;
}
.ar-page .ar-ad > a {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
  padding: 18px;
  border-radius: 8px;
  background: var(--ar-banner);
  color: var(--ar-banner-text);
  text-decoration: none;
  min-height: 0;
  overflow-wrap: anywhere;
}
.ar-page .ar-ad .ar-ad-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--ar-yellow);
  letter-spacing: 0;
}
.ar-page .ar-ad strong {
  font: 720 21px/1.2 var(--ar-rail-font);
  letter-spacing: 0;
  color: var(--ar-panel);
}
.ar-page .ar-ad a > span:not(.ar-ad-brand) {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ar-banner-text);
}
.ar-page .ar-ad b {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  background: var(--ar-yellow);
  color: var(--ar-ink);
  border-radius: 6px;
  margin-top: 2px;
}
.ar-page .ar-ad .werbe-illustration,
.ar-page .ar-ad .ar-envelope {
  display: none;
}
.ar-page .ar-related {
  border: 0;
  border-top: 2px solid var(--ar-ink);
  border-radius: 0;
  padding: 14px 0 0;
  background: none;
}
.ar-page .ar-related > div {
  display: grid;
  gap: 10px;
}
.ar-page .ar-related-card {
  display: block !important;
  text-decoration: none;
  min-width: 0;
  border-bottom: 1px solid var(--ar-line);
  padding-bottom: 10px;
}
.ar-page .ar-related-card small {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: var(--ar-muted);
  margin-bottom: 3px;
}
.ar-page .ar-related-card strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ar-ink);
}
.ar-page .ar-related-card:hover strong {
  text-decoration: underline;
}
.ar-page .ar-preserved > .ar-panel {
  border: 0;
  border-radius: 0;
  background: var(--ar-soft);
  padding: 16px;
}
.ar-page .ar-facts dl {
  font-size: 12px;
  margin: 0;
}
.ar-page .ar-facts dt {
  font-size: 11px;
  color: var(--ar-muted);
  margin-top: 10px;
}
.ar-page .ar-facts dd {
  font-size: 13px;
  margin: 2px 0 10px;
  color: var(--ar-ink);
}
.ar-page .ar-sidebar :is(a, summary):focus-visible {
  outline: 3px solid var(--ar-teal);
  outline-offset: 3px;
}
.ar-page .ar-mobile-toc,
.ar-page .ar-mobile-facts {
  display: none !important;
}
/* BEGIN shared approved service/Insider order */
.ar-page {
  --ar-insider-yellow: #ffdf30;
  --ar-insider-ink: #163c30;
  --ar-insider-paper: #fff;
}
.ar-page .ar-sidebar {
  max-height: calc(100dvh - var(--ar-sticky-top) - 16px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 4px;
}
.ar-page .ar-service {
  border: 0;
  border-top: 3px solid var(--ar-teal);
  border-radius: 0;
  padding: 16px 0 0;
  background: none;
}
.ar-page .ar-service [data-article-facts] > .ar-panel {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  background: none;
}
.ar-page .ar-service ul,
.ar-page .ar-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ar-page .ar-service li,
.ar-page .ar-media li {
  padding: 10px 0;
  border-top: 1px solid var(--ar-line);
  font-size: 14px;
  line-height: 1.6;
}
.ar-page .ar-service .ar-toc {
  margin-top: 14px;
}
.ar-page .ar-newsletter {
  background: var(--ar-insider-yellow);
  color: var(--ar-insider-ink);
  border: 0;
  border-radius: 4px;
  padding: 20px;
}
.ar-page .ar-newsletter :is(h2, .ar-overline) {
  color: var(--ar-insider-ink);
}
.ar-page .ar-newsletter :is(p, label) {
  font-size: 14px;
  line-height: 1.6;
}
.ar-page .ar-newsletter label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}
.ar-page .ar-newsletter input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--ar-insider-ink);
  border-radius: 4px;
  background: var(--ar-insider-paper);
  color: var(--ar-insider-ink);
  font-size: 16px;
}
.ar-page .ar-newsletter .ar-insider-submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--ar-insider-ink);
  color: var(--ar-insider-paper);
  font: 700 14px/1.4 var(--ar-rail-font);
  cursor: pointer;
}
.ar-page .ar-newsletter [role="status"]:empty {
  display: none;
}
.ar-page .ar-newsletter [role="status"] {
  margin: 12px 0 0;
}
.ar-page .ar-newsletter :is(input, button):focus-visible {
  outline: 3px solid var(--ar-teal);
  outline-offset: 3px;
}
@media (max-width: 960px) {
  .ar-page .ar-sidebar {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    display: flex !important;
    flex-direction: column;
  }
}
/* END shared approved service/Insider order */
.ar-page .ar-continuation {
  display: block;
  width: 100%;
  margin: 44px 0 0;
  padding: 40px 24px 52px;
  border-top: 3px solid var(--ar-ink);
  background: var(--ar-soft);
  color: var(--ar-ink);
}
.ar-page .ar-continuation-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.ar-page .ar-continuation h2 {
  font-family: var(--cl-titelschrift, var(--ar-rail-font));
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 28px;
}
.ar-page .ar-continuation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.ar-page .ar-continuation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow-wrap: anywhere;
}
.ar-page .ar-continuation-card figure {
  margin: 0 0 18px;
}
.ar-page .ar-continuation-card figure > a {
  display: block;
  aspect-ratio: 8/5;
  overflow: hidden;
}
.ar-page .ar-continuation-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ar-page .ar-continuation-card figcaption {
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: var(--ar-muted);
  margin: 8px 0 0;
}
.ar-page .ar-continuation-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: start;
  padding: 18px 0 0;
  border-top: 1px solid var(--ar-line);
}
.ar-page .ar-continuation-rubric {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: var(--ar-teal);
  margin: 0 0 12px !important;
}
.ar-page .ar-continuation h3 {
  font-family: var(--cl-titelschrift, var(--ar-rail-font));
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 15px;
}
.ar-page .ar-continuation h3 a {
  color: var(--ar-ink);
  text-decoration: none;
}
.ar-page .ar-continuation a:hover {
  text-decoration: underline;
}
.ar-page .ar-continuation-excerpt {
  font-family: var(--cl-leseschrift, var(--ar-rail-font));
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin: 0 0 20px !important;
  max-width: none;
}
.ar-page .ar-continuation-read {
  font-size: 14px;
  font-weight: 700;
  color: var(--ar-teal);
  text-decoration: none;
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ar-page .ar-continuation a:focus-visible {
  outline: 3px solid var(--ar-teal);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .ar-page .ar-continuation {
    padding: 30px 18px 36px;
  }
  .ar-page .ar-continuation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .ar-page .ar-continuation h2 {
    font-size: 28px;
  }
  .ar-page .ar-continuation h3 {
    font-size: 23px;
  }
}
@media (min-width: 961px) and (max-width: 1150px) {
  .ar-page .ar-layout {
    grid-template-columns: minmax(0, 1fr) 282px;
    gap: 28px;
  }
}
@media (max-width: 960px) {
  .ar-page .ar-layout {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    max-width: 760px;
  }
  .ar-page .ar-content {
    display: contents;
  }
  .ar-page .ar-content > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .ar-page .ar-sidebar {
    position: static !important;
    top: auto !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    order: 2;
    margin: 0;
    padding: 0;
  }
  .ar-page .ar-sidebar > :is(.ar-related, .ar-preserved) {
    grid-column: 1/-1;
  }
  .ar-page .ar-content > .ar-mainbody,
  .ar-page .ar-content > .ar-legacy-layout {
    order: 1;
  }
  .ar-page main.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"])) .ar-content > .me-model-section {
    order: 1;
  }
  .ar-page .ar-mainbody {
    font-size: 16px;
    line-height: 1.72;
  }
}
@media (max-width: 580px) {
  .ar-page .ar-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .ar-page .ar-mainbody h2 {
    font-size: 1.5rem;
  }
  .ar-page .ar-panel {
    padding: 16px;
  }
}
@media print {
  .ar-page .ar-layout {
    display: block !important;
  }
  .ar-page .ar-sidebar {
    display: none !important;
  }
  .ar-page .ar-content {
    display: block;
  }
}

/* The opening image follows both edges of the article column. */
body.ar-page
  main
  .ar-content
  figure:is(
    .cl-magazine-photo,
    .platz-foto,
    .article-hero,
    .cl-editorial-photo-block,
    .me-feature-image,
    .editorial-lead
  ),
body.ar-page main .ar-mainbody figure.editorial-lead {
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 1.15rem 0 1.55rem !important;
  padding: 0 !important;
}
body.ar-page
  main
  .ar-content
  figure:is(
    .cl-magazine-photo,
    .platz-foto,
    .article-hero,
    .cl-editorial-photo-block,
    .me-feature-image,
    .editorial-lead
  )
  > a,
body.ar-page
  main
  .ar-content
  figure:is(
    .cl-magazine-photo,
    .platz-foto,
    .article-hero,
    .cl-editorial-photo-block,
    .me-feature-image,
    .editorial-lead
  )
  img,
body.ar-page main figure.editorial-lead img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
}
body.ar-page main figure figcaption.editorial-credit {
  display: block;
  margin: 0.4rem 0 0 !important;
  padding: 0 !important;
  color: #566368;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}
.editorial-credit a {
  color: inherit;
  text-underline-offset: 0.14em;
}
body.ar-page main .place-cover .editorial-credit {
  display: none;
}
body[data-editorial-type] main header.editorial-opening {
  margin-block: 0 0.9rem;
  padding-block: 0;
  max-width: none;
}
body[data-editorial-type] main .editorial-opening h1 {
  max-width: 36ch;
  margin: 0.4rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
}
body[data-editorial-type] main .editorial-opening :is(.article-deck, .me-deck, .platz-einstieg, .deck, .cp-intro) {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  margin: 0.6rem 0;
}
body[data-editorial-type] main .editorial-opening :is(.article-meta, .me-meta, .platz-byline, .ausgabe-by, .cp-by) {
  font-size: 0.86rem;
  line-height: 1.5;
}
body[data-editorial-type="hersteller"] main .me-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}
body[data-editorial-type="hersteller"] main .me-hero figure {
  margin: 0;
  width: 100%;
}
body[data-editorial-type="hersteller"] main .me-hero figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 760px) {
  body[data-editorial-type="hersteller"] main .me-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ar-page .ar-continuation-card figure {
  position: relative;
}
.ar-page .ar-continuation-card .cl-photo-owner {
  position: static;
  color: var(--cl-muted);
  background: none;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ar-page .ar-continuation-card figure > figcaption {margin:6px 0 0;padding:0}

body.ar-page .ar-continuation-card figure .cl-photo-owner {
  aspect-ratio: auto !important;
  height: auto !important;
  line-height: 1.25;
  display: inline-block;
}

/* The technical article already has its sidebar in the outer article layout. */
body.ar-page[data-editorial-type="technik"] .ar-content > article.ar-mainbody.me-reading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  row-gap: clamp(1.35rem, 2.4vw, 2rem);
}
body.ar-page[data-editorial-type="technik"] .ar-content > article.ar-mainbody.me-reading > .editorial-lead {
  grid-column: 1/-1;
  width: 100%;
  justify-self: stretch;
}

body.ar-page[data-editorial-type="technik"] main figure.editorial-lead img[src$="/magazin-winter.jpg"] {
  aspect-ratio: 3/2;
  object-fit: cover !important;
  object-position: 50% 62%;
}
body.ar-page[data-editorial-type="technik"] main figure.editorial-lead img[src$="/magazin-hecktraeger.jpg"] {
  aspect-ratio: 4/3;
  object-fit: cover !important;
  object-position: 50% 52%;
}

body[data-editorial-type="hersteller"] .me-hero .me-hero-image img {
  object-fit: contain !important;
  height: auto !important;
  max-height: none !important;
}
img[src$="/portraet-mercedes-marco-polo.jpg"] {
  object-fit: contain !important;
}

/* Redaktionelle Einzelbilder schließen an beiden Textkanten ab. */
body.ar-page
  main#inhalt
  :is(
    :is(.ar-mainbody, .ar-content, .platz-text, .article-body, .me-reading)
      figure:not(
        :where(.ar-continuation-card *, .ar-related-card *, .ar-sidebar *, .me-gallery *, .gallery *, .video-consent *)
      ),
    figure:is(
      .platz-foto,
      .cl-magazine-photo,
      .article-hero,
      .cl-editorial-photo-block,
      .me-feature-image,
      .me-hero-image,
      .editorial-lead
    )
  ) {
  display: block !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-inline: 0 !important;
  padding: 0 !important;
  justify-self: stretch;
}
body.ar-page
  main#inhalt
  :is(
    :is(.ar-mainbody, .ar-content, .platz-text, .article-body, .me-reading)
      figure:not(
        :where(.ar-continuation-card *, .ar-related-card *, .ar-sidebar *, .me-gallery *, .gallery *, .video-consent *)
      ),
    figure:is(
      .platz-foto,
      .cl-magazine-photo,
      .article-hero,
      .cl-editorial-photo-block,
      .me-feature-image,
      .me-hero-image,
      .editorial-lead
    )
  )
  :is(a:has(> img), a:has(> picture), picture, img) {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: left top !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ar-page[data-editorial-type="hersteller"] main#inhalt .me-hero:has(figure) {
  grid-template-columns: minmax(0, 1fr);
}
body.ar-page main#inhalt figure .editorial-credit,
body.ar-page main#inhalt figure figcaption :is(.cl-magazine-credit, .cl-editorial-credit) {
  color: #526169;
  font: 400 0.72rem/1.45 var(--cl-leseschrift, sans-serif) !important;
  margin: 0.3rem 0 0 !important;
  padding: 0 !important;
  text-align: left;
}
body.ar-page main#inhalt figcaption.editorial-credit a {
  color: inherit;
  text-underline-offset: 0.14em;
}

body.ar-page main#inhalt figure.place-cover figcaption.editorial-credit {
  display: block !important;
  position: static !important;
  height: auto;
  background: none;
  color: #526169;
  margin: 0.3rem 0 0 !important;
  padding: 0 !important;
}
body.ar-page main#inhalt figure.place-cover:has(figcaption.editorial-credit) > .place-location {
  bottom: calc(1.6rem + 0.45rem);
}

/* One reading measure for editorial copy and its photographs. */
@media screen and (min-width: 961px) {
  body.ar-page[data-editorial-type="technik"] main.me-page .ar-content:has(.me-feature-image, .editorial-plan) {
    max-inline-size: 74ch;
  }
  body.ar-page[data-editorial-type="technik"]
    main.me-page
    .ar-content:has(article.me-reading):has(.me-feature-image, .editorial-plan) {
    max-inline-size: 78ch;
  }
  body.ar-page[data-article-family="creator-platz"] main .ar-content:has(.cp-text) {
    max-inline-size: 70ch;
  }
  body.ar-page[data-editorial-type="technik"]
    main.me-page
    .ar-content:has(.me-feature-image, .editorial-plan)
    .ar-mainbody
    > p,
  body.ar-page[data-editorial-type="technik"]
    main.me-page
    .ar-content:has(.me-feature-image, .editorial-plan)
    .ar-mainbody
    > section
    > p,
  body.ar-page[data-article-family="creator-platz"] .cp-text > section > p {
    max-inline-size: 100%;
  }
}
body.ar-page main#inhalt .sued-auftakt:has(> figure) {
  grid-template-columns: minmax(0, 1fr);
}
body.ar-page main#inhalt .ar-content :is(.me-gallery > div, .cc-region-gallery, .bs-photo-pair) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
body.ar-page main#inhalt .ar-content :is(.me-gallery, .cc-region-gallery, .bs-photo-pair) figure {
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
}
body.ar-page main#inhalt .ar-content :is(.me-gallery, .cc-region-gallery, .bs-photo-pair) figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Vehicle-presentation template guard (only this article type): .me-reading is the layout wrapper; when legacy markup puts it on the article body itself, keep normal flow so headings sit at template distance to their paragraphs. */
.me-page:is(
    [data-article-type="fahrzeugvorstellung"],
    :has(> a.me-back:is([href="fahrzeuge-technik.html"], [href="news-aktuelles.html"]))
  )
  article.ar-mainbody.me-reading {
  display: block;
  gap: 0;
  margin-top: 0;
  grid-template-columns: none;
}

/* Vehicle articles share the magazine grid. The reading column fills its track. */
@media screen and (min-width: 961px) {
  body.ar-page
    main#inhalt.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
    .ar-content {
    max-inline-size: 100%;
  }
}

.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-sidebar
  .ar-facts
  .me-facts {
  display: block;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-sidebar
  .ar-facts
  .me-facts
  > div {
  padding: 8px 0;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-sidebar
  .ar-facts
  .me-facts
  > div:first-child {
  padding-top: 0;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-sidebar
  .ar-facts
  .me-facts
  dt {
  margin: 0 0 2px;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-sidebar
  .ar-facts
  .me-facts
  dd {
  margin: 0;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-service
  .ar-helper
  > a {
  display: block;
  width: fit-content;
}
.me-page:is([data-article-type="fahrzeugvorstellung"], :has(> a.me-back[href^="hersteller-"]))
  .ar-service
  .ar-helper
  > a
  + a {
  margin-top: 4px;
}

/* Every editorial rail obeys the complete-height fit, including legacy pilots. */
body.ar-page .ar-sidebar[data-article-sidebar="unified"] {position:static!important;max-height:none!important;overflow:visible!important;}
@media(min-width:961px){body.ar-page .ar-sidebar[data-article-sidebar="unified"][data-rail-fits]{position:sticky!important;top:var(--ar-sticky-top)!important;}}

/* An existing editorial rail shares the header's normal-flow row, even with a cover inside it. */
body.ar-page [data-head-aligned] > .ar-content > header {margin-top:0;max-width:100%;width:100%;}
body.ar-page [data-head-aligned] > .ar-content > header.me-hero {display:block!important;}
body.ar-page [data-head-aligned] > .ar-content > header .me-hero-image {margin-top:24px;max-width:100%;width:100%;}
body.ar-page [data-head-aligned] > .ar-content > header .me-hero-image img {width:100%;height:auto!important;max-height:none;aspect-ratio:auto;object-fit:contain;}
