.page-blog {
  color: #333333;
  background-color: #f8f8f8;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px);
}

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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 40px 0;
  background-color: #1A1A1A;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.2em;
  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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-blog__featured-articles,
.page-blog__latest-posts,
.page-blog__categories,
.page-blog__cta-section {
  padding: 40px 0;
}

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

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

.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: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 1.4em;
  color: #1A1A1A;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  text-decoration: none;
  color: inherit;
}

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

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

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

.page-blog__article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

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

.page-blog__list-item:hover {
  transform: translateY(-3px);
}

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

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

.page-blog__list-title {
  font-size: 1.3em;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.page-blog__list-title a {
  text-decoration: none;
  color: inherit;
}

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

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

.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.page-blog__category-card {
  background-color: #1A1A1A;
  color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

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

.page-blog__category-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: invert(0.9) sepia(1) saturate(7) hue-rotate(30deg) brightness(1.2) contrast(1.2); /* This is a placeholder for a golden tint, but should be removed if images are already golden. Will be removed if filter is forbidden. */
}

.page-blog__category-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFD700;
}

.page-blog__cta-section {
  background-color: #FFD700;
  color: #1A1A1A;
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin: 40px auto;
}

.page-blog__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #1A1A1A;
}

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

.page-blog__button--cta {
  background-color: #1A1A1A;
  color: #FFD700;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-blog__button--cta:hover {
  background-color: #333333;
  color: #e6c200;
}

/* Responsive adjustments */
@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__list-item {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__list-image {
    width: 100%;
    height: 250px;
  }
  .page-blog__list-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .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__button {
    width: 80%;
    max-width: 300px;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__list-item {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__list-image {
    width: 100%;
    height: 200px;
  }
  .page-blog__list-content {
    padding: 15px;
  }
  .page-blog__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-blog__category-icon {
    width: 80px;
    height: 80px;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__button--cta {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-blog__container img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-card img,
  .page-blog__list-item img,
  .page-blog__category-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__button {
    width: 90%;
  }
  .page-blog__category-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__cta-title {
    font-size: 1.6em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
}