/* ── /munich — Agentic Shift Munich meetups ────────────────────────
   Built on the shift.css design system (loaded first): same ink/teal/
   amber palette, Poppins + mono, rounded bordered cards. This file adds
   the meetup-specific components (event feature, people, past recaps).
   ------------------------------------------------------------------ */

/* ── Top bar / breadcrumb ────────────────────────────────────────── */
.topbar {
  max-width: 1440px;
  margin: 24px auto 0;
  padding: 0 clamp(26px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crumb {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.16s ease;
}

.crumb:hover { color: var(--teal); }
.crumb .home { color: #c3d2da; }

.topbar .where {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar .where .pin {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px 3px rgba(232, 163, 61, 0.5);
}

/* ── Hero (compact; reuses .hero from shift.css) ─────────────────── */
.hero.mu {
  min-height: min(52vh, 420px);
  margin-top: 14px;
}

.hero.mu .eyebrow { margin-bottom: 4px; }

.hero.mu .headline {
  font-size: clamp(40px, 7.5vw, 104px);
}

.hero.mu .subtitle { max-width: 30ch; }

/* ── Section wrap ────────────────────────────────────────────────── */
.mu-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(6px, 1.2vw, 14px) clamp(26px, 4vw, 52px) clamp(30px, 4vw, 48px);
}

.mu-section { margin-top: clamp(52px, 7vw, 84px); }
.mu-section:first-child { margin-top: clamp(10px, 1.6vw, 18px); }

/* Smaller mono section label (distinct from the big .section-head) */
.eyebrow-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.eyebrow-label .slash { color: var(--amber); }
.eyebrow-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(137, 180, 190, 0.28), transparent);
}

/* ── Card base ───────────────────────────────────────────────────── */
.card {
  border: 1px solid rgba(137, 180, 190, 0.14);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(18, 40, 52, 0.72), rgba(7, 13, 18, 0.6));
}

/* Active / highlighted card — manifesto-green frame + glow */
.card.active {
  border-color: rgba(61, 220, 154, 0.55);
  box-shadow: 0 0 0 1px rgba(61, 220, 154, 0.18), 0 14px 46px -24px rgba(61, 220, 154, 0.5);
}

/* ── Next meetup — feature block ─────────────────────────────────── */
.next {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 32px);
}

.next-media { position: relative; }

.next-media a { display: block; border-radius: 12px; overflow: hidden; }

.next-media img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.next-media a:hover img { transform: scale(1.02); opacity: 0.94; }

.next-body h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #06120d;
  background: linear-gradient(95deg, var(--teal), var(--amber));
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.next-body p { color: #b3c2cb; font-size: clamp(14px, 1.4vw, 17px); margin-bottom: 14px; }
.next-body p .amber { color: var(--amber); font-weight: 500; }

/* Priority list */
.priority {
  list-style: none;
  counter-reset: prio;
  margin: 18px 0 22px;
  display: grid;
  gap: 7px;
}

.priority li {
  counter-increment: prio;
  position: relative;
  padding-left: 34px;
  color: #cdd8df;
  font-size: 14.5px;
  line-height: 1.5;
}

.priority li::before {
  content: counter(prio);
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-ghost);
  border: 1px solid rgba(61, 220, 154, 0.28);
  display: grid;
  place-items: center;
}

/* ── Buttons: local variant (register accent) ────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ── Calendar embed ──────────────────────────────────────────────── */
.cal {
  margin-top: 22px;
  border: 1px solid rgba(137, 180, 190, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
}

.cal iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
  background: var(--ink-2);
}

/* ── People (organizers) ─────────────────────────────────────────── */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(137, 180, 190, 0.14);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(18, 40, 52, 0.72), rgba(7, 13, 18, 0.6));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.person:hover { border-color: rgba(61, 220, 154, 0.4); transform: translateY(-2px); }

.person img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line);
}

.person .who { display: grid; gap: 3px; }
.person .who a { color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.person .who a:hover { color: var(--teal); }
.person .role { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.person .role .at { color: var(--teal); }

/* ── Community band ──────────────────────────────────────────────── */
.community {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.community .copy { max-width: 60ch; }
.community .copy h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.community .copy p { color: #a7b6bf; font-size: 15px; }

/* ── Past events ─────────────────────────────────────────────────── */
.past-list { display: grid; gap: clamp(20px, 3vw, 32px); }

.recap {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(137, 180, 190, 0.14);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(15, 34, 44, 0.6), rgba(6, 11, 16, 0.55));
}

.recap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.recap-head h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.recap-head h3 a { color: #fff; text-decoration: none; }
.recap-head h3 a:hover { color: var(--teal); }

.recap-when {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.recap-lead {
  color: #c6d2d9;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  margin: 14px 0 4px;
  max-width: 68ch;
}

.recap-lead .who-line { color: var(--muted); }
.recap-lead .who-line b { color: #dbe6ec; font-weight: 500; }

/* Report links list */
.reports { list-style: none; margin: 16px 0 4px; display: grid; gap: 8px; }
.reports li { padding-left: 22px; position: relative; color: #a7b6bf; font-size: 14.5px; }
.reports li::before { content: "↗"; position: absolute; left: 0; color: var(--amber); }
.reports a { color: #cdd8df; text-decoration: none; border-bottom: 1px solid rgba(61, 220, 154, 0.3); }
.reports a:hover { color: var(--teal); }

/* Photo figures */
figure.shot { margin: 22px 0 0; }
figure.shot img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}
figure.shot.narrow img { max-width: 560px; }
figure.shot figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* Talks / newsletter blocks */
.blocks { margin-top: 30px; display: grid; gap: 26px; }

.block {
  padding-top: 24px;
  border-top: 1px solid rgba(137, 180, 190, 0.13);
}

.block h4 {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  color: #eef3f5;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 6px;
}

.block h4 .k { color: var(--teal); font-weight: 500; }
.block p { color: #a7b6bf; font-size: 15px; line-height: 1.6; margin: 10px 0 0; }
.block p a, .inline-link {
  color: #cdd8df;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 220, 154, 0.3);
}
.block p a:hover, .inline-link:hover { color: var(--teal); }

.signoff {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(137, 180, 190, 0.13);
  color: #c6d2d9;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .next { grid-template-columns: 1fr; }
  .next-media { order: -1; }
}

@media (max-width: 600px) {
  .cal iframe { height: 520px; }
  .person { padding: 16px; gap: 14px; }
  .person img { width: 60px; height: 60px; }
  .community { flex-direction: column; align-items: flex-start; }
}
