/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: #0A1931; /* Main background color */
}

.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%, #1a2a47 100%);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-news__hero-subtitle {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-news__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.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: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

.page-index-latest-news__btn--secondary {
  background-color: #E03B8B; /* Accent color */
  color: #FFFFFF;
}

.page-index-latest-news__btn--secondary:hover {
  background-color: #c92f7a;
  transform: translateY(-3px);
}

.page-index-latest-news__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-news__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-index-latest-news__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

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

.page-index-latest-news__card,
.page-index-latest-news__promo-card {
  background-color: #1a2a47;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px 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__card:hover,
.page-index-latest-news__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index-latest-news__card-image,
.page-index-latest-news__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-index-latest-news__card-title,
.page-index-latest-news__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-latest-news__card-date {
  font-size: 0.9em;
  color: #999999;
  margin-bottom: 15px;
}

.page-index-latest-news__card-text,
.page-index-latest-news__promo-text {
  font-size: 1em;
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-news__link {
  color: #E03B8B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-index-latest-news__link:hover {
  color: #FFD700;
}

.page-index-latest-news__promotions .page-index-latest-news__btn {
  margin-top: auto;
  align-self: flex-start;
  background-color: #E03B8B;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 1em;
}

.page-index-latest-news__promotions .page-index-latest-news__btn:hover {
  background-color: #c92f7a;
}

.page-index-latest-news__why-choose {
  background-color: #0A1931;
  padding: 60px 0;
}

.page-index-latest-news__features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.page-index-latest-news__features-list li {
  background-color: #1a2a47;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-news__features-list h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-index-latest-news__features-list p {
  color: #b0b0b0;
  line-height: 1.8;
}

.page-index-latest-news__cta {
  background: linear-gradient(45deg, #0A1931 0%, #E03B8B 100%); /* Blend main and accent color */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-news__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-news__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-index-latest-news__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index-latest-news__hero-title {
    font-size: 2.5em;
  }

  .page-index-latest-news__hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-latest-news__hero-actions,
  .page-index-latest-news__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-latest-news__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-latest-news__section-title,
  .page-index-latest-news__cta-title {
    font-size: 2em;
  }

  .page-index-latest-news__grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-news__features-list {
    grid-template-columns: 1fr;
  }

  .page-index-latest-news__card-content, .page-index-latest-news__promo-content {
    padding: 20px;
  }

  .page-index-latest-news__card-title, .page-index-latest-news__promo-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-title {
    font-size: 2em;
  }

  .page-index-latest-news__hero-subtitle {
    font-size: 1em;
  }

  .page-index-latest-news__btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }

  .page-index-latest-news__section-title, .page-index-latest-news__cta-title {
    font-size: 1.8em;
  }

  .page-index-latest-news__section-description, .page-index-latest-news__cta-description {
    font-size: 0.9em;
  }
}