/* Свіжі відео YouTube (myhero-youtube) */
.yt-fresh-wrap { padding: 56px 24px 8px; }
@media (max-width: 599px) { .yt-fresh-wrap { padding: 40px 16px 4px; } }
.yt-fresh { max-width: 1100px; margin: 0 auto; }
.yt-fresh__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.yt-fresh__head:not(:first-child) { margin-top: 40px; }
.yt-fresh__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.yt-fresh__grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yt-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.yt-card__play, .yt-card__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; overflow: hidden; background: #0A2060; box-shadow: 0 10px 24px rgba(10, 32, 96, .14); }
.yt-card--short .yt-card__play, .yt-card--short .yt-card__frame { aspect-ratio: 9 / 16; }
.yt-card__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.yt-card__play:hover img { transform: scale(1.04); }
.yt-card__btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: #FF0000; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .15s ease; }
.yt-card__btn::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-card__play:hover .yt-card__btn { transform: scale(1.08); }
.yt-card__play:focus-visible { outline: 3px solid #0757C6; outline-offset: 3px; }
.yt-card__title { font-weight: 800; font-size: .9375rem; line-height: 1.3; color: var(--wp--preset--color--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-fresh__note { margin: 24px 0 0; color: var(--wp--preset--color--muted); font-weight: 700; }
.yt-fresh__note a { color: var(--wp--preset--color--primary); }
@media (max-width: 860px) {
	.yt-fresh__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.yt-fresh__grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yt-fresh__grid:not(.yt-fresh__grid--shorts) .yt-card:first-child { grid-column: 1 / -1; }
	.yt-card__title { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .yt-card__play img, .yt-card__btn { transition: none; } }
