.page-blog__hero-section {
  padding-top: 10px; /* Adjusted to small top padding */
  background: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text color for dark background */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin: auto;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-blog__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-blog__hero-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for button text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__latest-posts {
  padding: 60px 0;
  background: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text color for dark background */
}

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

.page-blog__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F4D34D; /* Gold color for titles */
  position: relative;
  padding-bottom: 15px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F4D34D 0%, #FFCC66 100%); /* Gold gradient */
  border-radius: 2px;
}

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

.page-blog__blog-card {
  background: #D32F2F; /* Card BG color */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-blog__blog-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-blog__blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__blog-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #F4D34D; /* Gold color */
  color: #7A0E0E; /* Deep Red */
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-blog__blog-card-body {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog__blog-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog__blog-card-title a {
  color: #FFF5E1; /* Main text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__blog-card-title a:hover {
  color: #F4D34D; /* Gold on hover */
}

.page-blog__blog-divider {
  width: 60px;
  height: 3px;
  background: #F4D34D; /* Gold color */
  margin: 15px auto;
  border-radius: 1.5px;
}

.page-blog__blog-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-blog__read-more-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for button text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-top: auto; /* Push button to bottom */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__read-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for button text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__view-all-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog__content-section {
  padding: 60px 0;
  background: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text color for dark background */
  line-height: 1.7;
}

.page-blog__content-section p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #FFF5E1;
}

.page-blog__content-section a {
  color: #F4D34D; /* Gold for links */
  text-decoration: underline;
}

.page-blog__content-section a:hover {
  color: #FFCC66; /* Lighter gold on hover */
}

.page-blog__sub-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #F4D34D; /* Gold color for subtitles */
}

.page-blog__content-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-blog__content-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF5E1;
}

.page-blog__content-list li::before {
  content: '★'; /* Star icon */
  position: absolute;
  left: 0;
  color: #FFCC66; /* Glow color */
  font-size: 1.2rem;
  line-height: 1;
  top: 2px;
}

/* General image styling for content area */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px; /* Small top padding */
    min-height: 300px;
  }
  .page-blog__hero-content {
    padding: 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-blog__hero-button {
    padding: 10px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-blog__blog-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 25px;
  }
  .page-blog__blog-card-body {
    padding: 20px;
  }
  .page-blog__blog-card-title {
    font-size: 1.2rem;
  }
  .page-blog__blog-excerpt {
    font-size: 0.95rem;
  }
  .page-blog__read-more-button {
    padding: 8px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__view-all-button-container {
    margin-top: 40px;
  }
  .page-blog__view-all-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__content-section {
    padding: 40px 0;
  }
  .page-blog__content-section p,
  .page-blog__content-list li {
    font-size: 1rem;
  }
  .page-blog__sub-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__hero-button,
  .page-blog__read-more-button,
  .page-blog__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}