/* style/blog-code-af88-faq-and-troubleshooting.css */

/* Base styles for the page content, respecting body padding-top from shared.css */
.page-blog-code-af88-faq-and-troubleshooting {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-code-af88-faq-and-troubleshooting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-code-af88-faq-and-troubleshooting__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem); /* H1 controlled by specific rules, H2/H3 use clamp */
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-code-af88-faq-and-troubleshooting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-code-af88-faq-and-troubleshooting__description {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-blog-code-af88-faq-and-troubleshooting__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog-code-af88-faq-and-troubleshooting__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

.page-blog-code-af88-faq-and-troubleshooting__text-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* Buttons */
.page-blog-code-af88-faq-and-troubleshooting__btn-primary,
.page-blog-code-af88-faq-and-troubleshooting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-code-af88-faq-and-troubleshooting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* Always white for contrast on dark buttons */
  border: none;
}

.page-blog-code-af88-faq-and-troubleshooting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-code-af88-faq-and-troubleshooting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog-code-af88-faq-and-troubleshooting__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-blog-code-af88-faq-and-troubleshooting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  min-height: 500px;
}

.page-blog-code-af88-faq-and-troubleshooting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-blog-code-af88-faq-and-troubleshooting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast */
  min-width: 200px;
  min-height: 200px;
}

.page-blog-code-af88-faq-and-troubleshooting__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* Intro Section */
.page-blog-code-af88-faq-and-troubleshooting__intro-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

/* FAQ Section */
.page-blog-code-af88-faq-and-troubleshooting__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-blog-code-af88-faq-and-troubleshooting__faq-list {
  margin-top: 30px;
}

.page-blog-code-af88-faq-and-troubleshooting__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-code-af88-faq-and-troubleshooting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  list-style: none;
}

.page-blog-code-af88-faq-and-troubleshooting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-code-af88-faq-and-troubleshooting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

.page-blog-code-af88-faq-and-troubleshooting__faq-item[open] .page-blog-code-af88-faq-and-troubleshooting__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-code-af88-faq-and-troubleshooting__faq-answer {
  padding: 0 25px 18px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-blog-code-af88-faq-and-troubleshooting__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Troubleshooting Section */
.page-blog-code-af88-faq-and-troubleshooting__troubleshooting-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A; /* Divider */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog-code-af88-faq-and-troubleshooting__troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-code-af88-faq-and-troubleshooting__troubleshooting-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-blog-code-af88-faq-and-troubleshooting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-code-af88-faq-and-troubleshooting__card-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-code-af88-faq-and-troubleshooting__list {
  list-style: none;
  padding-left: 0;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-code-af88-faq-and-troubleshooting__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.page-blog-code-af88-faq-and-troubleshooting__list li::before {
  content: '✓';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 0;
  top: 0;
}

/* Tips Section */
.page-blog-code-af88-faq-and-troubleshooting__tips-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog-code-af88-faq-and-troubleshooting__tips-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-blog-code-af88-faq-and-troubleshooting__tips-list {
  list-style: none;
  padding-left: 0;
  color: #F2FFF6; /* Text Main */
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-code-af88-faq-and-troubleshooting__tips-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-blog-code-af88-faq-and-troubleshooting__tips-list li::before {
  content: '👉';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.page-blog-code-af88-faq-and-troubleshooting__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  margin-top: 30px;
}

/* Contact Section */
.page-blog-code-af88-faq-and-troubleshooting__contact-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog-code-af88-faq-and-troubleshooting__contact-list {
  list-style: disc;
  padding-left: 25px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-code-af88-faq-and-troubleshooting__contact-list li {
  margin-bottom: 8px;
}

.page-blog-code-af88-faq-and-troubleshooting__contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Conclusion Section */
.page-blog-code-af88-faq-and-troubleshooting__conclusion-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-code-af88-faq-and-troubleshooting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-code-af88-faq-and-troubleshooting__container {
    padding: 0 15px !important;
  }

  .page-blog-code-af88-faq-and-troubleshooting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-blog-code-af88-faq-and-troubleshooting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-blog-code-af88-faq-and-troubleshooting__description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .page-blog-code-af88-faq-and-troubleshooting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-code-af88-faq-and-troubleshooting__text-block {
    font-size: 0.95rem;
  }

  .page-blog-code-af88-faq-and-troubleshooting__btn-primary,
  .page-blog-code-af88-faq-and-troubleshooting__btn-secondary,
  .page-blog-code-af88-faq-and-troubleshooting a[class*="button"],
  .page-blog-code-af88-faq-and-troubleshooting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-code-af88-faq-and-troubleshooting__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-code-af88-faq-and-troubleshooting__hero-image,
  .page-blog-code-af88-faq-and-troubleshooting__card-image,
  .page-blog-code-af88-faq-and-troubleshooting__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-code-af88-faq-and-troubleshooting__hero-image-wrapper,
  .page-blog-code-af88-faq-and-troubleshooting__troubleshooting-card,
  .page-blog-code-af88-faq-and-troubleshooting__tips-content,
  .page-blog-code-af88-faq-and-troubleshooting__contact-section .page-blog-code-af88-faq-and-troubleshooting__container,
  .page-blog-code-af88-faq-and-troubleshooting__conclusion-section .page-blog-code-af88-faq-and-troubleshooting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-code-af88-faq-and-troubleshooting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-code-af88-faq-and-troubleshooting__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-blog-code-af88-faq-and-troubleshooting__tips-list li,
  .page-blog-code-af88-faq-and-troubleshooting__list li {
    padding-left: 25px;
  }
}

@media (min-width: 769px) {
  .page-blog-code-af88-faq-and-troubleshooting__contact-buttons {
    flex-direction: row;
  }
  .page-blog-code-af88-faq-and-troubleshooting__hero-content .page-blog-code-af88-faq-and-troubleshooting__btn-primary {
    width: auto; /* Revert to auto width for desktop */
  }
  .page-blog-code-af88-faq-and-troubleshooting__cta-wrapper .page-blog-code-af88-faq-and-troubleshooting__btn-secondary {
    width: auto; /* Revert to auto width for desktop */
  }
  .page-blog-code-af88-faq-and-troubleshooting__contact-buttons .page-blog-code-af88-faq-and-troubleshooting__btn-primary,
  .page-blog-code-af88-faq-and-troubleshooting__contact-buttons .page-blog-code-af88-faq-and-troubleshooting__btn-secondary {
    width: auto; /* Revert to auto width for desktop */
  }
  .page-blog-code-af88-faq-and-troubleshooting__conclusion-section .page-blog-code-af88-faq-and-troubleshooting__btn-primary {
    width: auto; /* Revert to auto width for desktop */
  }
}