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

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming body has header-offset */
  margin-bottom: 40px;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

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

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border: none;
}

.page-blog__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary Color */
  border: 2px solid #F2C14E;
}

.page-blog__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* General Section Styles */
.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

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

.page-blog__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

.page-blog__light-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
  padding: 60px 0;
}

.page-blog__dark-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  padding: 60px 0;
}

/* Latest Posts Section */
.page-blog__latest-posts-section {
  padding-bottom: 30px;
}

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

.page-blog__post-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  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;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-blog__post-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
  line-height: 1.4;
}

.page-blog__post-meta {
  font-size: 0.9em;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  flex-grow: 1;
}

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

/* Content Introduction Section */
.page-blog__introduction-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
}

/* Featured Articles Section */
.page-blog__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-blog__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-blog__feature-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__feature-link {
  display: inline-block;
  color: #F2C14E; /* Primary Color */
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #F2C14E;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-blog__feature-link:hover {
  color: #FFD36B; /* Glow */
  border-color: #FFD36B;
}

/* FAQ Section */
.page-blog__faq-section {
  padding-top: 40px;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow */
  font-weight: 600;
}

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

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(255, 211, 107, 0.05); /* Light hover effect */
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}

.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
}

/* Global Image Styles for content area */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-blog__posts-grid,
  .page-blog__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

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

  .page-blog__post-title {
    font-size: 1.2em;
  }

  .page-blog__feature-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-blog__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-blog__hero-image {
    max-height: 400px;
    border-radius: 0;
    margin-bottom: 20px;
  }

  .page-blog__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    padding: 0 15px;
  }

  .page-blog__hero-description {
    font-size: 1em;
    padding: 0 15px;
    margin-bottom: 25px;
  }

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

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* General Section Styles */
  .page-blog__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .page-blog__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-blog__light-bg,
  .page-blog__dark-bg {
    padding: 40px 0;
  }

  /* Latest Posts Section */
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  .page-blog__post-image {
    height: 180px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-blog__post-title {
    font-size: 1.1em;
  }

  .page-blog__post-excerpt {
    font-size: 0.95em;
  }

  .page-blog__view-all-button-container {
    padding: 0 15px;
  }

  /* Content Introduction Section */
  .page-blog__introduction-text {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Featured Articles Section */
  .page-blog__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__feature-item {
    padding: 25px 20px;
  }

  .page-blog__feature-icon {
    max-width: 150px;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__feature-title {
    font-size: 1.2em;
  }

  .page-blog__feature-description {
    font-size: 0.95em;
  }

  /* FAQ Section */
  .page-blog__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
  }

  .page-blog__faq-qtext {
    font-size: 1em;
  }

  .page-blog__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Universal Image & Container Rules */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__latest-posts-section,
  .page-blog__content-introduction,
  .page-blog__featured-articles,
  .page-blog__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__latest-posts-section, .page-blog__content-introduction, .page-blog__featured-articles, .page-blog__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__posts-grid, .page-blog__features-grid {
    padding-left: 15px;
    padding-right: 15px;
  }
}