:root {
  --st-ink: #161a1b;
  --st-muted: #626b70;
  --st-line: #dce2e3;
  --st-surface: #f3f6f5;
  --st-white: #fff;
  --st-green: #00843d;
  --st-green-dark: #006b32;
  --st-cyan: #00a6bd;
  --st-shell: 1280px;
  --st-radius: 4px;
}

/* 2026 editorial shell: one public header, contextual CMS controls. */
.site-admin-bar {
  min-height: 40px;
  color: #e8ecea;
  background: var(--st-ink);
}

.site-admin-bar__inner,
.site-admin-bar nav,
.site-primary__actions {
  display: flex;
  align-items: center;
}

.site-admin-bar__inner {
  min-height: 40px;
  justify-content: space-between;
  gap: 24px;
}

.site-admin-bar nav {
  gap: 22px;
}

.site-admin-bar a {
  color: #e8ecea;
  font-size: 13px;
}

.site-admin-bar a:hover,
.site-admin-bar a:focus-visible {
  color: #fff;
}

.site-primary__inner {
  grid-template-columns: 210px minmax(0, 1fr) auto;
}

.site-primary__actions {
  justify-content: flex-end;
  gap: 18px;
}

.site-primary .language-menu summary {
  color: var(--st-ink);
}

.primary-navigation .primary-navigation__list {
  overflow: visible;
}

.primary-navigation__list > li {
  position: relative;
}

.primary-navigation .primary-navigation__submenu {
  position: absolute;
  z-index: 30;
  top: calc(100% - 2px);
  left: 50%;
  display: block;
  width: max-content;
  min-width: 170px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--st-line);
  box-shadow: 0 18px 36px rgb(14 24 20 / 14%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-navigation__list > .has-submenu:hover .primary-navigation__submenu,
.primary-navigation__list > .has-submenu:focus-within .primary-navigation__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.primary-navigation .primary-navigation__submenu a {
  padding: 11px 18px;
  border: 0;
  white-space: nowrap;
}

.site-content--full,
.site-content--full > div,
.site-content--full .region-content {
  width: 100%;
  max-width: none;
}

.homeSliderShow {
  height: clamp(320px, 41.64vw, 533px);
  min-height: 0;
  margin-bottom: 0;
}

.home-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.home-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.homeSliderShow .home-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.home-slide__caption {
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  bottom: clamp(24px, 5vw, 72px);
  max-width: 480px;
  padding: 14px 18px;
  color: #fff;
  background: rgb(11 20 17 / 74%);
}

.home-card-band {
  padding: clamp(24px, 3vw, 48px);
}

.home-card-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
}

.home-card .content-card__media,
.home-card .content-card__media img {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.progressive-grid__more {
  display: block;
  min-height: 42px;
  margin: 34px auto 0;
  padding: 9px 22px;
  color: var(--st-green-dark);
  background: #fff;
  border: 1px solid var(--st-green);
  border-radius: var(--st-radius);
}

.progressive-grid__more:hover,
.progressive-grid__more:focus-visible {
  color: #fff;
  background: var(--st-green);
}

@media (prefers-reduced-motion: reduce) {
  .home-slider__track {
    transition: none;
  }
}

@media (max-width: 960px) {
  .site-primary__inner {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .site-primary__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-navigation {
    grid-column: 1 / -1;
  }

  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-primary__actions {
    gap: 10px;
  }

  .site-primary .language-menu {
    display: none;
  }

  .primary-navigation .primary-navigation__submenu {
    left: 0;
    transform: translate(0, 8px);
  }

  .primary-navigation__list > .has-submenu:hover .primary-navigation__submenu,
  .primary-navigation__list > .has-submenu:focus-within .primary-navigation__submenu {
    transform: translate(0, 0);
  }

  .homeSliderShow {
    height: auto;
    aspect-ratio: 1280 / 533;
  }

  .home-card-band {
    padding: 16px 12px;
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }
}

html {
  color: var(--st-ink);
  background: var(--st-white);
}

body {
  margin: 0;
  color: var(--st-ink);
  background: var(--st-white);
  font-family: 'AlibabaSans-Regular', 'Alibaba-PuHuiTi-Regular', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--st-green-dark);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--st-green);
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(100% - 48px, var(--st-shell));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--st-white);
  border-bottom: 1px solid var(--st-line);
}

.site-utility {
  min-height: 38px;
  color: #d8dddd;
  background: var(--st-ink);
}

