/**
 * PATH: /wp-content/plugins/tornado-core/assets/css/public-v4.css
 *
 * Public visual system v4 (27/09/2026). Loaded only on public marketing pages
 * (tnd_v4_is_public(): body.tnd-v4). The app, the folio, the /t/ pages and the
 * legal canvas pages never get it.
 *
 *   - full-bleed heroes (every page hero, not only the home)
 *   - home and dealers page sections (.tv4-*)
 *   - the site footer (.tnd-foot), which replaces Astra's one-line footer
 *
 * Tokens: navy #020b16 (body) / #0b1b2b (panel) / #031426 (seal), orange
 * #ff6d2d, orange for text on navy #ff8533, ink on orange #0b1b2b.
 */

body.tnd-v4 {
  --v4-bg: #020b16;
  --v4-panel: #0b1b2b;
  --v4-line: rgba(255, 255, 255, 0.14);
  --v4-line-soft: rgba(255, 255, 255, 0.09);
  --v4-muted: rgba(255, 255, 255, 0.66);
  --v4-orange: #ff6d2d;
  --v4-orange-t: #ff8533;
  --v4-ink: #0b1b2b;
  background-color: var(--v4-bg);
  overflow-x: clip;
}

/* The shell Elementor used to draw capped the content at 1140px. */
body.tnd-v4 .tnd-page-shell__inner {
  max-width: 1240px;
}

/* ============================================================
 * Hero: edge to edge, photograph first
 * ============================================================ */
body.tnd-v4 .tnd-page-hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(82vh, 780px);
  display: flex;
  align-items: center;
  border-radius: 0;
  box-shadow: none !important;
}

body.tnd-v4 .tnd-page-hero::before {
  background: var(--v4-bg);
}

body.tnd-v4 .tnd-page-hero__media {
  left: 0;
  width: 100%;
  min-width: 0;
  opacity: 1;
  border-radius: 0;
}

body.tnd-v4 .tnd-page-hero__media::before {
  background:
    linear-gradient(90deg, rgba(2, 11, 22, 0.94) 0%, rgba(2, 11, 22, 0.66) 36%, rgba(2, 11, 22, 0.10) 70%, rgba(2, 11, 22, 0) 100%),
    linear-gradient(0deg, #020b16 0%, rgba(2, 11, 22, 0) 32%);
}

body.tnd-v4 .tnd-page-hero__media img {
  height: 100%;
  min-height: 100%;
  filter: none;
  border-radius: 0;
}

body.tnd-v4 .tnd-page-hero__content {
  width: 100%;
  max-width: 1320px;
  padding: 120px 40px 132px;
}

body.tnd-v4 .tnd-page-hero__copy {
  width: min(800px, 100%);
}

/* Whole words only: "Seaworthiness" was breaking in two. */
body.tnd-v4 .tnd-page-hero__title {
  max-width: 800px;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.tnd-v4 .tnd-page-hero__lead {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.84);
}

body.tnd-v4 .tnd-page-hero__button {
  min-height: 56px;
  padding: 16px 30px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.tnd-v4 .tnd-page-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body.tnd-v4 .tnd-page-hero__media,
  body.tnd-v4 .tnd-page-hero__media img {
    height: 58vw;
    min-height: 260px;
    max-height: 460px;
    border-radius: 0;
  }

  body.tnd-v4 .tnd-page-hero__media::before {
    background: linear-gradient(180deg, rgba(2, 11, 22, 0) 45%, #020b16 100%);
  }

  body.tnd-v4 .tnd-page-hero__content {
    padding: 8px 20px 40px;
    margin-top: -40px;
  }

  body.tnd-v4 .tnd-page-hero__title {
    font-size: clamp(42px, 11vw, 64px);
  }

  body.tnd-v4 .tnd-page-hero__lead {
    font-size: 18px;
  }
}

/* ============================================================
 * Shared v4 pieces
 * ============================================================ */
.tv4,
.tv4 * {
  box-sizing: border-box;
}

.tv4 {
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tv4 a {
  text-decoration: none !important;
}

.tv4-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.tv4-sec {
  padding-top: 110px;
}

.tv4-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 52px;
}

.tv4-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--v4-orange-t);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tv4-kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--v4-orange);
}

.tv4 .tv4-h2 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.tv4 .tv4-h2--m {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.05;
}

.tv4-sub,
.tv4-p {
  margin: 18px 0 0;
  max-width: 640px;
  color: var(--v4-muted);
  font-size: 18px;
  line-height: 1.65;
}

.tv4-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--v4-orange);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.tv4-link:hover {
  color: var(--v4-orange-t) !important;
}

.tv4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 6px;
  background: var(--v4-orange);
  color: var(--v4-ink) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.tv4-btn:hover {
  background: var(--v4-orange-t);
}

