/* Mẫu Miền Quê — bìa đỏ đậm retro #7a1c22, quạt hoa cúc vàng + lá xanh sau ảnh cưới vòm, thẻ trắng chữ đỏ / xanh lá #1f7a3a,
   nền thân đỏ son, cảnh quê sông nước (dừa, xuồng, cầu khỉ) tự vẽ ở cuối. Chữ to Bevan, script Pattaya, thân Fraunces (bộ font retro). Góc vuông. */

.t-mien-que {
  --red: #7a1c22;
  --red-deep: #5a1418;
  --green: #1f7a3a;
  --blue: #1d4fa0;
  --yellow: #f6c21c;
  --paper: #f6ecd6;
  --ink: #2a2522;
  --soft: #5f5752;
  --f-serif: "Fraunces", Georgia, serif;
  --f-script: "Pattaya", cursive;
  --f-big: "Bevan", serif;
  --gate-bg: #7a1c22;
  --gate-ink: #f6ecd6;
  color: var(--ink);
  font-family: var(--f-serif);
}
.t-mien-que .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-mien-que .thiepmai-frame > section { position: relative; }
.t-mien-que p, .t-mien-que h1, .t-mien-que h2, .t-mien-que figure { margin: 0; }
.t-mien-que .ph { inset: 0; }

