/* videoteca papo fértil — ajustes em cima do shell original */

/* miniatura do youtube é 16:9 — a moldura acompanha, sem cortar cabeça */
.ioio-media,
[data-framer-name="Video Thumbnail"] {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
}
[data-framer-name="Video Thumbnail"] img {
  object-fit: cover !important;
  object-position: center !important;
}

/* play que aparece no hover da cartinha */
a.ioio-card { position: relative; }
a.ioio-card .vt-play {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 3;
}
a.ioio-card .vt-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
a.ioio-card:hover .vt-play { opacity: 1; }
a.ioio-card { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
a.ioio-card:hover { transform: translateY(-4px); }

/* busca */
.vt-busca-btn { cursor: pointer; }
.vt-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(90, 0, 0, .92);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.vt-overlay.on { opacity: 1; pointer-events: auto; }
.vt-caixa { width: 100%; max-width: 760px; display: flex; flex-direction: column; min-height: 0; }
.vt-linha { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 12px; }
.vt-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 0;
}
.vt-input::placeholder { color: rgba(255, 255, 255, .45); }
.vt-fechar {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .8;
}
.vt-fechar:hover { opacity: 1; }
.vt-res { margin-top: 18px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.vt-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 8px;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease;
}
.vt-item:hover { background: rgba(255, 255, 255, .1); transform: translateX(3px); }
.vt-item img { width: 128px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; flex: none; }
.vt-item b, .vt-item, .vt-input, .vt-fechar { color: #fff !important; }
.vt-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.vt-item b { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.vt-item span { display: block; font-size: 11px; letter-spacing: .12em; opacity: .6; text-transform: uppercase; margin-top: 4px; }
.vt-vazio { color: rgba(255, 255, 255, .6); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 20px 8px; }

@media (max-width: 640px) {
  .vt-item img { width: 96px; }
  .vt-input { font-size: 17px; }
}

/* celular: uma cartinha por linha, título sem quebrar no meio da palavra */
@media (max-width: 640px) {
  .ioio-grid { grid-template-columns: 1fr !important; }
  a.ioio-card p.framer-text { word-break: normal !important; overflow-wrap: anywhere; }
}

/* o .ioio-grid estava furando as variantes do Framer e duplicando as seções */
@media (min-width: 1200px)                          { .hidden-72rtr7  { display: none !important; } }
@media (min-width: 810px) and (max-width: 1199.98px){ .hidden-136xcbf { display: none !important; } }
@media (max-width: 809.98px)                        { .hidden-167eyr0 { display: none !important; } }

/* a grade cresce com o conteúdo — sem sobra vazia antes do rodapé */
[data-vt-lista] { height: auto !important; min-height: 0 !important; }
