

/* EB Garamond vietnamese */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/f25ff695c248.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* EB Garamond latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/bc819489f616.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* EB Garamond latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/3dd70ef0c3f2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* EB Garamond vietnamese */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/42138549b2bf.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* EB Garamond latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/11435f203a2a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* EB Garamond latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/318c441c5d8b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/d83b9a23deb4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/14cbedebefa7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/0e0ce405d69f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/d19d4900858a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/3effa9311007.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Playfair Display latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/891feccf9363.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/a50b218eceed.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/2f08df1456fc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Playfair Display latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/3cb6b7b1979e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/abhidhamma-atelier/assets/fonts/363014d7c907.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --cream: #FAF6F0;
  --paper: #FFFCF7;
  --ink: #2A241E;
  --muted: #6A6056;
  --burgundy: #4A1820;
  --saffron: #B56A1C;
  --gold: #C4A056;
  --forest: #23402C;
  --line: #E6DCCF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FAF6F0;
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}
a { color: var(--burgundy); }
nav.side {
  position: fixed; inset: 0 auto 0 0; width: 240px;
  background: #FAF6F0; color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 28px 18px; overflow: auto;
  font-family: Lato, sans-serif; font-size: 13px;
}
nav.side .brand {
  font-family: "Playfair Display", serif;
  font-size: 18px; color: var(--saffron); line-height: 1.25;
  margin-bottom: 22px;
}
nav.side a {
  display: block; color: #3A2A22; text-decoration: none;
  padding: 6px 8px; border-radius: 6px;
}
nav.side a:hover, nav.side a.active { background: #F3EBE0; color: #4A1820; }
nav.side .tiny { color: var(--saffron); letter-spacing: .12em; font-size: 10px; text-transform: uppercase; margin: 16px 8px 6px; }
main { margin-left: 240px; padding: 0 0 80px; }
.hero {
  background: #FAF6F0; color: var(--ink); min-height: 58vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 64px 48px;
}
.hero .kicker { font-family: Lato, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); font-size: 12px; }
.hero h1 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 48px; margin: 12px 0 0; line-height: 1.05; color: #3A2A22; }
.hero h1 em { font-style: normal; color: var(--saffron); font-size: 32px; display: block; margin-top: 6px; }
.hero p { max-width: 36em; color: var(--muted); }
.banner {
  background: #F3EBE0; border-bottom: 1px solid var(--line);
  padding: 10px 64px; font-family: Lato, sans-serif; font-size: 13px; color: var(--muted);
}
section.mod { padding: 48px 64px; border-top: none; }
section.mod h2.chapter-title { font-family: "Playfair Display", serif; font-weight: 500; font-size: 36px; margin: 0 0 8px; color: var(--burgundy); }
.kicker { font-family: Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); font-size: 12px; font-weight: 700; }
.lead { color: var(--muted); font-style: normal; margin-top: 0; }
.point, .qcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin: 14px 0;
}
.quote {
  position: relative;
  background: #FFF8EC;
  border: 1px solid #E8D7B8;
  border-radius: 16px;
  padding: 22px 26px 16px 36px;
  margin: 18px 0;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px; line-height: 1;
  color: var(--gold);
  opacity: .7;
  pointer-events: none;
}
.quote p { font-style: normal; margin: 0 0 10px; font-size: 1.06em; line-height: 1.45; }
.quote figcaption {
  font-family: Lato, sans-serif; font-size: 13px; color: var(--muted);
  font-style: normal; letter-spacing: .02em;
}


