@import url(./info_press.css);
@import url(./notice_detail.css);

.icon-banner {
  width: 14rem;
  height: 14rem;
  transform: translateY(4rem) rotate(-15deg);
}

.faq--wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.faq {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-width: 1px 0px;
  border-style: solid;
  border-color: var(--gray-300);
}

.faq__item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-300);
}

.faq__item__header--wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: white;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}

.faq__item__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item__header--chevron .feather {
  width: 2rem;
  height: 2rem;
  stroke-width: 2px;
  color: var(--gray-300);
  transition: transform 0.4s ease-in-out;
}

.faq__item__header--chevron .feather {
  transform: rotate(180deg);
}

.faq__item__header--chevron.open .feather {
  transform: rotate(0deg);
}

.faq__item__title h1 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 150%;
  display: flex;
  align-items: center;
  color: var(--gray-700);
}

.faq__item__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq__item__info__category,
.faq__item__info__type {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 100%;
  color: var(--gray-400);
}

.faq__divider {
  width: 1px;
  height: 12px;
  background: var(--gray-300);
}

.faq__item__body {
  display: flex;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease-in-out;
  height: 0;
}

.faq__item__body.open {
  opacity: 1;
  height: auto;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
}

.faq__item__body__content {
  font-weight: 400;
  font-size: 1rem;
  line-height: 160%;
  display: flex;
  color: var(--gray-600);
  height: 0;
  transition: height 0.4s ease-in-out;
  overflow: hidden;
}

.faq__item__body.open .faq__item__body__content {
  height: auto;
  transition: height 0.4s ease-in-out;
}

/* 테블릿 가로 (해상도 768px ~ 1023px)*/
@media all and (max-width: 1023px) {
}

/* 모바일 가로 & 테블릿 세로 (해상도 480px ~ 767px)*/
@media all and (max-width: 767px) {
  .contents__banner__title {
    font-size: 2rem;
  }

  .contents__body {
    padding-bottom: 2rem;
  }
  .faq {
    border: none;
  }
}

/* 모바일 세로 (해상도 ~ 479px)*/
@media all and (max-width: 479px) {
  .contents__banner__title {
    line-height: 140%;
  }
}
