.page-blog {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000080;
  padding-bottom: 40px; /* Adjust as needed */
}

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text contrast */
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 80%;
  z-index: 10;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-blog__button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  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__button:hover {
  background-color: #e6c200; /* Darker Gold */
  transform: translateY(-2px);
}

.page-blog__articles-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

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

.page-blog__section-title {
  font-size: 2.8em;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

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

.page-blog__article-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-blog__article-title {
  font-size: 1.8em;
  color: #000080; /* Dark Blue */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #DC143C; /* Crimson */
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Limit to 6 lines */
  -webkit-box-orient: vertical;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #DC143C; /* Crimson */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more-button:hover {
  background-color: #b00c2e; /* Darker Crimson */
}

.page-blog__cta-section {
  background-color: #000080; /* Dark Blue */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-blog__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold */
  margin-bottom: 25px;
}

.page-blog__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-blog__button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  margin: 0 10px;
}

.page-blog__button--primary:hover {
  background-color: #e6c200;
}

.page-blog__button--secondary {
  background-color: #DC143C; /* Crimson */
  color: #ffffff;
  margin: 0 10px;
}

.page-blog__button--secondary:hover {
  background-color: #b00c2e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__section-title {
    font-size: 2.2em;
  }
  .page-blog__article-title {
    font-size: 1.6em;
  }
  .page-blog__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-bottom: 20px;
  }
  .page-blog__hero-content {
    max-width: 90%;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-blog__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__articles-section {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image {
    height: 200px;
  }
  .page-blog__article-title {
    font-size: 1.4em;
  }
  .page-blog__article-excerpt {
    -webkit-line-clamp: 5;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-blog__button--primary, .page-blog__button--secondary {
    display: block;
    margin: 15px auto;
    width: fit-content;
  }

  /* Ensure content images do not overflow on mobile */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog {
    overflow-x: hidden;
  }
}