/* style/index-latest-news.css */
.page-index-latest-news {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0F1A2C; /* Darker variant of primary color for overall background */
}

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

.page-index-latest-news__hero-section {
  background: linear-gradient(135deg, #1A2B4C, #0F1A2C); /* Primary to darker primary */
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero titles */
  border-bottom: 3px solid #FFD700;
}

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

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

.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: #1A2B4C;
}

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

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

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

.page-index-latest-news__btn--download {
  background-color: #1A2B4C;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-index-latest-news__btn--download:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-2px);
}

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

.page-index-latest-news__section {
  padding: 80px 0;
  background-color: #1A2B4C; /* Primary dark blue for sections */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-latest-news__section:nth-of-type(even) {
  background-color: #0F1A2C; /* Slightly darker for alternating sections */
}

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

.page-index-latest-news__section-description {
  font-size: 1.2em;
  color: #C0C0C0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-latest-news__content-grid:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-index-latest-news__text-content {
  flex: 1;
}

.page-index-latest-news__text-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-index-latest-news__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index-latest-news__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

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

.page-index-latest-news__card {
  background-color: #0F1A2C; /* Darker background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-latest-news__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

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

.page-index-latest-news__card-content {
  padding: 25px;
}

.page-index-latest-news__card-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: #A0A0A0;
  margin-bottom: 15px;
}

.page-index-latest-news__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #C0C0C0;
  margin-bottom: 25px;
}

.page-index-latest-news__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-latest-news__feature-item {
  background-color: #0F1A2C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

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

.page-index-latest-news__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-latest-news__feature-text {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.6;
}

.page-index-latest-news__cta-section {
  background: linear-gradient(135deg, #FFD700, #e5c100); /* Gold to slightly darker gold */
  padding: 100px 0;
  text-align: center;
  color: #1A2B4C; /* Dark blue text on gold background */
}

.page-index-latest-news__cta-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #1A2B4C;
}

.page-index-latest-news__cta-description {
  font-size: 1.4em;
  margin-bottom: 50px;
  color: #334466;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-news__cta-buttons .page-index-latest-news__btn--primary {
  background-color: #1A2B4C;
  color: #FFD700;
}

.page-index-latest-news__cta-buttons .page-index-latest-news__btn--primary:hover {
  background-color: #0F1A2C;
  color: #FFD700;
}

.page-index-latest-news__cta-buttons .page-index-latest-news__btn--secondary,
.page-index-latest-news__cta-buttons .page-index-latest-news__btn--download {
  background-color: transparent;
  color: #1A2B4C;
  border: 2px solid #1A2B4C;
}

.page-index-latest-news__cta-buttons .page-index-latest-news__btn--secondary:hover,
.page-index-latest-news__cta-buttons .page-index-latest-news__btn--download:hover {
  background-color: #1A2B4C;
  color: #FFD700;
}

.page-index-latest-news__faq {
  padding-bottom: 100px;
}

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

.page-index-latest-news__accordion-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.page-index-latest-news__accordion-header {
  background-color: #1A2B4C;
  color: #FFD700;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-latest-news__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

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

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

.page-index-latest-news__accordion-content.active {
  max-height: 200px; /* Adjust based on content height */
  padding: 20px 25px;
}

.page-index-latest-news__accordion-content p {
  font-size: 1em;
  line-height: 1.7;
  color: #C0C0C0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-news__hero-title {
    font-size: 3em;
  }
  .page-index-latest-news__hero-subtitle {
    font-size: 1.3em;
  }
  .page-index-latest-news__section-title {
    font-size: 2.4em;
  }
  .page-index-latest-news__cta-title {
    font-size: 2.8em;
  }
  .page-index-latest-news__content-grid {
    flex-direction: column;
  }
  .page-index-latest-news__content-grid:nth-of-type(even) {
    flex-direction: column;
  }
  .page-index-latest-news__image-wrapper {
    order: -1; /* Image first on mobile for alternating sections */
  }
}

@media (max-width: 768px) {
  .page-index-latest-news__hero-section {
    padding: 80px 0;
  }
  .page-index-latest-news__hero-title {
    font-size: 2.5em;
  }
  .page-index-latest-news__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-latest-news__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-latest-news__btn--secondary, .page-index-latest-news__btn--download {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-index-latest-news__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-index-latest-news__cta-buttons .page-index-latest-news__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-latest-news__section {
    padding: 60px 0;
  }
  .page-index-latest-news__section-title {
    font-size: 2em;
  }
  .page-index-latest-news__section-description {
    font-size: 1em;
  }
  .page-index-latest-news__card-title {
    font-size: 1.4em;
  }
  .page-index-latest-news__feature-title {
    font-size: 1.2em;
  }
  .page-index-latest-news__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-title {
    font-size: 2em;
  }
  .page-index-latest-news__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-latest-news__btn {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
  .page-index-latest-news__btn--secondary, .page-index-latest-news__btn--download {
    margin-left: 0;
    margin-top: 10px;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__cta-title {
    font-size: 2em;
  }
  .page-index-latest-news__cta-description {
    font-size: 1.1em;
  }
}