.page-blog {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
  line-height: 1.6;
}

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

.page-blog__dark-section {
  background-color: var(--deep-navy);
  color: #F3F8FF;
}

.page-blog__card {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  letter-spacing: 1px;
}

.page-blog__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-secondary:hover {
  background-color: #F2C14E;
  color: #10233F; /* Card BG */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-tertiary {
  background-color: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF; /* Text Main */
  border: none;
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-blog__btn-tertiary:hover {
  background-color: #113B7A; /* Main color */
  transform: translateY(-1px);
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-blog__hero-content {
  padding: 60px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap image slightly for visual effect, but text is below */
  position: relative;
  z-index: 2;
  background-color: rgba(8, 22, 43, 0.85); /* Deep Navy with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

.page-blog__hero-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  letter-spacing: 1px;
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-blog__hero-content .page-blog__btn-primary {
  font-size: 1.1em;
  padding: 16px 32px;
}

/* Latest Articles Section */
.page-blog__latest-articles {
  padding: 80px 0;
}

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

.page-blog__article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-blog__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-blog__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #F3F8FF; /* Text Main */
  text-decoration: none;
}

.page-blog__article-title a:hover {
  color: #F2C14E; /* Gold */
}

.page-blog__article-meta {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-blog__view-all-button {
  text-align: center;
}

/* Guide Section */
.page-blog__guide-section {
  padding: 80px 0;
}

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

.page-blog__guide-step {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-blog__step-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Popular Games Section */
.page-blog__popular-games {
  padding: 80px 0;
}

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

.page-blog__game-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.page-blog__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-blog__game-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-blog__game-description {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
}

.page-blog__game-item:hover .page-blog__game-title {
  color: #F2C14E; /* Gold */
}

/* Promotions CTA Section */
.page-blog__promotions-cta {
  padding: 80px 0;
  background-color: #113B7A; /* Main color */
}

.page-blog__promotions-cta .page-blog__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog__cta-content {
  flex: 1;
  min-width: 300px;
}

.page-blog__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog__promotions-cta .page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog__cta-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 80px 0;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  color: #F3F8FF;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  list-style: none;
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-question:hover {
  background-color: #113B7A; /* Main color */
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #F3F8FF;
  margin-left: 15px;
}

.page-blog__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  background-color: #08162B; /* Deep Navy */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin-top: -10px;
  padding-top: 20px;
}

/* Contact CTA Section */
.page-blog__contact-cta {
  padding: 80px 0;
  text-align: center;
}

.page-blog__contact-cta .page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}


/* General image styling to ensure minimum size and no small icons */
.page-blog img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__container {
    padding: 30px 20px;
  }

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

  .page-blog__section-subtitle {
    font-size: 1.1em;
  }

  .page-blog__hero-content {
    padding: 40px 20px;
    margin-top: -100px;
  }

  .page-blog__hero-title {
    font-size: clamp(2em, 3.5vw, 3em);
  }

  .page-blog__promotions-cta .page-blog__container {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__cta-image {
    width: 80%;
    margin-top: 40px;
  }

  .page-blog__promotions-cta .page-blog__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
  }

  .page-blog__hero-image {
    max-height: 400px;
  }

  .page-blog__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

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

  .page-blog__hero-content .page-blog__btn-primary {
    padding: 12px 24px;
    font-size: 1em;
  }

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

  .page-blog__section-subtitle {
    font-size: 0.9em;
  }

  /* Latest Articles Section */
  .page-blog__latest-articles {
    padding: 40px 0;
  }

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

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

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

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

  /* Guide Section */
  .page-blog__guide-section {
    padding: 40px 0;
  }

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

  .page-blog__step-title {
    font-size: 1.5em;
  }

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

  /* Popular Games Section */
  .page-blog__popular-games {
    padding: 40px 0;
  }

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

  .page-blog__game-image {
    height: 150px;
  }

  .page-blog__game-title {
    font-size: 1.2em;
  }

  .page-blog__game-description {
    font-size: 0.85em;
  }

  /* Promotions CTA Section */
  .page-blog__promotions-cta {
    padding: 40px 0;
  }

  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__cta-description {
    font-size: 1em;
  }

  .page-blog__promotions-cta .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__cta-image {
    width: 100%;
    min-width: 200px; /* Ensure minimum image size */
    height: auto;
  }

  /* FAQ Section */
  .page-blog__faq-section {
    padding: 40px 0;
  }

  .page-blog__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog__faq-answer {
    font-size: 0.9em;
    padding: 15px 20px;
  }

  /* Contact CTA Section */
  .page-blog__contact-cta {
    padding: 40px 0;
  }

  .page-blog__contact-cta .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile specific image and button adaptations */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min- /* Adjust minimum height for mobile if needed */
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-content,
  .page-blog__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-tertiary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-blog__promotions-cta .page-blog__cta-buttons {
    align-items: center;
  }

  .page-blog__contact-cta .page-blog__cta-buttons {
    align-items: center;
  }
}