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

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

.page-about__hero-section {
  background-color: #F8F9FA;
  padding-top: 10px; /* Specific 10px padding, not var(--header-offset) */
  padding-bottom: 40px;
  text-align: center;
  color: #333333;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  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: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-about__section {
  padding: 50px 0;
  background-color: #FFFFFF;
}

.page-about__section:nth-of-type(even) {
  background-color: #F8F9FA;
}

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

.page-about__sub-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for content wrap */
}

.page-about__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-about__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-about a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  padding-left: 0;
}

.page-about__list-item {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

.page-about__cta-buttons--centered .page-about__btn {
  min-width: 180px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

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

  .page-about__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section & CTA */
  .page-about__hero-section {
    padding-top: 10px !important; /* Specific 10px padding */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    margin-bottom: 10px;
  }

  .page-about__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Reduced gap */
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-about__btn {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding: 10px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single Column Long Text Container */
  .page-about__section {
    padding: 30px 0;
  }

  .page-about__article-wrap {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-about p,
  .page-about__list-item {
    font-size: 0.95em;
  }

  /* 3. General Images and Figure */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__figure {
    margin: 20px 0;
  }

  .page-about__figcaption {
    font-size: 0.85em;
  }

  /* 4. Buttons and Button Containers (already covered in section 1 and general .page-about__btn) */
  .page-about__cta-buttons--centered {
    margin-top: 30px;
  }

  /* 5. Register Tutorial & FAQ Block - General text readability for now as no specific blocks */
  .page-about__list {
    margin-left: 15px;
  }
  .page-about__list-item {
    line-height: 1.5;
  }
}

/* Ensure no filter is applied to images */
.page-about img {
  filter: none; /* Explicitly remove any potential filter */
}

/* Ensure button container handles overflow */
.page-about__cta-buttons,
.page-about__button-group,
.page-about__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}