/* Băng chuyền trên điện thoại (module mobile-carousel). Chỉ có tác dụng khi JS thêm lớp .mgv-car-row. */
.mgv-car-nav { display: none; }
@media only screen and (max-width: 767px) {
  .mgv-car-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .mgv-car-row::-webkit-scrollbar { display: none; }
  .mgv-car-row > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }
  .mgv-car-row img { height: auto; }
  .mgv-car-title { position: relative; }
  .mgv-car-nav {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .mgv-car-nav button {
    width: 30px;
    height: 30px;
    margin: 0 0 0 1px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
    position: relative;
    line-height: 1;
  }
  .mgv-car-nav button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
  }
  .mgv-car-nav .mgv-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
  .mgv-car-nav .mgv-next::before { transform: translate(-70%, -50%) rotate(45deg); }
  .mgv-car-nav button:focus-visible { outline: 2px solid #bb1919; }
}
