.page-resources-guide-to-k9cc {
  color: #333333; /* Dark text for default light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-guide-to-k9cc__container {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-guide-to-k9cc__hero-section {
  background: linear-gradient(135deg, #FFD700, #1E90FF);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

.page-resources-guide-to-k9cc__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-guide-to-k9cc__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-guide-to-k9cc__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-guide-to-k9cc__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1em;
}

.page-resources-guide-to-k9cc__button--primary {
  background-color: #FFD700;
  color: #1E90FF;
  border: 2px solid #FFD700;
}

.page-resources-guide-to-k9cc__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-guide-to-k9cc__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-guide-to-k9cc__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-resources-guide-to-k9cc__content-wrapper {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-resources-guide-to-k9cc__article-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-guide-to-k9cc__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #1E90FF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-guide-to-k9cc__back-link:hover {
  color: #0066cc;
}

.page-resources-guide-to-k9cc__section-title {
  font-size: 2em;
  color: #1E90FF;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-guide-to-k9cc__sub-section-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-guide-to-k9cc__article-content p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-resources-guide-to-k9cc__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-guide-to-k9cc__list,
.page-resources-guide-to-k9cc__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-resources-guide-to-k9cc__numbered-list {
  list-style-type: decimal;
}

.page-resources-guide-to-k9cc__list-item {
  margin-bottom: 0.5em;
}

.page-resources-guide-to-k9cc__list-item strong {
  color: #1E90FF;
}

.page-resources-guide-to-k9cc__cta-box {
  background-color: #f0f8ff;
  border-left: 5px solid #1E90FF;
  padding: 25px;
  margin: 40px 0;
  border-radius: 5px;
  text-align: center;
}

.page-resources-guide-to-k9cc__cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #1E90FF;
  font-weight: bold;
}

.page-resources-guide-to-k9cc__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 50px 0;
  padding: 30px;
  background-color: #e6f7ff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-guide-to-k9cc__app-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-guide-to-k9cc__app-info {
  text-align: center;
}

.page-resources-guide-to-k9cc__app-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-guide-to-k9cc__final-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-guide-to-k9cc__main-title {
    font-size: 2em;
  }

  .page-resources-guide-to-k9cc__intro-text {
    font-size: 1em;
  }

  .page-resources-guide-to-k9cc__hero-actions {
    flex-direction: column;
  }

  .page-resources-guide-to-k9cc__button {
    width: 80%;
    max-width: 300px;
  }

  .page-resources-guide-to-k9cc__article-content {
    padding: 20px;
  }

  .page-resources-guide-to-k9cc__section-title {
    font-size: 1.6em;
  }

  .page-resources-guide-to-k9cc__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-guide-to-k9cc__app-download-section {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-resources-guide-to-k9cc__main-title {
    font-size: 1.8em;
  }

  .page-resources-guide-to-k9cc__hero-section {
    padding: 60px 0;
  }

  .page-resources-guide-to-k9cc__button {
    width: 90%;
  }
}