/* style/blog-gh88-introduction.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-color-login: #EA7C07;
}

.page-blog-gh88-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Assuming body background is light for default text color */
}

.page-blog-gh88-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-gh88-introduction__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-gh88-introduction__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-gh88-introduction__section-text {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog-gh88-introduction__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px; /* Add some padding below content before image */
}

.page-blog-gh88-introduction__hero-content {
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
  z-index: 1;
}

.page-blog-gh88-introduction__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Use clamp for H1 font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-gh88-introduction__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-gh88-introduction__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-blog-gh88-introduction__btn-primary,
.page-blog-gh88-introduction__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-gh88-introduction__btn-primary {
  background-color: var(--accent-color-login);
  color: var(--text-light);
  border: 2px solid var(--accent-color-login);
  margin: 0 10px;
}

.page-blog-gh88-introduction__btn-primary:hover {
  background-color: #d86c00;
  border-color: #d86c00;
  transform: translateY(-2px);
}

.page-blog-gh88-introduction__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 0 10px;
}

.page-blog-gh88-introduction__btn-secondary:hover {
  background-color: #e0f2f7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

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

/* Introduction Section */
.page-blog-gh88-introduction__introduction-section {
  background-color: var(--secondary-color);
}

/* Features Section */
.page-blog-gh88-introduction__features-section {
  background-color: #f5fafd;
}

.page-blog-gh88-introduction__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-gh88-introduction__feature-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-gh88-introduction__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-gh88-introduction__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-gh88-introduction__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-blog-gh88-introduction__feature-description {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Game Categories Section */
.page-blog-gh88-introduction__game-categories {
  background-color: var(--secondary-color);
}

.page-blog-gh88-introduction__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-gh88-introduction__category-card {
  display: flex;
  flex-direction: column;
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-blog-gh88-introduction__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-blog-gh88-introduction__category-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-blog-gh88-introduction__category-description {
  font-size: 15px;
  color: #666;
  margin: 0 20px 20px;
}

/* Contact CTA Section */
.page-blog-gh88-introduction__contact-cta {
  background-color: #f5fafd;
  padding: 40px 0;
}

.page-blog-gh88-introduction__contact-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-blog-gh88-introduction__contact-title {
  margin: 0;
  font-size: 30px;
  color: var(--primary-color);
}

/* FAQ Section */
.page-blog-gh88-introduction__faq-section {
  background-color: var(--secondary-color);
}

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

details.page-blog-gh88-introduction__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-blog-gh88-introduction__faq-item summary.page-blog-gh88-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-gh88-introduction__faq-item summary.page-blog-gh88-introduction__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-gh88-introduction__faq-item summary.page-blog-gh88-introduction__faq-question:hover {
  background: #f5f5f5;
}

.page-blog-gh88-introduction__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-dark);
}

.page-blog-gh88-introduction__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-gh88-introduction__faq-item .page-blog-gh88-introduction__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-gh88-introduction__section-title {
    font-size: 32px;
  }
  .page-blog-gh88-introduction__hero-content {
    padding: 0 30px;
  }
  .page-blog-gh88-introduction__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-blog-gh88-introduction__hero-description {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  .page-blog-gh88-introduction__feature-card {
    padding: 25px;
  }
  .page-blog-gh88-introduction__feature-title {
    font-size: 20px;
  }
  .page-blog-gh88-introduction__category-card h3 {
    font-size: 18px;
  }
  .page-blog-gh88-introduction__contact-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-blog-gh88-introduction__hero-section {
    padding-top: 10px !important; /* Small top padding as per rule */
    padding-bottom: 30px;
  }
  .page-blog-gh88-introduction__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog-gh88-introduction__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
  }
  .page-blog-gh88-introduction__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Section and Container */
  .page-blog-gh88-introduction__section {
    padding: 40px 0;
  }
  .page-blog-gh88-introduction__section-title {
    font-size: 28px;
  }
  .page-blog-gh88-introduction__section-text {
    font-size: 16px;
    padding: 0 15px;
  }
  .page-blog-gh88-introduction__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .page-blog-gh88-introduction__btn-primary,
  .page-blog-gh88-introduction__btn-secondary,
  .page-blog-gh88-introduction a[class*="button"],
  .page-blog-gh88-introduction 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: 12px 20px;
    font-size: 16px;
    margin: 10px 0 !important; /* Override desktop margins */
  }
  .page-blog-gh88-introduction__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Features Section */
  .page-blog-gh88-introduction__features-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-blog-gh88-introduction__feature-card {
    padding: 20px;
  }
  .page-blog-gh88-introduction__feature-icon {
    max-width: 180px;
  }
  .page-blog-gh88-introduction__feature-title {
    font-size: 20px;
  }

  /* Game Categories Section */
  .page-blog-gh88-introduction__categories-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-blog-gh88-introduction__category-image {
    height: 180px;
  }
  .page-blog-gh88-introduction__category-card h3 {
    font-size: 18px;
  }
  .page-blog-gh88-introduction__category-description {
    font-size: 14px;
  }

  /* Contact CTA */
  .page-blog-gh88-introduction__contact-flex {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog-gh88-introduction__contact-title {
    font-size: 24px;
    text-align: center;
  }

  /* FAQ Section */
  details.page-blog-gh88-introduction__faq-item summary.page-blog-gh88-introduction__faq-question {
    padding: 15px;
  }
  .page-blog-gh88-introduction__faq-qtext {
    font-size: 15px;
  }
  .page-blog-gh88-introduction__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog-gh88-introduction__faq-item .page-blog-gh88-introduction__faq-answer {
    padding: 0 15px 15px;
  }

  /* Universal Image Rule for content area */
  .page-blog-gh88-introduction img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}