.editorial-page{overflow:clip}.editorial-hero{display:grid;position:relative;isolation:isolate;min-height:320px;overflow:hidden;background:#26282b}.editorial-hero:before{content:"";grid-area:1/1;padding-top:25%}.editorial-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.editorial-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,15,.8),rgba(10,12,15,.24) 58%,transparent)}.editorial-hero-inner{grid-area:1/1;align-self:center;padding-top:30px;padding-bottom:30px}.editorial-hero h1{color:#fff;max-width:800px;text-shadow:0 2px 20px #0008}.editorial-body{font-size:19px;line-height:1.75;padding-top:38px;padding-bottom:90px}.editorial-body p{margin:0 0 1em}.editorial-body h2{font-size:clamp(26px,calc(2.3vw / var(--porscha-scale,1)),38px);line-height:1.2;margin:1.6em 0 .65em}.editorial-body h2:first-child{margin-top:0}.editorial-body a:not(.button){text-decoration:underline;text-underline-offset:4px}.editorial-date,.original-language-note{font-size:15px;opacity:.8}.editorial-hooks{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none;padding:24px 0;margin:0 0 24px;border-block:1px solid #8885}.editorial-hooks li{padding-left:26px;position:relative;font-size:17px;line-height:1.5}.editorial-hooks li:before{content:'✦';color:var(--red);position:absolute;left:0}.editorial-intro{font-size:clamp(20px,calc(2vw / var(--porscha-scale,1)),25px)}.editorial-toc{padding:22px 28px;margin:32px 0 42px;border:1px solid #8885;border-radius:3px}.editorial-toc ol{columns:2;margin:12px 0 0;padding-left:22px}.editorial-section{display:flow-root}.editorial-figure{width:48%;margin:0 0 22px}.editorial-figure.left{float:left;margin-right:30px}.editorial-figure.right{float:right;margin-left:30px}.editorial-figure img,.editorial-figure svg{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:3px}.editorial-figure figcaption{font-size:14px;line-height:1.4;opacity:.75;margin-top:8px}.editorial-body ul,.editorial-body ol{padding-left:1.4em}.editorial-body li{margin:.4em 0}.editorial-table-wrap{clear:both;overflow-x:auto;max-width:100%;margin:34px 0 30px}.editorial-scroll-hint{clear:both;padding-top:34px;font-size:14px;opacity:.7}.editorial-body details{border-bottom:1px solid #8885;padding:14px 0}.editorial-body summary{cursor:pointer;font-weight:700}.editorial-body details p{margin:12px 0 0}.editorial-cta{clear:both;border:1px solid #8885;border-radius:3px;padding:clamp(24px,calc(4vw / var(--porscha-scale,1)),50px);margin-top:50px}.editorial-related{margin-top:50px}.editorial-related>div{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.editorial-related a{border-top:1px solid var(--gold);padding-top:14px}.legal-document{min-width:0}.legal-table-wrap{overflow-x:auto;max-width:100%}@media(max-width:700px){.editorial-hero{min-height:320px}.editorial-hero h1{font-size:clamp(30px,calc(8vw / var(--porscha-scale,1)),43px)}.editorial-body{font-size:18px;line-height:1.7}.editorial-hooks{grid-template-columns:1fr;gap:10px}.editorial-toc ol{columns:1}.editorial-figure.left,.editorial-figure.right{float:none;width:100%;margin:16px 0}.editorial-related>div{grid-template-columns:1fr}}
.editorial-config>div{display:flex;min-height:220px;flex-direction:column;justify-content:center;padding:28px;border-radius:3px;background:var(--panel-bg);color:var(--ink);border:1px solid var(--line)}.editorial-config span{font-size:12px;letter-spacing:.15em;color:var(--gold)}.editorial-config strong{font-size:30px;line-height:1.2}.editorial-config p{font-size:15px;line-height:1.4;margin:8px 0 0}

/* Let short tables fit the page and keep wide tables inside their scroll wrappers. */
.editorial-body table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.editorial-table-wrap table {
  font-size: 16px;
}

.editorial-table-wrap table:has(thead th:nth-child(4)) {
  min-width: 620px;
}

.editorial-scroll-hint:has(+ .editorial-table-wrap thead th:only-child) {
  display: none;
}

.editorial-body :is(th, td) {
  border: 1px solid #8886;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.editorial-body table tr > :where(:first-child:not(:last-child)) {
  width: 28%;
}

.legal-table-wrap .legal-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  overflow: visible;
}

