/* Section builder : Chaîne YouTube */
.builder.youtube_channel .yt-channel { padding: 20px 24px 40px; }

.yt-channel__title {
    text-align: center;
    color: var(--dark-blue, #00355f);
    margin: 0 0 24px;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}
section.builder[data-color="#00355f"] .yt-channel__title { color: #fff; }

.yt-channel__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
@media (max-width: 900px) { .yt-channel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .yt-channel__grid { grid-template-columns: 1fr; } }

.yt-channel__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e9f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yt-channel__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -18px rgba(10, 58, 104, 0.45);
}

.yt-channel__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.yt-channel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.yt-channel__card:hover .yt-channel__thumb img { transform: scale(1.04); }

.yt-channel__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 42px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 10px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.yt-channel__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent #fff;
}
.yt-channel__card:hover .yt-channel__play {
    background: #e2001a;
    transform: translate(-50%, -50%) scale(1.05);
}

.yt-channel__meta { padding: 14px 16px 16px; }
.yt-channel__vtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-blue, #00355f);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
section.builder[data-color="#00355f"] .yt-channel__card { background: #fff; }
section.builder[data-color="#00355f"] .yt-channel__vtitle { color: var(--dark-blue, #00355f); }
