.page-blog {
  padding-top: var(--header-offset, 120px);
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

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

.page-blog__about-section,
.page-blog__featured-articles-section,
.page-blog__categories-section,
.page-blog__cta-section,
.page-blog__newsletter-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-blog__about-title,
.page-blog__featured-articles-title,
.page-blog__categories-title,
.page-blog__cta-title,
.page-blog__newsletter-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #000000;
  font-weight: bold;
}

.page-blog__about-text,
.page-blog__featured-articles-intro,
.page-blog__newsletter-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.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: 220px;
  object-fit: cover;
  display: block;
}

.page-blog__article-card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: #000000;
  font-weight: bold;
}

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

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

.page-blog__article-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

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

.page-blog__categories-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__category-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-blog__category-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-blog__category-link {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog__category-link:hover {
  background-color: #e0a538;
}

.page-blog__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 15px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  width: 100%;
}

.page-blog__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  object-fit: cover;
}

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

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

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

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

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

.page-blog__newsletter-section {
  background-color: #F5F5F5;
  padding: 70px 20px;
  border-radius: 10px;
  margin-bottom: 60px;
}

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

.page-blog__newsletter-input {
  padding: 15px 20px;
  border: 1px solid #cccccc;
  border-radius: 50px;
  width: 100%;
  max-width: 400px;
  font-size: 1em;
}

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

.page-blog__newsletter-submit-button:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-blog__hero-section {
    flex-direction: row;
    padding: 80px 40px;
  }

  .page-blog__hero-container {
    text-align: left;
    max-width: 50%;
    margin-right: 40px;
  }

  .page-blog__hero-image {
    position: static;
    width: 50%;
    height: auto;
    opacity: 1;
  }

  .page-blog__cta-container {
    flex-direction: row;
    gap: 40px;
    text-align: left;
  }

  .page-blog__cta-image {
    max-width: 40%;
    margin-bottom: 0;
  }

  .page-blog__cta-content {
    max-width: 60%;
  }
}

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

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

  .page-blog__about-title,
  .page-blog__featured-articles-title,
  .page-blog__categories-title,
  .page-blog__cta-title,
  .page-blog__newsletter-title {
    font-size: 1.8em;
  }

  .page-blog__about-text,
  .page-blog__featured-articles-intro,
  .page-blog__newsletter-description {
    font-size: 0.95em;
  }

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

  .page-blog__cta-section {
    padding: 50px 20px;
  }

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

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

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

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

  /* Ensure content area images are responsive */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  /* Content area image size constraint */
  .page-blog__article-image,
  .page-blog__cta-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-blog__article-list,
  .page-blog__category-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .page-blog__about-title,
  .page-blog__featured-articles-title,
  .page-blog__categories-title,
  .page-blog__cta-title,
  .page-blog__newsletter-title {
    font-size: 1.6em;
  }

  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-blog__newsletter-input,
  .page-blog__newsletter-submit-button {
    width: 90%;
  }
}