.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background, #08160F); /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image and content vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--background, #08160F);
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image for better content visibility */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-blog__hero-content {
  position: relative; /* No z-index needed as no overlap */
  max-width: 800px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: 0; /* No negative margin */
  background: var(--background, #08160F); /* Consistent background */
  color: var(--text-main, #F2FFF6);
  border-top: 1px solid var(--divider, #1E3A2A); /* Visual separation */
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: var(--gold, #F2C14E); /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-blog__description-text {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Video Section */
.page-blog__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  background-color: var(--background, #08160F);
  padding-top: 10px; /* Small top padding as per instruction */
}

.page-blog__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden; /* Ensure video doesn't overflow */
}

.page-blog__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-height: 200px; /* Minimum size requirement */
}

.page-blog__video-caption {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary, #A7D9B8);
    max-width: 800px;
    padding: 0 20px;
}

.page-blog__video-caption p {
    margin-bottom: 15px;
}

.page-blog__video-cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__video-cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

/* Content Area */
.page-blog__content-area {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog__dark-section {
    background-color: var(--card-bg, #11271B); /* Using Card BG for dark sections */
    color: var(--text-main, #F2FFF6);
    padding: 60px 0;
    border-top: 1px solid var(--divider, #1E3A2A);
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-blog__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--glow, #57E38D); /* Glow color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-blog__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.4;
  border-left: 5px solid var(--deep-green, #0A4B2C); /* Deep Green border for sub-titles */
  padding-left: 15px;
}

.page-blog__content-area p {
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-blog__faq-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-blog__faq-list {
    margin-top: 30px;
}

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

.page-blog__faq-item summary {
    list-style: none; /* Hide default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--glow, #57E38D);
    background-color: var(--deep-green, #0A4B2C); /* Deep green for summary background */
    border-bottom: 1px solid var(--divider, #1E3A2A);
    transition: background-color 0.3s ease;
}

.page-blog__faq-item summary:hover {
    background-color: var(--border, #2E7A4E);
}

.page-blog__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-blog__faq-qtext {
    flex-grow: 1;
    margin-right: 10px;
}

.page-blog__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold, #F2C14E);
}

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

.page-blog__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--card-bg, #11271B);
}

/* Conclusion Section */
.page-blog__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--card-bg, #11271B); /* Using Card BG for dark sections */
    color: var(--text-main, #F2FFF6);
    border-top: 1px solid var(--divider, #1E3A2A);
}

.page-blog__conclusion-section p {
    margin-bottom: 30px;
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
}

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

  .page-blog__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for mobile */
  }

  .page-blog__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-blog__sub-title {
    font-size: clamp(1.2em, 4.5vw, 1.6em);
  }

  /* Images responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__video-container,
  .page-blog__content-area,
  .page-blog__dark-section,
  .page-blog__faq-section,
  .page-blog__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-blog__cta-button,
  .page-blog__video-cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-blog__hero-content .page-blog__cta-button {
      margin-top: 20px;
  }

  /* FAQ items */
  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-blog__faq-answer {
    padding: 15px 20px;
  }
}

/* Ensure no filter on images */
.page-blog img {
  filter: none !important;
}

/* Ensure text contrast for links in dark background sections */
.page-blog__dark-section a {
    color: var(--gold, #F2C14E); /* Ensure links are visible on dark background */
    text-decoration: underline;
}

.page-blog__dark-section a:hover {
    color: var(--glow, #57E38D);
}