/* Cộng đồng VCL: băng chuyền video dọc (tham khảo "Community in action") */
.vcl-comm { max-width: min(1840px, calc(100% - 48px)); margin: 56px auto; }
.vcl-comm__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.vcl-comm__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.vcl-comm__nav { display: flex; gap: 8px; }
.vcl-comm__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #111; background: #fff; color: #111; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.vcl-comm__btn:hover { background: #111; color: #fff; }
.vcl-comm__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.vcl-comm__track::-webkit-scrollbar { display: none; }
.vcl-comm__card { flex: 0 0 calc((100% - 56px) / 5); scroll-snap-align: start; min-width: 0; background: #fff; border: 1px solid #ececec; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.vcl-comm__media { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; }
.vcl-comm__media img, .vcl-comm__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vcl-comm__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); cursor: pointer; display: grid; place-items: center; }
.vcl-comm__play span { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; background: rgba(0,0,0,.25); }
.vcl-comm__play span::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vcl-comm__media.is-playing .vcl-comm__play { display: none; }
.vcl-comm__product { display: flex; align-items: center; gap: 10px; padding: 10px; color: #111; text-decoration: none; border-top: 1px solid #ececec; }
.vcl-comm__product img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: #f1f1f1; }
.vcl-comm__product strong { display: block; font-size: 13px; line-height: 1.3; }
.vcl-comm__product em { display: block; font-style: normal; font-size: 12px; color: #555; margin-top: 2px; }
@media (max-width: 1100px) { .vcl-comm__card { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 767px) {
	.vcl-comm { max-width: calc(100% - 24px); margin: 36px auto; }
	.vcl-comm__title { font-size: 22px; }
	.vcl-comm__card { flex-basis: 62%; }
	.vcl-comm__nav { display: none; }
}

/* Contain screen-reader-only text (price markup) inside the scrolling track: otherwise absolutely positioned bits escape the clipping and widen the page */
.vcl-comm__track, .vcl-comm__card { position: relative; }

/* Astra paints every button:hover/:focus with its red global colour; on the full-card play overlay that colour showed through the transparent top of the gradient and covered the whole clip. Keep the overlay neutral. */
.vcl-comm__play, .vcl-comm__play:hover, .vcl-comm__play:focus, .vcl-comm__play:active { background-color: transparent !important; color: #fff; box-shadow: none; outline: 0; }
.vcl-comm__play:hover span { background: rgba(0,0,0,.45); transform: scale(1.06); }
.vcl-comm__play span { transition: transform .2s, background .2s; }
.vcl-comm__play:focus-visible span { outline: 2px solid #fff; outline-offset: 3px; }
.vcl-comm__media { background: #1a1a1a; }
.vcl-comm__btn:hover, .vcl-comm__btn:focus { background-color: #111 !important; color: #fff !important; }