.site-utility__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  gap: 20px;
}

.site-utility__spacer {
  flex: 1 1 auto;
}

.language-menu {
  position: relative;
  width: max-content;
  min-width: 0;
}

.language-menu summary {
  position: relative;
  padding: 8px 20px 8px 0;
  color: #f4f7f6;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: '';
  transform: translateY(-70%) rotate(45deg);
}

.language-menu[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.language-menu ul {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: 220px;
  margin: 0;
  padding: 8px 0;
  background: var(--st-white);
  border: 1px solid var(--st-line);
  box-shadow: 0 14px 32px rgb(22 26 27 / 14%);
  list-style: none;
}

.language-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--st-ink);
}

.language-menu a[aria-current='true'],
.language-menu a:hover {
  color: var(--st-green-dark);
  background: var(--st-surface);
}

.account-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-menu a {
  color: #d8dddd;
  font-size: 13px;
}

.site-search {
  width: 220px;
}

.site-search form,
.site-search .form-item,
.site-search .form-actions {
  display: flex;
  align-items: center;
  margin: 0;
}

.site-search input[type='search'],
.site-search input[type='text'] {
  width: 162px;
  height: 30px;
  margin: 0;
  padding: 5px 10px;
  color: var(--st-ink);
  background: var(--st-white);
  border: 1px solid #5c6264;
  border-radius: var(--st-radius) 0 0 var(--st-radius);
}

.site-search input[type='submit'] {
  height: 30px;
  margin: 0;
  padding: 4px 10px;
  color: var(--st-white);
  background: var(--st-green);
  border: 1px solid var(--st-green);
  border-radius: 0 var(--st-radius) var(--st-radius) 0;
}

.site-primary__inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 196px;
  height: auto;
}

.primary-navigation ul,
.product-navigation ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation ul {
  justify-content: flex-end;
  gap: 36px;
}

.primary-navigation a {
  display: block;
  padding: 30px 0 28px;
  color: var(--st-ink);
  font-size: 15px;
  border-bottom: 2px solid transparent;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--st-green-dark);
  border-bottom-color: var(--st-green);
}

.my-santoni,
.my-santoni:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  color: var(--st-white);
  background: var(--st-green);
  border: 1px solid var(--st-green);
  border-radius: var(--st-radius);
  font-size: 14px;
}

.my-santoni:hover {
  color: var(--st-white);
  background: var(--st-green-dark);
}

.product-navigation {
  background: var(--st-surface);
  border-top: 1px solid var(--st-line);
}

.product-navigation ul {
  justify-content: flex-end;
  min-height: 44px;
  gap: 34px;
}

.product-navigation a {
  color: #394144;
  font-size: 14px;
}

.site-main {
  min-height: 560px;
  padding: 50px 0 80px;
}

.is-front .site-main {
  min-height: 0;
  padding: 0;
}

.site-content > div,
.site-content .region-content {
  width: 100%;
}

#block-santoni-page-title h1 {
  max-width: 980px;
  margin: 0 0 38px;
  color: var(--st-ink);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 500;
}

#block-santoni-page-title h1::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--st-green);
  content: '';
}

.is-front #block-santoni-page-title {
  display: none;
}

.content-entity {
  width: 100%;
}

.content-entity__body,
.editorial-page,
.news-article,
.container-page {
  max-width: 1120px;
}

.field {
  margin-bottom: 24px;
}

.field__label {
  margin-bottom: 7px;
  color: var(--st-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.field__items,
.field__item {
  min-width: 0;
}

.prose {
  max-width: 880px;
  color: #343a3c;
  font-size: 17px;
  line-height: 1.85;
}

.prose p {
  margin: 0 0 1.2em;
}

.prose span[style*='font-size'] {
  font-size: inherit !important;
}

.prose h2,
.prose h3 {
  margin: 2em 0 .7em;
  color: var(--st-ink);
  line-height: 1.3;
}

.prose img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto !important;
  margin: 28px 0;
}

.content-summary {
  max-width: 760px;
}

.content-summary__lead {
  margin: 0;
  color: #343a3c;
  font-size: 18px;
  line-height: 1.8;
}

.content-summary__full {
  max-width: 760px;
}

.content-disclosure {
  margin-top: 26px;
  border-top: 1px solid var(--st-line);
}

.content-disclosure summary {
  position: relative;
  width: max-content;
  padding: 17px 24px 17px 0;
  color: var(--st-green-dark);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.content-disclosure summary::-webkit-details-marker {
  display: none;
}

.content-disclosure summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: '';
  transform: translateY(-70%) rotate(45deg);
}

.content-disclosure[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.content-disclosure__body {
  max-width: 760px;
  padding: 8px 0 18px;
}

.editorial-page__media {
  display: block;
  max-width: 1120px;
  align-items: start;
  margin-bottom: 48px;
  gap: 24px;
}

.editorial-page__media .field {
  margin: 0;
}

.editorial-page__media img,
.editorial-page__media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e1112;
}

.product-family__hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  margin-bottom: 0;
  background: var(--st-surface);
  border: 1px solid var(--st-line);
}

