/* ============================================================
   Naga Maha Viharaya — site stylesheet
   Palette drawn from the temple's own photography:
   saffron robes, gold ornament, temple-blue roof, warm stone.
   ============================================================ */

:root {
  --saffron: #d97a1c;
  --saffron-deep: #b35f10;
  --gold: #c9a227;
  --temple-blue: #21607c;
  --temple-blue-deep: #17465b;
  --ink: #2b2118;
  --ink-soft: #5c4f43;
  --cream: #faf6ee;
  --cream-deep: #f3ecdd;
  --card: #ffffff;
  --line: #e6dcc8;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(43, 33, 24, 0.09);
  --shadow-lift: 0 8px 28px rgba(43, 33, 24, 0.16);
  --font-en: "Figtree", "Noto Sans Sinhala", system-ui, sans-serif;
  --font-si: "Noto Sans Sinhala", "Figtree", system-ui, sans-serif;
  --font-head-en: "Playfair Display", "Noto Serif Sinhala", serif;
  --font-head-si: "Noto Serif Sinhala", "Playfair Display", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The bilingual QR pages hide the inactive language with the `hidden`
   attribute; author display rules would otherwise out-rank the UA default. */
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="si"] body { font-family: var(--font-si); line-height: 1.85; }

h1, h2, h3, h4 { font-family: var(--font-head-en); line-height: 1.25; color: var(--ink); }
html[lang="si"] h1, html[lang="si"] h2, html[lang="si"] h3, html[lang="si"] h4 { font-family: var(--font-head-si); line-height: 1.5; }

img { max-width: 100%; display: block; }
a { color: var(--temple-blue); }