.legal-table-wrap .legal-table :is(th, td) {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-document[data-legal-doc="cookies"] .legal-table {
  min-width: 32rem;
}

.legal-document[data-legal-doc="cookies"] .legal-table thead th:first-child {
  width: 11rem;
}

.legal-document[data-legal-doc="cookies"] .legal-table td:first-child code {
  white-space: nowrap;
}

.legal-document[data-legal-doc="offer"] .legal-table {
  max-width: 42rem;
}

.legal-table th[scope="row"] {
  width: 38%;
}

html[data-theme="light"] :is(.article-reading, .editorial-body, .legal-table-wrap) :is(th, td) {
  border-color: color-mix(in srgb, var(--muted) 56%, white);
}

@media (max-width: 700px) {
  .editorial-body :is(th, td) {
    padding: 8px;
  }
}

#service-schedule,
#owner-attention {
  scroll-margin-top: 88px;
}

.guide-schedule th:first-child {
  width: 54%;
}

.guide-listing .blog-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.guide-listing .blog-card h2 {
  margin: 0 0 6px;
}

.guide-listing .guide-spec {
  color: var(--gold);
  font-size: 14px;
  margin: 0 0 8px;
}

.guide-listing .guide-deck {
  margin: 0 0 18px;
}

.guide-hero {
  background: #18191c;
}

