main h1,
main h2,
main h3 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  isolation: isolate;
}

main h1::after,
main h2::after,
main h3::after {
  content: "" !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.045em;
  z-index: 0;
  display: block !important;
  height: 0.16em;
  border-radius: 999px;
  background-image:
    linear-gradient(
      90deg,
      transparent,
      rgba(212, 175, 55, 0.95),
      rgba(255, 255, 255, 0.85),
      rgba(212, 175, 55, 0.95),
      transparent
    );
  background-size: 220% 100%;
  opacity: 0.62;
  pointer-events: none;
  filter: blur(0.5px);
  animation: titleLinePass 3.8s linear infinite !important;
}

.gallery-heading h2::after,
.contact-panel-header h2::after,
.academia-content > h2::after,
.locales-premium-intro h1::after {
  content: "" !important;
  display: block !important;
  animation: titleLinePass 3.8s linear infinite !important;
}

main h1,
.section-heading h2,
.gallery-heading h2,
.academia-content > h2,
.contact-panel-header h2 {
  margin-left: auto;
  margin-right: auto;
}

.product-copy h2,
.local-block-info h2,
.local-block-info h3,
.footer h3 {
  margin-left: 0;
  margin-right: 0;
}

.price-card h3 {
  margin-left: auto;
  margin-right: auto;
}

.gallery-heading h2,
.contact-panel-header h2 {
  display: block !important;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.gallery-heading h2::after,
.contact-panel-header h2::after {
  bottom: -0.03em;
  height: 0.14em;
}

.contact-panel-header {
  max-width: 100%;
}

@keyframes titleLinePass {
  0% {
    background-position: 100% 0;
    opacity: 0.32;
  }

  18%,
  78% {
    opacity: 0.7;
  }

  100% {
    background-position: -100% 0;
    opacity: 0.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  main h1::after,
  main h2::after,
  main h3::after {
    animation: none !important;
    background-position: 50% 0;
  }
}

.product-carousel > .locales-premium-tag,
.product-carousel > h2 {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.product-carousel > h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
}

.product-copy h2 {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.contact-panel-header {
  text-align: center !important;
}

.contact-panel-header span {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

.header-brand-text::after {
  content: none !important;
  display: none !important;
}
