
.c-faq__main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

.c-faq__item + .c-faq__item {
  margin-top: 30px;
}

.c-faq__item-head {
  position: relative;
  padding: 20px 44px 20px 20px;
  border: 3px solid transparent;
  border-radius: 5px;
  background-color: rgba(51, 51, 51, 0.08);
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.c-faq__item-head::before,
.c-faq__item-head::after {
  content: "";
  position: absolute;
  top: 50%;
  background-color: #bababa;
  transform: translateY(-50%);
}

.c-faq__item-head::before {
  right: 20px;
  width: 16px;
  height: 5px;
}

.c-faq__item-head::after {
  right: 25px;
  width: 5px;
  height: 16px;
}

.c-faq__item-head:hover {
  background-color: rgba(51, 51, 51, 0.12);
}

.c-faq__item.is-active .c-faq__item-head {
  background-color: transparent;
  border-color: rgba(51, 51, 51, 0.08);
}

.c-faq__item.is-active .c-faq__item-head::after {
  opacity: 0;
}

.c-faq__item-body {
  display: none;
  padding-top: 15px;
  padding-right: 50px;
}

.c-faq__item.is-active .c-faq__item-body {
  display: block;
}

/* lg — 1199px */
@media (max-width: 1199px) {
  .c-faq__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* sm — 768px */
@media (max-width: 768px) {
  .c-faq__item + .c-faq__item {
    margin-top: 20px;
  }

  .c-faq__item-head {
    padding: 15px 40px 15px 15px;
    font-size: 20px;
  }

  .c-faq__item-head::before {
    width: 12px;
    height: 4px;
  }

  .c-faq__item-head::after {
    right: 24px;
    width: 4px;
    height: 12px;
  }
}
