@font-face {
  font-family: "Jura";
  src: url("/template/paniso-industry/static/font/Jura-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --paniso-navy: #03132b;
  --paniso-ink: #252525;
  --paniso-accent: #f59126;
  --paniso-accent-soft: rgba(245, 145, 38, 0.11);
  --paniso-page-padding: clamp(16px, 4vw, 64px);
  --paniso-content-gutter: clamp(24px, 10vw, 190px);
  --paniso-content-max: 1600px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

#page.site {
  overflow: visible;
}

body {
  color: var(--paniso-ink);
  background: #fbfcfd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

::selection {
  background: rgba(245, 145, 38, 0.28);
  color: var(--paniso-navy);
}

a,
button,
input,
textarea {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

img {
  max-width: 100%;
}

h1,
h2 {
  font-family: "Jura", sans-serif;
  font-style: normal;
  font-weight: 400;
}

h1,
.slider .slider-content h1 {
  font-size: clamp(38px, 5vw, 60px);
}

h2 {
  color: var(--paniso-navy);
  font-size: clamp(32px, 4.2vw, 50px);
}

/* Full-width hero images keep their natural ratio: no crop and no distortion. */
.slider,
.slider .slick-list,
.slider .slick-track,
.slider .slider-item {
  height: auto;
  min-height: 0;
}

.slider .slider-item > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

#site-footer-slot {
  width: 100%;
}

#site-header-slot {
  position: sticky;
  top: 0;
  isolation: isolate;
  z-index: 1000;
  width: 100%;
}

#site-header {
  border-bottom: 1px solid rgba(3, 19, 43, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 22px rgba(3, 19, 43, 0.05);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

#site-header .paniso-contactbar {
  max-height: 44px;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 180ms ease;
}

#site-header .main-header,
#site-header .mobile-header {
  background: rgba(255, 255, 255, 0.78);
  transition: padding 220ms ease, min-height 220ms ease;
}

#site-header .logo-brand img,
#site-header .logo-brand-mobile img {
  transition: width 220ms ease, max-height 220ms ease, margin 220ms ease;
}

#site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(3, 19, 43, 0.12);
}

#site-header.is-scrolled .paniso-contactbar {
  max-height: 0;
  opacity: 0;
}

#site-header.is-scrolled .main-header .container-custom > .row {
  min-height: 68px;
}

#site-header .main-header .container-custom > .row {
  transition: min-height 220ms ease;
}

#site-header.is-scrolled .logo-brand img {
  width: auto;
  max-height: 43px;
  margin-top: 0 !important;
}

#site-header.is-scrolled .language-switcher {
  transform: scale(0.9);
  transform-origin: center right;
}

#site-header .main-navigation > ul > li > a {
  position: relative;
  align-items: center;
  min-height: 108px;
  padding: 36px 18px;
  border-radius: 0;
  white-space: nowrap;
  transition: min-height 220ms ease, padding 220ms ease, color 160ms ease;
}

#site-header.is-scrolled .main-navigation > ul > li > a {
  min-height: 68px;
  padding-top: 22px;
  padding-bottom: 22px;
}

#site-header .main-navigation > ul > li > a::after {
  position: absolute;
  right: 24%;
  bottom: 14px;
  left: 24%;
  height: 2px;
  border-radius: 999px;
  background: var(--paniso-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

#site-header .main-navigation > ul > li.current-menu-item > a,
#site-header .main-navigation > ul > li.current-menu-ancestor > a {
  background: transparent;
  color: var(--paniso-accent) !important;
}

#site-header .main-navigation > ul > li.current-menu-item > a::after,
#site-header .main-navigation > ul > li.current-menu-ancestor > a::after {
  content: none;
  display: none;
}

#site-header .main-navigation > ul > li:hover > a {
  background: transparent;
  color: var(--paniso-accent) !important;
}

#site-header .main-navigation > ul > li:hover > a::after {
  opacity: 0;
}

#site-header .main-navigation ul li ul {
  transition-duration: 180ms;
}

#site-header .sub-menu .current-menu-item > a,
#site-header .sub-menu a:hover,
#site-header .mobile-menu .current-menu-item > a,
#site-header .mobile-menu .current-menu-ancestor > a {
  color: var(--paniso-navy) !important;
}

#site-header .main-navigation .sub-menu a {
  border-left: 3px solid transparent;
  background: #ffffff;
  text-transform: none;
}

#site-header .main-navigation .sub-menu .current-menu-item > a {
  border-left-color: var(--paniso-accent);
  background: var(--paniso-accent-soft);
  color: var(--paniso-navy) !important;
  font-weight: 700;
}