.guide-hero > img {
  inset: 0 0 0 auto;
  width: auto;
  max-width: 64%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(to right, transparent, #000 13%);
}

.guide-hero::after {
  background: linear-gradient(90deg, #18191c 23%, #18191c44 57%, transparent 80%);
}

.guide-hero h1 {
  max-width: 55%;
  font-size: clamp(32px, calc(3.2vw / var(--porscha-scale,1)), 60px);
}

.guide-hero-name {
  display: block;
}

.guide-hero-spec,
.guide-hero-deck {
  color: #fff;
  margin: 10px 0 0;
}

.guide-hero-spec {
  color: #c2a164;
}

@media (max-width: 900px) {
  .guide-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-hero::before,
  .guide-hero::after {
    display: none;
  }

  .guide-hero > img {
    position: static;
    grid-area: 1 / 1;
    z-index: 0;
    width: 100%;
    height: auto;
    max-width: none;
    mask-image: none;
  }

  .guide-hero .editorial-hero-inner {
    grid-area: 2 / 1;
    padding-top: 20px;
    padding-bottom: 72px;
  }

  .guide-hero h1 {
    max-width: none;
    font-size: clamp(27px, calc(7.5vw / var(--porscha-scale,1)), 42px);
  }
}

@media (max-width: 700px) {
  .editorial-toc a[href="#service-schedule"],
  .editorial-toc a[href="#owner-attention"] {
    display: block;
  }

  .guide-schedule th,
  .guide-schedule td {
    padding: 8px;
    font-size: 15px;
    line-height: 1.45;
  }
}



/* Shared light surfaces. Keep the fill translucent and the shadow close to the card. */

html[data-theme="light"] :is(
  .service-grid article, .quote-card, .review-summary,
  .contact-info, .category-detail-top, .service-price, .editorial-config > div,
  .glass, .contact-address, .lead-dialog, .request-dialog, .cart-dialog
) {
  background: var(--light-glass-fill);
  border-color: var(--glass-edge); /* TASK-0104: glass panels share the --glass-edge token; cards below keep their own edge */
  box-shadow: var(--light-glass-shadow);
}

html[data-theme="light"] :is(
  .category-card, .blog-card, .product-card, .service-result-card, .subcategory-grid > button, .part-search, .garage-button, .cart-button
) {
  background: var(--light-glass-fill);
  box-shadow: var(--light-glass-shadow);
}

html[data-theme="light"] :is(
  .category-card, .blog-card, .product-card, .service-result-card, .subcategory-grid > button
):not(:where(:hover, :focus-visible)) {
  border-color: var(--light-glass-edge);
}

html[data-theme="light"] :is(
  .category-card, .blog-card, .product-card, .service-result-card, .subcategory-grid > button
):hover {
  box-shadow: var(--light-glass-hover-shadow);
}

/* Shared article and review rhythm. */
.editorial-body, .article-reading {
  --editorial-section-gap: clamp(36px, calc(3.6vw / var(--porscha-scale,1)), 64px);
  --editorial-table-gap: clamp(22px, calc(2.4vw / var(--porscha-scale,1)), 36px);
}
.editorial-body > .editorial-section + .editorial-section,
.editorial-body > .editorial-section + h2,
.editorial-body > h2:not(:first-child),
.article-reading > h2:not(:first-child) {
  margin-block-start: var(--editorial-section-gap);
}
.editorial-body .editorial-section > h2:first-child {
  margin-block-start: 0;
}
.editorial-body .editorial-section p {
  margin-block-end: 1.12em;
}
:is(.editorial-body,.article-reading) .editorial-table-wrap,
:is(.editorial-body,.article-reading) table:not(.editorial-table-wrap table) {
  margin-block: var(--editorial-table-gap);
}
.editorial-body .editorial-scroll-hint + .editorial-table-wrap {
  margin-block-start: 10px;
}
.editorial-body .editorial-scroll-hint {
  margin-block-start: var(--editorial-table-gap);
}

/* Three-column article tables keep readable words, while only their own
   container scrolls. The existing editorial hint appears when it is needed. */
.editorial-body .editorial-wide-table table {
  min-width: 620px;
}
.editorial-body .editorial-wide-table :is(th, td) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
.editorial-body .editorial-wide-hint {
  display: none;
  padding-top: 0;
  margin-block-end: 0;
}
.editorial-body .editorial-wide-hint + .editorial-wide-table {
  margin-block-start: var(--editorial-table-gap);
}
/* A telephone number moves as a whole instead of breaking among digits. */
.legal-document a[href^="tel:"] {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
/* 620px table + the narrow-layout page gutters. */
@media (max-width: 655px) {
  .editorial-body .editorial-wide-hint {
    display: block;
  }
  .editorial-body .editorial-wide-hint + .editorial-wide-table {
    margin-block-start: 10px;
  }
}
.editorial-body .editorial-toc {
  background: var(--panel-bg);
  margin-block-end: var(--editorial-section-gap);
}
/* TASK-0825: keep TOC columns and list numbers apart. */
.editorial-body .editorial-toc ol {
  column-gap: clamp(40px, calc(4vw / var(--porscha-scale,1)), 64px);
}
/* TASK-0826: balance recommendation headings without manual line breaks. */
.article-recommendation h3 { text-wrap: balance; }
.editorial-body .editorial-toc li {
  margin-block: .6em;
}
.editorial-body .editorial-faq {
  gap: clamp(22px, calc(3vw / var(--porscha-scale,1)), 45px);
}
.editorial-body .editorial-faq details {
  padding: 0;
  border-color: var(--line);
}
.editorial-body .editorial-faq summary {
  gap: 18px;
  padding-block: 12px;
}
.editorial-body .editorial-faq summary svg {
  flex: 0 0 18px;
}
.editorial-body .editorial-faq details p {
  color: var(--copy);
  margin: 0 0 22px;
}

.blog-page .blog-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-page .editorial-hero {
  align-items: center;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 3 / 1;
  margin: 0;
  background: var(--page-bg, var(--surface, #18191c));
}
.blog-page .editorial-hero::before {
  position: absolute;
  z-index: -2;
  inset: -40px;
  padding: 0;
  background: var(--editorial-cover-photo) center / cover no-repeat;
  filter: blur(40px);
  opacity: .52;
}
.blog-page .editorial-hero::after {
  background: linear-gradient(90deg, var(--page-bg, var(--surface, #18191c)) 5%, var(--page-bg, var(--surface, #18191c)) 34%, transparent 88%);
}
.blog-page .editorial-hero-image {
  position: absolute;
  inset: 0 0 0 36%;
}
.blog-page .editorial-hero-image > img {
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(90deg, transparent 9%, black 27%);
}
.blog-page .editorial-hero-image figcaption {
  position: absolute;
  right: clamp(16px, calc(3vw / var(--porscha-scale,1)), 54px);
  bottom: 16px;
  max-width: calc(100% - 60px);
  padding: 5px 9px;
  background: #17181bd9;
  color: #fff;
}
.blog-page .editorial-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(22px, calc(4vw / var(--porscha-scale,1)), 56px);
  pointer-events: none;
}
.blog-page .editorial-hero-inner > * {
  max-width: min(48%, 760px);
  pointer-events: auto;
}
.blog-page .editorial-hero h1 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(30px, calc(3.6vw / var(--porscha-scale,1)), 62px);
  text-wrap: balance;
}
.blog-page .editorial-hero .breadcrumbs {
  color: var(--copy);
}
.blog-page .editorial-body .editorial-figure {
  width: min(43%, 520px);
}
.blog-page .editorial-body .editorial-figure img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
@media (max-width: 880px) {
  .blog-page .editorial-body .editorial-figure {
    float: none;
    width: min(100%, 520px);
    margin: 16px auto 22px;
  }
}
@media (max-width: 760px) {
  .blog-page .editorial-hero {
    min-height: 0;
    aspect-ratio: auto;
  }
  .blog-page .editorial-hero::before,
  .blog-page .editorial-hero::after {
    content: none;
  }
  .blog-page .editorial-hero-inner {
    grid-area: 1 / 1;
  }
  .blog-page .editorial-hero-inner > * {
    max-width: none;
  }
  .blog-page .editorial-hero-image {
    position: static;
    grid-area: 2 / 1;
  }
  .blog-page .editorial-hero-image > img {
    height: auto;
    mask-image: none;
  }
  .blog-page .editorial-hero-image figcaption {
    position: static;
    max-width: none;
    padding: 0 16px;
    background: transparent;
    color: var(--copy);
  }
  .editorial-body .editorial-faq {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }
  .editorial-body .editorial-faq .faq-list + .faq-list details:first-child {
    border-top: 0;
  }
}



/* Article title and full-width image share the same page guides. */
.blog-page .editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}
.blog-page .editorial-hero::before,
.blog-page .editorial-hero::after { content: none; }
.blog-page .editorial-hero-inner {
  position: relative;
  grid-area: 1 / 1;
  padding-block: clamp(18px, calc(2.5vw / var(--porscha-scale,1)), 34px);
  pointer-events: auto;
}
.blog-page .editorial-hero-inner > * { max-width: none; }
.blog-page .editorial-hero h1 {
  max-width: none;
  font-size: clamp(28px, calc(3vw / var(--porscha-scale,1)), 48px);
}
.blog-page .editorial-hero-image {
  position: static;
  grid-area: 2 / 1;
  inset: auto;
  margin-block: 0;
}
.blog-page .editorial-hero-image > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  mask-image: none;
}
.blog-page .editorial-hero-image figcaption {
  position: static;
  max-width: none;
  padding: 0;
  background: transparent;
  color: var(--copy);
}

.editorial-hero-image { margin-block: 0; }
.editorial-hero-image img { display: block; width: 100%; height: auto; }
.editorial-hero-image figcaption { margin-top: 8px; color: var(--copy); font-size: 13px; }
.guide-verified .info-intro .button { margin-top: 18px; }
.guide-verified-card { min-height: 170px; }

/* Directions after an article, using the same media and buttons as the home page. */
.editorial-body .article-directions { margin-block-start: clamp(48px, calc(6vw / var(--porscha-scale,1)), 96px); }
.article-company { margin-block-end: clamp(24px, calc(3vw / var(--porscha-scale,1)), 40px); }
.article-company .eyebrow { color: var(--gold); margin-block-end: 10px; }
.article-company h2 { margin-block-start: 0; }
.article-company .article-company-summary { max-width: 83ch; margin-block-end: 0; font-weight: 500; }
.editorial-body .article-directions .direction-card { text-decoration: none; }

.editorial-body .editorial-reviews {
  margin-block-start: clamp(48px, calc(6vw / var(--porscha-scale,1)), 96px);
  padding: clamp(22px, calc(3.5vw / var(--porscha-scale,1)), 50px);
  background: var(--alternate-bg);
}
.editorial-body .editorial-reviews h2 { margin-block-start: 0; }
.editorial-body .editorial-reviews .quote-card p { margin: 0 0 14px; }
.editorial-body .editorial-reviews .quote-card a,
.editorial-body .editorial-reviews .review-summary a { text-decoration: none; }
@media (max-width: 600px) {
  .editorial-body .editorial-reviews { padding-inline: 12px; }
}

.article-directions-heading { margin-block-end: clamp(20px, calc(3vw / var(--porscha-scale,1)), 40px); }
.article-directions-heading h2 { margin: 0; }
.editorial-body .editorial-reviews .review-heading .text-link { text-decoration: none; }

.guide-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  max-width: 620px;
}
.guide-picker[hidden], .guide-picker-status[hidden] { display: none; }
.guide-picker label { display: grid; gap: 6px; min-width: 0; font-size: 13px; line-height: 1.3; }
.guide-picker select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface, #252525);
  color: var(--ink);
  font: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guide-picker select:disabled { opacity: .65; }
.guide-picker-status, .guide-picker .button { grid-column: 1 / -1; }
.guide-picker-status { margin: 0; font-size: 13px; line-height: 1.45; color: var(--copy); }
.guide-picker .button { justify-self: start; }


/* Editorial sections use the same alternating surfaces as the rest of the site. */
.editorial-body {
  --editorial-panel: var(--alternate-bg);
  --editorial-panel-secondary: color-mix(in srgb, var(--alternate-bg) 95%, var(--ink));
  --editorial-panel-space: clamp(18px, calc(2.55vw / var(--porscha-scale,1)), 42px);
}
.editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-related) {
  display: flow-root;
  padding: var(--editorial-panel-space);
  background: var(--editorial-panel);
}
.editorial-body > .editorial-section:nth-of-type(even),
.editorial-body > :is(.editorial-faq-panel, .article-directions, .editorial-related) {
  background: var(--editorial-panel-secondary);
}
.editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-related) + :is(.editorial-section, .editorial-panel, .article-directions, .editorial-related) {
  margin-block-start: clamp(36px, calc(3vw / var(--porscha-scale,1)), 48px);
}
.editorial-body > .editorial-panel > h2:first-child { margin-block-start: 0; }
.editorial-body .editorial-sources > :is(ol, ul):last-child { margin-block-end: 0; }
.editorial-body .article-company {
  padding: clamp(16px, calc(2vw / var(--porscha-scale,1)), 32px);
  background: var(--editorial-panel);
}

/* Whole paragraphs beside article and guide images; panels keep the page guide. */
.editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-related) {
  padding-inline: 0;
  position: relative;
  background: transparent;
  isolation: isolate;
}
.editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-related)::before {
  content: "";
  position: absolute;
  inset: 0 -12px;
  z-index: -1;
  background: var(--editorial-panel);
}
.editorial-body > .editorial-section:nth-of-type(even)::before,
.editorial-body > :is(.editorial-faq-panel, .article-directions, .editorial-related)::before { background: var(--editorial-panel-secondary); }
.editorial-body .article-company { padding-inline: 0; background: transparent; }
.editorial-section > p { display: flow-root; }
.editorial-section > ul > li, .editorial-section > ol > li { display: flow-root list-item; }
.editorial-section .editorial-figure { margin-top: 0; }
.editorial-section .editorial-figure img { height: auto; aspect-ratio: auto; object-fit: contain; }
.editorial-body .editorial-reviews { padding-inline: 0; }

