/* 20260813-editorial-scenes: uncached overrides for the bespoke engineering image series. */

.page-hero.has-visual:not(.parking-hero) .page-hero-visual.editorial-visual img {
  opacity: .82;
  filter: saturate(.96) contrast(1.02);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .82) 18%, #000 42%);
}

.dark-page.page-hero.has-visual:not(.parking-hero) .page-hero-visual.editorial-visual img {
  opacity: .7;
  filter: saturate(.92) contrast(1.04) brightness(.86);
}

.parking-hero-cover {
  background:
    linear-gradient(90deg, rgba(6, 9, 15, .93) 0%, rgba(6, 9, 15, .82) 42%, rgba(8, 13, 22, .58) 74%, rgba(8, 13, 22, .82) 100%),
    radial-gradient(circle at 82% 18%, rgba(33, 66, 136, .34), transparent 34%),
    url("assets/img/editorial/parking-entry.webp") center right / cover no-repeat,
    linear-gradient(135deg, #101318 0%, #050608 52%, #26303b 100%);
}

.cshark-preview {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(33, 66, 136, .22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(22, 36, 64, .12);
}

.cshark-preview-top {
  padding: 14px 18px;
  background: #173566;
}

.cshark-scene {
  min-height: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #eef2f7;
}

.cshark-scene img,
.cshark-scene img:first-child,
.cshark-scene img:nth-child(2) {
  position: static;
  display: block;
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cshark-function .section-head {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: start;
  max-width: none;
  padding: clamp(22px, 3vw, 34px) 0 clamp(28px, 4vw, 44px);
  border: 0;
  border-top: 2px solid #2b2f35;
  border-bottom: 1px solid rgba(33, 66, 136, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.cshark-function {
  padding-top: clamp(46px, 6vw, 72px);
  padding-bottom: clamp(52px, 6vw, 76px);
}

.cshark-function .section-head .eyebrow {
  grid-column: 1 / -1;
  max-width: none;
}

.cshark-function .section-head h2 {
  max-width: 12ch;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.02;
  text-wrap: balance;
}

.cshark-function .section-head p {
  max-width: 52ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Editorial numbered register instead of a generic equal-card feature grid. */
.cshark-feature-grid {
  display: block;
  margin-top: 0;
  border-top: 1px solid rgba(33, 66, 136, .18);
}

.cshark-feature-grid article,
.cshark-feature-grid article.has-animated-pictogram {
  min-height: 0;
  display: grid;
  grid-template-columns: 56px minmax(190px, .65fr) minmax(0, 1.35fr);
  gap: clamp(18px, 4vw, 60px);
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border: 0;
  border-bottom: 1px solid rgba(33, 66, 136, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cshark-feature-grid article > .animated-pictogram {
  display: none;
}

.cshark-feature-grid article > span {
  grid-column: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.cshark-feature-grid article > h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
}

.cshark-feature-grid article > p {
  grid-column: 3;
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 920px) {
  .cshark-function .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cshark-function .section-head .eyebrow {
    grid-column: 1;
  }

  .cshark-function .section-head h2,
  .cshark-function .section-head p {
    max-width: 100%;
  }

  .cshark-feature-grid article,
  .cshark-feature-grid article.has-animated-pictogram {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 16px;
  }

  .cshark-feature-grid article > h3 {
    grid-column: 2;
  }

  .cshark-feature-grid article > p {
    grid-column: 2;
  }
}