.machine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  margin-bottom: 56px;
  background: var(--st-surface);
}

.product-family__hero--text-only,
.machine-hero--text-only {
  grid-template-columns: minmax(0, 760px);
  background: transparent;
}

.product-family__hero--text-only .product-family__intro,
.machine-hero--text-only .machine-hero__content {
  background: var(--st-surface);
}

.product-family__visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: var(--st-white);
  overflow: hidden;
}

.machine-hero__visual {
  align-self: stretch;
  min-height: 420px;
  background: var(--st-white);
}

.product-family__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.product-family__intro,
.machine-hero__content {
  padding: clamp(34px, 4vw, 58px);
}

.product-family__intro .field--name-field-category-name {
  margin-bottom: 24px;
}

.product-supporting {
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  margin: 0 0 48px;
  padding: 20px 0;
  border-top: 1px solid var(--st-line);
  border-bottom: 1px solid var(--st-line);
  overflow: hidden;
}

.product-family__disclosure,
.machine-description {
  margin: 0 0 42px;
}

.product-family__disclosure summary {
  margin-left: calc(45% + 58px);
}

.product-family__disclosure .content-disclosure__body,
.machine-description .content-disclosure__body {
  margin-right: auto;
  margin-left: auto;
}

.product-supporting img {
  display: block;
  width: clamp(900px, 120vw, 1500px);
  max-width: none;
  height: auto;
}

.product-family .product-story {
  --story-shift: 0%;
  --story-scale: 1.14;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
  margin: 0 0 clamp(60px, 8vw, 112px);
}

.product-family .product-story__visual {
  position: sticky;
  top: 112px;
  height: min(720px, calc(100vh - 152px));
  min-height: 560px;
  background: #eef2f1;
  overflow: hidden;
}

.product-family .product-story__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 92%;
  transform: translateY(var(--story-shift)) scale(var(--story-scale));
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.product-family .product-story__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgb(255 255 255 / 58%);
  overflow: hidden;
}

.product-family .product-story__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--st-green);
  transform: scaleX(.25);
  transform-origin: left center;
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.product-family .product-story__chapters {
  padding-top: 4vh;
}

