.page-support {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensuring main content area respects body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #000000; /* Dark background for the hero section */
  color: #ffffff;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 60ch; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.page-support__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-support__section {
  padding: 80px 20px;
  text-align: center;
  color: #ffffff; /* Default for dark sections */
}

.page-support__light-bg {
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-support__dark-bg {
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-support__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
  color: inherit; /* Inherit color from parent section */
}

.page-support__sub-heading {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: inherit;
  opacity: 0.9;
}

.page-support__text {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-support__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color */
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__btn-inline {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
  display: inline-block; /* For inline use in FAQ answers */
}

.page-support__btn-inline:hover {
  background-color: #c96806;
  border-color: #c96806;
}

/* FAQ Section */
.page-support__faq-section {
  padding-bottom: 40px; /* Adjust padding for image below */
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  list-style: none; /* For details/summary */
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle */
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: left;
}

/* Contact Methods */
.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 50px auto;
  text-align: left;
}

.page-support__contact-card {
  background-color: #ffffff; /* Light background for cards in light section */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: #333333; /* Dark text for light card background */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-support__contact-card .page-support__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-support__contact-card .page-support__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #555555;
}

/* Responsible Gambling */
.page-support__responsible-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__responsible-text {
  text-align: left;
  flex: 1;
}

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

.page-support__article-card {
  background-color: #ffffff; /* Light background for cards in light section */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  color: #333333; /* Dark text for light card background */
  display: flex;
  flex-direction: column;
}

.page-support__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__article-card .page-support__card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
  color: #26A9E0; /* Brand color for titles */
  flex-grow: 1;
}

.page-support__article-card .page-support__card-title a {
  text-decoration: none;
  color: inherit;
}

.page-support__article-card .page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__card-meta {
  font-size: 0.85rem;
  color: #777777;
  margin: 0 20px 15px 20px;
}

.page-support__article-card .page-support__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 20px 20px 20px;
  color: #555555;
}

.page-support__article-card .page-support__btn-inline {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  min-width: unset;
}

.page-support__view-all-button {
  margin-top: 40px;
}

/* Final CTA */
.page-support__final-cta {
  padding-bottom: 80px;
}

/* Image containers for responsiveness */
.page-support__image-container {
  width: 100%;
  max-width: 800px; /* Example max-width for content images */
  margin: 0 auto;
}

.page-support__faq-image,
.page-support__contact-image,
.page-support__responsible-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}


/* Responsive Design */
@media (min-width: 769px) {
  .page-support__responsible-content {
    flex-direction: row;
    align-items: flex-start;
  }
  .page-support__responsible-text {
    padding-right: 40px;
  }
  .page-support__image-container {
    flex: 1;
  }
  .page-support__faq-section .page-support__image-container {
    order: 1;
  }
  .page-support__contact-methods .page-support__image-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__main-title {
    font-size: 2rem;
  }

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-inline {
    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__section,
  .page-support__container,
  .page-support__contact-grid,
  .page-support__article-grid,
  .page-support__faq-list,
  .page-support__responsible-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent overflow on containers */
  }

  .page-support__heading {
    font-size: 1.8rem;
  }

  .page-support__sub-heading {
    font-size: 1rem;
  }

  .page-support__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-support__faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }

  .page-support__contact-card,
  .page-support__article-card {
    padding: 20px;
  }

  /* All images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ensure video containers are responsive if any video is added */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__video-section {
    padding-top: 10px !important;
  }
}

/* Color Contrast Enforcement - Default for dark body background */
.page-support {
  color: #ffffff; /* Light text on dark body background */
}
.page-support__text,
.page-support__description,
.page-support__sub-heading {
  color: inherit; /* Inherit from parent section */
}

/* Specific section overrides */
.page-support__light-bg {
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}
.page-support__light-bg .page-support__card-title {
  color: #26A9E0; /* Brand color on light background */
}
.page-support__light-bg .page-support__card-text {
  color: #555555;
}

.page-support__dark-bg {
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text on dark background */
}
.page-support__dark-bg .page-support__card-title {
  color: #ffffff; /* Light color for card titles on dark background */
}
.page-support__dark-bg .page-support__card-text {
  color: #f0f0f0;
}

/* FAQ specific contrast */
.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.page-support__faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.page-support__faq-qtext {
  color: #ffffff;
}
.page-support__faq-answer {
  color: #f0f0f0;
}