a.book {
  display: inline-block; background: var(--burgundy); color: var(--gold) !important;
  text-decoration: none; font-family: Lato, sans-serif; font-size: 12px;
  letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; margin-left: 8px;
}
a.book:hover { background: #5c2029; }
.qcard h3 { margin: 6px 0 12px; font-size: 22px; font-weight: 500; }
.qlabel { font-family: Lato, sans-serif; color: var(--saffron); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin: 0; }
button.reveal {
  font-family: Lato, sans-serif; font-size: 14px; cursor: pointer;
  background: #F3EBE0; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; color: var(--ink);
}
button.reveal:hover { border-color: var(--saffron); }
.reason { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--forest); color: var(--cream); font-size: 17px; }
.dedicate { text-align: center; background: #FAF6F0; color: var(--ink); padding: 80px 64px; }
.dedicate h2 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 28px; color: #3A2A22; letter-spacing: .16em; }

.points { display: grid; gap: 12px; }
.point { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.point .num { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--saffron); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Lato, sans-serif; font-size: 13px; }
footer.mod { padding: 40px 64px 80px; color: var(--muted); background: #FAF6F0; text-align: center; border-top: none; }
.map { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.map a { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: inherit; }
.map a:hover { border-color: var(--saffron); }
.map b { display: block; font-family: "Playfair Display", serif; color: var(--burgundy); }
.map span { font-size: 15px; color: var(--muted); }
@media (max-width: 980px) {
  nav.side { position: static; width: auto; }
  main { margin-left: 0; }
  .hero, section.mod, .banner, .dedicate, footer.mod { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: 36px; }
}

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  text-align: left; background: #F4EDE3; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; cursor: pointer; display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink);
}
.opt:hover { border-color: var(--saffron); }
.opt b { color: var(--burgundy); min-width: 1.1em; }
.opt.right { background: #DCE8DC; border-color: #3D6B45; }
.opt.wrong { background: #F3D9D6; border-color: #8A3A3A; }
.bookpage {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 36px 24px; margin: 18px 0 28px; scroll-margin-top: 16px;
}
.bookpage .pn {
  font-family: Lato, sans-serif; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--saffron); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.bookpage .pn a { color: var(--burgundy); text-decoration: none; font-size: 12px; letter-spacing: 0; text-transform: none; }
.bookpage p { margin: 0 0 0.85em; line-height: 1.55; overflow-wrap: break-word; hyphens: manual; }
.book-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.book-nav a {
  font-family: Lato, sans-serif; font-size: 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; text-decoration: none; color: var(--ink);
}
.book-nav a:hover { border-color: var(--saffron); }
@media (max-width: 980px) {
  .opts { grid-template-columns: 1fr; }
}


.points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.point h3 { margin: 0 0 6px; font-family: "Playfair Display", serif; font-size: 18px; color: var(--burgundy); font-weight: 500; }
.point .qtext { margin: 0 0 10px; font-style: normal; font-size: 17px; }
@media (max-width: 980px) { .points { grid-template-columns: 1fr; } }




.patthana {
  background: linear-gradient(180deg, #F8F1E6 0%, #F3EBE0 100%);
  border: 1px solid #E4D3BB;
  border-left: 3px solid var(--saffron);
  padding: 14px 18px 14px 16px; margin: 16px 0 8px; border-radius: 12px;
}
.patthana .who {
  font-family: Lato, sans-serif; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--saffron); font-weight: 700; margin: 0 0 6px;
}
.patthana p { margin: 0; font-style: normal; font-size: 18px; }
.patthana .src { font-family: Lato, sans-serif; font-size: 12px; color: var(--muted); font-style: normal; margin-top: 8px; }


.bookpage h2 {
  font-family: "Playfair Display", serif;
  color: var(--burgundy);
  font-size: 1.35rem;
  margin: 0 0 0.75em;
  font-weight: 600;
}
figure.quote {
  position: relative;
  padding: 22px 26px 16px 34px;
  background: #FBF6EC;
  border: 1px solid #E8D9C0;
  border-left: 3px solid var(--gold);
}
figure.quote::before {
  content: "\201C";
  position: absolute;
  left: 8px; top: 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
  opacity: .75;
}
figure.quote p {
  font-style: normal;
  font-size: 1.06em;
  line-height: 1.58;
  margin: 0 0 10px;
}
figure.quote figcaption {
  font-style: normal;
  letter-spacing: .03em;
}
.quote.narada {
  background: #F2F6F1;
  border: 1px solid #D4E0D3;
  border-left: 3px solid var(--forest);
}
.quote.narada::before { color: var(--forest); }
aside.patthana {
  position: relative;
  background: #F2F6F1;
  border: 1px solid #D4E0D3;
  border-left: 3px solid var(--forest);
  padding: 14px 18px 14px 22px;
  margin: 16px 0 8px;
  border-radius: 0 12px 12px 0;
}
.bookpage blockquote {
  position: relative;
  margin: 1.2em 0.2em 1.3em 0;
  padding: .85em 1.25em .9em 2.35em;
  border: none;
  background: #F4EBDA;
  border-radius: 0 14px 14px 0;
  color: #3a322c;
  font-style: normal;
  font-size: 1.03em;
  line-height: 1.55;
}
.bookpage blockquote::before {
  content: "\201C";
  position: absolute;
  left: .45em;
  top: .15em;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2em;
  line-height: 1;
  color: var(--gold);
  font-style: normal;
}
.bookpage blockquote p { margin: 0 0 .45em; font-style: normal; }
.bookpage blockquote p:last-child { margin-bottom: 0; }
.bookpage ul { margin: 0.4em 0 1em 1.2em; padding: 0; }
.bookpage li { margin: 0 0 0.35em; }
.bookpage .blank { color: var(--muted); font-style: normal; }
.bookpage dl.gloss {
  display: grid;
  grid-template-columns: minmax(9em, 32%) 1fr;
  gap: 0.4em 1.25em;
  margin: 0;
}
.bookpage dl.gloss dt {
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--burgundy);
}
.bookpage dl.gloss dd { margin: 0; }
.bookpage .fn {
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--muted);
  padding-top: 0.6em;
  margin-top: 1em;
}
.bookpage .fn p { margin: 0 0 0.4em; }


/* quotations */
.quote {
  position: relative;
  padding: 22px 26px 16px 28px;
}
.quote::before {
  content: "“";
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 0.7;
  color: var(--gold);
  display: block;
  margin: 0 0 8px;
  font-style: normal;
}
.quote p {
  font-style: normal;
  margin: 0 0 10px;
  font-size: 1.05em;
  line-height: 1.45;
  color: #3A2A22;
}
.quote figcaption {
  font-family: Lato, sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  font-style: normal;
}
.quote figcaption::before { content: "— "; color: var(--gold); }

.quote.narada {
  border-left: 3px solid var(--forest);
  background: #f3f6f1;
}
.quote.narada::before { color: var(--forest); }
.quote.narada figcaption { color: var(--forest); }
.quote.narada figcaption::before { color: var(--forest); }

.dedicate blockquote {
  font-style: normal;
  font-size: 22px;
  max-width: 28em;
  margin: 22px auto;
  position: relative;
  padding: 8px 12px;
  line-height: 1.4;
}
.dedicate blockquote::before,
.dedicate blockquote::after {
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  color: var(--gold);
  font-size: 42px;
  line-height: 0;
}
.dedicate blockquote::before { content: "“"; display: block; margin-bottom: 10px; }
.dedicate blockquote::after { content: "”"; display: block; margin-top: 12px; }

.bookpage blockquote {
  margin: 1.15em 0 1.25em;
  padding: 0.35em 0.4em 0.35em 2.6em;
  border-left: none;
  background: transparent;
  position: relative;
  color: #3A2A22;
  font-style: normal;
  line-height: 1.55;
}
.bookpage blockquote::before {
  content: "“";
  position: absolute;
  left: 0.15em;
  top: -0.08em;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.35em;
  line-height: 1;
  color: var(--gold);
  font-style: normal;
}
.bookpage blockquote p {
  margin: 0 0 0.45em;
  font-style: normal;
}
.bookpage blockquote p:last-child { margin-bottom: 0; }

.bookrow { font-family: Lato, sans-serif; font-size: 13px; color: var(--muted); }

.bookpage sup {
  font-size: 0.7em;
  line-height: 0;
  color: var(--saffron);
  font-style: normal;
  font-weight: 700;
  padding-left: 0.08em;
}

#book {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 40px 28px 96px;
}
#book > .kicker { margin-top: 8px; }
#book > h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--burgundy);
  margin: 0 0 10px;
}
#book > .lead { max-width: 36rem; }
.book-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 32px;
}
.book-nav a {
  font-family: Lato, sans-serif;
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
  color: var(--ink);
}
.book-nav a:hover { border-color: var(--saffron); }
.bookpage {
  background: #FFFCF6;
  border: 1px solid #E7D9C4;
  border-radius: 4px;
  box-shadow: 0 1px 0 #f0e6d6, 0 22px 44px -30px rgba(70,45,20,.28);
  padding: 2.15rem 2.35rem 1.8rem;
  margin: 0 0 2.4rem;
  scroll-margin-top: 18px;
  font-size: 1.14rem;
  line-height: 1.74;
}
.bookpage .pn {
  font-family: Lato, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 1.15rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #E8DCC8;
}
.bookpage .pn a {
  color: var(--burgundy);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}
