/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #F5F5F5; /* Light grey for general text on dark background */
  background-color: #0A1931; /* Deep blue main background */
  line-height: 1.6;
}

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

.page-index-latest-news__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a3a66 100%); /* Dark blue gradient */
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index-latest-news__title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index-latest-news__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-latest-news__section:last-of-type {
  border-bottom: none;
}

.page-index-latest-news__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-latest-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-index-latest-news__text {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-latest-news__article {
  background-color: #1a2b4a; /* Slightly lighter blue for article cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index-latest-news__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-index-latest-news__article-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index-latest-news__article-excerpt {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-latest-news__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;
  text-align: center;
  cursor: pointer;
  margin: 0 20px 20px;
}

.page-index-latest-news__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Deep blue text */
}

.page-index-latest-news__btn--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
}

.page-index-latest-news__btn--secondary {
  background-color: #0A1931; /* Deep blue button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-latest-news__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-index-latest-news__cta-box {
  background-color: #0A1931;
  border: 2px solid #FFD700;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
}

.page-index-latest-news__cta-box p {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-latest-news__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-index-latest-news__list li {
  background-color: #1a2b4a;
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
}

.page-index-latest-news__list-item-title {
  color: #FFD700;
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index-latest-news__list li p {
  color: #E0E0E0;
  font-size: 1em;
  text-align: left;
  margin-bottom: 0;
}

.page-index-latest-news__app-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-index-latest-news__app-content {
  flex: 1;
  min-width: 300px;
}

.page-index-latest-news__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-latest-news__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-latest-news__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-latest-news__app-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #E0E0E0;
  font-size: 1.1em;
}

.page-index-latest-news__newsletter {
  background-color: #1a2b4a;
  padding: 80px 0;
  text-align: center;
}

.page-index-latest-news__newsletter-content {
  max-width: 700px;
}

.page-index-latest-news__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-latest-news__form-input {
  padding: 12px 20px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: #0A1931;
  color: #F5F5F5;
  font-size: 1em;
  flex-grow: 1;
  max-width: 400px;
}

.page-index-latest-news__form-input::placeholder {
  color: #A0A0A0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-latest-news__title {
    font-size: 2.2em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__app-flex {
    flex-direction: column;
  }
  .page-index-latest-news__app-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero {
    padding: 60px 0 30px;
  }
  .page-index-latest-news__title {
    font-size: 1.8em;
  }
  .page-index-latest-news__subtitle {
    font-size: 1em;
  }
  .page-index-latest-news__section {
    padding: 40px 0;
  }
  .page-index-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-news__newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  .page-index-latest-news__form-input {
    width: 100%;
    max-width: 100%;
  }
  .page-index-latest-news__btn {
    width: calc(100% - 40px);
    margin: 10px 20px;
  }
  .page-index-latest-news__cta-box .page-index-latest-news__btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__title {
    font-size: 1.5em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.3em;
  }
  .page-index-latest-news__btn {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-index-latest-news__list li {
    padding: 20px;
  }
  .page-index-latest-news__list-item-title {
    font-size: 1.1em;
  }
}