/* ============================================================
   TRANG TUẦN LỄ CHUNG SỐNG (body.lp-chung-song)
   VOICE   ấm, chậm, mời gọi — như một lá thư tay của cộng đồng
   IDEA    trang giấy màu nước của chính tranh bìa: hoạ tiết cắt từ tranh rải dọc trang
   PICTURE tranh bìa tràn ngang; mỗi phần có một cảnh nhỏ từ tranh; đồi + mặt trời ở cuối
   COLOUR  giấy kem #FFF6E8 · vàng nắng #F7B733 · ô liu #D9471C / #4A2A17 · nâu đất #3B2314
   TYPE    Mali (chữ tay tròn, gần chữ trong tranh) cho tiêu đề; Be Vietnam Pro cho thân chữ
   Chỉ áp cho trang này; trang chủ giữ bộ màu "vườn cây" trong tokens.css.
   ============================================================ */
/* Bảng màu: css/theme-chung-song.css (dùng chung với trang chủ khi khoác áo lễ hội) */

/* Trang này không dùng header + dải dây lá chung: tranh bìa nằm sát mép trên */
.lp-chung-song .sticky-top { display: none; }
.lp-chung-song [id] { scroll-margin-top: 64px; }

.lp-chung-song .deco { position: absolute; pointer-events: none; user-select: none; height: auto; }