.tv4 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Four facts under the hero */
.tv4-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--v4-line);
}

.tv4-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 0;
  border-left: 1px solid var(--v4-line-soft);
}

.tv4-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.tv4-facts strong {
  color: #ffffff;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tv4-facts span {
  color: var(--v4-muted);
  font-size: 14px;
}

/* Range: renders on navy */
.tv4-range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
}

.tv4-model {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff !important;
}

.tv4-model__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 4% 3%;
  background: radial-gradient(ellipse at 50% 70%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 64%);
}

.tv4-model__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.tv4-model:hover .tv4-model__shot img {
  transform: translateX(8px);
}

.tv4-model__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--v4-line);
}

.tv4-model__name {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.tv4-model__uses {
  color: var(--v4-orange-t);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.tv4-model__meta {
  color: var(--v4-muted);
  font-size: 14px;
}

/* Photo band, edge to edge */
.tv4-band {
  position: relative;
  width: 100vw;
  margin: 110px calc(50% - 50vw) 0;
  height: min(62vw, 640px);
  min-height: 380px;
  overflow: hidden;
}

.tv4-band img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: 50% 45%;
}

.tv4-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 11, 22, 0.9) 0%, rgba(2, 11, 22, 0.1) 55%, rgba(2, 11, 22, 0.3) 100%);
}

.tv4-band__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 1;
}

.tv4-band__line {
  margin: 0 0 22px;
  max-width: 760px;
  color: #ffffff;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Engineering split */
.tv4-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}

.tv4-split__art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 62%);
}

.tv4-split__art img {
  width: 88%;
  height: auto;
}

.tv4-list {
  margin-top: 30px !important;
  border-top: 1px solid var(--v4-line);
}

.tv4-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--v4-line);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
}

.tv4-list a span:last-child {
  color: var(--v4-orange-t);
}

.tv4-list a:hover span:first-child {
  color: var(--v4-orange-t);
}

/* Uses */
.tv4-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px !important;
}

.tv4-use {
  position: relative;
  display: block;
  height: 520px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff !important;
}

.tv4-use img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tv4-use:hover img {
  transform: scale(1.04);
}

.tv4-use::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 11, 22, 0.92) 0%, rgba(2, 11, 22, 0) 58%);
}

.tv4-use__copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv4-use__name {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.tv4-use__name::after {
  content: " →";
  color: var(--v4-orange-t);
}

.tv4-use__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.5;
}

/* Network */
.tv4-net {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  background: var(--v4-panel);
  overflow: hidden;
}

.tv4-net__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding: 56px;
}

.tv4-net__copy .tv4-kicker {
  margin: 0;
}

.tv4-net__list {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--v4-line-soft);
}

.tv4-net__list li {
  flex: 1 1 auto;
  border-bottom: 1px solid var(--v4-line-soft);
}

.tv4-net__list li:last-child {
  border-bottom: 0;
}

.tv4-net__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 110px;
  padding: 0 44px;
  color: #ffffff !important;
}

.tv4-net__list a > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv4-net__list strong {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.tv4-net__list em {
  color: var(--v4-muted);
  font-size: 14px;
  font-style: normal;
}

.tv4-net__list a > span:last-child {
  color: var(--v4-orange-t);
  font-size: 22px;
}

.tv4-net__list a:hover strong {
  color: var(--v4-orange-t);
}

/* Closing action */
.tv4-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 120px 20px 110px;
  text-align: center;
}

.tv4-close .tv4-p {
  margin-top: -6px;
}

/* ============================================================
 * Dealers page
 * ============================================================ */
.tv4-dealers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tv4-dealer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  background: var(--v4-panel);
  scroll-margin-top: 110px;
}

.tv4-dealer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.tv4-dealer__top .tv4-kicker {
  margin-bottom: 10px;
}

.tv4 .tv4-dealer__name {
  margin: 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tv4-dealer__zone {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.tv4-dealer__who {
  margin: 4px 0 0;
  color: var(--v4-muted);
  font-size: 15px;
}

.tv4-dealer__svc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv4-dealer__svc li {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.tv4-dealer .tv4-p {
  margin: 0;
  font-size: 16px;
}

.tv4-dealer__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: auto;
  padding-top: 6px;
}

.tv4-dealer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.tv4-dealer__links a {
  white-space: nowrap;
}

.tv4-dealer__plain {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px;
  font-weight: 600;
}

.tv4-dealer__plain:hover {
  color: #ffffff !important;
}

.tv4-note {
  margin: 28px 0 0;
  color: var(--v4-muted);
  font-size: 15px;
}

.tv4-note a {
  color: #ffffff !important;
  border-bottom: 1px solid var(--v4-orange);
}

.tv4-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px !important;
}

.tv4-way {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-top: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 0 0 8px 8px;
  background: var(--v4-panel);
}

.tv4-way--main {
  border-top-color: var(--v4-orange);
}

.tv4 .tv4-way h3 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
}