.bookpage .pn .turn { display: flex; gap: 14px; font-weight: 700; }
.bookpage h2 {
  font-family: "Playfair Display", serif;
  color: var(--burgundy);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 .85em;
  line-height: 1.25;
}
.bookpage p {
  margin: 0 0 1em;
  line-height: 1.74;
  overflow-wrap: break-word;
}
.bookpage blockquote {
  position: relative;
  margin: 1.15em 0 1.25em 0;
  padding: .85em 1.2em .85em 1.9em;
  border: none;
  border-left: none;
  background: #F4EDE0;
  border-radius: 0 8px 8px 0;
  color: #3a322c;
}
.bookpage blockquote::before {
  content: "\201C";
  position: absolute;
  left: .45em;
  top: .15em;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65em;
  line-height: 1;
  color: var(--gold);
}
.bookpage blockquote p { margin: 0 0 .5em; font-style: normal; }
.bookpage blockquote p:last-child { margin-bottom: 0; }
.bookpage ul, .bookpage ol.toc {
  margin: .3em 0 1.1em 1.15em;
  padding: 0;
}
.bookpage li { margin: 0 0 .4em; }
.bookpage .blank {
  color: var(--muted);
  font-style: normal;
  text-align: center;
  padding: 3.2rem 1rem;
}
.bookpage dl.gloss {
  display: grid;
  grid-template-columns: minmax(8.5em, 30%) 1fr;
  gap: .55em 1.2em;
  margin: 0;
}
.bookpage dl.gloss > div { display: contents; }
.bookpage dl.gloss dt {
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--burgundy);
}
.bookpage dl.gloss dd { margin: 0; }
.bookpage .fn {
  border-left: none;
  background: transparent;
  border-top: 1px solid #E8DCC8;
  padding-top: .85em;
  margin-top: 1.4em;
  font-size: .92rem;
  color: var(--muted);
}
.bookpage .fn p { margin: 0 0 .4em; }
.bookpage sup {
  font-size: .68em;
  line-height: 0;
  color: var(--saffron);
  font-style: normal;
  font-weight: 700;
  padding-left: .06em;
}
.bookpage .leafno {
  font-family: Lato, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  text-align: center;
  margin: 1.4rem 0 0;
}
.bookpage ul.blist { list-style: none; margin-left: 0; }
.bookpage ul.blist li {
  margin: 0 0 1em;
  padding-left: 0;
}
.bookpage ul.blist li strong {
  display: block;
  font-family: "Playfair Display", serif;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: .2em;
}
ol.toc { list-style: none; margin: 1em 0 0; padding: 0; }
ol.toc li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dotted #E0D4C2;
  padding: .35em 0;
  margin: 0;
}
ol.toc a { text-decoration: none; color: var(--ink); }
ol.toc a:hover { color: var(--burgundy); }
@media (max-width: 720px) {
  #book { padding: 24px 16px 64px; }
  .bookpage { padding: 1.4rem 1.15rem 1.2rem; font-size: 1.05rem; }
}

