/* mehrhamburg.de — mh-features.css
   Styles für Update 2: Merkliste, Teilen/Kalender-Buttons, Dringlichkeits-
   Label, Wochenend-Wetter, Event-Karte, Restaurant-Tipps. */

/* ---------- Inline-Icons (SVG, currentColor) ---------- */
.mh-i {
  display: inline-block;
  vertical-align: -0.16em;
  flex-shrink: 0;
}
/* Herz: Umriss normal, gefüllt wenn aktiv */
.mh-fav-btn.is-active .mh-heart .mh-heart-shape,
.mh-fav-btn.is-active .mh-heart path,
.mh-card-heart.is-active .mh-heart path,
.mh-card-heart.is-active .mh-heart .mh-heart-shape {
  fill: currentColor;
}

/* ---------- Aktions-Buttons auf der Event-Detailseite ---------- */
.event-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
}
.ev-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill, 999px);
  padding: 9px 16px;
  font-family: var(--font-body, inherit);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.ev-act:hover { border-color: var(--ink); transform: translateY(-1px); }
.ev-act--wa:hover { border-color: #25d366; background: #f2fcf5; }
.mh-fav-btn.is-active { border-color: #c0392b; color: #c0392b; background: #fdf3f2; }

/* ---------- Herz auf Event-Karten ---------- */
.mh-card-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #c0392b;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform .12s ease;
  z-index: 3;
}
.mh-card-heart:hover { transform: scale(1.12); }
.mh-card-heart.is-active { background: #c0392b; color: #fff; }
.event-card .cover, .heute-card__cover { position: relative; }

/* ---------- Merklisten-Link im Header ---------- */
.nav-fav { position: relative; white-space: nowrap; }
.nav-fav .mh-fav-badge {
  display: inline-block;
  min-width: 17px;
  padding: 1px 5px;
  margin-left: 2px;
  background: #c0392b;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  vertical-align: top;
}

/* ---------- Merklisten-Seite ---------- */
.mh-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-soft);
  font-size: 16px;
}
.mh-remove {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.mh-remove:hover { color: #c0392b; }
.event-card.mh-past { opacity: 0.55; }

/* ---------- „Nur noch heute"-Label ---------- */
.urgency-flag .mh-i { vertical-align: -0.14em; margin-right: 1px; }
.urgency-flag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
}

/* ---------- Wochenend-Wetter ---------- */
.wx-strip {
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
}
.wx-strip .wx-day strong { margin-right: 6px; }
.wx-strip .wx-rain { opacity: 0.8; font-size: 12.5px; margin-left: 4px; }

/* ---------- Event-Karte /karte/ ---------- */
.mh-map-page { height: 62vh; min-height: 380px; border-radius: 18px; border: 1px solid var(--line); z-index: 1; }
.karte-tabs { display: flex; gap: 8px; justify-content: center; margin: 0 0 22px; flex-wrap: wrap; }
.karte-tabs a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.karte-tabs a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mh-map-popup h4 { margin: 0 0 4px; font-size: 14px; }
.mh-map-popup .t { font-size: 12px; color: #666; }

/* ---------- Restaurant-Tipps unterm Event ---------- */
.yf-after {
  margin-top: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.yf-after::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #7a2e3e, var(--color-tipps, #b8843a));
}
.yf-after h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.yf-after .yf-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.yf-after-list { display: grid; gap: 8px; }
.yf-after-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.yf-after-item:hover { border-color: #7a2e3e; background: #fdf8f6; }
.yf-after-item .n { font-size: 14px; font-weight: 700; }
.yf-after-item .l { font-size: 12px; color: var(--muted); white-space: nowrap; }
.yf-after-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; text-decoration: underline; }

@media (max-width: 700px) {
  .event-actions { gap: 6px; }
  .ev-act { padding: 8px 13px; font-size: 12.5px; }
  .wx-strip { gap: 12px; font-size: 13px; }
}

/* Icon-Feinschliff */
.wx-strip .mh-i { vertical-align: -0.22em; }
.wx-strip .wx-rain .mh-i { vertical-align: -0.18em; }
.landing-links a .mh-i { vertical-align: -0.18em; margin-right: 2px; }
.heute-band__more .mh-i { vertical-align: -0.18em; margin-right: 2px; }
.multi-day-badge .mh-i { vertical-align: -0.15em; }
.nav-fav .mh-i { vertical-align: -0.22em; }
