/* ===== Extra styling for the "When to Come" page ===== */

/* Optional events get a softer badge than main events */
.badge.optional {
  background: #eef3ee;
  color: #4a6b4a;
}

/* ---------- Dress code ---------- */
.dresscode {
  margin: 16px 0 10px;
  padding: 16px 18px;
  background: #faf6f2;
  border-radius: 12px;
}

.dresscode h4 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.dress-group {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid #ece2db;
}

.dress-group:first-of-type { border-top: none; padding-top: 0; }
.dress-group:last-child { padding-bottom: 0; }

.dress-label {
  flex: 0 0 82px;
  text-align: center;
  background: #fff;
  color: var(--red);
  border: 1px solid #f0d5d9;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  margin-top: 2px;
}

.dress-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.dress-group li {
  position: relative;
  padding: 2px 0 2px 20px;
  font-size: 0.95rem;
}

.dress-group li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Rules (Anand Karaj "Everyone") get a red accent */
.dress-group.rules li::before { background: var(--red); }
.dress-group.rules .dress-label { background: var(--red); color: #fff; border-color: var(--red); }

/* "Most guests wear this" tag */
.popular {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 10px;
  background: #fff3d9;
  color: #8a5a00;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .dress-group { flex-direction: column; gap: 6px; }
  .dress-label { flex: none; }
}
