/* style/blog-hi8-game-introduction.css */
.page-blog-hi8-game-introduction {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF1E8); /* Default text color from custom palette */
  background-color: var(--background, #140C0C); /* Default background from custom palette */
}

.page-blog-hi8-game-introduction__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px;
  background-color: var(--background, #140C0C);
  color: var(--text-main, #FFF1E8);
}

.page-blog-hi8-game-introduction__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog-hi8-game-introduction__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog-hi8-game-introduction__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-hi8-game-introduction__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog-hi8-game-introduction h1 {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-hi8-game-introduction__hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hi8-game-introduction__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hi8-game-introduction__cta-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-blog-hi8-game-introduction__section {
  padding: 50px 20px;
  text-align: center;
}

.page-blog-hi8-game-introduction__dark-bg {
  background-color: var(--background, #140C0C);
  color: var(--text-main, #FFF1E8);
}

.page-blog-hi8-game-introduction__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-hi8-game-introduction__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  margin-bottom: 25px;
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-game-introduction__section-title--dark {
  color: var(--deep-red, #7E0D0D);
}

.page-blog-hi8-game-introduction__section-description {
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-main, #FFF1E8);
}

.page-blog-hi8-game-introduction__section-description--dark {
  color: #333333;
}

.page-blog-hi8-game-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-blog-hi8-game-introduction__content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-blog-hi8-game-introduction__content-block p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-blog-hi8-game-introduction__sub-title {
  font-size: clamp(1.4em, 3vw, 1.8em);
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-game-introduction__sub-title--dark {
  color: var(--deep-red, #7E0D0D);
}

.page-blog-hi8-game-introduction__image-container {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-hi8-game-introduction__image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-blog-hi8-game-introduction__grid-item {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-b-g, #2A1212);
  color: var(--text-main, #FFF1E8);
  border: 1px solid var(--border, #6A1E1E);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-hi8-game-introduction__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-blog-hi8-game-introduction__card-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-game-introduction__grid-item p {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-blog-hi8-game-introduction__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: var(--primary-color, #C61F1F);
  border: 2px solid var(--primary-color, #C61F1F);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hi8-game-introduction__btn-secondary:hover {
  background: var(--primary-color, #C61F1F);
  color: #ffffff;
}

.page-blog-hi8-game-introduction__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-blog-hi8-game-introduction__list li {
  margin-bottom: 25px;
  padding-left: 20px;
  position: relative;
}

.page-blog-hi8-game-introduction__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold, #F3C54D);
  font-weight: bold;
}

.page-blog-hi8-game-introduction__list--dark li::before {
  color: var(--deep-red, #7E0D0D);
}

.page-blog-hi8-game-introduction__list-title {
  font-size: 1.3em;
  margin-bottom: 5px;
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-game-introduction__list-title--dark {
  color: #333333;
}

.page-blog-hi8-game-introduction__list p {
  font-size: 1em;
  margin-top: 5px;
}

.page-blog-hi8-game-introduction__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-blog-hi8-game-introduction__ordered-list li {
  margin-bottom: 25px;
}

.page-blog-hi8-game-introduction__ordered-list h3 {
  color: var(--gold, #F3C54D);
}

.page-blog-hi8-game-introduction__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-hi8-game-introduction__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

details.page-blog-hi8-game-introduction__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border, #6A1E1E);
  overflow: hidden;
  background-color: var(--card-b-g, #2A1212);
  color: var(--text-main, #FFF1E8);
}
details.page-blog-hi8-game-introduction__faq-item summary.page-blog-hi8-game-introduction__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-hi8-game-introduction__faq-item summary.page-blog-hi8-game-introduction__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-hi8-game-introduction__faq-item summary.page-blog-hi8-game-introduction__faq-question:hover {
  background-color: var(--deep-red, #7E0D0D);
}
.page-blog-hi8-game-introduction__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold, #F3C54D);
}
.page-blog-hi8-game-introduction__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F3C54D);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-hi8-game-introduction__faq-item .page-blog-hi8-game-introduction__faq-answer {
  padding: 0 20px 20px;
  background-color: var(--background, #140C0C);
  color: var(--text-main, #FFF1E8);
  border-radius: 0 0 5px 5px;
  text-align: left;
}

.page-blog-hi8-game-introduction__faq-answer p {
  margin: 0;
}

/* Image and Button Responsive Styles */
.page-blog-hi8-game-introduction img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-hi8-game-introduction__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-hi8-game-introduction__hero-image img {
    border-radius: 4px;
  }
  
  .page-blog-hi8-game-introduction__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-hi8-game-introduction__section {
    padding: 30px 15px;
  }

  .page-blog-hi8-game-introduction__section-title {
    font-size: 1.8em;
  }

  .page-blog-hi8-game-introduction__sub-title {
    font-size: 1.5em;
  }

  .page-blog-hi8-game-introduction__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-hi8-game-introduction__grid-item {
    padding: 20px;
  }

  .page-blog-hi8-game-introduction__card-title {
    font-size: 1.3em;
  }

  .page-blog-hi8-game-introduction__list li {
    padding-left: 15px;
  }

  .page-blog-hi8-game-introduction__list li::before {
    font-size: 0.9em;
  }

  .page-blog-hi8-game-introduction__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hi8-game-introduction__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-blog-hi8-game-introduction__faq-item summary.page-blog-hi8-game-introduction__faq-question { padding: 15px; }
  .page-blog-hi8-game-introduction__faq-qtext { font-size: 15px; }

  .page-blog-hi8-game-introduction img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-hi8-game-introduction__section,
  .page-blog-hi8-game-introduction__card,
  .page-blog-hi8-game-introduction__container,
  .page-blog-hi8-game-introduction__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hi8-game-introduction__list,
  .page-blog-hi8-game-introduction__ordered-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hi8-game-introduction__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}