/* Danh sach video YouTube: khoi trang chu + trang /video */
.hc-yt { padding: 70px 0 40px; }
.hc-yt-inner { max-width: 1300px; margin: 0 auto; padding: 0 15px; }
.hc-yt-head { text-align: center; margin-bottom: 36px; }
.hc-yt-head h1, .hc-yt-head h2 { margin: 0; letter-spacing: 1px; }
.hc-yt-head .hc-yt-line { width: 60px; height: 3px; background: #006838; margin: 14px auto 0; }
.hc-yt-head .hc-yt-count { margin-top: 12px; color: #888; font-size: 14px; }
.hc-yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hc-yt-item { display: block; text-decoration: none !important; color: #222; }
.hc-yt-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.hc-yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hc-yt-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 55%); }
.hc-yt-play {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 60px; height: 42px; margin: -21px 0 0 -30px;
    background: rgba(0, 104, 56, .92); border-radius: 12px; transition: transform .25s, background .25s;
}
.hc-yt-play::before {
    content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px;
    border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.hc-yt-badge { position: absolute; z-index: 2; left: 10px; top: 10px; background: #ff0033; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.hc-yt-item:hover .hc-yt-thumb img { transform: scale(1.06); }
.hc-yt-item:hover .hc-yt-play { transform: scale(1.12); background: #ff0033; }
.hc-yt-title {
    margin-top: 12px; font-size: 15px; line-height: 1.45; font-weight: 500;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hc-yt-item:hover .hc-yt-title { color: #006838; }
.hc-yt-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hc-yt-more a {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 26px; border: 2px solid #006838;
    border-radius: 6px; color: #006838; font-weight: 600; text-decoration: none !important; transition: all .2s;
}
.hc-yt-more a:hover { background: #006838; color: #fff; }
.hc-yt-more a.hc-yt-primary { background: #006838; color: #fff; }
.hc-yt-more a.hc-yt-primary:hover { background: #00512b; border-color: #00512b; }
.hc-yt .woocommerce-pagination { display: flex; justify-content: center; margin-top: 24px; }
.hc-yt-empty { text-align: center; color: #888; padding: 40px 0; }
@media (max-width: 1024px) { .hc-yt-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 767px) {
    .hc-yt { padding: 40px 0 20px; }
    .hc-yt-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hc-yt-title { font-size: 13px; margin-top: 8px; }
    .hc-yt-play { width: 46px; height: 32px; margin: -16px 0 0 -23px; border-radius: 9px; }
    .hc-yt-play::before { margin: -7px 0 0 -5px; border-width: 7px 0 7px 12px; }
    .hc-yt-more a { flex: 1 1 100%; justify-content: center; }
}
