.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color on light background */
  background-color: var(--background-color, #ffffff); /* Inherit from shared */
}

.page-about__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

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

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  padding-bottom: 80px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Overlay to make text readable */
  z-index: 1;
}

.page-about__hero-section > .page-about__container {
  position: relative;
  z-index: 2;
}

.page-about__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-about__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #EA7C07;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-about__btn-primary:hover {
  background-color: #d16b05;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  font-size: 1.1em;
  margin-left: 20px;
}

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

.page-about__mission-vision-section,
.page-about__why-choose-us,
.page-about__values-section,
.page-about__responsible-gaming-section,
.page-about__team-section,
.page-about__cta-section,
.page-about__faq-section {
  padding: 60px 0;
}

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

.page-about__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__grid--team {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.page-about__dark-section .page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__dark-section .page-about__card-title {
  color: #ffffff;
}

.page-about__feature-item {
  text-align: center;
  padding: 20px;
}

.page-about__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-about__feature-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-about__feature-item p {
  color: #f0f0f0;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-about__value-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #333333;
}

.page-about__value-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__responsible-gaming-section .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__responsible-gaming-section .page-about__btn-secondary {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.page-about__team-member {
  text-align: center;
}

.page-about__team-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px auto;
  display: block;
  border: 3px solid #26A9E0;
}

.page-about__team-name {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-about__team-role {
  font-style: italic;
  color: #666;
  margin-bottom: 10px;
}

.page-about__team-description {
  font-size: 0.95em;
  color: #555;
}

.page-about__cta-container {
  text-align: center;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-heading {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
  }

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

  .page-about__container {
    padding: 0 15px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__faq-list,
  .page-about__value-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__feature-icon {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__team-img {
    width: 300px !important;
    height: 300px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Global image styles to enforce minimum 200x200px and no filters */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Default for content images */
  filter: none !important;
}

.page-about__feature-icon {
  object-fit: contain; /* Icons should be contained */
}