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

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

.page-news__hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-news__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
  letter-spacing: 0.5px;
}

.page-news__btn--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for contrast */
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

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

.page-news__section {
  padding: 60px 0;
}

.page-news__section--intro {
  background-color: #f1f7fe; /* Lighter blue variant */
}

.page-news__section-title {
  font-size: 2.5em;
  color: #0056b3; /* Darker blue for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-news__sub-title {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-news__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-news__content-grid--reverse {
  grid-template-areas: 'image text';
}

.page-news__content-grid--reverse .page-news__text-content { grid-area: text; }
.page-news__content-grid--reverse .page-news__image-wrapper { grid-area: image; }

.page-news__image-wrapper {
  text-align: center;
}

.page-news__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-news__image:hover {
  transform: scale(1.02);
}

.page-news__section--articles {
  background-color: #fff;
}

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

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

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

.page-news__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

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

.page-news__article-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.page-news__article-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

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

.page-news__btn--secondary {
  background-color: #f0f0f0;
  color: #007bff;
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start;
}

.page-news__btn--secondary:hover {
  background-color: #e2e6ea;
  color: #0056b3;
}

.page-news__cta-banner {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 50px 30px;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.page-news__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #fff;
}

.page-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-news__btn--cta {
  background-color: #ffc107;
  color: #0056b3;
  font-size: 1.2em;
  padding: 18px 35px;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.page-news__btn--cta:hover {
  background-color: #e0a800;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

.page-news__section--tips {
  background-color: #fff;
}

.page-news__section--call-to-action {
  background: linear-gradient(135deg, #0056b3, #007bff);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.page-news__section-title--light {
  color: #ffc107;
}

.page-news__description--light {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-news__btn--cta-large {
  background-color: #ffc107;
  color: #0056b3;
  padding: 20px 40px;
  font-size: 1.3em;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.page-news__btn--cta-large:hover {
  background-color: #e0a800;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.6);
}

.page-news__btn--cta-download {
  background-color: #fff;
  color: #007bff;
}

.page-news__btn--cta-download:hover {
  background-color: #e9ecef;
  color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news__hero-title {
    font-size: 2.5em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-news__content-grid--reverse {
    grid-template-areas: unset;
  }
  .page-news__image-wrapper {
    order: -1; /* Image appears before text on smaller screens */
  }
  .page-news__cta-banner {
    padding: 40px 20px;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__btn--cta-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .page-news__hero {
    padding: 60px 0;
  }
  .page-news__hero-title {
    font-size: 2em;
  }
  .page-news__hero-description {
    font-size: 1.1em;
  }
  .page-news__section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__sub-title {
    font-size: 1.5em;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 1.3em;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn--cta-large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.6em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__btn--primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__sub-title {
    font-size: 1.3em;
  }
  .page-news__text-content p {
    font-size: 0.95em;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__cta-title {
    font-size: 1.5em;
  }
  .page-news__cta-description {
    font-size: 1em;
  }
}