.description-of-competencies {
  --bgColor:#fff;
  
  background-color: var(--bgColor);
  padding: 140px 0;
}

.description-of-competencies__wrapper {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.description-of-competencies__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 5.7%;
  padding: 5.7%;
  background-color: #f8f8f8;
  border-radius: 32px;
}

.description-of-competencies__sidebar {
  display: flex;
  align-items: center;
}

.description-of-competencies__content {
  flex: 1;
  max-width: 797px;
  max-height: 491px;
  aspect-ratio: 797 / 491;
  border-radius: 24px;
}

.description-of-competencies__header {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
  letter-spacing: 0px;
  text-align: center;
  color: #02060b;
  margin-bottom: 64px;
}

.description-of-competencies__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.description-of-competencies__item {
  padding: 24px 0;
}

.description-of-competencies__item:not(:last-child) {
  border-bottom: 1px solid #cccdce;
}

.description-of-competencies__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 26px;
  line-height: 120%;
  letter-spacing: 0px;
  color: #000;
}
.description-of-competencies__trigger-icon {
  width: 24px;
  transition: transform 0.3s ease-in-out;
}
.description-of-competencies__trigger.active
  .description-of-competencies__trigger-icon {
  transform: rotate(180deg);
}

.description-of-competencies__drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-of-competencies__drawer.active {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.description-of-competencies__description {
  margin-top: 20px;
  margin-bottom: 0;
  color: #6e6e73;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease-in-out;
}

.description-of-competencies__drawer.active
  .description-of-competencies__description {
  opacity: 1;
  transform: translateY(0);
}

.description-of-competencies__image {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: none;
}
.description-of-competencies__image.active {
  display: block;
}

.description-of-competencies__module {
  display: none;
  margin: 0 auto;
}

@media screen and (max-width: 959px) {
  .description-of-competencies__container {
    flex-direction: column;
    border-radius: 24px;
  }
  .description-of-competencies__header {
    margin-bottom: 40px;
  }

  .description-of-competencies__sidebar {
    width: 100%;
  }

  .description-of-competencies__content {
    display: none;
  }

  .description-of-competencies__module {
    margin-top: 20px;
    width: 100%;
    aspect-ratio: 290 / 180;
  }

  .description-of-competencies__drawer.active {
    max-height: 700px;
  }
  .description-of-competencies__drawer.active
    .description-of-competencies__module {
    display: block;
  }
  .description-of-competencies__drawer.active
    .description-of-competencies__image {
    display: block;
  }
  .description-of-competencies__trigger-icon {
    width: 20px;
  }
  .description-of-competencies__item {
    padding: 18px 0;
  }
  .description-of-competencies__trigger {
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0px;
  }
}

@media screen and (max-width: 679px) {
  .description-of-competencies {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .description-of-competencies__header {
    font-weight: 800;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 40px;
  }
  .description-of-competencies__description {
    font-size: 14px;
  }
}
@media screen and (min-width: 680px) and (max-width: 959px) {
  .description-of-competencies {
    padding: 80px 0;
  }
  .description-of-competencies__container {
    padding: 16px 30px;
  }
  .description-of-competencies__header {
    font-weight: 800;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 66px;
  }
  .description-of-competencies__item {
    padding: 40px 0;
  }
  .description-of-competencies__trigger {
    font-weight: 800;
    font-size: 30px;
    line-height: 120%;
  }
  .description-of-competencies__description {
    font-weight: 600;
    font-size: 24px;
  }
  .description-of-competencies__module {
    max-width: 556px;
    aspect-ratio: 556 / 348;
  }
}
@media screen and (min-width: 960px) {
  .description-of-competencies__sidebar {
    width: 29%;
    max-width: 360px;
  }
  .description-of-competencies__image img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
  }
}

@media screen and (min-width: 960px) and (max-width: 1439px) {
  .description-of-competencies__header {
    font-weight: 800;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 60px;
  }
  .description-of-competencies {
    padding: 100px 0;
  }

  .description-of-competencies__container {
    padding: 60px 36px;
    gap: 48px;
  }
  .description-of-competencies__trigger {
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
  }
  .description-of-competencies__description {
    margin-top: 15px;
    font-size: 14px;
  }
  .description-of-competencies__item {
    padding: 18px 0;
  }
  .description-of-competencies__item:first-child {
    padding-top: 0;
  }

  .description-of-competencies__sidebar {
    width: 270px;
    max-width: 270px;
  }
  .description-of-competencies__content {
    max-width: 510px;
    max-height: 314px;
    aspect-ratio: 510 / 314;
  }
}
@media screen and (min-width: 1440px) and (max-width: 1919px) {
  .description-of-competencies__header {
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    text-align: center;

    margin-bottom: 56px;
  }
  .description-of-competencies {
    padding: 100px 0;
  }
  .description-of-competencies__description {
    font-size: 16px;
  }

  .description-of-competencies__container {
    padding: 4%;
  }
  .description-of-competencies__sidebar {
    width: 360px;
    max-width: 360px;
  }
  .description-of-competencies__content {
    max-width: 680px;
    max-height: 419px;
    aspect-ratio: 680 / 419;
  }
}