#site-header .main-navigation .sub-menu a:hover,
#site-header .main-navigation .sub-menu a:focus-visible {
  border-left-color: var(--paniso-accent);
  background: rgba(245, 145, 38, 0.07);
  color: var(--paniso-navy) !important;
}

#site-header .selected-option:hover {
  border-color: var(--paniso-accent) !important;
  box-shadow: 0 4px 14px rgba(245, 145, 38, 0.16) !important;
}

#site-header a:focus-visible,
#site-header button:focus-visible {
  outline: 3px solid var(--paniso-accent);
  outline-offset: 3px;
}

.detail-page__label,
.content-template__label {
  border-left: 4px solid var(--paniso-accent);
  background: linear-gradient(90deg, var(--paniso-accent-soft), #eeeeee 70%);
}

.detail-page h1,
.content-template h1,
.contact-card h1,
.contact-card h2,
.legal-page h1 {
  text-wrap: balance;
}

.image-card__media,
.detail-gallery__image,
.logo-card,
.contact-card {
  border-top-color: rgba(245, 145, 38, 0.6);
}

.site-footer {
  border-top: 3px solid var(--paniso-accent);
}

.site-footer a:focus-visible {
  outline: 3px solid var(--paniso-accent);
  outline-offset: 3px;
}

.site-footer a[aria-current="page"] {
  color: var(--paniso-accent) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Active navigation uses color only; no underline or moving decoration. */
#site-header .main-navigation > ul > li > a::after {
  content: none !important;
  display: none !important;
}

/* Restrained industrial treatment for every content page except Contact. */
.content-template,
.detail-page,
.legal-page {
  background-color: #f7f9fb;
}

.content-template h1,
.detail-page h1,
.legal-page h1 {
  padding-left: clamp(14px, 1.3vw, 22px);
  border-left: 4px solid var(--paniso-accent);
}

.image-card__media,
.detail-gallery__image,
.logo-card,
.link-card {
  border-color: #cfd5dc;
  border-top: 3px solid var(--paniso-accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(3, 19, 43, 0.055);
}


/*
 * Responsive boxed content: the section background remains full width while
 * its core content grows and shrinks with the viewport instead of using the
 * legacy Bootstrap fixed widths.
 */
.site-content > section > .container,
.products-page > .container-custom,
#page > section > .container {
  width: min(
    calc(100% - (2 * var(--paniso-content-gutter))),
    var(--paniso-content-max)
  );
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

/* Homepage image-and-copy box shown in the reference. */
.site-content .video-section-left {
  flex: 0 0 44.5%;
  width: 44.5%;
  min-width: 0;
  background-position: center;
}

.site-content .video-section-right {
  flex: 1 1 55.5%;
  width: 55.5%;
  min-width: 0;
  padding: clamp(48px, 5vw, 96px);
}

.site-content .block-right {
  width: 100%;
  max-width: none;
}

.shared-fragment-error {
  margin: 0;
  padding: 16px var(--paniso-page-padding);
  background: #fff3cd;
  color: #664d03;
  font-size: 16px;
}

@media (max-width: 767px) {
  body {
    font-size: 20px;
  }

  .slider .slider-content {
    width: calc(100% - (2 * var(--paniso-page-padding)));
  }

  #site-header.is-scrolled .mobile-header {
    min-height: 62px;
  }

  #site-header.is-scrolled .mobile-header .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 62px;
  }

  #site-header.is-scrolled .mobile-header .col-xs-6 {
    display: flex;
    align-items: center;
    min-height: 62px;
  }

  #site-header.is-scrolled .mobile-header .col-xs-6:nth-child(2) {
    justify-content: flex-end;
  }

  #site-header.is-scrolled .logo-brand-mobile,
  #site-header.is-scrolled .logo-brand-mobile a {
    display: flex;
    align-items: center;
  }

  #site-header.is-scrolled #mmenu_toggle {
    float: none;
    margin: 0;
  }

  #site-header.is-scrolled .mobile-header .col-xs-12 {
    flex: 0 0 100%;
    width: 100%;
  }

  #site-header.is-scrolled .logo-brand-mobile img {
    display: block;
    width: auto;
    max-height: 38px;
  }
}

@media (max-width: 991px) {
  .site-content .video-section-left,
  .site-content .video-section-right {
    flex-basis: 100%;
    width: 100%;
  }

  .site-content .video-section-left {
    min-height: clamp(320px, 70vw, 560px);
  }

  .site-content .video-section-right {
    padding: clamp(32px, 7vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
