/*
Theme Name: Spires
Theme URI: https://spires.example/
Author: Spires
Description: Custom multilingual theme for the Spires website.
Version: 0.1.0
Text Domain: spires
Requires at least: 6.4
Requires PHP: 8.1
*/

.contact-form__status {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 16px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(0, 62, 96, .16);
  border-left: 4px solid #fd9d00;
  border-radius: 10px;
  background: #edf5f7;
  color: #003e60;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status[role="status"]:not(:empty)::before {
  content: "✓";
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fd9d00;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.contact-form__status[role="alert"] {
  border-color: #b9443e;
  background: #fff1ef;
  color: #862a25;
}

.articles-index-page__empty {
  font-size: 18px;
  line-height: 1.3;
}

.articles-index-page__load-status:not(.is-error) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.articles-index-page__load-status.is-error {
  margin-top: 12px;
  color: #a12626;
  text-align: center;
}

.article-card__title a:hover,
.article-card__title a:focus-visible {
  color: var(--color-dark-blue);
}

.article-card {
  position: relative;
}

.article-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-card__title a:focus-visible::after {
  outline: 3px solid var(--color-dark-blue);
  outline-offset: 3px;
  border-radius: 18px;
}

.article-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.case-card--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.cases-page__empty {
  font-size: 18px;
  line-height: 1.3;
}

.cases-page__load-status:not(.is-error) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cases-page__load-status.is-error {
  margin-top: 12px;
  color: #a12626;
  text-align: center;
}

.article-detail-page__layout--no-image {
  grid-template-columns: minmax(0, 1100px);
}

.article-detail-page__visual-frame {
  background: none;
}

.article-detail-page__visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-page__prose h2,
.article-detail-page__prose h3,
.article-detail-page__prose h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: .95;
  text-transform: uppercase;
  color: #333;
}

.article-detail-page__prose h2 {
  margin-top: 13px;
  font-size: 32px;
}

.article-detail-page__prose h3,
.article-detail-page__prose h4 {
  font-size: 24px;
}

.article-detail-page__prose ul,
.article-detail-page__prose ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 2px 0;
  list-style: none;
}

.article-detail-page__prose ul li,
.article-detail-page__prose ol li {
  position: relative;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.2;
}

.article-detail-page__prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: #fff;
}

.article-detail-page__prose ol {
  counter-reset: spires-article-step;
}

.article-detail-page__prose ol li {
  counter-increment: spires-article-step;
}

.article-detail-page__prose ol li::before {
  content: counter(spires-article-step) ".";
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
}

.article-detail-page__prose .wp-block-table {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  border-radius: 20px;
  background: #edf1f4;
}

.article-detail-page__prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
  clip-path: inset(0 round 20px);
  background: #edf1f4;
}

.article-detail-page__prose th,
.article-detail-page__prose td {
  padding: 11px 20px;
  border-right: 1px solid rgba(0, 62, 96, .06);
  border-bottom: 1px solid rgba(0, 62, 96, .06);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  text-align: left;
  color: #4c4c4c;
}

.article-detail-page__prose tr:last-child th,
.article-detail-page__prose tr:last-child td {
  border-bottom: 0;
}

.article-detail-page__prose tr th:last-child,
.article-detail-page__prose tr td:last-child {
  border-right: 0;
}

