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

.page-blog__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 80px;
  background-color: #002060; /* Dark blue background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden; /* For image positioning */
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

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

.page-blog__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog__hero-description a {
  color: #FFD700;
  text-decoration: underline;
}

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

.page-blog__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.page-blog__hero-button--primary {
  background-color: #FFD700;
  color: #002060;
}

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

.page-blog__hero-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

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

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

.page-blog__section-title {
  font-size: 2.5rem;
  color: #002060;
  text-align: center;
  margin-bottom: 50px;
  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__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 20px rgba(0, 0, 0, 0.08);
  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 30px rgba(0, 0, 0, 0.12);
}

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

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

.page-blog__article-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-link {
  display: inline-block;
  color: #002060;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-right: 15px;
  transition: color 0.3s ease;
}

.page-blog__read-more-link::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-blog__read-more-link:hover {
  color: #FFD700;
}

.page-blog__read-more-link:hover::after {
  transform: translateY(-50%) translateX(5px);
}

.page-blog__cta-section {
  background-color: #002060;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-blog__cta-title {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-blog__cta-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog__cta-description a {
  color: #FFD700;
  text-decoration: underline;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.page-blog__cta-button--primary {
  background-color: #FFD700;
  color: #002060;
}

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

.page-blog__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3rem;
  }
  .page-blog__section-title {
    font-size: 2.2rem;
  }
  .page-blog__cta-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 100px);
    padding-bottom: 60px;
  }
  .page-blog__hero-title {
    font-size: 2.5rem;
  }
  .page-blog__hero-description {
    font-size: 1.1rem;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-blog__content-area {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 1.3rem;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 2rem;
  }
  .page-blog__cta-description {
    font-size: 1rem;
  }
  .page-blog__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }

  /* Ensure content area images don't overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2rem;
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
  .page-blog__article-image {
    height: 160px;
  }
  .page-blog__article-title {
    font-size: 1.2rem;
  }
  .page-blog__article-excerpt {
    font-size: 0.9rem;
  }
  .page-blog__cta-title {
    font-size: 1.8rem;
  }
  .page-blog__cta-description {
    font-size: 0.9rem;
  }
}