.common_title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #b59a5b;
  white-space: nowrap;
  font-family: sans-serif;
}

/* Number */

.common_title_number {
  font-size: 16px;
  font-weight: 600;

  line-height: 1;

  letter-spacing: 3px;

  color: #b59a5b;
}

/* Elegant line */

.common_title_line {
  position: relative;

  display: block;

  width: 42px;
  height: 1px;

  background: rgba(181, 154, 91, 0.35);

  overflow: hidden;
}

/* Animated gold line */

.common_title_line::after {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: #b59a5b;

  transform: translateX(-100%);

  animation: commonTitleLine 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Text */

.common_title_text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    letter-spacing 0.3s ease;
}

/* Hover */

.common_title:hover .common_title_text {
  color: #b59a5b;

  letter-spacing: 4px;
}

/* Number hover */

.common_title:hover .common_title_number {
  color: #947b43;
}

/* Animation */

@keyframes commonTitleLine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

/* =========================================
   DARK VERSION
========================================= */

.common_title.dark .common_title_text {
  color: #fff;
}

.common_title.dark .common_title_number {
  color: #d1b76d;
}

.common_title.dark .common_title_line {
  background: rgba(255, 255, 255, 0.25);
}

.common_title.dark .common_title_line::after {
  background: #d1b76d;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .common_title {
    gap: 10px;

    margin-bottom: 16px;
  }

  .common_title_number {
    font-size: 9px;

    letter-spacing: 2.5px;
  }

  .common_title_line {
    width: 30px;
  }

  .common_title_text {
    font-size: 9px;

    letter-spacing: 2.3px;
  }

  .common_title:hover .common_title_text {
    letter-spacing: 2.8px;
  }
}
