/* style/news-center.css */
.page-news-center {
  font-family: 'Arial', sans-serif;
  color: #2A2E43; /* Main text color */
  background-color: #f8f8f8; /* Light background for contrast */
  line-height: 1.6;
}

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

.page-news-center__hero {
  position: relative;
  background: linear-gradient(135deg, #2A2E43 0%, #4a506e 100%); /* Dark gradient for hero */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 450px;
}

.page-news-center__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-news-center__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news-center__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-news-center__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) blur(3px);
}

.page-news-center__btn {
  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;
  white-space: nowrap;
  font-size: 1.05em;
}

.page-news-center__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #2A2E43; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-news-center__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-news-center__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-news-center__btn--secondary:hover {
  background-color: #FFD700;
  color: #2A2E43;
}

.page-news-center__btn--tertiary {
  background-color: #2A2E43;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-news-center__btn--tertiary:hover {
  background-color: #FFD700;
  color: #2A2E43;
}

.page-news-center__introduction {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-news-center__section-title {
  font-size: 2.5em;
  color: #2A2E43;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news-center__section-subtitle {
  font-size: 1.2em;
  color: #6a6d7b;
  text-align: center;
  margin-bottom: 40px;
}

.page-news-center__text-content {
  font-size: 1.1em;
  color: #4a4a4a;
  margin-bottom: 20px;
  text-align: justify;
}

.page-news-center__cta-group {
  text-align: center;
  margin-top: 40px;
}

.page-news-center__news-grid {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-news-center__article-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-center__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-center__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-news-center__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #2A2E43;
  line-height: 1.3;
}

.page-news-center__article-title a {
  color: #2A2E43;
  text-decoration: none;
}

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

.page-news-center__article-excerpt {
  font-size: 1em;
  color: #4a4a4a;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-center__btn--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* Push button to bottom */
}

.page-news-center__btn--link:hover {
  color: #e6c200;
}

.page-news-center__text-link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-news-center__text-link:hover {
  color: #e6c200;
}

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

.page-news-center__pagination-link {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #2A2E43;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-news-center__pagination-link:hover {
  background-color: #FFD700;
  color: #2A2E43;
  border-color: #FFD700;
}

.page-news-center__pagination-link--active {
  background-color: #FFD700;
  color: #2A2E43;
  border-color: #FFD700;
  font-weight: bold;
}

.page-news-center__cta-banner {
  position: relative;
  background: linear-gradient(90deg, #2A2E43 0%, #4a506e 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-news-center__cta-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.page-news-center__cta-banner-content {
  position: relative;
  z-index: 2;
}

.page-news-center__cta-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-center__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.text-highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news-center__hero-title {
    font-size: 2.8em;
  }
  .page-news-center__hero-description {
    font-size: 1.1em;
  }
  .page-news-center__section-title {
    font-size: 2em;
  }
  .page-news-center__cta-title {
    font-size: 2.2em;
  }
  .page-news-center__cta-description {
    font-size: 1.1em;
  }
  .page-news-center__btn--secondary,
  .page-news-center__btn--tertiary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-news-center__cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-news-center__hero {
    padding: 60px 0;
  }
  .page-news-center__hero-title {
    font-size: 2.2em;
  }
  .page-news-center__hero-description {
    font-size: 1em;
  }
  .page-news-center__btn {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-news-center__articles {
    grid-template-columns: 1fr;
  }
  .page-news-center__article-title {
    font-size: 1.3em;
  }
  .page-news-center__cta-title {
    font-size: 1.8em;
  }
  .page-news-center__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news-center__cta-buttons .page-news-center__btn {
    margin: 0;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-news-center__hero-title {
    font-size: 1.8em;
  }
  .page-news-center__section-title {
    font-size: 1.8em;
  }
  .page-news-center__cta-title {
    font-size: 1.5em;
  }
  .page-news-center__hero-content,
  .page-news-center__container {
    padding: 0 15px;
  }
}