/* style/faq-deposit-withdrawal.css */
:root {
  --af88-primary-color: #11A84E;
  --af88-secondary-color: #22C768;
  --af88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --af88-card-bg: #11271B;
  --af88-background: #08160F;
  --af88-text-main: #F2FFF6;
  --af88-text-secondary: #A7D9B8;
  --af88-border-color: #2E7A4E;
  --af88-glow-color: #57E38D;
  --af88-gold-color: #F2C14E;
  --af88-divider-color: #1E3A2A;
  --af88-deep-green-color: #0A4B2C;
}

body {
  background-color: var(--af88-background); /* Body background from custom colors */
  color: var(--af88-text-main); /* Main text color for dark background */
}

.page-faq-deposit-withdrawal {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--af88-text-main); /* Ensure main text is light on dark background */
  background-color: var(--af88-background);
}

.page-faq-deposit-withdrawal__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--af88-deep-green-color);
  text-align: center;
}

.page-faq-deposit-withdrawal__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-faq-deposit-withdrawal__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--af88-text-main);
}

.page-faq-deposit-withdrawal__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--af88-gold-color);
}

.page-faq-deposit-withdrawal__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--af88-text-secondary);
}

.page-faq-deposit-withdrawal__hero-buttons,
.page-faq-deposit-withdrawal__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq-deposit-withdrawal__cta-buttons--bottom {
  margin-top: 40px;
}

.page-faq-deposit-withdrawal__btn-primary,
.page-faq-deposit-withdrawal__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-faq-deposit-withdrawal__btn-primary {
  background: var(--af88-button-gradient);
  color: var(--af88-text-main);
  border: 2px solid transparent;
}

.page-faq-deposit-withdrawal__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq-deposit-withdrawal__btn-secondary {
  background: transparent;
  color: var(--af88-primary-color);
  border: 2px solid var(--af88-primary-color);
}

.page-faq-deposit-withdrawal__btn-secondary:hover {
  background: rgba(var(--af88-primary-color-rgb), 0.1);
  color: var(--af88-text-main);
  border-color: var(--af88-text-main);
  transform: translateY(-2px);
}

.page-faq-deposit-withdrawal__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--af88-background);
  color: var(--af88-text-main);
}

.page-faq-deposit-withdrawal__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--af88-primary-color);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid var(--af88-divider-color);
  padding-bottom: 15px;
}

.page-faq-deposit-withdrawal__section-intro,
.page-faq-deposit-withdrawal__section-outro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--af88-text-secondary);
}

.page-faq-deposit-withdrawal__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.page-faq-deposit-withdrawal__faq-item {
  background-color: var(--af88-card-bg);
  border: 1px solid var(--af88-border-color);
  border-radius: 10px;
  overflow: hidden;
  color: var(--af88-text-main);
}

.page-faq-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--af88-text-main);
  background-color: var(--af88-deep-green-color);
  border-bottom: 1px solid var(--af88-border-color);
  list-style: none; /* For details/summary */
}

.page-faq-deposit-withdrawal__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq-deposit-withdrawal__faq-qtext {
  flex-grow: 1;
}

.page-faq-deposit-withdrawal__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--af88-gold-color);
}

.page-faq-deposit-withdrawal__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--af88-text-secondary);
}

.page-faq-deposit-withdrawal__faq-answer p {
  margin-bottom: 15px;
}

.page-faq-deposit-withdrawal__faq-answer ul,
.page-faq-deposit-withdrawal__faq-answer ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-faq-deposit-withdrawal__faq-answer li {
  margin-bottom: 8px;
}

.page-faq-deposit-withdrawal__faq-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq-deposit-withdrawal__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-faq-deposit-withdrawal__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-faq-deposit-withdrawal__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq-deposit-withdrawal__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-faq-deposit-withdrawal__hero-description {
    font-size: 1rem;
  }

  .page-faq-deposit-withdrawal__hero-buttons,
  .page-faq-deposit-withdrawal__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-faq-deposit-withdrawal__btn-primary,
  .page-faq-deposit-withdrawal__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq-deposit-withdrawal__content-area {
    padding: 30px 15px;
  }

  .page-faq-deposit-withdrawal__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-faq-deposit-withdrawal__section-intro,
  .page-faq-deposit-withdrawal__section-outro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-faq-deposit-withdrawal__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-faq-deposit-withdrawal__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-faq-deposit-withdrawal img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq-deposit-withdrawal__hero-image-wrapper,
  .page-faq-deposit-withdrawal__content-area,
  .page-faq-deposit-withdrawal__faq-item,
  .page-faq-deposit-withdrawal__faq-answer,
  .page-faq-deposit-withdrawal__cta-buttons,
  .page-faq-deposit-withdrawal__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Ensure content area images are at least 200x200px and responsive */
.page-faq-deposit-withdrawal img:not(.page-faq-deposit-withdrawal__hero-image) {
  min-width: 200px;
  min-height: 200px;
}