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

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-about__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  transition: background 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-about__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

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

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

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

.page-about__image-content {
  flex: 1;
  min-width: 200px; /* Ensure image content area is not too small */
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__image--centered {
  margin: 30px auto;
  max-width: 800px;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #D6E2FF;
  min-height: 200px; /* Ensure card is not too small */
}

.page-about__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

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

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

.page-about__values-list li {
  background-color: #FFFFFF;
  border-left: 5px solid #2F6BFF;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-about__values-list li strong {
  color: #000000;
}

.page-about__responsible-gaming-section .page-about__description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-about__responsible-gaming-section .page-about__description a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
}

.page-about__responsible-gaming-section .page-about__description a:hover {
  text-decoration: underline;
}

.page-about__cta-bottom-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #F4F7FB;
}

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

.page-about__cta-button--secondary {
  background: #6FA3FF;
}

.page-about__cta-button--secondary:hover {
  background: #2F6BFF;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .page-about__image-content {
    order: -1; /* Image first on mobile for reversed sections */
  }

  .page-about__image--centered {
    max-width: 100%;
  }

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

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

  .page-about__cta-button {
    width: 100%;
    max-width: 280px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

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

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

  .page-about__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__text-content p,
  .page-about__feature-card p,
  .page-about__values-list li,
  .page-about__responsible-gaming-section .page-about__description {
    font-size: 0.9rem;
  }

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

/* Ensure all content images within .page-about are responsive and not too small on mobile */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}