/* style/blog.css */
.page-blog {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* No padding here as content is inside hero-container */
  background-color: #0A2463; /* Use primary brand color for hero background */
}

.page-blog__hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 20px; /* Padding for content inside hero */
  text-align: center;
  color: #ffffff; /* Light text for dark hero background */
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* Subtle background image */
  min-width: 200px; /* Ensure hero image itself is not rendered tiny */
  min-height: 200px;
}

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

.page-blog__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Minimum width for buttons */
  text-align: center;
}

.page-blog__button--primary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-blog__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-blog__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

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

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

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

.page-blog__latest-articles,
.page-blog__categories-section,
.page-blog__featured-guides,
.page-blog__why-8k8vip,
.page-blog__cta-section {
  padding: 60px 0;
}

.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: 12px;
  box-shadow: 0 8px 24px 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(-10px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}