.page-blog {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
  padding: 30px;
  border-radius: 10px;
}

.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;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #3F0071;
  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;
}

.page-blog__hero-button:hover {
  background-color: #e6c200;
  color: #3F0071;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-blog__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog__intro-section, .page-blog__discover-section, .page-blog__benefits-section, .page-blog__experts-section, .page-blog__community-section {
  padding: 60px 0;
  background-color: #1a0033; /* Darker background for sections */
}

.page-blog__discover-section {
  background-color: #3F0071;
}

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

.page-blog__category-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog__content-category-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-blog__category-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__category-button {
  display: inline-block;
  background-color: #FFD700;
  color: #3F0071;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 15px;
}

.page-blog__category-button:hover {
  background-color: #e6c200;
  color: #3F0071;
}

.page-blog__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__benefits-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-blog__benefits-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-blog__benefits-description {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-blog__article-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog__article-card--placeholder {
  background-color: rgba(255, 255, 255, 0.05);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

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

.page-blog__article-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-blog__article-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-blog__article-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__article-button, .page-blog__community-button {
  display: inline-block;
  background-color: #FFD700;
  color: #3F0071;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-blog__article-button:hover, .page-blog__community-button:hover {
  background-color: #e6c200;
  color: #3F0071;
}

.page-blog__community-section {
  text-align: center;
}

.page-blog__community-button {
  margin-top: 30px;
}

.page-blog__cta-section {
  background-color: #3F0071;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog__cta-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
  object-fit: cover;
}

.page-blog__cta-content {
  max-width: 800px;
}

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

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

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #3F0071;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__cta-button:hover {
  background-color: #e6c200;
  color: #3F0071;
}

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-blog__section-text {
    font-size: 0.95em;
  }
  .page-blog__category-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-blog__benefits-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 1.4em;
  }
  .page-blog__cta-section {
    padding: 50px 0;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image constraint */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 1.6em;
  }
  .page-blog__hero-content {
    padding: 20px;
  }
}