/* Mẫu Ngày Chung Đôi — phong bì giấy đỏ son ánh satin #a3201d (đậm #7e1715, vệt sáng chéo như giấy satin dưới đèn) chữ nhũ vàng nhạt #ecd29a,
   thẻ trắng #fbf9f6 chữ đỏ son #9e1f1c cài trong bao đỏ. Ngày lớn / chữ in hoa / thân: Brygada 1918 (chữ có chân cổ điển);
   tên + câu viết tay: Send Flowers. Hai font có tiếng Việt, OFL, ít gặp trên thiệp. Đường kẻ mảnh, chấm tim nhỏ, chữ lồng hai chữ cái.
   Dấu sáp đỏ ở cổng mở thiệp (gateSeal). Góc vuông. */

.t-ngay-chung-doi {
  --red: #a3201d;
  --red-deep: #7e1715;
  --red-ink: #9e1f1c;
  --gold: #ecd29a;
  --gold-soft: rgba(236, 210, 154, .78);
  --paper: #fbf9f6;
  --soft: #8a4a46;
  --f-serif: "Brygada 1918", Georgia, serif;
  --f-script: "Send Flowers", cursive;
  --gate-bg: #a3201d;
  --gate-ink: #ecd29a;
  /* ánh satin: vệt sáng chéo mềm lặp đều, liền mạch giữa các khối */
  --satin: repeating-linear-gradient(118deg, rgba(255, 226, 205, 0) 0, rgba(255, 226, 205, .12) 170px, rgba(255, 226, 205, .02) 300px, rgba(60, 0, 0, .1) 470px, rgba(255, 226, 205, 0) 640px);
  --satin-box: linear-gradient(118deg, rgba(255, 255, 255, 0) 22%, rgba(255, 226, 205, .13) 40%, rgba(255, 255, 255, 0) 62%, rgba(60, 0, 0, .14));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .05 0 0 0 0 .05 0 0 0 .22 -.1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--red-ink);
  font-family: var(--f-serif);
  font-variant-numeric: lining-nums;
}
.t-ngay-chung-doi * { font-variant-numeric: lining-nums; }
.t-ngay-chung-doi .thiepmai-frame { background-color: var(--red); background-image: var(--satin); }
.t-ngay-chung-doi .thiepmai-frame > section { position: relative; }
.t-ngay-chung-doi p, .t-ngay-chung-doi h1, .t-ngay-chung-doi h2, .t-ngay-chung-doi figure { margin: 0; }
.t-ngay-chung-doi .ph { inset: 0; }

/* giấy */
.t-ngay-chung-doi .nc-red { padding: 40px 24px; text-align: center; color: var(--gold); background: transparent; }
.t-ngay-chung-doi .nc-card { position: relative; padding: 34px 22px 30px; text-align: center; color: var(--red-ink); background-color: var(--paper); background-image: var(--grain); box-shadow: 0 14px 26px -16px rgba(40, 0, 0, .6); }
/* thẻ cài trong bao đỏ: mép trên của bao (đường gập tối) */
.t-ngay-chung-doi .nc-pocket { padding: 34px 20px; }

/* chữ dùng chung */
.t-ngay-chung-doi .nc-caps { font-weight: 500; text-transform: uppercase; letter-spacing: .14em; text-wrap: balance; }
.t-ngay-chung-doi .nc-script { font-family: var(--f-script); font-weight: 400; word-spacing: .14em; }
.t-ngay-chung-doi .nc-small { font-size: 13px; line-height: 1.75; }
.t-ngay-chung-doi .nc-h2 { font-size: 46px; line-height: 1.2; }
.t-ngay-chung-doi .nc-addr { margin-top: 4px; font-size: 16px; line-height: 1.5; font-style: italic; color: var(--soft); text-wrap: balance; }
.t-ngay-chung-doi .nc-lunar { margin-top: 4px; font-size: 15px; font-style: italic; color: var(--soft); }
.t-ngay-chung-doi .nc-rule { width: 78%; height: 1px; margin: 20px auto 16px; background: linear-gradient(90deg, transparent, var(--gold-soft) 12%, var(--gold-soft) 88%, transparent); }
.t-ngay-chung-doi .nc-hr { width: 74%; height: 1px; margin: 14px auto 12px; background: rgba(158, 31, 28, .45); }
/* chấm tim nhỏ giữa đường kẻ mảnh */
.t-ngay-chung-doi .nc-heart { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px auto; width: 56%; }
.t-ngay-chung-doi .nc-heart::before, .t-ngay-chung-doi .nc-heart::after { content: ""; flex: 1; height: 1px; background: rgba(158, 31, 28, .5); }
.t-ngay-chung-doi .nc-heart svg { width: 9px; height: 8px; color: var(--red-ink); }
.t-ngay-chung-doi .nc-bigdate { font: 400 60px/1.05 var(--f-serif); letter-spacing: .02em; color: var(--gold); white-space: nowrap; }
.t-ngay-chung-doi .nc-venue { margin-top: 2px; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; }
.t-ngay-chung-doi .nc-venue small { font-size: 14px; font-weight: 500; letter-spacing: .12em; }

