/**
* Theme Name: Tusant SecondLine Child
* Description: This is a child theme of Tusant SecondLine.
* Author: SecondLineThemes
* Template: tusant-secondline
* Version: 1.5.6
*/

/* Vidéos intégrées (oEmbed / iframe direct) */
.cte-featured-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* Neutraliser le style du lien-wrapper quand il contient notre vidéo */
.secondline-themes-feaured-image,
.secondline-themes-featured-image { background-image: none !important; }

/* Version "click-to-play" légère */
.cte-yt-wrapper { position: relative; }
.cte-yt-lite {
  all: unset;
  cursor: pointer;
  display: block;
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.cte-yt-bg {
  display: block;
  width: 100%;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}
.cte-yt-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
}
.cte-yt-play::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}
