/* style/support.css */
.page-support {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

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

.page-support__hero-content {
  width: 100%;
  max-width: 900px;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand color for section titles */
}

.page-support__overview-section,
.page-support__guide-section,
.page-support__faq-section,
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-support__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-support__guide-content--reverse {
  flex-direction: row-reverse;
}

.page-support__guide-image,
.page-support__security-image {
  width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-support__guide-text,
.page-support__security-text {
  width: 50%;
}

.page-support__guide-text h3,
.page-support__security-text h3 {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__dark-bg .page-support__section-title {
  color: #ffffff;
}

.page-support__security-section,
.page-support__contact-section,
.page-support__conclusion-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-support__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-item[open] {
  background-color: #e8e8e8;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-support__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.page-support__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-support__link {
  color: #FFFF00; /* Custom color for links */
  text-decoration: underline;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #C30808; /* Custom color for primary buttons */
  color: #FFFF00; /* Custom font color for primary buttons */
  border: 2px solid #C30808;
  margin-top: 20px;
}

.page-support__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  margin-top: 20px;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
}

/* Ensure images in content area are not too small */
.page-support img:not(.page-support__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__guide-content,
  .page-support__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-support__guide-content--reverse {
    flex-direction: column-reverse;
  }

  .page-support__guide-image,
  .page-support__security-image,
  .page-support__guide-text,
  .page-support__security-text {
    width: 100%;
  }

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

  .page-support__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-support__section-title {
    font-size: 2em;
  }
}

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

  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-support__description {
    font-size: 1em;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-support__overview-section,
  .page-support__guide-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__security-section,
  .page-support__responsible-gaming-section,
  .page-support__conclusion-section {
    padding: 50px 0;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile responsive images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image,
  .page-support__guide-image,
  .page-support__security-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__guide-content,
  .page-support__security-content,
  .page-support__faq-list,
  .page-support__contact-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}