.page-about {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 100%; /* Ensures it doesn't overflow */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-about__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2F6BFF;
  border-radius: 2px;
}

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

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__text-content,
.page-about__feature-list {
  flex: 1;
}

.page-about__text-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-about__image-block {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__secondary-cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background-color: #6FA3FF;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: fit-content;
}

.page-about__secondary-cta-button:hover {
  background-color: #2F6BFF;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__feature-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-about__feature-item:last-child {
  margin-bottom: 0;
}

.page-about__feature-item h3 {
  font-size: 1.375rem;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-about__feature-item p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-about__responsible-content {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.08);
}

.page-about__responsible-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__responsible-text {
  flex: 1;
}

.page-about__responsible-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-about__learn-more-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background-color: #A5C4FF;
  color: #1F2D3D;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: fit-content;
}

.page-about__learn-more-button:hover {
  background-color: #6FA3FF;
}

.page-about__team-description {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #1F2D3D;
}

.page-about__team-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

.page-about__contact-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 35px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-grid,
  .page-about__content-grid--reverse,
  .page-about__responsible-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__image-block,
  .page-about__responsible-image {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .page-about__text-content,
  .page-about__feature-list,
  .page-about__responsible-text {
    order: unset; /* Reset order for column layout */
  }

  .page-about__content-grid--reverse .page-about__text-content {
    order: 1;
  }

  .page-about__secondary-cta-button,
  .page-about__learn-more-button {
    margin: 20px auto 0 auto;
  }

  .page-about__feature-item h3 {
    font-size: 1.25rem;
  }

  .page-about__feature-item p {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-about__section-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 30px;
  }

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

  /* Ensure all content images are responsive and do not overflow */
  .page-about__hero-image,
  .page-about__image-block,
  .page-about__responsible-image,
  .page-about__team-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
  }

  .page-about__image-block {
    margin-bottom: 20px;
  }

  .page-about__responsible-content {
    padding: 20px;
  }

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

@media (max-width: 549px) {
  .page-about__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-about__cta-button,
  .page-about__secondary-cta-button,
  .page-about__learn-more-button,
  .page-about__contact-button {
    width: 100%;
    max-width: 280px; /* Constrain max-width for smaller buttons */
    margin-left: auto;
    margin-right: auto;
  }
}