.page-blog {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-blog__hero-section {
  background-color: #0A2342; /* Primary dark blue background */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-blog__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #F2C94C; /* Accent gold for title */
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-blog__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Primary dark blue */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

.page-blog__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-blog__articles-overview {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-blog__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

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

.page-blog__article-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #0A2342; /* Primary dark blue */
  line-height: 1.3;
}

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

.page-blog__article-card-title a:hover {
  color: #F2C94C; /* Accent gold on hover */
}

.page-blog__article-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-blog__button--primary {
  background-color: #F2C94C; /* Accent gold */
  color: #0A2342; /* Primary dark blue */
  border: 2px solid #F2C94C;
}

.page-blog__button--primary:hover {
  background-color: #e0b83e;
  border-color: #e0b83e;
  transform: translateY(-2px);
}

.page-blog__button--secondary {
  background-color: transparent;
  color: #F2C94C; /* Accent gold */
  border: 2px solid #F2C94C;
}

.page-blog__button--secondary:hover {
  background-color: #F2C94C;
  color: #0A2342; /* Primary dark blue */
  transform: translateY(-2px);
}

.page-blog__button--text {
  background-color: transparent;
  color: #0A2342; /* Primary dark blue */
  border: none;
  padding: 0;
  font-size: 1em;
  text-align: left;
}

.page-blog__button--text:hover {
  color: #F2C94C; /* Accent gold */
  text-decoration: underline;
  transform: none;
}

.page-blog__deep-content {
  padding: 60px 20px;
}

.page-blog__section--dark {
  background-color: #0A2342;
  color: #ffffff;
}

.page-blog__section--dark .page-blog__section-title {
  color: #F2C94C;
}

.page-blog__section--dark .page-blog__section-intro {
  color: #f0f0f0;
}

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

.page-blog__content-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.page-blog__content-row--reverse {
  flex-direction: row-reverse;
}

.page-blog__content-row--center {
  justify-content: center;
}

.page-blog__content-text {
  flex: 1;
}

.page-blog__content-text h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F2C94C; /* Accent gold for subheadings */
}

.page-blog__section--dark .page-blog__content-text h3 {
  color: #F2C94C;
}

.page-blog__content-text p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-blog__section--dark .page-blog__content-text p {
  color: #e0e0e0;
}

.page-blog__content-text--center {
  text-align: center;
}

.page-blog__content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 15px;
  }

  .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__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-blog__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

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

  .page-blog__content-row {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .page-blog__content-row--reverse {
    flex-direction: column;
  }

  .page-blog__content-text h3 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog__content-text p {
    font-size: 0.95em;
  }

  .page-blog__image-full {
    max-width: 100%;
    height: auto;
  }

  .page-blog__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

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