/* style/ta88-community-qa.css */
.page-ta88-community-qa {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-ta88-community-qa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ta88-community-qa-hero {
  background: linear-gradient(135deg, #0A2463, #3C5A99);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-ta88-community-qa-hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #E3B23C;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ta88-community-qa-hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.page-ta88-community-qa-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-ta88-community-qa-btn-primary {
  background-color: #E3B23C;
  color: #0A2463;
}

.page-ta88-community-qa-btn-primary:hover {
  background-color: #d1a12e;
  transform: translateY(-2px);
}

.page-ta88-community-qa-btn-secondary {
  background-color: transparent;
  color: #E3B23C;
  border: 2px solid #E3B23C;
  margin-left: 15px;
}

.page-ta88-community-qa-btn-secondary:hover {
  background-color: #E3B23C;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-ta88-community-qa-section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-ta88-community-qa-section:nth-child(even) {
  background-color: #f2f2f2;
}

.page-ta88-community-qa-section-title {
  font-size: 2.2em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-ta88-community-qa-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E3B23C;
  border-radius: 2px;
}

.page-ta88-community-qa-section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555;
}

.page-ta88-community-qa-image-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.page-ta88-community-qa-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-ta88-community-qa-accordion {
  margin-top: 30px;
}

.page-ta88-community-qa-accordion-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-ta88-community-qa-accordion-header {
  font-size: 1.3em;
  color: #0A2463;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fdfdfd;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-ta88-community-qa-accordion-header:hover {
  background-color: #f5f5f5;
}

.page-ta88-community-qa-accordion-header::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  color: #E3B23C;
  transition: transform 0.3s ease;
}

.page-ta88-community-qa-accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-ta88-community-qa-accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #ffffff;
}

.page-ta88-community-qa-accordion-content.active {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

.page-ta88-community-qa-accordion-content p {
  margin: 0;
  color: #666;
}

.page-ta88-community-qa-cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.page-ta88-community-qa-cta-block p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #0A2463;
  font-weight: bold;
}

.page-ta88-community-qa-final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #0A2463;
  color: #fff;
}

.page-ta88-community-qa-final-cta .page-ta88-community-qa-section-title {
  color: #E3B23C;
  margin-bottom: 20px;
}

.page-ta88-community-qa-final-cta .page-ta88-community-qa-section-description {
  color: #ddd;
  margin-bottom: 40px;
}

.page-ta88-community-qa-button-group .page-ta88-community-qa-btn {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-ta88-community-qa-hero-title {
    font-size: 2em;
  }

  .page-ta88-community-qa-hero-subtitle,
  .page-ta88-community-qa-section-description {
    font-size: 1em;
  }

  .page-ta88-community-qa-section-title {
    font-size: 1.8em;
  }

  .page-ta88-community-qa-accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-ta88-community-qa-accordion-content.active {
    padding: 15px 20px;
  }

  .page-ta88-community-qa-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-ta88-community-qa-btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }

  .page-ta88-community-qa-button-group .page-ta88-community-qa-btn {
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-ta88-community-qa-hero-title {
    font-size: 1.8em;
  }

  .page-ta88-community-qa-section-title {
    font-size: 1.5em;
  }

  .page-ta88-community-qa-accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-ta88-community-qa-accordion-content.active {
    padding: 12px 15px;
  }

  .page-ta88-community-qa-btn {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}