.relative {
  position: relative;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.z-20 {
  z-index: 20;
}

.glider:not(.draggable) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.glider {
  padding-bottom: 2.5rem;
}

.glider-next {
  right: -15px !important;
  left: auto !important;
  top: 45% !important;
}

.glider-prev {
  left: -15px !important;
  right: auto !important;
  top: 45% !important;
}

.youtbue-videos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2rem 1rem;
}

.title-videos h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
  display: -webkit-box;
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
  padding: 2rem 0;
}

.youtube-videos a {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  color: #333333;
  line-height: 1.2;
}

.fa-youtube-play {
  font-size: 18px;
  border-radius: 8px;
  padding: 10px 20px;
  border: none;
  background: #BD0007;
  color: white;
}

.btn-video:hover {
  color: #343434;
  text-decoration: none;
}

.video-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  gap: 16px;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-height: max-content;
}

.video-item img {
  border-radius: 18px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  max-height: 220px;
}

iframe.video-iframe {
  width: auto;
  height: 180px;
  border-radius: 18px;
  aspect-ratio: 16/9;
}

.video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  max-width: 90%;
  max-height: 180px;
}

h3.title-video {
  font-size: 18px;
  text-align: center;
  overflow: hidden;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 4.5em; /* Adiciona altura máxima baseada no tamanho da fonte */
  line-height: 1.5; /* Define altura da linha para melhor controle */
  margin: 0; /* Remove margens que podem afetar o cálculo da altura */
}