/* ---------- Single Sündmus layout ---------- */
.sundmused {
    margin-bottom: 60px;
}
.single-event-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.single-event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    rgb(255 255 255 / 16%) 100%
  );
}

.single-event-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 28px;
}
.single-event-hero__title {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}
.single-event-hero__meta {
  display: flex;
  gap: 16px;
  font-size: 16px;
  opacity: 0.95;
}

/* Back link bar */
.single-event-back {
  margin: 18px 0 12px;
}
.single-event-back a {
  color: #8a1f16;
  text-decoration: none;
  font-weight: 600;
}
.single-event-back a:hover {
  text-decoration: underline;
}

/* Layout: content + sidebar */
.single-event-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
/* Content */
.single-event-content .entry-content > *:first-child {
  margin-top: 0;
}
.single-event-content .entry-content h2,
.single-event-content .entry-content h3 {
  margin-top: 1.4em;
}

/* Cards (right column) */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  border: 1px solid rgba(16, 24, 40, 0.06);
}
.card-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
  font-weight: 700;
  font-size: 18px;
}
.card-body {
  padding: 20px;
}

.card small.muted {
  color: #6b7280;
}

/* Booking form overrides (basic, works with CF7 etc.) */
.card .wpcf7-form p {
  margin-bottom: 14px;
}
.card input[type="text"],
.card input[type="email"],
.card input[type="tel"],
.card input[type="date"],
.card textarea,
.card select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
}
.card input[type="submit"],
.card button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #b42b1f;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.card input[type="submit"]:hover {
  filter: brightness(0.95);
}

/* "Millal" list */
.event-when ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.event-when li {
  padding: 8px 0;
}
.event-when .muted {
  color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
  .single-event-hero {
    min-height: 360px;
  }
  .single-event-hero__title {
    font-size: 34px;
  }
}
@media (max-width: 768px) {
  .single-event-hero {
    min-height: 300px;
    border-radius: 0;
  }
  .single-event-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .single-event-hero__title {
    font-size: 28px;
  }
  .single-event-hero__meta {
    font-size: 15px;
    gap: 12px;
  }
}