.tv4-way p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 16px;
  line-height: 1.6;
}

.tv4-way ul {
  border-top: 1px solid var(--v4-line-soft);
}

.tv4-way li {
  padding: 14px 0;
  border-bottom: 1px solid var(--v4-line-soft);
  color: #ffffff;
  font-size: 15px;
}

.tv4-way .tv4-way__foot {
  margin-top: auto;
  font-size: 14px;
}

/* ============================================================
 * Footer (replaces Astra's one-line footer on public pages)
 * ============================================================ */
body.tnd-v4 #colophon {
  display: none;
}

.tnd-foot {
  margin-top: 40px;
  background: #010710;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tnd-foot a {
  color: #ffffff;
  text-decoration: none;
}

.tnd-foot a:hover {
  color: #ff8533;
}

.tnd-foot__in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 20px 32px;
}

.tnd-foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.tnd-foot__brand img {
  display: block;
  width: 190px;
  height: auto;
}

.tnd-foot__brand p {
  margin: 18px 0 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.tnd-foot .tnd-foot__h {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tnd-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tnd-foot li {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}

.tnd-seal {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 109, 45, 0.45);
  border-radius: 12px;
  background: #031426;
}

.tnd-seal img {
  width: 96px;
  height: auto;
}

.tnd-seal__w {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tnd-seal__d {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.tnd-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.tnd-foot__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 980px) {
  .tv4-sec {
    padding-top: 80px;
  }

  .tv4-range {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }

  .tv4-split,
  .tv4-net,
  .tv4-dealers__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tv4-split {
    gap: 32px;
  }

  .tv4-net__list {
    border-left: 0;
    border-top: 1px solid var(--v4-line-soft);
  }

  .tv4-uses,
  .tv4-ways {
    grid-template-columns: minmax(0, 1fr);
  }

  .tv4-use {
    height: 380px;
  }

  .tnd-foot__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tnd-foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tv4-wrap {
    padding: 0 16px;
  }

  .tv4-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv4-facts li {
    padding: 18px 0 18px 16px;
    border-bottom: 1px solid var(--v4-line-soft);
  }

  .tv4-facts li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .tv4-facts strong {
    font-size: 21px;
  }

  .tv4-facts span {
    font-size: 13px;
  }

  .tv4-head {
    margin-bottom: 32px;
  }

  .tv4-model__name {
    font-size: 20px;
  }

  .tv4-model__uses {
    display: none;
  }

  .tv4-model__meta {
    font-size: 13px;
  }

  .tv4-band {
    margin-top: 80px;
    min-height: 360px;
  }

  .tv4-band__copy {
    bottom: 32px;
  }

  .tv4-net__copy {
    padding: 32px 22px;
  }

  .tv4-net__list a {
    min-height: 84px;
    padding: 0 22px;
  }

  .tv4-net__list strong {
    font-size: 20px;
  }

  .tv4-dealer {
    padding: 26px 20px;
  }


  .tv4 .tv4-dealer__name {
    font-size: 32px;
  }

  .tv4-way {
    padding: 28px 22px;
  }

  .tv4-close {
    padding: 90px 16px 80px;
  }

  .tv4-btn {
    width: 100%;
  }

  .tnd-foot__in {
    padding: 44px 16px 28px;
  }

  .tnd-foot__top {
    gap: 28px 16px;
  }
}

/* ============================================================
 * Model page (themes/tornado-child/single-boat_model.php, 15.0.0)
 * ============================================================ */
body.tnd-v4.single-boat_model,
body.tnd-v4.single-boat_model #page,
body.tnd-v4.single-boat_model #content.site-content,
body.tnd-v4.single-boat_model #content.site-content > .ast-container {
  background-color: #020b16;
}

.tm4 {
  --tm-line: rgba(255, 255, 255, 0.12);
  --tm-text: #f8fafc;
  --tm-muted: rgba(255, 255, 255, 0.66);
  --tm-accent: #ff6d2d;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tm4 *,
.tm4 *::before,
.tm4 *::after {
  box-sizing: border-box;
}

.tm4 a {
  text-decoration: none !important;
}

.tm4-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.tm4-sec {
  padding-top: 100px;
}

.tm4 .tm4-h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Hero: the render is the picture */
.tm4-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 62% 58% at 68% 62%, #0f2a45 0%, #051425 55%, #020b16 100%);
}

.tm4-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 76%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
}

.tm4-hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: center;
  max-width: 1320px;
  min-height: min(78vh, 720px);
  margin: 0 auto;
  padding: 72px 40px 80px;
}

