.page-blog {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-blog__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for title */
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* CTA Button */
.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Important for responsive buttons */
}

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

.page-blog__cta-button--secondary {
  background: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-blog__cta-button--secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

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

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold for section titles */
}

.page-blog__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #2AD16F; /* Green for sub-titles */
}

.page-blog__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

/* Latest Articles Section */
.page-blog__latest-articles-section {
  padding: 60px 0;
  background-color: #08160F; /* Consistent background */
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog__article-card {
  background-color: #11271B; /* Card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Custom border color */
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 20px;
}

.page-blog__article-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6; /* Main text color for title */
}

.page-blog__article-date {
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
  display: block;
}

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-blog__read-more {
  color: #2AD16F; /* Highlight color for read more */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #57E38D; /* Glow color on hover */
}

.page-blog__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Featured Content Section */
.page-blog__featured-content-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green background for this section */
}

.page-blog__container--flex {
  display: flex;
  gap: 40px;
  align-items: flex-start; /* Align items to the top */
}

.page-blog__content-text {
  flex: 2;
}

.page-blog__content-image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image wrapper has a minimum width */
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Consistent background */
}

.page-blog__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  transition: background-color 0.3s ease;
}

.page-blog__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter green on hover */
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Green for toggle icon */
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-blog__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
}

.page-blog__faq-answer p {
  margin-bottom: 10px;
}

/* Details element specific styling */
.page-blog__faq-item > summary {
  list-style: none; /* Hide default marker */
}

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

/* Newsletter Section */
.page-blog__newsletter-section {
  padding: 60px 0;
  text-align: center;
  background-color: #08160F; /* Consistent background */
}

.page-blog__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-blog__newsletter-input {
  padding: 15px 20px;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  max-width: 400px;
  background-color: #11271B; /* Input background */
  color: #F2FFF6; /* Input text color */
  box-sizing: border-box;
}

.page-blog__newsletter-input::placeholder {
  color: #A7D9B8; /* Placeholder color */
}

/* Copyright Section */
.page-blog__copyright-section {
  padding: 30px 0;
  text-align: center;
  background-color: #08160F; /* Consistent background */
  border-top: 1px solid #1E3A2A; /* Divider color */
}

.page-blog__copyright-text {
  font-size: 0.9em;
  color: #A7D9B8; /* Secondary text color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-blog__section-title {
    font-size: 2em;
  }

  .page-blog__container--flex {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__content-text,
  .page-blog__content-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 700px;
  }

  .page-blog__content-image-wrapper {
    order: -1; /* Image on top for mobile/tablet */
    margin-bottom: 30px;
  }
}

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

  .page-blog__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-blog__hero-description {
    font-size: 1em;
  }

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

  .page-blog__container,
  .page-blog__latest-articles-section,
  .page-blog__featured-content-section,
  .page-blog__faq-section,
  .page-blog__newsletter-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__article-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-blog__newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog__newsletter-input {
    max-width: 100%;
  }

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

  /* Video responsive - if any, though none currently */
  .page-blog video,
  .page-blog__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__video-section,
  .page-blog__video-container,
  .page-blog__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Button responsive */
  .page-blog__cta-button,
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    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;
  }
  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}