/* BASIC css start */
/* ======================================================= */
/* ▼▼▼▼▼▼▼▼▼▼ 자주 묻는 질문 (다크 레드 그라디언트) ▼▼▼▼▼▼▼▼▼▼ */
/* ======================================================= */

/* 전체 박스 디자인 */
.faq-box {
  width: 420px;
  min-height: 220px; /* 다른 박스와 최소 높이 통일 */
  border: 1px solid #A9A9A9; /* 다크 그레이 테두리 */
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* 어두운 그림자 */


  display: flex;
  flex-direction: column;
  font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
  overflow: hidden;
}

/* 헤더 (제목) */
.faq-header {
  padding: 20px 25px;
  text-align: center;
  /* ★★★ 고급스러운 와인색 그라데이션을 추가했습니다 ★★★ */
  background: linear-gradient(to right, #A52A2A, #8B0000); 
  border-bottom: 1px solid #6e0000; /* 더 어두운 레드 구분선 */
  flex-shrink: 0;
}
.faq-header h3 {
  margin: 0 0 5px 0;
  color: #ffffff; /* 흰색 글씨 */
  font-size: 20px;
  font-weight: 700;
}
.faq-header p {
  margin: 0;
  color: #f5f5f5; /* 연한 회색 글씨 */
  font-size: 15px;
}

/* 몸통 (질문 리스트 + 더보기 버튼) */
.faq-body {
    flex-grow: 1; 
    padding: 20px 25px; /* ★★★ 위쪽 여백을 살짝 늘려서 화살표 위치를 맞춥니다 */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ★★★ 질문 목록은 위로, '전체보기' 버튼은 아래로 붙입니다 */
}

/* 질문 목록 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 17px; /* 질문 사이 간격 */
}

/* 질문 링크 하나하나 */
.faq-item-link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  /* ★★★ 질문 박스에 은은한 배경색을 추가했습니다 ★★★ */
  background-color: #FFF8F8;
  border: 1px solid #FADCDC;
}
.faq-item-link:hover {
  background-color: #fbebeb; /* 호버 시 연한 레드 배경 */
  border-color: #F8BABA;
  transform: translateY(-2px); /* 살짝 떠오르는 효과 */
}
.faq-item-link .q-icon {
  font-weight: 700;
  color: #c0392b; /* 포인트 레드 색상 */
  margin-right: 10px;
  font-size: 15px;
}
.faq-item-link .question-text {
  flex-grow: 1;
  font-size: 15px; /* ★★★ 요청하신대로 18px 대신 14px로 수정했습니다 ★★★ */
  font-weight: 500;
  color: #333;
}

/* '전체보기' 버튼 */
.faq-more-button {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  margin-top: 30px; /* 질문 목록과의 간격 */
  text-align: center;
  border: none; /* 테두리 제거 */
  border-radius: 8px;
  /* ★★★ 버튼에도 헤더와 동일한 그라데이션을 적용했습니다 ★★★ */
  background: linear-gradient(to right, #A52A2A, #8B0000);
  color: #ffffff; /* 흰색 글씨 */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.faq-more-button:hover {
  background: linear-gradient(to right, #B22222, #A52A2A);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
/* BASIC css end */