@media (max-width: 720px) {
  .article-detail-page__prose h2 {
    font-size: 26px;
  }

  .article-detail-page__prose h3,
  .article-detail-page__prose h4 {
    font-size: 22px;
  }

  .article-detail-page__prose li,
  .article-detail-page__prose th,
  .article-detail-page__prose td {
    font-size: 16px;
  }
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.contact-form.is-loading .button {
  cursor: wait;
  opacity: .65;
}

@media (min-width: 1201px) {
  .site-header__actions {
    margin-left: auto;
  }
}

.site-nav__lang-toggle--links {
  --spires-language-index: 0;
  --spires-language-count: 2;
  --spires-language-width: 50%;
  display: grid;
  grid-template-columns: repeat(var(--spires-language-count), minmax(0, 1fr));
  text-decoration: none;
}

.site-nav__lang .site-nav__lang-toggle.site-nav__lang-toggle--links .site-nav__lang-option {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0 !important;
  color: inherit;
  text-decoration: none;
}

.site-nav__lang .site-nav__lang-toggle.site-nav__lang-toggle--links .site-nav__lang-option {
  color: #fff;
}

.site-nav__lang .site-nav__lang-toggle.site-nav__lang-toggle--links .site-nav__lang-option[aria-current="page"] {
  color: #000508;
  pointer-events: none;
}

.site-nav__lang-toggle--links .site-nav__lang-thumb,
.site-nav__lang-toggle--links.is-deu .site-nav__lang-thumb {
  width: calc(var(--spires-language-width) - 2px);
  transform: translateX(calc(var(--spires-language-index) * 100%));
}

.site-header__desktop-lang {
  flex: 0 0 98px;
  width: 98px;
  height: 33px;
  padding: 2px;
  border-radius: 10px;
  background: #b2babf;
}

.site-header__desktop-lang .site-nav__lang-toggle--links {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

.site-header__desktop-lang .site-nav__lang-toggle--links .site-nav__lang-option {
  line-height: 1.2;
}

.site-header__desktop-lang .site-nav__lang-toggle--links .site-nav__lang-option[aria-current="page"] {
  color: #000508;
}

.site-header__desktop-lang .site-nav__lang-toggle--links .site-nav__lang-option:not([aria-current="page"]) {
  color: var(--color-white);
}

.site-header__desktop-lang .site-nav__lang-toggle--links .site-nav__lang-thumb {
  top: 0;
  left: calc(var(--spires-language-index) * var(--spires-language-width));
  width: calc(var(--spires-language-width) - 2px);
  height: 100%;
  border-radius: 8px;
  background: var(--color-white);
  transform: none;
  transition: left .25s ease;
}

.site-nav__list,
.site-nav__submenu,
.mobile-menu__list,
.mobile-menu__submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: inherit;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.site-nav__submenu-toggle,
.mobile-menu__submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  min-height: 30px;
  padding: 0;
  border: 0;
  color: var(--color-dark-blue);
  background: transparent;
  cursor: pointer;
}

.site-nav__submenu-toggle span,
.mobile-menu__submenu-toggle span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-nav__item.is-open > .site-nav__submenu-toggle span,
.mobile-menu__item.is-open > .mobile-menu__submenu-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.site-nav__submenu-toggle:focus-visible,
.mobile-menu__submenu-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-nav__submenu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgb(0 62 96 / 12%);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  white-space: normal;
}

.site-nav__list > .site-nav__item > .site-nav__submenu::before {
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
  content: '';
}

.site-nav__item.is-open > .site-nav__submenu,
html:not(.spires-header-menu-ready) .site-nav__item:hover > .site-nav__submenu,
html:not(.spires-header-menu-ready) .site-nav__item:focus-within > .site-nav__submenu {
  display: grid;
}

.site-nav__submenu .site-nav__submenu {
  top: 0;
  left: 100%;
}

.site-nav__submenu .site-nav__item {
  gap: 0;
}

.site-nav__submenu .site-nav__link {
  flex: 1;
  padding: 10px 12px;
  border-radius: 7px;
}

.site-nav__submenu .site-nav__link:hover,
.site-nav__submenu .site-nav__link:focus-visible,
.site-nav__submenu .site-nav__link[aria-current="page"] {
  color: var(--color-dark-blue);
  background: var(--color-light-blue);
}

.mobile-menu__list {
  display: grid;
  gap: inherit;
}

.mobile-menu__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
}

.mobile-menu__item:not(.spires-menu-item--has-children) > .mobile-menu__link {
  grid-column: 1 / -1;
}

.mobile-menu__nav .mobile-menu__link {
  padding: 11px;
}

.mobile-menu__submenu-toggle {
  width: 32px;
  min-height: 36px;
}

