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

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-news-latest-industry-news {
  color: var(--text-color-light); /* Body background is dark #121212, so use light text */
  background-color: var(--background-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Account for fixed header on desktop */
}

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

.page-news-latest-industry-news__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news-latest-industry-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-latest-industry-news__hero-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__hero-cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-news__section-title {
  font-size: 2.5em;
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-news-latest-industry-news__featured-news-section,
.page-news-latest-industry-news__latest-articles-section,
.page-news-latest-industry-news__industry-analysis-section,
.page-news-latest-industry-news__platform-updates-section,
.page-news-latest-industry-news__responsible-gambling-section {
  padding: 40px 0;
}

.page-news-latest-industry-news__featured-article {
  display: flex;
  flex-direction: column;
  background-color: var(--card-background-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 60px;
  color: var(--text-color-light);
}

.page-news-latest-industry-news__featured-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.page-news-latest-industry-news__featured-content {
  padding: 30px;
}

.page-news-latest-industry-news__article-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: bold;
}

.page-news-latest-industry-news__article-title a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-latest-industry-news__article-title a:hover {
  color: var(--secondary-color);
}

.page-news-latest-industry-news__article-meta {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-news-latest-industry-news__article-excerpt {
  margin-bottom: 20px;
}

.page-news-latest-industry-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news-latest-industry-news__read-more-button:hover {
  background-color: #0056b3;
}

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

.page-news-latest-industry-news__article-card {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  color: var(--text-color-light);
}

.page-news-latest-industry-news__article-card:hover {
  transform: translateY(-5px);
}

.page-news-latest-industry-news__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news-latest-industry-news__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news-latest-industry-news__card-content .page-news-latest-industry-news__article-title {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-news-latest-industry-news__card-content .page-news-latest-industry-news__article-meta {
  font-size: 0.85em;
  margin-bottom: 10px;
}

.page-news-latest-industry-news__card-content .page-news-latest-industry-news__article-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news-latest-industry-news__card-content .page-news-latest-industry-news__read-more-button {
  margin-top: auto; /* Push button to bottom */
}

.page-news-latest-industry-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news-latest-industry-news__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-news-latest-industry-news__view-all-button:hover {
  background-color: #e0a800;
}

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

.page-news-latest-industry-news__analysis-item {
  background-color: var(--card-background-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
}

.page-news-latest-industry-news__analysis-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-news-latest-industry-news__analysis-text {
  margin-bottom: 20px;
}

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

.page-news-latest-industry-news__update-item {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
}

.page-news-latest-industry-news__update-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-news-latest-industry-news__update-title {
  font-size: 1.4em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-news-latest-industry-news__update-title a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-latest-industry-news__update-title a:hover {
  color: var(--secondary-color);
}

.page-news-latest-industry-news__update-text {
  padding: 0 20px 20px;
  margin-bottom: 15px;
}

.page-news-latest-industry-news__update-item .page-news-latest-industry-news__read-more-button {
  margin: 0 20px 20px;
}

.page-news-latest-industry-news__intro-text {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-latest-industry-news__article-card--full-width {
  display: flex;
  flex-direction: row;
}

.page-news-latest-industry-news__article-card--full-width .page-news-latest-industry-news__card-image {
  width: 40%;
  height: auto;
}

.page-news-latest-industry-news__article-card--full-width .page-news-latest-industry-news__card-content {
  width: 60%;
  padding: 30px;
}

.page-news-latest-industry-news__cta-section {
  background: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
  margin-top: 60px;
}

.page-news-latest-industry-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news-latest-industry-news__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-latest-industry-news__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-news-latest-industry-news__cta-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news-latest-industry-news a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news-latest-industry-news a:hover {
  color: #e0a800;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-news-latest-industry-news__hero-title {
    font-size: 2.5em;
  }
  .page-news-latest-industry-news__section-title,
  .page-news-latest-industry-news__cta-title {
    font-size: 2em;
  }
  .page-news-latest-industry-news__featured-article {
    flex-direction: column;
  }
  .page-news-latest-industry-news__featured-image {
    height: 350px;
  }
  .page-news-latest-industry-news__article-card--full-width {
    flex-direction: column;
  }
  .page-news-latest-industry-news__article-card--full-width .page-news-latest-industry-news__card-image,
  .page-news-latest-industry-news__article-card--full-width .page-news-latest-industry-news__card-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news-latest-industry-news {
    padding-top: 100px !important; /* Account for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news-latest-industry-news__container {
    padding: 0 15px;
  }
  .page-news-latest-industry-news__hero-section {
    padding: 60px 0;
  }
  .page-news-latest-industry-news__hero-title {
    font-size: 2em;
  }
  .page-news-latest-industry-news__hero-description {
    font-size: 1em;
  }
  .page-news-latest-industry-news__hero-cta-button,
  .page-news-latest-industry-news__cta-button--primary,
  .page-news-latest-industry-news__view-all-button,
  .page-news-latest-industry-news__read-more-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-news-latest-industry-news__section-title,
  .page-news-latest-industry-news__cta-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-news-latest-industry-news__featured-image {
    height: 250px;
  }
  .page-news-latest-industry-news__featured-content {
    padding: 20px;
  }
  .page-news-latest-industry-news__article-title {
    font-size: 1.5em;
  }
  .page-news-latest-industry-news__card-image {
    height: 180px;
  }
  .page-news-latest-industry-news__card-content {
    padding: 15px;
  }
  .page-news-latest-industry-news__card-content .page-news-latest-industry-news__article-title {
    font-size: 1.1em;
  }
  .page-news-latest-industry-news__analysis-item {
    padding: 20px;
  }
  .page-news-latest-industry-news__update-image {
    height: 160px;
  }
  .page-news-latest-industry-news__cta-section {
    padding: 60px 0;
  }
  .page-news-latest-industry-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news-latest-industry-news__featured-news-section,
  .page-news-latest-industry-news__latest-articles-section,
  .page-news-latest-industry-news__industry-analysis-section,
  .page-news-latest-industry-news__platform-updates-section,
  .page-news-latest-industry-news__responsible-gambling-section,
  .page-news-latest-industry-news__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-news-latest-industry-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-news-latest-industry-news__hero-title {
    font-size: 1.8em;
  }
  .page-news-latest-industry-news__section-title,
  .page-news-latest-industry-news__cta-title {
    font-size: 1.5em;
  }
  .page-news-latest-industry-news__featured-image {
    height: 200px;
  }
  .page-news-latest-industry-news__article-title {
    font-size: 1.3em;
  }
}