/* FULLSUNS V3 multilingual, responsive header and performance rules. */
.header .header-inner .container {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1400px;
}

.header .header-inner {
  z-index: 1200;
}

.get-quote {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}

.get-quote > .btn {
  padding-right: 14px;
  padding-left: 14px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7e0ea;
  border-radius: 5px;
  background: #fff;
}

.language-switcher a {
  display: grid;
  min-width: 29px;
  height: 34px;
  padding: 0 6px;
  place-items: center;
  border-right: 1px solid #e3e8ef;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.language-switcher a:last-child {
  border-right: 0;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  background: #176abd;
  color: #fff;
}

@media (min-width: 1200px) {
  .header .header-inner .row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: center;
  }

  .header .header-inner .row > [class*="col-"] {
    width: auto;
    max-width: none;
  }

  .header .nav li {
    margin-right: 3px;
  }

  .header .nav li a {
    padding-right: 5px;
    padding-left: 5px;
  }

  html[data-language="zh"] .header #primary-menu,
  html[data-language="en"] .header #primary-menu {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }

  html[data-language="zh"] .header #primary-menu > li,
  html[data-language="en"] .header #primary-menu > li {
    width: auto;
    flex: 0 0 auto;
    margin-right: 0;
  }

  html[data-language="en"] .header .nav li a {
    font-size: 12px;
  }

  html[data-language="ru"] .header .nav li a {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 11px;
  }
}

/* Homepage hero: clearer source image with a localized contrast layer. */
.slider .single-slider.home-hero-primary {
  background-image: url("/static/image/v3/hero-iss-1920.webp");
}

.slider .single-slider.home-hero-primary::before {
  z-index: 0;
  background: linear-gradient(90deg, rgba(4, 15, 28, 0.68) 0%, rgba(4, 15, 28, 0.48) 36%, rgba(4, 15, 28, 0.08) 68%, rgba(4, 15, 28, 0) 100%);
  opacity: 1;
}

.slider .single-slider.home-hero-primary .container {
  position: relative;
  z-index: 1;
}

.slider .single-slider.home-hero-primary h1 span,
.slider .single-slider.home-hero-primary p {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.slider .single-slider.home-hero-primary p {
  max-width: 720px;
}

/* Five product families stay on one desktop row and remain touch-friendly below it. */
.product-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-right: 0;
  margin-left: 0;
}

.product-category-grid .product-category-item {
  width: auto;
  max-width: none;
  padding: 0;
}

.product-category-grid .single-news {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  margin-bottom: 0;
  border: 1px solid #e6eaf0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1);
}

.product-category-grid .news-head {
  aspect-ratio: 4 / 3;
  background: #eef2f6;
}

.product-category-grid .news-head a,
.product-category-grid .news-head img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-category-grid .news-head img {
  object-fit: cover;
}

.product-category-grid .news-body,
.product-category-grid .news-content {
  display: flex;
  min-height: 72px;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.product-category-grid .news-content {
  width: 100%;
  padding: 12px 8px;
}

.product-category-grid .news-body h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

html[data-language="en"] .product-category-grid .news-body h3,
html[data-language="ru"] .product-category-grid .news-body h3 {
  font-size: 12px;
}

@media (max-width: 1199px) {
  .product-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .slider .single-slider.home-hero-primary {
    background-image: url("/static/image/v3/hero-iss-960.webp");
  }

  .slider .single-slider.home-hero-primary::before {
    background: linear-gradient(90deg, rgba(4, 15, 28, 0.76) 0%, rgba(4, 15, 28, 0.58) 62%, rgba(4, 15, 28, 0.24) 100%);
  }

  .product-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-category-grid .news-body,
  .product-category-grid .news-content {
    min-height: 78px;
  }

  .product-category-grid .news-body h3,
  html[data-language="en"] .product-category-grid .news-body h3,
  html[data-language="ru"] .product-category-grid .news-body h3 {
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .product-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1199px) {
  .header .mobile-nav,
  .header .slicknav_menu,
  .header .header-inner .row > [class*="col-"]:first-child {
    position: static;
  }

  .header .header-inner .row > [class*="col-"]:last-child {
    position: static;
  }

  .header .main-menu {
    display: none;
  }

  .header .slicknav_menu {
    display: block;
    background: transparent;
  }

  .header .slicknav_btn {
    position: absolute;
    z-index: 1001;
    top: 25px;
    right: 15px;
    margin: 0;
    background: transparent;
  }

  .header .slicknav_menu .slicknav_icon-bar {
    width: 25px;
    height: 3px;
    background: #176abd;
  }

  .header .slicknav_nav {
    position: absolute;
    z-index: 999;
    top: 72px;
    left: 0;
    width: 100%;
    margin-top: 0;
    padding: 10px 0 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.1);
  }

  .header .slicknav_nav li {
    border-bottom: 1px solid #eef2f6;
  }

  .header .slicknav_nav li:last-child {
    border-bottom: 0;
  }

  .header .slicknav_nav a,
  .header .slicknav_nav .slicknav_row,
  .header .slicknav_nav .slicknav_arrow {
    color: #202939 !important;
  }

  .header .slicknav_nav a,
  .header .slicknav_nav .slicknav_row {
    min-height: 42px;
    padding: 10px 15px;
    line-height: 22px;
  }

  .header .slicknav_nav a:hover,
  .header .slicknav_nav .slicknav_row:hover {
    border-radius: 0;
    background: #f2f6fb;
    color: #176abd !important;
  }

  .header .header-inner .get-quote {
    position: absolute;
    z-index: 1000;
    top: 18px;
    right: 57px;
    display: block;
    margin: 0;
    padding: 0;
  }

  .header .header-inner .get-quote > .btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .header .header-inner {
    padding-bottom: 0;
  }

  .header .header-inner .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .header .logo {
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .header .slicknav_btn {
    top: 25px;
  }

  .header .header-inner .get-quote {
    top: 21px;
    right: 58px;
  }

  .language-switcher a {
    min-width: 27px;
    height: 31px;
    padding: 0 5px;
    font-size: 10px;
  }

  .breadcrumbs h1,
  .breadcrumbs h2,
  .section-title h2,
  .section-title h3,
  .v1-section-heading h2,
  .v1-product-copy h2 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .header .logo img {
    max-width: 145px;
  }

  .header .header-inner .get-quote {
    right: 53px;
  }

  .language-switcher a {
    min-width: 25px;
    padding: 0 4px;
  }
}

.single-news,
.v1-product-section,
.v1-downloads-section,
.vc_custom_75 {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.fullsuns-form-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fullsuns-form-status {
  margin: 18px 0 4px;
  padding: 12px 14px;
  border-left: 3px solid #176abd;
  border-radius: 3px;
  background: #eef7ff;
  color: #15558f;
  font-weight: 600;
  line-height: 1.6;
}

.fullsuns-contact-form button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
}
