.page-blog {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-blog__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  text-align: center;
}

.page-blog__hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffc107;
  line-height: 1.2;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__hero-button--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-blog__hero-button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-blog__hero-button--secondary {
  background-color: #ffc107;
  color: #333333;
}

.page-blog__hero-button--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-10px);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #007bff;
}

.page-blog__article-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog__article-title a:hover {
  text-decoration: underline;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__article-link {
  display: inline-block;
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-blog__article-link:hover {
  color: #e0a800;
}

.page-blog__featured-article-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-blog__featured-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
}

.page-blog__featured-content h3 {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__featured-content p {
  margin-bottom: 20px;
  color: #444444;
}

.page-blog__call-to-action-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-blog__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog__cta-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
}

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

.page-blog__cta-button {
  display: inline-block;
  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;
}

.page-blog__cta-button--primary {
  background-color: #ffc107;
  color: #333333;
}

.page-blog__cta-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-blog__cta-button--secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-blog__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.2em;
  }

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

  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__hero-button {
    width: 100%;
  }

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

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

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

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

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

  .page-blog__cta-button {
    width: 100%;
  }

  /* Mobile content image constraint */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    padding: 20px;
  }

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

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

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

  .page-blog__content-area {
    padding: 20px 15px;
  }
}