/* style/beginner-guide-common-faqs.css */

/* Base styles for the page */
.page-beginner-guide-common-faqs {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-beginner-guide-common-faqs__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-beginner-guide-common-faqs__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-beginner-guide-common-faqs__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.3;
  animation: page-beginner-guide-common-faqs__pulse 15s infinite alternate;
}

@keyframes page-beginner-guide-common-faqs__pulse {
  0% { transform: scale(1); opacity: 0.2; }
  100% { transform: scale(1.2); opacity: 0.4; }
}

.page-beginner-guide-common-faqs__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.page-beginner-guide-common-faqs__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.page-beginner-guide-common-faqs__search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-beginner-guide-common-faqs__search-input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide-common-faqs__search-button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-common-faqs__search-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

/* FAQ Section Layout */
.page-beginner-guide-common-faqs__faq-section {
  padding: 60px 0;
}

.page-beginner-guide-common-faqs__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-beginner-guide-common-faqs__faq-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidebar */
.page-beginner-guide-common-faqs__sidebar {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 100px; /* Adjust based on header height */
}

.page-beginner-guide-common-faqs__sidebar-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 25px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 15px;
}

.page-beginner-guide-common-faqs__category-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-beginner-guide-common-faqs__category-list li {
  margin-bottom: 10px;
}

.page-beginner-guide-common-faqs__category-link {
  display: block;
  padding: 12px 15px;
  color: #555;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-beginner-guide-common-faqs__category-link:hover,
.page-beginner-guide-common-faqs__category-link.active {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
}

.page-beginner-guide-common-faqs__cta-sidebar {
  background-color: #e9f7ef; /* Lighter shade of auxiliary color */
  border: 1px solid #d4edda;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.page-beginner-guide-common-faqs__cta-sidebar-title {
  font-size: 1.4em;
  color: #28a745;
  margin-bottom: 15px;
}

.page-beginner-guide-common-faqs__cta-sidebar p {
  color: #333;
  margin-bottom: 20px;
  font-size: 0.95em;
}

/* FAQ Content Area */
.page-beginner-guide-common-faqs__faq-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-common-faqs__category-article {
  margin-bottom: 50px;
}

.page-beginner-guide-common-faqs__category-heading {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

.page-beginner-guide-common-faqs__category-article p {
  margin-bottom: 20px;
  color: #444;
}

.page-beginner-guide-common-faqs__faq-item {
  margin-bottom: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.page-beginner-guide-common-faqs__faq-question {
  background-color: #f0f8ff; /* Lighter shade of primary color */
  color: #007bff;
  padding: 18px 25px;
  margin: 0;
  font-size: 1.3em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-beginner-guide-common-faqs__faq-question:hover {
  background-color: #e0f0ff;
}

.page-beginner-guide-common-faqs__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-beginner-guide-common-faqs__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-beginner-guide-common-faqs__faq-answer {
  padding: 20px 25px;
  background-color: #fff;
  border-top: 1px solid #eee;
  display: none;
  font-size: 1.05em;
  color: #555;
}

.page-beginner-guide-common-faqs__faq-answer.active {
  display: block;
}

.page-beginner-guide-common-faqs__faq-answer ul,
.page-beginner-guide-common-faqs__faq-answer ol {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-beginner-guide-common-faqs__faq-answer li {
  margin-bottom: 8px;
}

.page-beginner-guide-common-faqs__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Call to Action Buttons */
.page-beginner-guide-common-faqs__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-beginner-guide-common-faqs__btn--primary {
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.page-beginner-guide-common-faqs__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.page-beginner-guide-common-faqs__btn--secondary {
  background-color: #28a745;
  color: #fff;
  border: 1px solid #28a745;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.page-beginner-guide-common-faqs__btn--secondary:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.page-beginner-guide-common-faqs__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-beginner-guide-common-faqs__text-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-beginner-guide-common-faqs__text-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Footer CTA */
.page-beginner-guide-common-faqs__cta-footer {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-common-faqs__cta-footer-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-beginner-guide-common-faqs__cta-footer p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-beginner-guide-common-faqs__hero-title {
    font-size: 2.5em;
  }

  .page-beginner-guide-common-faqs__hero-subtitle {
    font-size: 1.1em;
  }

  .page-beginner-guide-common-faqs__search-box {
    flex-direction: column;
    gap: 15px;
  }

  .page-beginner-guide-common-faqs__search-button {
    width: 100%;
  }

  .page-beginner-guide-common-faqs__sidebar {
    position: static;
    margin-bottom: 40px;
  }

  .page-beginner-guide-common-faqs__category-heading {
    font-size: 1.8em;
  }

  .page-beginner-guide-common-faqs__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-beginner-guide-common-faqs__faq-answer {
    padding: 15px 20px;
  }

  .page-beginner-guide-common-faqs__cta-footer-title {
    font-size: 2em;
  }

  .page-beginner-guide-common-faqs__cta-footer p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide-common-faqs__hero-title {
    font-size: 2em;
  }

  .page-beginner-guide-common-faqs__hero-subtitle {
    font-size: 1em;
  }

  .page-beginner-guide-common-faqs__search-input,
  .page-beginner-guide-common-faqs__search-button {
    font-size: 1em;
    padding: 10px 15px;
  }

  .page-beginner-guide-common-faqs__sidebar-title {
    font-size: 1.5em;
  }

  .page-beginner-guide-common-faqs__category-link {
    font-size: 1em;
    padding: 10px 12px;
  }

  .page-beginner-guide-common-faqs__category-heading {
    font-size: 1.6em;
  }

  .page-beginner-guide-common-faqs__faq-question {
    font-size: 1em;
  }

  .page-beginner-guide-common-faqs__btn {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .page-beginner-guide-common-faqs__btn--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }

  .page-beginner-guide-common-faqs__cta-footer-title {
    font-size: 1.8em;
  }

  .page-beginner-guide-common-faqs__cta-footer p {
    font-size: 0.9em;
  }
}