.page-blog {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #1A202C, #0F1217);
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-blog__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

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

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

.page-blog__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
}

.page-blog__latest-articles {
  padding: 80px 0;
  background-color: #1A202C;
}

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

.page-blog__article-card {
  background-color: #2D3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
}

.page-blog__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

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

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

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

.page-blog__article-excerpt {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-blog__read-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  position: relative;
}

.page-blog__read-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.page-blog__read-more:hover::after {
  width: 100%;
}

.page-blog__categories-section {
  padding: 80px 0;
  background-color: #0F1217;
}

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

.page-blog__category-card {
  background-color: #2D3748;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: block;
}

.page-blog__category-card:hover {
  background-color: #3A455A;
  transform: translateY(-5px);
}

.page-blog__category-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-blog__category-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95em;
}

.page-blog__featured-article {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-blog__article-subtitle {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__article-paragraph {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-blog__featured-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #FFD700, #e6c200);
  text-align: center;
  color: #1A202C;
}

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

.page-blog__cta-section .page-blog__section-intro {
  color: rgba(26, 32, 44, 0.8);
  margin-bottom: 40px;
}

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

.page-blog__cta-actions .page-blog__button--primary {
  background-color: #1A202C;
  color: #FFD700;
}

.page-blog__cta-actions .page-blog__button--primary:hover {
  background-color: #0F1217;
  color: #FFD700;
}

.page-blog__cta-actions .page-blog__button--secondary {
  background-color: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
}

.page-blog__cta-actions .page-blog__button--secondary:hover {
  background-color: #1A202C;
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 0;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__hero-actions, .page-blog__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button {
    width: 100%;
    max-width: 280px;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__section-intro {
    font-size: 1em;
  }
  .page-blog__articles-grid, .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image, .page-blog__featured-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content images are responsive and don't overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-subtitle {
    font-size: 1.6em;
  }
  .page-blog__article-paragraph {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__category-title {
    font-size: 1.3em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
}