/* Font: Lexend cho mọi trang và cả hai ngôn ngữ, giống trang chủ */
@font-face { font-family: Lexend; src: url(/fonts/lexend-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Lexend; src: url(/fonts/lexend-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+2C60-2C7F; }
@font-face { font-family: Lexend; src: url(/fonts/lexend-vietnamese-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --bg: #000; --fg: #fff; --gold: #a08050; --muted: #b9b9b9; --paper: #e2e2e2; --ink: #111;
  --font: Lexend, system-ui, sans-serif; --gutter: 60px; --header: 74px;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-weight: 300; line-height: 1.5; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea, select { font-family: inherit; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 var(--gutter); background: #000; border-bottom: 1px solid var(--gold); }
.site-logo { display: flex; align-items: center; gap: 12px; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; justify-self: start; }
.site-logo img { height: 28px; width: auto; }
.site-nav { display: contents; }
.site-menu { display: flex; gap: 40px; }
.site-menu a, .site-actions a { font-size: 13px; color: var(--gold); transition: color .2s; }
.site-menu a:hover, .site-actions a:hover, .lang-switch__item[aria-current] { color: var(--fg); }
.site-actions { display: flex; align-items: center; gap: 32px; justify-self: end; }
.lang-switch { display: flex; gap: 6px; font-size: 13px; color: var(--gold); }
.site-burger { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; justify-self: end; }
.site-burger span { display: block; height: 1px; margin: 6px 0; background: var(--gold); transition: transform .3s, opacity .3s; }

.site-footer { padding: 60px var(--gutter) 40px; border-top: 1px solid var(--gold); }
.footer-tagline { margin: 0 0 40px; font-size: clamp(24px, 3vw, 34px); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col h2 { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.footer-col li { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col--contact { margin-left: auto; }
.footer-copy { margin: 48px 0 0; font-size: 12px; color: var(--muted); }

.button { display: inline-block; min-width: 150px; padding: 15px 28px; font-size: 13px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; text-align: center; color: var(--fg); background: rgba(0, 0, 0, .35); border: 1px solid #8a6e4b; cursor: pointer; font-family: inherit; transition: background-color .2s, color .2s; }
.button:hover { background: var(--gold); color: #000; }
.not-found { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 40px 16px; text-align: center; }
.not-found h1 { font-weight: 300; letter-spacing: .2em; text-transform: uppercase; }

@media (max-width: 1024px) {
  :root { --gutter: 16px; --header: 64px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-burger { display: block; }
  .site-nav { display: block; position: fixed; inset: var(--header) 0 0 0; padding: 24px 16px; background: #000; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; overflow: auto; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-menu { flex-direction: column; gap: 0; }
  .site-menu a { display: block; padding: 14px 0; font-size: 18px; color: var(--fg); }
  .site-actions { justify-content: space-between; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gold); }
  .site-actions a, .lang-switch { font-size: 16px; }
  .footer-col--contact { margin-left: 0; }
}

/* Part: ảnh nền tràn viền, khung đặt theo % của part */
.part { position: relative; overflow: hidden; }
.part.is-hidden { opacity: .4; }
.part--stage { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 720px; padding: 60px var(--gutter); border-bottom: 1px solid var(--gold); }
/* Ảnh đầu trang hiện đủ: cao vừa màn hình nhưng không vượt tỉ lệ 16:9 của ảnh */
.part--hero { min-height: min(calc(100vh - var(--header)), 56.25vw); }
.part--hero .part__bg { object-fit: contain; }
.part__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Tối dần ở chân ảnh để chữ đọc được trên ảnh sáng */
.part--stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .9) 85%); pointer-events: none; }
.part--stage .frame { text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.part--section { padding: 80px var(--gutter); }
.part--section > .part__frames { display: grid; gap: 16px; }
.part--heading { padding: 96px var(--gutter) 40px; }
.frame { position: relative; z-index: 1; min-width: 0; }
.frame h2 { margin: 0; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; }
.frame__text { font-size: 16px; }
.frame__text > :first-child { margin-top: 0; }
.frame__text > :last-child { margin-bottom: 0; }
.part--heading .frame h2, .part--newsletter .frame h2 { color: var(--gold); }

/* Lưới: ảnh phủ kín ô; tin và đối tác có khoảng cách giữa các ô */
.grid { display: grid; gap: 0; }
.grid--news { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--partners { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: #000; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 20px 24px 32px; }
.card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; text-transform: uppercase; }
.card p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.card time { display: block; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.card__more { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
/* Lưới tràn viền: mỗi bài là một khối ảnh to xếp dọc như trang chủ, gạch ngang giữa các khối */
.grid.grid--stack { grid-template-columns: minmax(0, 1fr); gap: 0; }
.grid--stack .card { position: relative; min-height: 720px; justify-content: flex-end; overflow: hidden; text-align: center; }
.grid--stack .card + .card { border-top: 1px solid var(--gold); }
.grid--stack .card__media { position: absolute; inset: 0; }
.grid--stack .card img { height: 100%; aspect-ratio: auto; }
.grid--stack .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .9) 85%); pointer-events: none; }
.grid--stack .card__body { position: relative; z-index: 1; padding: 60px var(--gutter); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.grid--stack .card h3 { margin-bottom: 14px; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; letter-spacing: .3em; }
.grid--stack .card p { margin-bottom: 18px; font-size: 16px; color: var(--fg); }
.grid--stack .card time { color: var(--fg); }
.grid--stack .card__more { display: inline-block; min-width: 240px; padding: 15px 28px; color: var(--fg); background: rgba(0, 0, 0, .35); border: 1px solid #8a6e4b; transition: background-color .2s, color .2s; }
.grid--stack .card:hover .card__more { background: var(--gold); color: #000; }
.part--stack { border-bottom: 1px solid var(--gold); }
[data-page] > .part--stack:last-child { border-bottom: 0; }

/* Slide đối tác: 5 ô nhỏ một hàng, cách nhau theo bề ngang; hai đầu thẳng lề header để không tràn viền; vuốt được kể cả khi tắt JS */
.slider { position: relative; padding-inline: var(--gutter); }
.grid--slider { display: flex; gap: 7.5vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.grid--slider::-webkit-scrollbar { display: none; }
.grid--slider > * { flex: 0 0 calc((100% - 4 * 7.5vw) / 5); scroll-snap-align: start; }
.slider__arrow { position: absolute; top: 50%; z-index: 2; display: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0 0 3px; font: 300 20px/1 var(--font); color: var(--fg); background: rgba(160, 128, 80, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--gold); border-radius: 50%; cursor: pointer; transform: translateY(-50%); transition: background-color .2s, color .2s; }
html.js .slider__arrow { display: flex; }
html.js .slider__arrow[hidden] { display: none; }
.slider__arrow:hover { background: var(--gold); color: #000; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }

/* Trang chủ: gạch ngang tách tin tức, đối tác và phần kết nối */
[data-page="home"] .part--news-grid, [data-page="home"] .part--partner-grid { padding-bottom: 72px; border-bottom: 1px solid var(--gold); }
.partner { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.partner img { width: 100%; height: 100%; object-fit: cover; }
.partner__name { position: absolute; left: 12px; right: 12px; bottom: 8px; font-size: 13px; text-shadow: 0 1px 4px #000; }

/* Biểu mẫu */
.form { display: grid; gap: 16px; width: 100%; max-width: 560px; margin: 32px auto 0; }
.form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.form input, .form textarea, .search__form input { width: 100%; padding: 12px; border: 0; background: #fff; color: #000; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; }
.form .button { justify-self: center; }
.form__msg { margin: 0; min-height: 1.5em; text-align: center; font-size: 14px; color: var(--gold); }
.form__trap { position: absolute; left: -9999px; }

/* Bài tin, sản phẩm, tìm kiếm */
.entry { overflow-x: clip; }
.entry__cover img { width: 100%; height: 60vh; object-fit: cover; }
.entry__body { max-width: 860px; margin: 0 auto; padding: 48px 16px 80px; }
.entry h1 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; }
.entry time { color: var(--muted); font-size: 14px; }
.prose { font-size: 17px; line-height: 1.7; }
.prose img { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.prose a { color: var(--gold); text-decoration: underline; }
.part--rich-text .prose { max-width: 860px; margin: 0 auto; }
.search { max-width: 860px; margin: 0 auto; padding: 0 16px 80px; }
.search__form { display: flex; gap: 12px; }
.search__results li { padding: 20px 0; border-bottom: 1px solid #333; }
.search__results h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; text-transform: uppercase; }
.search__results p { margin: 0; color: var(--muted); }

/* Trang dòng sản phẩm và trang chi tiết model */
/* Thanh đường dẫn: nền xám, "/" trước mọi mục, vạch dưới chuyển màu vàng sáng dần ra giữa */
.crumbs { padding: 10px 60px 10px 32px; font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #8a6e4b; background: #232323; border-bottom: 4px solid; border-image: linear-gradient(90deg, #422e0b 0%, #8a6e4b 25%, #eedac0 50%, #8a6e4b 75%, #422e0b 100%) 1; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.crumbs li::before { content: "/"; margin-right: 7px; color: #8a6e4b; }
.crumbs a { color: #8a6e4b; transition: color .2s; }
.crumbs a:hover { color: #eedac0; }
.crumbs [aria-current] { color: #eedac0; }
/* Trang chủ đề và trang dòng: mỗi mục là một khối ảnh tràn viền, chữ đặt trên chân ảnh, gạch vàng giữa các khối như trang chủ */
.series__head { padding: 120px 16px 128px; text-align: center; }
.entry.series h1 { margin: 0; font-size: 50px; line-height: 1.1; font-weight: 400; letter-spacing: .3em; }
.series__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 720px; overflow: hidden; text-align: center; border-top: 1px solid var(--gold); }
.series__media { position: absolute; inset: 0; }
.series__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s; }
.series__item:hover .series__media img { transform: scale(1.03); }
.series__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .9) 85%); pointer-events: none; }
.series__body { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: center; padding: 60px var(--gutter); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.series__item h2 { margin: 0; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; }
.series__item .series__sub { margin: 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.series__item p:not(.series__sub) { max-width: 850px; margin: 0; font-size: 16px; }
/* Trang chi tiết model: số đo theo trang mẫu, ảnh tràn hai mép */
.model__head { max-width: 884px; margin: 0 auto; padding: 120px 16px 48px; text-align: center; }
.entry.model h1 { margin: 0 0 32px; font-size: 34px; line-height: 1.1; font-weight: 400; letter-spacing: .4em; }
.model__head p { margin: 0; font-size: 19px; line-height: 1.7; font-weight: 400; color: #e6e6e6; }
.model__head .series__sub { margin: -16px 0 24px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: .1em; color: #8a6e4b; }
.model__cover img { width: 100%; aspect-ratio: 23 / 10; object-fit: cover; }
.model__body { max-width: 884px; margin: 0 auto; padding: 48px 16px 0; }
.model__body.prose p { font-size: 19px; line-height: 1.7; font-weight: 400; color: #e6e6e6; }
.tabs { max-width: 884px; margin: 64px auto 0; padding: 0 16px; }
.tabs__list { display: flex; }
html:not(.js) .tabs__list, .tabs.is-tabbed .tabs__heading { display: none; }
.tabs__tab { flex: 1; padding: 16px 24px; font-size: 14.6px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #aaa; background: none; border: 0; border-bottom: 1px solid #333; cursor: pointer; }
.tabs__tab[aria-selected="true"] { color: #eedac0; border-bottom-color: #eedac0; }
.tabs__panel { padding: 26px 0 0; }
.tabs__heading { margin: 24px 0 12px; font-size: 15px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: #eedac0; }
.specs { width: 100%; border-collapse: collapse; font-size: 15.75px; line-height: 1.3; }
.specs tr:nth-child(odd) { background: #1b1b1b; }
.specs tr:nth-child(even) { background: #232323; }
.specs th { width: 42%; padding: 14px 28px; font-weight: 400; text-align: right; color: #8a6e4b; }
.specs td { padding: 14px 28px; }
.specs tr:last-child > * { padding-bottom: 28px; }
.download { display: flex; justify-content: center; padding: 24px 0; }
.download .button { display: inline-flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 50px; font-size: 15px; font-weight: 500; letter-spacing: 2px; background: transparent; }
.download svg { width: 16px; height: 16px; }
.related { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 190px; padding: 128px 16px; }
.related__item { display: grid; gap: 27px; justify-items: center; }
.related__item h2 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
.related__item .button { min-width: 0; padding: 14px 40px; font-size: 15px; font-weight: 500; letter-spacing: 2px; background: transparent; }
@media (max-width: 768px) {
  .series__head { padding: 64px 16px 32px; }
  .model__head { padding: 48px 16px 32px; }
  .entry.series h1 { font-size: 29px; letter-spacing: .2em; }
  .crumbs { padding: 10px 24px; font-size: 12px; line-height: 14px; border-bottom-width: 3px; }
  .model__head { padding: 56px 24px 32px; }
  .entry.model h1 { margin-bottom: 32px; font-size: 22px; letter-spacing: .2em; }
  .model__head p, .model__body.prose p { font-size: 17px; }
  .model__head .series__sub { font-size: 18px; }
  .model__cover img { aspect-ratio: auto; }
  .model__body { padding: 32px 24px 0; }
  /* Điện thoại: tab dọc bên trái, thông số xếp tên trên giá trị dưới */
  .tabs { display: grid; grid-template-columns: 44px minmax(0, 1fr); margin-top: 48px; padding: 0 16px; }
  .tabs__list { flex-direction: column; align-self: start; }
  .tabs__tab { flex: none; padding: 18px 14px; writing-mode: vertical-rl; transform: rotate(180deg); border-bottom: 0; border-right: 1px solid #333; }
  .tabs__tab[aria-selected="true"] { border-right-color: #eedac0; }
  html:not(.js) .tabs, .tabs:not(.is-tabbed) { display: block; }
  .tabs__panel { padding: 0 0 0 1px; }
  .specs th, .specs td { display: block; width: auto; text-align: left; }
  .specs th { padding: 12px 20px 4px; font-weight: 500; }
  .specs td { padding: 4px 20px 12px; }
  .specs tr:last-child > * { padding-bottom: 12px; }
  .specs tr:last-child > td { padding-bottom: 28px; }
  .download .button { padding: 14px 32px; }
  .related { flex-direction: column; gap: 56px; padding: 64px 24px; }
  .related__item { gap: 24px; justify-items: stretch; text-align: center; }
  .related__item h2 { font-size: 22px; letter-spacing: .2em; }
  .related__item .button { padding: 12px 28px; font-size: 14px; }
}

/* Khung đặt tự do chỉ áp dụng trên desktop; mobile xếp dọc trừ khi đã chỉnh riêng */
@media (min-width: 1280px) {
  .button { min-width: 240px; }
}
@media (min-width: 769px) {
  .frame--free { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%); }
}
@media (max-width: 768px) {
  /* Điện thoại: khối ảnh cao đúng theo ảnh để ảnh hiện đủ không bị cắt, chữ và nút đè lên chân ảnh.
     Ảnh và chữ chồng lên nhau trong cùng một ô lưới: chữ dài hơn ảnh thì khối dài thêm, ảnh vẫn nguyên ở trên. */
  .part--stage:not(.part--hero), .series__item, .grid--stack .card { display: grid; min-height: 0 !important; padding: 0; }
  .part--stage:not(.part--hero) > .part__bg, .series__media, .grid--stack .card__media { position: relative; grid-area: 1 / 1; align-self: start; overflow: hidden; }
  .part--stage:not(.part--hero) > .part__bg, .series__media img, .grid--stack .card img { height: auto; }
  .part--stage:not(.part--hero) > .part__frames, .series__body, .grid--stack .card__body { grid-area: 1 / 1; align-self: end; z-index: 1; }
  .part--stage:not(.part--hero)::after, .series__item::after, .grid--stack .card::after { z-index: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .75) 100%); }
  .part--stage:not(.part--hero) > .part__frames { display: grid; gap: 8px; padding: 16px; }
  .series__body, .grid--stack .card__body { display: grid; gap: 6px; justify-items: stretch; padding: 16px; }
  .grid--stack .card time { margin: 0; font-size: 12px; }
  /* Chữ nhỏ lại cho vừa ảnh 16:9 chỉ cao khoảng 220px */
  .part--stage:not(.part--hero) .frame h2, .series__item h2, .grid--stack .card h3 { margin: 0; font-size: 18px; letter-spacing: .2em; }
  .part--stage:not(.part--hero) .frame__text, .series__item p:not(.series__sub), .grid--stack .card p { margin: 0; font-size: 13px; line-height: 1.45; }
  .series__item .series__sub { font-size: 14px; }
  .part--stage:not(.part--hero) .button, .series__body .button, .grid--stack .card__more { margin-top: 4px; padding: 9px 16px; font-size: 12px; }
  /* Điện thoại: ảnh đủ chiều ngang, chữ và nút xếp bên dưới vì ảnh 16:9 quá thấp để đặt chữ lên */
  /* Bỏ qua chiều cao chỉnh trong admin: chữ đã xếp dưới ảnh nên chiều cao thêm chỉ là khoảng đen */
  .part--hero { display: block; min-height: 0 !important; padding: 0; }
  .part--hero::after { display: none; }
  .part--hero .part__bg { position: static; height: auto; aspect-ratio: 16 / 9; }
  .part--hero .part__frames { display: grid; gap: 16px; padding: 28px 16px 40px; }
  .part--hero .frame--mobile { position: relative; left: auto; top: auto; width: auto; transform: translateY(var(--rise)); }
  .part--section { padding: 56px 16px; }
  .part--heading { padding: 72px 16px 32px; }
  .frame--mobile { position: absolute; left: var(--mx); top: var(--my); width: var(--mw); transform: translate(-50%, -50%); }
  .frame .button { width: 100%; }
  .grid--news, .grid--products { grid-template-columns: minmax(0, 1fr); }
  .grid--partners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .grid--stack .card__more { display: block; min-width: 0; }
  /* Điện thoại: 3 ô nhỏ cách xa nhau, chỉ vuốt và tự chạy nên bỏ mũi tên */
  .slider { padding-inline: 0; }
  .grid--slider { gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .grid--slider > * { flex-basis: calc((100% - 32px) / 3); }
  .grid--slider .partner__name { left: 8px; right: 8px; bottom: 6px; font-size: 11px; }
  html.js .slider__arrow { display: none; }
  .card__body { padding: 20px 16px 32px; }
}

/* Chuyển động: chỉ dùng transform và opacity để điện thoại không giật */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.site-header { view-transition-name: site-header; transition: transform .3s; }
.site-header.is-away { transform: translateY(-100%); }
.frame, .grid { --rise: 0px; transition: opacity .5s, transform .5s; }
.frame:not(.frame--free), .grid { transform: translateY(var(--rise)); }
.card__media { overflow: hidden; }
.card img, .partner img { transition: transform .6s; }
.card:hover img, .partner:hover img { transform: scale(1.04); }
.site-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 769px) {
  .frame--free { transform: translate(-50%, calc(-50% + var(--rise))); }
}
@media (max-width: 768px) {
  .frame--free:not(.frame--mobile) { transform: translateY(var(--rise)); }
  .frame--mobile { transform: translate(-50%, calc(-50% + var(--rise))); }
}
/* Chỉ ẩn trước khi cuộn tới khi có JS, nên tắt JS nội dung vẫn hiện */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-editing) .frame:not(.is-in), html.js:not(.is-editing) .grid:not(.is-in) { opacity: 0; --rise: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0s !important; transition-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html.is-editing .frame, html.is-editing .grid { transition: none; }