.mobile-menu__submenu {
  grid-column: 1 / -1;
  display: none;
  margin: 0 8px 6px;
  padding-left: 10px;
  border-left: 2px solid var(--color-accent);
}

.mobile-menu__item.is-open > .mobile-menu__submenu,
html:not(.spires-header-menu-ready) .mobile-menu__submenu {
  display: grid;
}

.mobile-menu__submenu .mobile-menu__link {
  font-size: 14px;
}

.home-projects__intro--without-image {
  grid-template-columns: minmax(0, 1fr);
}

.home-reviews {
  padding-bottom: 30px;
}

.home-reviews__column {
  grid-template-rows: 106px 320px;
  align-items: stretch;
}

.home-reviews__column--without-logo {
  grid-template-rows: 320px;
}

.home-reviews__logo {
  width: 100%;
  height: 106px;
  min-height: 106px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid rgba(0, 62, 96, .08);
  overflow: hidden;
}

.home-reviews__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-review-card {
  position: relative;
  height: 320px;
  min-height: 320px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.home-review-card__quote-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.home-review-card .review-card__quote {
  display: -webkit-box;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: var(--color-text);
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  background: transparent;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}

.home-review-card .review-card__quote:focus-visible {
  outline: 2px solid var(--color-dark-blue);
  outline-offset: 2px;
}

.technology-page__hero-content > p + p {
  margin-top: 18px;
}

.technology-compatibility__intro .button {
  padding: 0 20px;
}

.technology-certificate__link {
  position: absolute;
  inset: 0;
  display: block;
}

.technology-certificate__link:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: -3px;
}

.home-review-card .review-card__footer {
  margin-top: auto;
}

.fancybox__content.spires-review-fancybox {
  width: min(820px, calc(100vw - 40px));
  max-height: min(80vh, 720px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 20px;
  background: var(--color-dark-blue);
  color: #fff;
  overflow-y: auto;
}

.spires-review-fancybox__title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
}

.spires-review-fancybox__text {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.spires-review-fancybox__text > * + * {
  margin-top: 1em;
}

.spires-review-fancybox__date {
  margin-top: 24px;
  color: #fff;
  font-size: 16px;
}

@media (max-width: 1200px) {
  .home-reviews__column {
    grid-template-rows: 86px 270px;
  }

  .home-reviews__column--without-logo {
    grid-template-rows: 270px;
  }

  .home-reviews__logo {
    height: 86px;
    min-height: 86px;
  }

  .home-review-card {
    height: 270px;
    min-height: 270px;
  }

  .home-review-card .review-card__quote {
    -webkit-line-clamp: 7;
    line-clamp: 7;
  }
}

@media (max-width: 720px) {
  .home-reviews__column {
    grid-template-rows: 70px 230px;
  }

  .home-reviews__column--without-logo {
    grid-template-rows: 230px;
  }

  .home-reviews__logo {
    height: 70px;
    min-height: 70px;
    padding: 8px 12px;
  }

  .home-review-card {
    height: 230px;
    min-height: 230px;
  }

  .home-review-card .review-card__quote {
    -webkit-line-clamp: 6;
    line-clamp: 6;
  }

  .spires-review-fancybox__text {
    font-size: 16px;
  }
}

html.spires-modal-open,
html.spires-modal-open body {
  overflow: hidden;
}

.spires-modal[hidden] {
  display: none;
}

.spires-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}

.spires-modal.is-open {
  opacity: 1;
}

.spires-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 8, .72);
  backdrop-filter: blur(5px);
}

