/* News Section - Updated to Match Overall Style */
.news-section {
  position: relative;
  padding: 2.5rem 0 calc(2.5rem + 45px) 0;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-carousel-section {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Card Container */
.news-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 0 15px;
  border: 1px solid rgba(28, 67, 134, 0.1);
}

.news-card:hover {
  box-shadow: 0 8px 20px rgba(28, 67, 134, 0.15);
  outline: 3px solid #1c4386;
  outline-offset: 5px; /* Makes the border appear outside */
}

/* Image */
.news-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Date Badge - Updated to match theme */
.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #1c4386;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  font-family: 'Lato', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.news-day {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.news-month {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Content */
.news-content {
  padding: 20px;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #1c4386;
  line-height: 1.4;
  font-family: 'Lato', sans-serif;
}

.news-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Schibsted Grotesk', sans-serif;
}

.news-link {
  color: #1c4386;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: 'Lato', sans-serif;
}

.news-link:hover {
  color: #14306b;
  text-decoration: underline;
}

.news-link::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.news-link:hover::after {
  transform: translateX(3px);
}

/* Carousel Navigation - Matched to existing button styles */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #1c4386 !important;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c4386 !important;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.slick-prev:hover,
.slick-next:hover {
  background: #1c4386 !important;
  color: white !important;
  opacity: 1;
}
/* Dots - Matched to theme */
.slick-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(28, 67, 134, 0.3);
  border: none;
  text-indent: -9999px;
  padding: 0;
  transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
  background: #1c4386;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 980px) {
  .news-carousel-section {
    padding: 0 1.5rem;
  }

  .slick-prev {
    left: -15px;
  }

  .slick-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 2rem 0;
  }

  .news-image-container {
    height: 180px;
  }

  .news-title {
    font-size: 1.1rem;
  }

  .news-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-carousel-section {
    padding: 0 1rem;
  }

  .news-card {
    margin: 0 5px;
  }

  .news-image-container {
    height: 160px;
  }

  .slick-prev,
  .slick-next {
    width: 30px;
    height: 30px;
  }

  .slick-prev {
    left: -10px;
  }

  .slick-next {
    right: -10px;
  }
}
.news-slider {
  display: flex;
  flex-direction: column;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