.product-family .product-story__chapter {
  display: flex;
  min-height: 62vh;
  flex-direction: column;
  justify-content: center;
  opacity: .26;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.product-family .product-story__chapter.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-family .product-story--compact .product-story__chapter {
  min-height: 48vh;
}

.product-family .product-story__number {
  margin-bottom: 24px;
  color: var(--st-green-dark);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.product-family .product-story__chapter p {
  max-width: 620px;
  margin: 0;
  color: var(--st-ink);
  font-size: 23px;
  line-height: 1.72;
}

.product-family .product-supporting {
  height: 210px;
  margin: 0 0 clamp(70px, 9vw, 120px);
  padding: 0;
  border: 0;
  overflow: hidden;
}

.product-family .product-supporting img {
  width: min(100%, 620px);
  max-width: 620px;
  height: 210px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}

.product-family .listing-section {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 900px) {
  .product-family .product-story {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 72px;
  }

  .product-family .product-story__visual {
    position: relative;
    top: auto;
    height: min(72svh, 660px);
    min-height: 460px;
  }

  .product-family .product-story__chapters {
    padding-top: 0;
  }

  .product-family .product-story__chapter,
  .product-family .product-story__chapter.is-active,
  .product-family .product-story--compact .product-story__chapter {
    min-height: 0;
    margin-bottom: 34px;
    opacity: 1;
    transform: none;
  }

  .product-family .product-story__number {
    margin-bottom: 14px;
  }

  .product-family .product-story__chapter p {
    font-size: 18px;
    line-height: 1.72;
  }

  .product-family .product-supporting {
    height: 128px;
    margin-bottom: 72px;
  }

  .product-family .product-supporting img {
    width: 100%;
    max-width: 100%;
    height: 128px;
    object-fit: cover;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-family .product-story__visual img,
  .product-family .product-story__chapter,
  .product-family .product-story__progress span {
    transition: none;
  }
}

.field--name-field-category-name .field__item,
.field--name-field-product-name .field__item,
.field--name-field-machine-name .field__item {
  color: var(--st-ink);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
}

.technology-section,
.machine-gallery,
.machine-video,
.machine-specifications,
.machine-software,
.listing-section {
  padding: 52px 0;
  border-top: 1px solid var(--st-line);
}

.editorial-page__content,
.news-article__content {
  max-width: 820px;
}

.circulab-page {
  max-width: 1120px;
}

.circulab-hero {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  min-height: 420px;
  margin-bottom: 72px;
  background: #111718;
  color: var(--st-white);
  overflow: hidden;
}

.circulab-hero__brand {
  padding: clamp(42px, 6vw, 76px);
}

.circulab-hero__brand span {
  display: block;
  margin-bottom: 22px;
  color: #72c99a;
  font-size: 15px;
  font-weight: 600;
}

.circulab-hero__brand h2 {
  max-width: 420px;
  margin: 0;
  color: var(--st-white);
  font-size: 42px;
  line-height: 1.16;
  font-weight: 500;
}

.circulab-hero__media {
  display: flex;
  height: 100%;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  background: #080b0c;
  overflow: hidden;
}

.circulab-hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.circulab-content {
  max-width: 840px;
  margin: 0 auto 88px;
}

.circulab-content p {
  margin: 0 0 34px;
  color: var(--st-ink);
  font-size: 19px;
  line-height: 1.85;
}

@media (max-width: 760px) {
  .circulab-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 48px;
  }

  .circulab-hero__brand {
    padding: 42px 24px;
  }

  .circulab-hero__brand h2 {
    font-size: 32px;
  }

  .circulab-hero__media {
    min-height: 220px;
  }

  .circulab-hero__media video {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .circulab-content p {
    font-size: 17px;
    line-height: 1.78;
  }
}

.page-kind--node-news-and-events #block-santoni-page-title {
  display: none;
}

.news-article__title {
  max-width: 980px;
  margin: 0 0 22px;
  color: var(--st-ink);
  font-size: 42px;
  line-height: 1.22;
  font-weight: 500;
}

.news-article__title::after {
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--st-green);
  content: '';
}

.news-article__content .prose img {
  max-width: 380px;
}

.technology-section h2,
.machine-specifications h2,
.section-heading h2 {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
}

.machine-gallery .field__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.machine-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.machine-specifications .field__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--st-line);
}

.machine-specifications > .field > .field__label {
  display: none;
}

.machine-specifications .paragraph {
  display: grid;
  grid-template-columns: minmax(120px, .4fr) 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--st-line);
  gap: 20px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading span {
  color: var(--st-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  position: relative;
  min-width: 0;
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  overflow: hidden;
}

.content-card__media {
  display: block;
  min-height: 220px;
  background: var(--st-surface);
}

.content-card__media:empty::before {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--st-surface);
  content: '';
}

.content-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 240ms ease;
}

.santoni-missing-image {
  display: none !important;
}

.product-family__hero:has(.product-family__visual img.santoni-missing-image),
.machine-hero:has(.machine-hero__visual img.santoni-missing-image) {
  grid-template-columns: minmax(0, 760px);
  background: transparent;
}

.product-family__visual:has(img.santoni-missing-image),
.machine-hero__visual:has(img.santoni-missing-image),
.machine-gallery .field__item:has(img.santoni-missing-image) {
  display: none;
}

.product-family__hero:has(.product-family__visual img.santoni-missing-image) .product-family__intro,
.machine-hero:has(.machine-hero__visual img.santoni-missing-image) .machine-hero__content {
  background: var(--st-surface);
}

.product-card .content-card__media img {
  object-fit: contain;
}

.content-card:hover .content-card__media img {
  transform: scale(1.025);
}

.content-card__body {
  padding: 22px;
}

.content-card:not(.content-card--text-only) .content-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 52px 22px 22px;
  color: var(--st-white);
  background: linear-gradient(to top, rgb(7 18 14 / 92%), rgb(7 18 14 / 0%));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.content-card:not(.content-card--text-only):hover .content-card__body,
