/* Lassie FAQ reference. Dimensions reproduce its 10px rem scale locally. */
@font-face {
  font-family: "Lassie ABC Marist";
  src: url("../fonts/lassie-reference/abc-marist-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.vlf-faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 160px 16px 100px;
  border: 0;
  background: var(--page-bg);
  color: #000;
  font-family: "UCity Pro", "Pretendard Variable", Pretendard, Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.vlf-faq *,
.vlf-faq *::before,
.vlf-faq *::after {
  box-sizing: border-box;
}

.vlf-faq::selection,
.vlf-faq *::selection {
  background: #c3eaf4;
  color: currentColor;
}

.vlf-faq .vlf-faq__heading {
  margin: 0 0 32px;
  padding: 0;
  color: #000;
  font-family: "Lassie ABC Marist", Georgia, serif;
  font-size: clamp(36px, 9.13vw, 40px);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.01em;
}

.vlf-faq__list {
  isolation: isolate;
  width: 100%;
  max-width: 680px;
  min-height: 668px;
}

.vlf-faq__item {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.vlf-faq__content {
  min-width: 0;
}

.vlf-faq .vlf-faq__trigger {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.vlf-faq__panel {
  height: auto;
  overflow: clip;
  transition: height 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.vlf-faq__answer {
  padding-top: 8px;
}

.vlf-faq__answer span {
  color: #666;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.005em;
}

.vlf-faq__icon {
  flex-shrink: 0;
  border-radius: 18px;
  transition: background-color 200ms cubic-bezier(0, 0, 0.2, 1);
}

.vlf-faq__icon svg {
  display: block;
  width: 42px;
  height: 32px;
  transform: rotate(180deg);
  transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
}

.vlf-faq__item[data-expanded="true"] .vlf-faq__icon {
  background: #f9f8f5;
}

@media (hover: hover) {
  .vlf-faq__item:hover .vlf-faq__icon {
    background: #f9f8f5;
  }
}

.vlf-faq__item[data-expanded="true"] .vlf-faq__icon svg {
  transform: rotate(0);
}

.vlf-faq__item:has(.vlf-faq__trigger:focus-visible) {
  z-index: 10;
  border-color: #42b5dc;
  box-shadow: 0 0 0 3px rgba(66, 181, 220, 0.3);
}

.vlf-faq__item:has(.vlf-faq__trigger:focus-visible) .vlf-faq__icon {
  background: #c3eaf4;
}

@media (forced-colors: active) {
  .vlf-faq .vlf-faq__trigger {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
}

@media (min-width: 1024px) {
  .vlf-faq {
    padding-inline: 0;
  }

  .vlf-faq .vlf-faq__heading {
    font-size: clamp(56px, 5.46vw, 66px);
  }

  .vlf-faq__list {
    width: 50%;
    max-width: none;
    min-width: 580px;
  }

  .vlf-faq__item {
    padding: 24px;
  }

  .vlf-faq .vlf-faq__trigger {
    font-size: 16px;
    line-height: 20px;
  }

  .vlf-faq__answer span {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 1280px) {
  .vlf-faq {
    padding-bottom: 160px;
  }

  .vlf-faq .vlf-faq__heading {
    font-size: clamp(51.8px, 4.05vw, 70px);
  }

  .vlf-faq__list {
    width: 30%;
  }

  .vlf-faq .vlf-faq__trigger {
    gap: 32px;
    line-height: 24px;
  }

}

@media (min-width: 1440px) {
  .vlf-faq .vlf-faq__trigger {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlf-faq__panel {
    transition: none;
  }
}