.spires-modal__dialog {
  position: relative;
  width: min(100%, 817px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px 60px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(254.94deg, #99b9ca -330.23%, #003e60 170.32%);
  box-shadow: 0 28px 80px rgba(0, 5, 8, .34);
  transform: translateY(18px) scale(.985);
  transition: transform .2s ease;
}

.spires-modal.is-open .spires-modal__dialog {
  transform: translateY(0) scale(1);
}

.spires-modal__close {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(-50%);
}

.spires-modal__close::before,
.spires-modal__close::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 3px;
  width: 28px;
  height: 2px;
  background: #fff;
}

.spires-modal__close::before {
  transform: rotate(45deg);
}

.spires-modal__close::after {
  transform: rotate(-45deg);
}

.spires-modal__title {
  margin: 60px 0 14px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.spires-modal__text {
  max-width: 697px;
  margin: 0 auto 40px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
}

.spires-modal__text p {
  margin: 0;
}

.spires-modal .contact-form {
  display: grid;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form--modal .contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.spires-modal .contact-form__grid input:not([type=checkbox]) {
  width: 100%;
  max-width: 697px;
  height: 49px;
  min-height: 49px;
  padding: 15px 20px;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #e4e7ea;
  background: transparent;
}

.spires-modal .contact-form__grid input::placeholder {
  color: #e4e7ea;
  opacity: 1;
}

.contact-form--modal .contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
}

.spires-modal .contact-form .button {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  background: #fd9d00;
  color: #fff;
}

.spires-modal .contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.spires-modal .contact-form__consent input {
  flex: 0 0 auto;
  margin: 0;
}

.contact-form--modal .contact-form__status {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  border-left-color: #fd9d00;
}

.contact-form--modal .contact-form__status[role="alert"] {
  background: rgba(134, 42, 37, .35);
  border-left-color: #ffb2a7;
}

@media (max-width: 480px) {
  .contact-form__status {
    padding: 12px 14px;
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .spires-modal {
    padding: 12px;
  }

  .spires-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 20px 28px;
    border-radius: 20px;
  }

  .spires-modal__close {
    top: 18px;
  }

  .spires-modal__title {
    margin-top: 46px;
    font-size: clamp(28px, 7vw, 36px);
  }

  .spires-modal__text {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .spires-modal .contact-form__grid input:not([type=checkbox]),
  .spires-modal .contact-form .button {
    min-height: 49px;
  }
}

/* Contacts page integration. */
.contacts-detail-page__hero-grid--without-map {
  grid-template-columns: minmax(0, 1fr);
}

.contacts-detail-page__map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-detail-page__text a {
  color: inherit;
  text-decoration: none;
}

.contacts-detail-page__text a:hover,
.contacts-detail-page__text a:focus-visible {
  text-decoration: underline;
}


/* Default page / editor-content integration. */
.privacy-policy-page__intro > :first-child {
  margin-top: 0;
}

.privacy-policy-page__intro > :last-child {
  margin-bottom: 0;
}

.privacy-policy-page__prose ul:not(.privacy-policy-page__list) {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li {
  position: relative;
  padding-left: 24px;
  font-size: .97rem;
  line-height: 1.25;
  color: #4a4a4a;
}

.privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 12px;
  height: 12px;
  border: 2px solid #ff9900;
  border-radius: 50%;
  background: #fff;
}

.privacy-policy-page__prose ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  list-style: decimal;
}

.privacy-policy-page__prose ol > li {
  padding-left: 4px;
  font-size: .97rem;
  line-height: 1.25;
  color: #4a4a4a;
}

.privacy-policy-page__prose a {
  color: var(--color-dark-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-policy-page__prose blockquote {
  margin: 8px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--color-accent);
}

.privacy-policy-page__prose img {
  height: auto;
  border-radius: 10px;
}

.privacy-policy-page__prose .wp-block-table {
  width: 100%;
  overflow-x: auto;
}

.privacy-policy-page__prose table {
  width: 100%;
  border-collapse: collapse;
}

.privacy-policy-page__prose th,
.privacy-policy-page__prose td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 62, 96, .14);
  text-align: left;
}

@media (max-width: 1700px) {
  .privacy-policy-page__prose ul:not(.privacy-policy-page__list),
  .privacy-policy-page__prose ol {
    gap: 12px;
  }

  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li,
  .privacy-policy-page__prose ol > li {
    font-size: .94rem;
  }
}

@media (max-width: 1200px) {
  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li,
  .privacy-policy-page__prose ol > li {
    font-size: .92rem;
    line-height: 1.28;
  }
}

@media (max-width: 720px) {
  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) {
    gap: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li {
    padding-left: 20px;
    font-size: .9rem;
    line-height: 1.28;
  }

  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li::before {
    width: 10px;
    height: 10px;
  }

  .privacy-policy-page__prose ol > li {
    font-size: .9rem;
    line-height: 1.28;
  }
}

@media (max-width: 480px) {
  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) {
    gap: 8px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li {
    padding-left: 16px;
    font-size: 13px;
    line-height: 1.22;
  }

  .privacy-policy-page__prose ul:not(.privacy-policy-page__list) > li::before {
    top: .36em;
    width: 8px;
    height: 8px;
  }

  .privacy-policy-page__prose ol > li {
    font-size: 13px;
    line-height: 1.22;
  }
}

/* Technology differences page: editable rich text and per-item imagery. */
.technology-diff-chip {
  min-height: 128px;
  height: auto;
}

.technology-diff-panel--image {
  background-image:
    linear-gradient(180deg, rgb(1 19 30 / 4%), rgb(1 19 30 / 8%)),
    var(--spires-technology-difference-image);
}

.technology-diff-hero__editor,
.technology-diff-panel__editor {
  display: grid;
  gap: 12px;
}

.technology-diff-hero__editor p,
.technology-diff-panel__editor p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.technology-diff-panel__editor ul {
  display: grid;
  gap: 14px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.technology-diff-panel__editor li {
  position: relative;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text);
}

.technology-diff-panel__editor li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-white);
}

