/* Base styles for the PK14 FAQ page */
.page-hoi-dap-pk14 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-hoi-dap-pk14__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-hoi-dap-pk14__hero-section {
  padding-top: 10px; /* Small top padding, relying on shared.css for body padding */
  margin-bottom: 40px;
  text-align: center;
}

.page-hoi-dap-pk14__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px; /* Ensure images don't stretch too wide */
  margin: 0 auto;
}

.page-hoi-dap-pk14__hero-content {
  padding: 30px 15px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  margin-top: -50px; /* Overlap slightly with image for visual effect */
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-hoi-dap-pk14__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-hoi-dap-pk14__lead-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-hoi-dap-pk14__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-hoi-dap-pk14__btn-primary,
.page-hoi-dap-pk14__btn-secondary,
.page-hoi-dap-pk14__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-hoi-dap-pk14__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-hoi-dap-pk14__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-hoi-dap-pk14__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B;
}

.page-hoi-dap-pk14__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-hoi-dap-pk14__btn-small {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  background: #F2C14E;
  color: #111111;
  border: none;
  margin: 5px;
}

.page-hoi-dap-pk14__btn-small:hover {
  opacity: 0.9;
}

.page-hoi-dap-pk14__section-title {
  font-size: 2.2em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
  font-weight: bold;
}

.page-hoi-dap-pk14__intro-section p {
  font-size: 1.05em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-hoi-dap-pk14__intro-section img {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-hoi-dap-pk14__faq-list {
  margin-top: 40px;
}

.page-hoi-dap-pk14__faq-category-title {
  font-size: 1.8em;
  color: #F2C14E; /* Primary */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #3A2A12; /* Border */
  padding-bottom: 10px;
}

.page-hoi-dap-pk14__faq-item {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hoi-dap-pk14__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #FFD36B; /* Glow */
  list-style: none; /* For details/summary */
}

.page-hoi-dap-pk14__faq-question::-webkit-details-marker {
  display: none;
}

.page-hoi-dap-pk14__faq-qtext {
  flex-grow: 1;
}

.page-hoi-dap-pk14__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-hoi-dap-pk14__faq-item[open] .page-hoi-dap-pk14__faq-toggle {
  transform: rotate(45deg);
}

.page-hoi-dap-pk14__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
  text-align: justify;
}

.page-hoi-dap-pk14__faq-answer p {
  margin-bottom: 15px;
}

.page-hoi-dap-pk14__faq-answer img {
  width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 6px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-hoi-dap-pk14__cta-block {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hoi-dap-pk14__cta-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
}

.page-hoi-dap-pk14__conclusion-section {
  padding-top: 40px;
  padding-bottom: 60px;
  text-align: center;
}

.page-hoi-dap-pk14__conclusion-section p {
  font-size: 1.05em;
  margin-bottom: 25px;
  text-align: justify;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-hoi-dap-pk14__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
  }
}

@media (max-width: 768px) {
  .page-hoi-dap-pk14__container {
    padding: 15px 15px;
    width: 100% !important; /* Ensure full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO section */
  .page-hoi-dap-pk14__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 20px;
  }

  .page-hoi-dap-pk14__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-hoi-dap-pk14__lead-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-hoi-dap-pk14__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-hoi-dap-pk14__btn-primary,
  .page-hoi-dap-pk14__btn-secondary,
  .page-hoi-dap-pk14__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
}