.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main, light color for dark background */
  background-color: #08160F; /* Background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-blog a {
  color: #2AD16F; /* A green from button gradient, or similar to main color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog a:hover {
  color: #57E38D; /* Glow color for hover */
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure dark background */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  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%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-blog__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-blog__intro-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-blog__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-blog__intro-text p {
  margin-bottom: 15px;
  color: #F2FFF6;
  font-size: 1rem;
}

.page-blog__intro-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__intro-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Topics Section */
.page-blog__topics-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G */
}

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

.page-blog__topic-card {
  background-color: #0A4B2C; /* Deep Green, slightly lighter than background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__topic-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__topic-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.page-blog__topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog__topic-list li {
  margin-bottom: 8px;
  color: #F2FFF6;
  font-size: 0.9rem;
}

.page-blog__topic-list li a {
  color: #F2FFF6;
}

.page-blog__topic-list li a:hover {
  color: #57E38D;
}

/* Articles Section */
.page-blog__articles-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-blog__article-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__article-card a {
  display: block; /* Make the whole card clickable for image and title */
  color: inherit;
}

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

.page-blog__article-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin: 20px 20px 10px;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog__article-title:hover {
  color: #57E38D;
}

.page-blog__article-meta {
  font-size: 0.85rem;
  color: #A7D9B8; /* Text Secondary */
  margin: 0 20px 15px;
}

.page-blog__article-excerpt {
  font-size: 0.95rem;
  color: #F2FFF6;
  margin: 0 20px 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

.page-blog__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  align-self: flex-start;
  max-width: calc(100% - 40px); /* Adjust for padding */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__view-all-button:hover {
  background: #2AD16F;
  color: #08160F;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G */
}

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

.page-blog__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B; /* Card B G */
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-blog__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-blog__faq-item[open] .page-blog__faq-question {
  background-color: #1E3A2A; /* Divider */
}

.page-blog__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Gold */
}

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

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

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

.page-blog__faq-answer a {
  color: #2AD16F;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__intro-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__intro-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 0 15px;
  }

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

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

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

  .page-blog__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding-top: 30px;
  }

  .page-blog__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-blog__intro-section,
  .page-blog__topics-section,
  .page-blog__articles-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }

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

  .page-blog__article-card {
    margin-bottom: 20px;
  }

  .page-blog__article-title {
    font-size: 1.2rem;
  }

  .page-blog__article-image {
    height: 180px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__cta-button,
  .page-blog__read-more-button,
  .page-blog__view-all-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;
  }

  .page-blog__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__intro-image,
  .page-blog__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__intro-image-wrapper,
  .page-blog__articles-section,
  .page-blog__topics-section,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-blog__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }

  /* Specific top padding for sections on mobile, small value as body has header offset */
  .page-blog__hero-section,
  .page-blog__intro-section,
  .page-blog__topics-section,
  .page-blog__articles-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding-top: 10px !important;
  }
}