/* wiki-meeting.css — Recording + transcript footer appended to wiki pages
   that have a matching meeting_recordings row. Sits OUTSIDE the BlockNote
   editor's DOM, so editing the summary doesn't disturb it and the footer
   doesn't disturb the editor. */

.wiki-meeting-header {
  /* Sits inside .wiki-body before the title — inherits body's container */
  margin: 0 0 1.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wiki-meeting-footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wiki-meeting-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.wiki-meeting-section h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wiki-meeting-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;            /* 16:9 */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.wiki-meeting-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wiki-transcript-toggle {
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  padding: 0.3rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
[data-theme="dark"] .wiki-transcript-toggle { color: var(--blue); }
.wiki-transcript-toggle:hover { text-decoration: underline; }

.wiki-transcript-body {
  margin-top: 0.9rem;
  max-height: 50vh;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  background: var(--bg-subtle, #f7f8fa);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
  white-space: pre-wrap;
}
[data-theme="dark"] .wiki-transcript-body { background: rgba(255,255,255,0.03); }

.wiki-transcript-copy {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  color: var(--text-secondary);
}
.wiki-transcript-copy:hover { background: var(--bg-hover); color: var(--text-heading); }

@media (max-width: 640px) {
  .wiki-meeting-footer { padding: 0 1rem 3rem; gap: 1.5rem; }
}
