.page-blog {
  color: #333333; /* Dark text for default white body background */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 500px;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  color: #ffffff;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #DAA520; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #DAA520; /* Gold primary color */
  color: #1A1A1A; /* Dark secondary color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e5c063; /* Lighter gold on hover */
  transform: translateY(-3px);
}

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

.page-blog__section-title {
  font-size: 2.8em;
  color: #1A1A1A; /* Dark secondary color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

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

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

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

.page-blog__post-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-blog__post-info {
  padding: 25px;
}

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

.page-blog__post-title a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-blog__post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-blog__read-more {
  display: inline-block;
  color: #DAA520;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-blog__mastering-games, .page-blog__security {
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.page-blog__feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-blog__feature-row--reverse {
  flex-direction: row-reverse;
}

.page-blog__feature-content {
  flex: 1;
}

.page-blog__feature-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__feature-title {
  font-size: 2em;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.page-blog__feature-title a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__feature-title a:hover {
  color: #DAA520;
}

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

.page-blog__feature-button {
  display: inline-block;
  background-color: #1A1A1A; /* Dark secondary color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-blog__feature-button:hover {
  background-color: #333333;
}

.page-blog__promotions {
  background-color: #f0f0f0;
}

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

.page-blog__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-blog__promo-title {
  font-size: 1.8em;
  color: #DAA520;
  margin-bottom: 15px;
  padding: 0 20px;
}

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

.page-blog__promo-title a:hover {
  color: #e5c063;
}

.page-blog__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
  padding: 0 20px;
}

.page-blog__promo-button {
  display: inline-block;
  background-color: #DAA520;
  color: #1A1A1A;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog__promo-button:hover {
  background-color: #e5c063;
}

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

.page-blog__community-card {
  background-color: #1A1A1A;
  color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__community-title {
  font-size: 2em;
  color: #DAA520;
  margin-bottom: 20px;
}

.page-blog__community-text {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-blog__community-button {
  display: inline-block;
  background-color: #DAA520;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog__community-button:hover {
  background-color: #e5c063;
}

.page-blog__cta-section {
  background-color: #1A1A1A;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-blog__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__cta-button--primary {
  background-color: #DAA520;
  color: #1A1A1A;
}

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

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

.page-blog__cta-button--secondary:hover {
  background-color: #DAA520;
  color: #1A1A1A;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title {
    font-size: 2.4em;
  }
  .page-blog__feature-row {
    flex-direction: column;
  }
  .page-blog__feature-row--reverse {
    flex-direction: column;
  }
  .page-blog__feature-image {
    max-width: 80%;
  }
  .page-blog__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 400px;
  }
  .page-blog__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__content-area {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__post-image {
    height: 200px;
  }
  .page-blog__post-info {
    padding: 15px;
  }
  .page-blog__post-title {
    font-size: 1.4em;
  }
  .page-blog__feature-row {
    gap: 30px;
  }
  .page-blog__feature-image {
    max-width: 100%;
    height: auto; /* Ensures image does not overflow */
  }
  .page-blog__feature-title {
    font-size: 1.6em;
  }
  .page-blog__feature-text {
    font-size: 0.95em;
  }
  .page-blog__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__promo-image {
    height: 180px;
  }
  .page-blog__promo-title {
    font-size: 1.5em;
  }
  .page-blog__community-cards {
    grid-template-columns: 1fr;
  }
  .page-blog__community-card {
    padding: 30px 20px;
  }
  .page-blog__community-title {
    font-size: 1.8em;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1.1em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}