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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #4A148C; /* Main brand color as fallback */
}

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

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

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 80%;
  z-index: 10;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color */
  color: #4A148C; /* Main color */
  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 8px rgba(0, 0, 0, 0.3);
}

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #4A148C; /* Main color */
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color */
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-blog__articles-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 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  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 10px 25px rgba(0, 0, 0, 0.2);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* 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: #4A148C; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-blog__article-title a:hover {
  color: #FFD700; /* Auxiliary color on hover */
}

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

.page-blog__read-more {
  display: inline-block;
  color: #FFD700; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  color: #4A148C; /* Main color on hover */
}

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

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

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

.page-blog__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

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

.page-blog__list-content {
  padding: 20px 25px;
}

.page-blog__list-title {
  font-size: 1.4em;
  color: #4A148C; /* Main color */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__list-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__list-title a:hover {
  color: #FFD700; /* Auxiliary color on hover */
}

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

.page-blog__categories {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-blog__category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-item {
  background-color: #FFD700; /* Auxiliary color */
  border-radius: 25px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.page-blog__category-item:hover {
  background-color: #e6c200;
}

.page-blog__category-item a {
  color: #4A148C; /* Main color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
}

.page-blog__call-to-action {
  background-color: #4A148C; /* Main color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  margin: 60px 0;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 25px;
}

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

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

.page-blog__cta-main-button,
.page-blog__cta-secondary-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-main-button {
  background-color: #FFD700; /* Auxiliary color */
  color: #4A148C; /* Main color */
}

.page-blog__cta-main-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-blog__cta-secondary-button:hover {
  background-color: #FFD700;
  color: #4A148C; /* Main color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-blog__about-taya333 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__about-text {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #444444;
}

.page-blog__about-link {
  display: inline-block;
  margin-top: 20px;
  color: #4A148C; /* Main color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__about-link:hover {
  color: #FFD700; /* Auxiliary color on hover */
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }

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

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

  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog__section-title {
    font-size: 2em;
    margin: 40px 0 30px;
  }

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

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

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

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

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

  .page-blog__categories {
    padding: 30px 15px;
  }

  .page-blog__category-list {
    gap: 10px;
  }

  .page-blog__category-item {
    padding: 8px 15px;
  }

  .page-blog__category-item a {
    font-size: 0.9em;
  }

  .page-blog__call-to-action {
    padding: 60px 15px;
  }

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

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

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__cta-main-button,
  .page-blog__cta-secondary-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.05em;
  }

  /* Ensure all images within .page-blog are responsive and do not cause overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@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__article-title {
    font-size: 1.1em;
  }

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

  .page-blog__list-excerpt {
    font-size: 0.85em;
  }

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

/* Content area images must be at least 200px wide/high */
.page-blog__hero-image,
.page-blog__article-image,
.page-blog__list-image {
  min-width: 200px;
  min-height: 200px;
}

/* No filter property to change image colors */
.page-blog img {
  filter: none; /* Explicitly ensure no filters are applied */
}

/* Specific adjustment for hero image darkening via brightness filter */
.page-blog__hero-image {
  filter: brightness(0.7); /* Allowed for readability, not color change */
}