
/* ==========================================
 PHẦN 10 - FAQ - 12 CÂU HỎI
 DESKTOP 2 CỘT - MOBILE 1 CỘT
========================================== */

.dpt-faq10,
.dpt-faq10 *,
.dpt-faq10 *::before,
.dpt-faq10 *::after {
  box-sizing: border-box;
}

.dpt-faq10 {
  width: 100%;
  padding: 45px 24px 55px;
  background: #f5f8fe;
  color: #252525;
  font-family: Arial, Helvetica, sans-serif;
}

.dpt-faq10 * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  text-shadow: none !important;
}

.dpt-faq10-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* TIÊU ĐỀ DESKTOP */
.dpt-faq10 h2.dpt-faq10-title {
  margin: 0 0 30px !important;
  padding: 0 !important;
  color: #292929 !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* DESKTOP 2 CỘT */
.dpt-faq10-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.dpt-faq10-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* KHUNG CÂU HỎI */
.dpt-faq10-item {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* THANH CÂU HỎI */
.dpt-faq10-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-height: 66px;
  padding: 17px 18px;
  margin: 0;

  border: 0;
  border-radius: 10px;
  background: #e8f0fd;

  color: #222222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;

  list-style: none;
  cursor: pointer;

  transition: background .35s ease;
}

.dpt-faq10-item > summary > span:first-child {
  flex: 1;
  min-width: 0;
}

.dpt-faq10-item > summary::-webkit-details-marker {
  display: none;
}

.dpt-faq10-item > summary::marker {
  content: "";
}

/* MŨI TÊN */
.dpt-faq10-arrow {
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-right: 4px;

  border-right: 2px solid #222;
  border-bottom: 2px solid #222;

  transform: rotate(45deg);
  transition: transform .35s ease;
}

.dpt-faq10-item[open] .dpt-faq10-arrow {
  transform: rotate(225deg);
}

/* HOVER */
@media (hover: hover) {
  .dpt-faq10-item > summary:hover {
    background: #dce9fc;
  }
}

/* FOCUS */
.dpt-faq10-item > summary:focus-visible {
  outline: 2px solid #204a91;
  outline-offset: 3px;
}

/* CÂU TRẢ LỜI */
.dpt-faq10-answer-wrap {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
}

.dpt-faq10-answer {
  overflow: hidden;
  padding: 16px 14px 12px;

  background: transparent;
  color: #424242;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.dpt-faq10-answer strong {
  font-weight: 700;
}

/* HIỆU ỨNG MỞ ĐÓNG */
@supports (interpolate-size: allow-keywords) {
  .dpt-faq10 {
    interpolate-size: allow-keywords;
  }

  .dpt-faq10-item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      block-size .45s ease,
      opacity .35s ease,
      content-visibility .45s allow-discrete;
  }

  .dpt-faq10-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1100px) {
  .dpt-faq10 {
    padding: 40px 18px 50px;
  }

  .dpt-faq10-grid {
    gap: 16px;
  }

  .dpt-faq10-item > summary {
    min-height: 70px;
    padding: 15px;
    font-size: 14px;
  }
}

/* ==========================================
 MOBILE - TIÊU ĐỀ MỘT HÀNG
========================================== */
@media (max-width: 767px) {

  .dpt-faq10 {
    width: 100%;
    padding: 45px 15px 60px;
    background: #f5f8fe;
  }

  .dpt-faq10-container {
    width: 100%;
    max-width: 100%;
  }

  /* TIÊU ĐỀ CHỈ 1 HÀNG */
  .dpt-faq10 h2.dpt-faq10-title {
    width: 100%;
    margin: 0 0 38px !important;
    padding: 0 !important;

    font-size: clamp(17px, 5.1vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;

    text-align: center !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-transform: none !important;
  }

  /* MỘT CỘT */
  .dpt-faq10-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .dpt-faq10-column {
    width: 100%;
    gap: 18px;
  }

  /* KHUNG CÂU HỎI TO NHƯ ẢNH */
  .dpt-faq10-item > summary {
    width: 100%;
    min-height: 125px;
    padding: 27px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #e8f0fd;
    border-radius: 16px;

    color: #222222;
    font-size: clamp(19px, 4.8vw, 23px) !important;
    font-weight: 500;
    line-height: 1.65;
  }

  /* MŨI TÊN TO */
  .dpt-faq10-arrow {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-right: 3px solid #222;
    border-bottom: 3px solid #222;
  }

  /* CÂU TRẢ LỜI */
  .dpt-faq10-answer {
    padding: 22px 18px 18px;
    font-size: 18px !important;
    line-height: 1.8;
    color: #424242;
  }
}

/* MOBILE NHỎ */
@media (max-width: 380px) {

  .dpt-faq10 h2.dpt-faq10-title {
    font-size: clamp(16px, 5vw, 19px) !important;
    letter-spacing: -0.6px !important;
  }

  .dpt-faq10-item > summary {
    min-height: 115px;
    padding: 23px 18px;
    font-size: 18px !important;
  }

  .dpt-faq10-answer {
    font-size: 17px !important;
  }
}

/* GIẢM CHUYỂN ĐỘNG */
@media (prefers-reduced-motion: reduce) {
  .dpt-faq10-arrow,
  .dpt-faq10-item > summary,
  .dpt-faq10-item::details-content {
    transition: none !important;
  }
}

