.page-blog {
  color: #333333;
}

.page-blog__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-width: 90%;
}

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

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-blog__articles-section,
.page-blog__why-choose-jiliok,
.page-blog__cta-section {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__article-image {
  width: 100%;
  height: 225px;
  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.4;
}

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

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

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

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

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

.page-blog__intro-text,
.page-blog__conclusion-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #444444;
}

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

.page-blog__feature-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-blog__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #666666;
}

.page-blog__cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-blog__cta-content {
  max-width: 800px;
}

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

.page-blog__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-blog__cta-button--primary {
  background-color: #ffc107;
  color: #007bff;
}

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

.page-blog__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.page-blog__cta-button--secondary:hover {
  background-color: #ffffff;
  color: #007bff;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjusted for mobile header */
    padding: 40px 15px;
  }
  .page-blog__hero-content {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.7);
    margin: 20px auto;
    padding: 15px;
  }
  .page-blog__hero-image {
    height: 300px;
  }
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__articles-section,
  .page-blog__why-choose-jiliok,
  .page-blog__cta-section {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__article-card {
    margin-bottom: 20px;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__features-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
  }
  .page-blog__cta-button {
    width: 80%;
    margin: 0 auto;
  }

  /* Critical: Ensure images in content area are responsive and not smaller than 200px */
  .page-blog img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-blog__article-image, .page-blog__feature-image {
    min-width: unset; /* Override min-width for specific images if needed, but ensure they remain >= 200px through layout */
    min-height: unset;
  }

}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.5em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 1.5em;
  }
  .page-blog__cta-button {
    width: 90%;
  }
}