/* Text slides, shared by the TV screen and the admin preview.
   Sized in container units so the same markup scales from a thumbnail to a TV. */
.text-slide {
  container-type: size;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Padding lives on the inner box: container units on .text-slide itself would
   resolve against the page instead of the slide. */
.text-slide .ta-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7cqh 8cqw;
  gap: 3cqh;
  text-align: left;
}

.text-slide .ta-business {
  font-size: 3.4cqmin;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 2cqmin;
}

.text-slide .ta-business::before {
  content: '';
  width: 6cqmin;
  height: 0.8cqmin;
  border-radius: 1cqmin;
  background: var(--accent);
}

.text-slide .ta-headline {
  font-size: 10cqmin;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}

.text-slide .ta-body {
  font-size: 4.2cqmin;
  line-height: 1.35;
  margin: 0;
  max-width: 40ch;
  opacity: 0.9;
  white-space: pre-line;
}

.text-slide .ta-footer {
  align-self: flex-start;
  margin-top: 2cqh;
  font-size: 4cqmin;
  font-weight: 700;
  padding: 1.6cqmin 3.4cqmin;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink, #fff);
}
