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

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #1A202C;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #E0E0E0;
}

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

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

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

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

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

.page-blog__section:nth-of-type(even) {
  background-color: #F8F8F8;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-blog__article-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-blog__article-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-link {
  color: #1A202C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-link:hover {
  color: #FFD700;
}

.page-blog__article-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-blog__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__text-content {
  flex: 1;
}

.page-blog__sub-heading {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__sub-link {
  color: #1A202C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__sub-link:hover {
  color: #FFD700;
}

.page-blog__paragraph {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-blog__community-image {
  width: 40%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-right: 20px;
  margin-bottom: 15px;
  border: none;
  cursor: pointer;
}

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

.page-blog__cta-button--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-blog__cta-button--secondary:hover {
  background-color: #333d4a;
  border-color: #e6c200;
}

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

.page-blog__step-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-blog__step-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__step-title {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-blog__step-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-blog__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__step-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }

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

  .page-blog__article-heading {
    font-size: 1.4em;
  }

  .page-blog__sub-heading {
    font-size: 1.6em;
  }

  .page-blog__community-image {
    width: 100%;
    margin-bottom: 30px;
  }

  .page-blog__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 20px;
  }

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

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

  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-blog__article-image {
    height: 200px; /* Ensure images are not too small */
  }

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

  .page-blog__cta-button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-blog__step-card {
    padding: 25px;
  }

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

  .page-blog__hero-content {
    padding: 60px 20px;
  }
}

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

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

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

  .page-blog__article-heading {
    font-size: 1.2em;
  }

  .page-blog__sub-heading {
    font-size: 1.4em;
  }

  .page-blog__step-title {
    font-size: 1.5em;
  }

  .page-blog__step-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}