/* style/industry-news.css */
.page-industry-news {
  font-family: Arial, sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  line-height: 1.6;
  background-color: #1A202C; /* Main dark background */
}

.page-industry-news__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #303C54 100%); /* Dark gradient */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-industry-news__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-industry-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent gold for title */
  font-weight: bold;
}

.page-industry-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #B0B0B0;
}

.page-industry-news__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent gold for CTA */
  color: #1A202C; /* Dark text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-industry-news__cta-button:hover {
  background-color: #E0C100; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-industry-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.page-industry-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.page-industry-news__articles-grid,
.page-industry-news__regulatory-updates,
.page-industry-news__market-analysis,
.page-industry-news__technology-innovation,
.page-industry-news__responsible-gambling,
.page-industry-news__xvip-insights {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-industry-news__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-industry-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

.page-industry-news__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-industry-news__article-card {
  background-color: #2A313F; /* Slightly lighter dark background for cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-industry-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-industry-news__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
  line-height: 1.3;
}

.page-industry-news__article-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-industry-news__article-title a:hover {
  color: #FFFFFF;
}

.page-industry-news__article-excerpt {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-industry-news__read-more,
.page-industry-news__read-more-full {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.page-industry-news__read-more:hover,
.page-industry-news__read-more-full:hover {
  background-color: #E0C100;
  transform: translateY(-1px);
}

.page-industry-news__content-block {
  background-color: #2A313F;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  color: #E0E0E0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.page-industry-news__content-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  flex: 1 1 100%; /* Default to full width */
}

.page-industry-news__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex: 1 1 40%; /* Take up about 40% width on larger screens */
  min-width: 300px; /* Minimum width for image */
}

.page-industry-news__content-image.left {
  order: -1; /* Image on left */
}

.page-industry-news__regulatory-updates .page-industry-news__content-block p,
.page-industry-news__responsible-gambling .page-industry-news__content-block p,
.page-industry-news__xvip-insights .page-industry-news__content-block p {
  flex: 1 1 100%;
}

.page-industry-news__cta-button--bottom {
  margin-top: 30px;
  align-self: center;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-industry-news__hero {
    padding: 120px 40px;
  }

  .page-industry-news__hero-title {
    font-size: 4em;
  }

  .page-industry-news__hero-description {
    font-size: 1.4em;
  }

  .page-industry-news__articles-grid,
  .page-industry-news__regulatory-updates,
  .page-industry-news__market-analysis,
  .page-industry-news__technology-innovation,
  .page-industry-news__responsible-gambling,
  .page-industry-news__xvip-insights {
    padding: 80px 40px;
  }

  .page-industry-news__section-title {
    font-size: 3em;
  }

  .page-industry-news__content-block p {
    flex: 1 1 50%; /* Adjust for two-column layout */
  }

  .page-industry-news__content-image {
    flex: 1 1 40%;
  }

  .page-industry-news__content-image.left + p {
    margin-left: 30px;
  }

  p + .page-industry-news__content-image.right {
    margin-left: 30px;
  }

  .page-industry-news__content-block.flex-reverse-on-mobile {
    flex-direction: row-reverse;
  }

  .page-industry-news__content-block.flex-reverse-on-mobile .page-industry-news__content-image {
    margin-right: 0;
    margin-left: 30px;
  }

  .page-industry-news__content-block.flex-reverse-on-mobile p {
    margin-right: 30px;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .page-industry-news__hero {
    padding: 60px 15px;
  }

  .page-industry-news__hero-title {
    font-size: 2.5em;
  }

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

  .page-industry-news__section-title {
    font-size: 2em;
  }

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

  .page-industry-news__article-card-wrapper {
    grid-template-columns: 1fr;
  }

  .page-industry-news__content-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-industry-news__content-image {
    order: -1; /* Image always on top on mobile */
  }

  .page-industry-news__content-image.left {
    order: -1;
  }
}