/* =============================================================================
   News & Upcoming Events Section — home page
   ============================================================================= */

.news-events-section {
  background: #3b1a0e;
  padding: var(--space-12) 0 var(--space-10);
}

.news-events-section__header {
  margin-bottom: var(--space-8);
}

.news-events-section__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
}

.news-events-section__rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,.2);
  margin: 0;
}

/* Horizontal scrollable strip */
.news-events-section__strip {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}

.news-events-section__strip::-webkit-scrollbar {
  height: 4px;
}
.news-events-section__strip::-webkit-scrollbar-track {
  background: transparent;
}
.news-events-section__strip::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 2px;
}

/* Individual card */
.nec-card {
  position: relative;
  flex: 0 0 320px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: #2a1208;
  transition: transform var(--transition-normal);
}

.nec-card:hover {
  transform: translateY(-3px);
}

.nec-card__img-wrap {
  position: absolute;
  inset: 0;
}

.nec-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: .9;
  transition: opacity var(--transition-normal);
}

.nec-card:hover .nec-card__img {
  opacity: 1;
}

/* Event card without image — show date prominently */
.nec-card__img-wrap--event {
  background: linear-gradient(135deg, #5c2d0e 0%, #2a1208 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nec-card__event-date {
  text-align: center;
  color: #fff;
}

.nec-card__event-day {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.nec-card__event-month {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .8;
}

/* Text overlay at bottom */
.nec-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-4) var(--space-3);
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
}

.nec-card__title {
  color: #fff;
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: 0 0 var(--space-1);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nec-card__date {
  color: rgba(255,255,255,.65);
  font-size: var(--font-size-xs);
  margin: 0;
}

@media (max-width: 768px) {
  .nec-card {
    flex: 0 0 220px;
    height: 150px;
  }
  .news-events-section__title {
    font-size: var(--font-size-2xl);
  }
}
