.page-blog {
  color: #333333; /* Dark text for light body background */
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A192F; /* Main brand color for hero background */
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #ffffff;
  background: rgba(10, 25, 47, 0.7); /* Semi-transparent background for text readability */
  padding: 30px;
  border-radius: 10px;
  max-width: 80%;
}

.page-blog__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-blog__hero-button, .page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for buttons */
  color: #0A192F; /* Main brand color for button text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__hero-button:hover, .page-blog__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__latest-posts {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-blog__post-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-blog__post-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #0A192F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #FFD700;
}

.page-blog__post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #0A192F; /* Main brand color for read more buttons */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-blog__deep-content {
  padding: 60px 20px;
  background-color: #f4f4f4;
}

.page-blog__intro-paragraph {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
  color: #444444;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-blog__sub-title {
  font-size: 2em;
  color: #0A192F;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-blog__micro-title {
  font-size: 1.4em;
  color: #0A192F;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-blog__deep-content p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.page-blog__deep-content ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-blog__deep-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-blog__cta-button {
  margin-top: 40px;
  text-align: center;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__conclusion-text {
  text-align: center;
  font-style: italic;
  color: #666666;
  margin-top: 30px;
  font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }

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

  .page-blog__hero-description {
    font-size: 1em;
  }

  .page-blog__hero-content {
    max-width: 90%;
    padding: 20px;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }

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

  .page-blog__sub-title {
    font-size: 1.6em;
  }

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

  .page-blog__deep-content img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  /* Enforce minimum image size for content area images on mobile */
  .page-blog__post-image,
  .page-blog__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum width for content images */
    min-height: 200px; /* Ensure minimum height for content images */
  }

  .page-blog__deep-content p,
  .page-blog__deep-content ul,
  .page-blog__deep-content li {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.6em;
  }

  .page-blog__hero-description {
    font-size: 0.9em;
  }

  .page-blog__hero-button, .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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