/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #333;
  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, #003366, #FFCC00);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-news__hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-latest-news__cta-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-index-latest-news__cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-index-latest-news__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-index-latest-news__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-index-latest-news__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

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

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

.page-index-latest-news__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-index-latest-news__news-card, .page-index-latest-news__promo-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-latest-news__news-card:hover, .page-index-latest-news__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-latest-news__news-image, .page-index-latest-news__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

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

.page-index-latest-news__news-title, .page-index-latest-news__promo-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 10px;
}

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

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

.page-index-latest-news__read-more, .page-index-latest-news__text-link {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* Pushes the link to the bottom */
}

.page-index-latest-news__read-more:hover, .page-index-latest-news__text-link:hover {
  color: #FFCC00;
}

.page-index-latest-news__promotions .page-index-latest-news__promo-card {
  text-align: center;
}

.page-index-latest-news__promotions .page-index-latest-news__promo-image {
  height: 180px;
}

.page-index-latest-news__guides .page-index-latest-news__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-latest-news__guides .page-index-latest-news__guide-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  padding: 30px;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__guides .page-index-latest-news__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-latest-news__guides .page-index-latest-news__guide-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index-latest-news__guides .page-index-latest-news__guide-text {
  color: #555;
  margin-bottom: 15px;
}

.page-index-latest-news__why-choose {
  background-color: #003366;
  color: #fff;
}

.page-index-latest-news__why-choose .page-index-latest-news__section-title {
  color: #FFCC00;
}

.page-index-latest-news__why-choose .page-index-latest-news__section-title::after {
  background-color: #fff;
}

.page-index-latest-news__why-choose .page-index-latest-news__section-description {
  color: rgba(255, 255, 255, 0.9);
}

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

.page-index-latest-news__feature-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-index-latest-news__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-index-latest-news__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.page-index-latest-news__feature-title {
  font-size: 1.7em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-index-latest-news__feature-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

.page-index-latest-news__faq .page-index-latest-news__accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-news__accordion-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-latest-news__accordion-header {
  background-color: #f0f4f8;
  color: #003366;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 50px;
}

.page-index-latest-news__accordion-header:hover {
  background-color: #e2eaf2;
}

.page-index-latest-news__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-latest-news__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-index-latest-news__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #fff;
}

.page-index-latest-news__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 25px;
}

.page-index-latest-news__accordion-content p {
  margin-bottom: 10px;
  color: #444;
}

.page-index-latest-news__cta-bottom {
  background-color: #FFCC00;
  padding: 80px 0;
  text-align: center;
  color: #003366;
}

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

.page-index-latest-news__cta-bottom .page-index-latest-news__cta-title::after {
  background-color: #003366;
}

.page-index-latest-news__cta-bottom .page-index-latest-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-news__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-news__section-title {
    font-size: 2em;
  }
  .page-index-latest-news__news-card, .page-index-latest-news__promo-card {
    margin-bottom: 20px;
  }
  .page-index-latest-news__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero {
    padding: 60px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-news__hero-subtitle {
    font-size: 1em;
  }
  .page-index-latest-news__section {
    padding: 40px 0;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__section-description {
    font-size: 0.95em;
  }
  .page-index-latest-news__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-latest-news__cta-bottom .page-index-latest-news__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__news-content, .page-index-latest-news__promo-card {
    padding: 15px;
  }
  .page-index-latest-news__news-title, .page-index-latest-news__promo-title {
    font-size: 1.4em;
  }
  .page-index-latest-news__guide-item {
    padding: 20px;
  }
  .page-index-latest-news__feature-item {
    padding: 20px;
  }
  .page-index-latest-news__cta-bottom .page-index-latest-news__cta-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
    padding-right: 40px;
  }
  .page-index-latest-news__accordion-header::after {
    right: 15px;
  }
  .page-index-latest-news__accordion-content.active {
    padding: 10px 20px 20px;
  }
}