/* style/resources-kubet-registration-tutorial.css */

/* Base styles for the page */
.page-resources-kubet-registration-tutorial {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistent light background */
}

.page-resources-kubet-registration-tutorial__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-kubet-registration-tutorial__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-kubet-registration-tutorial__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits color from parent section */
}

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

.page-resources-kubet-registration-tutorial__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-kubet-registration-tutorial__list li {
  margin-bottom: 10px;
}

/* Buttons */
.page-resources-kubet-registration-tutorial__btn-primary,
.page-resources-kubet-registration-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;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap for long button text */
  word-wrap: break-word; /* Ensure text wraps within button */
}

.page-resources-kubet-registration-tutorial__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-kubet-registration-tutorial__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-resources-kubet-registration-tutorial__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2e;
}

/* Hero Section */
.page-resources-kubet-registration-tutorial__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 600px;
  gap: 40px;
}

.page-resources-kubet-registration-tutorial__hero-content {
  flex: 1;
  max-width: 60%;
}

.page-resources-kubet-registration-tutorial__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-resources-kubet-registration-tutorial__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-kubet-registration-tutorial__hero-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-kubet-registration-tutorial__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Content Area */
.page-resources-kubet-registration-tutorial__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Step-by-step Guide */
.page-resources-kubet-registration-tutorial__step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-resources-kubet-registration-tutorial__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-kubet-registration-tutorial__step-item:nth-child(even) {
  background-color: #f0f0f0;
}

.page-resources-kubet-registration-tutorial__step-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-kubet-registration-tutorial__step-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  text-align: justify;
}

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

.page-resources-kubet-registration-tutorial__step-button {
  margin-top: 20px;
}

.page-resources-kubet-registration-tutorial__important-notes {
  list-style: decimal inside;
  padding-left: 0;
}

.page-resources-kubet-registration-tutorial__important-notes li {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

/* App Section */
.page-resources-kubet-registration-tutorial__app-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  gap: 40px;
}

.page-resources-kubet-registration-tutorial__app-content {
  flex: 1;
  max-width: 60%;
}

.page-resources-kubet-registration-tutorial__app-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-kubet-registration-tutorial__app-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-kubet-registration-tutorial__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* FAQ Section */
.page-resources-kubet-registration-tutorial__faq-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-kubet-registration-tutorial__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-kubet-registration-tutorial__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-resources-kubet-registration-tutorial__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.page-resources-kubet-registration-tutorial__faq-question:hover {
  background-color: #e0e0e0;
}

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

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

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

.page-resources-kubet-registration-tutorial__faq-item.active .page-resources-kubet-registration-tutorial__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-resources-kubet-registration-tutorial__faq-answer p {
  margin-bottom: 0;
}

.page-resources-kubet-registration-tutorial__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* CTA Section */
.page-resources-kubet-registration-tutorial__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-kubet-registration-tutorial__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

/* General image styling for content area */
.page-resources-kubet-registration-tutorial__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-kubet-registration-tutorial__hero-section,
  .page-resources-kubet-registration-tutorial__app-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-resources-kubet-registration-tutorial__hero-content,
  .page-resources-kubet-registration-tutorial__hero-image-wrapper,
  .page-resources-kubet-registration-tutorial__app-content,
  .page-resources-kubet-registration-tutorial__app-image-wrapper {
    max-width: 100%;
  }

  .page-resources-kubet-registration-tutorial__hero-title {
    font-size: 2.8em;
  }

  .page-resources-kubet-registration-tutorial__hero-actions,
  .page-resources-kubet-registration-tutorial__app-actions,
  .page-resources-kubet-registration-tutorial__cta-actions {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .page-resources-kubet-registration-tutorial {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Mobile responsive images */
  .page-resources-kubet-registration-tutorial img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive containers for images/videos/buttons */
  .page-resources-kubet-registration-tutorial__hero-section,
  .page-resources-kubet-registration-tutorial__app-section,
  .page-resources-kubet-registration-tutorial__content-area,
  .page-resources-kubet-registration-tutorial__step-item,
  .page-resources-kubet-registration-tutorial__faq-section,
  .page-resources-kubet-registration-tutorial__cta-section,
  .page-resources-kubet-registration-tutorial__hero-actions,
  .page-resources-kubet-registration-tutorial__app-actions,
  .page-resources-kubet-registration-tutorial__cta-actions,
  .page-resources-kubet-registration-tutorial__btn-container,
  .page-resources-kubet-registration-tutorial__video-section,
  .page-resources-kubet-registration-tutorial__video-container,
  .page-resources-kubet-registration-tutorial__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  /* Specific padding for hero section to account for header offset */
  .page-resources-kubet-registration-tutorial__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-kubet-registration-tutorial__hero-title {
    font-size: 2.2em;
  }

  .page-resources-kubet-registration-tutorial__hero-description {
    font-size: 1.1em;
  }

  .page-resources-kubet-registration-tutorial__btn-primary,
  .page-resources-kubet-registration-tutorial__btn-secondary,
  .page-resources-kubet-registration-tutorial a[class*="button"],
  .page-resources-kubet-registration-tutorial a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-resources-kubet-registration-tutorial__hero-actions,
  .page-resources-kubet-registration-tutorial__app-actions,
  .page-resources-kubet-registration-tutorial__cta-actions {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-resources-kubet-registration-tutorial__section-title {
    font-size: 1.8em;
  }

  .page-resources-kubet-registration-tutorial__step-title {
    font-size: 1.5em;
  }

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

  .page-resources-kubet-registration-tutorial__faq-answer {
    padding: 15px 20px;
  }
}

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

  .page-resources-kubet-registration-tutorial__hero-description {
    font-size: 1em;
  }

  .page-resources-kubet-registration-tutorial__section-title {
    font-size: 1.5em;
  }

  .page-resources-kubet-registration-tutorial__step-title {
    font-size: 1.3em;
  }
}