.page-support {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-support__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-support__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-support__introduction-section,
.page-support__channels-section,
.page-support__faq-section,
.page-support__responsible-gambling-section {
  padding: 40px 0;
}

.page-support__text-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

.page-support__text-content a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-support__text-content a:hover {
  text-decoration: underline;
}

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

.page-support__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  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;
  border: 1px solid #D6E2FF;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__channel-image {
  width: 100%;
  height: 200px; /* Enforce min height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__channel-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-support__channel-description {
  font-size: 0.95rem;
  color: #1F2D3D;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-support__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.page-support__channel-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.page-support__faq-item {
  text-align: left;
  padding: 25px 30px;
}

.page-support__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  list-style: none;
}

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

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-support__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  border-top: 1px solid #D6E2FF;
  margin-top: 15px;
  padding-bottom: 0;
}

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

.page-support__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

  .page-support__hero-image {
    width: 100%;
    height: auto; /* Ensure responsiveness */
  }

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

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

  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-support__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }

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

  .page-support__channel-image {
    height: auto; /* Allow height to adjust */
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  .page-support__faq-question {
    font-size: 1.1rem;
  }

  .page-support__faq-answer {
    font-size: 0.95rem;
  }

  /* Critical: prevent horizontal overflow for all images in content area */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding-bottom: 30px;
  }

  .page-support__hero-image-wrapper {
    max-height: 200px;
  }

  .page-support__hero-title {
    font-size: 1.8rem;
  }

  .page-support__hero-description {
    font-size: 0.9rem;
  }

  .page-support__section-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .page-support__card {
    padding: 15px;
  }

  .page-support__channel-title {
    font-size: 1.3rem;
  }

  .page-support__channel-description {
    font-size: 0.9rem;
  }

  .page-support__channel-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

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