@media (max-width: 1700px) {
  .technology-diff-panel__editor ul {
    gap: 12px;
  }

  .technology-diff-panel__editor li {
    font-size: 17px;
  }
}

@media (max-width: 1200px) {
  .technology-diff-panel__editor li {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .technology-diff-panel__editor ul {
    gap: 10px;
  }

  .technology-diff-panel__editor li {
    padding-left: 18px;
    font-size: 15px;
  }

  .technology-diff-panel__editor li::before {
    width: 10px;
    height: 10px;
  }
}

/* Training hero WYSIWYG content */
.training-detail-page__hero-editor {
  display: grid;
  gap: 12px;
}

.training-detail-page__hero-editor p {
  margin: 0;
  font-size: 18px;
  line-height: 1.24;
  color: #4a4a4a;
}

.training-detail-page__hero-editor h2,
.training-detail-page__hero-editor h3,
.training-detail-page__hero-editor h4 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #333;
}

.training-detail-page__hero-editor ul {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 4px 0 2px;
  list-style: none;
}

.training-detail-page__hero-editor ul > li {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.25;
  color: #4a4a4a;
}

.training-detail-page__hero-editor ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 12px;
  height: 12px;
  border: 2px solid #ff9900;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 1700px) {
  .training-detail-page__hero-editor p,
  .training-detail-page__hero-editor ul > li {
    font-size: 17px;
  }

  .training-detail-page__hero-editor h2,
  .training-detail-page__hero-editor h3,
  .training-detail-page__hero-editor h4 {
    font-size: 22px;
  }

  .training-detail-page__hero-editor ul {
    gap: 16px;
  }
}

