/* CL tenant-local overrides. Loaded conditionally after the shared country surface; never import from a global entry. */

.cl-account-section .pvs-section-heading p {
  max-width: 74ch;
}

.cl-home .pvs-home-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1.04fr);
}

.cl-home .pvs-hero-media {
  align-self: center;
}

.cl-home .pvs-hero-carousel {
  width: min(100%, 560px);
  max-width: 560px;
  margin-left: auto;
}

.cl-home .pvs-hero-carousel .pvs-media-slide img {
  aspect-ratio: 16 / 10;
  max-height: 390px;
  object-fit: cover;
}

.cl-stats-inline {
  height: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding: 0;
  background: transparent;
}

.cl-stats-inline article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 118px;
  padding: 20px 12px;
  border-top: 2px solid color-mix(in srgb, var(--pvs-main-blue) 16%, transparent);
}

.cl-stats-inline strong {
  font-size: clamp(42px, 5.4vw, 58px);
  line-height: 0.96;
}

.cl-stats-inline span {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.15;
}

.cl-client-section {
  padding-top: clamp(48px, 6vw, 64px);
  padding-bottom: clamp(48px, 6vw, 64px);
}

.cl-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  align-items: center;
  gap: 28px 34px;
  padding: 28px 0 8px;
}

.cl-logo-grid img {
  display: block;
  width: 100%;
  max-width: 124px;
  max-height: 48px;
  object-fit: contain;
  justify-self: center;
  filter: saturate(0.92);
}

.cl-theme .pvs-cert-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
}

.cl-theme .pvs-cert-grid img {
  max-height: 76px;
  padding: 16px;
}

.cl-theme .pvs-cert-mini {
  grid-template-columns: repeat(3, minmax(0, 160px));
  justify-content: start;
}

.cl-theme .pvs-cert-mini img {
  height: 46px;
}

.cl-theme .pvs-article {
  overflow-x: hidden;
}

.cl-theme .pvs-rich {
  max-width: 900px;
}

.cl-theme .pvs-rich p,
.cl-theme .pvs-rich ul,
.cl-theme .pvs-rich ol {
  max-width: 74ch;
}

.cl-theme .pvs-rich img {
  display: block;
  width: auto;
  max-width: min(100%, 620px);
  max-height: 320px;
  margin: 22px auto;
  object-fit: contain;
}

.cl-theme .pvs-rich table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (width < 1024px) {
  .cl-home .pvs-home-hero {
    grid-template-columns: 1fr;
  }

  .cl-home .pvs-hero-carousel {
    max-width: 620px;
    margin: 0;
  }
}

@media (width < 641px) {
  .cl-home .pvs-hero-carousel .pvs-media-slide img {
    max-height: 260px;
  }

  .cl-theme .pvs-rich img {
    max-height: 250px;
  }

  .cl-stats-inline,
  .cl-theme .pvs-cert-grid,
  .cl-theme .pvs-cert-mini {
    grid-template-columns: 1fr;
  }

  .cl-stats-inline {
    gap: 16px;
  }

  .cl-stats-inline article {
    min-height: 0;
    padding: 16px 0;
  }

  .cl-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cl-logo-grid img {
    max-width: 118px;
    max-height: 46px;
  }
}

.cl-hero .pvs-country-hero-image {
  object-position: 52% center;
}

.cl-theme .pvs-page-hero::before {
  background-image: url("/sites/cl/assets/optimized/pvs-img-019-1884x1256.webp");
  background-position: 54% center;
}

@media (width < 641px) {
  .cl-hero .pvs-country-hero-image {
    object-position: 62% center;
  }
}

.cl-lead-scene .pvs-bg-layer,
.cl-account-section .pvs-bg-layer {
  --pvs-bg-origin-y: 58%;
}

.cl-payment-sections .pvs-bg-layer {
  --pvs-bg-x: 54%;
}

.cl-payment-sections .pvs-bg-shade {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--pvs-main-ink) 98%, transparent) 0%, color-mix(in srgb, var(--pvs-main-blue) 76%, transparent) 52%, color-mix(in srgb, var(--pvs-main-ink) 72%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--pvs-main-ink) 8%, transparent) 0%, color-mix(in srgb, var(--pvs-main-ink) 82%, transparent) 100%);
}

.cl-payment-sections .pvs-feature-grid article {
  background: color-mix(in srgb, var(--pvs-main-white) 92%, transparent);
}

.pvs-theme.cl-theme .pvs-cert-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
}

.pvs-theme.cl-theme .pvs-cert-mini img {
  height: 54px;
  max-width: none;
}

@media (width < 641px) {
  .pvs-theme.cl-theme .pvs-cert-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
