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

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

.page-index__section {
  padding: 40px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
}

.page-index__page-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

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

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 44px; /* Minimum touch target height */
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn--register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-index__btn--register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-index__btn--login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-index__btn--login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-index__section-title {
  font-size: 2em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index__announcement-section p,
.page-index__announcement-section ol {
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__feature-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__feature-list li {
  margin-bottom: 10px;
}

.page-index__highlight-text {
  text-align: center;
  color: #d62828;
  font-style: italic;
  font-weight: bold;
}

.page-index__brand-overview ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__brand-overview li {
  margin-bottom: 8px;
}

.page-index__info-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #333333;
}

.page-index__info-card ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-index__info-card p {
  margin-bottom: 10px;
}

.page-index__warning-card {
  background-color: #fff4f4;
  border-left: 5px solid #ff4141;
  padding: 15px 20px;
  margin-bottom: 30px;
  color: #d62828;
  font-weight: bold;
}

.page-index__seo-content .page-index__text-block {
  text-align: justify;
}

.page-index__seo-content h2,
.page-index__seo-content h3 {
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__seo-content h2 {
  font-size: 1.8em;
  text-align: center;
}

.page-index__seo-content h3 {
  font-size: 1.4em;
}

.page-index__wp-caption {
  margin: 20px auto;
  max-width: 680px;
  text-align: center;
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

.page-index__wp-caption figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-index__identification-list,
.page-index__reason-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__identification-list li,
.page-index__reason-list li {
  margin-bottom: 10px;
}

.page-index__expert-quote {
  background-color: #f9f9f9;
  border-left: 4px solid #017439;
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
}

.page-index__expert-quote p {
  margin-bottom: 10px;
}

.page-index__expert-quote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: bold;
  color: #017439;
}

.page-index__promo-box {
  background-color: #fffbe6;
  border: 2px dashed #111;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
  color: #333333;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #d62828;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__promo-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-index__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index__btn--promo {
  background-color: #d62828;
  color: #ffffff;
  border: 2px solid #d62828;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-index__btn--promo:hover {
  background-color: #b01a1a;
  border-color: #b01a1a;
}

.page-index__register-tutorial h2 {
  text-align: center;
}

.page-index__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__info-input-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__faq-section h2 {
  text-align: center;
}

.page-index__faq-question {
  font-size: 1.4em;
  color: #017439;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__faq-answer {
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__conclusion-text {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__contact-info {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index__contact-info li {
  margin-bottom: 8px;
}

.page-index__contact-info a {
  color: #017439;
  text-decoration: none;
}

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

.page-index__copyright-section {
  background-color: #017439; /* Brand primary color for footer-like section */
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

.page-index__copyright {
  font-size: 0.9em;
}

/* General image responsiveness */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-index__article-wrap {
    padding: 0 15px;
  }

  .page-index__section {
    padding: 25px 0;
  }

  .page-index__top-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 25px;
  }

  .page-index__page-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-index__description {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: left;
  }

  .page-index__top-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-index__announcement-section p,
  .page-index__announcement-section ol,
  .page-index__brand-overview ul,
  .page-index__identification-list,
  .page-index__reason-list,
  .page-index__info-input-list {
    margin-left: 15px;
    margin-bottom: 15px;
    text-align: left;
  }

  .page-index__info-card,
  .page-index__warning-card {
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-index__seo-content h2 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index__seo-content h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-index__wp-caption {
    margin: 15px auto;
  }

  .page-index__wp-caption img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__promo-box {
    padding: 20px;
    margin: 20px auto;
  }

  .page-index__promo-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .page-index__promo-list li {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .page-index__btn--promo {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-index__faq-question {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .page-index__copyright-section {
    padding: 15px 0;
  }

  /* Ensure all image containers are responsive */
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__promo-box,
  .page-index__info-card,
  .page-index__warning-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific adjustments for article-wrap to prevent double padding */
  .page-index__article-wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .page-index__text-block {
    padding-left: 15px;
    padding-right: 15px;
  }
}