/* style/industry-news.css */
.page-industry-news {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-industry-news__hero {
  background: linear-gradient(135deg, #0A2463, #3b5998);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-industry-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-industry-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

.page-industry-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

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

.page-industry-news__hero > .page-industry-news__container {
  position: relative;
  z-index: 1;
}

.page-industry-news__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-industry-news__introduction,
.page-industry-news__news-categories,
.page-industry-news__responsible-gambling,
.page-industry-news__cta {
  padding: 60px 0;
}

.page-industry-news__introduction {
  background-color: #ffffff;
}

.page-industry-news__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
  text-align: justify;
}

.page-industry-news__list {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: #555;
}

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

.page-industry-news__list-highlight {
  color: #0A2463;
}

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

.page-industry-news__news-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-industry-news__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-industry-news__card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-industry-news__card-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-industry-news__card-link {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-industry-news__card-link:hover {
  color: #FFD700;
}

.page-industry-news__card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-industry-news__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  font-size: 1.05em;
}

.page-industry-news__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-industry-news__button--primary:hover {
  background-color: #e6c200;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-industry-news__button--secondary {
  background-color: #0A2463;
  color: #ffffff;
  border: 2px solid #0A2463;
}

.page-industry-news__button--secondary:hover {
  background-color: #1a3a7a;
  border-color: #1a3a7a;
  transform: translateY(-2px);
}

.page-industry-news__button--tertiary {
  background-color: transparent;
  color: #0A2463;
  border: 2px solid #0A2463;
}

.page-industry-news__button--tertiary:hover {
  background-color: #0A2463;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-industry-news__responsible-gambling {
  background-color: #f0f2f5;
}

.page-industry-news__image--inline {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-industry-news__cta {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-industry-news__cta .page-industry-news__section-title {
  color: #FFD700;
}

.page-industry-news__cta .page-industry-news__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Floating Ad */
.page-industry-news__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-width: 300px;
  z-index: 1000;
  display: none; /* Hidden by default, shown by JS */
  animation: page-industry-news-slideIn 0.5s forwards;
}

.page-industry-news__floating-ad-content {
  text-align: center;
}

.page-industry-news__floating-ad-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #0A2463;
}

.page-industry-news__floating-ad-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333;
}

.page-industry-news__floating-ad-button {
  display: inline-block;
  background-color: #0A2463;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-industry-news__floating-ad-button:hover {
  background-color: #1a3a7a;
}

.page-industry-news__floating-ad-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #0A2463;
  font-weight: bold;
}

@keyframes page-industry-news-slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-industry-news__hero-title {
    font-size: 2.5em;
  }

  .page-industry-news__hero-description,
  .page-industry-news__text-content,
  .page-industry-news__list li {
    font-size: 1em;
  }

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

  .page-industry-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-industry-news__news-card {
    padding: 20px;
  }

  .page-industry-news__card-title {
    font-size: 1.4em;
  }

  .page-industry-news__button {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-industry-news__floating-ad {
    bottom: 10px;
    right: 10px;
    max-width: 90%;
    width: auto;
  }
}

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

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

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

  .page-industry-news__list {
    margin-left: 20px;
  }

  .page-industry-news__image--inline {
    max-width: 95%;
  }
}