/* style/resources-98win-faq.css */

/* Base styles for the page */
.page-resources-98win-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

/* Hero Section */
.page-resources-98win-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-98win-faq__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-resources-98win-faq__main-title {
  font-size: 3.2em;
  color: #26A9E0; /* Brand primary color for title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

.page-resources-98win-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-98win-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-98win-faq__btn-primary,
.page-resources-98win-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-resources-98win-faq__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-98win-faq__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-resources-98win-faq__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-98win-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  transform: translateY(-2px);
}

.page-resources-98win-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
  z-index: 1;
}

.page-resources-98win-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* FAQ Section */
.page-resources-98win-faq__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-resources-98win-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-98win-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-resources-98win-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #cccccc;
}

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

.page-resources-98win-faq__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-resources-98win-faq__faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.page-resources-98win-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-98win-faq__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #ffffff;
  flex-grow: 1;
}

.page-resources-98win-faq__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: bold;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-resources-98win-faq__faq-item.active .page-resources-98win-faq__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-resources-98win-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-resources-98win-faq__faq-item.active .page-resources-98win-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

.page-resources-98win-faq__faq-answer p {
  margin-bottom: 15px;
}

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

.page-resources-98win-faq__faq-answer strong {
  color: #26A9E0;
}

.page-resources-98win-faq__image-card {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #3a3a3a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-98win-faq__image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-resources-98win-faq__image-card .page-resources-98win-faq__image-caption {
  padding: 15px;
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: center;
  background-color: #26A9E0; /* Brand color for caption background */
}

.page-resources-98win-faq__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-98win-faq__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Ensure all images are responsive */
.page-resources-98win-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-98win-faq__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-98win-faq__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding for mobile fixed header */
  }

  .page-resources-98win-faq__main-title {
    font-size: 2.2em;
  }

  .page-resources-98win-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-98win-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-98win-faq__btn-primary,
  .page-resources-98win-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-98win-faq__faq-section {
    padding: 60px 0;
  }

  .page-resources-98win-faq__section-title {
    font-size: 2em;
  }

  .page-resources-98win-faq__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-resources-98win-faq__faq-question {
    padding: 15px 20px;
  }

  .page-resources-98win-faq__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-98win-faq__faq-toggle {
    font-size: 1.5em;
  }

  .page-resources-98win-faq__faq-answer {
    padding: 0 20px;
  }

  .page-resources-98win-faq__faq-item.active .page-resources-98win-faq__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image handling */
  .page-resources-98win-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-98win-faq__container,
  .page-resources-98win-faq__image-card,
  .page-resources-98win-faq__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-98win-faq__cta-bottom {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-98win-faq__main-title {
    font-size: 1.8em;
  }
  .page-resources-98win-faq__section-title {
    font-size: 1.8em;
  }
}