/* style/blog-p888-troubleshooting-tips.css */

:root {
  --p888-primary-color: #26A9E0;
  --p888-secondary-color: #FFFFFF;
  --p888-login-color: #EA7C07;
  --p888-background-color: #FFFFFF;
  --p888-dark-bg-color: #121212; /* Body background from shared.css */
  --p888-light-text-color: #ffffff;
  --p888-dark-text-color: #333333;
}

.page-blog-p888-troubleshooting-tips {
  color: var(--p888-light-text-color); /* Default text color for dark body background */
  background-color: var(--p888-dark-bg-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-p888-troubleshooting-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-p888-troubleshooting-tips__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-p888-troubleshooting-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-p888-troubleshooting-tips__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-blog-p888-troubleshooting-tips__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--p888-secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-p888-troubleshooting-tips__description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-blog-p888-troubleshooting-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog-p888-troubleshooting-tips__btn-primary,
.page-blog-p888-troubleshooting-tips__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-p888-troubleshooting-tips__btn-primary {
  background-color: var(--p888-primary-color);
  color: var(--p888-secondary-color);
  border: 2px solid var(--p888-primary-color);
}

.page-blog-p888-troubleshooting-tips__btn-primary:hover {
  background-color: darken(var(--p888-primary-color), 10%);
  border-color: darken(var(--p888-primary-color), 10%);
}

.page-blog-p888-troubleshooting-tips__btn-secondary {
  background-color: transparent;
  color: var(--p888-secondary-color);
  border: 2px solid var(--p888-secondary-color);
}

.page-blog-p888-troubleshooting-tips__btn-secondary:hover {
  background-color: var(--p888-secondary-color);
  color: var(--p888-primary-color);
}

.page-blog-p888-troubleshooting-tips__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-blog-p888-troubleshooting-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog-p888-troubleshooting-tips__dark-bg {
  background-color: var(--p888-dark-bg-color);
  color: var(--p888-light-text-color);
}

.page-blog-p888-troubleshooting-tips__light-bg {
  background-color: var(--p888-background-color);
  color: var(--p888-dark-text-color);
}

.page-blog-p888-troubleshooting-tips__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  color: inherit; /* Inherit color from section background */
}

.page-blog-p888-troubleshooting-tips__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  color: inherit;
}

.page-blog-p888-troubleshooting-tips__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-blog-p888-troubleshooting-tips__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-p888-troubleshooting-tips__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-blog-p888-troubleshooting-tips__image--small {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-p888-troubleshooting-tips__image--large {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-p888-troubleshooting-tips__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-p888-troubleshooting-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-blog-p888-troubleshooting-tips__faq-list {
  margin-top: 40px;
}

.page-blog-p888-troubleshooting-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-p888-troubleshooting-tips__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-blog-p888-troubleshooting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--p888-secondary-color);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-p888-troubleshooting-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-p888-troubleshooting-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-blog-p888-troubleshooting-tips__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--p888-primary-color);
}

.page-blog-p888-troubleshooting-tips__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-blog-p888-troubleshooting-tips__contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

/* Override specific button color for login */
.page-blog-p888-troubleshooting-tips__btn-primary[href*="redirect"] {
  background-color: var(--p888-login-color);
  border-color: var(--p888-login-color);
}

.page-blog-p888-troubleshooting-tips__btn-primary[href*="redirect"]:hover {
  background-color: darken(var(--p888-login-color), 10%);
  border-color: darken(var(--p888-login-color), 10%);
}

.page-blog-p888-troubleshooting-tips__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    max-width: fit-content;
    margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-p888-troubleshooting-tips__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-blog-p888-troubleshooting-tips__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-blog-p888-troubleshooting-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-p888-troubleshooting-tips__hero-section {
    padding: 10px 15px 40px;
  }
  .page-blog-p888-troubleshooting-tips__hero-content {
    padding: 0 15px;
  }
  .page-blog-p888-troubleshooting-tips__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog-p888-troubleshooting-tips__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-blog-p888-troubleshooting-tips__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-p888-troubleshooting-tips__btn-primary,
  .page-blog-p888-troubleshooting-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog-p888-troubleshooting-tips__section {
    padding: 40px 15px;
  }
  .page-blog-p888-troubleshooting-tips__content-area {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-p888-troubleshooting-tips__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }
  .page-blog-p888-troubleshooting-tips__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog-p888-troubleshooting-tips__paragraph,
  .page-blog-p888-troubleshooting-tips__list-item {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  .page-blog-p888-troubleshooting-tips__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px 0;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-blog-p888-troubleshooting-tips__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-blog-p888-troubleshooting-tips__faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }
  .page-blog-p888-troubleshooting-tips__contact-cta {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-p888-troubleshooting-tips__contact-cta .page-blog-p888-troubleshooting-tips__btn-primary,
  .page-blog-p888-troubleshooting-tips__contact-cta .page-blog-p888-troubleshooting-tips__btn-secondary {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-blog-p888-troubleshooting-tips__hero-section {
    padding-bottom: 30px;
  }
  .page-blog-p888-troubleshooting-tips__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-blog-p888-troubleshooting-tips__description {
    font-size: 0.9rem;
  }
  .page-blog-p888-troubleshooting-tips__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .page-blog-p888-troubleshooting-tips__sub-title {
    font-size: clamp(1.1rem, 6vw, 1.4rem);
  }
  .page-blog-p888-troubleshooting-tips__paragraph,
  .page-blog-p888-troubleshooting-tips__list-item {
    font-size: 0.9rem;
  }
}