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

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A192F; /* Primary color as background for hero text */
  color: #ffffff;
  padding: 0;
  text-align: center;
}

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
}

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

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

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

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

.page-blog__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.2s ease;
  white-space: nowrap;
}

.page-blog__button--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-blog__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-blog__featured-articles,
.page-blog__latest-articles,
.page-blog__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 20px;
}

.page-blog__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__article-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  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-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 25px;
}

.page-blog__article-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #0A192F;
  text-decoration: none;
}

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

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
}

.page-blog__read-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-blog__articles-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-blog__list-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-blog__list-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-blog__list-content {
  padding: 20px;
  flex-grow: 1;
}

.page-blog__list-title {
  font-size: 1.3em;
  color: #0A192F;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__list-title a {
  color: #0A192F;
  text-decoration: none;
}

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

.page-blog__list-excerpt {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 10px;
}

.page-blog__article-date {
  font-size: 0.85em;
  color: #888888;
}

.page-blog__view-all-button {
  text-align: center;
  margin-top: 40px;
}

.page-blog__cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0A192F;
  color: #ffffff;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-blog__cta-content {
  max-width: 60%;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-blog__cta-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.8em;
  }

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

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

  .page-blog__list-image {
    width: 250px;
    height: 180px;
  }

  .page-blog__list-title {
    font-size: 1.2em;
  }

  .page-blog__cta-title {
    font-size: 2.2em;
  }

  .page-blog__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    position: static;
    transform: none;
    padding: 40px 20px;
  }

  .page-blog__hero-image {
    display: none; /* Hide hero image on mobile for better readability of text */
  }

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

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

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

  .page-blog__button {
    width: 100%;
    padding: 12px 20px;
  }

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

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

  .page-blog__list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-blog__list-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .page-blog__list-content {
    padding: 15px;
  }

  .page-blog__cta-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .page-blog__cta-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

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

  .page-blog__cta-image {
    width: 100%;
    height: auto;
  }

  .page-blog__featured-articles,
  .page-blog__latest-articles,
  .page-blog__cta-section {
    padding: 20px 15px;
  }

  .page-blog__articles-list img,
  .page-blog__featured-articles img,
  .page-blog__cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 1.8em;
  }

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

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

  .page-blog__list-title {
    font-size: 1.1em;
  }

  .page-blog__cta-title {
    font-size: 1.6em;
  }
}