.page-blog {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color, #ffffff); /* Ensure text contrast */
  padding-top: var(--header-offset, 120px); /* Desktop header offset */
}

.page-blog__hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

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

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

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

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

.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: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.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.8em;
  margin-bottom: 15px;
}

.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-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__view-details-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

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

.page-blog__deep-dive-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-blog__deep-dive-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

.page-blog__deep-dive-intro {
  font-size: 1.15em;
  color: #444444;
  margin-bottom: 40px;
  text-align: justify;
}

.page-blog__sub-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-blog__paragraph {
  font-size: 1.05em;
  color: #333333;
  margin-bottom: 25px;
  text-align: justify;
}

.page-blog__paragraph a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-blog__paragraph a:hover {
  text-decoration: underline;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__conclusion {
  font-size: 1.1em;
  color: #444444;
  margin-top: 40px;
  text-align: justify;
  font-style: italic;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

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

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

.page-blog__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  color: #ffffff;
}

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

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }
  .page-blog__section-title,
  .page-blog__deep-dive-title {
    font-size: 2.2em;
  }
  .page-blog__sub-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-blog__hero-section {
    padding: 40px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-image,
  .page-blog__article-image,
  .page-blog__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-blog__articles-section,
  .page-blog__deep-dive-section,
  .page-blog__cta-section {
    padding: 40px 15px;
  }
  .page-blog__section-title,
  .page-blog__deep-dive-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-content {
    padding: 20px;
  }
  .page-blog__article-title {
    font-size: 1.5em;
  }
  .page-blog__sub-title {
    font-size: 1.6em;
  }
  .page-blog__cta-title {
    font-size: 2.2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-blog__cta-button--register {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__section-title,
  .page-blog__deep-dive-title {
    font-size: 1.8em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__sub-title {
    font-size: 1.4em;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__hero-image,
  .page-blog__article-image,
  .page-blog__content-image {
    width: 100%; /* Ensure images don't overflow */
    height: auto;
  }
}