/* chữ dùng chung */
.t-mien-que .mq-sec { padding: 30px 22px; text-align: center; }
.t-mien-que .mq-script { font-family: var(--f-script); font-weight: 400; }
.t-mien-que .mq-caps { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.t-mien-que .mq-small { font-size: 14px; line-height: 1.55; color: var(--soft); }
.t-mien-que .mq-big { font-family: var(--f-big); font-weight: 400; line-height: 1.1; text-transform: uppercase; }
.t-mien-que .mq-red { color: var(--red); }
.t-mien-que .mq-green { color: var(--green); }
.t-mien-que .mq-lunar { margin-top: 4px; font-size: 13px; color: var(--soft); }
.t-mien-que .mq-hy { font-family: "Thiepmai Hy", serif; font-style: normal; line-height: 1; color: var(--red); }
.t-mien-que .mq-h2 { font-size: 34px; line-height: 1.25; color: var(--red); }
.t-mien-que .mq-h2--light { color: #fff7e6; }
.t-mien-que .mq-card {
  margin: 20px 16px; padding: 28px 22px 30px; background: var(--paper); text-align: center;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .55);
}
.t-mien-que .mq-dots { margin: 4px auto 10px; max-width: 300px; padding-bottom: 4px; border-bottom: 1.5px dotted var(--soft); font: 400 20px/1.3 var(--f-script); color: var(--ink); }
/* chữ banner đỏ viền trắng đổ bóng (Hân Hạnh) */
.t-mien-que .mq-banner {
  font: 400 44px/1.1 var(--f-big); color: var(--red); text-transform: uppercase;
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 4px 4px 0 var(--red-deep);
}
.t-mien-que .mq-banner--sm { font-size: 24px; }

/* ---------- 1. bìa ---------- */
.t-mien-que .mq-cover { padding: 30px 18px 34px; color: #fff7e6; overflow: hidden; }
.t-mien-que .mq-cover__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.t-mien-que .mq-cover__title { display: grid; font-size: 48px; line-height: 1; color: #fff; text-shadow: 2px 2px 0 var(--red-deep); rotate: -6deg; }
.t-mien-que .mq-cover__title span { margin: 2px 0 0 34px; font-size: 32px; color: #9fd0ff; }
.t-mien-que .mq-cover__who { display: grid; justify-items: end; gap: 2px; padding-top: 6px; text-align: right; }
.t-mien-que .mq-cover__who b { font: 700 15px/1.3 var(--f-serif); text-transform: uppercase; max-width: 190px; text-wrap: balance; }
.t-mien-que .mq-cover__who span { font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.t-mien-que .mq-cover__who .mq-hy { font-size: 34px; color: #fff; }
.t-mien-que .mq-fan { position: relative; margin: 20px auto 0; width: 384px; height: 470px; }
.t-mien-que .mq-fan__bg { position: absolute; top: 0; left: -8px; width: 400px; height: 300px; color: #f6ecd6; opacity: .9; }
.t-mien-que .mq-arch { position: absolute; left: 72px; top: 96px; width: 240px; height: 360px; overflow: hidden; border: 6px solid #fff7e6; border-radius: 120px 120px 0 0; box-shadow: 0 16px 26px -10px rgba(0, 0, 0, .5); }
.t-mien-que .mq-sign {
  position: absolute; left: 50%; top: 80px; translate: -50% 0; padding: 4px 14px; z-index: 1;
  background: #fff7e6; border: 2px solid var(--blue); color: var(--red); font: 400 17px/1.2 var(--f-big); text-transform: uppercase; white-space: nowrap;
}
.t-mien-que .mq-cover__to { margin: 18px auto 0; max-width: 300px; padding: 10px 14px; background: #fff7e6; color: var(--ink); text-align: center; font-size: 14px; }
.t-mien-que .mq-cover__to b { display: block; font: 400 24px/1.3 var(--f-script); color: var(--red); }

/* ---------- 2. hân hạnh ---------- */
.t-mien-que .mq-hello__sub { margin-top: 2px; font-size: 14px; color: var(--soft); letter-spacing: .1em; }
.t-mien-que .mq-hello__guest { margin-top: 4px; font-size: 38px; line-height: 1.2; color: var(--red); }
.t-mien-que .mq-hello__pic { position: relative; aspect-ratio: 4 / 5; margin: 18px -8px -10px; }

/* ---------- 3. tiệc ---------- */
.t-mien-que .mq-party__venue { margin-top: 10px; font-size: 46px; }
.t-mien-que .mq-party__time { margin-top: 14px; font-size: 16px; }
.t-mien-que .mq-party__date { margin-top: 4px; font-size: 40px; letter-spacing: .02em; }
.t-mien-que .mq-party__end { margin-top: 16px; }

/* ---------- 4. báo tin ---------- */
.t-mien-que .mq-fam { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; line-height: 1.5; }
.t-mien-que .mq-fam__side { margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); justify-self: center; padding: 2px 10px; }
.t-mien-que .mq-fam > div { display: grid; justify-items: center; }
.t-mien-que .mq-fam b { color: var(--red); }
.t-mien-que .mq-fam__addr { margin-top: 4px; font-size: 12px; color: var(--soft); }
.t-mien-que .mq-news__lead { margin-top: 18px; }
.t-mien-que .mq-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.t-mien-que .mq-pair figure { position: relative; aspect-ratio: 3 / 4; border-radius: 80px 80px 0 0; overflow: hidden; }
.t-mien-que .mq-names { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; margin-bottom: 14px; }
.t-mien-que .mq-names .mq-big { font-size: 24px; text-wrap: balance; }
.t-mien-que .mq-names small { display: block; margin-top: 4px; font: 500 12px var(--f-serif); color: var(--soft); text-transform: none; }
.t-mien-que .mq-names .mq-hy { font-size: 40px; }
.t-mien-que .mq-news__date { margin-top: 10px; font-size: 26px; text-wrap: balance; }

/* ---------- 5. lịch ---------- */
.t-mien-que .mq-cal__month { margin-top: 2px; font-size: 15px; color: var(--green); }
.t-mien-que .mq-cal__grid { margin-top: 12px; }
.t-mien-que .mq-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.t-mien-que .mq-cal__row span { position: relative; display: grid; place-items: center; height: 42px; font-size: 15px; }
.t-mien-que .mq-cal__row--head span { height: 32px; font-size: 13px; font-weight: 700; color: var(--green); }
.t-mien-que .mq-cal__row span.is-sun { color: var(--red); }
.t-mien-que .mq-cal__row span b { position: relative; font-weight: 400; }
.t-mien-que .mq-cal__row span.is-day svg { position: absolute; width: 44px; height: 44px; color: var(--red); opacity: .55; }
.t-mien-que .mq-cal__row span.is-day b { font-weight: 700; color: var(--red-deep); }

/* ---------- đếm ngược ---------- */
.t-mien-que .mq-cd__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.t-mien-que .mq-cd__row p { display: grid; padding: 12px 0 10px; background: var(--paper); color: var(--green); border-bottom: 4px solid var(--yellow); }
.t-mien-que .mq-cd__row b { font: 400 30px/1.1 var(--f-big); }
.t-mien-que .mq-cd__row span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--soft); }

/* ---------- 6. đường đến ---------- */
.t-mien-que .mq-way__venue { margin: 4px 0 6px; font-size: 32px; }
.t-mien-que .mq-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.t-mien-que .mq-btn {
  display: inline-block; padding: 12px 22px; border: 2px solid var(--red); border-radius: 0; background: var(--red); color: #fff;
  font: 700 14px var(--f-serif); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer;
}
.t-mien-que .mq-btn--ghost { background: transparent; color: var(--red); }

/* sự kiện thêm (gói 2) */
.t-mien-que .thiepmai-events { padding: 0 16px 10px; }
.t-mien-que .thiepmai-event { background: var(--paper); color: var(--ink); }

/* ---------- 7. lịch trình ---------- */
.t-mien-que .mq-program__list { margin: 12px 0 0; padding: 0; list-style: none; text-align: left; }
.t-mien-que .mq-program__list li { display: grid; grid-template-columns: 56px 26px 1fr; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(31, 122, 58, .35); }
.t-mien-que .mq-program__list b { font: 400 18px var(--f-big); color: var(--red); }
.t-mien-que .mq-program__list svg { width: 26px; height: 26px; color: var(--red); }
.t-mien-que .mq-program__list span { font-weight: 600; font-size: 15px; }
.t-mien-que .mq-program__list small { display: block; font-weight: 400; font-size: 12px; color: var(--soft); }

/* ---------- câu thơ ---------- */
.t-mien-que .mq-quote p { font: 400 22px/1.5 var(--f-script); color: #fff7e6; }

/* ---------- 8. album ---------- */
.t-mien-que .mq-album__grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.t-mien-que .mq-album__pic { width: calc(50% - 6px); box-sizing: border-box; padding: 6px; background: var(--paper); }
.t-mien-que .mq-album__in { position: relative; aspect-ratio: 3 / 4; }
.t-mien-que .mq-album__pic--wide, .t-mien-que .mq-album__pic--full { width: 100%; }
.t-mien-que .mq-album__pic--wide .mq-album__in, .t-mien-que .mq-album__pic--full .mq-album__in { aspect-ratio: 3 / 2; }

/* ---------- 9. xác nhận ---------- */
.t-mien-que .mq-rsvp__lead { margin-top: 6px; }
.t-mien-que .mq-form { display: grid; gap: 4px; margin-top: 10px; }
.t-mien-que .mq-field {
  width: 100%; box-sizing: border-box; padding: 12px 2px; border: 0; border-bottom: 1.5px solid rgba(200, 16, 46, .35); border-radius: 0;
  background: transparent; font: 400 15px var(--f-serif); color: var(--ink); outline: none; appearance: none;
}
.t-mien-que .mq-field:focus { border-bottom-color: var(--red); }
.t-mien-que .mq-form .mq-btn { margin-top: 16px; justify-self: center; }
.t-mien-que .mq-form__msg { min-height: 1.2em; font-size: 13px; color: var(--green); }
.t-mien-que .mq-gift { margin-top: 16px; }

/* ---------- 10. kết ---------- */
.t-mien-que .mq-end { padding: 24px 0 0; text-align: center; color: #fff7e6; }
.t-mien-que .mq-end__photo { position: relative; width: 300px; height: 380px; margin: 0 auto; border: 6px solid #fff7e6; border-radius: 150px 150px 0 0; overflow: hidden; }
.t-mien-que .mq-end__big { margin-top: 18px; font-size: 36px; color: #fff; }
.t-mien-que .mq-end__text { margin: 6px 30px 0; font-size: 15px; line-height: 1.6; }

/* ---------- màn mở thiệp ---------- */
.t-mien-que .thiepmai-gate__door { background: var(--red); }
.t-mien-que .thiepmai-gate__label { font-family: var(--f-serif); font-weight: 700; }
.t-mien-que .thiepmai-gate__guest { font: 700 32px/1.3 var(--f-serif); }
.t-mien-que .thiepmai-gate__names { font: 400 32px/1.25 var(--f-big); text-wrap: balance; }
.t-mien-que .thiepmai-gate__date { font-family: var(--f-serif); font-weight: 700; }
.t-mien-que .thiepmai-gate__open { background: var(--yellow); color: var(--red-deep); font-family: var(--f-serif); font-weight: 800; text-transform: uppercase; }