@media (max-width: 1200px) {
  .training-detail-page__hero-editor p {
    font-size: 17px;
  }

  .training-detail-page__hero-editor h2,
  .training-detail-page__hero-editor h3,
  .training-detail-page__hero-editor h4 {
    font-size: 20px;
  }

  .training-detail-page__hero-editor ul {
    gap: 14px;
  }

  .training-detail-page__hero-editor ul > li {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .training-detail-page__hero-editor p {
    font-size: 15px;
    line-height: 1.28;
  }

  .training-detail-page__hero-editor h2,
  .training-detail-page__hero-editor h3,
  .training-detail-page__hero-editor h4 {
    font-size: 20px;
  }

  .training-detail-page__hero-editor ul {
    gap: 12px;
  }

  .training-detail-page__hero-editor ul > li {
    padding-left: 20px;
    font-size: 15px;
  }

  .training-detail-page__hero-editor ul > li::before {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .training-detail-page__hero-editor p {
    font-size: 14px;
    line-height: 1.26;
  }

  .training-detail-page__hero-editor h2,
  .training-detail-page__hero-editor h3,
  .training-detail-page__hero-editor h4 {
    font-size: 18px;
  }

  .training-detail-page__hero-editor ul {
    gap: 10px;
    padding-top: 2px;
  }

  .training-detail-page__hero-editor ul > li {
    padding-left: 18px;
    font-size: 14px;
  }
}

.solutions-page__title,
.solutions-card__title {
  overflow-wrap: anywhere;
}

.solutions-page__intro {
  max-width: 900px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
}

.solutions-page__intro > * + * {
  margin-top: 12px;
}

.solutions-page__intro ul,
.solutions-page__intro ol {
  padding-left: 24px;
}

.solutions-page__intro ul {
  list-style: disc;
}

.solutions-page__intro ol {
  list-style: decimal;
}

.solutions-page__empty {
  font-size: 18px;
  line-height: 1.4;
}

.solutions-card__text {
  padding-bottom: 20px;
}

.solutions-card {
  padding: 0;
}

.solutions-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  border-radius: inherit;
}

.solutions-card__link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.solutions-card__text-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.solutions-card .button {
  max-width: 100%;
  min-height: 48px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  white-space: normal;
}

.materials-consumables-card__image {
  background-image: none;
}

.materials-consumables-card--link > .materials-consumables-card__link {
  z-index: 3;
}

.materials-card--link > .materials-card__link {
  z-index: 3;
}

.materials-consumables-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.materials-card__image {
  background-image: none;
}

.materials-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.materials-liners-page__title,
.materials-card__title {
  overflow-wrap: anywhere;
}

.materials-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.materials-liners-page__empty {
  font-size: 18px;
  line-height: 1.4;
}

.materials-liners-page__pagination {
  margin-top: 32px;
}

.materials-liners-page__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.materials-liners-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #99a3aa;
  border-radius: 10px;
}

.materials-liners-page__pagination .page-numbers.current {
  border-color: var(--color-dark-blue);
  background: var(--color-dark-blue);
  color: var(--color-white);
}

.materials-liners-page__pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--color-dark-blue);
  outline-offset: 2px;
}

.materials-consumables-page__title,
.materials-consumables-card__title {
  overflow-wrap: anywhere;
}

.materials-consumables-page__seo-content {
  max-width: 1000px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.materials-consumables-page__seo-content > * + * {
  margin-top: 12px;
}

.materials-consumables-page__seo-content ul,
.materials-consumables-page__seo-content ol {
  padding-left: 24px;
  list-style: revert;
}

@media (max-width: 720px) {
  .materials-liners-page__empty {
    font-size: 16px;
  }

  .materials-liners-page__pagination {
    margin-top: 24px;
  }

  .materials-consumables-page__seo-content {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .materials-liners-page__empty {
    font-size: 14px;
  }

  .materials-liners-page__pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
  }

  .materials-consumables-page__seo-content {
    margin-top: 14px;
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  .solutions-page__intro,
  .solutions-page__empty {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .solutions-page__intro {
    margin-top: 14px;
  }

  .solutions-page__intro,
  .solutions-page__empty {
    font-size: 14px;
  }
}

.solutions-page__pagination {
  margin-top: 32px;
}

.solutions-page__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solutions-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #99a3aa;
  border-radius: 10px;
}

.solutions-page__pagination .page-numbers.current {
  border-color: var(--color-dark-blue);
  background: var(--color-dark-blue);
  color: var(--color-white);
}

.solutions-page__pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--color-dark-blue);
  outline-offset: 2px;
}

.solutions-page__seo-section {
  padding-bottom: 0;
}

