.page-resources-registration-login-tutorial {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-registration-login-tutorial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-registration-login-tutorial__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top to account for header offset */
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

.page-resources-registration-login-tutorial__hero-section .page-resources-registration-login-tutorial__container {
  position: relative;
  z-index: 2;
}

.page-resources-registration-login-tutorial__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-registration-login-tutorial__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffff00; /* Custom color for registration/login font */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-registration-login-tutorial__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-registration-login-tutorial__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-registration-login-tutorial__btn-primary,
.page-resources-registration-login-tutorial__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, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-registration-login-tutorial__btn-primary {
  background-color: #c30808; /* Custom color for register/login */
  color: #ffff00; /* Custom color for register/login font */
  border: 2px solid #c30808;
}

.page-resources-registration-login-tutorial__btn-primary:hover {
  background-color: #ff3333;
  transform: translateY(-2px);
}

.page-resources-registration-login-tutorial__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-registration-login-tutorial__btn-secondary:hover {
  background-color: #005f2e;
  transform: translateY(-2px);
}

.page-resources-registration-login-tutorial__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Darker color for titles on light background */
}

.page-resources-registration-login-tutorial__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Dark text on light background */
}

.page-resources-registration-login-tutorial__video-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for video section */
  color: #333333; /* Dark text on light background */
}

.page-resources-registration-login-tutorial__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
}

.page-resources-registration-login-tutorial__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-resources-registration-login-tutorial__content-area {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-registration-login-tutorial__sub-title {
  font-size: 1.8em;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #017439;
  text-align: center;
}

.page-resources-registration-login-tutorial__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-registration-login-tutorial__step-by-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-registration-login-tutorial__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

.page-resources-registration-login-tutorial__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-registration-login-tutorial__step-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-registration-login-tutorial__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-registration-login-tutorial__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-resources-registration-login-tutorial__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-resources-registration-login-tutorial__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-registration-login-tutorial__benefit-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-resources-registration-login-tutorial__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-resources-registration-login-tutorial__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-registration-login-tutorial__card-description {
  font-size: 0.95em;
  color: #555555;
}

.page-resources-registration-login-tutorial__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for FAQ section */
  color: #ffffff;
}

.page-resources-registration-login-tutorial__faq-section .page-resources-registration-login-tutorial__section-title {
  color: #ffffff;
}

.page-resources-registration-login-tutorial__faq-list {
  margin-top: 40px;
}

.page-resources-registration-login-tutorial__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-registration-login-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-registration-login-tutorial__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-registration-login-tutorial__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

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

.page-resources-registration-login-tutorial__faq-item.active .page-resources-registration-login-tutorial__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-registration-login-tutorial__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-registration-login-tutorial__faq-item.active .page-resources-registration-login-tutorial__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px;
}

.page-resources-registration-login-tutorial__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-registration-login-tutorial__conclusion-section .page-resources-registration-login-tutorial__section-title {
  color: #017439;
}

.page-resources-registration-login-tutorial__conclusion-section .page-resources-registration-login-tutorial__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-registration-login-tutorial__main-title {
    font-size: 2.8em;
  }

  .page-resources-registration-login-tutorial__section-title {
    font-size: 2em;
  }

  .page-resources-registration-login-tutorial__step-title {
    font-size: 1.4em;
  }

  .page-resources-registration-login-tutorial__card-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-registration-login-tutorial__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }
  
  .page-resources-registration-login-tutorial__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-registration-login-tutorial__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-resources-registration-login-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-registration-login-tutorial__btn-primary,
  .page-resources-registration-login-tutorial__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-registration-login-tutorial__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-registration-login-tutorial__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-resources-registration-login-tutorial__video-section,
  .page-resources-registration-login-tutorial__content-area,
  .page-resources-registration-login-tutorial__faq-section,
  .page-resources-registration-login-tutorial__conclusion-section {
    padding: 40px 0;
  }

  .page-resources-registration-login-tutorial__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-registration-login-tutorial__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-registration-login-tutorial__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-registration-login-tutorial__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-registration-login-tutorial__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-registration-login-tutorial__faq-answer {
    padding: 0 20px;
  }

  .page-resources-registration-login-tutorial__faq-item.active .page-resources-registration-login-tutorial__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Ensure all content containers are responsive */
  .page-resources-registration-login-tutorial__section,
  .page-resources-registration-login-tutorial__card,
  .page-resources-registration-login-tutorial__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content area images must not be smaller than 200px */
  .page-resources-registration-login-tutorial img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-resources-registration-login-tutorial img[width][height] {
    /* Override if HTML specifies smaller dimensions for display, but min-width/height still applies */
    width: auto;
    height: auto;
  }

  .page-resources-registration-login-tutorial__step-item,
  .page-resources-registration-login-tutorial__benefit-card,
  .page-resources-registration-login-tutorial__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-registration-login-tutorial__main-title {
    font-size: 1.8em;
  }

  .page-resources-registration-login-tutorial__section-title {
    font-size: 1.6em;
  }

  .page-resources-registration-login-tutorial__btn-primary,
  .page-resources-registration-login-tutorial__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}

/* Color Contrast Fixes */
.page-resources-registration-login-tutorial__dark-bg {
  color: #ffffff; /* Deep background with light text */
}

.page-resources-registration-login-tutorial__light-bg {
  color: #333333; /* Light background with dark text */
}