.page-blog {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  position: relative;
  overflow: hidden;
}

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

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

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-blog__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-blog__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-blog__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-blog__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  font-weight: bold;
}

.page-blog__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: #555555;
}

.page-blog__latest-articles,
.page-blog__categories,
.page-blog__about-arena-plus {
  padding: 80px 0;
}

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

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

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

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

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

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

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

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

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

.page-blog__read-more {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
}

.page-blog__read-more:hover {
  text-decoration: underline;
}

.page-blog__category-card {
  text-align: center;
  padding: 30px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-blog__category-card:hover {
  background-color: #1a1a1a;
}

.page-blog__category-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
}

.page-blog__cta-section {
  background-color: #FCBC45; /* Login button color for CTA background */
  color: #000000;
  padding: 80px 20px;
  text-align: center;
}

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

.page-blog__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #333333;
}

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

.page-blog__cta-buttons .page-blog__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-blog__cta-buttons .page-blog__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-blog__cta-buttons .page-blog__button--login {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-blog__cta-buttons .page-blog__button--login:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-blog__about-arena-plus {
  background-color: #f0f0f0;
}

.page-blog__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-blog__about-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-blog__about-text {
  flex: 1;
  max-width: 50%;
}

.page-blog__about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
  color: #444444;
}

.page-blog__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-blog__button--learn-more:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 2.2em;
  }
  .page-blog__about-image,
  .page-blog__about-text {
    max-width: 100%;
  }
  .page-blog__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 40px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-buttons,
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button {
    width: 100%;
  }
  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__section-subtitle,
  .page-blog__cta-description {
    font-size: 0.95em;
  }
  .page-blog__latest-articles,
  .page-blog__categories,
  .page-blog__about-arena-plus {
    padding: 60px 0;
  }
  .page-blog__article-grid,
  .page-blog__category-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image,
  .page-blog__about-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensures images don't overflow on mobile */
  }
  .page-blog__article-card img, .page-blog__about-arena-plus img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 1.5em;
  }
  .page-blog__hero-description,
  .page-blog__section-subtitle,
  .page-blog__cta-description,
  .page-blog__article-excerpt,
  .page-blog__category-description,
  .page-blog__about-text p {
    font-size: 0.9em;
  }
  .page-blog__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}