/* ==========================================================================
   /Depoimentos - real testimonials inside the page's own showcase.

   The .depo-voices layout is untouched: same slots, same sizes, same card
   shapes. What is here only lets real content sit in those slots - a video
   player where there used to be a flat photo, a relato with no video, and
   the moderated comments below.
   ========================================================================== */

/* ------------------------------------------------- real content in the slots */

/* The player fills the feature slot exactly as the photo did. */
.depo-voices__feature .video,
.depo-voices__feature .video__cover {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.depo-voices__feature .video__label {
  display: none;
}

/* The caption sits over the player, so clicks have to reach the play button
   underneath it. */
.depo-voices__feature-scrim,
.depo-voices__feature-body {
  pointer-events: none;
}

.depo-voices__feature-who {
  margin: 0.35rem 0 0;
  font-size: var(--step--1);
  color: #ffffff;
  /* It sits over the video cover, where the image can be bright. */
  text-shadow: 0 1px 10px rgba(6, 33, 64, 0.85);
}

/* A relato with no video keeps the slot's shape, on the same navy. */
.depo-voices__feature--text {
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.depo-voices__feature-plain {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: #ffffff;
}

.depo-voices__feature-plain h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.depo-voices__feature-text {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--leading-normal);
}

.depo-voices__feature-plain .video__error {
  margin-bottom: 1rem;
}

/* The small cards carry text when there is no thumbnail to show. */
.depo-voices__mini-text {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: var(--leading-normal);
}

/* No relato published yet: say so, rather than filling the slots. */
.depo-voices__pending {
  background: var(--surface-0);
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--text-muted);
}

.depo-voices__pending strong {
  display: block;
  font-family: var(--font-display);
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.depo-voices__pending p {
  margin: 0;
}

/* --------------------------------------------------------- comments below */

.depo-comments-section {
  padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

/* ---------------------------------------------------------- the comments */

/* A navy panel, so the moderated public voice reads as a different kind of
   content from the consented stories above it. */
.depo-comments {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--brand-navy);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(11, 58, 111, 0.18);
}

.depo-comments__head {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.depo-comments__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: #ffffff;
}

.depo-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-pill);
  background: #9be931;
  color: #072547;
  font-size: var(--step--1);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.depo-comments__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--step--1);
  max-width: 48ch;
}

.depo-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.depo-comment {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}

.depo-comment__avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #9be931;
  color: #072547;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step--1);
}

.depo-comment__content {
  min-width: 0;
}

.depo-comment__body {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: var(--leading-normal);
  overflow-wrap: anywhere;
}

.depo-comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--step--2);
}

.depo-comment__author {
  font-weight: 700;
  color: #ffffff;
}

.depo-comment__date {
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.depo-comments__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.depo-comments__empty a {
  color: #9be931;
  font-weight: 700;
}

@media (max-width: 640px) {
  .depo-comment {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .depo-comment__avatar {
    width: 32px;
    height: 32px;
  }
}
