.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Use shared background variable */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-color: #f0f8ff; /* Light blue background for hero */
  color: #333333;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-support__hero-content {
  max-width: 600px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-support__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Common Section Styles */
.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-support__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__method-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px; /* Ensure cards have similar height */
}

.page-support__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__faq-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: bold;
}

.page-support__faq-link:hover {
  color: #e0f2f7;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 60px 20px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.page-support__responsible-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-support__responsible-content .page-support__section-title {
  text-align: left;
}

.page-support__responsible-content .page-support__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-support__responsible-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
}

.page-support__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 60px 20px;
  background-color: #f0f8ff;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-content {
    order: 2;
  }

  .page-support__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-support__hero-title {
    font-size: 2.2em;
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

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

  .page-support__section-description {
    font-size: 0.95em;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__method-grid {
    grid-template-columns: 1fr;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px 20px;
  }

  .page-support__responsible-gaming {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__responsible-content {
    text-align: center;
    order: 2;
  }

  .page-support__responsible-content .page-support__section-title,
  .page-support__responsible-content .page-support__section-description {
    text-align: center;
  }

  .page-support__responsible-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  /* Universal responsive image/video/button styles for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-support__cta-button,
  .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; /* Add padding to buttons on mobile */
    padding-right: 15px;
  }

  /* If buttons are in a flex container, ensure they wrap */
  .page-support__hero-content .page-support__cta-button {
    margin-bottom: 15px; /* Add spacing between buttons if stacked */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__hero-section {
    min-height: 400px;
  }
  .page-support__cta-button {
    padding: 12px 20px;
  }
}