/* =============================================================
   Naamdeo Events — Featured Banner CSS
   Separate file — does NOT touch existing naamdeo-events.css
   All classes prefixed nd-feat-* to avoid any conflicts
   ============================================================= */

/* ── Wrapper ── */
.nd-feat-wrap {
  --nd-feat-accent: #6b3a2a;
  width: 100%;
  display: block;
}

/* ── Banner ── */
.nd-feat-banner {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-color: #1a0f0a;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image — absolute, covers full banner, no tiling */
.nd-feat-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay */
.nd-feat-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    105deg,
    rgba(10,5,2,.9) 0%,
    rgba(10,5,2,.7) 50%,
    rgba(10,5,2,.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Content grid */
.nd-feat-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  box-sizing: border-box;
}

/* ── LEFT: Info ── */
.nd-feat-info {
  display: flex;
  flex-direction: column;
}

/* Badges */
.nd-feat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.nd-feat-badge-star {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: .06em;
}
.nd-feat-badge-tag {
  display: inline-block;
  background: var(--nd-feat-accent, #6b3a2a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}

/* Title */
.nd-feat-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 22px;
  line-height: 1.15;
}
.nd-feat-title a {
  color: #fff;
  text-decoration: none;
}
.nd-feat-title a:hover {
  opacity: .85;
}

/* Meta list */
.nd-feat-meta {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nd-feat-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nd-feat-meta li svg {
  flex-shrink: 0;
  display: inline-block;
}

/* Speaker pill */
.nd-feat-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 8px 16px 8px 8px;
  width: fit-content;
}
.nd-feat-speaker-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.4);
  display: block;
  flex-shrink: 0;
}
.nd-feat-speaker-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.nd-feat-speaker-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.nd-feat-speaker-desig {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.65);
}

/* CTAs */
.nd-feat-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.nd-feat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  background-image: none;
  border: 2px solid transparent;
  outline: none;
}
.nd-feat-btn-primary {
  background: var(--nd-feat-accent, #6b3a2a);
  color: #fff;
  border-color: var(--nd-feat-accent, #6b3a2a);
}
.nd-feat-btn-primary:hover {
  background: #4a2519;
  border-color: #4a2519;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,58,42,.4);
}
.nd-feat-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.nd-feat-btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.nd-feat-btn-ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
  font-size: 14px;
  padding: 11px 18px;
}
.nd-feat-btn-ghost:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.nd-feat-btn-disabled {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,.1);
  cursor: not-allowed;
}

/* Registered count */
.nd-feat-registered {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.nd-feat-avatars {
  display: flex;
}
.nd-feat-avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: 2px solid rgba(255,255,255,.5);
  margin-right: -7px;
  display: block;
}
.nd-feat-avatars span:nth-child(2) { opacity: .75; }
.nd-feat-avatars span:nth-child(3) { opacity: .5; }

/* ── RIGHT: Glass card ── */
.nd-feat-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  overflow: hidden;
}
.nd-feat-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.nd-feat-card-body {
  padding: 20px;
}
.nd-feat-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  margin: 0 0 6px;
}
.nd-feat-card-date {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.nd-feat-card-time {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.nd-feat-card-divider {
  height: 1px;
  background: rgba(255,255,255,.15);
  margin: 14px 0;
}
.nd-feat-card-spots {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nd-feat-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 24px;
  }
  .nd-feat-card {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .nd-feat-banner {
    min-height: 420px;
  }
  .nd-feat-content {
    padding: 36px 16px;
  }
  .nd-feat-title {
    font-size: 1.6rem;
  }
  .nd-feat-ctas {
    flex-direction: column;
  }
  .nd-feat-btn {
    width: 100%;
  }
  .nd-feat-card {
    display: none;
  }
}