.content-card:not(.content-card--text-only):focus-within .content-card__body,
.content-card:not(.content-card--text-only).is-revealed .content-card__body {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.content-card:not(.content-card--text-only) .content-card__body a,
.content-card:not(.content-card--text-only) .content-card__body p,
.content-card:not(.content-card--text-only) .content-card__body time {
  color: var(--st-white);
}

.content-card--text-only {
  border-top: 3px solid var(--st-green);
}

.content-card--text-only .content-card__body {
  min-height: 220px;
}

.content-card h2,
.content-card h3 {
  margin: 6px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.content-card time {
  color: var(--st-cyan);
  font-size: 12px;
  font-weight: 700;
}

.content-card p {
  margin: 0;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.65;
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  color: var(--st-muted);
  gap: 10px 24px;
}

.news-article__meta .field {
  margin: 0;
}

.news-article__media {
  margin-bottom: 42px;
}

.news-article__media img,
.news-article__media video {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.node-home {
  width: 100%;
}

.homeSliderShow {
  position: relative;
  width: 100%;
  height: 480px;
  min-height: 480px;
  margin: 0 0 28px;
  background-color: var(--st-surface);
  background-image: none;
  overflow: hidden;
}

.homeSliderShow > div {
  height: 100%;
  min-height: 0;
}

.homeSliderShow img {
  min-height: 480px;
}

.homeSliderShow img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.home-slider__control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  background: rgb(22 26 27 / 68%);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(.94);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  pointer-events: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
}

.home-slider__control::before {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}

.home-slider__control::after {
  content: none !important;
}

.home-slider__control--previous::before {
  background-image: url('../img/carousel-arrow-left.svg');
}

.home-slider__control--next::before {
  background-image: url('../img/carousel-arrow-right.svg');
}

.homeSliderShow:hover .home-slider__control,
.homeSliderShow:focus-within .home-slider__control,
.home-slider__control:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.home-slider__control:hover,
.home-slider__control:focus-visible {
  background: var(--st-green);
}

.home-slider__control--previous {
  left: 18px;
}

.home-slider__control--next {
  right: 18px;
}

.home-slider__dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.home-slider__dot {
  width: 6px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  background: rgb(255 255 255 / 82%);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(22 26 27 / 30%);
}

.home-slider__dot.is-active {
  background: var(--st-green);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 92%);
}

.row.boxes_home.boxes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-content: stretch;
  margin: 0;
  gap: 20px;
}

.row.boxes_home.boxes::before,
.row.boxes_home.boxes::after {
  display: none;
  content: none;
}

.row.boxes_home.boxes > .span4 {
  float: none;
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  transform: none;
}

.boxes_home .inner-box {
  position: relative;
  height: 100%;
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  overflow: hidden;
}

.boxes_home .inner-box img {
  height: 230px;
}

.boxes_home .home-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.boxes_home .title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 0;
  padding: 48px 22px 20px;
  color: var(--st-white);
  background: linear-gradient(to top, rgb(7 18 14 / 92%), rgb(7 18 14 / 0%));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.boxes_home .inner-box:hover .title,
.boxes_home .inner-box:focus-within .title,
.boxes_home .inner-box.is-revealed .title {
  opacity: 1;
  transform: translateY(0);
}

.boxes_home .title h3 {
  margin: 0 0 8px;
  color: var(--st-white);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
}

.boxes_home .small-title {
  display: none;
}

form:not(.site-search form) {
  max-width: 760px;
}

.form-item,
.form-actions {
  float: none;
  clear: both;
  margin: 0 0 20px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #333a3d;
  font-weight: 600;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
input[type='tel'],
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 11px;
  color: var(--st-ink);
  background: var(--st-white);
  border: 1px solid #bfc8ca;
  border-radius: var(--st-radius);
  box-shadow: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--st-green);
  outline: 2px solid rgb(0 132 61 / 14%);
}

input[type='submit'],
button,
.button {
  min-height: 42px;
  padding: 9px 18px;
  color: var(--st-white);
  background: var(--st-green);
  border: 1px solid var(--st-green);
  border-radius: var(--st-radius);
  box-shadow: none;
}

.tabs ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 0;
  border-bottom: 1px solid var(--st-line);
  list-style: none;
  gap: 24px;
}

.tabs a {
  display: block;
  padding: 10px 0;
}

#block-santoni-local-tasks ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 0;
  border-bottom: 1px solid var(--st-line);
  list-style: none;
  gap: 8px 28px;
}

#block-santoni-local-tasks a {
  display: block;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

