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

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

.page-blog__hero-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__hero-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, color 0.3s ease;
}

.page-blog__hero-cta-button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__hero-cta-button--primary:hover {
  background-color: #e6c200;
}

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

.page-blog__hero-cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-blog__latest-articles {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.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 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.05s ease-in-out, box-shadow 0.05s ease-in-out;
}

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

.page-blog__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

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

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

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

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

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

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

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

.page-blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-blog__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee;
  color: #1A202C;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__pagination-link:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__pagination-link--active {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__categories-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-blog__category-card {
  background-color: #1A202C;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__category-card:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-5px);
}

.page-blog__category-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: inherit;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: inherit;
  opacity: 0.9;
}

.page-blog__cta-section {
  background-color: #FFD700;
  color: #1A202C;
  padding: 80px 20px;
  text-align: center;
}

.page-blog__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__cta-button:hover {
  background-color: #333333;
  color: #ffffff;
}

.page-blog__additional-content {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-blog__paragraph {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #444444;
  line-height: 1.7;
}

.page-blog__sub-title {
  font-size: 2em;
  color: #1A202C;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
}

.page-blog__sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 60px;
  height: 3px;
  background-color: #FFD700;
  border-radius: 1.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-blog__hero-section {
    padding: 60px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__hero-cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__sub-title {
    font-size: 1.6em;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-image {
    height: 200px; /* Adjust height for mobile */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__sub-title {
    font-size: 1.4em;
  }
}