@charset "UTF-8";
/* ==========================================================================
   Giờ Lễ Việt, mục Bài viết (bản 3.1). Nạp sau v31.css, chỉ ở các trang trong
   bai-viet/. Trang do tools/dung_blog.py dựng từ kho bài của luồng blog.

   Luận điểm: mỗi bài mang màu áo lễ của chính nó, như dải ruy băng đánh dấu
   trong sách lễ. Khung trang (đầu trang, nút, link) vẫn theo màu mùa hôm nay;
   màu của bài chỉ nằm ở ruy băng, khối Trả lời nhanh, khối màu áo lễ và hình
   vẽ trong bài. Mục lục xếp bài lễ theo ngày cử hành sắp tới, như tờ lịch.
   ========================================================================== */

/* ------------------------------------------------- màu áo lễ của từng bài */
.v3 [data-mau] { --mau: #13A05C; --mau-ink: #0B7C45; --mau-tint: #EBF7F0; --mau-line: #C3EAD5; }
.v3 [data-mau="tim"]   { --mau: #7A4BD8; --mau-ink: #5F34B8; --mau-tint: #F4EFFD; --mau-line: #DCCDF8; }
.v3 [data-mau="hong"]  { --mau: #DE5F96; --mau-ink: #A8336A; --mau-tint: #FCEEF4; --mau-line: #F5C9DB; }
.v3 [data-mau="trang"] { --mau: #E2A20B; --mau-ink: #8F6200; --mau-tint: #FFF8E4; --mau-line: #FCE5A8; }
.v3 [data-mau="do"]    { --mau: #E5484D; --mau-ink: #C02A30; --mau-tint: #FDF0F0; --mau-line: #F9CDCF; }
.v3 [data-mau="den"]   { --mau: #2B3542; --mau-ink: #1A222C; --mau-tint: #EEF1F4; --mau-line: #CFD6DE; }

/* Hình vẽ trong bài mang data-season theo màu của bài (GLV-05 mục 4.4): biến màu
   mùa đặt ở cấp phần tử, cùng giá trị với v3.css. Hình màu xanh không gắn
   data-season thì lấy màu xanh của bài, không đổi theo mùa hôm nay. */
.v3 .bv-hinh [data-season="vong"], .v3 .bv-hinh [data-season="chay"] {
  --season: #7A4BD8; --season-ink: #5F34B8; --season-tint: #F0E9FD; --season-tint-2: #DCCDF8; --season-deep: #3F2189;
}
.v3 .bv-hinh [data-season="giang-sinh"], .v3 .bv-hinh [data-season="phuc-sinh"] {
  --season: #E2A20B; --season-ink: #8F6200; --season-tint: #FFF5D9; --season-tint-2: #FCE5A8; --season-deep: #5E4000;
}
.v3 .bv-hinh [data-season="hien-xuong"], .v3 .bv-hinh [data-season="tam-nhat"] {
  --season: #E5484D; --season-ink: #C02A30; --season-tint: #FDEBEC; --season-tint-2: #F9CDCF; --season-deep: #8E1A1F;
}
.v3 .bv[data-mau="xanh"] .bv-hinh, .v3 .bv-hinh [data-season="thuong-nien"] {
  --season: #13A05C; --season-ink: #0B7C45; --season-tint: #E3F6EC; --season-tint-2: #C3EAD5; --season-deep: #075C33;
}

/* ----------------------------------------------- ruy băng đánh dấu trang */
/* Dải satin buông từ mép trên, đuôi cắt chữ V; nửa phải tối hơn như nếp gấp. */
.bv-ruy {
  position: absolute; z-index: 2; top: 0; left: 22px; width: 13px; height: 46px;
  background: var(--mau);
  background: linear-gradient(90deg, var(--mau) 0 52%, color-mix(in oklab, var(--mau) 84%, #0C1E33) 52% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 6px), 0 100%);
  pointer-events: none;
}
[data-mau="trang"] > .bv-ruy, .bv-ruy[data-mau="trang"] {
  background: linear-gradient(90deg, #F2B52A 0 52%, #D69A06 52% 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .bv-ruy-dd { transform-origin: 50% 0; animation: bv-ruy-xuong .72s cubic-bezier(.16, 1, .3, 1) .2s both; }
  @keyframes bv-ruy-xuong { from { transform: scaleY(.04); } to { transform: scaleY(1); } }
}

/* --------------------------------------------------------------- đầu bài */
.bv-head { display: grid; gap: 18px; margin: 4px 0 30px; }
.bv-head-chu { min-width: 0; }
.bv-head h1 {
  margin: 0 0 12px; max-width: 22ch; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.95rem);
  font-stretch: 108%; font-weight: 750; letter-spacing: -.03em; line-height: 1.16; text-wrap: balance;
}
.bv-phu { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; font-size: .9rem; color: var(--muted); }
.bv-phu .sep { opacity: .5; }
.bv-module { font-weight: 640; color: var(--ink-2); }

.bv-tln {
  position: relative; max-width: 68ch; padding: 16px 20px 18px; border-radius: 18px;
  background: var(--mau-tint); border: 1px solid var(--mau-line);
  background: color-mix(in oklab, var(--mau-tint) 62%, #FFFFFF);
  border-color: color-mix(in oklab, var(--mau-line) 72%, #FFFFFF);
}
.bv-tln .bv-ruy { left: auto; right: 22px; height: 34px; }
.bv-tln-h { margin: 0 0 4px; font-size: .84rem; font-weight: 700; color: var(--mau-ink); }
.bv-tln-chu { margin: 0; font-size: 1.1rem; line-height: 1.66; color: var(--ink); }

.bv-dd { position: relative; margin: 0; min-width: 0; }
.bv-dd img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--sh-card);
}
@media (min-width: 940px) {
  .bv-head {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); grid-template-areas: "chu dd" "tln dd";
    column-gap: clamp(32px, 4vw, 64px); row-gap: 22px; align-items: start; margin-bottom: 44px;
  }
  .bv-head-chu { grid-area: chu; padding-top: 6px; }
  .bv-tln { grid-area: tln; }
  .bv-dd { grid-area: dd; margin-top: 4px; }
}

/* -------------------------------------------- mục lục và cột chữ của bài */
.bv-grid { display: grid; gap: 2.6rem; align-items: start; }
.bv-cot { min-width: 0; max-width: 720px; }
@media (min-width: 940px) { .bv-grid { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 939px) { .bv-toc { display: none; } }

.bv-toc-m { display: none; }
@media (max-width: 939px) {
  .bv-toc-m { display: block; margin: -8px 0 28px; background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; }
  .bv-toc-m summary {
    display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
    font-weight: 650; color: var(--ink); cursor: pointer; list-style: none;
  }
  .bv-toc-m summary::-webkit-details-marker { display: none; }
  .bv-toc-m summary::after {
    content: ''; width: 8px; height: 8px; margin: -4px 2px 0 0; border: solid var(--muted); border-width: 0 2px 2px 0;
    transform: rotate(45deg); transition: transform .2s var(--ease-out);
  }
  .bv-toc-m[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .bv-toc-m nav { display: grid; padding: 0 16px 8px; }
  .bv-toc-m nav a { padding: 11px 0; border-top: 1px solid var(--line-2); font-size: .95rem; color: var(--ink-2); }
}
.bv-dem { margin-left: auto; font-size: .8rem; font-weight: 560; color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------ thân bài */
.bv-than { max-width: none; }
.bv-than > :first-child { margin-top: 0; }
.bv-than h2 {
  margin: 2.7rem 0 .8rem; font-size: clamp(1.38rem, 1.1rem + .9vw, 1.72rem); line-height: 1.26;
  letter-spacing: -.024em; text-wrap: balance; scroll-margin-top: calc(var(--hdr-h) + 20px);
}
.bv-than h3 { margin: 1.9rem 0 .5rem; font-size: 1.16rem; line-height: 1.35; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.bv-than p { margin: 0 0 1.05rem; font-size: 1.06rem; line-height: 1.78; }
.bv-than ul li, .bv-than ol li { font-size: 1.06rem; line-height: 1.72; }
.bv-than .tbl-scroll { margin: 1.2rem 0 1.6rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; }
.bv-than .tbl { font-size: .95rem; }
.bv-than .tbl th { padding: .7rem .75rem; }
.bv-than a.bv-tu { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.bv-trich { margin: 1.5rem 0 1.7rem; padding: .1rem 0 .1rem 1.25rem; border-left: 2px solid var(--line); }
.bv-than .bv-trich p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--ink); }

/* ------------------------------------------------------------------- hình */
.bv-hinh { margin: 1.5rem 0 2rem; }
.bv-hinh-khung {
  display: grid; place-items: center; padding: clamp(14px, 3vw, 28px);
  background: var(--sheet); border: 1px solid var(--line); border-radius: 18px;
}
.bv-hinh-ve svg { display: block; width: 100%; max-width: 400px; height: auto; font-family: var(--f-ui); }
.bv-hinh-anh .bv-hinh-khung { padding: clamp(8px, 1.6vw, 14px); }
.bv-hinh-anh img { display: block; width: 100%; height: auto; border-radius: 8px; }
.bv-hinh figcaption { max-width: 64ch; margin: .7rem 2px 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.bv-ghi-cong { display: block; margin-top: .2rem; font-size: .82rem; color: var(--muted-2); }

/* ---------------------------------------------- khối dữ liệu (shortcode) */
.bv-khoi { margin: 1.5rem 0 1.9rem; padding: 16px 18px 14px; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; }
.bv-than .bv-khoi-h {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: .92rem; font-weight: 680; line-height: 1.35; color: var(--ink);
}
.bv-khoi-h .ic { flex: none; width: 18px; height: 18px; color: var(--mau-ink); }
.bv-than .bv-khoi ul, .bv-than .bv-khoi ol { margin: 0; padding: 0; list-style: none; }
.bv-than .bv-khoi li { margin: 0; padding-left: 0; font-size: .98rem; line-height: 1.5; }
.bv-than .bv-khoi li::before { content: none; }
.bv-than .bv-khoi p { font-size: .95rem; line-height: 1.6; }

/* tên gọi khác */
.bv-than .bv-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.bv-than .bv-chip li {
  padding: 5px 12px; border-radius: 999px; background: var(--sheet-2); border: 1px solid var(--line-2);
  font-size: .92rem; color: var(--ink-2);
}

/* ngày cử hành */
.bv-than .bv-ngay-le .tbl-scroll { margin: 0; border: 0; border-radius: 0; background: none; }
.bv-ngay-le .tbl th { padding-left: 0; }
.bv-ngay-le .tbl td { padding-left: 0; white-space: nowrap; }
.bv-thu { color: var(--muted); }
.bv-du-kien {
  display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 6px; vertical-align: 1px;
  background: var(--sheet-2); color: var(--muted); font-size: .74rem; font-weight: 600;
}
.bv-than .bv-ghi { margin: 10px 0 2px; font-size: .88rem; color: var(--muted); }
.bv-than .bv-ghi-vn { color: var(--ink-2); }
@media (max-width: 560px) {
  /* bảng ngày cử hành trên điện thoại: thứ nằm trên ngày, nhãn dự kiến xuống dòng, bảng không tràn ngang */
  .bv-ngay-le .tbl td { white-space: normal; }
  .bv-ngay-le .bv-thu { display: block; }
  .bv-ngay-le .bv-du-kien { display: table; margin: 4px 0 0; }
}

/* màu áo lễ: một chiếc áo lễ tô đúng màu */
.bv-mau-ao { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 14px; padding: 12px 22px 12px 16px; }
.bv-ao { flex: none; }
.bv-ao svg { display: block; width: 42px; height: 42px; }
.bv-ao-vai { fill: var(--mau); stroke: var(--mau-ink); stroke-width: 1.1; stroke-linejoin: round; }
.bv-ao-co { fill: none; stroke: var(--mau-ink); stroke-width: 1.2; stroke-linecap: round; }
.bv-ao-ke { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linecap: round; }
[data-mau="trang"] .bv-ao-vai { fill: #FFFFFF; stroke: #E2A20B; stroke-width: 1.4; }
[data-mau="trang"] .bv-ao-co, [data-mau="trang"] .bv-ao-ke { stroke: #E2A20B; }
.bv-mau-chu { font-size: 1.02rem; color: var(--ink-2); line-height: 1.45; }
.bv-mau-chu b { color: var(--ink); }
.bv-mau-phu { display: block; font-size: .86rem; color: var(--muted); }

/* giáo xứ mang tên, mừng bổn mạng */
.bv-gx-ds li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.bv-gx-ds a { font-weight: 620; color: var(--ink); }
.bv-gx-ds span { font-size: .86rem; color: var(--muted); }
.bv-gx-them { margin-top: 2px; }
.bv-gx-them summary { display: inline-flex; min-height: 40px; align-items: center; font-size: .92rem; font-weight: 640; color: var(--season-ink); cursor: pointer; }
.bv-than .bv-gx-trong { margin: 0; color: var(--ink-2); }

/* danh sách giáo phận, giáo hạt */
.bv-ds-ds li { display: grid; gap: 3px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.bv-ds-gp, .bv-ds-gt { font-weight: 660; color: var(--ink); }
.bv-ds-con { font-size: .92rem; line-height: 1.65; color: var(--muted); }
.bv-ds-con a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.bv-than .bv-ds-cuoi { margin: 8px 0 2px; font-size: .86rem; color: var(--muted); }

/* hồ sơ tóm tắt một vị thánh */
.bv-ho-so dl { margin: 0; }
.bv-ho-so dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 2px 16px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.bv-ho-so dt { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.bv-ho-so dd { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 520px) { .bv-ho-so dl > div { grid-template-columns: minmax(0, 1fr); } }

/* tìm thánh lễ quanh bạn */
.bv-tim { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center; padding: 16px 18px; }
.bv-tim .entry-ic { margin: 0; }
.bv-tim-chu b { display: block; font-size: 1.02rem; color: var(--ink); }
.bv-than .bv-tim-chu p { margin: 2px 0 0; color: var(--ink-2); }
.bv-tim-nut { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 700px) {
  .bv-tim { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bv-tim-nut { grid-column: auto; }
}

/* ------------------------------------------------------------ cuối bài */
.bv-cuoi { margin-top: 2.8rem; }
.bv-cuoi h2 { margin: 0 0 .6rem; font-size: clamp(1.32rem, 1.1rem + .7vw, 1.6rem); scroll-margin-top: calc(var(--hdr-h) + 20px); }
.bv-hd { padding: 14px 0 12px; border-top: 1px solid var(--line); }
.bv-hd h3 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.4; }
.bv-hd p { margin: 0; font-size: 1.02rem; line-height: 1.72; color: var(--ink-2); }
.bv-cuoi-h { margin: 0 0 10px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.bv-lq ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bv-lq a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  background: var(--sheet); border: 1px solid var(--line); font-weight: 620; font-size: .95rem; color: var(--ink);
  transition: border-color .15s ease;
}
.bv-nguon h2 { font-size: 1.08rem; letter-spacing: -.01em; }
.bv-nguon ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bv-nguon li { font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.bv-nguon a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.bv-vi-tri { display: block; font-size: .82rem; color: var(--muted); }
.bv-tac-gia {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  margin-top: 2.6rem; padding-top: 18px; border-top: 1px solid var(--line);
}
.bv-tac-gia p { display: grid; gap: 2px; max-width: 52ch; margin: 0; font-size: .9rem; color: var(--muted); }
.bv-tac-gia b { font-size: .98rem; color: var(--ink); }

/* ------------------------------------------------- cùng chủ đề, bài tiếp */
.bv-cung { margin-top: 3.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.bv-cung-in { display: grid; gap: 22px; max-width: 720px; }
@media (min-width: 940px) { .bv-cung-in { margin-left: calc(220px + 2.6rem); } }
.bv-tiep {
  position: relative; display: grid; gap: 3px; padding: 18px 56px 18px 52px; overflow: hidden;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-card);
  transition: border-color .15s ease, transform .12s var(--ease-out);
}
.bv-tiep .bv-ruy { left: 20px; height: 40px; }
.bv-tiep-h { font-size: .82rem; font-weight: 680; color: var(--muted); }
.bv-tiep-t { font-size: 1.1rem; font-weight: 680; line-height: 1.38; color: var(--ink); text-wrap: pretty; }
.bv-tiep > .ic { position: absolute; top: 50%; right: 20px; width: 22px; height: 22px; margin-top: -11px; color: var(--season-ink); }
.bv-tiep:active { transform: scale(.99); }
.bv-cung h2 { margin: 6px 0 0; font-size: 1.12rem; letter-spacing: -.01em; }
.bv-cung-ds { display: grid; margin: 0; padding: 0; list-style: none; }
.bv-cung-ds li { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: .96rem; line-height: 1.45; }
.bv-cung-ds a { color: var(--ink-2); }
.bv-cung-ds li[aria-current] span { font-weight: 680; color: var(--ink); }
.bv-cung-ds li[aria-current] span::after {
  content: 'Đang đọc'; margin-left: 10px; padding: 1px 7px; border-radius: 6px; vertical-align: 1px;
  background: var(--sheet-2); color: var(--muted); font-size: .74rem; font-weight: 600;
}

/* ================================================== trang mục lục bài viết */
.bv-hub-head { margin-bottom: 2.2rem; }
.bv-hub-head h1 { max-width: 18ch; }
.bv-sap h2, .bv-nhom-dau h2 { margin: 0 0 6px; font-size: clamp(1.36rem, 1.1rem + .8vw, 1.72rem); letter-spacing: -.024em; }

/* sắp tới trong năm phụng vụ: một hàng tờ lịch, điện thoại kéo ngang */
.bv-sap { margin: 0 0 3.6rem; }
.bv-sap h2 { margin-bottom: 14px; }
.bv-lich {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 12px;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain;
}
.bv-lich li { min-width: 0; scroll-snap-align: start; }
.bv-o-ngay {
  position: relative; display: grid; align-content: start; gap: 2px; height: 100%; padding: 22px 16px 16px;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; color: var(--ink);
  transition: border-color .15s ease, transform .12s var(--ease-out);
}
.bv-o-ngay .bv-ruy { left: auto; right: 16px; height: 42px; }
.bv-o-ngay time { display: flex; align-items: baseline; gap: 6px; }
.bv-o-ngay time b { font-size: 2.6rem; font-weight: 760; font-stretch: 112%; letter-spacing: -.045em; line-height: 1; }
.bv-o-ngay time span { font-size: .9rem; font-weight: 620; color: var(--ink-2); }
.bv-o-thu { margin: 2px 0 10px; font-size: .84rem; font-weight: 560; color: var(--muted); }
.bv-o-thu.cn { color: var(--red-ink); }
.bv-o-ten { font-size: .98rem; font-weight: 650; line-height: 1.35; text-wrap: pretty; }
.bv-o-ngay:active { transform: scale(.98); }

/* nhóm bài */
.bv-nhom { margin-top: 3.6rem; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.bv-nhom-dau { max-width: 70ch; margin-bottom: 18px; }
.bv-nhom-dau p { margin: 0; color: var(--ink-2); line-height: 1.6; }

/* thẻ bài có ảnh đại diện */
.bv-the {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; color: var(--ink);
  transition: border-color .15s ease, transform .12s var(--ease-out);
}
.bv-the-anh { position: relative; display: block; aspect-ratio: 1200 / 630; background: var(--sheet-2); border-bottom: 1px solid var(--line-2); }
.bv-the-anh img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bv-the-chu { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 16px 18px 16px; }
.bv-the-chu .bv-ruy { left: auto; right: 18px; height: 34px; }
.bv-the-phu { align-self: end; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.bv-the-phu .sep { margin: 0 6px; opacity: .5; }
.bv-the-t { padding-right: 26px; font-size: 1.08rem; font-weight: 680; line-height: 1.36; letter-spacing: -.01em; text-wrap: pretty; }
.bv-the-mo {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  font-size: .92rem; line-height: 1.56; color: var(--ink-2);
}
.bv-the:active { transform: scale(.99); }
.bv-the-lon { margin-bottom: 16px; }
@media (min-width: 760px) {
  .bv-the-lon { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; }
  .bv-the-lon .bv-the-anh { border-bottom: 0; border-right: 1px solid var(--line-2); }
  .bv-the-lon .bv-the-chu { grid-template-rows: none; align-content: center; gap: 10px; padding: 28px clamp(24px, 3vw, 40px); }
  .bv-the-lon .bv-the-phu { align-self: auto; }
  .bv-the-lon .bv-the-t { font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); line-height: 1.24; letter-spacing: -.022em; }
  .bv-the-lon .bv-the-mo { -webkit-line-clamp: 4; font-size: 1rem; }
}
.bv-luoi { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }

/* danh sách các thánh, như bảng tên trong sách */
.bv-danh {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: 32px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.bv-danh li { border-top: 1px solid var(--line); }
.bv-danh a { display: grid; gap: 2px; padding: 13px 0 14px; }
.bv-danh-ten { font-size: 1.04rem; font-weight: 680; color: var(--ink); }
.bv-danh-phu { font-size: .9rem; color: var(--muted); }

/* mục lục từ điển: thuật ngữ, tên tiếng Anh, một câu giải nghĩa */
.bv-tu-dien { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 36px; margin: 0; }
.bv-tu-dien > div { padding: 15px 0 16px; border-top: 1px solid var(--line); }
.bv-tu-dien dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 4px; }
.bv-tu-dien dt a { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.bv-tu-dien dt span { font-size: .86rem; color: var(--muted); }
.bv-tu-dien dd { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--ink-2); }

/* ------------------------------------------------------ trạng thái chung */
.bv-the:focus-visible, .bv-o-ngay:focus-visible, .bv-tiep:focus-visible, .bv-lq a:focus-visible {
  outline: 2px solid var(--season-ink); outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .bv-the:hover, .bv-o-ngay:hover, .bv-tiep:hover, .bv-lq a:hover { border-color: var(--muted-2); }
  .bv-the:hover .bv-the-t, .bv-danh a:hover .bv-danh-ten, .bv-tu-dien dt a:hover { color: var(--season-ink); }
  .bv-cung-ds a:hover { color: var(--ink); }
}
@media (max-width: 620px) {
  .bv-head h1 { font-size: 1.86rem; }
  .bv-tln { padding: 14px 16px 16px; }
  .bv-tln-chu { font-size: 1.05rem; }
  .bv-than h2 { margin-top: 2.3rem; }
  .bv-khoi { padding: 14px 14px 12px; }
  .bv-o-ngay time b { font-size: 2.3rem; }
}
