/* style/jun88-faq.css */
.page-jun88-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-jun88-faq__hero {
  background: linear-gradient(135deg, #003366, #004488);
  color: #fff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-jun88-faq__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-jun88-faq__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
}

.page-jun88-faq__hero-title .highlight {
  color: #FFD700;
}

.page-jun88-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-jun88-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-jun88-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.page-jun88-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.1);
}

.page-jun88-faq__section {
  padding: 60px 0;
}

.page-jun88-faq__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-jun88-faq__section-title .keyword {
  color: #FFD700;
}

.page-jun88-faq__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jun88-faq__accordion {
  margin-top: 30px;
}

.page-jun88-faq__accordion-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-jun88-faq__accordion-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #f0f8ff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #003366;
  transition: background-color 0.3s ease;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.page-jun88-faq__accordion-header:hover {
  background-color: #e6f2ff;
}

.page-jun88-faq__accordion-header h3 {
  margin: 0;
  flex-grow: 1;
}

.page-jun88-faq__accordion-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-color: #FFD700;
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
  flex-shrink: 0;
}

.page-jun88-faq__accordion-icon::before,
.page-jun88-faq__accordion-icon::after {
  content: '';
  position: absolute;
  background-color: #003366;
  transition: transform 0.3s ease;
}

.page-jun88-faq__accordion-icon::before {
  width: 2px;
  height: 12px;
  top: 4px;
  left: 9px;
}

.page-jun88-faq__accordion-icon::after {
  width: 12px;
  height: 2px;
  top: 9px;
  left: 4px;
}

.page-jun88-faq__accordion-item.active .page-jun88-faq__accordion-icon::before {
  transform: rotate(90deg);
}

.page-jun88-faq__accordion-item.active .page-jun88-faq__accordion-icon::after {
  transform: rotate(180deg);
}

.page-jun88-faq__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #fdfdfd;
  color: #444;
}

.page-jun88-faq__accordion-content p {
  margin: 20px 0;
  padding-bottom: 10px;
}

.page-jun88-faq__accordion-item.active .page-jun88-faq__accordion-content {
  max-height: 500px; /* Adjust as needed */
  padding-top: 15px;
  padding-bottom: 15px;
}

.page-jun88-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-jun88-faq__btn--primary {
  background-color: #FFD700;
  color: #003366;
}

.page-jun88-faq__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-jun88-faq__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #FFD700;
}

.page-jun88-faq__btn--secondary:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
}

.page-jun88-faq__cta-section {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-jun88-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-jun88-faq__cta-title .keyword {
  color: #FFD700;
}

.page-jun88-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-jun88-faq__cta-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: auto;
  opacity: 0.15;
  transform: rotate(-15deg);
  z-index: 0;
}

.page-jun88-faq__cta-section .page-jun88-faq__btn--primary {
  background-color: #DC143C;
  color: #fff;
  border: none;
  padding: 15px 35px;
  font-size: 1.2em;
  z-index: 1;
  position: relative;
}

.page-jun88-faq__cta-section .page-jun88-faq__btn--primary:hover {
  background-color: #c00c32;
}

.page-jun88-faq .keyword {
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-jun88-faq__hero-title {
    font-size: 3em;
  }
  .page-jun88-faq__section-title {
    font-size: 2em;
  }
  .page-jun88-faq__cta-title {
    font-size: 2.2em;
  }
  .page-jun88-faq__cta-image {
    width: 250px;
    bottom: -30px;
    right: -30px;
  }
}

@media (max-width: 768px) {
  .page-jun88-faq__hero {
    padding: 60px 0;
  }
  .page-jun88-faq__hero-title {
    font-size: 2.5em;
  }
  .page-jun88-faq__hero-description {
    font-size: 1em;
  }
  .page-jun88-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-jun88-faq__section {
    padding: 40px 0;
  }
  .page-jun88-faq__section-title {
    font-size: 1.8em;
  }
  .page-jun88-faq__section-description {
    font-size: 0.95em;
  }
  .page-jun88-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-jun88-faq__accordion-content p {
    font-size: 0.95em;
  }
  .page-jun88-faq__cta-title {
    font-size: 1.8em;
  }
  .page-jun88-faq__cta-description {
    font-size: 1em;
  }
  .page-jun88-faq__cta-section .page-jun88-faq__btn--primary {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-jun88-faq__cta-image {
    width: 200px;
    bottom: -20px;
    right: -20px;
  }
}

@media (max-width: 480px) {
  .page-jun88-faq__hero {
    padding: 40px 0;
  }
  .page-jun88-faq__hero-title {
    font-size: 2em;
  }
  .page-jun88-faq__hero-description {
    font-size: 0.9em;
  }
  .page-jun88-faq__section {
    padding: 30px 0;
  }
  .page-jun88-faq__section-title {
    font-size: 1.5em;
  }
  .page-jun88-faq__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-jun88-faq__accordion-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  .page-jun88-faq__accordion-icon::before {
    height: 10px;
    top: 4px;
    left: 8px;
  }
  .page-jun88-faq__accordion-icon::after {
    width: 10px;
    top: 8px;
    left: 4px;
  }
  .page-jun88-faq__cta-title {
    font-size: 1.5em;
  }
  .page-jun88-faq__cta-description {
    font-size: 0.9em;
  }
  .page-jun88-faq__cta-section .page-jun88-faq__btn--primary {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-jun88-faq__cta-image {
    display: none;
  }
}