/* Khung thiết kế gốc: 1920px trên desktop, 390px trên mobile.
   main.js chỉ cập nhật hệ số zoom khi kích thước cửa sổ thay đổi. */
.vt-page {
  position: relative;
  width: 1920px;
  margin-inline: auto;
  overflow: clip;
  zoom: var(--page-scale, 1);
  background: var(--color-background);
}

.vt-content {
  position: relative;
  isolation: isolate;
}

.vt-content::before {
  content: "";
  position: absolute;
  inset: 600px 0 0;
  z-index: -1;
  background: url("../images/backgrounds/bg-main-section-1920x3898.webp") center top / 1920px 3898px
    no-repeat;
  pointer-events: none;
}

.vt-intro {
  position: relative;
  height: 1890px;
}

.vt-masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.vt-menu {
  display: flex;
  align-items: center;
  width: 1168px;
  height: 76px;
  margin: 30px auto 0;
  padding: 0 72px;
  background: url("../images/backgrounds/bg-header-1155.61x55.06.webp") center / 100% 100% no-repeat;
}

.vt-menu__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding: 0;
  list-style: none;
}

.vt-menu__item {
  min-width: 0;
}

.vt-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 24px;
  min-width: 0;
  padding: 0 16px;
  font-size: 16.26px;
  font-weight: 800;
  line-height: 23.7px;
  white-space: nowrap;
}

.vt-menu__item:not(:last-child) > .vt-menu__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 24px;
  background: #df9b36;
  transform: translateY(-50%);
}

.vt-menu__item:last-child > .vt-menu__link {
  color: #9e270d;
}

.vt-menu__link:hover,
.vt-menu__link[aria-current="page"] {
  color: #b15402;
}

.vt-menu__glyph {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #bd6809;
}

.vt-masthead__toggle,
.vt-menu__dismiss,
.vt-masthead__bar,
.vt-masthead__logo {
  display: none;
}

.vt-spotlight {
  position: absolute;
  inset: 0 0 auto;
  height: 1098px;
}

.vt-spotlight__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 1920px;
  height: 1080px;
}

.vt-spotlight__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-spotlight__logo {
  position: absolute;
  top: 145px;
  left: 72px;
  width: 400px;
  height: 332px;
}

.vt-spotlight__logo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vt-spotlight__publisher {
  position: absolute;
  top: 58px;
  left: 207px;
  width: 271px;
  height: 52px;
}

.vt-downloads {
  position: absolute;
  top: 784px;
  left: 50%;
  display: flex;
  align-items: flex-start;
  width: 614px;
  height: 208px;
  padding: 32px 0 0 71px;
  transform: translateX(-50%);
  background: url("../images/backgrounds/bg-download-horizontal-736x198.webp") center / 100% 100%
    no-repeat;
}

.vt-downloads__account--signup {
  flex: 0 0 142px;
  height: 142px;
}

.vt-downloads__account--credit {
  flex: 0 0 142px;
  height: 142px;
}

.vt-downloads__files {
  display: grid;
  grid-template-columns: 188px;
  grid-auto-rows: 57px;
  margin: 16px 0 0 -1px;
}

.vt-age-badge {
  position: absolute;
  left: 1260px;
  top: 814px;
  width: 108px;
}

.vt-spotlight__channels {
  position: absolute;
  top: 923px;
  left: 1258px;
  display: flex;
}
.vt-spotlight__channels .vt-art-link {
  width: 38.5px;
  height: 37.5px;
}

.vt-bulletin {
  position: absolute;
  top: 1140px;
  left: 60px;
  width: 1800px;
  height: 720px;
  background: url("../images/news/bg-info-1722x471.webp") center / contain no-repeat;
}

.vt-bulletin__spot {
  position: absolute;
  top: 180px;
  left: 242px;
  width: 588px;
  height: 332px;
}

.vt-bulletin__spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-bulletin__body {
  position: absolute;
  top: 145px;
  left: 873px;
  width: 676px;
}

.vt-gallery {
  position: relative;
  height: 960px;
}

.vt-gallery__title {
  position: absolute;
  top: 0;
  left: 327px;
  width: 1252px;
  height: 188px;
}