.editorial-body .editorial-cta, .editorial-body .editorial-toc { padding-inline: 0; border-inline: 0; }

@media (max-width: 700px) {
  html[data-theme="light"] .editorial-hero .porscha-hero-down {
    color: #f6d89e;
    background: rgb(18 20 23 / .8);
    border-radius: 50%;
  }
  html[data-theme="light"] .editorial-hero .porscha-hero-down:hover { color: #fff; }
}

/* ===== 11.11.2026 articles + guides share the site style: dark hero, full-width alternating bands ===== */
html body .editorial-page { --art-hero: #0b0c0e; --art-band-pad: clamp(40px, calc(4vw / var(--porscha-scale,1)), 72px); }

/* 1. Hero: darkest tone, title built into the cover (the guides' component), same in both themes */
html body .editorial-hero.guide-hero,
html:root body main.editorial-page > .info-intro:first-child[data-tone] {
  background: var(--art-hero) !important;
  --section-tone: var(--art-hero);
  color: #fff;
}
html:root body main.editorial-page > .info-intro:first-child[data-tone] {
  box-shadow: 0 0 0 100vmax var(--art-hero);
  clip-path: inset(0 -100vmax);
  padding-bottom: var(--art-band-pad);
}
html:root body main.editorial-page > .info-intro:first-child[data-tone] :is(h1, p, strong, .info-lead, .breadcrumbs, .breadcrumbs a) { color: #fff; }
html:root body main.editorial-page > .info-intro:first-child[data-tone] .eyebrow { color: #c2a164; }
html:root body main.editorial-page > .info-intro:first-child[data-tone] .button.primary { color: #fff; }

html body.blog-page .editorial-hero.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: clamp(380px, calc(56vh / var(--porscha-scale,1)), 640px);
  aspect-ratio: auto;
  margin: 0;
}
html body.blog-page .editorial-hero.article-hero::before { content: none; }
html body.blog-page .editorial-hero.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background:
    linear-gradient(90deg, var(--art-hero) 0%, rgba(11, 12, 14, .92) 16%, rgba(11, 12, 14, .6) 34%, rgba(11, 12, 14, .14) 56%, transparent 76%),
    linear-gradient(0deg, rgba(11, 12, 14, .72) 0%, rgba(11, 12, 14, .2) 26%, transparent 46%);
}
html body.blog-page .editorial-hero.article-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% center;
  mask-image: none;
}
html body.blog-page .editorial-hero.article-hero .editorial-hero-inner {
  grid-area: 1 / 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(24px, calc(3vw / var(--porscha-scale,1)), 56px);
  pointer-events: auto;
}
html body.blog-page .editorial-hero.article-hero .editorial-hero-inner > * { max-width: min(760px, 56%); }
html body.blog-page .editorial-hero.article-hero .breadcrumbs { margin: 0 0 auto; padding-bottom: 24px; color: #fff; }
html body.blog-page .editorial-hero.article-hero h1 {
  color: #fff;
  font-size: clamp(30px, calc(3.3vw / var(--porscha-scale,1)), 60px);
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .55);
  text-wrap: balance;
}
html body.blog-page .editorial-hero.article-hero .guide-hero-spec { margin: 14px 0 0; font-size: clamp(15px, calc(1.15vw / var(--porscha-scale,1)), 20px); font-weight: 600; letter-spacing: .02em; color: #c2a164; }
html body.blog-page .editorial-hero.article-hero .guide-hero-deck { margin: 8px 0 0; font-size: clamp(15px, calc(1.15vw / var(--porscha-scale,1)), 20px); line-height: 1.45; color: rgba(255, 255, 255, .92); }
@media (max-width: 900px) {
  html body.blog-page .editorial-hero.article-hero { min-height: 0; }
  html body.blog-page .editorial-hero.article-hero::after { display: none; }
  html body.blog-page .editorial-hero.article-hero > img {
    position: static;
    grid-area: 1 / 1;
    z-index: 0;
    height: auto;
    aspect-ratio: 3 / 1;
    min-height: 150px;
  }
  html body.blog-page .editorial-hero.article-hero .editorial-hero-inner { grid-area: 2 / 1; justify-content: flex-start; padding-block: 18px 34px; }
  html body.blog-page .editorial-hero.article-hero .editorial-hero-inner > * { max-width: none; }
  html body.blog-page .editorial-hero.article-hero .breadcrumbs { margin: 0; padding-bottom: 14px; }
  html body.blog-page .editorial-hero.article-hero h1 { font-size: clamp(27px, calc(7.4vw / var(--porscha-scale,1)), 42px); }
}

/* 2. Body: the whole article is a column of full-width bands, content stays in the reading column */
html body .editorial-body {
  position: relative;
  padding-block: var(--art-band-pad) 0;
  box-shadow: 0 0 0 100vmax var(--section-tone, var(--tone-a));
  clip-path: inset(0 -100vmax);
}
html body .editorial-body > .editorial-toc { margin-block: 32px var(--art-band-pad); }
html body .editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-reviews, .editorial-related, .editorial-cta)[data-tone] {
  position: relative;
  isolation: isolate;
  margin: 0 !important;
  padding: var(--art-band-pad) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 0 100vmax var(--section-tone);
  clip-path: inset(0 -100vmax);
}
html body .editorial-body > :is(.editorial-section, .editorial-panel, .article-directions, .editorial-reviews, .editorial-related, .editorial-cta)[data-tone]::before { content: none !important; }
html body .editorial-body > :is(.editorial-section, .editorial-panel)[data-tone] > h2:first-child { margin-top: 0; }

/* 3. First paragraph is body text: same size and leading as the rest */
html body .editorial-body .editorial-intro { font-size: inherit; }

/* 4. Text wraps around the photo naturally (no paragraph is pushed below it, no hollow beside it) */
html body .editorial-section > p { display: block; }
html body .editorial-section > :is(ul, ol) { display: flow-root; }
html body .editorial-section > :is(ul, ol) > li { display: list-item; }

/* 12.11 Claude — TASK-0831/0837/0838: no lone word in article/guide headings, TOC items and table cells.
   Only the line-break choice changes (no size, width or text change). Chapter headings get balanced lines like .section-top h2;
   TOC items and table cells only avoid a very short last line ("…а не только / вязкость" -> "…а не / только вязкость", "…или 2 / года" -> "…или / 2 года"). */
html body .editorial-body > :is(section, div) > :is(h2, h3) { text-wrap: balance; }
html body .editorial-body .editorial-toc li,
html body .editorial-body td { text-wrap: pretty; }
