/* Base styles for blog page */
.page-blog {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-blog__section {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF3E6;
  line-height: 1.2;
}

.page-blog__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #0D0E12;
}

.page-blog__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-blog__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-blog__hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
  text-align: center;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FFF3E6;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

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

.page-blog__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

/* Latest Posts Section */
.page-blog__latest-posts {
  background-color: #0D0E12;
}

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

.page-blog__post-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 176, 77, 0.3);
}

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

.page-blog__post-content {
  padding: 20px;
}

.page-blog__post-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

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

.page-blog__post-meta {
  font-size: 14px;
  color: #FFF3E6;
  opacity: 0.7;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 16px;
  color: #FFF3E6;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.8;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-blog__read-more-btn:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-1px);
}

.page-blog__view-all-btn-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Categories Section */
.page-blog__dark-section {
  background-color: #17191F; /* Card BG */
}

.page-blog__categories-section .page-blog__section-title,
.page-blog__categories-section .page-blog__section-description {
  color: #FFF3E6;
}

.page-blog__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-item {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-blog__category-item:hover {
  background-color: #FFA53A;
  color: #0D0E12;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.page-blog__why-choose-us {
  background-color: #0D0E12;
}

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

.page-blog__feature-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-blog__feature-text {
  font-size: 16px;
  color: #FFF3E6;
  line-height: 1.6;
  opacity: 0.8;
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #17191F;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #0D0E12;
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12;
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
  opacity: 0.8;
}

/* Bottom CTA Section */
.page-blog__cta-bottom {
  background-color: #0D0E12;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  /* No specific game trial reset for blog page as it's not the homepage */
}

@media (min-width: 1024px) {
  /* No specific three-column layout for blog page as it's not the homepage */
}

@media (max-width: 768px) {
  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-blog__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-blog__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 0 auto;
  }

  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__post-title {
    font-size: 20px;
  }

  .page-blog__post-excerpt {
    font-size: 15px;
  }

  .page-blog__category-item {
    font-size: 14px;
    padding: 10px 20px;
  }

  .page-blog__features-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__feature-title {
    font-size: 20px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
  }
  .page-blog__faq-qtext {
    font-size: 16px;
  }
  .page-blog__faq-toggle {
    font-size: 20px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__section,
  .page-blog__container,
  .page-blog__post-card,
  .page-blog__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-content-wrapper .page-blog__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__cta-group {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__cta-group a {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Image color filter restriction */
.page-blog img {
  filter: none; /* Absolutely no CSS filter to change image colors */
}