.page-blog {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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 {
  background-color: #f5f5f5; /* Light background for hero section */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

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

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

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

.page-blog__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure button minimum width */
  text-align: center;
  font-size: 1.1em;
}

.page-blog__btn--register {
  background-color: #000000; /* Main brand color for primary action */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-blog__btn--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-blog__btn--login {
  background-color: #FCBC45; /* Login specific color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__btn--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Max width for hero image wrapper */
  margin-top: 40px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__introduction-section,
.page-blog__featured-posts-section,
.page-blog__why-oktt-section,
.page-blog__game-guides-section,
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-blog__section-text {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-blog__post-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

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

.page-blog__post-card-content {
  padding: 25px;
}

.page-blog__post-card-category {
  display: block;
  font-size: 0.9em;
  color: #FCBC45;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

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

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

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

.page-blog__post-card-excerpt {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-blog__btn--read-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-blog__btn--read-more:hover {
  background-color: #333333;
}

.page-blog__why-oktt-section {
  background-color: #f0f0f0;
}

.page-blog__why-oktt-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog__why-oktt-text {
  flex: 2;
  min-width: 300px;
}

.page-blog__why-oktt-image-wrapper {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.page-blog__why-oktt-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

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

.page-blog__guide-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-blog__guide-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-blog__guide-card-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

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

.page-blog__guide-card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-blog__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 5px;
}

.page-blog__btn--small:hover {
  background-color: #e0a53b;
}

.page-blog__section-text--cta {
  margin-top: 40px;
  font-weight: bold;
}

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

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

.page-blog__cta-section .page-blog__section-text {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-blog__btn--download:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

  .page-blog__why-oktt-content {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__why-oktt-text {
    order: 2;
  }

  .page-blog__why-oktt-image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-blog__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-blog__posts-grid,
  .page-blog__game-guides-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__post-card-image,
  .page-blog__guide-card-image {
    height: 200px; /* Ensure content images are not too small */
  }

  /* Ensure all images within .page-blog are responsive and do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
  }

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

  .page-blog__guide-card-title {
    font-size: 1.2em;
  }
}

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

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

  .page-blog__post-card-content,
  .page-blog__guide-card {
    padding: 15px;
  }
}