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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #1A202C; /* Main brand color as background */
}

.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__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

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

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

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

.page-blog__hero-button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__hero-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-blog__hero-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-blog__latest-articles,
.page-blog__promotions-news,
.page-blog__responsible-gaming,
.page-blog__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-blog__section-title,
.page-blog__cta-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-blog__article-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__article-image {
  width: 100%;
  height: 220px;
  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.6rem;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-blog__read-more:hover {
  color: #e6c200;
}

.page-blog__responsible-gaming {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
}

.page-blog__responsible-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-blog__responsible-text p {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-blog__read-more--alt {
  font-size: 1.1rem;
  padding: 10px 20px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
}

.page-blog__read-more--alt:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.page-blog__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #1A202C;
  border-radius: 12px;
  margin-top: 80px;
}

.page-blog__cta-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-blog__cta-button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-blog__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-blog__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3rem;
  }
  .page-blog__hero-description {
    font-size: 1.1rem;
  }
  .page-blog__responsible-gaming {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__responsible-image {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2rem;
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-title {
    font-size: 1.4rem;
  }
  .page-blog__article-excerpt {
    font-size: 0.95rem;
  }
  .page-blog__responsible-gaming {
    padding: 30px 20px;
  }
  .page-blog__responsible-image {
    height: auto;
  }
  .page-blog__responsible-text p {
    font-size: 1rem;
  }
  .page-blog__cta-section {
    padding: 40px 15px;
  }
  .page-blog__cta-description {
    font-size: 1.1rem;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }

  /* Mobile content area image rules */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-image,
  .page-blog__responsible-image {
    min-width: 200px;
    min-height: 150px; /* Adjusted min-height for aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8rem;
  }
  .page-blog__hero-description {
    font-size: 0.9rem;
  }
  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 1.6rem;
  }
  .page-blog__hero-button,
  .page-blog__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
}