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

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 400px; /* Minimum height for hero section */
  overflow: hidden;
  color: #FFFFFF; /* Text color for hero, assuming dark overlay/image */
  background-color: #000000; /* Fallback dark background */
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e0a53b;
}

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

.page-blog__latest-articles {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 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: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  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.1);
}

.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;
  min-height: 70px;
}

.page-blog__article-title a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

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

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

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

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

.page-blog__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px 20px;
  text-decoration: none;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-blog__category-icon {
  width: 80px; /* Display size */
  height: 80px; /* Display size */
  margin-bottom: 15px;
  object-fit: contain;
}

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

.page-blog__category-description {
  font-size: 0.9em;
  color: #666666;
}

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

.page-blog__featured-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__featured-image {
  flex: 0 0 55%;
  width: 55%; /* Explicit width for flex item */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-blog__featured-text {
  flex: 1;
}

.page-blog__featured-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-blog__featured-text p {
  margin-bottom: 15px;
  color: #444444;
  font-size: 1.05em;
}

.page-blog__read-full-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-blog__read-full-button:hover {
  background-color: #333333;
}

.page-blog__cta-section {
  background-color: #000000; /* Main color */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
  margin-top: 80px;
}

.page-blog__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

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

.page-blog__cta-button--login {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-blog__cta-button--login:hover {
  background-color: #f0f0f0;
}

.page-blog__faq-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-blog__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-blog__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-blog__about-taya777 {
  max-width: 1000px;
  margin: 80px auto 100px auto;
  padding: 0 20px;
  text-align: center;
}

.page-blog__about-description {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 30px;
}

.page-blog__about-links {
  margin-top: 20px;
}

.page-blog__about-link {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #FCBC45;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-blog__about-link:hover {
  color: #FCBC45;
  border-color: #000000;
}

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

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

  .page-blog__featured-content {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__featured-image {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px);
  }
  .page-blog__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }

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

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

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

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

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

  .page-blog__category-card {
    padding: 25px 15px;
  }

  .page-blog__category-icon {
    width: 60px;
    height: 60px;
  }

  .page-blog__featured-article {
    margin: 60px auto;
  }

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

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

  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 10px 0;
    width: calc(100% - 20px);
  }
  .page-blog__cta-button--login {
    margin-top: 15px;
  }

  .page-blog__faq-question {
    font-size: 1.2em;
  }

  .page-blog__about-link {
    margin: 0 10px;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for any potential small image display in content area */
  .page-blog__category-icon {
    width: 80px; /* Maintain minimum display size for content images */
    height: 80px;
    max-width: 100%; /* Ensure responsiveness */
  }
}

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

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

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

  .page-blog__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure all images in .page-blog content area meet minimum size requirements */
.page-blog img:not(.shared-header img, .shared-footer img) {
  min-width: 200px; /* Enforce minimum display width */
  min-height: 200px; /* Enforce minimum display height */
  object-fit: cover; /* Maintain aspect ratio */
}

/* Override for specific elements if they need smaller visual representation but still meet the 200px rule for content images */
.page-blog__category-icon {
  width: 100px; /* Explicitly set a larger display size for icons within content */
  height: 100px;
  min-width: 100px; /* Ensure it's not smaller than 100px */
  min-height: 100px;
}

/* HTML width/height consistency check for content images */
.page-blog__hero-image[width="1200"][height="675"] { width: 100%; height: auto; }
.page-blog__article-image[width="400"][height="300"] { width: 100%; height: auto; }
.page-blog__featured-image[width="600"][height="450"] { width: 100%; height: auto; }
.page-blog__category-icon[width="100"][height="100"] { width: 100px; height: 100px; }

/* No CSS filters to change image color */
.page-blog img {
  filter: none; /* Ensure no image filters are applied */
}