.page-register {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for the main content area */
  background-color: #FFFFFF; /* Explicitly set page background to match body */
}

.page-register__hero-section {
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 80px 20px; /* Padding for content within hero, not for header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with login color */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__register-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for register */
  color: #000000; /* Dark text for button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-right: 20px;
}

.page-register__register-button:hover {
  background-color: #e0a53b;
}

.page-register__register-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
  margin-top: 30px;
}

.page-register__login-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-register__login-link:hover {
  color: #FCBC45;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Constrain image width */
  margin-top: 40px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
}

.page-register__value-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__value-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__value-icon {
  width: 100%; /* Ensure images take full width of container */
  height: auto; /* Maintain aspect ratio */
  max-width: 400px; /* Ensure images don't exceed their intended size for the grid item */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  margin-bottom: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-register__value-text {
  color: #555555;
}

.page-register__steps-section {
  padding: 60px 20px;
}

.page-register__steps-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 20px;
}

.page-register__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-register__step-content {
  text-align: left;
}

.page-register__step-heading {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-register__step-text {
  color: #555555;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 50px;
}

.page-register__conditions-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-register__conditions-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__conditions-intro {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333;
}

.page-register__conditions-list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-register__conditions-item {
  margin-bottom: 15px;
  color: #333333;
}

.page-register__conditions-item strong {
  color: #000000;
}

.page-register__conditions-outro {
  font-size: 1em;
  color: #555555;
}

.page-register__terms-link,
.page-register__privacy-link {
  color: #FCBC45; /* Highlight links with login color */
  text-decoration: none;
  font-weight: bold;
}

.page-register__terms-link:hover,
.page-register__privacy-link:hover {
  text-decoration: underline;
}

.page-register__faq-section {
  padding: 60px 20px;
}

.page-register__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #fefefe;
  border-bottom: 1px solid #e0e0e0;
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: 1px solid #FCBC45;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(180deg);
}

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

.page-register__faq-answer {
  padding: 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
  color: #555555;
}

.page-register__faq-answer p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__register-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-right: 10px;
  }

  .page-register__register-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-register__login-link {
    font-size: 0.9em;
  }

  .page-register__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-register__value-grid {
    grid-template-columns: 1fr;
  }

  .page-register__value-icon {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for mobile */
    min-height: 200px; /* Enforce min size for mobile */
  }

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-register__step-number {
    margin-bottom: 15px;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Ensure all images within .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  .page-register__hero-section {
    /* Removed padding-top here as it's handled by .page-register */
  }
}

@media (max-width: 480px) {
  .page-register__hero-section {
    padding: 60px 15px;
  }

  .page-register__hero-title {
    font-size: 1.8em;
  }

  .page-register__register-button {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-right: 10px;
  }

  .page-register__login-link {
    font-size: 0.8em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }
}