/* ================= NEWS SECTION ================= */

.kc-news-section {
  padding: 2rem 0;
}

/* NEWS CARDS */
.kc-news-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--kc-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kc-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(232, 137, 44, 0.15);
}

/* NEWS IMAGE WRAPPER */
.kc-news-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--kc-orange) 0%, #d97022 100%);
}

.kc-news-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8892c 0%, #c8651a 100%);
}

.kc-news-img-placeholder span {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Poppins', sans-serif;
}

.kc-news-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.kc-news-card:hover .kc-news-image img {
  transform: scale(1.08);
}

/* NEWS DATE BADGE */
.kc-news-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--kc-orange);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* NEWS CONTENT */
.kc-news-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kc-news-title {
  font-size: 1.15rem;
  color: var(--kc-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  font-weight: 700;
}

.kc-news-excerpt {
  font-size: 0.9rem;
  color: var(--kc-gray);
  margin: 0 0 1rem 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* NEWS CATEGORY */
.kc-news-meta {
  margin: 1rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kc-news-category {
  display: inline-block;
  background: rgba(232, 137, 44, 0.1);
  color: var(--kc-orange);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

/* NEWS READ MORE LINK */
.kc-news-read-more {
  color: var(--kc-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

.kc-news-read-more:hover {
  color: #d97022;
  transform: translateX(4px);
}

.kc-news-read-more:focus {
  outline: 2px solid var(--kc-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* NEWS GRID RESPONSIVE */
@media (max-width: 1200px) {
  .kc-news-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .kc-news-image {
    height: 200px;
  }

  .kc-news-content {
    padding: 1.5rem;
  }

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

  .kc-news-excerpt {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .kc-news-image {
    height: 180px;
  }

  .kc-news-content {
    padding: 1rem;
  }

  .kc-news-title {
    font-size: 1rem;
  }

  .kc-news-date {
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

/* ANIMATIONS */
@keyframes newsSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kc-news-card {
  animation: newsSlideIn 0.5s ease;
}

.kc-news-card:nth-child(2) {
  animation-delay: 0.1s;
}

.kc-news-card:nth-child(3) {
  animation-delay: 0.2s;
}
