/* Shared styles for .page-faq */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-faq__section-title,
.page-faq__contact-cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-subtitle,
.page-faq__contact-cta-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

/* Hero Section */
.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Rely on body padding-top for header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: #0A0A0A;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: 40px;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Auxiliary color */
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-faq__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 30px;
  color: #FFF6D6;
  opacity: 0.9;
}

/* CTA Button Base */
.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #FFE48C 0%, #E6B53A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-faq__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-faq__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFF6D6;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #1a1a1a;
  border-color: #554422;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A;
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #FFF6D6;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin: 15px 0;
  padding-left: 25px;
  list-style-position: outside;
  color: #FFF6D6;
}

.page-faq__faq-answer ul li,
.page-faq__faq-answer ol li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #FFF6D6;
}

.page-faq__faq-answer strong {
  color: #FFD36B;
}

.page-faq__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

/* Contact CTA Section */
.page-faq__contact-cta-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
  text-align: center;
}

.page-faq__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* General Image styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

/* General for all images and buttons in mobile */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 15px;
  }

  .page-faq__section-title,
  .page-faq__contact-cta-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__section-subtitle,
  .page-faq__contact-cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-faq__hero-section {
    padding-top: 10px; /* Still 10px, relying on body for header offset */
    padding-bottom: 40px;
  }

  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }

  .page-faq__hero-content {
    padding: 15px;
    margin-top: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 25px;
  }

  /* General images */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General buttons */
  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-faq__contact-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* FAQ items */
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }

  .page-faq__faq-answer p,
  .page-faq__faq-answer ul li,
  .page-faq__faq-answer ol li {
    font-size: 15px;
  }
}

/* --- Specific Media Queries as per instructions (even if not directly used on FAQ page) --- */

/* Banner __hero-section (example for 849px object-fit:contain) */
@media (max-width: 849px) {
  .page-faq__hero-image {
    object-fit: contain;
  }
}

/* Three Links __access-links (example for 768px single column) */
@media (max-width: 768px) {
  .page-faq__access-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__access-links a {
    max-width: 100%;
    width: 100%;
  }
}

/* Five Entry Points __category-lobby (example for aspect-ratio:1/1, no border/box-shadow, no visible text) */
@media (max-width: 768px) {
  .page-faq__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-faq__category-card-link {
    aspect-ratio: 1/1;
    border: none;
    box-shadow: none;
  }
  .page-faq__category-card-link img {
    border: none;
    box-shadow: none;
  }
  .page-faq__category-card-text {
    display: none; /* No visible text outside image */
  }
}

/* Blog Slider __blog-slider (example for 768px single card visible, clickable arrows) */
@media (max-width: 768px) {
  .page-faq__blog-slider-track {
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 16px;
    padding-bottom: 10px;
  }
  .page-faq__post-item {
    flex: 0 0 calc(100% - 30px); /* Single card visible with some padding */
    scroll-snap-align: start;
  }
  .page-faq__blog-slider-controls {
    display: flex; /* Ensure arrows are visible and clickable */
    justify-content: space-between;
    margin-top: 20px;
  }
}