.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* A very light grey to ensure contrast with white cards */
}

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

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

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #1A2B3C;
  border: 2px solid #FFD700;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

/* Hero Section */
.page-support__hero-section {
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-support__hero-section .page-support__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-support__hero-content {
  flex: 1;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0;
  max-width: 700px;
  text-align: left;
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-support__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Intro Section */
.page-support__intro-section {
  padding: 80px 0;
}

.page-support__intro-section .page-support__section-title {
  color: #1A2B3C;
}

.page-support__intro-section .page-support__text-block {
  color: #555555;
}

.page-support__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #1A2B3C;
  margin-bottom: 15px;
}

.page-support__card p {
  font-size: 1em;
  color: #555555;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
}

.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 250px; /* Adjusted to be above 200px minimum */
  height: 200px; /* Adjusted to be above 200px minimum */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-support__channel-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-support__channel-card p {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__channel-card .page-support__btn-primary {
  margin-top: auto;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
}

.page-support__faq-section .page-support__section-title {
  color: #1A2B3C;
}

.page-support__faq-section .page-support__text-block {
  color: #555555;
}

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

.page-support__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A2B3C;
  cursor: pointer;
  background-color: #e8e8e8;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #e0e0e0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question {
  background-color: #FFD700;
  color: #1A2B3C;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes 'X' or 'minus' */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-support__faq-answer p {
  margin: 0;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
}

.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__guide-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
}

.page-support__guide-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__guide-card p {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__guide-card .page-support__btn-secondary {
  margin-top: auto;
  margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  padding: 80px 0;
}

.page-support__responsible-gambling-section .page-support__section-title {
  color: #1A2B3C;
}

.page-support__responsible-gambling-section .page-support__text-block {
  color: #555555;
}

.page-support__responsible-gambling-section .page-support__cta-buttons {
  justify-content: center;
  margin-top: 40px;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__contact-cta-section .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-cta-section .page-support__text-block {
  color: #e0e0e0;
}

.page-support__contact-cta-section .page-support__btn-primary {
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section .page-support__container {
    flex-direction: column;
    text-align: center;
  }
  .page-support__hero-content {
    order: 2;
  }
  .page-support__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-support__hero-title {
    font-size: 2.5em;
    text-align: center;
  }
  .page-support__hero-description {
    font-size: 1.1em;
    text-align: center;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit width for better mobile appearance */
    padding: 15px 20px;
  }

  .page-support__info-cards,
  .page-support__channels-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-support__card,
  .page-support__channel-card,
  .page-support__guide-card {
    padding: 20px;
  }

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

  .page-support__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

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

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

  /* Mobile specific image/video/container rules */
  .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__hero-section,
  .page-support__intro-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gambling-section,
  .page-support__contact-cta-section,
  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-support__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .page-support__channel-icon, .page-support__guide-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}