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

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #003366;
  color: #ffffff;
  padding: 0;
  text-align: center;
}

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

.page-blog__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Dark blue 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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue title */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

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

.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;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  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 12px 30px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  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.6em;
  color: #003366;
  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: #FFD700;
}

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

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

.page-blog__read-more-button:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.page-blog__deep-dive-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-blog__content-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

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

.page-blog__text-content {
  flex: 1;
}

.page-blog__content-subtitle {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-blog__text-content p {
  margin-bottom: 15px;
  color: #444444;
}

.page-blog__content-image {
  flex: 0 0 500px; /* Fixed width for desktop */
  width: 500px;
  height: 375px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  margin-right: 15px;
}

.page-blog__cta-button:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

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

.page-blog__cta-button--secondary:hover {
  background-color: #e6c200;
}

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

.page-blog__cta-section .page-blog__section-title {
  color: #FFD700;
}

.page-blog__cta-section .page-blog__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-blog__cta-section .page-blog__cta-button--primary {
  background-color: #FFD700;
  color: #003366;
  margin-right: 20px;
}

.page-blog__cta-section .page-blog__cta-button--primary:hover {
  background-color: #e6c200;
}

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

.page-blog__cta-section .page-blog__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

/* 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: 2em;
  }
  .page-blog__article-title {
    font-size: 1.4em;
  }
  .page-blog__content-subtitle {
    font-size: 1.8em;
  }
  .page-blog__content-row {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__content-row--reverse {
    flex-direction: column;
  }
  .page-blog__content-image {
    flex: none;
    width: 100%;
    height: auto;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__content-row {
    gap: 20px;
  }
  .page-blog__content-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__container {
    padding: 15px;
  }
  .page-blog__articles-section, .page-blog__deep-dive-section, .page-blog__cta-section {
    padding: 40px 0;
  }
  /* Ensure all images within .page-blog are responsive */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__cta-section .page-blog__cta-button {
    display: block;
    margin: 15px auto;
  }
  .page-blog__cta-section .page-blog__cta-button--primary {
    margin-right: auto;
  }
}