.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px;
  background-color: var(--bg-background-color, #F4F7FB);
  color: var(--text-main-color, #1F2D3D);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color, #1F2D3D);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main-color, #1F2D3D);
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  opacity: 0.9;
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: var(--bg-card-bg-color, #FFFFFF);
  color: var(--text-main-color, #1F2D3D);
}

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

.page-faq__section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-main-color, #1F2D3D);
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: var(--bg-background-color, #F4F7FB);
  border-radius: 10px;
  border: 1px solid var(--border-color, #D6E2FF);
  overflow: hidden;
}

.page-faq__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--text-main-color, #1F2D3D);
  list-style: none;
  user-select: none;
}

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

.page-faq__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--main-color, #2F6BFF);
}

.page-faq__faq-item[open] .page-faq__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-faq__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color, #1F2D3D);
  border-top: 1px solid var(--border-color, #D6E2FF);
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__inline-link {
  color: var(--main-color, #2F6BFF);
  text-decoration: none;
  font-weight: 500;
}

.page-faq__inline-link:hover {
  text-decoration: underline;
}

.page-faq__contact-cta-section {
  padding: 80px 0;
  background-color: var(--bg-background-color, #F4F7FB);
  color: var(--text-main-color, #1F2D3D);
}

.page-faq__contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq__contact-content {
  text-align: center;
  max-width: 700px;
}

.page-faq__contact-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main-color, #1F2D3D);
}

.page-faq__contact-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main-color, #1F2D3D);
}

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

.page-faq__contact-button,
.page-faq__support-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__contact-button {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
}

.page-faq__contact-button:hover {
  opacity: 0.9;
}

.page-faq__support-button {
  background-color: var(--bg-card-bg-color, #FFFFFF);
  color: var(--main-color, #2F6BFF);
  border: 1px solid var(--main-color, #2F6BFF);
}

.page-faq__support-button:hover {
  background-color: var(--main-color, #2F6BFF);
  color: #FFFFFF;
}

.page-faq__contact-image-wrapper {
  width: 100%;
  max-width: 800px;
}

.page-faq__contact-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-faq__contact-cta-section .page-faq__contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .page-faq__contact-content {
    text-align: left;
    flex: 1;
  }

  .page-faq__contact-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 40px;
  }

  .page-faq__contact-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-faq__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__section-title,
  .page-faq__contact-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-faq__faq-question::after {
    right: 20px;
    font-size: 1.2rem;
  }

  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding: 10px 20px 15px;
  }

  .page-faq__contact-cta-section {
    padding: 50px 0;
  }

  .page-faq__contact-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-faq__contact-button,
  .page-faq__support-button {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
  }

  .page-faq__hero-image,
  .page-faq__contact-image {
    max-width: 100%;
    height: auto;
    /* Enforce min-width for content images as per rules */
    min-width: 200px;
    min-height: 200px;
  }
  
  /* Ensure all content img elements are at least 200px on mobile */
  .page-faq img {
    max-width: 100%; 
    height: auto; 
    min-width: 200px;
    min-height: 200px;
  }
}