/* 🌟 Overall Section */
.latest-news-section {
  background-color: #e6e6e6;
  padding: 80px 0;
}

/* 📰 Header Styles */
.news-header h2 {
  font-size: 2.5rem;
  color: #000;
  margin-top: 110px;
  margin-bottom: 5px;
}

.news-header .highlight {
  color: #f6a506;
}

.news-header .subtitle {
  color: #9c9c9c;
  font-size: 1rem;
  margin-bottom: 50px;
}

/* Scroll animations */
.anim-left,
.anim-right {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-left  { transform: translateX(-60px); }
.anim-right { transform: translateX(60px); }

.anim-left.visible,
.anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-right.visible { transition-delay: 0.1s; }

/* 📦 News Card */
.news-card {
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  max-width: 1150px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 🖼️ Image */
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

/* ✍️ Text Content */
.text-highlight {
  color: #f6a506;
  line-height: 1.4;
  padding-bottom: 10px;
}

.date {
  color: #000;
  font-weight: 500;
  padding-bottom: 10px;
}

.text-dark {
  color: #333;
  line-height: 1.5;
  font-size: 1rem;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* 🔘 Learn More Button */
.btn-learn {
  background-color: #f6a506;
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 30px;
}

.btn-learn:hover {
  background-color: #d88e04;
  color: #fff;
}



/*9 cards*/
/* Container for the section */
.section-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Style for each card */
.card {
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 14px);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

/* Image in each card */
.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #eaeaea;
}

/* Card content */
.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card-content .event-date, .card-content .release-date {
    display: block;
    font-size: 0.85rem;
    color: #d46a6a;
    margin-top: 10px;
}





/* More Button */
.btn-more {
  background-color: #f6a506;
  color: #fff;
  font-weight: 600;
  padding: 12px 50px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  display: inline-block;
}

.btn-more:hover {
  background-color: #d88e04;
  color: #fff;
}

/* 📱 Responsive Design */
@media (max-width: 991px) {
  .news-card {
    border-radius: 14px;
  }

  .news-image img {
    border-radius: 14px 14px 0 0;
  }

  .news-header h2 {
    font-size: 2rem;
  }

  .latest-news-section {
    padding: 60px 0;
  }

  /* 2 columns on tablet */
  .card {
    width: calc(50% - 14px);
  }
}

@media (max-width: 767px) {
  .news-card {
    max-width: 95%;
  }

  /* 2 columns on large mobile */
  .card {
    width: calc(50% - 10px);
  }

  .card-content h3 {
    font-size: 1rem;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  /* 1 column on small mobile */
  .card {
    width: 100%;
  }

  .section-container {
    gap: 14px;
  }
}
