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

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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  padding: 60px 20px;
  color: #FFFFFF;
  overflow: hidden;
  background-color: #017439; /* Use brand main color */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.page-login__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 40px;
  color: #FFFFFF;
}

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

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

/* Login button color from custom config */
.page-login__btn-primary {
  background-color: #C30808;
  color: #000000; /* Adjusted for WCAG AA contrast (4.74:1) as #FFFF00 on #C30808 fails */
  border: 2px solid #C30808;
}

.page-login__btn-primary:hover {
  background-color: #a00000;
  border-color: #a00000;
}

/* Register button color (assuming secondary is register, no specific custom color for register button, using brand colors) */
.page-login__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-login__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-login__content-area {
  padding: 60px 0;
  color: #333333;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px;
}

.page-login p {
  margin-bottom: 15px;
  color: #333333;
}

.page-login__ordered-list,
.page-login__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-login__ordered-list li,
.page-login__unordered-list li {
  margin-bottom: 10px;
  color: #333333;
}

.page-login__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-login__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
}

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

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

.page-login__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #dcf0e0;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 20px !important;
}

.page-login__cta-section {
  text-align: center;
  background-color: #017439;
  color: #FFFFFF;
  padding: 50px 20px;
  border-radius: 10px;
  margin-top: 60px;
}

.page-login__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 3em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__hero-title {
    font-size: 2.5em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto;
  }

  .page-login__content-area {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__cta-title {
    font-size: 1.8em;
  }
  .page-login__video-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__container,
  .page-login__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-login__faq-answer {
    padding: 0 15px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 15px 15px !important;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 2em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__cta-title {
    font-size: 1.5em;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    font-size: 0.9em;
  }
}