/* ============================================
   BMSW Components
   Wiederkehrende Patterns — semantische Klassen
   ============================================ */

/* Review-only overlay navigation. Clearly not part of the BMSW demo UI. */
.review-nav {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 2147483000;
  width: min(240px, calc(100vw - 32px));
  padding: 10px;
  border: 2px dashed #fff200;
  border-radius: 6px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.review-nav__label {
  display: block;
  margin-bottom: 8px;
  color: #fff200;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.review-nav__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.review-nav__link {
  display: block;
  min-height: 30px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.review-nav__link:hover,
.review-nav__link:focus-visible {
  background: #fff200;
  color: #111827;
}

@media (max-width: 760px) {
  .review-nav {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
  }
  .review-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Brand-Lockup im Navbar */
.brand-mark {
  font-family: var(--bulma-family-secondary);
  font-weight: 700;
  font-size: 18px;
  color: var(--bulma-text-strong);
}
.brand-tagline {
  margin-left: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bulma-text-weak);
}

/* Display-Headline mit fluider Größe */
.display {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}
.display--accent {
  color: var(--accent);
}

/* Subtitle mit Standard-Lesebreite */
.subtitle-readable {
  max-width: 60ch;
  color: var(--bulma-text);
}
.subtitle-readable strong {
  color: var(--bulma-text-strong);
}

/* Notification-Banner mit fester Breite */
.notification--inline {
  max-width: 680px;
}

/* ============================================
   Recap Card — Mediathek + Index Top-3
   ============================================ */
.recap-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.recap-card.is-featured {
  border: 1.5px solid var(--accent);
}
.recap-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.recap-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.recap-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Meta-Zeile (Jahr · Stage · Dauer) */
.recap-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bulma-text-weak);
  margin: 0;
}

/* Recap-Titel innerhalb der Karte */
.recap-card__title {
  font-family: var(--bulma-family-secondary);
  line-height: 1.2;
  margin: 0;
  color: var(--bulma-text-strong);
}

/* Quote-Block in der Karte mit dem großen Lime-Anführungszeichen */
.recap-quote {
  position: relative;
  padding-top: 6px;
}
.recap-quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: -2px;
  font-family: var(--bulma-family-secondary);
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
}
.recap-quote blockquote {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
}

/* Pill-Listen (Keywords + Products) */
.pill-list {
  margin: 0;
  gap: 6px;
}
.pill-list .tag {
  font-size: 11px;
}

/* Highlight-Pill */
.tag.is-highlight {
  background: var(--accent-tint-18);
  color: var(--accent);
  font-weight: 600;
}
.recap-card__foot {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  gap: 12px;
  border-top: 1px solid var(--bulma-border);
}
.recap-card__foot .avatar-mono {
  width: 56px;
  height: 56px;
  font-size: 15px;
}
.recap-card__speaker {
  flex: 1;
  min-width: 0;
}
.recap-card__speaker-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bulma-text-strong);
  margin: 0;
}
.recap-card__speaker-org {
  font-size: 12px;
  color: var(--bulma-text-weak);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recap-card__reads {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bulma-text-weak);
  white-space: nowrap;
}

/* Filter-Bar */
.filter-count {
  height: 40px;
  padding: 0 14px;
}

/* ============================================
   Display Variants — Index Hero größer
   ============================================ */
.display.is-xl {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
}
.subtitle-readable.is-loose {
  font-weight: 400;
}

/* ============================================
   Section Header — Eyebrow + große Headline
   ============================================ */
.section-title {
  font-family: var(--bulma-family-secondary);
  color: var(--bulma-text-strong);
}

/* ============================================
   Stats Block (Index)
   ============================================ */
.stat__num {
  font-family: var(--bulma-family-secondary);
  color: var(--accent);
  margin: 0;
}
.stat__label {
  color: var(--bulma-text-weak);
}

/* ============================================
   Track Box (Index)
   ============================================ */
.track-box {
  height: 100%;
}
.track-box__title {
  font-family: var(--bulma-family-secondary);
  color: var(--bulma-text-strong);
}

/* ============================================
   Takeaway Card (Talk-Detail Band)
   ============================================ */
.takeaway-grid {
  display: grid;
  gap: var(--bulma-block-spacing, 1rem);
}
.takeaway-card {
  height: 100%;
}
.takeaway-card .card-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.takeaway-card__num {
  font-family: var(--bulma-family-secondary);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.takeaway-card__text {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  color: var(--bulma-text-strong);
}

/* Highlight-Pill als Standalone (z. B. vor Track-Eyebrow) */
.highlight-pill {
  background: var(--accent-tint-18);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ============================================
   AI Notice Bar (Talk-Detail oben)
   ============================================ */
.notice-bar {
  border-radius: 0;
}
.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.notice-bar__text {
  font-size: 13px;
}

/* ============================================
   Talk Hero (Split: Title + Media-Placeholder)
   ============================================ */
.talk-hero {
  padding: 32px 0;
}
.talk-hero__frame {
  margin: 0;
  min-height: 340px;
  border: 1.5px solid var(--accent);
  border-radius: var(--bulma-radius);
  overflow: hidden;
  background: hsla(var(--bulma-link-h), var(--bulma-link-s), var(--bulma-link-l), 0.06);
}
.talk-hero__left {
  display: flex;
}
.talk-hero__left-inner {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
}
.talk-hero__topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.talk-hero__back {
  text-decoration: none;
}
.meta-mono {
  font-family: var(--bulma-family-primary);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bulma-text-weak);
}
.talk-hero__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
}
.talk-hero__speaker {
  display: flex;
  align-items: center;
  gap: 16px;
}
.talk-hero__speaker-name {
  font-weight: 600;
  color: var(--bulma-text-strong);
  font-size: 16px;
  margin: 0;
}
.talk-hero__speaker-org {
  font-size: 13px;
  color: var(--bulma-text-weak);
  margin: 0;
}

