.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
  color: #333333; /* Default for light sections */
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px); /* H1 rules applied to H2s for consistency, but clamped */
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for titles */
  line-height: 1.2;
}

.page-about__section-title--white {
  color: #FFFFFF;
}

.page-about__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section-description--white {
  color: #FFFFFF;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull up to overlap slightly for visual effect */
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font size clamped */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-about__lead-text {
  font-size: 19px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  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;
  text-align: center;
  box-sizing: border-box;
}

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

.page-about__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-about__btn-primary--white-text {
  color: #FFFFFF;
}

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

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__btn-secondary--white {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-about__btn-secondary--white:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
}

.page-about__btn-link {
  background: none;
  color: #26A9E0;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 16px;
}

.page-about__btn-link:hover {
  text-decoration: underline;
  color: #1e87b7;
}

/* Vision and Mission Section */
.page-about__vision-mission .page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__vision-mission .page-about__text-block {
  flex: 1;
}

.page-about__vision-mission .page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__vision-mission p {
  font-size: 17px;
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-about__why-choose-us .page-about__section-description {
  color: #FFFFFF;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-about__feature-card .page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1; /* Allow paragraph to grow and push content down */
}

.page-about__cta-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* Core Values Section */
.page-about__core-values .page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-item {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__value-item p {
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

/* History Section */
.page-about__history .page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__history .page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__history .page-about__text-block {
  flex: 1;
}

.page-about__history .page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__history p {
  font-size: 17px;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming .page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__responsible-gaming .page-about__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #FFFFFF;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-about__responsible-gaming .page-about__list-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-about__responsible-gaming .page-about__list-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  list-style: none; /* Hide default marker */
}

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

.page-about__faq-question .page-about__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

.page-about__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Contact CTA Section */
.page-about__contact-cta {
  padding: 80px 0;
}

/* Responsive Images */
.page-about__hero-image,
.page-about__image-responsive,
.page-about__value-icon {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__hero-content {
    margin-top: -60px; /* Adjust overlap for mobile */
    padding: 20px;
    width: calc(100% - 30px); /* Adjust width to fit container padding */
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-about__lead-text {
    font-size: 16px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-about__cta-wrapper a {
    display: block; /* Stack buttons vertically */
  }

  .page-about__vision-mission .page-about__content-wrapper,
  .page-about__history .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__vision-mission .page-about__text-block,
  .page-about__vision-mission .page-about__image-block,
  .page-about__history .page-about__text-block,
  .page-about__history .page-about__image-block {
    flex: none;
    width: 100%;
  }

  .page-about__features-grid,
  .page-about__core-values .page-about__values-grid,
  .page-about__responsible-gaming .page-about__responsibility-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card,
  .page-about__value-item,
  .page-about__responsible-gaming .page-about__list-item {
    padding: 25px;
  }

  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* Force responsive images, videos, and containers */
  .page-about img,
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__vision-mission .page-about__image-block,
  .page-about__history .page-about__image-block,
  .page-about__value-item,
  .page-about__responsible-gaming .page-about__list-item,
  .page-about__feature-card,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}