/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #F0F0F0; /* Light text for dark background */
  background-color: #0A192F; /* Main background color */
  line-height: 1.6;
}

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

.page-index-latest-news__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a5e 100%);
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  border-bottom: 2px solid #FFD700;
}

.page-index-latest-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-index-latest-news__hero-title .highlight {
  color: #FFD700;
}

.page-index-latest-news__hero-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-news__hero-link:hover {
  color: #e6c200;
}

.page-index-latest-news__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #E0E0E0;
}

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

.page-index-latest-news__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-index-latest-news__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-latest-news__news-grid-section {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-index-latest-news__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

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

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

.page-index-latest-news__news-card {
  background-color: #1a2a40; /* Slightly lighter dark blue for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-latest-news__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-latest-news__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-index-latest-news__news-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index-latest-news__news-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-news__news-title a:hover {
  color: #e6c200;
}

.page-index-latest-news__news-excerpt {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-news__news-excerpt .highlight {
  color: #FFD700;
  font-weight: bold;
}

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

.page-index-latest-news__read-more:hover {
  color: #e6c200;
  transform: translateX(5px);
}

.page-index-latest-news__cta-section {
  background-color: #1a2a40;
  padding: 80px 0;
  text-align: center;
  border-top: 2px solid #FFD700;
  border-bottom: 2px solid #FFD700;
}

.page-index-latest-news__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-index-latest-news__cta-title .highlight {
  color: #FFD700;
}

.page-index-latest-news__cta-description {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

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

.page-index-latest-news__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-latest-news__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-index-latest-news__guide-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #F0F0F0;
}

.page-index-latest-news__guide-section p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-index-latest-news__guide-section .highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-index-latest-news__sub-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-index-latest-news__btn--full-width {
  width: 100%;
  max-width: 400px;
  margin-top: 40px;
  padding: 18px 30px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-latest-news__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-news__section-title {
    font-size: 2.2em;
  }
  .page-index-latest-news__cta-title {
    font-size: 2.5em;
  }
  .page-index-latest-news__news-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero-section {
    padding: 70px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__cta-title {
    font-size: 2em;
  }
  .page-index-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-news__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-index-latest-news__news-image {
    height: 180px;
  }
  .page-index-latest-news__news-title {
    font-size: 1.4em;
  }
  .page-index-latest-news__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-section {
    padding: 50px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1em;
  }
  .page-index-latest-news__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.6em;
  }
  .page-index-latest-news__news-content {
    padding: 15px;
  }
  .page-index-latest-news__news-title {
    font-size: 1.2em;
  }
  .page-index-latest-news__news-excerpt {
    font-size: 0.9em;
  }
  .page-index-latest-news__sub-title {
    font-size: 1.4em;
  }
}