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

.page-about__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

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

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__cta-buttons--center {
  margin-top: 30px;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid #E53935;
}

.page-about__btn--primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  border-color: #FF5A4F;
}

.page-about__btn--secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-about__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #E53935;
  border-color: #FF5A4F;
}

.page-about__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  box-sizing: border-box;
  color: #333333;
}

.page-about__section {
  padding: 40px 0;
}

.page-about__dark-section {
  background-color: #E53935;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__dark-section .page-about__heading,
.page-about__dark-section .page-about__sub-heading {
  color: #ffffff;
}

.page-about__heading {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-about__sub-heading {
  font-size: clamp(1.4em, 2.8vw, 2em);
  font-weight: 600;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-about__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
}

.page-about__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-about__list-item {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-about__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px; /* Max width for content images */
  box-sizing: border-box;
}

.page-about__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-about__dark-section .page-about__figcaption {
  color: #f0f0f0;
}

.page-about__promo-box {
  background-color: #F5F7FA;
  border: 1px solid #E0E0E0;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-about__cta-final {
  background-color: #FF5A4F;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-about__cta-final .page-about__heading {
  color: #ffffff;
}

.page-about__cta-final .page-about__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__article-wrap {
    padding: 30px 15px;
  }
  .page-about__heading {
    font-size: 2.2em;
  }
  .page-about__sub-heading {
    font-size: 1.7em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section (Hero/Title) + CTA */
  .page-about__top-section {
    padding-top: 10px !important; /* Enforce small top padding */
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 1em !important;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-about__btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1em !important;
    padding: 10px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single Column Long Content Wrapper */
  .page-about__article-wrap,
  .page-about__section,
  .page-about__promo-box,
  .page-about__cta-final {
    padding: 25px 15px !important;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__container {
    padding: 0;
  }
  .page-about__heading {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }
  .page-about__sub-heading {
    font-size: 1.4em !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-about__paragraph,
  .page-about__list-item {
    font-size: 0.95em !important;
    line-height: 1.6;
  }
  .page-about__list {
    margin-left: 20px;
  }

  /* 3. General Images and Figures */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-about__figure {
    margin: 20px auto;
  }
  .page-about__figcaption {
    font-size: 0.85em !important;
  }

  /* 4. Buttons and Button Containers (already covered in top-section for general buttons) */
  /* Additional check for specific button groups */
  .page-about__cta-buttons.page-about__cta-buttons--center {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* 5. Registration Tutorial and FAQ Blocks (No explicit FAQ block in this content, tutorial not needed for About page) */
  /* Ensuring general text readability */
  .page-about {
    font-size: 15px;
    line-height: 1.6;
  }
}