.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background: #ffffff; /* Default body background */
  line-height: 1.6;
}

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

.page-support__flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  background-color: #017439; /* Brand primary color as background */
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 50px;
  text-align: center;
  color: #ffffff;
}

.page-support__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  opacity: 0.7; /* Slightly transparent to let background color show */
}

.page-support__hero-content {
  position: relative; /* Ensure content is above image overlay */
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
  border-radius: 10px;
  margin-top: -100px; /* Pull up to overlap image slightly for visual effect */
}

.page-support__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for main title */
}

.page-support__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-support__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* General Section Styling */
.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Primary brand color */
}

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

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-support__section-description--white {
  color: #f0f0f0;
}

/* Sections Overview */
.page-support__sections-overview {
  padding: 60px 0;
  background: #f9f9f9;
}

.page-support__topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-support__topic-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__topic-icon {
  width: 100%;
  max-width: 250px; /* Max width within card */
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-support__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-link {
  display: inline-block;
  color: #C30808;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.page-support__card-link:hover {
  border-color: #C30808;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for dark background */
  color: #ffffff;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border for dark background */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Slightly more padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #ffffff;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.1); /* Slightly darker hover for dark background */
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px; /* Consistent with summary */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-support__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  color: #FFFF00; /* Yellow for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Larger width */
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px; /* Consistent padding */
  background: rgba(0, 0, 0, 0.2); /* Darker background for answer */
  border-radius: 0 0 8px 8px;
  color: #f0f0f0; /* Lighter text for answer */
  font-size: 16px;
  line-height: 1.7;
}
details.page-support__faq-item .page-support__faq-answer p {
  margin: 0;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background: #ffffff;
}

.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-support__contact-card {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Responsible Gaming Promo */
.page-support__responsible-gaming-promo {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-support__promo-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__btn-secondary--white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__btn-secondary--white:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-support__main-title {
    font-size: 40px;
  }
  .page-support__intro-text {
    font-size: 17px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-support__topic-grid,
  .page-support__contact-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-support__topic-card,
  .page-support__contact-card {
    padding: 25px;
  }
  .page-support__card-title {
    font-size: 22px;
  }
  .page-support__card-text {
    font-size: 16px;
  }
  .page-support__faq-qtext {
    font-size: 17px;
  }
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 16px 20px;
  }
  .page-support__faq-toggle {
    font-size: 26px;
    width: 28px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 768px) {
  /* General responsive for images and containers */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__sections-overview,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gaming-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-support__hero-section {
    padding-top: 10px; /* Small top padding, consistent with requirements */
    padding-bottom: 30px;
  }
  .page-support__hero-image {
    object-fit: contain; /* Banner 849px `object-fit:contain` */
  }
  .page-support__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-support__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-support__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-support__cta-buttons {
    flex-direction: column; /* Multiple buttons vertical arrangement */
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Section Titles & Descriptions */
  .page-support__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  /* Sections Overview (Topic Grid) */
  .page-support__sections-overview {
    padding: 40px 0;
  }
  .page-support__topic-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-support__topic-card {
    padding: 20px;
  }
  .page-support__topic-icon {
    max-width: 100% !important; /* Mobile override */
    min-width: 200px !important; /* Keep min size */
    min-height: 200px !important; /* Keep min size */
    margin-bottom: 15px;
  }
  .page-support__card-title {
    font-size: 20px;
  }
  .page-support__card-text {
    font-size: 15px;
  }

  /* FAQ Section */
  .page-support__faq-section {
    padding: 50px 0;
  }
  .page-support__faq-list {
    margin-top: 30px;
  }
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Contact Section */
  .page-support__contact-section {
    padding: 50px 0;
  }
  .page-support__contact-methods {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-support__contact-card {
    padding: 20px;
  }

  /* Responsible Gaming Promo */
  .page-support__responsible-gaming-promo {
    padding: 50px 0;
  }
  .page-support__btn-secondary--white {
    font-size: 16px;
    padding: 12px 20px;
  }
}