/* Media placeholder */
.talk-hero__right {
  padding: 0;
  background: hsl(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-main-l));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.media-placeholder {
  padding: 32px;
  text-align: center;
  max-width: 340px;
}
.media-placeholder__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--bulma-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--bulma-text-weak);
}
.media-placeholder__label {
  font-family: var(--bulma-family-primary);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bulma-text-weak);
  margin-bottom: 8px;
}
.media-placeholder__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--bulma-text);
}

/* ============================================
   Section-Bar (Eyebrow + rechts-bündige Meta)
   ============================================ */
.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-bar .eyebrow {
  margin: 0;
}

/* ============================================
   Talk Body (Two-Column: Summary + Quote-Sidebar)
   ============================================ */
.talk-summary {
  font-size: 18px;
  line-height: 1.55;
  color: var(--bulma-text-strong);
  margin-bottom: 32px;
}
.talk-body {
  font-size: 15px;
  line-height: 1.7;
}
.quote-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================
   Banded Section (mit Top + Bottom Border)
   ============================================ */
.section-banded {
  border-top: 1px solid var(--bulma-border);
  border-bottom: 1px solid var(--bulma-border);
}

/* ============================================
   Quote Card (Sidebar auf Talk-Detail)
   ============================================ */
.quote-card {
  /* nutzt Bulma .card */
}
.quote-card .card-content {
  padding: 16px 18px;
}
.quote-card__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.quote-card__mark {
  font-family: var(--bulma-family-secondary);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
}
.quote-card__index {
  font-size: 10px;
  margin: 0;
}
.quote-card blockquote {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-family: var(--bulma-family-secondary);
  font-size: 15px;
  line-height: 1.4;
  color: var(--bulma-text-strong);
}
.quote-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quote-card__attrib {
  font-family: var(--bulma-family-primary);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bulma-text-weak);
  margin: 0;
}
.copy-quote-btn {
  padding: 4px 8px;
  height: auto;
  min-height: 0;
}

/* ============================================
   Mention Tag (Name fett + Rolle in weak)
   ============================================ */
.tag.mention strong {
  font-weight: 600;
  color: var(--bulma-text-strong);
}
.tag.mention .role {
  color: var(--bulma-text-weak);
}

/* ============================================
   Related Sessions List (Talk-Detail)
   ============================================ */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.related-item .avatar-mono {
  width: 38px;
  height: 38px;
  font-size: 12px;
}
.related-item__body {
  flex: 1;
  min-width: 0;
}
.related-item__title {
  font-family: var(--bulma-family-secondary);
  font-weight: 600;
  color: var(--bulma-text-strong);
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.related-item__meta {
  font-size: 12px;
  color: var(--bulma-text-weak);
  margin: 0;
}
.related-item__chevron {
  color: var(--bulma-text-weak);
}
.related-empty {
  font-size: 13px;
  color: var(--bulma-text-weak);
}

/* ============================================
   Match-Ring (KI-Match-Score)
   ============================================ */
.match-ring {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.match-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.match-ring__track {
  fill: none;
  stroke: var(--bulma-border);
  stroke-width: 3;
}
.match-ring__bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
}
.match-ring__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.match-ring__num {
  font-family: var(--bulma-family-secondary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.match-ring__label {
  font-family: var(--bulma-family-primary);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--bulma-text-weak);
  margin-top: 2px;
}
.match-ring.is-large {
  width: 68px;
  height: 68px;
}
.match-ring.is-large .match-ring__num {
  font-size: 22px;
}
.match-ring.is-large .match-ring__label {
  font-size: 9px;
}

/* ============================================
   Interests Row (Mein-Recap)
   ============================================ */
.interests-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.interests-row__label {
  font-family: var(--bulma-family-primary);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bulma-text-weak);
  margin-right: 4px;
}

/* ============================================
   Curated Card (Mein-Recap — Top-3 Auswahl)
   ============================================ */
.curated-card {
  margin-bottom: 1.25rem;
}
.curated-card__inner {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 28px 32px;
}
.curated-card__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.curated-card__rank {
  font-family: var(--bulma-family-primary);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bulma-text-weak);
}
.curated-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.curated-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.curated-card__tags .recap-meta {
  margin-left: 6px;
}
.curated-card__title {
  font-family: var(--bulma-family-secondary);
  line-height: 1.15;
  margin: 0;
  color: var(--bulma-text-strong);
}
.curated-card__short {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bulma-text);
  margin: 0;
}
.curated-card__reason {
  padding: 12px 16px;
  background: var(--accent-tint-18);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  line-height: 1.5;
  color: var(--bulma-text-strong);
}
.curated-card__reason-label {
  font-family: var(--bulma-family-primary);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bulma-text-weak);
  margin: 0 0 4px;
}
.curated-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--bulma-border);
}
.curated-card__speaker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.curated-card__speaker .avatar-mono {
  width: 44px;
  height: 44px;
  font-size: 14px;
}
.curated-card__speaker-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bulma-text-strong);
  margin: 0;
}
.curated-card__speaker-org {
  font-size: 12px;
  color: var(--bulma-text-weak);
  margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer__brand {
  font-family: var(--bulma-family-secondary);
  font-weight: 700;
  color: var(--bulma-text-strong);
  font-size: 18px;
}
.footer__lede {
  max-width: 38ch;
  font-size: 13px;
}
.footer__link {
  color: var(--bulma-text);
}
.footer__copy {
  font-size: 13px;
  color: var(--bulma-text-weak);
}
