/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #333333;
  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, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__hero-content {
  max-width: 800px;
  z-index: 1;
}

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

.page-index-latest-news__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index-latest-news__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-index-latest-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.page-index-latest-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

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

.page-index-latest-news__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-index-latest-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index-latest-news__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #444444;
}

.page-index-latest-news__link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-index-latest-news__link:hover {
  text-decoration: underline;
  color: #0056b3;
}

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

.page-index-latest-news__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-latest-news__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-index-latest-news__card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-news__card-link {
  text-decoration: none;
  color: #007bff;
}

.page-index-latest-news__card-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index-latest-news__card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 10px;
  text-align: justify;
}

.page-index-latest-news__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-index-latest-news__btn--primary {
  background-color: #ffc107;
  color: #000000;
  border-color: #ffc107;
}

.page-index-latest-news__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-index-latest-news__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-index-latest-news__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-index-latest-news__btn--outline {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
}

.page-index-latest-news__btn--outline:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-index-latest-news__cta-banner {
  background-color: #007bff;
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-latest-news__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-index-latest-news__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index-latest-news__cta-banner .page-index-latest-news__btn--primary {
  background-color: #ffc107;
  color: #000000;
  border-color: #ffc107;
}

.page-index-latest-news__cta-banner .page-index-latest-news__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-index-latest-news__cta-banner .page-index-latest-news__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-index-latest-news__cta-banner .page-index-latest-news__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-index-latest-news__actions-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index-latest-news__hero {
    padding: 60px 15px;
  }

  .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 {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-latest-news__section {
    padding: 40px 0;
  }

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

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

  .page-index-latest-news__cta-banner {
    padding: 30px 20px;
  }

  .page-index-latest-news__cta-title {
    font-size: 1.6em;
  }

  .page-index-latest-news__cta-text {
    font-size: 1em;
  }

  .page-index-latest-news__actions-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

@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: 10px 20px;
    font-size: 0.9em;
  }

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