/* Podcast RSS Importer — transcript toggle styles */

.transcript-container {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  overflow: hidden;
}

.transcript-toggle-heading {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

/* Remove default disclosure triangle across browsers */
.transcript-toggle-heading::-webkit-details-marker { display: none; }
.transcript-toggle-heading::marker { display: none; content: ""; }

/* Custom chevron indicator (right side) */
.transcript-toggle-heading::after {
  content: "▾";
  font-size: 0.875rem;
  margin-left: 0.75rem;
  transition: transform 0.2s ease;
}
details[open] > .transcript-toggle-heading::after {
  transform: rotate(180deg);
}

.transcript {
  padding: 1rem 1.25rem;
  line-height: 1.7;
}
.transcript p { margin: 0 0 0.75rem; }

/* Override any legacy theme CSS that hides .transcript via display:none.
   Visibility is controlled entirely by the <details open> attribute. */
.transcript-container > .transcript { display: none !important; }
details.transcript-container[open] > .transcript { display: block !important; }
