.m5-s-tab li {
    font-size:16px;
}
.m5-year{
    font-size:1.4vw;
}
/*
 * Prefabricated Pipes — German page responsive override
 * Load this stylesheet after the primary site stylesheet.
 * Scope the markup with .prefabricated-pipes-benefits on the section wrapper.
 */

html[lang="de"] .prefabricated-pipes-benefits__grid,
html[lang="de"] .prefabricated-pipes-benefits .elementor-container,
html[lang="de"] .prefabricated-pipes-benefits .elementor-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

html[lang="de"] .prefabricated-pipes-benefits__card,
html[lang="de"] .prefabricated-pipes-benefits .elementor-column {
  min-width: 0;
  width: auto;
}

/* At 1170px and below, show three cards per row. The fourth card wraps. */
@media (min-width: 768px) and (max-width: 1170px) {
  html[lang="de"] .prefabricated-pipes-benefits__grid,
  html[lang="de"] .prefabricated-pipes-benefits .elementor-container,
  html[lang="de"] .prefabricated-pipes-benefits .elementor-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  html[lang="de"] .prefabricated-pipes-benefits__grid,
  html[lang="de"] .prefabricated-pipes-benefits .elementor-container,
  html[lang="de"] .prefabricated-pipes-benefits .elementor-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Spanish traceability/report tiles: allow translated labels to grow instead of escaping the card. */
html[lang="es"] .traceability-sample-reports .elementor-column,
html[lang="es"] .traceability-sample-reports .elementor-widget,
html[lang="es"] .traceability-sample-reports .elementor-widget-container,
html[lang="es"] .traceability-sample-reports .elementor-icon-box-wrapper,
html[lang="es"] .traceability-sample-reports .elementor-icon-box-content,
html[lang="es"] .traceability-sample-reports .elementor-icon-box-title,
html[lang="es"] .traceability-sample-reports .report-card,
html[lang="es"] .traceability-sample-reports .card {
  height: auto;
  min-height: 0;
  max-height: none;
}

html[lang="es"] .traceability-sample-reports .elementor-icon-box-wrapper,
html[lang="es"] .traceability-sample-reports .elementor-widget-container,
html[lang="es"] .traceability-sample-reports .report-card,
html[lang="es"] .traceability-sample-reports .card {
  overflow: visible;
}

html[lang="es"] .traceability-sample-reports .elementor-icon-box-title,
html[lang="es"] .traceability-sample-reports .elementor-icon-box-title a,
html[lang="es"] .traceability-sample-reports .report-card h2,
html[lang="es"] .traceability-sample-reports .report-card h3,
html[lang="es"] .traceability-sample-reports .card-title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

@media (max-width: 767px) {
  html[lang="es"] .traceability-sample-reports .elementor-column,
  html[lang="es"] .traceability-sample-reports .elementor-widget,
  html[lang="es"] .traceability-sample-reports .elementor-widget-container {
    width: 100%;
  }

  html[lang="es"] .traceability-sample-reports .elementor-icon-box-title,
  html[lang="es"] .traceability-sample-reports .report-card h2,
  html[lang="es"] .traceability-sample-reports .report-card h3,
  html[lang="es"] .traceability-sample-reports .card-title {
    font-size: 16px;
    line-height: 1.35;
  }
}

/* Spanish site: protect translated content from horizontal overflow. */
html[lang="es"] body,
html[lang="es"] body * {
  /*min-width: 0;*/
}

html[lang="es"] body h1,
html[lang="es"] body h2,
html[lang="es"] body h3,
html[lang="es"] body h4,
html[lang="es"] body h5,
html[lang="es"] body h6,
html[lang="es"] body p,
html[lang="es"] body a,
html[lang="es"] body span,
html[lang="es"] body li,
html[lang="es"] body button {
  overflow-wrap: anywhere;
  word-break: normal;
}

html[lang="es"] .elementor-widget-container,
html[lang="es"] .elementor-column,
html[lang="es"] .elementor-widget,
html[lang="es"] .elementor-button,
html[lang="es"] .elementor-button-text,
html[lang="es"] .elementor-widget-container > a,
html[lang="es"] .elementor-widget-container .card,
html[lang="es"] .elementor-widget-container .report-card,
html[lang="es"] .elementor-widget-container .service-card {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

html[lang="es"] .card-title,
html[lang="es"] .report-card h2,
html[lang="es"] .report-card h3,
html[lang="es"] .service-card h2,
html[lang="es"] .service-card h3 {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html[lang="es"] .menu-item,
html[lang="es"] .menu-item a,
html[lang="es"] .elementor-nav-menu--dropdown .menu-item a,
html[lang="es"] .mobile-menu li,
html[lang="es"] .mobile-menu li a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

html[lang="es"] .elementor-button,
html[lang="es"] a.button,
html[lang="es"] button {
  white-space: normal;
}

@media (max-width: 767px) {
  html[lang="es"] .elementor-nav-menu--dropdown .menu-item,
  html[lang="es"] .mobile-menu li,
  html[lang="es"] .mobile-menu .menu-item {
    position: relative;
    width: 100%;
    overflow: visible;
  }

  html[lang="es"] .elementor-nav-menu--dropdown .menu-item > a,
  html[lang="es"] .mobile-menu li > a,
  html[lang="es"] .mobile-menu .menu-item > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-right: 56px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html[lang="es"] .elementor-nav-menu--dropdown .sub-arrow,
  html[lang="es"] .mobile-menu li > .sub-arrow,
  html[lang="es"] .mobile-menu .menu-item > .sub-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 12px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
}

/* Russian site: protect the same components from Cyrillic text expansion. */
html[lang="ru"] body,
html[lang="ru"] body * {
  min-width: 0;
}

html[lang="ru"] body h1,
html[lang="ru"] body h2,
html[lang="ru"] body h3,
html[lang="ru"] body h4,
html[lang="ru"] body h5,
html[lang="ru"] body h6,
html[lang="ru"] body p,
html[lang="ru"] body a,
html[lang="ru"] body span,
html[lang="ru"] body li,
html[lang="ru"] body button {
  overflow-wrap: anywhere;
  word-break: normal;
}

html[lang="ru"] .elementor-widget-container,
html[lang="ru"] .elementor-column,
html[lang="ru"] .elementor-widget,
html[lang="ru"] .elementor-button,
html[lang="ru"] .elementor-button-text,
html[lang="ru"] .elementor-widget-container > a,
html[lang="ru"] .elementor-widget-container .card,
html[lang="ru"] .elementor-widget-container .report-card,
html[lang="ru"] .elementor-widget-container .service-card {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

html[lang="ru"] .card-title,
html[lang="ru"] .report-card h2,
html[lang="ru"] .report-card h3,
html[lang="ru"] .service-card h2,
html[lang="ru"] .service-card h3 {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html[lang="ru"] .menu-item,
html[lang="ru"] .menu-item a,
html[lang="ru"] .elementor-nav-menu--dropdown .menu-item a,
html[lang="ru"] .mobile-menu li,
html[lang="ru"] .mobile-menu li a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

html[lang="ru"] .elementor-button,
html[lang="ru"] a.button,
html[lang="ru"] button {
  white-space: normal;
}

@media (max-width: 767px) {
  html[lang="ru"] .elementor-nav-menu--dropdown .menu-item,
  html[lang="ru"] .mobile-menu li,
  html[lang="ru"] .mobile-menu .menu-item {
    position: relative;
    width: 100%;
    overflow: visible;
  }

  html[lang="ru"] .elementor-nav-menu--dropdown .menu-item > a,
  html[lang="ru"] .mobile-menu li > a,
  html[lang="ru"] .mobile-menu .menu-item > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-right: 56px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html[lang="ru"] .elementor-nav-menu--dropdown .sub-arrow,
  html[lang="ru"] .mobile-menu li > .sub-arrow,
  html[lang="ru"] .mobile-menu .menu-item > .sub-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 12px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
}

/* Production process page: reduce the excessive gap around the highlighted media block. */
html[lang="de"] body.page-id-production-process .production-process__card,
html[lang="de"] body.production-process .production-process__card,
html[lang="de"] .production-process .elementor-widget-image {
  margin-bottom: 12px;
}

html[lang="de"] body.page-id-production-process .production-process__card img,
html[lang="de"] body.production-process .production-process__card img,
html[lang="de"] .production-process .elementor-widget-image img {
  display: block;
  margin-bottom: 8px;
}

html[lang="de"] body.page-id-production-process .production-process__card h2,
html[lang="de"] body.page-id-production-process .production-process__card h3,
html[lang="de"] body.production-process .production-process__card h2,
html[lang="de"] body.production-process .production-process__card h3,
html[lang="de"] .production-process .elementor-widget-heading {
  margin-top: 0;
}

/* Site-wide German text safety: keep translated labels inside their component bounds. */
html[lang="de"] body,
html[lang="de"] body * {
  min-width: 0;
}

html[lang="de"] body h1,
html[lang="de"] body h2,
html[lang="de"] body h3,
html[lang="de"] body h4,
html[lang="de"] body h5,
html[lang="de"] body h6,
html[lang="de"] body p,
html[lang="de"] body a,
html[lang="de"] body span,
html[lang="de"] body li,
html[lang="de"] body button {
  overflow-wrap: anywhere;
  word-break: normal;
}

html[lang="de"] .elementor-widget-container,
html[lang="de"] .elementor-column,
html[lang="de"] .elementor-widget,
html[lang="de"] .elementor-button,
html[lang="de"] .elementor-button-text {
  max-width: 100%;
}

/* Cards and report tiles: translated titles may wrap without pushing icons or buttons out. */
html[lang="de"] .elementor-widget-container > a,
html[lang="de"] .elementor-widget-container .card,
html[lang="de"] .elementor-widget-container .report-card,
html[lang="de"] .elementor-widget-container .service-card {
  min-width: 0;
  overflow: hidden;
}

html[lang="de"] .elementor-widget-container .card-title,
html[lang="de"] .elementor-widget-container .report-card h2,
html[lang="de"] .elementor-widget-container .report-card h3,
html[lang="de"] .elementor-widget-container .service-card h2,
html[lang="de"] .elementor-widget-container .service-card h3 {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Navigation and drawer items: allow long German labels to wrap before the arrow. */
html[lang="de"] .menu-item,
html[lang="de"] .menu-item a,
html[lang="de"] .elementor-nav-menu--dropdown .menu-item a,
html[lang="de"] .mobile-menu li,
html[lang="de"] .mobile-menu li a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

html[lang="de"] .elementor-nav-menu--dropdown .menu-item a,
html[lang="de"] .mobile-menu li a {
  padding-right: 44px;
}

html[lang="de"] .elementor-button,
html[lang="de"] a.button,
html[lang="de"] button {
  white-space: normal;
}

@media (max-width: 767px) {
  html[lang="de"] .elementor-widget-heading h1,
  html[lang="de"] .elementor-widget-heading h2,
  html[lang="de"] .elementor-widget-heading h3 {
    line-height: 1.2;
  }

  html[lang="de"] .elementor-nav-menu--dropdown .menu-item a,
  html[lang="de"] .mobile-menu li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* Mobile drawer: reserve a fixed arrow lane on the right of every expandable item. */
  html[lang="de"] .elementor-nav-menu--dropdown .menu-item,
  html[lang="de"] .mobile-menu li,
  html[lang="de"] .mobile-menu .menu-item {
    position: relative;
    width: 100%;
    overflow: visible;
  }

  html[lang="de"] .elementor-nav-menu--dropdown .menu-item > a,
  html[lang="de"] .mobile-menu li > a,
  html[lang="de"] .mobile-menu .menu-item > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-right: 56px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html[lang="de"] .elementor-nav-menu--dropdown .sub-arrow,
  html[lang="de"] .mobile-menu li > .sub-arrow,
  html[lang="de"] .mobile-menu .menu-item > .sub-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 12px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
}
