/* style/blog-tai-c54-troubleshooting.css */

/* Body background color from shared.css: var(--bg-color) */

.page-blog-tai-c54-troubleshooting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color for the page */
  background-color: var(--bg-color, #08160F);
}

.page-blog-tai-c54-troubleshooting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  background-color: var(--bg-color, #08160F);
}

.page-blog-tai-c54-troubleshooting__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-blog-tai-c54-troubleshooting__hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-tai-c54-troubleshooting__main-title {
  color: var(--text-main-color, #F2FFF6);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-blog-tai-c54-troubleshooting__hero-description {
  color: var(--text-secondary-color, #A7D9B8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

.page-blog-tai-c54-troubleshooting__hero-description a,
.page-blog-tai-c54-troubleshooting__paragraph a {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
}

.page-blog-tai-c54-troubleshooting__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-tai-c54-troubleshooting__btn-primary,
.page-blog-tai-c54-troubleshooting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-tai-c54-troubleshooting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-tai-c54-troubleshooting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-tai-c54-troubleshooting__btn-secondary {
  background: var(--card-bg-color, #11271B);
  color: var(--glow-color, #57E38D);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-blog-tai-c54-troubleshooting__btn-secondary:hover {
  background: var(--border-color, #2E7A4E);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog-tai-c54-troubleshooting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: var(--bg-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-blog-tai-c54-troubleshooting__section-title {
  color: var(--text-main-color, #F2FFF6);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-tai-c54-troubleshooting__sub-title {
  color: var(--glow-color, #57E38D);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-tai-c54-troubleshooting__paragraph {
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
  font-size: 1rem;
}

.page-blog-tai-c54-troubleshooting__issue-card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-tai-c54-troubleshooting__card-title {
  color: var(--gold-color, #F2C14E);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 15px;
}

.page-blog-tai-c54-troubleshooting__card-text {
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 15px;
}

.page-blog-tai-c54-troubleshooting__list {
  list-style: disc inside;
  color: var(--text-secondary-color, #A7D9B8);
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-blog-tai-c54-troubleshooting__list-item {
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-blog-tai-c54-troubleshooting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-tai-c54-troubleshooting__faq-list {
  margin-top: 30px;
}

.page-blog-tai-c54-troubleshooting__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-tai-c54-troubleshooting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main-color, #F2FFF6);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-tai-c54-troubleshooting__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-tai-c54-troubleshooting__faq-question:hover {
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-blog-tai-c54-troubleshooting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

.page-blog-tai-c54-troubleshooting__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 0.95rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-tai-c54-troubleshooting__faq-item[open] .page-blog-tai-c54-troubleshooting__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 0 25px 20px;
}

.page-blog-tai-c54-troubleshooting__faq-item.active .page-blog-tai-c54-troubleshooting__faq-answer {
  max-height: 500px !important; /* For JS fallback */
  padding: 0 25px 20px;
}

.page-blog-tai-c54-troubleshooting__cta-group--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-tai-c54-troubleshooting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-blog-tai-c54-troubleshooting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog-tai-c54-troubleshooting__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-blog-tai-c54-troubleshooting__content-area {
    padding: 40px 20px;
  }
  .page-blog-tai-c54-troubleshooting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-blog-tai-c54-troubleshooting__sub-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-blog-tai-c54-troubleshooting__hero-section {
    padding: 10px 0 30px 0;
  }
  .page-blog-tai-c54-troubleshooting__hero-content {
    padding: 0 15px;
  }
  .page-blog-tai-c54-troubleshooting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-blog-tai-c54-troubleshooting__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }
  .page-blog-tai-c54-troubleshooting__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }
  .page-blog-tai-c54-troubleshooting__btn-primary,
  .page-blog-tai-c54-troubleshooting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-tai-c54-troubleshooting__content-area {
    padding: 30px 15px;
  }
  .page-blog-tai-c54-troubleshooting__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 20px;
  }
  .page-blog-tai-c54-troubleshooting__sub-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog-tai-c54-troubleshooting__paragraph,
  .page-blog-tai-c54-troubleshooting__list-item,
  .page-blog-tai-c54-troubleshooting__card-text {
    font-size: 15px;
  }
  .page-blog-tai-c54-troubleshooting__issue-card {
    padding: 20px;
  }
  .page-blog-tai-c54-troubleshooting__card-title {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }

  /* Mobile responsive images */
  .page-blog-tai-c54-troubleshooting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding/border is included in width */
  }

  /* Ensure content containers also adapt */
  .page-blog-tai-c54-troubleshooting__section,
  .page-blog-tai-c54-troubleshooting__card,
  .page-blog-tai-c54-troubleshooting__container,
  .page-blog-tai-c54-troubleshooting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Adjust padding for specific elements if needed */
  .page-blog-tai-c54-troubleshooting__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-blog-tai-c54-troubleshooting__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-tai-c54-troubleshooting__faq-question {
    padding: 15px 20px;
    font-size: 15px;
  }
  .page-blog-tai-c54-troubleshooting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-tai-c54-troubleshooting__faq-item[open] .page-blog-tai-c54-troubleshooting__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --bg-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Ensure contrast for text on various backgrounds */
.page-blog-tai-c54-troubleshooting__dark-bg {
  color: #ffffff;
  background: var(--primary-color);
}
.page-blog-tai-c54-troubleshooting__light-bg {
  color: #333333;
  background: #ffffff;
}