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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

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

.page-blog__hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  margin: 20px;
  color: #FFFFFF;
}

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

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

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

.page-blog__hero-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__hero-button--register {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-blog__hero-button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-blog__hero-button--explore:hover {
  background-color: #333333;
  border-color: #FFFFFF;
}

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

.page-blog__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
}

.page-blog__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-blog__article-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-summary {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-blog__card-link:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-blog__cta-section {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #000000;
  border-radius: 10px;
  color: #FFFFFF;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-blog__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-blog__cta-button--learn-more {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__cta-button--learn-more:hover {
  background-color: #f0f0f0;
}

.page-blog__faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
}

.page-blog__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-blog__faq-answer {
  font-size: 1em;
  color: #555555;
}

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

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

  .page-blog__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-overlay {
    padding: 30px;
  }

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

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

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

  .page-blog__hero-button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-blog__content-area {
    padding: 20px 15px;
  }

  .page-blog__article-card {
    margin-bottom: 20px;
  }

  /* Enforce image max-width for mobile to prevent overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__cta-section {
    padding: 30px 15px;
  }

  .page-blog__cta-button {
    width: 90%;
    font-size: 1em;
  }
}

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

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

  .page-blog__hero-overlay {
    padding: 20px;
  }

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

  .page-blog__article-title {
    font-size: 1.3em;
  }

  .page-blog__faq-question {
    font-size: 1.1em;
  }
}