.solutions-page__seo-content {
  max-width: 1050px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.solutions-page__seo-content > * + * {
  margin-top: 14px;
}

.solutions-page__seo-content ul,
.solutions-page__seo-content ol {
  padding-left: 24px;
}

.solutions-page__seo-content ul {
  list-style: disc;
}

.solutions-page__seo-content ol {
  list-style: decimal;
}

.solution-detail-hero__intro > p {
  max-width: 1100px;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.24;
  color: var(--color-text);
}

.solution-detail-hero__intro > * + * {
  margin-top: 10px;
}

.solution-detail-hero__intro + .solution-detail-hero__panel {
  margin-top: 40px;
}

.solution-detail-hero__intro ul,
.solution-detail-hero__intro ol,
.solution-detail-hero__lead ul,
.solution-detail-hero__lead ol {
  padding-left: 24px;
}

.solution-detail-hero__intro ul,
.solution-detail-hero__lead ul {
  list-style: disc;
}

.solution-detail-hero__intro ol,
.solution-detail-hero__lead ol {
  list-style: decimal;
}

.solution-detail-hero__lead > * + * {
  margin-top: 10px;
}

.solution-detail-hero__panel--no-media,
.solution-detail-audience--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.solution-detail-hero__media,
.solution-detail-benefits__image,
.solution-detail-audience__photo {
  position: relative;
}

.solution-detail-hero__image,
.solution-detail-benefits__image-file,
.solution-detail-audience__photo-file {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-audience-card--no-badge h3 {
  margin-top: 0;
}

.materials-detail-page__hero-grid--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.materials-detail-page__visual-shell--with-image {
  background-image: none;
  overflow: hidden;
}

.materials-detail-page__visual-shell--with-image::before,
.materials-detail-page__visual-shell--with-image::after {
  display: none;
}

.materials-detail-page__visual-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 721px) {
  .materials-detail-page__hero-grid {
    align-items: stretch;
  }

  .materials-detail-page__visual {
    min-height: 0;
  }

  .materials-detail-page__visual-shell--with-image {
    position: sticky;
    top: 86px;
    height: 620px;
    max-height: calc(100vh - 102px);
    max-height: calc(100dvh - 102px);
    min-height: 0;
  }
}

@media (min-width: 721px) and (max-width: 1700px) {
  .materials-detail-page__visual-shell--with-image {
    height: 560px;
  }
}

@media (min-width: 721px) and (max-width: 1200px) {
  .materials-detail-page__visual-shell--with-image {
    height: 500px;
  }
}

.materials-detail-page__title {
  overflow-wrap: anywhere;
}

.materials-detail-page__intro {
  display: grid;
  gap: 9px;
}

.materials-detail-page__intro p,
.materials-detail-page__intro li {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #454545;
}

.materials-detail-page__intro ul,
.materials-detail-page__intro ol {
  padding-left: 24px;
  list-style: revert;
}

.materials-detail-page__intro h2,
.materials-detail-page__intro h3 {
  margin: 25px 0 0;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #333;
}

.materials-detail-page__intro ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 10px 0 4px;
  list-style: none;
}

.materials-detail-page__intro ul li {
  position: relative;
  padding-left: 24px;
}

.materials-detail-page__intro ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 12px;
  height: 12px;
  border: 2px solid #ff9900;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 720px) {
  .materials-detail-page__intro p,
  .materials-detail-page__intro li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .materials-detail-page__intro p,
  .materials-detail-page__intro li {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .solution-detail-hero__intro > p {
    font-size: 17px;
  }

  .solution-detail-hero__intro + .solution-detail-hero__panel {
    margin-top: 30px;
  }
}

@media (max-width: 720px) {
  .solution-detail-hero__intro > p {
    font-size: 16px;
  }

  .solutions-page__pagination {
    margin-top: 24px;
  }

  .solutions-page__seo-content {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .solution-detail-hero__intro > p {
    font-size: 14px;
    line-height: 1.28;
  }

  .solution-detail-hero__intro + .solution-detail-hero__panel {
    margin-top: 20px;
  }

  .solutions-page__pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
  }

  .solutions-page__seo-content {
    margin-top: 14px;
    font-size: 14px;
  }
}