/* book-pretty */

#book {
  background: #F3EDE3;
  padding-bottom: 40px;
}
#book > .kicker, #book > h1, #book > .lead {
  padding-left: 0;
}
.book-wrap {
  max-width: 42em;
  margin: 0 auto;
}
.bookpage {
  background: #FFFcf6;
  border: 1px solid #E6D8C6;
  border-radius: 4px;
  padding: 40px 48px 36px;
  margin: 0 auto 28px;
  scroll-margin-top: 16px;
  box-shadow: 0 1px 0 rgba(74, 24, 32, 0.04);
}
.bookpage .pn {
  font-family: Lato, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDE3D4;
}
.bookpage .pn a {
  color: var(--burgundy);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.bookpage .turn {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid #EDE3D4;
  font-family: Lato, sans-serif;
  font-size: 13px;
}
.bookpage .turn a { color: var(--burgundy); text-decoration: none; }
.bookpage h2 {
  font-family: "Playfair Display", serif;
  color: var(--burgundy);
  font-size: 28px;
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
}
.bookpage p {
  margin: 0 0 0.95em;
  line-height: 1.62;
  font-size: 20px;
  hyphens: auto;
}
.bookpage blockquote {
  position: relative;
  margin: 1.1em 0 1.2em 0.4em;
  padding: 0.15em 0 0.15em 1.4em;
  border: none;
  border-left: 1px solid var(--gold);
  background: transparent;
  color: #3a322c;
  font-style: normal;
  font-size: 19px;
  line-height: 1.55;
}
.bookpage blockquote::before { content: none; }
.bookpage .fn {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid #EDE3D4;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}
.bookpage .fn p { margin: 0 0 0.45em; font-size: 15px; }
.bookpage .fn sup {
  font-size: 0.75em;
  color: var(--saffron);
  font-weight: 700;
  padding-right: 0.25em;
}
.bookpage ul.blist { margin: 0 0 1em; padding-left: 1.15em; }
.bookpage ul.blist li { margin: 0 0 0.55em; line-height: 1.5; }
dl.gloss { margin: 0; }
dl.gloss > div {
  display: grid;
  grid-template-columns: minmax(8.5em, 30%) 1fr;
  gap: 4px 20px;
  padding: 9px 0;
  border-bottom: 1px solid #EDE3D4;
}
dl.gloss dt {
  font-family: Lato, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy);
  word-break: break-word;
  padding-top: 2px;
}
dl.gloss dd { margin: 0; font-size: 18px; line-height: 1.45; }
ol.toc { padding-left: 1.2em; line-height: 1.7; }
ol.toc li { margin: 0.15em 0; }
.bookpage .note { font-size: 16px; color: var(--muted); }
@media (max-width: 980px) {
  .bookpage { padding: 28px 22px 24px; }
}

/* end-book-pretty */

section#book {
  background: #F3EBE0;
  padding: 56px 20px 80px !important;
}
section#book > .kicker,
section#book > h1,
section#book > .lead,
section#book > .book-nav {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
section#book > h1 { text-align: center; }
section#book > .lead { text-align: center; }
.book-nav {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin: 18px auto 28px;
}
.book-nav a {
  font-family: Lato, sans-serif; font-size: 12px;
  background: #FFFCF7; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; text-decoration: none; color: var(--ink);
}
.book-nav a:hover { border-color: var(--saffron); }
.bookpage {
  max-width: 42rem;
  margin: 26px auto;
  padding: 2.35rem 2.5rem 2.1rem;
  background: #FFFCF7;
  border: 1px solid #E6DCCF;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(42,36,30,.06);
  font-size: 1.05rem;
  line-height: 1.72;
  scroll-margin-top: 12px;
}
.bookpage .pn {
  font-family: Lato, sans-serif; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--saffron); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem; gap: 12px;
}
.bookpage .pn-nav { display: flex; gap: 10px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.bookpage .pn a { color: var(--burgundy); text-decoration: none; font-size: 12px; }
.bookpage .pn a:hover { text-decoration: underline; }
.bookpage h2 {
  font-family: "Playfair Display", serif; font-weight: 500;
  color: var(--burgundy); font-size: 1.55rem; margin: 0 0 1rem; line-height: 1.25;
}
.bookpage p { margin: 0 0 1em; }
.bookpage p:last-child { margin-bottom: 0; }
.bookpage ul.blist {
  list-style: none; padding: 0.15em 0 1em; margin: 0;
}
.bookpage ul.blist li {
  padding: 0.18em 0 0.18em 1.25em; position: relative;
}
.bookpage ul.blist li::before {
  content: "–"; position: absolute; left: 0; color: var(--saffron);
}
.bookpage blockquote {
  margin: 1.15em 0 1.3em;
  padding: 0.2em 0.2em 0.2em 2.4em;
  border: none;
  background: transparent;
  position: relative;
  color: #3A2A22;
  font-style: normal;
  line-height: 1.6;
}
.bookpage blockquote::before {
  content: "“";
  position: absolute; left: 0.1em; top: -0.12em;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2em; line-height: 1; color: var(--gold); font-style: normal;
}
.bookpage blockquote p { margin: 0 0 0.5em; }
.bookpage blockquote p:last-child { margin-bottom: 0; }
.bookpage aside.fn {
  margin-top: 1.6em; padding-top: 0;
  border: none !important; background: transparent;
  font-size: 0.88rem; color: var(--muted); font-style: normal; line-height: 1.5;
}
.bookpage aside.fn p { margin: 0 0 0.45em; }
.bookpage dl.gloss {
  display: grid; grid-template-columns: minmax(8em, 14em) 1fr;
  gap: 0.45em 1.5em; margin: 0.4em 0 0;
}
.bookpage dl.gloss > div { display: contents; }
.bookpage dl.gloss dt { font-style: normal; color: var(--burgundy); margin: 0; }
.bookpage dl.gloss dd { margin: 0 0 0.35em; }
.bookpage.blank { text-align: center; color: var(--muted); min-height: 10rem;
  display: flex; flex-direction: column; justify-content: center; }
.bookpage.blank p { letter-spacing: .04em; font-style: normal; }
.bookpage.front { text-align: center; padding: 3rem 2.4rem 2.6rem; }
.bookpage.front .bk { font-family: Lato, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); font-size: 11px; }
.bookpage.front h1 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 2.1rem; color: var(--burgundy); margin: 8px 0 6px; }
.bookpage.front .sub { font-style: normal; color: var(--muted); margin: 0 0 8px; }
.bookpage.front .by { margin: 0 0 1.2em; }
.bookpage.front .imprint { font-size: 0.88rem; color: var(--muted); max-width: 28em; margin: 0 auto 1.6em; }
.bookpage.front .toc { text-align: left; max-width: 26em; margin: 0 auto; }
.bookpage.front .toc a {
  display: flex; justify-content: space-between; gap: 12px;
  text-decoration: none; color: inherit; padding: 0.35em 0;
  border-bottom: 1px dotted var(--line); font-size: 0.98rem;
}
.bookpage.front .toc a:hover { color: var(--burgundy); }
@media (max-width: 700px) {
  .bookpage { padding: 1.5rem 1.15rem 1.4rem; }
}


