/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

.page-news__hero-section {
  background: linear-gradient(135deg, #1A237E, #5f65a5); /* Main color with a lighter variant */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:78bet,abstract,geometric,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.page-news__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A237E; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__hero-button:hover {
  background-color: #e5c100; /* Darker gold on hover */
  transform: translateY(-3px);
}

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

.page-news__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-news__featured-articles {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

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

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

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

.page-news__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #1A237E;
  font-weight: bold;
}

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

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

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

.page-news__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover {
  color: #1A237E;
}

.page-news__latest-updates {
  padding: 60px 0;
}

.page-news__update-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.page-news__update-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .page-news__update-item {
    flex-direction: row;
  }
}

.page-news__update-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .page-news__update-image {
    width: 35%;
    min-width: 280px;
    height: auto;
    border-radius: 12px 0 0 12px;
  }
}

.page-news__update-content {
  padding: 25px;
  flex-grow: 1;
}

.page-news__update-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__update-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-news__update-title a:hover {
  color: #FFD700;
}

.page-news__update-date {
  font-size: 0.85em;
  color: #999999;
  margin-bottom: 15px;
}

.page-news__update-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-news__pagination {
  text-align: center;
  margin-top: 50px;
}

.page-news__pagination-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #f0f0f0;
  color: #1A237E;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__pagination-link:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-news__pagination-link--active {
  background-color: #FFD700;
  color: #1A237E;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-news__cta-section {
  background: linear-gradient(45deg, #1A237E, #5f65a5);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:78bet,abstract,light_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-news__cta-content {
  position: relative;
  z-index: 1;
}

.page-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-news__cta-description {
  font-size: 1.15em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button--primary {
  background-color: #FFD700;
  color: #1A237E;
}

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

.page-news__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-news__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
  transform: translateY(-3px);
}

.page-news__about-us-summary {
  padding: 60px 0 80px;
  background-color: #f9f9f9;
}

.page-news__text-content {
  font-size: 1.05em;
  color: #444444;
  margin-bottom: 25px;
  text-align: justify;
}

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

@media (max-width: 768px) {
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__hero-section {
    padding: 80px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin: 40px 0 30px;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__update-image {
    height: 200px;
    border-radius: 12px 12px 0 0;
  }
  .page-news__update-item {
    flex-direction: column;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__cta-description {
    font-size: 1em;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-news__cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-news__text-content {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
  .page-news__update-title {
    font-size: 1.4em;
  }
  .page-news__pagination-link {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9em;
  }
  .page-news__cta-title {
    font-size: 1.6em;
  }
}