/* Collected layout corrections. Original per-section text alignment is retained. */

/* Round 2: the title and description share the introduction row. */
.vp-site #advantages .vp-split-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  width: 100%;
  text-align: left;
}
.vp-split-heading-title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}
.vp-site #advantages .vp-split-heading-description {
  min-width: 0;
  width: 100%;
  margin: 0;
  text-align: left;
}
@media (max-width: 767px) {
  .vp-site #advantages .vp-split-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* One unified menu, with enquiry details in a separate block beneath it. */
.vp-site .vp-sidebar {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.vp-sidebar-menu {
  overflow: hidden;
  border: 1px solid var(--vp-line);
  border-radius: 10px;
  background: #fff;
}
.vp-site .vp-sidebar .vp-sidebar-title {
  padding: 22px 16px;
  margin: 0;
  text-align: start;
}
.vp-site .vp-sidebar nav ul {
  display: block;
  padding: 0;
  margin: 0;
}
.vp-sidebar nav li + li { border-top: 1px solid #e9eaf2; }
.vp-site .vp-sidebar nav a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 56px;
  padding: 15px 18px;
  border-radius: 0;
  border-inline: 3px solid transparent;
  font-size: 15px;
  line-height: 1.45;
  transition: background .18s, color .18s;
}
.vp-site .vp-sidebar nav a[aria-current="page"] {
  background: #f0f0fa;
  border-inline-start-color: var(--vp-orange);
  color: var(--vp-blue);
  font-weight: 600;
}
.vp-site .vp-sidebar nav a:hover,
.vp-site .vp-sidebar nav a:focus-visible {
  background: #f0f0fa;
  border-inline-start-color: var(--vp-orange);
  color: var(--vp-blue);
}
.vp-sidebar-contact {
  margin-top: 24px;
  padding: 24px 18px;
  border: 1px solid var(--vp-line);
  border-radius: 10px;
  background: #f8f8fb;
  text-align: start;
}

/* Sticky copy follows its own values section and clears the fixed header. */
.vp-site .vp-values-section,
.vp-site .vp-values-section > .e-con-inner,
.vp-site .vp-values-column { overflow: visible !important; }
@media (min-width: 1025px) {
  .vp-site .vp-values-section > .e-con-inner { align-items: stretch !important; }
  .vp-site .vp-values-column {
    display: block !important;
    align-self: stretch !important;
    position: relative;
  }
  .vp-site .vp-values-copy {
    position: sticky !important;
    top: calc(var(--vp-header) + 28px) !important;
    align-self: flex-start !important;
    height: fit-content !important;
    width: 100% !important;
    margin-block: 0 !important;
    z-index: 1;
  }
}
@media (max-width: 1024px) {
  .vp-site .vp-values-copy { position: static !important; top: auto !important; }
}

/* The timeline fills the same content boundary as the section introduction. */
.vp-site .vp-journey-section > .e-con-inner,
.vp-site .vp-journey-timeline {
  width: 100% !important;
  max-width: 100% !important;
}
.vp-site .vp-journey-section > .e-con-inner {
  max-width: var(--vp-width) !important;
}
.vp-site .vp-journey-intro {
  width: 100% !important;
  max-width: 1240px;
  margin-inline: 0;
}
.vp-site .vp-journey-intro,
.vp-site .vp-journey-intro p {
  text-align: left !important;
}
.vp-site .vp-timeline { width: 100%; }
.vp-site .vp-timeline > li {
  width: 100%;
  max-width: none;
  grid-template-columns: 160px minmax(0,1fr);
}
.vp-site .vp-timeline-card { min-width: 0; }
.vp-site .vp-timeline-card p { max-width: none; }

/* Consistent image windows and stretched card bodies align both rows. */
.vp-site .vp-facility-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 30px !important;
  align-items: stretch !important;
  width: 100% !important;
}
.vp-site .vp-facility-card {
  height: 100%;
  width: 100% !important;
  min-width: 0;
}
.vp-site .vp-facility-card .jkit-image-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--vp-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px #121b3b08;
}
.vp-site .vp-facility-card .image-box-header {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  flex: none;
}
.vp-site .vp-main .vp-facility-card .image-box-header img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}
.vp-site .vp-facility-card .image-box-body {
  flex: 1;
  display: flex;
  padding: 26px 28px 28px !important;
}
.vp-site .vp-facility-card .body-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vp-site .vp-facility-card .body-title { margin: 0 0 18px !important; }
.vp-site .vp-facility-card .body-description {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.65;
}
.vp-site .vp-facility-card .body-description > p { margin: 0 0 16px; }
.vp-site .vp-facility-card .body-description > ul { margin: 0 0 16px; }
.vp-site .vp-facility-card .body-description > p:last-child {
  margin: auto 0 0;
  padding-top: 5px;
}
.vp-site .vp-facility-card .body-button:empty { display: none; }