@media (max-width: 800px) {
  nav.side { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  main { margin-left: 0; }
  .hero, section.mod, .banner { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 34px; }
}
.bookpage { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 34px; margin: 18px 0 28px; }
.bookpage h2 { font-family: "Playfair Display", serif; font-weight: 500; color: var(--burgundy); margin-top: 0; }
.bookpage p { line-height: 1.65; }
.opt { display: block; width: 100%; text-align: left; margin: 6px 0; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: inherit; }
.opt.right { border-color: var(--forest); background: #E7F0E6; }
.opt.wrong { border-color: #8A3030; background: #F8E8E4; }
.answer { display: none; margin-top: 10px; color: var(--muted); }
.answer.show { display: block; }

.bookpage p.sutta, blockquote.sutta {
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
  color: #4A4038;
  background: #F7F1E6;
  border-left: 2px solid #C4A056;
  margin: 0.4em 0 1em;
  padding: 10px 14px 10px 16px;
  border-radius: 0 8px 8px 0;
}
.bookpage p.sutta::before {
  content: "From the texts";
  display: block;
  font-family: Lato, sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B56A1C;
  margin-bottom: 6px;
}
.why {
  font-size: 16px;
  font-style: normal;
}


.scripture {
  font-size: 15.5px;
  line-height: 1.5;
  font-style: normal;
  color: #4A4036;
  background: #FBF6EE;
  border: none;
  border-left: none;
  margin: 0.75em 0 0.85em 0.2em;
  padding: 0.15em 0.4em 0.35em 1.6em;
  position: relative;
}
.scripture::before {
  content: "“";
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  color: #C4A574;
  position: absolute;
  left: 0;
  top: -2px;
}
.scripture + .scripture { margin-top: 0.35em; }
html.dark .scripture { color: #E8DCC8; background: transparent; }


.bookpage .sutta {
  margin: 0.85em 0;
  padding: 0.55em 0.85em 0.6em 0.95em;
  border-left: 2px solid var(--gold);
  background: #F6F0E4;
  font-size: 16px;
  line-height: 1.5;
  font-style: normal;
  color: #3e342c;
}
.bookpage .sutta .from {
  display: block;
  font-family: Lato, sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.3em;
}

.bookpage p.sutta.cont::before { content: none; margin: 0; }
.bookpage p.sutta.cont { margin-top: -0.55em; border-radius: 0 0 8px 0; }
.bookpage p.sutta:not(.cont) { margin-top: 0.7em; }


blockquote.sutta, p.scripture {
  font-size: 16px;
  line-height: 1.55;
  font-style: normal;
  color: #4A4038;
  background: #F7F1E6;
  border-left: 2px solid #C4A056;
  margin: 0.7em 0 1em;
  padding: 10px 14px 10px 16px;
  border-radius: 0 8px 8px 0;
}
blockquote.sutta .from {
  display: block;
  font-family: Lato, sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B56A1C;
  margin-bottom: 6px;
}


blockquote.sutta + blockquote.sutta { margin-top: -0.55em; border-top-left-radius: 0; }
blockquote.sutta + blockquote.sutta .from { display: none; }


.bookpage blockquote,
.bookpage blockquote p,
.bookpage p.sutta,
.bookpage .sutta,
blockquote.sutta,
blockquote.sutta p,
p.scripture,
.scripture {
  font-style: normal !important;
}


blockquote.sutta, .bookpage .sutta, .sutta, .scripture, p.scripture {
  font-style: normal;
}

/* Preserve the complete, crawlable text while avoiding layout work for off-screen pages. */
.bookpage{content-visibility:auto;contain-intrinsic-size:auto 1100px}
section.mod{content-visibility:auto;contain-intrinsic-size:auto 800px}
section#book{content-visibility:visible;contain-intrinsic-size:none}
:root{--saffron:#99551b}
a.book{color:#fff8e7!important}
.chapter-menu-toggle{display:none;font:700 14px/1.5 Lato,Arial,sans-serif;border:1px solid #9f9381;background:#f3ebe0;color:#3a2a22;padding:12px 16px;border-radius:3px}
.skip-to-book{position:absolute;left:-9999px;top:8px;background:#faf6f0;color:#4a1820;padding:12px;z-index:100}
.skip-to-book:focus{left:12px}
a:focus-visible,button:focus-visible{outline:2px solid #4a1820;outline-offset:3px}
@media(max-width:980px){nav.side{padding:18px 22px}nav.side .brand{margin-bottom:12px}nav.side .chapter-menu-toggle{display:block;width:100%}nav.side[data-menu-ready] a:not(.at-site-home-link),nav.side[data-menu-ready] .tiny{display:none}nav.side[data-menu-ready].menu-open a,nav.side[data-menu-ready].menu-open .tiny{display:block}nav.side a{min-height:44px} .hero{min-height:360px;padding-top:38px;padding-bottom:38px}.bookpage{padding:24px 20px}main{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

