/* Gas Technic Elements · formula v0.1.0 — all rules scoped to the shortcode. */
.gte-formula,
.gte-formula * { box-sizing: border-box; }
.gte-formula {
  display: grid;
  grid-template-columns: minmax(0,1fr) 44px minmax(0,1fr) 44px minmax(0,1fr);
  column-gap: clamp(12px, 2.2vw, 44px);
  width: 100%;
  max-width: 100%;
  align-items: center;
  margin: 0 auto;
  color: var(--gte-title-color);
  font-family: inherit;
}
.gte-formula .gte-formula__card {
  min-width: 0;
  width: 100%;
  min-height: 365px;
  padding: var(--gte-card-padding);
  border: 2px solid var(--gte-card1-border);
  border-radius: var(--gte-corner-radius);
  background: var(--gte-card1-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.gte-formula .gte-formula__card--second {
  background: var(--gte-card2-bg);
  border-color: var(--gte-card2-border);
}
.gte-formula .gte-formula__media {
  position: relative;
  width: 100%;
  height: var(--gte-image-height);
  flex: 0 0 var(--gte-image-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: clamp(8px, calc(var(--gte-corner-radius) - 7px), 22px);
  background: var(--gte-light);
}
.gte-formula .gte-formula__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
}
.gte-formula .gte-formula__media--empty {
  background: repeating-linear-gradient(135deg, var(--gte-light), var(--gte-light) 16px, #e7e9eb 16px, #e7e9eb 34px);
}
.gte-formula .gte-formula__media--empty > span {
  color: #536476;
  text-align: center;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 18px);
  letter-spacing: .01em;
  padding: 10px;
}
.gte-formula .gte-formula__title,
.gte-formula h2.gte-formula__title,
.gte-formula h3.gte-formula__title,
.gte-formula h4.gte-formula__title,
.gte-formula p.gte-formula__title {
  color: var(--gte-title-color);
  font-family: inherit;
  font-size: var(--gte-title-size);
  font-weight: 750;
  line-height: 1.22;
  text-transform: none;
  letter-spacing: -.015em;
  margin: 18px 0 0;
  padding: 0;
  text-align: center;
}
.gte-formula .gte-formula__description {
  color: var(--gte-body-color);
  font-size: var(--gte-body-size);
  font-weight: 400;
  line-height: 1.48;
  margin: 15px 0 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-align: center;
}
.gte-formula .gte-formula__description p {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0 0 7px;
  padding: 0;
}
.gte-formula .gte-formula__description p:last-child { margin-bottom: 0; }
.gte-formula .gte-formula__description a { color: inherit; text-decoration: underline; }
.gte-formula .gte-formula__operator {
  align-self: center;
  color: var(--gte-operator-color);
  font-size: clamp(34px, 3vw, 49px);
  line-height: 1;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: 700;
  user-select: none;
}
.gte-formula .gte-formula__card--result {
  background: var(--gte-result-bg);
  border-color: var(--gte-result-bg);
  color: var(--gte-result-title-color);
  min-height: 340px;
  justify-content: center;
}
.gte-formula .gte-formula__result-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}
.gte-formula .gte-formula__result-icon {
  width: var(--gte-icon-size);
  height: var(--gte-icon-size);
  min-width: 0;
  max-width: 100%;
  color: var(--gte-result-icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  line-height: 1;
  font-size: var(--gte-icon-size);
}
.gte-formula .gte-formula__result-icon svg,
.gte-formula .gte-formula__result-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  color: inherit;
  border: 0;
}
.gte-formula .gte-formula__result-icon i {
  font-size: 1em;
  font-style: normal;
  line-height: 1;
  color: inherit;
}
.gte-formula .gte-formula__title--result,
.gte-formula h2.gte-formula__title--result,
.gte-formula h3.gte-formula__title--result,
.gte-formula h4.gte-formula__title--result,
.gte-formula p.gte-formula__title--result {
  color: var(--gte-result-title-color);
  font-size: var(--gte-result-title-size);
  margin: 0;
}
.gte-formula .gte-formula__card--result .gte-formula__description { color: var(--gte-result-body-color); margin-top: 15px; }

/* Animation is opt-in through JS, so content stays visible with JS disabled. */
.gte-formula.gte-formula--motion-ready .gte-formula__piece {
  opacity: 0;
  transform: translate3d(0,22px,0);
  transition: opacity var(--gte-animation-duration) ease, transform var(--gte-animation-duration) cubic-bezier(.22,1,.36,1);
  transition-delay: 0ms;
}
.gte-formula.gte-formula--motion-ready[data-gte-animation="zoom"] .gte-formula__piece {
  transform: scale(.93);
}
.gte-formula.gte-formula--motion-ready[data-gte-animation="slide-left"] .gte-formula__piece {
  transform: translate3d(-23px,0,0);
}
.gte-formula.gte-formula--motion-ready .gte-formula__piece.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--gte-delay, 0ms);
}
@media (max-width: 1100px) {
  .gte-formula {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
    max-width: 650px;
  }
  .gte-formula .gte-formula__card { min-height: 0; }
  .gte-formula .gte-formula__card--result { min-height: 245px; }
  .gte-formula .gte-formula__operator { font-size: 40px; padding: 1px 0; }
}
@media (max-width: 600px) {
  .gte-formula .gte-formula__card { padding: min(var(--gte-card-padding), 24px); }
  .gte-formula .gte-formula__media { height: min(var(--gte-image-height), 205px); flex-basis: min(var(--gte-image-height), 205px); }
  .gte-formula .gte-formula__title { font-size: min(var(--gte-title-size), 23px); }
  .gte-formula .gte-formula__description { font-size: min(var(--gte-body-size), 17px); }
  .gte-formula .gte-formula__title--result { font-size: min(var(--gte-result-title-size), 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .gte-formula .gte-formula__piece,
  .gte-formula.gte-formula--motion-ready .gte-formula__piece {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
