.page-blog {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  text-align: center;
}

.page-blog__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim image to make text stand out */
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* White text for hero title */
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0; /* Slightly off-white for description */
}

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

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

.page-blog__hero-cta--register {
  background-color: #FFFFFF; /* White background for register */
  color: #000000; /* Black text for register */
  border: 2px solid #FFFFFF;
}

.page-blog__hero-cta--register:hover {
  background-color: #F0F0F0;
}

.page-blog__hero-cta--login {
  background-color: #FCBC45; /* Gold background for login */
  color: #000000; /* Black text for login */
  border: 2px solid #FCBC45;
}

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

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

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

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

.page-blog__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-blog__article-card {
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  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.12);
}

.page-blog__article-image {
  width: 100%;
  height: 280px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #000000; /* Dark text for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #FCBC45; /* Gold on hover */
}

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

.page-blog__article-meta {
  font-size: 0.9em;
  color: #888888;
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000; /* Black button */
  color: #FFFFFF; /* White text */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

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

.page-blog__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45; /* Gold button */
  color: #000000; /* Black text */
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__article-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 2.2em;
  }
  .page-blog__cta-description {
    font-size: 1.1em;
  }
  .page-blog__cta-button {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-blog__hero-content {
    width: 95%;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__hero-cta {
    width: 80%;
    margin: 0 auto;
  }
  .page-blog__articles-section {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__article-image {
    height: 200px; /* Adjust height for mobile */
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__article-excerpt {
    font-size: 0.95em;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    font-size: 1em;
    padding: 15px 30px;
  }
  /* Content images must be responsive and not cause overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-cta {
    width: 90%;
    padding: 12px 20px;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 1.1em;
  }
  .page-blog__cta-title {
    font-size: 1.5em;
  }
  .page-blog__cta-button {
    font-size: 0.9em;
    padding: 12px 25px;
  }
}