/* BASIC css start */
/* ======================================================= */
/* ¡å¡å¡å¡å¡å¡å¡å¡å¡å¡å ÀÚÁÖ ¹¯´Â Áú¹® (¸ð¹ÙÀÏ¿ë - ´ÙÅ© ·¹µå Å×¸¶) ¡å¡å¡å¡å¡å¡å¡å¡å¡å¡å */
/* ======================================================= */

/* ÀüÃ¼ ¹Ú½º µðÀÚÀÎ */
.faq-box-mobile {
  margin: 20px 15px;
  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-mobile {
  padding: 18px 20px;
  text-align: center;
  background: linear-gradient(to right, #A52A2A, #8B0000);
  border-bottom: 1px solid #6e0000;
  flex-shrink: 0;
}
.faq-header-mobile h3 {
  margin: 0 0 5px 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}
.faq-header-mobile p {
  margin: 0;
  color: #f5f5f5;
  font-size: 12px;
}

/* ¸öÅë (Áú¹® ¸®½ºÆ® + ´õº¸±â ¹öÆ°) */
.faq-body-mobile {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  position: relative; /* [¼öÁ¤] È­»ìÇ¥ ¹öÆ° À§Ä¡ ±âÁØÁ¡ */
}

/* ========================================= */
/* ¡å¡å¡å¡å¡å¡å¡å¡å¡å¡å Ä³·¯¼¿ °ü·Ã ½ºÅ¸ÀÏ (Ãß°¡) ¡å¡å¡å¡å¡å¡å¡å¡å¡å¡å */
/* ========================================= */

/* Áú¹® ¸ñ·ÏÀ» °¨½Î´Â Ã¢ (º¸¿©Áö´Â ¿µ¿ª) */
.faq-carousel-window {
  width: 100%;
  overflow: hidden; /* ÀÌ Ã¢À» ¹þ¾î³ª´Â ³»¿ëÀº ¼û±è */
}

/* Áú¹® ¸ñ·Ï ÀüÃ¼ (¿òÁ÷ÀÌ´Â ´ë»ó) */
.faq-list-mobile {
  display: flex; /* °¡·Î·Î ¹èÄ¡ */
  width: 300%; /* ÆäÀÌÁö °³¼ö(3°³)¸¸Å­ ³Êºñ ¼³Á¤ */
  transition: transform 0.5s ease-in-out; /* ºÎµå·´°Ô ¿òÁ÷ÀÌ´Â È¿°ú */
}

/* Áú¹® 4°³¾¿ ¹­´Â ÆäÀÌÁö */
.faq-page {
  width: 33.3333%; /* ÀüÃ¼ ³ÊºñÀÇ 1/3 */
  flex-shrink: 0; /* ÆäÀÌÁö ³Êºñ°¡ ÁÙ¾îµéÁö ¾Êµµ·Ï ¼³Á¤ */
  padding: 0 5px; /* ÆäÀÌÁö ÁÂ¿ì ¿©¹é */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Ä³·¯¼¿ È­»ìÇ¥ ¹öÆ° °øÅë ½ºÅ¸ÀÏ */
.faq-arrow {
  position: absolute;
  top: 40%; /* ¼öÁ÷ Áß¾Ó Á¤·Ä */
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background-color: rgba(139, 0, 0, 0.7); /* ¹ÝÅõ¸í ´ÙÅ© ·¹µå */
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-arrow:hover {
  background-color: rgba(139, 0, 0, 1); /* È£¹ö ½Ã ÁøÇÏ°Ô */
}
.faq-arrow:disabled {
  opacity: 0.3; /* ºñÈ°¼ºÈ­ ½Ã Åõ¸íµµ */
  cursor: not-allowed;
}

/* ¿ÞÂÊ/¿À¸¥ÂÊ È­»ìÇ¥ À§Ä¡ */
.faq-arrow-left {
  left: 5px;
}
.faq-arrow-right {
  right: 5px;
}
/* ¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã Ä³·¯¼¿ °ü·Ã ½ºÅ¸ÀÏ ³¡ ¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã¡ã */


/* Áú¹® ¸µÅ© ÇÏ³ªÇÏ³ª */
.faq-item-link-mobile {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
  background-color: #FFF8F8;
  border: 1px solid #FADCDC;
}
.faq-item-link-mobile:hover {
  background-color: #fbebeb;
  border-color: #F8BABA;
}
.faq-item-link-mobile .q-icon {
  font-weight: 700;
  color: #c0392b;
  margin-right: 10px;
  font-size: 14px;
}
.faq-item-link-mobile .question-text {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 'ÀüÃ¼º¸±â' ¹öÆ° */
.faq-more-button-mobile {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  margin-top: 15px;
  text-align: center;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #A52A2A, #8B0000);
  color: #ffffff;
  font-size: 13px;
  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-mobile:hover {
  background: linear-gradient(to right, #B22222, #A52A2A);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* BASIC css end */