/* Preserve comfortable reading widths at the tablet sidebar breakpoint. */
.vp-site[data-page="metrology"] .vp-careers-cta > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr);
  gap: 40px;
  align-items: center;
}
.vp-site[data-page="metrology"] .vp-careers-cta > .e-con-inner > .e-con {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
}
.vp-site[data-page="metrology"] .vp-careers-cta .elementor-widget-image {
  width: 100% !important;
  text-align: center;
}
.vp-site[data-page="metrology"] .vp-careers-cta .elementor-widget-image img {
  width: auto;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .vp-site[data-page="inspection-facility"] [data-id="165d956"] {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    --grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .vp-site .vp-content-with-sidebar > .e-con-inner {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .vp-site .vp-content-column {
    width: 100% !important;
    flex: none;
    order: 1;
  }
  .vp-site .vp-sidebar-column {
    width: 100% !important;
    min-width: 0;
    flex: none !important;
    order: 2;
  }
  .vp-site .vp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 24px;
    align-items: start;
  }
  .vp-site .vp-sidebar-contact { margin-top: 0; }
}
@media (max-width: 900px) {
  .vp-site[data-page="metrology"] .vp-careers-cta > .e-con-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vp-site[data-page="metrology"] .vp-careers-cta .elementor-widget-image img {
    max-height: 280px;
  }
}

@media (max-width: 767px) {
  .vp-site .vp-sidebar-contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .vp-site .vp-sidebar-contact .vp-sidebar-contact-title { margin: 0 0 4px; }
  .vp-site .vp-sidebar-contact .vp-btn { width: 100%; }
  .vp-site .vp-facility-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
  .vp-site .vp-facility-card .image-box-body { padding: 24px 20px !important; }
  .vp-site .vp-timeline > li { display: block; }
  .vp-footer-contact { width: 100%; }
}

/* Keep the industry introduction close to its cards. */
.vp-site .elementor-1930 #industries{--gap:28px;--row-gap:28px;--padding-top:40px;--padding-bottom:40px}
.vp-site .elementor-1930 #industries [data-id="a626af9"]{--padding-top:0px}
@media(max-width:767px){.vp-site .elementor-1930 #industries{--gap:24px;--row-gap:24px;--padding-top:24px;--padding-bottom:24px}}

/* Contain imported Elementor layers below the shared sticky navigation. */
body.vp-site > .vp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  background: #fff;
}
body.vp-site .vp-main {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.vp-site .vp-main .e-con.jkit-sticky-element--enabled {
  z-index: 1 !important;
}
.vp-site .vp-values-section {
  position: relative;
  isolation: isolate;
}


/* Stick the full left column, rather than a child constrained by its height. */
@media (min-width: 768px) {
  .vp-site .vp-content-with-sidebar,
  .vp-site .vp-content-with-sidebar > .e-con-inner {
    overflow: visible !important;
  }
  .vp-site .vp-content-with-sidebar .vp-sidebar-column {
    position: sticky !important;
    top: calc(var(--vp-header) + 24px) !important;
    align-self: flex-start !important;
    height: auto !important;
    max-height: calc(100dvh - var(--vp-header) - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    z-index: 2;
  }
  .vp-site .vp-sidebar-column .vp-sidebar {
    position: static;
    top: auto;
  }
}
