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

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

/* Hero Section */
.page-index-latest-news__hero-section {
  background: linear-gradient(135deg, #0A2342 0%, #2A4A6A 100%); /* Dark blue gradient */
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold for emphasis */
  line-height: 1.2;
}

.page-index-latest-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Section Titles */
.page-index-latest-news__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Deep blue for titles */
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-latest-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-index-latest-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -40px auto 60px auto;
  color: #555;
}

/* Buttons */
.page-index-latest-news__btn {
  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;
  border: none;
  text-align: center;
}

.page-index-latest-news__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A2342; /* Deep blue text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-news__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-latest-news__btn--secondary {
  background-color: #0A2342; /* Deep blue background */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-latest-news__btn--secondary:hover {
  background-color: #1A3F6A;
  border-color: #FFD700;
  transform: translateY(-3px);
}

/* Latest Articles Section */
.page-index-latest-news__latest-articles-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index-latest-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-index-latest-news__article-card {
  background-color: #FDFDFD;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-latest-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-index-latest-news__article-title {
  font-size: 1.6em;
  color: #0A2342;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index-latest-news__article-summary {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Limit to 6 lines */
  -webkit-box-orient: vertical;
}

.page-index-latest-news__article-card .page-index-latest-news__btn {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
}

/* Industry Insights Section */
.page-index-latest-news__industry-insights-section {
  background-color: #F0F4F8;
  padding: 80px 0;
}

.page-index-latest-news__insight-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-latest-news__insight-image {
  width: 100%;
  max-width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-index-latest-news__insight-title {
  font-size: 2em;
  color: #0A2342;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-latest-news__insight-text {
  font-size: 1.1em;
  color: #444;
  line-height: 1.8;
  max-width: 900px;
}

.page-index-latest-news__cta-banner {
  background: linear-gradient(90deg, #FFD700 0%, #E6C200 100%); /* Gold gradient */
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.page-index-latest-news__cta-title {
  font-size: 2.2em;
  color: #0A2342;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-news__cta-description {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 30px;
}

/* Responsible Gaming Section */
.page-index-latest-news__responsible-gaming-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Newsletter Section */
.page-index-latest-news__newsletter-section {
  background-color: #0A2342; /* Deep blue background */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-index-latest-news__newsletter-section .page-index-latest-news__section-title {
  color: #FFD700; /* Gold title */
}

.page-index-latest-news__newsletter-section .page-index-latest-news__section-title::after {
  background-color: #FFFFFF;
}

.page-index-latest-news__newsletter-section .page-index-latest-news__section-description {
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-index-latest-news__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.page-index-latest-news__email-input {
  padding: 15px 20px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  font-size: 1.1em;
  width: 100%;
  max-width: 350px;
  background-color: #1A3F6A;
  color: #FFFFFF;
  outline: none;
}

.page-index-latest-news__email-input::placeholder {
  color: #BBB;
}

/* Keyword highlighting */
.page-index-latest-news__keyword {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-news__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-news__section-title {
    font-size: 2em;
  }
  .page-index-latest-news__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-latest-news__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero-section {
    padding: 80px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-index-latest-news__section-description {
    font-size: 1em;
    margin: -30px auto 40px auto;
  }
  .page-index-latest-news__article-image {
    height: 180px;
  }
  .page-index-latest-news__article-title {
    font-size: 1.4em;
  }
  .page-index-latest-news__insight-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__insight-text {
    font-size: 1em;
  }
  .page-index-latest-news__newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  .page-index-latest-news__email-input {
    max-width: 100%;
  }
  .page-index-latest-news__btn {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-section {
    padding: 60px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__hero-description {
    font-size: 0.95em;
  }
  .page-index-latest-news__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-index-latest-news__article-content {
    padding: 20px;
  }
  .page-index-latest-news__article-title {
    font-size: 1.2em;
  }
  .page-index-latest-news__article-summary {
    font-size: 0.9em;
    -webkit-line-clamp: 5; /* Adjust for smaller screens */
  }
  .page-index-latest-news__insight-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__cta-banner {
    padding: 30px;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.6em;
  }
  .page-index-latest-news__cta-description {
    font-size: 1em;
  }
  .page-index-latest-news__newsletter-form {
    gap: 10px;
  }
}