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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  color: #FFFFFF; /* Light text on dark overlay */
  border-radius: 10px;
  margin: 20px;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for FCBC45 background */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  min-height: 48px;
}

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

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

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

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

.page-blog__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-blog__article-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
}

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

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

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-blog__article-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  min-width: 120px;
  min-height: 38px;
}

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

.page-blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-blog__pagination-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__pagination-link:hover:not(.page-blog__pagination-link--disabled):not(.page-blog__pagination-link--active) {
  background-color: #eee;
}

.page-blog__pagination-link--active {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  font-weight: bold;
}

.page-blog__pagination-link--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.page-blog__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-blog__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.15em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  min-height: 50px;
}

.page-blog__cta-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-blog__cta-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-blog__app-download-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

.page-blog__app-download-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__app-download-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #000000;
}

.page-blog__app-download-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-blog__app-download-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  min-height: 48px;
}

.page-blog__app-download-button:hover {
  background-color: #333333;
}

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

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

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

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

  .page-blog__article-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }

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

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-blog__hero-image,
  .page-blog__article-image,
  .page-blog__app-download-section img {
    max-width: 100%;
    height: auto;
  }

  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}