/* style/blog.css */
.page-blog {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-blog__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 50px; /* Adjust as needed */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__introduction-section,
.page-blog__articles-section,
.page-blog__strategies-section,
.page-blog__platform-insights-section,
.page-blog__promotions-section,
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #0A1931;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-blog__introduction-section {
  background-color: #1a2b45; /* Slightly lighter dark for contrast */
}

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

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

.page-blog__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-blog__article-card {
  background-color: #1a2b45;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

.page-blog__article-content {
  padding: 25px;
}

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

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

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

.page-blog__article-description {
  font-size: 0.95em;
  color: #c0c0c0;
  margin-bottom: 20px;
}

.page-blog__article-button {
  display: inline-block;
  background-color: #0A1931;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #FFD700;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__article-button:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-blog__button-group {
  text-align: center;
  margin-top: 40px;
}

.page-blog__view-all-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__platform-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__platform-button,
.page-blog__promotions-button,
.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  text-align: center;
  width: fit-content;
}

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

.page-blog__platform-insights-section .page-blog__button-group,
.page-blog__promotions-section .page-blog__button-group,
.page-blog__cta-section .page-blog__button-group {
  text-align: center;
}

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

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

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

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px);
  }

  .page-blog__hero-content {
    max-width: 90%;
    padding: 15px;
  }

  .page-blog__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-blog__introduction-section,
  .page-blog__articles-section,
  .page-blog__strategies-section,
  .page-blog__platform-insights-section,
  .page-blog__promotions-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog__paragraph {
    font-size: 1em;
  }

  .page-blog__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__article-title {
    font-size: 1.3em;
  }

  .page-blog__article-description {
    font-size: 0.9em;
  }

  .page-blog__article-image {
    height: 200px;
  }

  .page-blog__platform-image {
    margin: 30px auto;
  }

  .page-blog__view-all-button,
  .page-blog__platform-button,
  .page-blog__promotions-button,
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}