.case-detail-page__hero-grid--no-image,
.case-detail-page__objective-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.case-detail-page__lead > :first-child,
.case-detail-page__section-text > :first-child,
.case-detail-story-card__text > :first-child,
.case-detail-stage__text > :first-child {
  margin-top: 0;
}

.case-detail-page__lead > :last-child,
.case-detail-page__section-text > :last-child,
.case-detail-story-card__text > :last-child,
.case-detail-stage__text > :last-child {
  margin-bottom: 0;
}

.case-detail-page__params-editor {
  overflow-x: auto;
}

.case-detail-page__params-editor table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.case-detail-page__params-editor th,
.case-detail-page__params-editor td {
  width: 50%;
  padding: 8px 22px;
  border-right: 1px solid rgba(0, 62, 96, .06);
  border-bottom: 1px solid rgba(0, 62, 96, .06);
  text-align: left;
  vertical-align: top;
  color: #4c4c4c;
  font-size: 18px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.case-detail-page__params-editor tr > :last-child {
  border-right: 0;
}

.case-detail-page__params-editor tr:last-child > * {
  border-bottom: 0;
}

.case-detail-page__params-editor > :not(table):not(figure) {
  margin: 12px 22px;
}

.case-objective-card__editor ul,
.case-objective-card__editor ol {
  display: grid;
  gap: clamp(10px, 1.4vw, 21px);
  margin: 0;
  padding: 0;
}

.case-objective-card__editor ul {
  list-style: none;
}

.case-objective-card__editor li {
  color: #4b4b4b;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.24;
}

.case-objective-card__editor ul > li {
  position: relative;
  padding-left: 21px;
}

.case-objective-card__editor ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4em;
  width: 12px;
  height: 12px;
  border: 2px solid #ff9900;
  border-radius: 50%;
  background: #fff;
}

.case-objective-card__editor ol {
  padding-left: 24px;
  list-style: decimal;
}

.case-objective-card__editor ol > li::marker {
  color: #ff9900;
}

.case-objective-card__editor li > :first-child {
  margin-top: 0;
}

.case-objective-card__editor li > :last-child {
  margin-bottom: 0;
}

.case-objective-card__editor > :first-child {
  margin-top: 0;
}

.case-objective-card__editor > :last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .case-detail-page__params-editor table {
    min-width: 560px;
  }

  .case-detail-page__params-editor th,
  .case-detail-page__params-editor td {
    padding: 8px 14px;
    font-size: 15px;
  }

  .case-objective-card__editor ul > li {
    padding-left: 18px;
  }

  .case-objective-card__editor ul > li::before {
    width: 10px;
    height: 10px;
  }
}

.case-detail-page__visual-frame {
  min-height: auto;
}

.case-card {
  position: relative;
}

.case-card__link {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
}

.case-card__link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.case-detail-page__similar .case-card .card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

.case-detail-page__similar .case-card .button {
  align-self: flex-start;
  width: 225px;
  max-width: 100%;
  min-height: 40px;
  height: 40px;
  margin-top: 7px;
  border-color: #99a3aa;
  color: #99a3aa;
}

@media (max-width: 720px) {
  .case-detail-page__similar .case-card .button {
    width: 100%;
  }
}

.technology-product-card {
  position: relative;
}

.technology-product-card__link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: var(--radius-card);
  content: '';
}

.technology-product-card__link:hover,
.technology-product-card__link:focus-visible {
  color: var(--color-accent);
}

.technology-product-card__link:focus-visible::after {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.technology-page__comparison-section .table-shell {
  border-color: var(--color-light-gray);
}

.technology-page__comparison-section .comparison-table th,
.technology-page__comparison-section .comparison-table td {
  border-color: var(--color-light-gray);
}

.technology-page__comparison-section .comparison-table tbody tr:nth-child(odd) {
  background: #f6faff;
}

.technology-page__comparison-section .comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.contacts-detail-page__partners {
  padding-top: 60px;
  padding-bottom: 0;
}
