.title-h3 {
  margin: 1rem 0 !important;
  color: var(--icon-services);
}
.v-collapse {
  &__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: var(--bg-services);
    // border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.7rem;
    z-index: 3;
    cursor: pointer;
    user-select: none;
    border-radius: 4px 4px 4px 4px;
    // transition: background-color 0.3s ease;
    &.active {
      border-radius: 4px 4px 0 0;
    }
  }
  &__title {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
  }
  &__arrow {
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin-right: 8px;
    color: #14a0e3;
    stroke-width: 3;
    transition: transform 0.25s ease;
    &.active {
      transform: rotate(180deg);
    }
  }
  &__class-count {
    font-size: 14px;
    // min-width: 65px;
    color: var(--text-color);
    text-align: right;
    margin-left: 10px;
  }
}

.v-collapse {
  &__items--content {
    overflow: hidden;
    height: 0px;
    background-color: var(--collapse-items);
    transition: height 0.3s cubic-bezier(0.85, 0, 0.15, 1), margin-top 0.15s ease-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) inset;
    border-radius: 0 0 4px 4px;
    // transform: scaleY(0);
    // transform-origin: top;
    &.active {
      // transform: scaleY(1);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) inset;
      // transition: height 0.35s ease-in, margin-top 0.35s ease-out;
      border-radius: 0 0 4px 4px;
      margin-top: -0.7rem;
    }
  }
  &__ul {
    padding: 1rem;
    // transition: all 0.2s ease;
  }
  &__li {
    display: flex;
    flex-direction: row;
    list-style: none;
    // align-items: center;
    line-height: 2.5;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    &:hover {
      opacity: 0.7;
    }
  }
  &__icon {
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin-right: 0.8rem;
    // margin-top: 8px;
    color: var(--icon-services);
    stroke: 1;
  }
}

// @media (max-width: 768px) {
//   .v-collapse {
//     &__title {
//       width: 20rem;
//       overflow: hidden;
//       text-overflow: ellipsis;
//       white-space: nowrap;
//     }
//   }
// }
.collapse-height-in {
  animation: collapse-height-in 0.1s ease-in;
}

@keyframes collapse-height-in {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

.collapse-height-out {
  animation: collapse-height-out 0.1s ease-out;
}

@keyframes collapse-height-out {
  0% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
}
