.page-resources-kubet-3939-guide {
  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-kubet-3939-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7bb7);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}

.page-resources-kubet-3939-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  margin-bottom: 20px;
}

.page-resources-kubet-3939-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-resources-kubet-3939-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
}

.page-resources-kubet-3939-guide__btn-primary,
.page-resources-kubet-3939-guide__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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-kubet-3939-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-kubet-3939-guide__btn-primary:hover {
  background-color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-resources-kubet-3939-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-kubet-3939-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-resources-kubet-3939-guide__content-section {
  padding: 60px 20px;
}

.page-resources-kubet-3939-guide__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-kubet-3939-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-kubet-3939-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-resources-kubet-3939-guide__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-kubet-3939-guide__dark-bg .page-resources-kubet-3939-guide__section-title {
  color: #ffffff;
}

.page-resources-kubet-3939-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-kubet-3939-guide__light-bg .page-resources-kubet-3939-guide__section-title {
  color: #0a0a0a;
}

.page-resources-kubet-3939-guide__image-full-width {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-kubet-3939-guide__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-kubet-3939-guide__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-kubet-3939-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.page-resources-kubet-3939-guide__video,
.page-resources-kubet-3939-guide__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.page-resources-kubet-3939-guide__faq-section {
  padding: 60px 20px;
}

.page-resources-kubet-3939-guide__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-resources-kubet-3939-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 1.1em;
  color: #0a0a0a;
  transition: background-color 0.3s ease;
}

.page-resources-kubet-3939-guide__faq-question:hover {
  background-color: #e5e5e5;
}

.page-resources-kubet-3939-guide__faq-question h3 {
  margin: 0;
  font-size: 1em;
  color: #0a0a0a;
}

.page-resources-kubet-3939-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

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

.page-resources-kubet-3939-guide__faq-item.active .page-resources-kubet-3939-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-kubet-3939-guide__hero-section {
    min-height: 400px;
  }

  .page-resources-kubet-3939-guide__main-title {
    font-size: 2em;
  }

  .page-resources-kubet-3939-guide__subtitle {
    font-size: 1em;
  }

  .page-resources-kubet-3939-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

  .page-resources-kubet-3939-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-kubet-3939-guide__text-block {
    font-size: 1em;
  }

  .page-resources-kubet-3939-guide__container {
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-kubet-3939-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-kubet-3939-guide__section,
  .page-resources-kubet-3939-guide__card,
  .page-resources-kubet-3939-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-kubet-3939-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
  }

  .page-resources-kubet-3939-guide video,
  .page-resources-kubet-3939-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-kubet-3939-guide__video-section,
  .page-resources-kubet-3939-guide__video-container,
  .page-resources-kubet-3939-guide__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-kubet-3939-guide__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-kubet-3939-guide__faq-answer {
    padding: 0 20px;
  }

  .page-resources-kubet-3939-guide__faq-item.active .page-resources-kubet-3939-guide__faq-answer {
    padding: 15px 20px;
  }
}