.page-blog {
  color: #333333;
  background-color: #FFFFFF;
}

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6);
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure content is visible */
}

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

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 180px;
  text-align: center;
}

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

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

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

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

.page-blog__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

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

.page-blog__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-blog__article-card,
.page-blog__guide-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-blog__card-image,
.page-blog__guide-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #EEEEEE;
}

.page-blog__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__card-title,
.page-blog__guide-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog__card-title a,
.page-blog__guide-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-blog__card-excerpt,
.page-blog__guide-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__card-link {
  display: inline-block;
  margin-top: auto;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__card-link:hover {
  color: #e0a53a;
}

.page-blog__promo-callout {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-blog__promo-content .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__promo-content .page-blog__section-description {
  color: #F0F0F0;
}

.page-blog__button--promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-blog__button--promo:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-blog__cta-section {
  background-color: #F0F0F0;
}

.page-blog__cta-content .page-blog__section-title {
  color: #000000;
}

.page-blog__cta-content .page-blog__section-description {
  color: #555555;
}

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

/* Ensure images within content area are not too small */
.page-blog__recent-articles img, 
.page-blog__guides-tips img {
  min-width: 200px;
  min-height: 200px;
}

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-blog__hero-content {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
  }
  .page-blog__article-grid, .page-blog__guide-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__section-description {
    font-size: 0.95em;
  }
  .page-blog__card-image, .page-blog__guide-image {
    height: 200px;
  }
  .page-blog__card-title, .page-blog__guide-title {
    font-size: 1.4em;
  }
  .page-blog__card-excerpt, .page-blog__guide-text {
    font-size: 0.9em;
  }
  /* Mobile content area image responsiveness */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    padding: 40px 15px;
    min-height: 350px;
  }
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__section {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__section-description {
    font-size: 0.85em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}