/* style/blog-win89-beginner-guide.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --body-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-dark: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-blog-win89-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for light body background */
  background-color: var(--body-bg);
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog-win89-beginner-guide__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-win89-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-blog-win89-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim image for text contrast, not color change */
}

.page-blog-win89-beginner-guide__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px 60px;
  max-width: 800px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-blog-win89-beginner-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog-win89-beginner-guide__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles */
.page-blog-win89-beginner-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-blog-win89-beginner-guide__dark-bg .page-blog-win89-beginner-guide__section-title {
  color: #ffffff;
}

/* Step Items */
.page-blog-win89-beginner-guide__content-section {
  padding: 40px 0;
  background-color: var(--body-bg);
}

.page-blog-win89-beginner-guide__step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 30px;
}

.page-blog-win89-beginner-guide__step-item--reverse {
  flex-direction: row-reverse;
}

.page-blog-win89-beginner-guide__step-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-blog-win89-beginner-guide__step-text {
  flex: 1;
  max-width: 50%;
}

.page-blog-win89-beginner-guide__step-text p {
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-win89-beginner-guide__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-blog-win89-beginner-guide__step-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-main);
}

.page-blog-win89-beginner-guide__step-list li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Feature Image for Tips */
.page-blog-win89-beginner-guide__section-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 60px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 30px;
}

.page-blog-win89-beginner-guide__feature-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-blog-win89-beginner-guide__tip-list {
  flex: 1;
  max-width: 50%;
  list-style: none;
  padding: 0;
}

.page-blog-win89-beginner-guide__tip-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-main);
}

.page-blog-win89-beginner-guide__tip-list li::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* FAQ Section */
.page-blog-win89-beginner-guide__faq-list {
  margin-top: 20px;
  margin-bottom: 40px;
}

details.page-blog-win89-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

details.page-blog-win89-beginner-guide__faq-item summary.page-blog-win89-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog-win89-beginner-guide__faq-item summary.page-blog-win89-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-win89-beginner-guide__faq-item summary.page-blog-win89-beginner-guide__faq-question:hover {
  background: #f5f5f5;
}

.page-blog-win89-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-dark);
}

.page-blog-win89-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-win89-beginner-guide__faq-item .page-blog-win89-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* CTA Buttons */
.page-blog-win89-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-blog-win89-beginner-guide__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-blog-win89-beginner-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-blog-win89-beginner-guide__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.page-blog-win89-beginner-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

/* Final CTA Section */
.page-blog-win89-beginner-guide__final-cta {
  padding: 60px 20px;
  background-color: var(--primary-color);
  text-align: center;
  color: #ffffff;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-blog-win89-beginner-guide__final-cta .page-blog-win89-beginner-guide__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-blog-win89-beginner-guide__final-cta .page-blog-win89-beginner-guide__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Image Responsiveness */
.page-blog-win89-beginner-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-blog-win89-beginner-guide__container {
    padding: 0 15px !important;
  }

  /* Hero Section */
  .page-blog-win89-beginner-guide__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    margin-bottom: 30px;
  }

  .page-blog-win89-beginner-guide__hero-content {
    padding: 20px 15px 40px;
  }

  .page-blog-win89-beginner-guide__main-title {
    font-size: 2.2rem;
  }

  .page-blog-win89-beginner-guide__intro-text {
    font-size: 1rem;
  }

  /* Section Titles */
  .page-blog-win89-beginner-guide__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  /* Step Items */
  .page-blog-win89-beginner-guide__step-item,
  .page-blog-win89-beginner-guide__step-item--reverse {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
  }

  .page-blog-win89-beginner-guide__step-image,
  .page-blog-win89-beginner-guide__step-text,
  .page-blog-win89-beginner-guide__feature-image,
  .page-blog-win89-beginner-guide__tip-list {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-blog-win89-beginner-guide__step-text p,
  .page-blog-win89-beginner-guide__step-list li,
  .page-blog-win89-beginner-guide__tip-list li {
    font-size: 0.95rem;
  }

  /* Feature Image for Tips */
  .page-blog-win89-beginner-guide__section-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
  }

  /* FAQ Section */
  details.page-blog-win89-beginner-guide__faq-item summary.page-blog-win89-beginner-guide__faq-question {
    padding: 15px;
  }

  .page-blog-win89-beginner-guide__faq-qtext {
    font-size: 15px;
  }

  .page-blog-win89-beginner-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-blog-win89-beginner-guide__faq-item .page-blog-win89-beginner-guide__faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Buttons */
  .page-blog-win89-beginner-guide__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Final CTA Section */
  .page-blog-win89-beginner-guide__final-cta {
    padding: 40px 15px;
    margin-bottom: 30px;
  }

  .page-blog-win89-beginner-guide__final-cta .page-blog-win89-beginner-guide__section-title {
    font-size: 2rem;
  }

  .page-blog-win89-beginner-guide__final-cta .page-blog-win89-beginner-guide__intro-text {
    font-size: 1rem;
  }

  /* All images must be responsive */
  .page-blog-win89-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containing elements for images/buttons must be responsive */
  .page-blog-win89-beginner-guide__hero-section,
  .page-blog-win89-beginner-guide__content-section,
  .page-blog-win89-beginner-guide__step-item,
  .page-blog-win89-beginner-guide__section-content,
  .page-blog-win89-beginner-guide__faq-list,
  .page-blog-win89-beginner-guide__final-cta,
  .page-blog-win89-beginner-guide__cta-button,
  .page-blog-win89-beginner-guide__btn-primary,
  .page-blog-win89-beginner-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-win89-beginner-guide__cta-button,
  .page-blog-win89-beginner-guide__btn-primary,
  .page-blog-win89-beginner-guide__btn-secondary {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}