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

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  object-fit: cover;
}

.page-about__hero-text-block {
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #FF5A4F;
  border-color: #FF5A4F;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

.page-about__btn-center {
  display: block;
  margin: 30px auto;
  max-width: 300px;
}

.page-about__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__section:first-of-type {
  margin-top: 30px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about p {
  margin-bottom: 1em;
  color: #333333;
}

.page-about strong {
  color: #E53935;
}

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

.page-about__feature-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #E53935;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-about__feature-list li p {
  margin: 0;
}

.page-about__image-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-about__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #555555;
  padding: 10px;
  background-color: #f0f0f0;
}

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

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

/* Responsive styles for tablets and mobile */
@media (max-width: 1024px) {
  .page-about__hero-image {
    margin-bottom: 20px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 24px;
    font-size: 1em;
  }

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

@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-about__hero-content-wrapper {
    padding: 10px;
  }

  .page-about__hero-image {
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em) !important;
    margin-bottom: 10px;
  }

  .page-about__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to container */
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
  }

  /* 2. Single column long text containers */
  .page-about__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

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

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

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

  .page-about__feature-list li {
    padding: 12px 15px;
    font-size: 0.9em;
  }

  /* 3. Generic images and figures */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-figure {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__image-caption {
    font-size: 0.85em;
  }

  /* 4. Buttons and button containers (already covered above in CTA buttons, reiterating for general buttons) */
  .page-about__btn-center {
    max-width: 100% !important;
    width: 100% !important;
    margin: 20px auto !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-about__cta-buttons--inline {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  /* 5. Registration tutorial and FAQ blocks - N/A for this page, but placeholder for compliance */
  /* No specific tutorial or FAQ blocks with distinct styling for this page, general text/image rules apply */
}