.container { width: min(1080px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* The header carries the brand + 8 nav items + language switch, so it gets a
   slightly wider track than the 1080px content container. */
.site-header .container { width: min(1600px, 96%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0b04c, var(--saffron) 55%, var(--saffron-deep));
  display: grid; place-items: center;
  color: #fff7e8; font-size: 22px; box-shadow: inset 0 0 0 2px rgba(255,247,232,.5);
}
/* Stacked as a flex column with explicit tight line-heights: the two lines must
   sit close together regardless of the language's body line-height (Sinhala
   runs at 1.85, which otherwise opens a large gap between them). */
.brand-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.brand-name {
  font-family: var(--font-head-en); font-weight: 600; font-size: 1.06rem; line-height: 1.2;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[lang="si"] .brand-name { font-family: var(--font-head-si); line-height: 1.25; }
.brand-sub {
  font-size: 0.72rem; line-height: 1.25; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[lang="si"] .brand-sub { line-height: 1.35; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.5rem 0.65rem; font-size: 1.15rem; color: var(--ink); cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 0.1rem; flex-wrap: nowrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.87rem;
  padding: 0.42rem 0.45rem; border-radius: 8px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--saffron-deep); background: var(--cream-deep); }
.site-nav a.active { color: var(--saffron-deep); background: var(--cream-deep); font-weight: 700; }

.lang-switch {
  display: inline-flex; border: 1.5px solid var(--saffron); border-radius: 999px; overflow: hidden;
  margin-left: 0.4rem; flex: 0 0 auto; font-size: 0.86rem;
}
.lang-switch a, .lang-switch button, .lang-switch span {
  padding: 0.32rem 0.8rem; text-decoration: none; color: var(--saffron-deep); font-weight: 700;
  background: none; border: none; cursor: pointer; font-size: inherit; font-family: inherit;
}
.lang-switch .on { background: var(--saffron); color: #fff; }

/* Above the drawer breakpoint there is room for the brand in full, so stop
   flexbox from shrinking it into an ellipsis. */
@media (min-width: 1201px) {
  .brand { flex: 0 0 auto; }
  .brand-name, .brand-sub { overflow: visible; text-overflow: clip; }
  .site-nav { margin-left: auto; }
}

/* The full nav needs ~860px on its own (Sinhala labels are the widest), so the
   header only fits on one line above ~1200px; below that, use the drawer. */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.6rem 4%;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0.6rem; font-size: 1.05rem; border-bottom: 1px solid var(--cream-deep); }
  .lang-switch { align-self: flex-start; margin: 0.8rem 0 0.4rem 0.4rem; }
  .lang-switch a, .lang-switch span { padding: 0.4rem 1.2rem; border-bottom: none; }
}

/* ---------- Photo zoom ----------
   Content photography lifts gently on hover/focus and can be opened full-screen
   to inspect mural detail. All motion is disabled under prefers-reduced-motion. */
/* Scale only inside containers that clip, so a hover never spills over
   neighbouring content. Unclipped photos still open in the lightbox. */
.card > img,
figure > img {
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.24, 1);
}
figure:has(> img) { overflow: hidden; border-radius: var(--radius); }
.card:hover > img,
figure:hover > img {
  transform: scale(1.07);
}
/* Photos that open in the lightbox advertise themselves */
img.zoomable { cursor: zoom-in; }
img.zoomable:focus-visible { outline: 3px solid var(--temple-blue); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(18, 13, 9, 0.985); backdrop-filter: blur(6px); padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 88vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
  transform: scale(1); transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.24, 1);
  cursor: zoom-in; touch-action: none;
}
.lightbox.zoomed img { transform: scale(2.2); cursor: zoom-out; }
.lightbox .lb-close, .lightbox .lb-hint { position: absolute; color: #f3ede2; }
.lightbox .lb-close {
  top: 0.6rem; right: 0.9rem; font-size: 2rem; line-height: 1; background: none; border: none;
  cursor: pointer; padding: 0.4rem 0.7rem; border-radius: 999px; font-family: inherit;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox .lb-cap {
  position: absolute; bottom: 0.9rem; left: 50%; transform: translateX(-50%);
  color: #e6dcc8; font-size: 0.88rem; text-align: center; max-width: 90%;
  background: rgba(0, 0, 0, 0.45); padding: 0.4rem 0.9rem; border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .card > img, figure > img, .hero img.hero-bg, .lightbox, .lightbox img {
    transition: none; animation: none;
  }
  .card:hover > img, figure:hover > img { transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,30,38,0.25) 0%, rgba(23,30,38,0.55) 62%, rgba(23,30,38,0.78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(5rem, 16vw, 9.5rem) 0 clamp(2.6rem, 8vw, 4.5rem); }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 700;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero p { max-width: 34em; margin-top: 0.8rem; font-size: clamp(1rem, 2.8vw, 1.18rem); color: #f3ede2; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero .btn-row { margin-top: 1.5rem; }

/* Page hero (inner pages) */
.page-head { background: linear-gradient(180deg, var(--cream-deep), var(--cream)); border-bottom: 1px solid var(--line); padding: 2.4rem 0 1.8rem; }
.page-head h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.page-head p.lead { margin-top: 0.7rem; color: var(--ink-soft); max-width: 46em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--saffron); color: #fff; text-decoration: none; font-weight: 700;
  padding: 0.72rem 1.35rem; border-radius: 999px; border: none; cursor: pointer;
  font-size: 0.98rem; font-family: inherit;
  box-shadow: 0 3px 12px rgba(217,122,28,.35); transition: transform .12s, background .15s;
}
.btn:hover { background: var(--saffron-deep); transform: translateY(-1px); }
.btn.blue { background: var(--temple-blue); box-shadow: 0 3px 12px rgba(33,96,124,.3); }
.btn.blue:hover { background: var(--temple-blue-deep); }
.btn.ghost { background: transparent; color: var(--saffron-deep); border: 1.5px solid var(--saffron); box-shadow: none; }
.btn.ghost:hover { background: var(--cream-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Sections & cards ---------- */
.section { padding: clamp(2.2rem, 6vw, 3.6rem) 0; }
.section.alt { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 0.4rem; }
.section-sub { color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 46em; }
.kicker {
  display: inline-block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron-deep); font-weight: 700; margin-bottom: 0.5rem;
  font-family: var(--font-en);
}

.grid { display: grid; gap: 1.3rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; }
.card h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.card p { font-size: 0.93rem; color: var(--ink-soft); }
.card .date { font-size: 0.8rem; color: var(--saffron-deep); font-weight: 700; margin-bottom: 0.3rem; display: block; font-family: var(--font-en); }

/* Quick links on home */
.quick-card { text-align: center; padding: 1.4rem 1rem; }
.quick-card .emoji { font-size: 1.9rem; display: block; margin-bottom: 0.5rem; }

/* ---------- Sangha ---------- */
.monk-card img { aspect-ratio: 1/1; object-fit: cover; object-position: top; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--line);
  padding: 0.18rem 0.6rem; border-radius: 999px; margin-top: 0.6rem;
}

/* ---------- Content blocks on inner pages ---------- */
.page-section { margin-top: 2.6rem; }
.page-section .section-title { font-size: clamp(1.25rem, 3.4vw, 1.6rem); }

.step-card .card-body { padding-top: 1.3rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--saffron); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.6rem; font-family: var(--font-en);
}

.tick-list { list-style: none; max-width: 46em; }
.tick-list li {
  position: relative; padding: 0.5rem 0 0.5rem 1.9rem;
  border-bottom: 1px solid var(--line);
}
.tick-list li:last-child { border-bottom: none; }
.tick-list li::before {
  content: "☸"; position: absolute; left: 0; top: 0.5rem;
  color: var(--saffron); font-size: 0.95rem;
}

/* ---------- Notices ---------- */
.notice {
  background: #fff8e8; border: 1px solid #ecd9a8; border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 0.85rem 1.1rem; margin: 1rem 0; color: #6b5518; font-size: 0.95rem;
}
.notice.blue { background: #eef6fa; border-color: #c4dde9; border-left-color: var(--temple-blue); color: var(--temple-blue-deep); }

/* ---------- Prose pages ---------- */
.prose { max-width: 46em; }
.prose p { margin-bottom: 1.1rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.4rem 0; }
figure figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; text-align: center; }

/* Two-column feature */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.2rem; align-items: center; }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow-lift); }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Schedule table ---------- */
.schedule { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule tr:last-child td { border-bottom: none; }
.schedule td:first-child { font-weight: 700; white-space: normal; width: 40%; color: var(--temple-blue-deep); }

/* ---------- QR landing page ---------- */
.qr-page-head {
  background: linear-gradient(160deg, var(--temple-blue-deep), var(--temple-blue));
  color: #fff; padding: 1.4rem 0 1.2rem;
}
.qr-page-head .crumbs { font-size: 0.85rem; }
.qr-page-head .crumbs a { color: #cfe6f2; text-decoration: none; }
.qr-page-head .crumbs a::before { content: "← "; }
.qr-page-head .crumbs a:hover { text-decoration: underline; }
.qr-page-head h1 { color: #fff; font-size: clamp(1.4rem, 5vw, 2rem); margin-top: 0.4rem; }
.qr-page-head .loc { color: #bcd9e8; font-size: 0.9rem; margin-top: 0.35rem; }

.video-wrap { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.video-wrap .ratio { position: relative; padding-top: 56.25%; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.unmute-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--ink); color: #f3ede2; padding: 0.7rem 1rem; font-size: 0.92rem;
}
.unmute-bar button {
  background: var(--saffron); border: none; color: #fff; font-weight: 700; font-family: inherit;
  padding: 0.55rem 1.2rem; border-radius: 999px; cursor: pointer; font-size: 0.95rem; white-space: nowrap;
}
.unmute-bar button:hover { background: var(--saffron-deep); }
.unmute-bar button.done { background: var(--temple-blue); }
.unmute-bar span { flex: 1; min-width: 0; }
@media (max-width: 640px) {
  .unmute-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .unmute-bar button { width: 100%; }
}

/* The monks' recording — the narration visitors hear until the videos exist */
.listen {
  margin-top: 1.4rem; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--saffron); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow);
}
.listen-title { font-size: 1.05rem; margin-bottom: 0.8rem; }
.listen-item + .listen-item { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.listen-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--saffron-deep);
  margin-bottom: 0.4rem; font-family: var(--font-en);
}
.listen audio { width: 100%; display: block; }
.listen-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; }

