.component-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  margin-bottom: 0.75rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

  @media (min-width: 768px) {
    .component-title-wrapper {
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .component-title-wrapper {
      margin-bottom: 2.5rem;
    }
  }

  .component-title-wrapper .component-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
  }

  @media (min-width: 768px) {
    .component-title-wrapper .component-title-row {
      margin-bottom: 0.75rem;
    }
  }

  .component-title-wrapper .component-title-border-container {
    position: relative;
    width: 100%;
  }

  .component-title-wrapper .component-title-border-corner {
    position: absolute;
    top: 50%;
    width: 0.25rem;
    height: 0.25rem;
    transform: translateY(-50%) rotate(45deg);
    display: none;
  }

  .component-title-wrapper .component-title-row > .component-title-border-container:first-child .component-title-border-corner {
    right: 0;
  }

  .component-title-wrapper .component-title-row > .component-title-border-container:last-child .component-title-border-corner {
    left: 0;
  }

  .component-title-wrapper .component-title-border-line {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    transition: background 0.3s ease;
  }

  body.dark .component-title-wrapper .component-title-border-line {
    background: var(--border-dark);
  }

  .component-title-wrapper .title-text {
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 90%;
    flex-shrink: 0;
    color: var(--title);
    transition: color 0.3s ease;
  }

  @media (min-width: 768px) {
    .component-title-wrapper .title-text {
      font-size: 1.5rem;
      font-weight: 600;
    }
  }

  body.dark .component-title-wrapper .title-text {
    color: var(--title-dark);
  }

  .component-title-wrapper .sub-title {
    font-size: 0.75rem;
    font-weight: 200;
    color: var(--sub-title);
    transition: color 0.3s ease;
		margin: 0;
		padding: 0;
  }

  @media (min-width: 768px) {
    .component-title-wrapper .sub-title {
      font-size: 1rem;
    }
  }

  body.dark .component-title-wrapper .sub-title{
    color: var(--sub-title-dark);
  }

  .component-title-wrapper .section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    margin: 0 auto 12px;
    max-width: 80rem;
    width: 100%;
  }

  @media (min-width: 768px) {
    .component-title-wrapper .section-title-wrapper {
      gap: 12px;
      margin-bottom: 24px;
    }
  }

  @media (min-width: 1024px) {
    .component-title-wrapper .section-title-wrapper {
      margin-bottom: 40px;
    }
  }

  .component-title-wrapper .title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 4px;
  }

  @media (min-width: 768px) {
    .component-title-wrapper .title-row {
      margin-bottom: 12px;
    }
  }

  .component-title-wrapper .title-line {
    position: relative;
    width: 100%;
  }

  .component-title-wrapper .title-line .line {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border);
    transition: background 0.3s ease;
  }

  body.dark .component-title-wrapper .title-line .line {
    background: var(--border-dark);
  }
