/* style/resources-b29-registration-tutorial.css */
.page-resources-b29-registration-tutorial {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text on dark body background */
  line-height: 1.6;
  background-color: #0d1117;
}

.page-resources-b29-registration-tutorial__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted for better mobile view, will be responsive */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

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

.page-resources-b29-registration-tutorial__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-b29-registration-tutorial__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-b29-registration-tutorial__hero-title {
  font-size: 3.5em;
  color: #ffc107;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-b29-registration-tutorial__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-b29-registration-tutorial__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-b29-registration-tutorial__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-b29-registration-tutorial__section-intro {
  text-align: center;
  margin-bottom: 60px;
}

.page-resources-b29-registration-tutorial__section-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-b29-registration-tutorial__section-text {
  font-size: 1.1em;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.page-resources-b29-registration-tutorial__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-resources-b29-registration-tutorial__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.page-resources-b29-registration-tutorial__card-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-resources-b29-registration-tutorial__feature-card p {
  color: #f0f0f0;
}

.page-resources-b29-registration-tutorial__preparation-section,
.page-resources-b29-registration-tutorial__steps-section,
.page-resources-b29-registration-tutorial__troubleshooting-section,
.page-resources-b29-registration-tutorial__security-section,
.page-resources-b29-registration-tutorial__benefits-section,
.page-resources-b29-registration-tutorial__faq-section,
.page-resources-b29-registration-tutorial__conclusion-section {
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.page-resources-b29-registration-tutorial__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-resources-b29-registration-tutorial__list li {
  background: rgba(0, 123, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #007bff;
  color: #f0f0f0;
}

.page-resources-b29-registration-tutorial__list-heading {
  font-size: 1.3em;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-resources-b29-registration-tutorial__list li p {
  color: #e0e0e0;
}

.page-resources-b29-registration-tutorial__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-b29-registration-tutorial__video-section {
  position: relative;
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.2);
  text-align: center;
}

.page-resources-b29-registration-tutorial__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-resources-b29-registration-tutorial__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
  font-size: 4em;
  transition: background 0.3s ease;
}

.page-resources-b29-registration-tutorial__video-overlay-link:hover {
  background: rgba(0, 0, 0, 0.5);
}

.page-resources-b29-registration-tutorial__video-play-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 20px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.page-resources-b29-registration-tutorial__video-overlay-link:hover .page-resources-b29-registration-tutorial__video-play-icon {
  transform: scale(1.1);
}

.page-resources-b29-registration-tutorial__video-caption {
  color: #cccccc;
  margin-top: 20px;
  font-style: italic;
}

.page-resources-b29-registration-tutorial__video-cta {
  margin-top: 30px;
}

.page-resources-b29-registration-tutorial__numbered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 30px 0;
}

.page-resources-b29-registration-tutorial__numbered-list li {
  counter-increment: step-counter;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px 25px 25px 60px;
  border-radius: 10px;
  position: relative;
  border-left: 5px solid #ffc107;
  color: #f0f0f0;
}

.page-resources-b29-registration-tutorial__numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 20px;
  background: #007bff;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-b29-registration-tutorial__numbered-list h3 {
  color: #ffc107;
  margin-top: 0;
}

.page-resources-b29-registration-tutorial__numbered-list p {
  color: #e0e0e0;
}

.page-resources-b29-registration-tutorial__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-b29-registration-tutorial__offer-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.page-resources-b29-registration-tutorial__offer-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.page-resources-b29-registration-tutorial__offer-card p {
  color: #f0f0f0;
}

.page-resources-b29-registration-tutorial__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-resources-b29-registration-tutorial__btn-primary,
.page-resources-b29-registration-tutorial__btn-secondary,
.page-resources-b29-registration-tutorial__btn-download {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-b29-registration-tutorial__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-resources-b29-registration-tutorial__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-3px);
}

.page-resources-b29-registration-tutorial__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-resources-b29-registration-tutorial__btn-secondary:hover {
  background-color: #ffc107;
  color: #333333;
  transform: translateY(-3px);
}

.page-resources-b29-registration-tutorial__btn-download {
  background-color: #28a745;
  color: #ffffff;
  border: 2px solid #28a745;
  margin-top: 20px;
}

.page-resources-b29-registration-tutorial__btn-download:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-3px);
}

.page-resources-b29-registration-tutorial__faq-list {
  margin-top: 30px;
}

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

.page-resources-b29-registration-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #007bff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-b29-registration-tutorial__faq-question:hover {
  background-color: #0056b3;
}

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

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

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

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

.page-resources-b29-registration-tutorial__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

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

@media (max-width: 768px) {
  .page-resources-b29-registration-tutorial__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-b29-registration-tutorial__hero-title {
    font-size: 2em;
  }
  .page-resources-b29-registration-tutorial__hero-description {
    font-size: 1em;
  }
  .page-resources-b29-registration-tutorial__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-b29-registration-tutorial__btn-primary,
  .page-resources-b29-registration-tutorial__btn-secondary,
  .page-resources-b29-registration-tutorial__btn-download {
    width: 90%; /* Adjust for padding */
    padding: 12px 20px;
    margin: 0 auto;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-b29-registration-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-b29-registration-tutorial__content-area {
    padding: 30px 15px;
  }
  .page-resources-b29-registration-tutorial__section-title {
    font-size: 1.8em;
  }
  .page-resources-b29-registration-tutorial__feature-grid,
  .page-resources-b29-registration-tutorial__offer-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-b29-registration-tutorial__preparation-section,
  .page-resources-b29-registration-tutorial__steps-section,
  .page-resources-b29-registration-tutorial__troubleshooting-section,
  .page-resources-b29-registration-tutorial__security-section,
  .page-resources-b29-registration-tutorial__benefits-section,
  .page-resources-b29-registration-tutorial__faq-section,
  .page-resources-b29-registration-tutorial__conclusion-section,
  .page-resources-b29-registration-tutorial__video-section {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* All images */
  .page-resources-b29-registration-tutorial img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }
  /* All video elements */
  .page-resources-b29-registration-tutorial video,
  .page-resources-b29-registration-tutorial__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Video container */
  .page-resources-b29-registration-tutorial__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-b29-registration-tutorial__video-overlay-link {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  .page-resources-b29-registration-tutorial__hero-title {
    font-size: 1.8em;
  }
  .page-resources-b29-registration-tutorial__hero-description {
    font-size: 0.9em;
  }
  .page-resources-b29-registration-tutorial__section-title {
    font-size: 1.5em;
  }
  .page-resources-b29-registration-tutorial__card-title {
    font-size: 1.3em;
  }
  .page-resources-b29-registration-tutorial__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-resources-b29-registration-tutorial__faq-item.active .page-resources-b29-registration-tutorial__faq-answer {
    padding: 15px;
  }
}