.page-news {
  background-color: #08162B;
  color: #F3F8FF;
  font-family: Arial, sans-serif;
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding to respect header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  max-height: 600px;
}

.page-news__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: bold;
  line-height: 1.2;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-news__description {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  margin: 0 auto;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-news__latest-news-section {
  padding: 40px 0;
}

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

.page-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-news__news-card {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__card-title a {
  color: #F3F8FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #4FA8FF;
}

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

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

.page-news__read-more {
  display: inline-block;
  color: #4FA8FF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news__view-all-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-news__view-all-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-news__cta-section {
  background-color: #113B7A;
  padding: 60px 0;
  margin-top: 40px;
}

.page-news__cta-section .page-news__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.page-news__cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-news__cta-title {
  font-size: 2.2em;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
}

.page-news__cta-image {
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  display: block;
  min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 849px) {
  .page-news__hero-image {
    max-height: 400px;
  }

  .page-news__hero-content {
    padding: 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-news__description {
    font-size: 1em;
  }

  .page-news__section-title {
    font-size: 2em;
  }

  .page-news__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-news__cta-section .page-news__container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-news__cta-content {
    text-align: center;
  }

  .page-news__cta-image {
    max-width: 100%;
    order: -1; /* Image appears above content on mobile */
  }

  .page-news__cta-button {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news__hero-image,
  .page-news__card-image,
  .page-news__cta-image,
  .page-news__latest-news-section img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .page-news__news-card {
    margin-bottom: 20px;
  }

  .page-news__latest-news-section,
  .page-news__cta-section {
    padding: 30px 0;
  }

  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-news__cta-title {
    font-size: 1.8em;
  }

  .page-news__cta-description {
    font-size: 0.95em;
  }
}

@media (max-width: 549px) {
  .page-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news__hero-content {
    margin-top: 10px;
  }
}