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

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

.page-blog__hero-section {
  background-color: #000000; /* Dark background for hero */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF; /* Light text for dark background */
}

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

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

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

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

.page-blog__hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

.page-blog__featured-articles {
  background-color: #F8F8F8;
}

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

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

.page-blog__article-thumbnail {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

.page-blog__card-title a {
  color: #000000;
  text-decoration: none;
}

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

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

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

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

.page-blog__categories {
  background-color: #FFFFFF;
}

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

.page-blog__category-item {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-blog__posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-blog__post-item {
  display: flex;
  gap: 30px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-blog__post-image {
  width: 300px;
  height: 169px; /* Aspect ratio 16:9 */
  object-fit: cover;
  flex-shrink: 0;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

.page-blog__post-title a {
  color: #000000;
  text-decoration: none;
}

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

.page-blog__post-meta {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-blog__newsletter-cta,
.page-blog__join-us {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-blog__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.page-blog__newsletter-input {
  flex-grow: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
}

.page-blog__newsletter-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-blog__newsletter-button:hover {
  background-color: #E0A83A;
}

.page-blog__join-button,
.page-blog__login-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-blog__join-button:hover {
  background-color: #F0F0F0;
}

.page-blog__login-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-blog__login-button:hover {
  background-color: #E0A83A;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__post-item {
    flex-direction: column;
  }
  .page-blog__post-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px);
  }
  .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__section-title {
    font-size: 1.8em;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__post-item {
    flex-direction: column;
  }
  .page-blog__post-image {
    width: 100%;
    height: auto;
    max-width: 100% !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-blog__newsletter-form {
    flex-direction: column;
  }
  .page-blog__newsletter-input,
  .page-blog__newsletter-button {
    width: 100%;
  }
  .page-blog__join-button,
  .page-blog__login-button {
    margin-bottom: 15px;
  }
  .page-blog__cta-title,
  .page-blog__join-title {
    font-size: 2em;
  }
  .page-blog__cta-description,
  .page-blog__join-description {
    font-size: 1em;
  }

  /* Ensure all content images are responsive and not smaller than 200px */
  .page-blog__article-thumbnail,
  .page-blog__hero-image,
  .page-blog__post-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-blog__articles-grid img,
  .page-blog__posts-list img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__card-title {
    font-size: 1.2em;
  }
  .page-blog__post-title {
    font-size: 1.4em;
  }
  .page-blog__newsletter-cta .page-blog__cta-title,
  .page-blog__join-us .page-blog__join-title {
    font-size: 1.8em;
  }
  .page-blog__newsletter-cta .page-blog__cta-description,
  .page-blog__join-us .page-blog__join-description {
    font-size: 0.9em;
  }
}