/* hai tên viết tay nối bằng dấu ~: tên chú rể lệch trái, cô dâu lệch phải như trên phong bì */
.t-ngay-chung-doi .nc-pair { display: grid; grid-template-columns: 1fr; justify-items: center; margin: 14px auto 0; max-width: 340px; font: 400 46px/1.15 var(--f-script); word-spacing: .14em; color: var(--gold); }
.t-ngay-chung-doi .nc-pair span:first-child { justify-self: start; padding-left: 4px; }
.t-ngay-chung-doi .nc-pair span:last-child { justify-self: end; padding-right: 4px; }
.t-ngay-chung-doi .nc-pair svg { width: 62px; height: 20px; margin: -4px 0 -2px; color: var(--gold); }

/* ---------- 1. phong bì ---------- */
.t-ngay-chung-doi .nc-cover { padding: 0 0 40px; overflow: hidden; }
/* nắp phong bì hình mái nhà, giấy đỏ đậm hơn, câu cảm ơn viết tay nhũ vàng */
.t-ngay-chung-doi .nc-flap {
  position: relative; padding: 30px 44px 64px; color: var(--gold-soft);
  background-color: var(--red-deep); background-image: linear-gradient(160deg, rgba(255, 220, 200, .1), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
  filter: drop-shadow(0 6px 6px rgba(40, 0, 0, .4));
}
.t-ngay-chung-doi .nc-flap__text { font-size: 23px; line-height: 1.45; text-wrap: balance; }
.t-ngay-chung-doi .nc-front { padding: 26px 24px 0; }
.t-ngay-chung-doi .nc-cover__kicker { font-size: 16px; letter-spacing: .26em; }
.t-ngay-chung-doi .nc-cover .nc-bigdate { margin-top: 8px; font-size: 64px; }
.t-ngay-chung-doi .nc-cover .nc-rule { margin-top: 22px; }
.t-ngay-chung-doi .nc-cover__invite { font-size: 14px; letter-spacing: .22em; }
.t-ngay-chung-doi .nc-cover__guest { margin-top: 6px; font-size: 40px; line-height: 1.25; }
.t-ngay-chung-doi .nc-cover__photo { position: relative; height: 470px; margin-top: 26px; outline: 1px solid var(--gold-soft); outline-offset: 7px; }

/* ---------- 2. thẻ mời tiệc ---------- */
.t-ngay-chung-doi .nc-guest { margin: 2px 0 8px; font-size: 40px; line-height: 1.25; }
.t-ngay-chung-doi .nc-lined { padding-top: 10px; letter-spacing: .1em; border-top: 1px solid rgba(158, 31, 28, .4); }
.t-ngay-chung-doi .nc-party__names { display: grid; margin: 16px 0 14px; font-size: 40px; line-height: 1.2; text-wrap: balance; }
.t-ngay-chung-doi .nc-party__names i { font-style: normal; font-size: .62em; line-height: 1; }
.t-ngay-chung-doi .nc-when { font-size: 14px; letter-spacing: .12em; }
.t-ngay-chung-doi .nc-dayline { margin-top: 4px; font-size: 19px; font-weight: 600; letter-spacing: .1em; }
.t-ngay-chung-doi .nc-fam { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 -8px; font-size: 12px; line-height: 1.65; }
.t-ngay-chung-doi .nc-fam .nc-caps { letter-spacing: .03em; }
.t-ngay-chung-doi .nc-fam > div { min-width: 0; }
.t-ngay-chung-doi .nc-fam .nc-fam__side { margin-bottom: 2px; font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.t-ngay-chung-doi .nc-fam__addr { margin-top: 2px; font-size: 13.5px; text-wrap: balance; font-style: italic; color: var(--soft); }
.t-ngay-chung-doi .nc-card__bye { margin-top: 18px; font-size: 36px; }

/* ---------- 3. báo tin hôn lễ ---------- */
.t-ngay-chung-doi .nc-news__lead { font-size: 14px; line-height: 1.75; }
.t-ngay-chung-doi .nc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.t-ngay-chung-doi .nc-photos .ph { position: relative; display: block; aspect-ratio: 3 / 4; outline: 1px solid var(--gold-soft); outline-offset: 5px; }
.t-ngay-chung-doi .nc-photos figcaption { display: grid; margin-top: 14px; }
.t-ngay-chung-doi .nc-photos figcaption .nc-script { font-size: 28px; line-height: 1.15; text-wrap: balance; }
.t-ngay-chung-doi .nc-photos figcaption .nc-caps { margin-top: 4px; font-size: 11px; letter-spacing: .3em; color: var(--gold-soft); }
.t-ngay-chung-doi .nc-news__place, .t-ngay-chung-doi .nc-news__time { font-size: 14px; line-height: 1.7; }
.t-ngay-chung-doi .nc-news__date { margin-top: 8px; font-size: 50px; }
.t-ngay-chung-doi .nc-news__lunar { margin-top: 4px; font-size: 15px; font-style: italic; color: var(--gold-soft); }

/* ---------- 4. SAVE the DATE + lịch ---------- */
.t-ngay-chung-doi .nc-cal__pic { position: relative; aspect-ratio: 4 / 5; margin: 0 6px; outline: 1px solid var(--gold-soft); outline-offset: 6px; }
.t-ngay-chung-doi .nc-save { margin: -70px 14px 0; padding-top: 30px; }
/* chữ lồng: chữ cái chú rể đứng (chữ có chân), chữ cái cô dâu viết tay chồng lên */
.t-ngay-chung-doi .nc-mono { position: relative; display: flex; justify-content: center; align-items: center; height: 108px; }
.t-ngay-chung-doi .nc-mono b { font: 400 92px/1 var(--f-serif); translate: 10px -4px; }
.t-ngay-chung-doi .nc-mono i { font: normal 400 96px/1 var(--f-script); translate: -14px 8px; }
.t-ngay-chung-doi .nc-std { font: 400 38px/1.1 var(--f-serif); text-transform: uppercase; letter-spacing: .04em; }
.t-ngay-chung-doi .nc-std i { font: normal 400 30px var(--f-script); text-transform: none; letter-spacing: 0; margin: 0 2px; }
.t-ngay-chung-doi .nc-save__text { margin: 14px auto 0; max-width: 300px; font-size: 22px; line-height: 1.45; color: #6b2a27; text-wrap: balance; }
.t-ngay-chung-doi .nc-save__sign { margin-top: 6px; font-size: 24px; color: #6b2a27; }
.t-ngay-chung-doi .nc-cal__month { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(158, 31, 28, .3); font-size: 14px; font-weight: 600; }
.t-ngay-chung-doi .nc-cal__grid { margin-top: 10px; }
.t-ngay-chung-doi .nc-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-ngay-chung-doi .nc-cal__row span { position: relative; display: grid; place-items: center; height: 40px; font-size: 17px; color: #5a2a28; }
.t-ngay-chung-doi .nc-cal__row--head span { height: 32px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--red-ink); border-bottom: 1px solid rgba(158, 31, 28, .25); }
.t-ngay-chung-doi .nc-cal__row span.is-day { z-index: 0; color: var(--paper); font-weight: 700; }
.t-ngay-chung-doi .nc-cal__row span.is-day svg { position: absolute; z-index: -1; width: 38px; height: 34px; color: var(--red); }

/* ---------- đếm ngược ---------- */
.t-ngay-chung-doi .nc-cd { padding: 30px 24px; border-top: 1px solid rgba(236, 210, 154, .25); border-bottom: 1px solid rgba(236, 210, 154, .25); }
.t-ngay-chung-doi .nc-cd__title { font-size: 14px; letter-spacing: .22em; }
.t-ngay-chung-doi .nc-cd__row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.t-ngay-chung-doi .nc-cd__row p { display: grid; padding: 2px 0; }
.t-ngay-chung-doi .nc-cd__row p + p { border-left: 1px solid rgba(236, 210, 154, .4); }
.t-ngay-chung-doi .nc-cd__row b { font: 400 40px/1.1 var(--f-serif); }
.t-ngay-chung-doi .nc-cd__row span { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- 5. đường đến ---------- */
.t-ngay-chung-doi .nc-way .nc-venue { margin-top: 6px; font-size: 21px; }
.t-ngay-chung-doi .nc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.t-ngay-chung-doi .nc-btn {
  display: inline-block; padding: 12px 22px; border: 1px solid var(--red); border-radius: 0; background: var(--red); color: var(--gold);
  font: 600 13px var(--f-serif); text-transform: uppercase; letter-spacing: .16em; text-decoration: none; cursor: pointer;
}
.t-ngay-chung-doi .nc-btn--ghost { background: transparent; color: var(--red-ink); }

/* sự kiện thêm (gói 2) */
.t-ngay-chung-doi .thiepmai-events { padding: 16px 20px; }
.t-ngay-chung-doi .thiepmai-event { background: var(--paper); color: var(--red-ink); font-family: var(--f-serif); }

/* ---------- 6. lịch trình ---------- */
.t-ngay-chung-doi .nc-program { padding-top: 0; }
.t-ngay-chung-doi .nc-program__list { margin: 14px auto 0; padding: 0; max-width: 320px; list-style: none; }
.t-ngay-chung-doi .nc-program__list li { display: grid; grid-template-columns: 66px 1fr; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(158, 31, 28, .22); text-align: left; }
.t-ngay-chung-doi .nc-program__list b { font: 600 20px var(--f-serif); }
.t-ngay-chung-doi .nc-program__list span { font-size: 13px; }
.t-ngay-chung-doi .nc-program__list small { display: block; margin-top: 2px; font-size: 14px; text-transform: none; letter-spacing: 0; font-style: italic; color: var(--soft); }

/* ---------- câu thơ ---------- */
.t-ngay-chung-doi .nc-quote p { font: italic 400 20px/1.6 var(--f-serif); }

/* ---------- 7. album ---------- */
.t-ngay-chung-doi .nc-album__grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.t-ngay-chung-doi .nc-album__pic { width: calc(50% - 6px); }
.t-ngay-chung-doi .nc-album__in { position: relative; aspect-ratio: 3 / 4; outline: 1px solid rgba(236, 210, 154, .45); outline-offset: 3px; }
.t-ngay-chung-doi .nc-album__pic--wide, .t-ngay-chung-doi .nc-album__pic--full { width: 100%; }
.t-ngay-chung-doi .nc-album__pic--wide .nc-album__in, .t-ngay-chung-doi .nc-album__pic--full .nc-album__in { aspect-ratio: 3 / 2; }

/* ---------- 8. xác nhận ---------- */
.t-ngay-chung-doi .nc-form { display: grid; gap: 4px; margin-top: 10px; }
.t-ngay-chung-doi .nc-field {
  width: 100%; box-sizing: border-box; padding: 12px 2px; border: 0; border-bottom: 1px solid rgba(158, 31, 28, .35); border-radius: 0;
  background: transparent; font: 400 17px var(--f-serif); color: #4a1a18; outline: none; appearance: none;
}
.t-ngay-chung-doi .nc-field::placeholder { color: #a5726e; }
.t-ngay-chung-doi .nc-field:focus { border-bottom-color: var(--red); }
.t-ngay-chung-doi .nc-form .nc-btn { margin-top: 18px; justify-self: center; }
.t-ngay-chung-doi .nc-form__msg { min-height: 1.2em; font-size: 15px; color: var(--red-ink); }
.t-ngay-chung-doi .nc-gift { margin-top: 14px; }

/* ---------- 9. kết ---------- */
.t-ngay-chung-doi .nc-end { padding: 30px 22px 40px; }
.t-ngay-chung-doi .nc-end__photo { position: relative; height: 420px; outline: 1px solid var(--gold-soft); outline-offset: 6px; }
.t-ngay-chung-doi .nc-end__card {
  position: relative; margin: -56px 18px 0; padding: 28px 20px 30px; color: var(--gold);
  background-color: var(--red-deep); background-image: var(--satin-box); box-shadow: 0 16px 28px -14px rgba(30, 0, 0, .7);
  outline: 1px solid rgba(236, 210, 154, .35); outline-offset: -8px;
}
.t-ngay-chung-doi .nc-end__thanks { font-size: 38px; line-height: 1.2; text-wrap: balance; }
.t-ngay-chung-doi .nc-end .nc-rule { margin: 14px auto 12px; width: 60%; }
.t-ngay-chung-doi .nc-end__text { font-size: 16px; line-height: 1.6; font-style: italic; }
.t-ngay-chung-doi .nc-end__pair { margin-top: 12px; max-width: 260px; font-size: 32px; }
.t-ngay-chung-doi .nc-end__pair svg { width: 46px; height: 15px; }

/* ---------- màn mở thiệp ---------- */
.t-ngay-chung-doi .thiepmai-gate__door { background-color: var(--red); background-image: var(--satin); }
.t-ngay-chung-doi .thiepmai-gate__label { font-family: var(--f-serif); font-weight: 500; font-size: 14px; letter-spacing: .22em; }
.t-ngay-chung-doi .thiepmai-gate__guest { font: 400 44px/1.25 var(--f-script); }
.t-ngay-chung-doi .thiepmai-gate__names { font: 400 44px/1.2 var(--f-script); text-wrap: balance; }
.t-ngay-chung-doi .thiepmai-gate__date { font: 400 30px var(--f-serif); letter-spacing: .06em; }
.t-ngay-chung-doi .thiepmai-seal__wax { filter: saturate(1.05) brightness(.82) contrast(1.1); }
.t-ngay-chung-doi .thiepmai-seal__mark { font-family: var(--f-serif); color: rgba(80, 6, 6, .6); }
.t-ngay-chung-doi .thiepmai-seal__hint { font-family: var(--f-serif); color: var(--gold); }