.tm4-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.tm4-crumbs {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.tm4-crumbs a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.tm4-crumbs a:hover {
  color: #ffffff !important;
}

.tm4 .tm4-h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 0.9;
}

.tm4-h1__pre {
  color: #ff8533;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tm4-h1__main {
  font-size: clamp(64px, 8.4vw, 124px);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.tm4-h1__post {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tm4-uses {
  margin: 0;
  color: #ff8533;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm4-uses a {
  color: #ff8533 !important;
}

.tm4-uses a:hover {
  color: #ffffff !important;
}

.tm4-lead {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.6;
}

.tm4-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm4-chips__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm4-chips__row {
  display: flex;
  gap: 10px;
}

.tm4-chip {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1b2b3b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  flex: 0 0 auto;
}

.tm4-cta {
  margin-top: 6px;
}

.tm4-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm4-hero__art img {
  width: 112%;
  max-width: none;
  height: auto;
  margin-right: -6%;
}

/* Five numbers */
.tm4-keys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.tm4-keys li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.tm4-keys li:first-child {
  padding-left: 0;
  border-left: 0;
}

.tm4-keys strong {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tm4-keys span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Photographs */
.tm4-photos {
  margin-top: 100px;
}

.tm4-photos__lead {
  position: relative;
  height: min(60vw, 680px);
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

.tm4-photos__lead img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.tm4-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tm4-gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}

.tm4-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tm4-gallery a:hover img {
  transform: scale(1.04);
}

/* Overview: the model's own text, readable */
.tm4-desc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 60px;
}

.tm4-desc__body {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.tm4-desc__body h2,
.tm4-desc__body h3 {
  margin: 44px 0 14px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tm4-desc__body > :first-child {
  margin-top: 0;
}

.tm4-desc__body p {
  margin: 0 0 16px;
}

.tm4-desc__body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tm4-desc__body li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.tm4-desc__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 2px;
  background: #ff6d2d;
}

.tm4-desc__body a {
  color: #ffffff !important;
  border-bottom: 1px solid #ff6d2d;
}

/* Specifications */
.tm4-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 60px;
}

.tm4-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
  align-content: start;
}

.tm4-specs__grid > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
}

.tm4-specs__grid dt {
  color: rgba(255, 255, 255, 0.62);
}

.tm4-specs__grid dd {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

.tm4 .tnd-model__3d iframe {
  background: transparent !important;
  min-height: 480px;
}

.tm4-3d {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  overflow: hidden;
}

.tm4-3d__img {
  position: absolute;
  inset: 8% 10%;
  width: 80%;
  height: 84%;
  object-fit: contain;
  opacity: 0.35;
}

.tm4-3d__cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

.tm4-3d__btn {
  border: 0;
  cursor: pointer;
}

.tm4-3d__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.tm4-3d.is-live {
  display: block;
  border: 0;
}

.tm4-3d.is-live iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  background: transparent;
}

@media (max-width: 640px) {
  .tm4-3d,
  .tm4-3d.is-live iframe {
    min-height: 340px;
    height: 340px;
  }
}

/* Colours */
.tm4-colours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.tm4-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm4-swatches li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 15px;
}

/* Options and parts */
.tm4-kit .tm4-h2 {
  margin-bottom: 30px;
}

.tm4 .tnd-model__item {
  background: #0b1b2b;
  border-color: rgba(255, 255, 255, 0.1);
}

.tm4 .tnd-model__thumb {
  background: #e9edf2;
}

/* Neighbours and the dealer card */
.tm4-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm4-nb,
.tm4-dealer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 290px;
  padding: 30px;
  border-radius: 8px;
  color: #ffffff !important;
}

