.custom-heading .title-text-wrapper,
.custom-heading .heading-bg-wrapper-part1,
.custom-heading .heading-bg-wrapper-part2 {
  display: inline-block;
  line-height: normal;
}

.custom-heading .heading-underline {
  --heading-underline-color: var(--main-color);
  position: relative;
  display: block;
  width: 100%;
}

.custom-heading .heading-underline.full-border {
  border-bottom-width: var(--heading-underline-thickness, 2px);
  border-bottom-color: var(--heading-underline-color);
  border-bottom-style: solid;
}

.custom-heading .heading-underline.water-wave::after {
  content: "";
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4fc3f7, #29b6f6, #4fc3f7);
  border-radius: 50%;
}

.custom-heading .heading-underline.rounded-line::after {
  content: "";
  position: relative;
  left: 50%;
  top: 0;
  display: block;
  width: 50px;
  height: 5px;
  background: var(--heading-underline-color);
  border-radius: 10px;
  transform: translateX(-50%);
}

.custom-heading .heading-underline.line-with-text {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  min-height: 1em;
}

.custom-heading .heading-underline.line-with-text::after {
  content: "NEWS";
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  color: var(--heading-underline-color);
  background: var(--wp--preset--color--base, #ffffff);
  padding: 0 0.5em;
  z-index: 1;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}

.custom-heading .heading-underline.line-with-text::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--heading-underline-thickness, 1px);
  background: var(--heading-underline-color);
  position: relative;
  top: 8px;
  z-index: 0;
}

.custom-heading .heading-underline.torn-paper::after {
  content: "";
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 10px;
  background: radial-gradient(
    circle,
    transparent 1px,
    var(--heading-underline-color) 1px
  );
  background-size: 10px 10px;
}

.custom-heading .heading-underline.fade-line::after {
  content: "";
  display: block;
  width: 100%;
  height: var(--heading-underline-thickness, 2px);
  background: var(--heading-underline-color);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-heading:hover .heading-underline.fade-line::after {
  transform: scaleX(1);
}

.custom-heading .heading-underline.wave-animation::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: radial-gradient(
    circle,
    transparent 50%,
    var(--heading-underline-color) 50%
  );
  background-size: 10px 10px;
  animation: waveMove 5s infinite linear;
}

.custom-heading .title-text,
.custom-heading .title-text-part1,
.custom-heading .title-text-part2 {
  display: inline-block;
}

.custom-heading .oea-heading-icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}

.oea-fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.oea-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.oea-fade-in-down {
  animation: oeaFadeInDown 0.8s ease forwards;
  opacity: 0;
}

.oea-fade-in-left {
  animation: oeaFadeInLeft 0.8s ease forwards;
  opacity: 0;
}

.oea-fade-in-right {
  animation: oeaFadeInRight 0.8s ease forwards;
  opacity: 0;
}

.oea-zoom-in {
  animation: oeaZoomIn 0.8s ease forwards;
  opacity: 0;
}

.oea-bounce-in {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  opacity: 0;
}

.oea-flip-in {
  animation: oeaFlipIn 0.8s ease forwards;
  opacity: 0;
  backface-visibility: visible !important;
}

.oea-rotate-in {
  animation: oeaRotateIn 0.8s ease forwards;
  opacity: 0;
}
