/* style/resources-bj38-login-tutorial.css */
.page-resources-bj38-login-tutorial {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--background-color, #222);
}

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

.page-resources-bj38-login-tutorial__dark-bg {
  color: #ffffff;
}

.page-resources-bj38-login-tutorial__light-bg {
  background: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-resources-bj38-login-tutorial__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for header offset */
  text-align: center;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
  z-index: 1;
}

.page-resources-bj38-login-tutorial__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.page-resources-bj38-login-tutorial__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.page-resources-bj38-login-tutorial__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

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

.page-resources-bj38-login-tutorial__btn-primary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-bj38-login-tutorial__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

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

.page-resources-bj38-login-tutorial__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Override custom colors for login/register buttons for contrast */
.page-resources-bj38-login-tutorial__btn-login,
.page-resources-bj38-login-tutorial__btn-register {
  background-color: #C30808; /* Custom red for login/register */
  color: #ffffff; /* Forced white text for contrast on red */
  border-color: #C30808;
}

.page-resources-bj38-login-tutorial__btn-login:hover,
.page-resources-bj38-login-tutorial__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-bj38-login-tutorial__hero-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Content Area */
.page-resources-bj38-login-tutorial__content-area {
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-resources-bj38-login-tutorial__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-bj38-login-tutorial__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-bj38-login-tutorial__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-bj38-login-tutorial__benefits-list li {
  background-color: #e6f7ed;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  color: #333333;
  font-size: 1.1em;
}

.page-resources-bj38-login-tutorial__list-icon {
  color: #017439;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Steps Grid */
.page-resources-bj38-login-tutorial__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-resources-bj38-login-tutorial__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-bj38-login-tutorial__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Issues List */
.page-resources-bj38-login-tutorial__issues-list {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-resources-bj38-login-tutorial__issue-item {
  background-color: #fefae0;
  border-left: 5px solid #ffc107;
  padding: 20px;
  border-radius: 5px;
  color: #333333;
}

.page-resources-bj38-login-tutorial__issue-title {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Security List */
.page-resources-bj38-login-tutorial__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-bj38-login-tutorial__security-list li {
  background-color: #e6f7ed;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  color: #333333;
  font-size: 1.1em;
}

.page-resources-bj38-login-tutorial__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Features Grid */
.page-resources-bj38-login-tutorial__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj38-login-tutorial__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-resources-bj38-login-tutorial__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-bj38-login-tutorial__feature-link {
  display: inline-block;
  margin-top: 15px;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 2px;
}

.page-resources-bj38-login-tutorial__feature-link:hover {
  color: #005f2e;
  border-color: #005f2e;
}

/* Video Section */
.page-resources-bj38-login-tutorial__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-resources-bj38-login-tutorial__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.page-resources-bj38-login-tutorial__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #555555;
}

/* FAQ Section */
.page-resources-bj38-login-tutorial__faq-list {
  margin-top: 40px;
}

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

.page-resources-bj38-login-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed;
  list-style: none; /* For details/summary */
}

.page-resources-bj38-login-tutorial__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-bj38-login-tutorial__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-resources-bj38-login-tutorial__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  font-size: 1.05em;
  color: #555555;
}

.page-resources-bj38-login-tutorial__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Bottom */
.page-resources-bj38-login-tutorial__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #017439;
  border-radius: 10px;
  color: #ffffff;
}

.page-resources-bj38-login-tutorial__cta-bottom .page-resources-bj38-login-tutorial__text-block {
  color: #ffffff;
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-bj38-login-tutorial__cta-bottom .page-resources-bj38-login-tutorial__btn-primary {
  background-color: #C30808; /* Login/Register red */
  border-color: #C30808;
  color: #ffffff; /* Forced white text */
}

.page-resources-bj38-login-tutorial__cta-bottom .page-resources-bj38-login-tutorial__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Global image reset for content area */
.page-resources-bj38-login-tutorial img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-bj38-login-tutorial__hero-title {
    font-size: 2.8em;
  }
  .page-resources-bj38-login-tutorial__section-title {
    font-size: 2em;
  }
  .page-resources-bj38-login-tutorial__hero-image {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .page-resources-bj38-login-tutorial__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }
  .page-resources-bj38-login-tutorial__hero-title {
    font-size: 2.2em;
  }
  .page-resources-bj38-login-tutorial__hero-description {
    font-size: 1em;
  }
  .page-resources-bj38-login-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-bj38-login-tutorial__btn-primary,
  .page-resources-bj38-login-tutorial__btn-secondary,
  .page-resources-bj38-login-tutorial a[class*="button"],
  .page-resources-bj38-login-tutorial a[class*="btn"] {
    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;
  }
  .page-resources-bj38-login-tutorial__cta-buttons,
  .page-resources-bj38-login-tutorial__button-group,
  .page-resources-bj38-login-tutorial__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-bj38-login-tutorial__content-area {
    padding: 30px 15px;
  }
  .page-resources-bj38-login-tutorial__section-title {
    font-size: 1.8em;
  }
  .page-resources-bj38-login-tutorial__text-block {
    font-size: 0.95em;
  }
  .page-resources-bj38-login-tutorial__step-card,
  .page-resources-bj38-login-tutorial__issue-item,
  .page-resources-bj38-login-tutorial__feature-card {
    padding: 20px;
  }
  .page-resources-bj38-login-tutorial__video-wrapper {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-resources-bj38-login-tutorial__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-bj38-login-tutorial img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-bj38-login-tutorial__section,
  .page-resources-bj38-login-tutorial__card,
  .page-resources-bj38-login-tutorial__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-bj38-login-tutorial__hero-title {
    font-size: 1.8em;
  }
  .page-resources-bj38-login-tutorial__btn-primary,
  .page-resources-bj38-login-tutorial__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-bj38-login-tutorial__section-title {
    font-size: 1.5em;
  }
  .page-resources-bj38-login-tutorial__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-bj38-login-tutorial__faq-answer {
    font-size: 0.95em;
    padding: 10px 20px 15px;
  }
}