.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #140C0C;
  position: relative;
  overflow: hidden;
}

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-blog__hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

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

.page-blog__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.3);
}

.page-blog__btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-blog__btn--secondary {
  background-color: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
  box-shadow: 0 2px 5px rgba(255, 176, 74, 0.2);
}

.page-blog__btn--secondary:hover {
  background-color: rgba(255, 176, 74, 0.1);
  transform: translateY(-2px);
}

.page-blog__latest-articles-section {
  padding: 80px 0;
  background-color: #140C0C;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-blog__article-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-blog__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.page-blog__article-content {
  padding: 25px;
}

.page-blog__article-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-meta {
  font-size: 0.9em;
  color: #7E0D0D; /* Deep Red */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  color: #FFB04A;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.page-blog__read-more-btn::after {
  content: ' ';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #FFB04A;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover .page-blog__read-more-btn::after {
  transform: scaleX(1);
}

.page-blog__view-all {
  text-align: center;
}

.page-blog__btn--outline {
  background-color: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
  padding: 12px 25px;
}

.page-blog__btn--outline:hover {
  background-color: rgba(255, 176, 74, 0.1);
}

.page-blog__article-detail-section {
  padding: 80px 0;
  background-color: #140C0C; /* Background */
}

.page-blog__dark-section {
  background-color: #2A1212; /* Card BG - darker background for content */
  color: #FFF1E8;
}

.page-blog__section-title--light {
  color: #F3C54D;
}

.page-blog__article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__article-intro {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 40px;
  color: #FFB04A;
  text-align: center;
}

.page-blog__article-subtitle {
  font-size: 1.8em;
  color: #F3C54D; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-blog__figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog__figure-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-blog__figure-caption {
  font-size: 0.9em;
  color: #7E0D0D; /* Deep Red */
  margin-top: 10px;
}

.page-blog__list,
.page-blog__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-blog__ordered-list {
  list-style-type: decimal;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog__article-cta {
  text-align: center;
  margin-top: 50px;
}

.page-blog__categories-section {
  padding: 80px 0;
  background-color: #140C0C;
}

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

.page-blog__category-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #F3C54D; /* Gold */
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__category-card:hover {
  background-color: #C61F1F; /* Main Color */
  color: #FFF1E8;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #C61F1F 0%, #E53030 100%);
  text-align: center;
  color: #FFF1E8;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-blog__cta-section .page-blog__section-description {
  color: #FFF1E8;
  margin-bottom: 40px;
}

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

/* Ensure all images are responsive by default */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

  .page-blog__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 30px;
  }

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

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

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

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

  .page-blog__latest-articles-section,
  .page-blog__article-detail-section,
  .page-blog__categories-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-blog__article-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

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

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

  .page-blog__article-meta,
  .page-blog__article-excerpt {
    font-size: 0.9em;
  }

  .page-blog__article-wrap {
    padding: 0 15px;
  }

  .page-blog__article-intro {
    font-size: 1.05em;
    margin-bottom: 30px;
  }

  .page-blog__article-subtitle {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog__paragraph,
  .page-blog__list-item {
    font-size: 0.95em;
  }

  .page-blog__figure-caption {
    font-size: 0.8em;
  }

  .page-blog__list,
  .page-blog__ordered-list {
    margin-left: 20px;
  }

  .page-blog__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog__category-card {
    font-size: 1em;
    padding: 15px;
  }

  /* Mandatory image and container responsive styles */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__latest-articles-section,
  .page-blog__article-detail-section,
  .page-blog__categories-section,
  .page-blog__cta-section,
  .page-blog__article-grid,
  .page-blog__category-grid,
  .page-blog__hero-cta-buttons,
  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by specific sections */
  }
}