/* Mẫu Chữ Viết Tay Đỏ — giấy trắng ngà sợi mảnh, chữ viết tay đỏ đậm đè ảnh đôi, dải đỏ đậm ngăn mục. Bố cục flow. */

.t-viet-tay {
  --paper: #f2eee6;
  --red: #8e1b20;
  --red-2: #74161b;
  --bar: #6e1418;
  --ink: #26211e;
  --ink-soft: #6c645c;
  --line: rgba(142, 27, 32, .35);
  --f-hand: "Square Peg", "Noto Serif", cursive;
  --f-serif: "Noto Serif", Georgia, serif;
  --f-caps: "Cormorant Garamond", "Noto Serif", serif;
  --f-script: "Square Peg", cursive;
  --gate-bg: #f2eee6;
  --gate-ink: #26211e;
  --accent-strong: #8e1b20;
}
.t-viet-tay, .t-viet-tay .thiepmai-gate, .t-viet-tay .thiepmai-sheet { font-variant-numeric: lining-nums; }
.t-viet-tay .thiepmai-frame {
  background: url("paper.svg") 0 0 / 320px 320px, var(--paper);
  color: var(--ink);
  font-family: var(--f-serif);
}
.t-viet-tay p, .t-viet-tay h1 { margin: 0; font-weight: 400; }
.t-viet-tay .vt-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.t-viet-tay .vt-sec { position: relative; padding: 0 32px; text-align: center; }
.t-viet-tay img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- chữ dùng chung ---------- */
.t-viet-tay .vt-caps {
  position: absolute;
  font: normal 600 10.5px/1 var(--f-caps);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink);
}
.t-viet-tay .vt-kicker {
  font: 600 11px/1.6 var(--f-caps);
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--ink-soft);
}
.t-viet-tay .vt-title {
  margin-top: 2px;
  font: 400 64px/1 var(--f-hand);
  color: var(--red);
  transform: rotate(-3deg);
}
.t-viet-tay .vt-script { font: 400 40px/1.05 var(--f-hand); color: var(--red); }
.t-viet-tay .vt-lead { margin: 14px auto 0; max-width: 320px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

/* dải đỏ đậm ngăn mục (như mép thẻ) */
.t-viet-tay .vt-bar {
  height: 14px; margin: 54px 0 46px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .12)),
    var(--bar);
}
.t-viet-tay .vt-bar--thin { height: 5px; width: 64px; margin: 0 auto 26px; }

/* ---------- 1. bìa ---------- */
.t-viet-tay .vt-hero { position: relative; padding-top: 22px; }
.t-viet-tay .vt-tag {
  margin-left: 14px;
  font: 500 15px/1 var(--f-serif);
  letter-spacing: .08em; color: var(--red);
}
.t-viet-tay .vt-ribbon {
  position: absolute; top: 46px; right: 26px;
  width: 112px; height: 98px;
  color: #6f6760; opacity: .85;
  transform: rotate(-6deg);
}
.t-viet-tay .vt-meta {
  position: relative;
  margin: 84px 30px 0 auto; max-width: 300px;
  text-align: right;
  color: var(--ink);
}
.t-viet-tay .vt-meta__date { font-size: 18px; line-height: 1.45; letter-spacing: .04em; }
.t-viet-tay .vt-meta__sub { margin-top: 2px; font-size: 14.5px; line-height: 1.55; letter-spacing: .02em; }
.t-viet-tay .vt-meta__venue { margin-top: 12px; font-size: 16px; line-height: 1.45; font-weight: 500; letter-spacing: .02em; text-wrap: balance; }
.t-viet-tay .vt-meta__names { margin-top: 12px; font-size: 17px; line-height: 1.4; letter-spacing: .04em; }
.t-viet-tay .vt-meta__names span, .t-viet-tay .vt-closing__names span { display: inline-block; }

