/**
 * FAQ Detail Page CSS
 * Styles for individual FAQ post pages
 */

/* ============================================
   MAIN FAQ DETAIL CONTAINER
   ============================================ */
.faq-detail {
  width: 100%;
}

.faq-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   FAQ DETAIL HEADER (Blue Banner)
   ============================================ */
.faq-detail-header {
  background: linear-gradient(90deg, #0069aa 0%, #00a5d9 100%);
  color: #ffffff;
  padding: 40px 0;
  margin-bottom: 0;
}

.faq-detail-header .container {
  position: relative;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
  font-family: "Univers LT Std";
}

.faq-back-link:hover {
  color: #fff;
}

.faq-back-arrow {
  margin-right: 8px;
  font-size: 1.2rem;
}

.faq-detail-question {
  color: #ffffff;
  font-size: 38px;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}

/* ============================================
   FAQ DETAIL CONTENT
   ============================================ */
.faq-detail-content {
  max-width: 810px;
  margin: 60px auto;
}
.faq-detail-content h2,
.faq-detail-content h3,
.faq-detail-content h4 {
  font-family: "Univers LT Std" !important;
  font-size: 26px !important;
  line-height: 1.4 !important;
}
.faq-detail-content img {
  width: 100%;
  height: auto;
}
.faq-detail-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #222720;
  margin-bottom: 20px;
}

.faq-detail-content p:last-child {
  margin-bottom: 0;
}

.faq-detail-content h2,
.faq-detail-content h3,
.faq-detail-content h4 {
  color: #222720;
  margin-top: 30px;
  margin-bottom: 15px;
}

.faq-detail-content h2 {
  font-size: 1.75rem;
}

.faq-detail-content h3 {
  font-size: 1.5rem;
  color: #000000 !important;
}

.faq-detail-content h4 {
  font-size: 1.25rem;
}

.faq-detail-content ul,
.faq-detail-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.faq-detail-content li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 10px;
}

.faq-detail-content a {
  color: #0066cc;
  text-decoration: underline;
}

.faq-detail-content a:hover {
  color: #0052a3;
}

/* ============================================
   FAQ DETAIL IMAGE
   ============================================ */
.faq-detail-image {
  margin: 40px 0;
  text-align: center;
}

.faq-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-detail-image-placeholder {
  background-color: #e0e0e0;
  border: 2px dashed #cccccc;
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  color: #999999;
  font-size: 1rem;
  margin: 40px 0;
}

/* ============================================
   RELATED QUESTIONS SECTION
   ============================================ */
.faq-related {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 60px 0;
}

.faq-related-title {
  font-size: 36px !important;
  font-weight: 600;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.3;
  font-family: "Univers LT Std" !important;
}

.faq-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.faq-related-grid:hover > a {
  color: #333333 !important;
}
.faq-related-card {
  background-color: #ffffff;
  padding: 50px 40px;
  box-shadow: 0px 17px 47px 0px #7a95a42e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-related-question {
  color: #333333;
}
.faq-related-question h3 {
  font-size: 24px !important;
  font-family: "Univers LT Std" !important;
  line-height: 31px !important;
  line-height: 1.3 !important;
  margin-bottom: 0;
  color: #222720;
  max-width: 430px;
  padding-right: 10px;
}
.faq-related-arrow {
  transition: transform 0.3s ease;
}

.faq-related-card:hover .faq-related-arrow {
  transform: translateX(10px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .faq-detail-header {
    padding: 30px 0;
  }
  .faq-detail-content {
    padding: 25px 20px;
  }
  .faq-detail-content h2,
  .faq-detail-content h3,
  .faq-detail-content h4 {
    font-size: 22px !important;
  }

  .faq-related-title {
    font-size: 30px !important;
  }

  .faq-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 595px) {
  .faq-related {
    padding: 0;
  }
  .faq-related-title h3 {
    font-size: 20px !important;
  }
  .faq-detail-header {
    padding: 25px 0;
  }

  .faq-detail-content {
    padding: 20px 0px;
    margin-top: 0;
  }
  .faq-detail-content h2,
  .faq-detail-content h3,
  .faq-detail-content h4 {
    font-size: 20px !important;
  }

  .faq-back-link {
    font-size: 0.9rem;
  }

  .faq-related-card {
    padding: 20px;
  }

  .faq-related-question {
    font-size: 0.95rem;
  }
}
