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

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

.page-blog__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-blog__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog__section-title--light {
  color: #F2FFF6; /* Text Main */
}

.page-blog__section-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__section-description--light {
  color: #F2FFF6;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  padding: 10px 0 60px; /* Small top padding, body handles header offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.3s ease-in-out;
}

.page-blog__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull up content slightly over the bottom of the image for visual flow */
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
  border-radius: 10px;
}

.page-blog__main-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-blog__intro-text {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-blog__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-blog__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Introduction Section */
.page-blog__introduction-section .page-blog__section-description {
  text-align: left;
  margin-bottom: 15px;
  color: #A7D9B8;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-blog__category-card {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-blog__category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

.page-blog__category-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin: 20px 20px 10px;
}

.page-blog__category-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin: 0 20px 20px;
}

.page-blog__btn-category {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #2AD16F;
  color: #2AD16F;
}

.page-blog__btn-category:hover {
  background-color: #2AD16F;
  color: #08160F;
}

/* Latest Posts Section */
.page-blog__latest-posts-section {
  background-color: #08160F; /* Background */
  padding-bottom: 80px;
}

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

.page-blog__post-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog__post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

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

.page-blog__post-date {
  font-size: 14px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-blog__post-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog__post-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #F2C14E; /* Gold */
}

.page-blog__post-summary {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  min-height: 72px; /* Ensure consistent card height */
}

.page-blog__btn-text {
  display: inline-block;
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.page-blog__btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #2AD16F;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.page-blog__btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.page-blog__view-all-posts {
  margin-top: 50px;
}

/* Why Read Section */
.page-blog__why-read-section {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

.page-blog__why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__why-item {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__why-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-blog__why-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

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

.page-blog__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

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

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

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

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

.page-blog__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  background-color: #08160F; /* Background */
  border-top: 1px solid #2E7A4E;
}

/* Final CTA Section */
.page-blog__cta-final-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog__btn-large {
  padding: 18px 40px;
  font-size: 20px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

  .page-blog__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }

  .page-blog__intro-text {
    font-size: 18px;
  }

  .page-blog__category-grid,
  .page-blog__post-grid,
  .page-blog__why-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }

  .page-blog__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-blog__section-title {
    font-size: clamp(24px, 6vw, 38px);
    margin-bottom: 20px;
  }

  .page-blog__section-description {
    font-size: 16px;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__category-grid,
  .page-blog__post-grid,
  .page-blog__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-summary {
    min-height: auto; /* Allow height to adjust */
  }

  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

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

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

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__hero-image-wrapper,
  .page-blog__hero-content,
  .page-blog__category-card,
  .page-blog__post-card,
  .page-blog__why-item,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding added to specific elements like buttons/containers for content spacing */
  }

  .page-blog__category-grid,
  .page-blog__post-grid,
  .page-blog__why-list,
  .page-blog__faq-list {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    margin-top: -60px;
  }

  .page-blog__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-blog__intro-text {
    font-size: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-large {
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-blog__section-title {
    font-size: clamp(22px, 7vw, 32px);
  }

  .page-blog__category-title {
    font-size: 20px;
  }

  .page-blog__post-title {
    font-size: 18px;
  }
}