/* ==========================================================
   YouTube
   ========================================================== */
.yt-icon { background: linear-gradient(135deg, #ff2e2e, #c4002b) !important; box-shadow: 0 8px 20px rgba(220, 0, 40, .3) !important; }
.yt-sub { margin-left: auto; align-self: center; }

.yt-stage {
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
    scroll-margin-top: calc(var(--topbar-h) + 16px);
}
.yt-player { position: relative; aspect-ratio: 16 / 9; background: #0b1020; overflow: hidden; }
.yt-player img, .yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-consent {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 24px; text-align: center; color: #fff;
    background: linear-gradient(0deg, rgba(8, 14, 30, .85), rgba(8, 14, 30, .35));
}
.yt-consent p { max-width: 460px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.yt-consent a { color: #fff; text-decoration: underline; }
.yt-remember { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); cursor: pointer; }
.yt-play {
    width: 78px; height: 78px; display: grid; place-items: center;
    border-radius: 50%; font-size: 28px; color: #fff;
    background: #e3001b; box-shadow: 0 10px 30px rgba(227, 0, 27, .45);
    transition: transform .2s var(--ease);
}
.yt-play i { margin-left: 5px; }
.yt-play:hover { transform: scale(1.08); }
.yt-info { display: flex; flex-direction: column; padding: 28px; }
.yt-info__date { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.yt-info h2 { margin: 6px 0 10px; font-size: 22px; line-height: 1.3; color: var(--navy); }
.yt-info p { margin: 0 0 16px; font-size: 14px; color: var(--text-muted); white-space: pre-line; overflow: hidden; }
.yt-info__link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.yt-info__link i { margin-right: 6px; }

.yt-h2 { margin-top: 40px; }
.yt-h2 span { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-50); }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.yt-card { display: flex; flex-direction: column; text-align: left; border-radius: var(--radius-lg); }
.yt-card__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b1020; box-shadow: var(--shadow-sm); }
.yt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.yt-card:hover .yt-card__img img { transform: scale(1.05); }
.yt-card__play {
    position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 50%; color: #fff; background: rgba(227, 0, 27, .9);
    opacity: 0; transform: scale(.8); transition: all .2s var(--ease);
}
.yt-card__play i { margin-left: 3px; }
.yt-card:hover .yt-card__play { opacity: 1; transform: scale(1); }
.yt-card__now {
    position: absolute; left: 8px; bottom: 8px; display: none;
    padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent);
}
.yt-card.is-current .yt-card__now { display: block; }
.yt-card.is-current .yt-card__img { box-shadow: 0 0 0 3px var(--accent); }
.yt-card__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 2px 0; }
.yt-card__body strong { font-size: 15px; line-height: 1.35; color: var(--navy); }
.yt-card__body span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 992px) { .yt-stage { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .yt-sub { margin-left: 0; }
    .yt-info { padding: 20px; }
    .yt-play { width: 64px; height: 64px; font-size: 22px; }
    .yt-consent p { font-size: 12px; }
    .yt-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .yt-card__body strong { font-size: 13px; }
}
