/* style/beginners-guide-how-to-register.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a;
  --border-light: #e0e0e0;
}

/* Base styles for the page content, assuming body background is dark */
.page-beginners-guide-how-to-register {
  color: var(--text-light); /* Light text on dark body background */
  background-color: var(--bg-dark); /* Ensure consistency if section background is not explicitly set */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-beginners-guide-how-to-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-beginners-guide-how-to-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-beginners-guide-how-to-register__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-beginners-guide-how-to-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-beginners-guide-how-to-register__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(10, 10, 10, 0.7); /* Semi-transparent dark background for text */
  margin-top: -80px; /* Pull content up a bit, but not over image */
  border-radius: 10px;
}

.page-beginners-guide-how-to-register__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-beginners-guide-how-to-register__hero-description {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-beginners-guide-how-to-register__hero-cta-button,
.page-beginners-guide-how-to-register__btn-primary,
.page-beginners-guide-how-to-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-beginners-guide-how-to-register__hero-cta-button,
.page-beginners-guide-how-to-register__btn-primary {
  background-color: var(--login-button-color); /* Login color as primary CTA */
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-beginners-guide-how-to-register__hero-cta-button:hover,
.page-beginners-guide-how-to-register__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

.page-beginners-guide-how-to-register__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.page-beginners-guide-how-to-register__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-beginners-guide-how-to-register__section-title {
  font-size: 2.2rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-beginners-guide-how-to-register__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__introduction-section,
.page-beginners-guide-how-to-register__benefits-section,
.page-beginners-guide-how-to-register__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__dark-bg {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__steps-grid,
.page-beginners-guide-how-to-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginners-guide-how-to-register__step-card,
.page-beginners-guide-how-to-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__step-image,
.page-beginners-guide-how-to-register__benefit-icon,
.page-beginners-guide-how-to-register__tips-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-beginners-guide-how-to-register__step-title,
.page-beginners-guide-how-to-register__benefit-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-beginners-guide-how-to-register__step-description,
.page-beginners-guide-how-to-register__benefit-description {
  font-size: 1rem;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__step-list {
  text-align: left;
  margin: 15px 0 20px 20px;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__step-list li {
  margin-bottom: 10px;
}

.page-beginners-guide-how-to-register__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-beginners-guide-how-to-register__tips-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: var(--text-light);
  text-align: center;
}

.page-beginners-guide-how-to-register__tips-list {
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  list-style-type: disc;
  padding-left: 20px;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__tips-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-beginners-guide-how-to-register__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-beginners-guide-how-to-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.page-beginners-guide-how-to-register__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-beginners-guide-how-to-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
}

.page-beginners-guide-how-to-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-light);
}

.page-beginners-guide-how-to-register__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a1a;
  color: var(--text-light);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-beginners-guide-how-to-register__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-beginners-guide-how-to-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-beginners-guide-how-to-register__container {
    padding: 0 15px;
  }

  .page-beginners-guide-how-to-register__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-beginners-guide-how-to-register__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-beginners-guide-how-to-register__section-title {
    font-size: 1.8rem;
  }

  .page-beginners-guide-how-to-register__hero-cta-button,
  .page-beginners-guide-how-to-register__btn-primary,
  .page-beginners-guide-how-to-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-beginners-guide-how-to-register__cta-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .page-beginners-guide-how-to-register__step-card,
  .page-beginners-guide-how-to-register__benefit-card {
    padding: 20px;
  }

  .page-beginners-guide-how-to-register__step-title,
  .page-beginners-guide-how-to-register__benefit-title {
    font-size: 1.3rem;
  }

  /* Mobile image responsiveness */
  .page-beginners-guide-how-to-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-beginners-guide-how-to-register__hero-image-wrapper,
  .page-beginners-guide-how-to-register__steps-grid,
  .page-beginners-guide-how-to-register__benefits-grid,
  .page-beginners-guide-how-to-register__tips-section,
  .page-beginners-guide-how-to-register__faq-section,
  .page-beginners-guide-how-to-register__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-beginners-guide-how-to-register__hero-content {
    margin-top: -40px;
  }
}

@media (max-width: 480px) {
  .page-beginners-guide-how-to-register__hero-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

  .page-beginners-guide-how-to-register__section-title {
    font-size: 1.6rem;
  }

  .page-beginners-guide-how-to-register__hero-content {
    margin-top: -20px;
  }
}