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

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

.page-news__hero {
  background-color: #1A237E; /* Main brand color */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-news__hero-content {
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary brand color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-news__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-news__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary brand color */
  color: #1A237E; /* Text on auxiliary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFC107;
}

.page-news__cta-button:hover {
  background-color: #e5ac00;
  transform: translateY(-3px);
}

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

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

.page-news__intro-section,
.page-news__responsible-gambling,
.page-news__about-hello88 {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-news__intro-section p,
.page-news__responsible-gambling p,
.page-news__about-hello88 p {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.1em;
  color: #444;
}

.page-news__section-heading {
  font-size: 2.5em;
  color: #1A237E; /* Main brand color */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-news__section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-news__articles-grid {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-news__article-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__article-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #1A237E; /* Main brand color */
  line-height: 1.3;
}

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

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

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

.page-news__read-more {
  display: inline-block;
  background-color: #1A237E; /* Main brand color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover {
  background-color: #3b45a0;
}

.page-news__cta-banner {
  background-color: #FFC107; /* Auxiliary brand color */
  color: #1A237E; /* Text on auxiliary color */
  padding: 70px 0;
  text-align: center;
}

.page-news__section-heading--white {
  color: #1A237E;
}

.page-news__section-heading--white::after {
  background-color: #1A237E;
}

.page-news__cta-text {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button--secondary {
  background-color: #1A237E; /* Main brand color */
  color: #FFC107; /* Text on main color */
  border-color: #1A237E;
}

.page-news__cta-button--secondary:hover {
  background-color: #3b45a0;
  border-color: #3b45a0;
  color: #FFC107;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__title {
    font-size: 3em;
  }
  .page-news__description {
    font-size: 1.2em;
  }
  .page-news__section-heading {
    font-size: 2em;
  }
  .page-news__article-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-news__hero {
    padding: 60px 0;
  }
  .page-news__title {
    font-size: 2.5em;
  }
  .page-news__description {
    font-size: 1.1em;
  }
  .page-news__grid {
    grid-template-columns: 1fr;
  }
  .page-news__section-heading {
    font-size: 1.8em;
  }
  .page-news__intro-section, 
  .page-news__responsible-gambling,
  .page-news__about-hello88 {
    padding: 40px 0;
  }
  .page-news__cta-banner {
    padding: 50px 0;
  }
  .page-news__cta-text {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-news__title {
    font-size: 2em;
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__section-heading {
    font-size: 1.6em;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__article-summary {
    font-size: 0.9em;
  }
  .page-news__read-more {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  .page-news__cta-text {
    font-size: 1em;
  }
}