/* Mẫu Chữ Lồng Đỏ Đậm — trắng ngà #fbf8f2 xen đỏ đậm #7a1c22, chữ đỏ trên trắng / kem trên đỏ. Tên + thân Fraunces (chữ có chân mềm thập niên 70),
   chữ tay Playball (bộ font retro), 囍 font Thiepmai Hy. Dấu sáp ở màn mở thiệp. Góc vuông. */

.t-chu-long-do {
  --red: #7a1c22;
  --red-mid: #5a1418;
  --cream: #f6ecdf;
  --white: #fbf8f2;
  --ink: #3a2a28;
  --soft: #7a6461;
  --f-serif: "Fraunces", Georgia, serif;
  --f-script: "Playball", cursive;
  --f-name: "Fraunces", Georgia, serif;
  --gate-bg: #7a1c22;
  --gate-ink: #f6ecdf;
  --seal-wax: #7a1c22;
  color: var(--ink);
  font-family: var(--f-serif);
  font-variant-numeric: lining-nums;
}
.t-chu-long-do .thiepmai-frame { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4 .35' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.t-chu-long-do * { font-variant-numeric: lining-nums; }
.t-chu-long-do .thiepmai-frame > section { position: relative; }
.t-chu-long-do p, .t-chu-long-do h1, .t-chu-long-do h2, .t-chu-long-do figure { margin: 0; }
.t-chu-long-do .ph { inset: 0; }

/* chữ dùng chung */
.t-chu-long-do .cl-sec { padding: 34px 24px; text-align: center; color: var(--cream); }
.t-chu-long-do .cl-caps { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.t-chu-long-do .cl-small { font-size: 14px; line-height: 1.6; color: var(--red); }
.t-chu-long-do .cl-script { font-family: var(--f-script); font-weight: 400; }
.t-chu-long-do .cl-names { font-family: var(--f-name); font-weight: 700; text-transform: uppercase; line-height: 1.12; color: var(--red); letter-spacing: .02em; }
.t-chu-long-do .cl-addr { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--soft); font-style: italic; }
.t-chu-long-do .cl-lunar { margin-top: 6px; font-size: 15px; font-style: italic; color: var(--soft); }
.t-chu-long-do .cl-h2 { font-size: 40px; line-height: 1.2; color: var(--red); }
.t-chu-long-do .cl-hy { font: normal 1em/1 "Thiepmai Hy", serif; }
.t-chu-long-do .cl-card { margin: 0; padding: 40px 26px; background: var(--white); text-align: center; }
.t-chu-long-do .cl-red { padding: 40px 24px; background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4 .35' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); color: var(--cream); text-align: center; }
/* chữ lồng: hai chữ cái đầu chéo nhau qua một nét mảnh */
.t-chu-long-do .cl-mono { position: relative; display: flex; justify-content: center; align-items: center; height: 96px; margin-bottom: 14px; color: var(--red); }
.t-chu-long-do .cl-mono b { font: italic 400 76px/1 var(--f-name); }
.t-chu-long-do .cl-mono b:first-child { translate: 12px -10px; }
.t-chu-long-do .cl-mono b:last-child { translate: -12px 14px; }
.t-chu-long-do .cl-mono i { width: 1.5px; height: 92px; background: currentColor; rotate: 24deg; }
.t-chu-long-do .cl-mono--light { color: var(--cream); }
/* hàng ngày: tháng | ngày lớn | năm, vạch dọc ngăn */
.t-chu-long-do .cl-when { margin-top: 22px; color: var(--red); }
.t-chu-long-do .cl-when__top { font-size: 14px; line-height: 1.6; }
.t-chu-long-do .cl-when__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 10px auto 0; max-width: 320px; }
.t-chu-long-do .cl-when__row span { font-size: 15px; padding: 6px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.t-chu-long-do .cl-when__row b { padding: 0 16px; font: 500 64px/1 var(--f-name); border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.t-chu-long-do .cl-when--light { color: var(--cream); }
.t-chu-long-do .cl-when--light .cl-lunar { color: rgba(246, 236, 223, .75); }

/* ---------- 1. bìa ---------- */
.t-chu-long-do .cl-cover { padding: 26px 22px 38px; background: var(--white); text-align: center; }
.t-chu-long-do .cl-cover__photo { position: relative; height: 470px; }
.t-chu-long-do .cl-cover__text { margin-top: 22px; color: var(--red); }
.t-chu-long-do .cl-cover__kicker { font-size: 17px; letter-spacing: .3em; }
.t-chu-long-do .cl-cover__sub { margin-top: -2px; font-size: 30px; }
.t-chu-long-do .cl-cover__names { display: grid; gap: 2px; font-size: 40px; }
.t-chu-long-do .cl-cover__date { margin-top: 10px; font-size: 18px; letter-spacing: .24em; }
.t-chu-long-do .cl-cover__to { margin: 22px auto 0; max-width: 300px; padding-bottom: 6px; border-bottom: 1px dotted var(--soft); font-size: 15px; color: var(--soft); }
.t-chu-long-do .cl-cover__to b { font: 400 26px var(--f-script); color: var(--red); }

/* ---------- 2. tiệc ---------- */
.t-chu-long-do .cl-party { border-top: 1px solid rgba(122, 28, 34, .15); }
.t-chu-long-do .cl-guest { margin: 6px 0 10px; font: 400 34px/1.3 var(--f-script); color: var(--red); }
.t-chu-long-do .cl-party__venue { margin-top: 14px; font-size: 36px; }
.t-chu-long-do .cl-party__end { margin-top: 26px; font-size: 24px; line-height: 1.35; color: var(--red); }
.t-chu-long-do .cl-party__bye { font-size: 30px; color: var(--red); }

/* ---------- 3. khối đỏ ---------- */
.t-chu-long-do .cl-fam { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.t-chu-long-do .cl-fam__side { font-size: 26px; font-weight: 400; margin-bottom: 2px; }
.t-chu-long-do .cl-fam__addr { margin-top: 4px; font-size: 13px; font-weight: 500; font-style: italic; opacity: .8; }
.t-chu-long-do .cl-news__lead { margin-top: 26px; font-size: 14px; line-height: 1.7; }
.t-chu-long-do .cl-news__lead b { font-weight: 700; }
.t-chu-long-do .cl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.t-chu-long-do .cl-pair figure { position: relative; aspect-ratio: 3 / 4; outline: 1px solid rgba(246, 236, 223, .6); outline-offset: 5px; }
.t-chu-long-do .cl-news__name { font-size: 28px; color: var(--cream); text-wrap: balance; }
.t-chu-long-do .cl-news__mid { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 6px 0; font-size: 22px; }
.t-chu-long-do .cl-news__mid .cl-hy { font-size: 44px; }

/* ---------- 4. lịch ---------- */
.t-chu-long-do .cl-cal__pic { position: relative; aspect-ratio: 3 / 2; margin: -40px -26px 26px; }
.t-chu-long-do .cl-cal__month { margin-top: 4px; font-size: 15px; color: var(--red); }
.t-chu-long-do .cl-cal__grid { margin-top: 14px; }
.t-chu-long-do .cl-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-chu-long-do .cl-cal__row span { display: grid; place-items: center; height: 42px; font-size: 18px; font-weight: 500; }
.t-chu-long-do .cl-cal__row--head span { height: 34px; font-size: 14px; font-weight: 700; color: var(--red); border-bottom: 1px solid rgba(122, 28, 34, .3); }
.t-chu-long-do .cl-cal__row span.is-day { color: var(--red); font-size: 30px; }

/* ---------- đếm ngược ---------- */
.t-chu-long-do .cl-cd__title { font-size: 15px; }
.t-chu-long-do .cl-cd__row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.t-chu-long-do .cl-cd__row p { display: grid; padding: 4px 0; }
.t-chu-long-do .cl-cd__row p + p { border-left: 1px solid rgba(246, 236, 223, .5); }
.t-chu-long-do .cl-cd__row b { font: 500 40px/1.1 var(--f-name); }
.t-chu-long-do .cl-cd__row span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 5. đường đến ---------- */
.t-chu-long-do .cl-way__venue { margin-top: 4px; font-size: 28px; }
.t-chu-long-do .cl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.t-chu-long-do .cl-btn {
  display: inline-block; padding: 12px 24px; border: 1px solid var(--red); border-radius: 0; background: var(--red); color: var(--cream);
  font: 600 15px var(--f-serif); text-transform: uppercase; letter-spacing: .14em; text-decoration: none; cursor: pointer;
}
.t-chu-long-do .cl-btn--ghost { background: transparent; color: var(--red); }

/* sự kiện thêm (gói 2) */
.t-chu-long-do .thiepmai-events { padding: 16px; }
.t-chu-long-do .thiepmai-event { background: var(--white); color: var(--ink); }

/* ---------- 6. lịch trình ---------- */
.t-chu-long-do .cl-program { border-top: 1px solid rgba(122, 28, 34, .15); }
.t-chu-long-do .cl-program__list { margin: 16px auto 0; padding: 0; max-width: 320px; list-style: none; }
.t-chu-long-do .cl-program__list li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(122, 28, 34, .2); text-align: left; }
.t-chu-long-do .cl-program__list b { font: 500 22px var(--f-name); color: var(--red); }
.t-chu-long-do .cl-program__list span { font-size: 14px; }
.t-chu-long-do .cl-program__list small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; font-style: italic; color: var(--soft); }

/* ---------- câu thơ ---------- */
.t-chu-long-do .cl-quote p { font: italic 500 20px/1.6 var(--f-serif); }

/* ---------- 7. album ---------- */
.t-chu-long-do .cl-album__title { font-size: 15px; }
.t-chu-long-do .cl-album__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.t-chu-long-do .cl-album__pic { width: calc(50% - 5px); }
.t-chu-long-do .cl-album__in { position: relative; aspect-ratio: 3 / 4; }
.t-chu-long-do .cl-album__pic--wide, .t-chu-long-do .cl-album__pic--full { width: 100%; }
.t-chu-long-do .cl-album__pic--wide .cl-album__in, .t-chu-long-do .cl-album__pic--full .cl-album__in { aspect-ratio: 3 / 2; }

/* ---------- 8. xác nhận ---------- */
.t-chu-long-do .cl-form { display: grid; gap: 4px; margin-top: 12px; }
.t-chu-long-do .cl-field {
  width: 100%; box-sizing: border-box; padding: 12px 2px; border: 0; border-bottom: 1px solid rgba(122, 28, 34, .35); border-radius: 0;
  background: transparent; font: 500 17px var(--f-serif); color: var(--ink); outline: none; appearance: none;
}
.t-chu-long-do .cl-field:focus { border-bottom-color: var(--red); }
.t-chu-long-do .cl-form .cl-btn { margin-top: 18px; justify-self: center; }
.t-chu-long-do .cl-form__msg { min-height: 1.2em; font-size: 15px; color: var(--red); }
.t-chu-long-do .cl-gift { margin-top: 16px; }

/* ---------- 9. kết ---------- */
.t-chu-long-do .cl-end { background: var(--white); }
.t-chu-long-do .cl-end__photo { position: relative; height: 420px; }
.t-chu-long-do .cl-end__band { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 34px 26px 44px; background: var(--red); color: var(--cream); }
.t-chu-long-do .cl-end__day { font: 500 92px/.9 var(--f-name); }
.t-chu-long-do .cl-end__month { margin-top: 6px; font: 700 30px/1 var(--f-name); letter-spacing: .02em; }
.t-chu-long-do .cl-end__happy { font-size: 24px; }
.t-chu-long-do .cl-end__names { font-size: 14px; text-wrap: balance; }
.t-chu-long-do .cl-end__thanks { font-size: 28px; line-height: 1.25; }

/* ---------- màn mở thiệp ---------- */
.t-chu-long-do .thiepmai-gate__door { background: var(--red); }
.t-chu-long-do .thiepmai-gate__label { font-family: var(--f-serif); font-weight: 700; letter-spacing: .2em; }
.t-chu-long-do .thiepmai-gate__guest { font: 700 30px/1.3 var(--f-name); }
.t-chu-long-do .thiepmai-gate__names { font: 700 30px/1.25 var(--f-name); text-transform: uppercase; text-wrap: balance; }
.t-chu-long-do .thiepmai-gate__date { font-family: var(--f-serif); font-weight: 700; }