.share-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.share-row .lbl { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }
.share-row a {
  display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none;
  font-size: 0.85rem; font-weight: 700; color: var(--temple-blue-deep);
  border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 0.35rem 0.85rem;
}
.share-row a:hover { background: var(--cream-deep); }

/* ---------- Gallery groups ---------- */
.group-title { display: flex; align-items: center; gap: 0.8rem; margin: 2rem 0 1rem; }
.group-title h2 { font-size: 1.3rem; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 0.8rem; padding: 0.55rem 0; align-items: baseline; }
.contact-list .ico { flex: 0 0 1.6rem; text-align: center; }

form.enquiry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
form.enquiry label { display: block; font-weight: 700; font-size: 0.9rem; margin: 0.9rem 0 0.3rem; }
form.enquiry input, form.enquiry textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--cream);
}
form.enquiry input:focus, form.enquiry textarea:focus { outline: 2px solid var(--saffron); border-color: transparent; }
form.enquiry .privacy { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.8rem; }
form.enquiry .btn-row { margin-top: 1rem; }

/* ---------- News article ---------- */
.article-head img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 21/9; object-fit: cover; width: 100%; margin: 1.2rem 0; }
.article-meta { color: var(--saffron-deep); font-weight: 700; font-size: 0.9rem; font-family: var(--font-en); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cfc2; margin-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 2rem; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { color: #e8b45f; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 0.2rem 0; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1rem 0 1.4rem; font-size: 0.82rem; color: #a89a8a; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible { outline: 3px solid var(--temple-blue); outline-offset: 2px; }

/* ---------- Book gallery (the paintings of the image house) ---------- */
.bk-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.2rem 0 0.4rem; }
.bk-chip {
  display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem;
  padding: 0 0.4rem; border-radius: 999px; text-decoration: none; font-weight: 700;
  font-size: 0.85rem; font-family: var(--font-en);
  background: var(--card); color: var(--temple-blue-deep); border: 1px solid var(--line);
}
.bk-chip:hover { background: var(--cream-deep); }

.bk {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-top: 1.8rem;
  scroll-margin-top: 90px;
}
.bk-media { position: relative; background: #17130e; }
.bk-media img.bk-img {
  width: 100%; max-height: 62vh; object-fit: contain; display: block;
  transition: opacity 0.3s ease;
}
.bk-media img.bk-img.fade { opacity: 0.25; }
.bk-play {
  position: absolute; right: 1rem; bottom: 1rem; width: 3.4rem; height: 3.4rem;
  border-radius: 50%; border: none; cursor: pointer; font-size: 1.25rem;
  background: var(--saffron); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  display: grid; place-items: center; transition: transform 0.12s, background 0.15s;
}
.bk-play:hover { background: var(--saffron-deep); transform: scale(1.06); }
.bk-play.playing { background: var(--temple-blue); }
.bk-body { padding: 1.1rem 1.3rem 1.3rem; }
.bk-num {
  display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.5rem;
  border-radius: 999px; background: var(--cream-deep); border: 1px solid var(--line);
  color: var(--saffron-deep); font-weight: 700; font-size: 0.9rem; font-family: var(--font-en);
  margin-bottom: 0.4rem;
}
.bk h2 { font-size: clamp(1.15rem, 3.4vw, 1.45rem); margin-bottom: 0.35rem; }
.bk-text { color: var(--ink-soft); font-size: 0.97rem; margin: 0.6rem 0 0.9rem; }
.bk-audio { width: 100%; display: block; }
.bk-strip {
  display: flex; gap: 0.45rem; overflow-x: auto; padding: 0.8rem 0 0.2rem;
  -webkit-overflow-scrolling: touch;
}
.bk-thumb {
  flex: 0 0 auto; width: 74px; height: 54px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--line); background: none; cursor: pointer;
}
.bk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-thumb.on { border-color: var(--saffron); }
