.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color on dark background */
  background-color: #B71C1C; /* Background color */
}

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

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #7A0E0E; /* Deep Red for hero section */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-blog__hero-content {
  max-width: 800px;
  color: #FFF5E1; /* Text Main */
}

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

.page-blog__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold for section titles */
}

.page-blog__section-description {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Text Main */
}

.page-blog__dark-section {
  background-color: #C91F17; /* Main color as background */
  padding: 60px 0;
  color: #FFF5E1;
}

.page-blog__featured-categories,
.page-blog__recent-posts,
.page-blog__why-follow-us,
.page-blog__faq-section,
.page-blog__cta-section {
  padding: 60px 0;
}

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

.page-blog__category-card,
.page-blog__post-card {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #FFF5E1; /* Text Main */
}

.page-blog__category-card .page-blog__card-title,
.page-blog__post-card .page-blog__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 15px 20px 0;
}

.page-blog__category-card .page-blog__card-title a,
.page-blog__post-card .page-blog__card-title a {
  color: #F4D34D; /* Gold for card titles */
  text-decoration: none;
}

.page-blog__category-card .page-blog__card-title a:hover,
.page-blog__post-card .page-blog__card-title a:hover {
  text-decoration: underline;
}

.page-blog__category-card p,
.page-blog__post-card p {
  padding: 0 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

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

.page-blog__post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog__post-meta {
  font-size: 0.85rem;
  color: #FFCC66; /* Glow color for meta */
  margin-top: 5px;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  margin-bottom: 15px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-blog__btn-secondary:hover {
  background-color: #F4D34D;
  color: #7A0E0E; /* Deep Red for text */
  transform: translateY(-2px);
}

.page-blog__btn-link {
  color: #FFCC66; /* Glow color for link */
  text-decoration: none;
  padding: 0;
  margin-top: auto;
  align-self: flex-start;
}

.page-blog__btn-link:hover {
  text-decoration: underline;
}

.page-blog__category-card .page-blog__btn-secondary {
  margin: 15px 20px 20px;
}

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

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

.page-blog__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__feature-title {
  font-size: 1.5rem;
  color: #FFCC66; /* Glow color */
  margin-bottom: 15px;
}

.page-blog__feature-item p {
  color: #FFF5E1; /* Text Main */
}

.page-blog__faq-section {
  background-color: #B71C1C; /* Background color */
  padding: 60px 0;
  color: #FFF5E1;
}

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

.page-blog__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F4D34D; /* Gold for question */
  cursor: pointer;
  list-style: none;
}

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

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFCC66; /* Glow color */
}

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

.page-blog__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #7A0E0E; /* Deep Red */
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog__hero-section {
    padding: 40px 20px;
  }
  .page-blog__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-blog__category-grid,
  .page-blog__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body already has padding-top */
  }
  .page-blog__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-image-wrapper,
  .page-blog__featured-categories,
  .page-blog__recent-posts,
  .page-blog__why-follow-us,
  .page-blog__faq-section,
  .page-blog__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog__hero-image,
  .page-blog__post-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__post-card {
    height: auto; /* Allow card height to adjust */
  }

  .page-blog__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-link {
    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 {
    flex-direction: column !important;
    gap: 15px;
  }
  .page-blog__category-grid,
  .page-blog__post-grid,
  .page-blog__feature-list {
    grid-template-columns: 1fr;
  }
  .page-blog__faq-question {
    font-size: 1rem;
  }
  .page-blog__faq-answer {
    font-size: 0.95rem;
  }
}