.t-viet-tay .vt-hand {
  position: relative; z-index: 3;
  margin: 6px 0 -26px;
  padding: 0 8px 0 12px;
  font: 400 128px/.78 var(--f-hand);
  color: var(--red);
  pointer-events: none;
}
.t-viet-tay .vt-hand > span { display: block; text-shadow: 0 0 .5px var(--red); }
.t-viet-tay .vt-hand__l1 { transform: rotate(-4deg); transform-origin: 0 100%; }
.t-viet-tay .vt-hand__l2 {
  margin-top: -2px; padding-left: 40px;
  font-size: 80px; line-height: .9;
  transform: rotate(-2deg);
}
.t-viet-tay .vt-hand .vt-caps--a { top: 4px; left: 150px; }
.t-viet-tay .vt-hand .vt-caps--b { top: 62px; right: 30px; }
.t-viet-tay .vt-hand .vt-caps--c { top: 100px; left: 18px; }
.t-viet-tay .vt-hand .vt-caps--d { top: 92px; right: 64px; }

.t-viet-tay .vt-split {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; padding: 4px 0;
}
.t-viet-tay .vt-split__ph { aspect-ratio: 3 / 4.1; overflow: hidden; background: #ddd5ca; }
.t-viet-tay .vt-forever {
  margin: 22px 26px 0 auto; width: max-content; max-width: 360px;
  font: 400 44px/1 var(--f-hand);
  color: var(--red);
  text-align: right;
}

/* ---------- 2. lời mời ---------- */
.t-viet-tay .vt-bracket {
  font: 500 16px/1 var(--f-serif);
  letter-spacing: .22em; color: var(--ink);
}
.t-viet-tay .vt-hi { position: relative; margin: 30px -14px 0; padding-top: 50px; }
.t-viet-tay .vt-hi__mark { position: absolute; left: 6px; top: 0; font: 400 74px/.8 var(--f-hand); color: var(--red); transform: rotate(-8deg); }
.t-viet-tay .vt-hi__text { font-size: 14px; line-height: 1.95; letter-spacing: .02em; text-wrap: balance; }

.t-viet-tay .vt-feature { position: relative; margin: 38px -32px 0; padding: 0 30px 0 0; }
.t-viet-tay .vt-feature__ph { margin-left: auto; width: 226px; aspect-ratio: 3 / 4.1; overflow: hidden; background: #ddd5ca; }
.t-viet-tay .vt-feature__hand {
  position: absolute; left: 18px; top: 128px; z-index: 2;
  font: 400 76px/.86 var(--f-hand);
  color: var(--red);
  text-align: left;
  text-shadow: 0 0 .5px var(--red);
}
.t-viet-tay .vt-feature__hand span { display: block; transform: rotate(-6deg); }
.t-viet-tay .vt-feature__hand span + span { padding-left: 54px; transform: rotate(-3deg); }
.t-viet-tay .vt-feature__swash {
  position: absolute; left: 0; top: 236px; z-index: 2;
  width: 300px; height: 60px; color: var(--red);
}

.t-viet-tay .vt-guestline { margin-top: 36px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.t-viet-tay .vt-guest { font-weight: 600; color: var(--red); }
.t-viet-tay .vt-couple {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 14px;
  font: 500 24px/1.35 var(--f-serif); letter-spacing: .1em; color: var(--red);
}
.t-viet-tay .vt-couple em { font: 400 40px/1 var(--f-hand); color: var(--ink); }
.t-viet-tay .vt-bells { display: block; width: 46px; height: 34px; margin: 20px auto 0; color: #5f5751; }

.t-viet-tay .vt-fam { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 14px; line-height: 1.6; }
.t-viet-tay .vt-fam > div { display: flex; flex-direction: column; }
.t-viet-tay .vt-fam__side { margin-bottom: 4px; font: 400 34px/1 var(--f-hand); color: var(--red); }
.t-viet-tay .vt-fam__addr { margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); text-wrap: balance; }
.t-viet-tay .vt-fam__role { margin-top: auto; padding-top: 12px; font: 600 10.5px/1 var(--f-caps); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); }
.t-viet-tay .vt-fam__name { margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: .03em; color: var(--ink); }

.t-viet-tay .vt-portraits { margin: 28px -32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.t-viet-tay .vt-portraits__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd5ca; }
.t-viet-tay .vt-portraits__ph span {
  position: absolute; left: 12px; bottom: 6px;
  font: 400 40px/1 var(--f-hand); color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.t-viet-tay .vt-portraits__ph + .vt-portraits__ph span { left: auto; right: 12px; }

/* ---------- 3. lễ & tiệc ---------- */
.t-viet-tay .vt-bigdate {
  margin-top: 10px;
  font: italic 400 22px/1.2 var(--f-serif); color: var(--ink);
}
.t-viet-tay .vt-bigdate b { font-size: 50px; font-weight: 500; letter-spacing: .02em; color: var(--red); }
.t-viet-tay .vt-bigdate span:last-child { font-style: normal; font-size: 17px; letter-spacing: .06em; }
.t-viet-tay .vt-lunar { margin-top: 6px; font-size: 14px; letter-spacing: .03em; color: var(--ink-soft); }
.t-viet-tay .vt-event { margin-top: 30px; }
.t-viet-tay .vt-event__time { margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: .03em; }
.t-viet-tay .vt-event__lunar { margin-top: 2px; font-size: 13px; font-style: italic; color: var(--ink-soft); }
.t-viet-tay .vt-event__venue { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; text-wrap: balance; }
.t-viet-tay .vt-event__place { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); text-wrap: balance; }
.t-viet-tay .vt-heartline { display: block; width: 200px; height: 20px; margin: 30px auto 0; color: var(--red); }

.t-viet-tay .thiepmai-events { padding: 30px 32px 0; }
.t-viet-tay .thiepmai-event { border-radius: 0; border: 1px solid var(--line); background: rgba(255, 255, 255, .35); font-family: var(--f-serif); }
.t-viet-tay .thiepmai-event__side { font: 400 34px/1 var(--f-hand); color: var(--red); letter-spacing: 0; text-transform: none; }
.t-viet-tay .thiepmai-event__title { color: var(--red); }
.t-viet-tay .thiepmai-event__map { border-radius: 0; background: var(--red); color: #fff; }

/* ---------- 4. lịch trình ---------- */
.t-viet-tay .vt-program { margin-top: 64px; }
.t-viet-tay .vt-prog { position: relative; margin-top: 26px; }
.t-viet-tay .vt-prog__thread {
  position: absolute; top: -6px; bottom: -6px; left: 50%;
  width: 30px; height: calc(100% + 12px); transform: translateX(-50%);
  color: #3a3330;
}
.t-viet-tay .vt-prog__row {
  position: relative;
  display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center;
  min-height: 78px;
}
.t-viet-tay .vt-prog__text { grid-column: 3; text-align: left; padding-left: 4px; }
.t-viet-tay .vt-prog__ic { grid-column: 1; grid-row: 1; justify-self: end; width: 46px; height: 42px; margin-right: 10px; color: #3a3330; }
.t-viet-tay .vt-prog__gap { grid-column: 2; grid-row: 1; }
.t-viet-tay .vt-prog__row.is-left .vt-prog__text { grid-column: 1; grid-row: 1; text-align: right; padding: 0 4px 0 0; }
.t-viet-tay .vt-prog__row.is-left .vt-prog__ic { grid-column: 3; justify-self: start; margin: 0 0 0 10px; }
.t-viet-tay .vt-prog__text b { display: block; font: 600 17px/1.2 var(--f-serif); letter-spacing: .04em; color: var(--red); }
.t-viet-tay .vt-prog__text span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.4; }
.t-viet-tay .vt-prog__text small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); }

/* ---------- 5. lịch ---------- */
.t-viet-tay .vt-cal { margin-top: 64px; }
.t-viet-tay .vt-cal__month { display: flex; justify-content: center; align-items: baseline; gap: 12px; }
.t-viet-tay .vt-cal__month .vt-script { font-size: 58px; transform: rotate(-3deg); display: inline-block; }
.t-viet-tay .vt-cal__month i { font: italic 400 22px/1 var(--f-serif); letter-spacing: .08em; }
.t-viet-tay .vt-cal__grid { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0 10px; }
.t-viet-tay .vt-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-viet-tay .vt-cal__row span { position: relative; display: grid; place-items: center; height: 38px; font-size: 15px; }
.t-viet-tay .vt-cal__row--head span { height: 30px; font: 500 11px/1 var(--f-serif); letter-spacing: .1em; color: var(--ink-soft); }
.t-viet-tay .vt-cal__row .is-sun { color: var(--red); }
.t-viet-tay .vt-cal__row .is-day { color: var(--red); font-weight: 600; font-size: 17px; }
.t-viet-tay .vt-cal__ring { position: absolute; left: 50%; top: 50%; width: 50px; height: 42px; transform: translate(-50%, -50%) rotate(-8deg); color: var(--red); }
.t-viet-tay .vt-count { margin-top: 22px; display: flex; justify-content: center; gap: 24px; }
.t-viet-tay .vt-count div { display: flex; flex-direction: column; align-items: center; }
.t-viet-tay .vt-count b { font: 500 28px/1 var(--f-serif); color: var(--red); }
.t-viet-tay .vt-count span { margin-top: 6px; font: 600 10.5px/1 var(--f-caps); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- 6. địa điểm ---------- */
.t-viet-tay .vt-venue { margin-top: 64px; }
.t-viet-tay .vt-venue__name { margin-top: 12px; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; text-wrap: balance; }
.t-viet-tay .vt-venue__addr { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); text-wrap: balance; }
.t-viet-tay .vt-map { display: block; width: 100%; height: 220px; margin-top: 20px; border: 4px solid #fff; background: #e8e2d8; }
.t-viet-tay .vt-btns { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.t-viet-tay .vt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid var(--red); border-radius: 0;
  background: var(--red); color: #fff;
  font: 500 13px/1 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
}
.t-viet-tay .vt-btn--ghost { background: transparent; color: var(--red); }

/* ---------- 7. album ---------- */
.t-viet-tay .vt-album { position: relative; margin-top: 70px; }
.t-viet-tay .vt-album__head { position: relative; z-index: 2; height: 112px; margin-bottom: -40px; pointer-events: none; }
.t-viet-tay .vt-album__hand {
  position: absolute; left: 20px; top: 16px;
  font: 400 104px/.9 var(--f-hand); color: var(--red);
  transform: rotate(-4deg); text-shadow: 0 0 .5px var(--red);
}
.t-viet-tay .vt-album__head .vt-caps--e { top: 6px; left: 34px; }
.t-viet-tay .vt-album__head .vt-caps--f { top: 6px; right: 26px; }
.t-viet-tay .vt-album__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; grid-auto-flow: dense; background: #fff; padding: 4px 0; }
.t-viet-tay .vt-album__item { overflow: hidden; background: #ddd5ca; }
.t-viet-tay .vt-album__item--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.t-viet-tay .vt-album__item--tall { aspect-ratio: 3 / 4.3; }
.t-viet-tay .vt-album__note { margin: 16px 26px 0 auto; max-width: 360px; font: 400 30px/1 var(--f-hand); color: var(--red); text-align: right; text-wrap: balance; }

/* ---------- 8. rsvp ---------- */
.t-viet-tay .vt-ribbon--sm { position: static; display: block; width: 70px; height: 62px; margin: 0 auto 8px; transform: none; }
.t-viet-tay .vt-form { margin: 22px auto 0; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.t-viet-tay .vt-field {
  width: 100%; padding: 10px 2px;
  border: 0; border-bottom: 1px solid rgba(38, 33, 30, .35); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 15px/1.4 var(--f-serif);
  -webkit-appearance: none; appearance: none;
}
.t-viet-tay select.vt-field {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238e1b20' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.t-viet-tay .vt-field:focus { outline: none; border-bottom-color: var(--red); }
.t-viet-tay .vt-field::placeholder { color: #958c83; }
.t-viet-tay textarea.vt-field { resize: vertical; }
.t-viet-tay .vt-form .vt-btn { margin-top: 10px; align-self: center; }
.t-viet-tay .vt-form__msg { min-height: 1.2em; font-size: 13px; color: var(--red); }

/* ---------- 9. mừng cưới ---------- */
.t-viet-tay .vt-gift { margin-top: 64px; }
.t-viet-tay .vt-gift .vt-btn { margin-top: 18px; }

/* ---------- 10. kết ---------- */
.t-viet-tay .vt-closing { position: relative; margin-top: 70px; text-align: center; }
.t-viet-tay .vt-closing__hand {
  position: relative; z-index: 2;
  margin-bottom: -46px; padding: 0 14px;
  font: 400 78px/.82 var(--f-hand); color: var(--red);
  text-align: left; text-shadow: 0 0 .5px var(--red);
  pointer-events: none;
}
.t-viet-tay .vt-closing__hand span { display: block; transform: rotate(-4deg); }
.t-viet-tay .vt-closing__hand span + span { padding-left: 70px; transform: rotate(-2deg); }
.t-viet-tay .vt-closing__ph { margin: 0 32px; aspect-ratio: 4 / 5; overflow: hidden; border: 4px solid #fff; background: #ddd5ca; }
.t-viet-tay .vt-closing__text { margin-top: 24px; padding: 0 32px; font-size: 14.5px; line-height: 1.8; }
.t-viet-tay .vt-closing__names { margin-top: 14px; font-size: 18px; font-weight: 500; letter-spacing: .1em; color: var(--ink); }
.t-viet-tay .vt-forever--end { margin-top: 10px; }
.t-viet-tay .vt-closing .vt-btns { margin-top: 24px; }

.t-viet-tay .vt-footer {
  margin-top: 46px; padding: 14px 16px;
  background: var(--bar); color: #f3e6e2;
  text-align: center;
  font: 500 12px/1.4 var(--f-serif); letter-spacing: .14em;
}

/* ---------- gate + sheet ---------- */
.t-viet-tay .thiepmai-gate__door { background: url("paper.svg") 0 0 / 320px 320px, var(--paper); }
.t-viet-tay .thiepmai-gate__door--l { border-right: 1px solid var(--line); }
.t-viet-tay .thiepmai-gate__card { font-family: var(--f-serif); color: var(--ink); }
.t-viet-tay .thiepmai-gate__card::before {
  content: "【Thiệp mời cưới】"; display: block; margin-bottom: 26px;
  font: 500 15px/1 var(--f-serif); letter-spacing: .08em; color: var(--red);
}
.t-viet-tay .thiepmai-gate__card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--bar);
}
.t-viet-tay .thiepmai-gate__label { font: 500 12px/1.6 var(--f-caps); letter-spacing: .32em; color: var(--ink-soft); }
.t-viet-tay .thiepmai-gate__guest { font: 400 64px/1 var(--f-hand); color: var(--red); }
.t-viet-tay .thiepmai-gate__names { font: 500 26px/1.35 var(--f-serif); letter-spacing: .06em; color: var(--ink); text-wrap: balance; }
.t-viet-tay .thiepmai-gate__names span { font: 400 40px/1 var(--f-hand); color: var(--red); }
.t-viet-tay .thiepmai-gate__date { font-family: var(--f-serif); letter-spacing: .32em; color: var(--red); }
.t-viet-tay .thiepmai-gate__open {
  border-radius: 0; background: var(--red); color: #fff; box-shadow: none;
  font: 500 13px/1 var(--f-serif); letter-spacing: .24em; text-transform: uppercase;
}
.t-viet-tay .thiepmai-sheet__panel { background: url("paper.svg") 0 0 / 320px 320px, var(--paper); font-family: var(--f-serif); color: var(--ink); }
.t-viet-tay .thiepmai-sheet__title { font: 400 44px/1 var(--f-hand); color: var(--red); }
