/* style/news-industry-trends.css */
.page-news-industry-trends {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

.page-news-industry-trends__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news-industry-trends__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-news-industry-trends__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-news-industry-trends__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-news-industry-trends__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-industry-trends__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

/* General Section Title */
.page-news-industry-trends__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #26A9E0;
  padding-top: 40px;
}

/* Buttons */
.page-news-industry-trends__btn-primary,
.page-news-industry-trends__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news-industry-trends__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin: 10px;
}

.page-news-industry-trends__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-news-industry-trends__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 10px;
}

.page-news-industry-trends__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Sections */
.page-news-industry-trends__content-section {
  padding: 60px 0;
}

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

.page-news-industry-trends__grid-item {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-news-industry-trends__grid-item .page-news-industry-trends__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news-industry-trends__item-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-news-industry-trends__text-block {
  font-size: 1em;
  color: #cccccc;
  text-align: left;
}

/* Card Layout for Hot Games */
.page-news-industry-trends__card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-news-industry-trends__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-news-industry-trends__card-title {
  font-size: 1.5em;
  margin: 15px 15px 10px;
  color: #26A9E0;
}

.page-news-industry-trends__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-news-industry-trends__card-title a:hover {
  text-decoration: underline;
}

.page-news-industry-trends__card .page-news-industry-trends__text-block {
  padding: 0 15px 15px;
  color: #333333;
}

/* Article Grid */
.page-news-industry-trends__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-industry-trends__article-item {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-news-industry-trends__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news-industry-trends__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Promotions Section */
.page-news-industry-trends__promotions-section {
  padding: 60px 0;
}

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

.page-news-industry-trends__promotion-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #333333;
  text-align: center;
}

.page-news-industry-trends__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-news-industry-trends__promotion-title {
  font-size: 1.5em;
  margin: 15px 15px 10px;
  color: #26A9E0;
}

.page-news-industry-trends__promotion-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-news-industry-trends__promotion-title a:hover {
  text-decoration: underline;
}

.page-news-industry-trends__promotion-card .page-news-industry-trends__text-block {
  padding: 0 15px 15px;
  color: #333333;
}

/* Call to Action Section */
.page-news-industry-trends__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-news-industry-trends__cta-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-news-industry-trends__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-news-industry-trends__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-news-industry-trends__faq-section {
  padding: 60px 0;
}

.page-news-industry-trends__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-industry-trends__faq-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-news-industry-trends__faq-question:hover {
  background-color: #f0f0f0;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-toggle {
  transform: rotate(0deg);
}

.page-news-industry-trends__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #f5f5f5;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-news-industry-trends__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-trends__hero-title {
    font-size: 2.8em;
  }
  .page-news-industry-trends__section-title {
    font-size: 2em;
  }
  .page-news-industry-trends__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news-industry-trends {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news-industry-trends__container {
    padding: 0 15px;
  }
  .page-news-industry-trends__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news-industry-trends__hero-title {
    font-size: 2.2em;
  }
  .page-news-industry-trends__hero-description {
    font-size: 1em;
  }
  .page-news-industry-trends__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-news-industry-trends__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news-industry-trends__grid-item,
  .page-news-industry-trends__card,
  .page-news-industry-trends__article-item,
  .page-news-industry-trends__promotion-card {
    padding: 20px;
  }
  .page-news-industry-trends__grid-item .page-news-industry-trends__image,
  .page-news-industry-trends__card-image,
  .page-news-industry-trends__article-image,
  .page-news-industry-trends__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-industry-trends__grid-layout,
  .page-news-industry-trends__article-grid,
  .page-news-industry-trends__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news-industry-trends__cta-title {
    font-size: 2em;
  }
  .page-news-industry-trends__cta-description {
    font-size: 1em;
  }
  .page-news-industry-trends__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-news-industry-trends__faq-answer {
    padding: 0 20px;
  }
  .page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
    padding: 15px 20px;
  }
  .page-news-industry-trends__section,
  .page-news-industry-trends__card,
  .page-news-industry-trends__container,
  .page-news-industry-trends__hero-section,
  .page-news-industry-trends__content-section,
  .page-news-industry-trends__promotions-section,
  .page-news-industry-trends__cta-section,
  .page-news-industry-trends__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}