.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Body Background */
}

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

/* HERO Section (Blog Header/Banner) */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(10, 10, 10, 0) 100%), #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-blog__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.page-blog__hero-content {
  flex: 1 1 50%;
  max-width: 600px;
}

.page-blog__hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #F2C14E; /* Main color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-blog__hero-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px; /* Ensure image is not too small */
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

/* Blog List Section */
.page-blog__blog-list-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-blog__blog-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.4);
}

.page-blog__card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.page-blog__blog-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-blog__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
}

.page-blog__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-excerpt {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__card-date {
  font-size: 0.85rem;
  color: rgba(255, 246, 214, 0.7);
  margin-bottom: 10px;
}

.page-blog__read-more {
  color: #F2C14E;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-blog__read-more:hover {
  color: #FFD36B;
}

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #000000; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.6);
}

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%);
  text-align: center;
}

.page-blog__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0A0A0A; /* Dark text for light background */
  margin-bottom: 20px;
}

.page-blog__cta-description {
  font-size: 1.1rem;
  color: #333333; /* Dark text for light background */
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for bright button */
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.6);
}

.page-blog__btn-secondary {
  background: #0A0A0A;
  color: #FFD36B; /* Auxiliary color for text */
  border-color: #FFD36B;
}

.page-blog__btn-secondary:hover {
  background: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

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

.page-blog__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px 25px;
  color: #FFF6D6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-blog__faq-item[open] {
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E;
  list-style: none; /* Hide default marker */
  cursor: pointer;
}

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

.page-blog__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #FFD36B;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

/* Global image styles for content area */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8rem;
  }
  .page-blog__cta-title {
    font-size: 2.4rem;
  }
  .page-blog__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* HERO Section */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }
  .page-blog__hero-container {
    flex-direction: column;
    padding: 20px 0 !important;
    gap: 30px !important;
  }
  .page-blog__hero-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .page-blog__hero-title {
    font-size: 2.2rem !important;
    text-align: center;
  }
  .page-blog__hero-description {
    font-size: 1rem !important;
    text-align: center;
  }
  .page-blog__hero-image {
    flex: 1 1 100% !important;
    min-width: unset !important;
  }
  .page-blog__hero-image img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Blog List Section */
  .page-blog__blog-list-section {
    padding: 40px 0 !important;
  }
  .page-blog__section-title {
    font-size: 2rem !important;
    margin-bottom: 30px !important;
  }
  .page-blog__blog-grid {
    grid-template-columns: 1fr !important; /* Single column for blog cards */
    gap: 20px !important;
  }
  .page-blog__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__blog-card img {
     /* Adjust fixed height for mobile */
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-blog__card-title {
    font-size: 1.3rem !important;
  }
  .page-blog__card-excerpt {
    font-size: 0.9rem !important;
  }
  .page-blog__card-date {
    font-size: 0.8rem !important;
  }
  .page-blog__view-all-button-container {
    margin-top: 30px !important;
  }
  .page-blog__view-all-button {
    padding: 10px 20px !important;
    font-size: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* CTA Section */
  .page-blog__cta-section {
    padding: 50px 0 !important;
  }
  .page-blog__cta-title {
    font-size: 2rem !important;
  }
  .page-blog__cta-description {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
  }
  .page-blog__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px !important;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    padding: 12px 25px !important;
    font-size: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ Section */
  .page-blog__faq-section {
    padding: 40px 0 !important;
  }
  .page-blog__faq-item {
    padding: 15px 20px !important;
    margin-bottom: 10px !important;
  }
  .page-blog__faq-question {
    font-size: 1.1rem !important;
  }
  .page-blog__faq-toggle {
    font-size: 1.5rem !important;
  }
  .page-blog__faq-answer {
    font-size: 0.95rem !important;
  }

  /* General image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}