/* style/blog-pg999-troubleshooting.css */

/* Base styles for the page content */
.page-blog-pg999-troubleshooting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

/* Hero Section */
.page-blog-pg999-troubleshooting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Ensure a dark background for the section */
  overflow: hidden;
}

.page-blog-pg999-troubleshooting__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-pg999-troubleshooting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-pg999-troubleshooting__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Bring content up slightly over the image for visual flow */
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 10, 10, 1) 50%, rgba(10, 10, 10, 0.8) 100%);
  padding-top: 100px;
  margin-bottom: -60px;
}

.page-blog-pg999-troubleshooting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #26A9E0;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-pg999-troubleshooting__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-blog-pg999-troubleshooting__cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-pg999-troubleshooting__btn-primary,
.page-blog-pg999-troubleshooting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-pg999-troubleshooting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-pg999-troubleshooting__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-blog-pg999-troubleshooting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-pg999-troubleshooting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Section Styling */
.page-blog-pg999-troubleshooting__section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-blog-pg999-troubleshooting__section:nth-of-type(odd) {
  background-color: #1a1a1a;
}

.page-blog-pg999-troubleshooting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-blog-pg999-troubleshooting__section-description {
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-blog-pg999-troubleshooting__keyword {
  color: #26A9E0;
  font-weight: bold;
}

/* FAQ List */
.page-blog-pg999-troubleshooting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.page-blog-pg999-troubleshooting__faq-item {
  background-color: #262626;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-blog-pg999-troubleshooting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #ffffff;
  background-color: #26A9E0; /* Ensure good contrast */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-pg999-troubleshooting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-pg999-troubleshooting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-blog-pg999-troubleshooting__faq-qtext {
  flex-grow: 1;
}

.page-blog-pg999-troubleshooting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-blog-pg999-troubleshooting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: #262626;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-blog-pg999-troubleshooting__faq-answer p {
  margin-bottom: 15px;
}

.page-blog-pg999-troubleshooting__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-blog-pg999-troubleshooting__final-cta {
  text-align: center;
  padding: 80px 0;
  background-color: #0a0a0a;
}

/* Image and Video Responsive Styles */
.page-blog-pg999-troubleshooting img {
  max-width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Global minimum for all images */
  object-fit: cover;
}

.page-blog-pg999-troubleshooting video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Global minimum for all videos */
  background-color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-pg999-troubleshooting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-pg999-troubleshooting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-blog-pg999-troubleshooting__hero-content {
    padding-top: 80px;
    margin-top: -60px;
    margin-bottom: -40px;
  }

  .page-blog-pg999-troubleshooting__main-title {
    font-size: 2em;
  }

  .page-blog-pg999-troubleshooting__intro-text {
    font-size: 1em;
  }

  .page-blog-pg999-troubleshooting__section-title {
    font-size: 2em;
  }

  .page-blog-pg999-troubleshooting__section-description {
    font-size: 0.95em;
  }

  .page-blog-pg999-troubleshooting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-pg999-troubleshooting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-blog-pg999-troubleshooting__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-pg999-troubleshooting__btn-primary,
  .page-blog-pg999-troubleshooting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure images and videos are fully responsive */
  .page-blog-pg999-troubleshooting img,
  .page-blog-pg999-troubleshooting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-pg999-troubleshooting__hero-image-wrapper,
  .page-blog-pg999-troubleshooting__video-container,
  .page-blog-pg999-troubleshooting__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}