/* style/blog.css */

/* Base styles */
.page-blog {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-blog__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-blog__section:nth-of-type(even) {
  background-color: #11271B; /* Card BG */
}

.page-blog__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog__sub-title {
  font-size: 1.8rem;
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-blog__link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already has padding-top for header */
  background-color: #08160F;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Minimum size requirement */
}

.page-blog__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog__description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-blog__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-blog__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
}

.page-blog__cta-button--secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #22C768;
  margin-left: 15px;
}

.page-blog__cta-button--secondary:hover {
  background: #0A4B2C; /* Deep Green */
  border-color: #57E38D;
}

.page-blog__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Image specific styles */
.page-blog__image-full-width {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__image-centered {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Lists */
.page-blog__feature-list,
.page-blog__step-list,
.page-blog__troubleshoot-list,
.page-blog__contact-methods {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog__feature-list li,
.page-blog__step-list li,
.page-blog__troubleshoot-list li,
.page-blog__contact-methods li {
  background-color: #0A4B2C; /* Deep Green */
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  color: #F2FFF6; /* Text Main */
  border-left: 5px solid #22C768;
}

.page-blog__feature-list li strong {
  color: #F2C14E; /* Gold */
}

.page-blog__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #22C768;
  color: #08160F;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 0.9rem;
}

.page-blog__troubleshoot-list li::before,
.page-blog__contact-methods li::before {
  content: '•';
  color: #57E38D;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 10px;
}

/* FAQ Section */
.page-blog__faq-list {
  margin-top: 30px;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2C14E; /* Gold */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details/summary */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-question:hover {
  background-color: #11A84E;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−';
}

.page-blog__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B;
}

/* Divider */
.page-blog__container > hr {
  border: none;
  border-top: 1px solid #1E3A2A; /* Divider */
  margin: 40px 0;
}

/* Conclusion Section */
.page-blog__conclusion p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__section-title {
    font-size: 2rem;
  }

  .page-blog__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__hero-content {
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-blog__description {
    font-size: 1rem;
  }

  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog__sub-title {
    font-size: 1.4rem;
  }

  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-blog__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog__image-full-width,
  .page-blog__image-centered {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog__faq-answer {
    padding: 10px 20px;
  }

  .page-blog__feature-list li,
  .page-blog__step-list li,
  .page-blog__troubleshoot-list li,
  .page-blog__contact-methods li {
    padding: 12px;
    font-size: 0.95rem;
  }
}