/* Styles only for the three-part clips page. Shared style.css is unchanged. */

.article-hero h1.segments-title {
  max-width: 24ch;
}

.segment-toc {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.segment-toc a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem 0.85rem;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.segment-toc a:hover {
  border-color: var(--gold);
  color: inherit;
}

.segment-toc .n {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.segment-toc .t {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.segment-toc .len {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.segment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1.35rem 1.75rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.4rem;
  margin: 0 0 1.75rem;
}

.segment h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.segment-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.segment-principle {
  margin: 0 0 1rem;
}

.segment-scriptures {
  margin: 0;
}

.segment-scriptures h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.segment-scriptures ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.segment-scriptures li {
  margin: 0;
  padding: 0.28rem 0;
  border-top: 1px solid rgba(216, 199, 160, 0.55);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.35;
}

.segment-scriptures li:first-child {
  border-top: 0;
  padding-top: 0;
}

.segment-scriptures a {
  text-decoration: none;
}

.segment-scriptures a:hover {
  text-decoration: underline;
}

.segment-player {
  margin: 0;
}

.segment-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #111;
  border-radius: 10px;
  border: 1px solid var(--gold-line);
}

@media (max-width: 719px) {
  .segment {
    grid-template-columns: 1fr;
    padding: 1.1rem 1rem 1.2rem;
  }

  .segment-player {
    max-width: 22rem;
    margin-inline: auto;
    width: 100%;
  }
}
