/* style/resources-how-to-use-kl99-app-effectively.css */

:root {
  --kl99-primary-color: #017439;
  --kl99-secondary-color: #FFFFFF;
  --kl99-text-dark: #333333;
  --kl99-text-light: #FFFFFF;
  --kl99-background-light: #FFFFFF;
  --kl99-register-color: #C30808;
  --kl99-login-color: #C30808;
  --kl99-register-login-font-color: #FFFF00;
}

.page-resources-how-to-use-kl99-app-effectively {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--kl99-text-dark); /* Default text color for light body background */
  background-color: var(--kl99-background-light); /* Ensure consistency with body background */
}

.page-resources-how-to-use-kl99-app-effectively__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background: linear-gradient(135deg, var(--kl99-primary-color) 0%, darken(var(--kl99-primary-color), 10%) 100%);
  color: var(--kl99-text-light);
  position: relative;
  overflow: hidden;
}

.page-resources-how-to-use-kl99-app-effectively__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-resources-how-to-use-kl99-app-effectively__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--kl99-text-light);
}

.page-resources-how-to-use-kl99-app-effectively__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--kl99-text-light);
}

.page-resources-how-to-use-kl99-app-effectively__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-how-to-use-kl99-app-effectively__btn-primary,
.page-resources-how-to-use-kl99-app-effectively__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-how-to-use-kl99-app-effectively__btn-primary {
  background-color: var(--kl99-register-color); /* Use custom color for register/login */
  color: var(--kl99-register-login-font-color);
  border: 2px solid var(--kl99-register-color);
}

.page-resources-how-to-use-kl99-app-effectively__btn-primary:hover {
  background-color: darken(var(--kl99-register-color), 10%);
  transform: translateY(-2px);
}

.page-resources-how-to-use-kl99-app-effectively__btn-secondary {
  background-color: var(--kl99-secondary-color);
  color: var(--kl99-primary-color);
  border: 2px solid var(--kl99-primary-color);
}

.page-resources-how-to-use-kl99-app-effectively__btn-secondary:hover {
  background-color: var(--kl99-primary-color);
  color: var(--kl99-secondary-color);
  transform: translateY(-2px);
}

.page-resources-how-to-use-kl99-app-effectively__hero-image-wrapper {
  margin-top: 40px;
  max-width: 100%;
  overflow: hidden;
}

.page-resources-how-to-use-kl99-app-effectively__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-use-kl99-app-effectively__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--kl99-background-light);
  color: var(--kl99-text-dark);
}

.page-resources-how-to-use-kl99-app-effectively__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-use-kl99-app-effectively__section-title {
  font-size: 2.2em;
  color: var(--kl99-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-how-to-use-kl99-app-effectively__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--kl99-primary-color);
  border-radius: 2px;
}

.page-resources-how-to-use-kl99-app-effectively__sub-title {
  font-size: 1.8em;
  color: var(--kl99-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-how-to-use-kl99-app-effectively__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-how-to-use-kl99-app-effectively__highlight {
  color: var(--kl99-primary-color);
  font-weight: bold;
}

.page-resources-how-to-use-kl99-app-effectively__list,
.page-resources-how-to-use-kl99-app-effectively__ordered-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--kl99-text-dark);
}

.page-resources-how-to-use-kl99-app-effectively__ordered-list {
  list-style: decimal;
}

.page-resources-how-to-use-kl99-app-effectively__list-item {
  margin-bottom: 10px;
}

.page-resources-how-to-use-kl99-app-effectively__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-use-kl99-app-effectively__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-resources-how-to-use-kl99-app-effectively__faq-item {
  background-color: var(--kl99-secondary-color);
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-how-to-use-kl99-app-effectively__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--kl99-primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-use-kl99-app-effectively__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-use-kl99-app-effectively__faq-item[open] .page-resources-how-to-use-kl99-app-effectively__faq-question {
  background-color: var(--kl99-primary-color);
  color: var(--kl99-text-light);
}

.page-resources-how-to-use-kl99-app-effectively__faq-item[open] .page-resources-how-to-use-kl99-app-effectively__faq-question .page-resources-how-to-use-kl99-app-effectively__faq-toggle {
  color: var(--kl99-text-light);
}

.page-resources-how-to-use-kl99-app-effectively__faq-qtext {
  flex-grow: 1;
}

.page-resources-how-to-use-kl99-app-effectively__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--kl99-primary-color);
}

.page-resources-how-to-use-kl99-app-effectively__faq-item[open] .page-resources-how-to-use-kl99-app-effectively__faq-toggle {
  content: '−';
}

.page-resources-how-to-use-kl99-app-effectively__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: var(--kl99-text-dark);
  line-height: 1.7;
}

.page-resources-how-to-use-kl99-app-effectively__faq-item summary {
  list-style: none;
}

.page-resources-how-to-use-kl99-app-effectively__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-how-to-use-kl99-app-effectively__cta-buttons--bottom {
  margin-top: 60px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-how-to-use-kl99-app-effectively__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-use-kl99-app-effectively__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-use-kl99-app-effectively__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-use-kl99-app-effectively__btn-primary,
  .page-resources-how-to-use-kl99-app-effectively__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-how-to-use-kl99-app-effectively__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-how-to-use-kl99-app-effectively__content-area {
    padding: 30px 15px;
  }

  .page-resources-how-to-use-kl99-app-effectively__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-how-to-use-kl99-app-effectively__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-resources-how-to-use-kl99-app-effectively__text-block,
  .page-resources-how-to-use-kl99-app-effectively__list-item,
  .page-resources-how-to-use-kl99-app-effectively__faq-answer {
    font-size: 1em;
  }

  .page-resources-how-to-use-kl99-app-effectively__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-how-to-use-kl99-app-effectively img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-how-to-use-kl99-app-effectively__section,
  .page-resources-how-to-use-kl99-app-effectively__card,
  .page-resources-how-to-use-kl99-app-effectively__container,
  .page-resources-how-to-use-kl99-app-effectively__hero-section,
  .page-resources-how-to-use-kl99-app-effectively__content-area,
  .page-resources-how-to-use-kl99-app-effectively__faq-container,
  .page-resources-how-to-use-kl99-app-effectively__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-how-to-use-kl99-app-effectively__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-how-to-use-kl99-app-effectively__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure no filter on images */
.page-resources-how-to-use-kl99-app-effectively img {
  filter: none !important;
}