/* === Festival Greeting Banner === */
.festival-banner {
  max-width: 760px;
  margin: 0 auto 18px;
  background: #faf5ff;
  border: 1px solid #e0dcec;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 12px rgba(123,44,191,0.08);
  position: relative;
  transition: box-shadow 0.2s;
}
.festival-banner:hover {
  box-shadow: 0 6px 18px rgba(123,44,191,0.13), 0 2px 8px rgba(0,0,0,.09);
}
.festival-banner.hidden {
  display: none;
}

/* Header row: title left, badge + close right */
.banner-title,
.festival-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.title-left,
.festival-head .title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.festival-emoji {
  font-size: 1.3rem;
  margin-right: 6px;
}
.festival-title {
  font-weight: 800;
  color: #7b2cbf;
  font-size: 0.88rem;
  line-height: 1.2;
}
.today-badge {
  background: #7b2cbf;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  animation: pulseBadge 2.5s infinite;
  margin-left: 8px;
  position: relative;
  top: 0;
}
.today-badge.tiny {
  font-size: .68rem;
  padding: 2px 6px;
}
.fest-close {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #e9d5ff;
  background: #fff;
  color: #7b2cbf;
  font-size: 1.1rem;
  opacity: .85;
  transition: opacity .15s, box-shadow .15s;
  box-shadow: 0 1px 4px #7b2cbf22;
  margin-left: 8px;
}
.fest-close:hover {
  opacity: 1;
  box-shadow: 0 2px 8px #7b2cbf33;
}

/* Body: image left, text right */
.festival-body {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.festival-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.banner-text {
  color: #1f2937;
  background: #f4eff8;
  border: 1px solid #ede9fe;
  font-size: 0.83rem;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-weight: normal;
  text-align: left;
  line-height: 1.5;
  word-break: break-word;
  white-space: normal;
}
.festival-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.festival-sub {
  font-size: 0.85rem;
  color: #444;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 4px 0 0 0;
}

/* Mobile tweaks */
@media (max-width:420px) {
  .festival-title { font-size: .88rem; }
  .festival-sub { font-size: .85rem; }
  .festival-img { width: 60px; height: 60px; }
  .festival-emoji { font-size: 1.5rem; }
  .festival-banner { padding: 10px 6px; }
}

/* === Today badge pulse animation === */
@keyframes pulseBadge {
  0% { box-shadow: 0 0 0 0 #7b2cbf44; }
  70% { box-shadow: 0 0 0 8px #7b2cbf11; }
  100% { box-shadow: 0 0 0 0 #7b2cbf44; }
}