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

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

/* Hero Section */
.page-blog__hero-section {
  background-color: #FFFFFF; /* Auxiliary color for background */
  padding: 80px 20px;
  text-align: center;
  color: #000000; /* Main color for text */
}

.page-blog__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #000000; /* Main color */
}

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

.page-blog__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-blog__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-blog__button--register:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-blog__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__button--login:hover {
  background-color: #e0a53b;
}

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

/* Featured Posts */
.page-blog__featured-posts {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

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

.page-blog__post-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

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

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

/* Latest Posts */
.page-blog__latest-posts {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-blog__list-item {
  display: flex;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  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 25px;
}

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

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

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

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

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

.page-blog__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-blog__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__button--primary:hover {
  background-color: #e0a53b;
}

.page-blog__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-blog__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* About Section */
.page-blog__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-blog__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-blog__about-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-blog__about-text {
  width: 50%;
}

.page-blog__about-text p {
  margin-bottom: 20px;
  color: #444444;
}

.page-blog__button--text {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-blog__button--text:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Contact Section */
.page-blog__contact-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-blog__contact-content {
  max-width: 800px;
  margin: 0 auto;
}

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

/* Newsletter Section */
.page-blog__newsletter-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

.page-blog__newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

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

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

.page-blog__newsletter-input {
  padding: 15px 20px;
  border: 2px solid #000000;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  max-width: 350px;
  background-color: #f0f0f0;
  color: #333333;
}

.page-blog__newsletter-input::placeholder {
  color: #888888;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

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

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px);
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }

  .page-blog__hero-description,
  .page-blog__cta-description,
  .page-blog__contact-description,
  .page-blog__newsletter-description {
    font-size: 1em;
  }

  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-blog__post-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: 20px;
  }

  .page-blog__about-content {
    flex-direction: column;
  }

  .page-blog__about-image,
  .page-blog__about-text {
    width: 100%;
  }

  .page-blog__newsletter-form {
    flex-direction: column;
  }

  .page-blog__newsletter-input {
    max-width: 100%;
  }

  /* Content area images must not be smaller than 200px */
  .page-blog img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-blog__post-image,
  .page-blog__list-image,
  .page-blog__about-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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

  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 1.5em;
  }

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

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