#block-santoni-local-tasks a.is-active {
  color: var(--st-ink);
  border-bottom-color: var(--st-green);
}

.messages-list,
[data-drupal-messages] > div {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #eef7f2;
  border-left: 3px solid var(--st-green);
}

.site-footer {
  color: #5f686a;
  background: #f6f7f7;
  border-top: 1px solid #eceeee;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(340px, 1.4fr) auto;
  min-height: 158px;
  padding: 32px 0 26px;
  gap: 56px;
  align-items: center;
}

.site-footer__brand img {
  width: 170px;
  filter: none;
}

.site-footer__brand p {
  max-width: 320px;
  margin: 12px 0 0;
  color: #687173;
  font-size: 13px;
}

.site-footer__contact {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #60696b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.site-footer__wechat {
  margin: 0;
  text-align: center;
}

.site-footer__wechat img {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.site-footer__wechat figcaption {
  margin-top: 7px;
  color: #6c7476;
  font-size: 12px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  color: #747d7f;
  border-top: 1px solid #dfe2e2;
  font-size: 12px;
  gap: 24px;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a {
  color: #556063;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--st-green);
}

.site-footer__legal {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.site-footer__icp {
  color: #16834c !important;
}

@media (hover: none) {
  .home-slider__control {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 32px, var(--st-shell));
  }

  .site-primary__inner {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .primary-navigation ul {
    gap: 20px;
  }

  .site-search {
    width: 180px;
  }

  .site-search input[type='search'],
  .site-search input[type='text'] {
    width: 124px;
  }

  .product-family__hero,
  .machine-hero,
  .editorial-page__media {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .row.boxes_home.boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-shell {
    width: min(100% - 24px, var(--st-shell));
  }

  .site-utility__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
  }

  .site-utility__spacer {
    display: none;
  }

  .language-menu {
    min-width: 0;
  }

  .account-menu {
    justify-content: flex-end;
  }

  .site-search {
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 8px;
  }

  .site-search form {
    width: 100%;
  }

  .site-search input[type='search'],
  .site-search input[type='text'] {
    flex: 1 1 auto;
    width: auto;
  }

  .site-primary__inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .brand img {
    width: 166px;
  }

  .primary-navigation {
    grid-column: 1 / -1;
    overflow-x: auto;
  }

  .primary-navigation ul {
    justify-content: flex-start;
    min-width: max-content;
  }

  .primary-navigation a {
    padding: 13px 0;
  }

  .my-santoni {
    grid-column: 2;
    grid-row: 1;
  }

  .product-navigation {
    overflow-x: auto;
  }

  .product-navigation ul {
    justify-content: flex-start;
    min-width: max-content;
  }

  .site-main {
    padding: 34px 0 56px;
  }

  #block-santoni-page-title h1 {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .product-family__visual,
  .machine-hero__visual {
    min-height: 0;
  }

  .product-family__intro,
  .machine-hero__content {
    padding: 28px 20px;
  }

  .content-summary__lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .product-supporting {
    height: 116px;
    margin-bottom: 34px;
    padding: 14px 0;
  }

  .product-supporting img {
    width: 900px;
  }

  .product-family__disclosure summary {
    margin-left: 0;
  }

  .technology-section,
  .machine-gallery,
  .machine-video,
  .machine-specifications,
  .machine-software,
  .listing-section {
    padding: 42px 0;
  }

  .card-grid,
  .row.boxes_home.boxes,
  .machine-gallery .field__items,
  .machine-specifications .field__items {
    grid-template-columns: 1fr;
  }

  .product-card-grid {
    gap: 14px;
  }

  .content-card--text-only .content-card__body {
    min-height: 0;
  }

  .homeSliderShow,
  .homeSliderShow img {
    height: auto;
    min-height: 0;
  }

  .homeSliderShow {
    aspect-ratio: 8 / 3;
  }

  .homeSliderShow > div {
    height: 100%;
    min-height: 0;
  }

  .homeSliderShow img {
    height: 100%;
    object-fit: contain;
  }

  .home-slider__control {
    width: 32px;
    min-height: 32px;
    font-size: 24px;
  }

  .home-slider__dots {
    bottom: 7px;
  }

  .home-slider__control--previous {
    left: 8px;
  }

  .home-slider__control--next {
    right: 8px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer__wechat {
    justify-self: start;
    text-align: left;
  }

  .site-footer__wechat img {
    margin: 0;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  .site-footer__legal {
    justify-items: start;
    text-align: left;
  }
}
