/* style/news-industry-updates.css */

:root {
  --primary-color: #FF4500;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-news-industry-updates {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css, ensures contrast */
}

/* Fixed header padding */
.page-news-industry-updates__hero-section {
  padding-top: 120px; /* Adjust based on header height */
}

.page-news-industry-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-news-industry-updates__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news-industry-updates__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.page-news-industry-updates__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-news-industry-updates__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.page-news-industry-updates__content-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 20px;
  line-height: 1.7;
}

.page-news-industry-updates__article p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-news-industry-updates__article ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-news-industry-updates__article li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-news-industry-updates__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
  padding-top: 30px;
}

.page-news-industry-updates__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-news-industry-updates__link-inline {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news-industry-updates__link-inline:hover {
  color: #cc3700; /* Darker primary color */
  text-decoration: underline;
}

/* Image Styling */
.page-news-industry-updates__image-wrapper {
  margin: 30px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-industry-updates__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Game Cards */
.page-news-industry-updates__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-news-industry-updates__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-news-industry-updates__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news-industry-updates__card-title {
  font-size: 1.4em;
  font-weight: bold;
  padding: 15px 20px 10px;
  color: var(--primary-color);
}

.page-news-industry-updates__card p {
  font-size: 1em;
  padding: 0 20px 15px;
  margin-bottom: 0;
}

.page-news-industry-updates__button-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: 600;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-news-industry-updates__button-small:hover {
  background: #cc3700;
}

/* Reasons Section */
.page-news-industry-updates__reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-news-industry-updates__reason-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-news-industry-updates__reason-item:hover {
  transform: translateY(-5px);
}

.page-news-industry-updates__reason-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news-industry-updates__reason-item p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Bottom CTA */
.page-news-industry-updates__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 40px;
}

.page-news-industry-updates__cta-button--large {
  padding: 18px 50px;
  font-size: 1.4em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-updates__main-title {
    font-size: 2.8em;
  }
  .page-news-industry-updates__subtitle {
    font-size: 1.2em;
  }
  .page-news-industry-updates__section-title {
    font-size: 2em;
  }
  .page-news-industry-updates__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-news-industry-updates__hero-section {
    padding-top: 100px !important; /* Mobile header padding */
    padding: 60px 15px;
  }

  .page-news-industry-updates__main-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }

  .page-news-industry-updates__subtitle {
    font-size: 1em !important;
    margin-bottom: 30px;
  }

  .page-news-industry-updates__cta-button {
    padding: 12px 30px !important;
    font-size: 1em !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news-industry-updates__content-section {
    padding: 40px 15px;
  }

  .page-news-industry-updates__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
    padding-top: 20px;
  }

  .page-news-industry-updates__sub-title {
    font-size: 1.4em !important;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-news-industry-updates__article p,
  .page-news-industry-updates__article li {
    font-size: 1em;
  }

  .page-news-industry-updates__game-cards,
  .page-news-industry-updates__reasons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-updates__card-image {
    height: 180px;
  }

  .page-news-industry-updates__card-title {
    font-size: 1.2em;
    padding: 10px 15px 8px;
  }

  .page-news-industry-updates__card p {
    padding: 0 15px 10px;
  }

  .page-news-industry-updates__button-small {
    margin: 0 15px 15px;
    padding: 8px 15px;
    font-size: 0.85em;
  }
  
  .page-news-industry-updates__image-wrapper,
  .page-news-industry-updates__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-news-industry-updates__cta-bottom {
    margin-top: 40px;
    padding-bottom: 20px;
  }

  .page-news-industry-updates__cta-button--large {
    font-size: 1.2em !important;
    padding: 15px 30px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-news-industry-updates__main-title {
    font-size: 1.8em !important;
  }
  .page-news-industry-updates__subtitle {
    font-size: 0.9em !important;
  }
  .page-news-industry-updates__section-title {
    font-size: 1.5em !important;
  }
  .page-news-industry-updates__sub-title {
    font-size: 1.2em !important;
  }
}