.page-about {
  color: #ffffff; /* Body background is #000000, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background: #000000; /* Dark background for hero section */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-about__content-area,
.page-about__why-choose-us,
.page-about__products-services,
.page-about__responsible-gaming,
.page-about__partners-tech,
.page-about__faq-section,
.page-about__cta-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__subtitle {
  color: #000000;
}

.page-about__light-bg .page-about__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

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

.page-about__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

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

.page-about__text-block {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-about__text-block p {
  font-size: 1.05em;
}

.page-about__image-block {
  text-align: center;
  margin-top: 30px;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-about__why-choose-us {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__why-choose-content {
  flex: 1;
  min-width: 300px;
}

.page-about__why-choose-us .page-about__image-block {
  flex: 1;
  min-width: 300px;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #ffffff;
}

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

.page-about__feature-item p {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-about__service-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #333333;
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

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

.page-about__service-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

.page-about__card-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color for action */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-about__card-link:hover {
  background-color: #c76706;
}

.page-about__responsible-gaming .page-about__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-about__responsible-gaming .page-about__description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__responsible-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-about__responsible-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: left;
  border-left: 4px solid #EA7C07;
}

.page-about__responsible-heading {
  font-size: 1.3em;
  color: #EA7C07;
  margin-bottom: 10px;
}

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

.page-about__partners-tech {
  text-align: center;
}

.page-about__partners-tech .page-about__description {
  color: #555555;
  margin-bottom: 40px;
}

.page-about__partner-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.page-about__partner-logo {
  max-width: 250px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%); /* Apply grayscale for partner logos */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-about__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details summary */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

.page-about__cta-bottom .page-about__description {
  color: #555555;
  margin-bottom: 30px;
}

.page-about__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

  .page-about__hero-section {
    padding: 10px 15px 40px;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__subtitle {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__content-area,
  .page-about__why-choose-us,
  .page-about__products-services,
  .page-about__responsible-gaming,
  .page-about__partners-tech,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__why-choose-us {
    flex-direction: column;
  }

  .page-about__why-choose-content,
  .page-about__why-choose-us .page-about__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-about__content-image,
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-about__service-card {
    padding-bottom: 15px;
  }

  .page-about__card-image {
    height: 180px;
  }

  .page-about__partner-logo {
    max-width: 180px;
  }

  .page-about__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  .page-about__cta-bottom {
    padding-bottom: 60px;
  }
}

/* Ensure all images and containers are responsive */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__hero-image-wrapper,
.page-about__image-block,
.page-about__service-card,
.page-about__partner-grid {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Partner logos can have grayscale filter, but not other images */
.page-about__partner-logo {
  filter: grayscale(100%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-about__partner-logo:hover {
  filter: grayscale(0%);
}

/* No video on this page, but if there were, it would need this */
.page-about video,
.page-about__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-about__video-section,
.page-about__video-container,
.page-about__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__service-card,
  .page-about__partner-grid,
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}