/* --- Ảnh bìa ------------------------------------------------------- */
.lp-cover { position: relative; margin: 0; background: #F6EAC8; }
.lp-cover img { display: block; width: 100%; height: auto; }   /* hiện TRỌN tranh, không cắt, không phủ mờ */
.lp-chung-song a:focus-visible { outline: 2px solid var(--nang-dam); outline-offset: 2px; }

/* --- Dải mục lục (dính trên đầu khi cuộn, màn hình rộng) ------------ */
.lp-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; padding: 10px 16px;
  background: var(--nen-kem); border-bottom: 1px solid var(--vien-nhat); box-shadow: 0 4px 12px rgba(90, 70, 20, .08);
  /* 6 mục (26/11): không đủ chỗ thì xuống hàng, không cuộn ngang ẩn mất mục */
}
.lp-nav::-webkit-scrollbar { display: none; }
.lp-nav a {
  flex: none; padding: 7px 14px; border-radius: var(--bo-tron); text-decoration: none;
  font-family: var(--font-tay); font-weight: 600; font-size: 14px; color: var(--chu-nhat);
}
.lp-nav a:hover { background: var(--la-nhat); color: var(--la-dam); }
.lp-nav a.lp-nav-home { color: var(--la-dam); border: 1px solid var(--vien-vang); }
/* --- Chữ dùng chung ------------------------------------------------ */
.lp-h2 {
  margin: 0; font-family: var(--font-tay); font-weight: 700; text-wrap: balance;
  font-size: clamp(27px, 3.2vw, 40px); line-height: 1.15; color: var(--la-dam);
}
.lp-h3 { margin: 0; font-family: var(--font-tay); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); color: var(--cam-tieu-de); }
.lp-prose { max-width: 700px; font-size: 16.5px; line-height: 1.8; color: var(--chu-nhat); }
.lp-prose p { margin: 0 0 14px; }
.lp-prose p:last-child { margin-bottom: 0; }
.lp-prose b { color: var(--chu); font-weight: 600; }
.lp-sec { position: relative; padding-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

/* --- 1. Mở đầu ----------------------------------------------------- */
.lp-open { position: relative; padding-top: 84px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.lp-question {
  margin: 0; max-width: 820px; position: relative; z-index: 1;
  font-family: var(--font-tay); font-weight: 600; text-wrap: balance;
  font-size: clamp(25px, 3vw, 36px); line-height: 1.35; color: var(--cam-tieu-de);
}
.lp-soft { font-family: var(--font-tay); font-size: 18px; color: var(--la-dam); }
.deco-birds   { width: 56px; top: 14px; right: 8%; opacity: .95; }   /* ngôi sao lấp lánh (bìa mới) */
.deco-sprig-l { width: 96px; left: 5%; top: 150px; transform: rotate(-8deg); }
.deco-sprig-r { width: 112px; right: 6%; top: 250px; }

/* --- 2. Bốn hướng kết nối ------------------------------------------ */
.lp-ways {
  list-style: none; margin: 18px 0 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.lp-ways li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 18px 16px 22px; border-radius: 22px; background: rgba(255, 253, 247, .7);
  border: 1px solid var(--vien-nhat);
}
.lp-ways img { height: 124px; width: auto; max-width: 100%; object-fit: contain; }
.lp-ways b { font-family: var(--font-tay); font-weight: 700; font-size: 18.5px; line-height: 1.3; color: var(--la-dam); text-wrap: balance; }
.lp-ways li:nth-child(2) b { color: var(--cam-tieu-de); }
.lp-ways li:nth-child(4) b { color: var(--dat-do); }
.lp-ways span { font-size: 14.5px; line-height: 1.6; color: var(--chu-mo); }

/* --- 3. Bạn sẽ tìm thấy gì · 5. Cùng bước vào + lịch (hai dải lúa) -- */
.lp-band { margin-top: 88px; }
.lp-band > .wrap { gap: 26px; }
.lp-join > .wrap { padding-bottom: 40px; }
.lp-join-in { position: relative; padding-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lp-cal { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.lp-join-go { display: flex; justify-content: center; margin-top: 18px; }
.deco-dancer { width: 120px; right: 4%; top: 30px; z-index: 1; }
.lp-find { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-bottom: 10px; }
.lp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; border-top: 1px dashed var(--vien-vang); padding-top: 26px; }
.lp-count { font-size: 14px; font-weight: 600; color: var(--chu-mo); }
.lp-chung-song .card { border-color: var(--vien); box-shadow: 0 2px 10px rgba(110, 90, 30, .07); }
.lp-chung-song .facts svg { stroke: var(--la-icon); }
.lp-chung-song .title { font-family: var(--font-tay); font-weight: 600; text-transform: none; font-size: 18px; color: var(--chu); }
.lp-empty-go {
  display: inline-flex; align-items: center; min-height: var(--cao-cham); padding: 0 18px;
  border: 1px solid var(--la); border-radius: var(--bo-nut); color: var(--la);
  font-weight: 600; text-decoration: none;
}

/* --- 4. Đến như chính bạn là --------------------------------------- */
.lp-asyou { padding-top: 64px; }
.lp-scene { width: min(250px, 70%); height: auto; margin-bottom: -4px; }
.lp-maybe { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-maybe li {
  position: relative; padding: 22px 20px 20px; border-radius: 20px; text-align: left;
  background: #FFF9EE; border: 1px solid #F2D6B3;
  font-family: var(--font-tay); font-weight: 500; font-size: 16.5px; line-height: 1.55; color: var(--chu);
}
.lp-maybe li::before { content: "❀"; display: block; margin-bottom: 6px; color: var(--nang-dam); font-size: 18px; }
.lp-maybe li:nth-child(2) { transform: translateY(14px); background: #FDE9DF; }
.lp-maybe li:nth-child(3) { background: #FDE6DA; }
.lp-quote { margin: 34px 0 0; max-width: 760px; }
.lp-quote p { margin: 0; font-family: var(--font-tay); font-weight: 700; font-size: clamp(23px, 2.8vw, 32px); line-height: 1.35; color: var(--o-liu-sau); text-wrap: balance; }
.lp-quote span { display: block; margin-top: 10px; font-size: 16.5px; color: var(--chu-mo); }

/* --- Lời mời (trong dải 5) + chân trang ---------------------------- */
.lp-foot-title { margin: 0; font-family: var(--font-tay); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: var(--cam-tieu-de); text-wrap: balance; }
.lp-foot-sub { margin: 0; max-width: 600px; font-size: 16px; line-height: 1.7; color: var(--chu-nhat); }
.lp-foot-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.lp-btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: var(--bo-tron); background: var(--la); color: #FFF8E6; border: 1.5px solid var(--la);
  font-family: var(--font-tay); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 3px 0 var(--la-dam);
}
.lp-btn:hover { background: var(--la-dam); color: #fff; }
.lp-btn.is-ghost { background: #FFF9EE; color: var(--la-dam); box-shadow: 0 3px 0 #E8C79A; border-color: #E8C79A; }
.lp-btn.is-ghost:hover { background: var(--la-nhat); }
.deco-wheat    { width: 170px; left: -16px; top: 10px; transform: rotate(-18deg); }
.deco-sprig-br { width: 170px; right: -10px; top: -10px; }



/* --- Màn hình hẹp -------------------------------------------------- */
/* Hoạ tiết hai bên chỉ hiện khi đủ chỗ, không bao giờ đè chữ (đo bằng overlap.py ở 320–1500px) */
@media (max-width: 1180px) {
  .deco-sprig-l, .deco-sprig-r, .deco-dancer, .deco-wheat, .deco-sprig-br { display: none; }
}
@media (max-width: 1100px) {
  .lp-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .deco-sprig-l, .deco-sprig-r { display: none; }
  .deco-birds { width: 46px; top: 12px; right: 5%; }
  .lp-maybe { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .lp-maybe li:nth-child(2) { transform: none; }
}
@media (max-width: 760px) {
  /* điện thoại: lưới 2 cột, mỗi mục là một ô bo tròn bằng nhau; "Quay về Bản tin" nằm riêng hàng cuối */
  .lp-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 14px; overflow: visible; }
  .lp-nav a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 10px;
    font-size: 14px; line-height: 1.25; border: 1px solid var(--vien); background: #FFF9EE; border-radius: 14px; }
  .lp-nav a.lp-nav-home { grid-column: 1 / -1; background: transparent; border-color: var(--vien-vang); }
  /* 5 mục (26/11): 2 hàng đôi, "Quay về Bản tin" chiếm trọn hàng cuối */
  .lp-chung-song [id] { scroll-margin-top: 12px; }
  .lp-open { padding-top: 62px; gap: 20px; }
  .lp-prose { font-size: 15.5px; line-height: 1.75; }
  .lp-sec { padding-top: 56px; }
  .lp-band { margin-top: 64px; }
  .lp-join-in { padding-top: 40px; }
}
@media (max-width: 575px) {
  .deco-birds { display: none; }
  .lp-open { padding-top: 30px; }
  .lp-ways { grid-template-columns: minmax(0, 1fr); }
  .lp-ways li { flex-direction: row; text-align: left; align-items: center; gap: 14px; padding: 14px; }
  .lp-ways img { height: 76px; width: 88px; flex: none; }
  .lp-ways li > b, .lp-ways li > span { display: block; }
  .lp-ways li { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; }
  .lp-ways img { grid-row: 1 / span 2; }
  .lp-ways b { font-size: 17px; text-wrap: wrap; }
}