.tm4-nb {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tm4-nb:hover {
  border-color: rgba(255, 109, 45, 0.6);
}

.tm4-nb img {
  width: 100%;
  height: 130px;
  object-fit: contain;
}

.tm4-nb__dir {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 700;
}

.tm4-nb__name {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.tm4-nb--r .tm4-nb__dir,
.tm4-nb--r .tm4-nb__name {
  align-self: flex-end;
}

.tm4-dealer {
  background: #0b1b2b;
  border: 1px solid rgba(255, 109, 45, 0.45);
}

.tm4-dealer .tv4-kicker {
  margin: 0;
}

.tm4-dealer__line {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
}

.tm4-dealer .tv4-link {
  align-self: flex-start;
}

.tm4-all {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.tm4-all a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px;
  font-weight: 700;
}

.tm4-all a:hover {
  border-color: rgba(255, 109, 45, 0.6);
  color: #ffffff !important;
}

.tm4-all a.is-current {
  background: #ff6d2d;
  border-color: #ff6d2d;
  color: #0b1b2b !important;
}

@media (max-width: 980px) {
  .tm4-hero__in {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 36px 20px 56px;
    gap: 8px;
  }

  .tm4-hero__art {
    order: -1;
  }

  .tm4-hero__art img {
    width: 100%;
    margin: 0;
  }

  .tm4-hero::after {
    display: none;
  }

  .tm4-keys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm4-keys li,
  .tm4-keys li:first-child {
    padding: 20px 0 20px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .tm4-keys li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .tm4-desc,
  .tm4-specs,
  .tm4-colours {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .tm4-specs__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tm4-next {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm4-next > li:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
  }

  .tm4-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tm4-wrap {
    padding: 0 16px;
  }

  .tm4-sec {
    padding-top: 72px;
  }

  .tm4-h1__main {
    font-size: 72px;
  }

  .tm4-lead {
    font-size: 17px;
  }

  .tm4-cta {
    width: 100%;
  }

  .tm4-nb,
  .tm4-dealer {
    min-height: 0;
    padding: 20px;
  }

  .tm4-nb img {
    height: 80px;
  }

  .tm4-nb__name {
    font-size: 20px;
  }

  .tm4-dealer__line {
    font-size: 24px;
  }
}

/* 27/09/2026 second pass */
.tv4-uses li:nth-child(2) .tv4-use img {
  object-position: 72% 50%;
}

@media (min-width: 981px) {
  .tnd-foot__top > .tnd-foot__col:nth-child(2) ul {
    columns: 2;
    column-gap: 24px;
  }

  .tnd-foot__top {
    grid-template-columns: 1.3fr 1.7fr 1fr 1fr 1fr;
  }
}

.tm4-more {
  margin-top: 8px;
}

.tm4-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-bottom: 4px;
  border-bottom: 2px solid #ff6d2d;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.tm4-more > summary::-webkit-details-marker {
  display: none;
}

.tm4-more > summary::after {
  content: "+";
  color: #ff8533;
  font-size: 20px;
  line-height: 1;
}

.tm4-more[open] > summary {
  margin-bottom: 20px;
}

.tm4-more[open] > summary::after {
  content: "\2212";
}

/* ============================================================
 * Dealers page: the network door (27/09/2026)
 * ============================================================ */
.tv4-doors {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}

.tv4-door {
  padding: 36px;
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  background: var(--v4-panel);
  scroll-margin-top: 110px;
}

.tv4-door--join {
  border-color: rgba(255, 109, 45, 0.45);
}

.tv4 .tv4-door h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.tv4-door > p {
  margin: 0 0 22px;
  color: var(--v4-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tv4-form {
  display: grid;
  gap: 10px;
}

.tv4-form--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.tv4-form--grid > div {
  display: grid;
  gap: 7px;
}

.tv4-form__full,
.tv4-form .tv4-kind {
  grid-column: 1 / -1;
}

.tv4-form label,
.tv4-form legend {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.tv4-form input[type="text"],
.tv4-form input[type="email"],
.tv4-form input[type="tel"],
.tv4-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #071b31;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.tv4-form input::placeholder,
.tv4-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.tv4-form input:focus,
.tv4-form textarea:focus {
  outline: none;
  border-color: #ff6d2d;
  box-shadow: 0 0 0 3px rgba(255, 109, 45, 0.22);
}

.tv4-form .tv4-btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
  margin-top: 6px;
}

.tv4-kind {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.tv4-kind legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
}

.tv4-kind label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.tv4-kind label:has(input:checked) {
  border-color: #ff6d2d;
  background: rgba(255, 109, 45, 0.12);
}

.tv4-kind input {
  accent-color: #ff6d2d;
}

.tv4-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tv4-flash {
  margin: 0 0 18px !important;
  padding: 12px 14px;
  border: 1px solid rgba(255, 109, 45, 0.35);
  border-radius: 6px;
  background: rgba(255, 109, 45, 0.1);
  color: #ffffff !important;
  font-size: 14px;
}

.tv4-flash--warn {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.tv4-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 6px 0 22px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #071b31;
}

.tv4-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tv4-toggle label {
  min-width: 132px;
  padding: 11px 20px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.tv4-toggle input:checked + label {
  background: #ff6d2d;
  color: #06111f;
}

.tv4-toggle input:focus-visible + label {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.tv4-join__panel {
  scroll-margin-top: 110px;
}

.tv4-join__panel > p {
  margin: 0 0 22px;
  color: var(--v4-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tv4-join:has(#tv4-as-partner:checked) .tv4-join__panel--community,
.tv4-join:has(#tv4-as-community:checked) .tv4-join__panel--partner {
  display: none;
}

.tv4-kind--s label {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.tv4-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}

.tv4-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ff6d2d;
}

.tv4-privacy {
  margin: -2px 0 4px 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.tv4-privacy summary {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 109, 45, 0.6);
  cursor: pointer;
  list-style: none;
}

.tv4-privacy summary::-webkit-details-marker {
  display: none;
}

.tv4-privacy summary::after {
  content: " +";
  color: #ff6d2d;
}

.tv4-privacy[open] summary::after {
  content: " \2212";
}

.tv4-privacy ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #071b31;
  list-style: none;
}

.tv4-privacy li {
  margin: 0;
}

.tv4-privacy li strong {
  display: block;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv4-privacy a,
.tv4-privacy-note a {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 109, 45, 0.6);
}

.tv4-privacy-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* Legal pages (/legal/privacy/, terms, nda, cookies) inside the site chrome */
.tnd-v4 .tnd-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 20px 90px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.tnd-v4 .tnd-legal h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
}

.tnd-v4 .tnd-legal h2,
.tnd-v4 .tnd-legal h3 {
  margin: 40px 0 12px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
}

.tnd-v4 .tnd-legal strong {
  color: #ffffff;
}

.tnd-v4 .tnd-legal a {
  color: #ffffff;
  border-bottom: 1px solid #ff6d2d;
}

.tnd-v4 .tnd-legal ul {
  margin: 0 0 16px 20px;
}

/* The Complianz cookie policy (/cookie-policy-eu/), dressed like the other legal pages */
body.tnd-v4.cmplz-document #primary {
  float: none;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 20px 90px;
  box-sizing: border-box;
}

body.tnd-v4.cmplz-document .entry-header {
  margin: 0 0 24px;
}

body.tnd-v4.cmplz-document .entry-title {
  color: #ffffff !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

body.tnd-v4.cmplz-document .entry-content,
body.tnd-v4.cmplz-document .cmplz-document,
body.tnd-v4.cmplz-document .cmplz-document p,
body.tnd-v4.cmplz-document .cmplz-document li,
body.tnd-v4.cmplz-document .cmplz-document span,
body.tnd-v4.cmplz-document .cmplz-document td,
body.tnd-v4.cmplz-document .cmplz-document th,
body.tnd-v4.cmplz-document .cmplz-document label {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 16px;
  line-height: 1.7;
}

body.tnd-v4.cmplz-document .cmplz-document {
  max-width: none !important;
}

body.tnd-v4.cmplz-document .cmplz-document h2,
body.tnd-v4.cmplz-document .cmplz-document h3,
body.tnd-v4.cmplz-document .cmplz-document h4,
body.tnd-v4.cmplz-document .cmplz-document strong,
body.tnd-v4.cmplz-document .cmplz-document summary,
body.tnd-v4.cmplz-document .cmplz-document summary * {
  color: #ffffff !important;
}

body.tnd-v4.cmplz-document .cmplz-document h2 {
  margin: 40px 0 12px !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

body.tnd-v4.cmplz-document .cmplz-document h3,
body.tnd-v4.cmplz-document .cmplz-document h4 {
  margin: 28px 0 10px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

body.tnd-v4.cmplz-document .cmplz-document a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 1px solid #ff6d2d;
}

body.tnd-v4.cmplz-document .cmplz-document details {
  margin: 10px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  background: #0b1a2e !important;
}

body.tnd-v4.cmplz-document .cmplz-document details > summary {
  background: transparent !important;
}

body.tnd-v4.cmplz-document .cmplz-document details .cmplz-service-description,
body.tnd-v4.cmplz-document .cmplz-document details .cmplz-sharing-data,
body.tnd-v4.cmplz-document .cmplz-document details > div {
  background: transparent !important;
}

body.tnd-v4.cmplz-document .cmplz-document table,
body.tnd-v4.cmplz-document .cmplz-document td,
body.tnd-v4.cmplz-document .cmplz-document th {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: transparent !important;
}

/* The cookie tables and the consent categories inside the policy */
body.tnd-v4.cmplz-document .cmplz-document .purpose,
body.tnd-v4.cmplz-document .cmplz-document .name,
body.tnd-v4.cmplz-document .cmplz-document .retention,
body.tnd-v4.cmplz-document .cmplz-document .function {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.tnd-v4.cmplz-document .cmplz-document .name-header,
body.tnd-v4.cmplz-document .cmplz-document .retention-header,
body.tnd-v4.cmplz-document .cmplz-document .function-header {
  background: #071b31 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.tnd-v4.cmplz-document .cmplz-document .name-header h5,
body.tnd-v4.cmplz-document .cmplz-document .retention-header h5,
body.tnd-v4.cmplz-document .cmplz-document .function-header h5 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.tnd-v4.cmplz-document .cmplz-document .cookies-per-purpose {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: transparent !important;
}

body.tnd-v4.cmplz-document .cmplz-document .purpose {
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.tnd-v4.cmplz-document .cmplz-document .cmplz-category {
  margin: 0 0 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  background: #0b1a2e !important;
  overflow: hidden;
}

body.tnd-v4.cmplz-document .cmplz-document .cmplz-category-header {
  background: transparent !important;
}

body.tnd-v4.cmplz-document .cmplz-document .cmplz-category-title {
  color: #ffffff !important;
  font-weight: 700;
}

@media (max-width: 640px) {
  body.tnd-v4.cmplz-document #primary {
    padding: 48px 6px 60px;
  }

  body.tnd-v4.cmplz-document .cmplz-document p,
  body.tnd-v4.cmplz-document .cmplz-document li {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .tnd-v4 .tnd-legal {
    padding: 48px 16px 60px;
    font-size: 15px;
  }
}

.tv4-wa a {
  color: #ffffff !important;
  border-bottom: 1px solid #ff6d2d;
}

@media (max-width: 980px) {
  .tv4-doors {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tv4-door {
    padding: 24px 18px;
  }

  .tv4-toggle {
    display: grid;
  }

  .tv4-toggle label {
    min-width: 0;
  }

  .tv4-form--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tv4-form .tv4-btn {
    justify-self: stretch;
  }
}

/* ============================================================
 * "Your configuration" (/configuration/<token>/, inc/enquiry/configuration-page.php)
 * The model page's pieces (.tm4-*), with a few additions. No new tokens.
 * ============================================================ */
body.tnd-v4.tnd-cfgview,
body.tnd-v4.tnd-cfgview #page,
body.tnd-v4.tnd-cfgview #content.site-content,
body.tnd-v4.tnd-cfgview #content.site-content > .ast-container {
  background-color: #020b16;
}

.tnd-cfgv .tm4-h1__pre {
  letter-spacing: 0.08em;
}

.tnd-cfgv .tm4-h1__main {
  white-space: normal;
}

.tnd-cfgv__total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.tnd-cfgv__total-l {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tnd-cfgv__total strong {
  color: #ff8533;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tnd-cfgv__note {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.tnd-cfgv__list dd .tm4-chip {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 6px;
}

.tnd-cfgv__list .tnd-cfgv__group {
  grid-column: 1 / -1;
}

.tnd-cfgv__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tnd-cfgv__list li + li {
  margin-top: 6px;
}

.tnd-cfgv__list .tnd-cfgv__sum dd {
  color: #ff8533;
  font-size: 18px;
}

.tnd-cfgv__next {
  padding-bottom: 110px;
}

.tnd-cfgv__lead {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tnd-cfgv__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 32px;
}

.tnd-cfgv button.tv4-link {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--v4-orange, #ff6d2d);
  border-radius: 0;
  padding: 0 0 4px;
  min-height: 44px;
  cursor: pointer;
  font-family: inherit;
}

.tnd-cfgv a.tv4-link {
  display: inline-flex;
  align-items: flex-end;
  min-height: 44px;
}

.tnd-cfgv__copied {
  margin: 14px 0 0;
  color: #ff8533;
  font-size: 14px;
}

.tnd-cfgv__missing {
  padding-bottom: 110px;
}

@media (max-width: 640px) {
  .tnd-cfgv__acts {
    flex-direction: column;
    align-items: stretch;
  }

  .tnd-cfgv__acts .tv4-btn {
    width: 100%;
  }
}

/* ============================================================
 * My Tornado door (/my-tornado/, inc/frontend/my-tornado-door.php)
 * ============================================================ */
body.tnd-v4.tnd-mtdoor,
body.tnd-v4.tnd-mtdoor #page,
body.tnd-v4.tnd-mtdoor #content.site-content,
body.tnd-v4.tnd-mtdoor #content.site-content > .ast-container {
  background-color: #020b16;
}

.tnd-mtd .tv4-sec {
  padding-top: 56px;
  padding-bottom: 110px;
}

.tnd-mtd__door {
  max-width: 520px;
  margin-top: 28px;
}

.tnd-mtd__again,
.tnd-mtd__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

/* 29/09/2026: the dealers page keeps one door (join); sign-in moved to /my-tornado/. */
.tv4-doors--one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

/* ============================================================
 * Mobile menu in the site's navy (29/09/2026). Astra opened it as a white
 * panel with blue links; now navy, white links, the current page in orange.
 * ============================================================ */
body.tnd-v4 #ast-mobile-header .ast-mobile-header-content,
body.tnd-v4 #ast-mobile-header .main-header-menu,
body.tnd-v4 #ast-mobile-header .main-header-menu .sub-menu {
  background-color: #031426 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

body.tnd-v4 #ast-mobile-header .ast-mobile-header-content {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

body.tnd-v4 #ast-mobile-header .main-header-menu .menu-item {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.tnd-v4 #ast-mobile-header .main-header-menu .menu-link,
body.tnd-v4 #ast-mobile-header .main-header-menu .menu-item > a {
  background-color: transparent !important;
  color: #ffffff !important;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
}

body.tnd-v4 #ast-mobile-header .main-header-menu .sub-menu .menu-link {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 500;
  padding-left: 32px !important;
}

body.tnd-v4 #ast-mobile-header .main-header-menu .current-menu-item > .menu-link,
body.tnd-v4 #ast-mobile-header .main-header-menu .current-menu-ancestor > .menu-link,
body.tnd-v4 #ast-mobile-header .main-header-menu .menu-link:hover,
body.tnd-v4 #ast-mobile-header .main-header-menu .menu-link:focus-visible {
  color: #ff8533 !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

body.tnd-v4 #ast-mobile-header .ast-menu-toggle,
body.tnd-v4 #ast-mobile-header .ast-menu-toggle .ast-icon,
body.tnd-v4 #ast-mobile-header .ast-menu-toggle svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* WhatsApp opt-in switch (29/09/2026): contact form and configurator.
   A switch with the WhatsApp mark, so it never reads as one more box to accept. */
.tnd-wa-optin{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;
  padding:12px 14px;border:1px solid rgba(37,211,102,.28);border-radius:12px;background:rgba(37,211,102,.05);
  cursor:pointer;min-height:44px;transition:border-color .15s,background .15s}
.tnd-wa-optin:hover{border-color:rgba(37,211,102,.5)}
.tnd-wa-optin input.tnd-wa-optin__input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;box-shadow:none;transform:none;pointer-events:none}
.tnd-wa-optin__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;
  background:#25D366;color:#fff;flex:none}
.tnd-wa-optin__text{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.tnd-wa-optin__text strong{font-size:15px;font-weight:700;color:inherit;letter-spacing:0;text-transform:none}
.tnd-wa-optin__text small{font-size:13px;font-weight:400;opacity:.72}
.tnd-wa-optin__switch{position:relative;width:46px;height:28px;border-radius:14px;background:rgba(255,255,255,.18);
  transition:background .18s;flex:none}
.tnd-wa-optin__switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);transition:transform .18s}
.tnd-wa-optin__input:checked ~ .tnd-wa-optin__switch{background:#25D366}
.tnd-wa-optin__input:checked ~ .tnd-wa-optin__switch::after{transform:translateX(18px)}
.tnd-wa-optin:has(.tnd-wa-optin__input:checked){border-color:#25D366;background:rgba(37,211,102,.1)}
.tnd-wa-optin__input:focus-visible ~ .tnd-wa-optin__switch{outline:2px solid #25D366;outline-offset:3px}
.tnd-configurator-field--full{grid-column:1 / -1}
@media (prefers-reduced-motion:reduce){.tnd-wa-optin__switch,.tnd-wa-optin__switch::after{transition:none}}

/* Phone with dial code (29/09/2026): contact form and configurator. */
.tnd-phone{display:flex;gap:8px;width:100%;min-width:0;max-width:100%}
.tnd-phone select.tnd-phone__dial{flex:0 0 108px;width:108px;min-width:0}
.tnd-phone input.tnd-phone__number{flex:1 1 0;width:0;min-width:0}

/* "Sign in with WhatsApp" on /my-tornado/ (29/09/2026): same weight as the email button. */
.tnd-mtd__or{display:flex;align-items:center;gap:12px;margin:20px 0 14px;font-size:13px;opacity:.6;text-transform:uppercase;letter-spacing:.08em}
.tnd-mtd__or::before,.tnd-mtd__or::after{content:"";flex:1;height:1px;background:currentColor;opacity:.35}
a.tnd-wa-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;
  border-radius:8px;background:#25D366;color:#0b1a12;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  font-size:14px;text-decoration:none;border:0;transition:filter .15s}
a.tnd-wa-btn:hover{filter:brightness(1.07);color:#0b1a12;text-decoration:none}
a.tnd-wa-btn:focus-visible{outline:2px solid #25D366;outline-offset:3px}
.tnd-wa-btn__icon{display:inline-flex}
@media (max-width:600px){a.tnd-wa-btn{width:100%}}

.tnd-wa-cta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:24px}
.tnd-wa-cta .tv4-note{margin:0}
.tv4-form .tnd-phone select.tnd-phone__dial{min-height:48px;padding:12px 30px 12px 12px;border:1px solid rgba(255,255,255,.16);border-radius:6px;
  background:#071b31 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff6d2d' d='M0 0h12L6 8z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color:#fff;font:inherit;font-size:15px;box-sizing:border-box;appearance:none;-webkit-appearance:none}
.tv4-form .tnd-phone select.tnd-phone__dial:focus{outline:none;border-color:#ff6d2d;box-shadow:0 0 0 3px rgba(255,109,45,.22)}