.vt-gallery__title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vt-footer {
  padding: 20px 24px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #5a211a 0%, #341713 48%, #170e0b 100%);
  color: #fff6dd;
}

.vt-footer__identity {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-footer__logo {
  flex: 0 0 298px;
}

.vt-footer__links {
  display: flex;
  justify-content: center;
  gap: 73px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  color: #ffe6a3;
  font-size: 17px;
}

.vt-footer__item > a {
  display: block;
}

.vt-footer__item + .vt-footer__item > a::before {
  content: "|";
  margin-right: 73px;
}

.vt-footer__ornament {
  width: 1159.62px;
  margin: 24px auto 0;
}

.vt-footer__ornament img {
  width: 100%;
  height: auto;
}

.vt-footer__publisher {
  width: 220px;
  height: 82px;
  margin: 8px auto 0;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .vt-page {
    width: 390px;
  }
  .vt-intro {
    height: 1326px;
  }
  .vt-content::before {
    display: none;
  }
  .vt-masthead {
    height: 83px;
    padding: 0;
    justify-content: flex-start;
    background: #291500;
  }
  .vt-masthead__bar {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .vt-masthead__logo {
    display: block;
    flex: 0 0 98px;
    height: 75px;
    margin-left: 16px;
  }
  .vt-masthead__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .vt-masthead__toggle {
    display: block;
    width: 83px;
    height: 83px;
    margin-left: auto;
  }
  .vt-menu {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    display: none;
    width: 390px;
    height: auto;
    margin: 0;
    padding: 55px 9px 9px;
    background: #fff6c6;
    box-shadow: 0 8px 30px #0008;
  }
  .vt-menu.vt-menu-expanded {
    display: block;
  }
  .vt-menu__items {
    display: block;
  }
  .vt-menu__link {
    gap: 12px;
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 0;
    border-bottom: 1px solid var(--color-primary);
    font-size: 16px;
  }
  .vt-menu__link::after {
    display: none;
  }
  .vt-menu__glyph {
    width: 24px;
    height: 24px;
  }
  .vt-menu__dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  .vt-menu__dismiss img {
    width: 19px;
  }
  .vt-spotlight {
    height: 666px;
    padding-top: 83px;
  }
  .vt-spotlight__backdrop {
    z-index: 0;
    top: 83px;
    width: 390px;
    height: 583px;
  }
  .vt-spotlight__logo {
    display: none;
  }
  .vt-downloads {
    top: 531px;
    left: 75px;
    display: grid;
    grid-template-columns: 122px 122px;
    width: 244px;
    height: auto;
    padding: 0;
    background: none;
    transform: none;
  }
  .vt-downloads__account {
    grid-row: 2;
    height: 84px;
  }
  .vt-downloads__files {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: 124px 123px;
    grid-auto-rows: 41px;
    margin: 0;
  }
  .vt-spotlight__channels {
    display: none;
  }
  .vt-age-badge {
    top: 86px;
    left: 10px;
    width: 74px;
    height: 71px;
  }
  .vt-bulletin {
    top: 679px;
    left: 9.5px;
    width: 371px;
    height: 607px;
    border-radius: 12px;
    background: var(--color-paper);
  }
  .vt-bulletin__spot {
    top: 7px;
    left: 9px;
    width: 353px;
    height: 199px;
  }
  .vt-bulletin__spot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .vt-bulletin__body {
    top: 266px;
    left: 9px;
    width: 353px;
  }

  .vt-gallery {
    height: 377px;
  }
  .vt-gallery__title {
    top: 20px;
    left: 1px;
    width: 388px;
    height: 59px;
  }
  .vt-footer {
    padding: 20px 16px;
  }
  .vt-footer__logo {
    flex-basis: 71px;
    width: 71px;
    height: 71px;
  }
  .vt-footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .vt-footer__links {
    gap: 18px;
    margin-top: 20px;
    font-size: 9px;
  }
  .vt-footer__item + .vt-footer__item > a::before {
    margin-right: 18px;
  }
  .vt-footer__ornament {
    width: 345.7px;
    margin-top: 16px;
  }
  .vt-footer__publisher {
    width: 96px;
    height: 36px;
  }
}
