
/* ========================================
   BASE DO CARTÃO
   ======================================== */

.content-card {
  margin-bottom: 35px;
}

.content-card__wrap {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.content-card__wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ========================================
   IMAGEM DO CARTÃO 
   ======================================== */

.content-card__image {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #f5f5f5; */
}

.content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* ========================================
   FAVORITOS E BADGES
   ======================================== */

.content-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.content-card__pub-badge {
  position: absolute;
  top: 15px;
  left: 0;
  background: rgba(211, 211, 211, 0.6);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  z-index: 3;
}

/* ========================================
   HOVER "+" OVERLAY
   ======================================== */

.content-card__hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  transition: 0.25s;
}

.content-card__wrap:hover .content-card__hover {
  opacity: 1;
}

/* ========================================
   CONTEÚDO DO CARTÃO
   ======================================== */

.content-card__body {
  padding: 16px 18px 20px;
}

.content-card__title {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: 2.6em !important;
}

.content-card__subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 12px;
}

.content-card__meta {
  font-size: 0.85rem;
  color: #888;
}

/* ========================================
   CARTÃO EM DESTAQUE (FEATURED)
   ======================================== */

.content-card.content-card--featured {
  width: 100%;
  max-width: 100%;
}

.content-card.content-card--featured .content-card__image {
  height: 560px !important;
}

.content-card--featured .content-card__title {
  font-size: 1.5rem;
}

.content-card--featured .content-card__hover span {
  font-size: 60px;
}

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 991px) {
  .content-card.content-card--featured .content-card__image {
    height: 340px !important;
  }
}

/* ========================================
   CARTÕES DE VÍDEO
   ======================================== */

.video-thumb {
  height: 240px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* background-color: #f5f5f5; */
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.video-play-btn {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

/* Botão de play sobre featured video */
.content-card--featured .video-play-btn {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  width: 80px;
  height: 80px;
  font-size: 32px;
}

/* Vídeo em destaque */
.video-card--featured .video-thumb {
  height: 560px;
}

@media (max-width: 991px) {
  .video-card--featured .video-thumb {
    height: 340px;
  }
}
