/* =============================================================================
   News & Upcoming Events Section — home page
   ============================================================================= */

.news-events-section {
  background: #1a0a06;
  padding: var(--space-12) 0 var(--space-10);
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture overlay */
.news-events-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.news-events-section .container { position: relative; z-index: 1; }

.news-events-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.news-events-section__title {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
}

.news-events-section__rule {
  display: none;
}

.nec-section__view-all {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .15s;
  white-space: nowrap;
}
.nec-section__view-all:hover { color: #e94560; }

/* Horizontal scrollable strip */
.news-events-section__strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  -ms-overflow-style: none;
}
.news-events-section__strip::-webkit-scrollbar { height: 3px; }
.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 300px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: #2a1208;
  transition: transform .25s cubic-bezier(.25,.46,.45,.94), box-shadow .25s;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.nec-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
}

/* Image — cover fill, scales on hover */
.nec-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.nec-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.nec-card:hover .nec-card__img { transform: scale(1.06); }

/* Event card without image */
.nec-card__img-wrap--event {
  background: linear-gradient(135deg, #6b0f2b 0%, #1a0a06 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: 3.2rem; font-weight: 900; line-height: 1; }
.nec-card__event-month { display: block; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-top: 4px; }

/* Overlay — always visible, expands on hover */
.nec-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  transition: padding .25s;
}
.nec-card:hover .nec-card__overlay { padding-top: 60px; }

.nec-card__label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: #e94560;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.nec-card__title {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nec-card__date {
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  margin: 0;
}

/* Excerpt — hidden by default, slides up on hover */
.nec-card__excerpt {
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  line-height: 1.4;
  margin: 4px 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .25s;
  opacity: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.nec-card:hover .nec-card__excerpt {
  max-height: 40px;
  opacity: 1;
}

/* Read more arrow */
.nec-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e94560;
  font-size: .68rem;
  font-weight: 700;
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.nec-card:hover .nec-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .nec-card { flex: 0 0 240px; height: 165px; }
  .news-events-section__title { font-size: var(--font-size-2xl); }
}
