
:root{--ink:#2f2a25;--blue:#153f5b;--gold:#b67811;--paper:#f6f0e5;--card:#fffaf1;--muted:#6d6257;--line:#dcc9aa}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--paper);color:var(--ink);line-height:1.45}
header{padding:34px 20px 18px;text-align:center}
header h1{margin:0;color:var(--blue);font-size:clamp(30px,5vw,54px)}
header p{margin:8px auto 0;max-width:820px;color:var(--muted);font-size:clamp(16px,2.4vw,21px)}
.wrap{max-width:1180px;margin:auto;padding:0 18px 50px}
.language-title{text-align:center;margin:16px 0 18px;color:var(--gold);font-weight:700;letter-spacing:.04em}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.book-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 8px 22px rgba(50,40,20,.08);display:flex;flex-direction:column;align-items:center;text-align:center}
.cover{width:100%;height:auto;aspect-ratio:630/893;object-fit:contain;object-position:top;border-radius:10px;box-shadow:0 7px 18px rgba(0,0,0,.16);background:#ddd}
.flag{font-size:26px;margin-top:13px}
.book-card h2{font-size:20px;margin:6px 0 2px;color:var(--blue)}
.book-card small{color:var(--muted);min-height:42px}
.btn{display:inline-block;text-decoration:none;background:var(--blue);color:white;padding:11px 16px;border-radius:999px;font-weight:700;margin-top:13px}
.btn.secondary{background:transparent;border:1px solid var(--blue);color:var(--blue)}
.section{margin-top:36px;padding:24px;background:rgba(255,255,255,.48);border-radius:20px;border:1px solid var(--line)}
.section h3{margin:0 0 8px;color:var(--blue);font-size:25px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.note{text-align:center;color:var(--muted);margin:28px auto 0;max-width:820px}
footer{text-align:center;padding:24px;color:var(--muted);font-size:14px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){header{padding-top:24px}.grid{gap:12px}.book-card{padding:10px}.book-card h2{font-size:17px}.book-card small{font-size:14px;min-height:52px}.btn{font-size:14px;padding:10px 12px}}
a:focus-visible{outline:3px solid #b67811;outline-offset:4px} html{scroll-behavior:smooth} .book-card small{font-size:14px} @media(max-width:390px){.grid{grid-template-columns:1fr}.cover{max-width:260px}} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.section h4{font-size:1.1rem;color:var(--blue);margin:24px 0 8px}
.marco-photo{margin:18px 0 22px;max-width:260px}.marco-photo img{display:block;width:100%;height:auto;border-radius:10px}.marco-photo figcaption{margin-top:8px;color:var(--muted);font-size:16px}
button.btn{font:inherit;font-weight:700;cursor:pointer}button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.share-status:empty{display:none}
.reading-help{font-size:1rem;line-height:1.5;text-align:left;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:10px;max-width:100%;overflow-wrap:anywhere}.reading-help summary{cursor:pointer;color:var(--blue);font-weight:600}.reading-help p{margin:8px 0 0}.reading-help strong{color:var(--blue)}
.direct-order{margin-top:24px;padding-top:8px;border-top:1px solid var(--line)}
.foreword-video{margin:24px 0}.foreword-video video,.foreword-video iframe{display:block;width:100%;max-width:760px;aspect-ratio:16/9;height:auto;border:0;border-radius:12px;background:#000}.foreword-video p{max-width:760px}
html{scroll-behavior:smooth}.foreword-video{scroll-margin-top:20px}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.language-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:680px;margin:20px auto 0}.language-picker a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid var(--blue);border-radius:999px;color:var(--blue);font-size:16px;font-weight:700;text-decoration:none;background:var(--card)}.book-card{scroll-margin-top:16px}@media(max-width:520px){.language-picker{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px}header{padding:18px 18px 12px}header h1{font-size:26px;line-height:1.2}.language-title{font-size:12px;line-height:1.35;letter-spacing:.02em;margin:6px 0 10px}}
.life-film{margin:18px 0 28px}.life-film h2{margin:0;color:var(--blue);font-size:clamp(23px,4vw,32px)}.life-film video,.life-film iframe{max-width:100%;aspect-ratio:16/9;object-fit:contain}.life-film .film-note{color:var(--muted);font-size:1rem}.life-film nav .btn[aria-current="true"]{background:var(--blue);color:white}

.youtube-discover{margin:24px 0;padding:22px;background:#fffaf0;border:1px solid #d3ba79;border-radius:20px}.youtube-discover h3{margin:0 0 10px;color:var(--blue);font-size:1.3rem}.youtube-discover p{margin:0 0 16px}.youtube-discover .youtube-channel{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;white-space:normal;background:var(--blue);color:#fff;border:1px solid var(--blue);box-shadow:0 4px 12px #153e5520}.youtube-channel:hover{background:#24576f}.youtube-channel:focus-visible{outline:3px solid #c7a855;outline-offset:4px}.youtube-icon{display:inline-flex;flex:0 0 38px;align-items:center;justify-content:center;height:27px;background:#ff0033;border-radius:8px;color:#fff;font-size:17px}.youtube-discover small{display:block;margin-top:10px;color:var(--muted);font-size:.85rem}
.playlist-links{margin-top:20px;border-top:1px solid #dbcda9;padding-top:15px}.playlist-links p{font-size:1rem;margin:0 0 8px}.playlist-link{display:block;background:none;border:0;color:var(--blue);font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:9px 0;text-align:left}#playlist-dialog{width:min(900px,94vw);max-height:90dvh;padding:18px;border:1px solid #d3ba79;border-radius:20px;background:#fffaf0;box-sizing:border-box}#playlist-dialog::backdrop{background:#000b}.playlist-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.playlist-top h2{font-size:1.25rem;color:#153e55}.playlist-top button{font:inherit;padding:10px;border:1px solid #d3ba79;border-radius:20px;background:white;cursor:pointer}#playlist-player{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;margin:12px 0}#playlist-fallback{color:#153e55;font-size:.9rem}.playlist-top{flex-wrap:wrap}.playlist-top h2{flex:1;margin-right:auto}#playlist-expand{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex-shrink:0}#playlist-dialog.expanded,#playlist-dialog:fullscreen{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:12px;display:flex;flex-direction:column}#playlist-dialog.expanded #playlist-player,#playlist-dialog:fullscreen #playlist-player{flex:1;min-height:0;aspect-ratio:auto;background:#000}#playlist-expand:focus-visible{outline:3px solid #c7a855;outline-offset:3px}.playlist-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:8px 0}.playlist-controls button,#playlist-list button{font:inherit;color:#153e55;border:1px solid #d3ba79;background:#fffaf0;border-radius:16px;padding:10px;cursor:pointer}.playlist-controls button:disabled{opacity:.45;cursor:default}#playlist-list{flex-shrink:0;max-height:25dvh;overflow:auto;margin:8px 0}#playlist-list[hidden]{display:none}#playlist-list button{display:block;width:100%;text-align:left;margin:5px 0}#playlist-list button[aria-current="true"]{background:#153e55;color:white}#playlist-position{margin:4px 0;text-align:center;font-size:.9rem;color:#153e55}#playlist-dialog.expanded #playlist-player{min-height:200px}
/* Warm gold tones from the book cover. */
#playlist-dialog{background:linear-gradient(145deg,#faf3e4 0%,#eddfb8 48%,#cbb779 100%);border-color:#b89a51;box-shadow:0 12px 40px #392e2340}
#playlist-dialog::backdrop{background:rgba(51,43,28,.70)}
#playlist-dialog .playlist-top button,#playlist-dialog .playlist-controls button,#playlist-dialog #playlist-list button{background:#fcf6e7;border-color:#b89a51;color:#153e55}
#playlist-dialog #playlist-list button[aria-current="true"]{background:#153e55;color:#fff}
#playlist-dialog #playlist-fallback,#playlist-dialog .playlist-top h2,#playlist-dialog #playlist-position{color:#153e55}

.mobile-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px auto 0;max-width:760px}
.section .mobile-actions{justify-content:flex-start;margin:12px 0 18px}
.mobile-actions .btn{font-size:1rem;min-height:46px;margin:0;white-space:normal;text-align:center}
.mobile-actions-status{flex-basis:100%;margin:0;font-size:1rem;overflow-wrap:anywhere}
.mobile-actions-status:empty{display:none}
.home-help{color:#2f2a25;background:transparent;border:1px solid #dcc9aa;border-radius:12px;padding:12px 16px;max-width:520px;margin:20px auto 0;text-align:left;font:1rem/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.home-help summary{cursor:pointer;color:#153f5b;font-weight:600;min-height:32px;overflow-wrap:anywhere}
.home-help ol{padding-left:24px}.home-help li{margin:10px 0}.home-help p{margin:12px 0}
@media(max-width:520px){.mobile-actions{padding:0 12px}.section .mobile-actions{padding:0}.mobile-actions .btn{flex:1 1 180px}.home-help{padding:20px}}


.share-link{width:100%;max-width:100%;font:inherit;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}
.share-link[hidden]{display:none}
.book-card .mobile-actions{width:100%;padding:0}

.grid{grid-template-columns:minmax(0,480px);justify-content:center}.language-return{position:fixed;top:max(10px,env(safe-area-inset-top));left:12px;z-index:30}.language-return a{display:block;background:var(--card);color:var(--blue);border:1px solid var(--line);border-radius:999px;padding:8px 12px;text-decoration:none;font-size:14px;box-shadow:0 2px 8px #0001}header{padding-top:64px}
/* One reading column keeps films and their text in the same proportions. */
html{scroll-padding-top:72px}
body{overflow-wrap:break-word}
.wrap{max-width:800px}
.wrap>.section{width:100%;margin-left:auto;margin-right:auto}
.foreword-video video,.foreword-video iframe,.life-film video,.life-film iframe{width:100%;max-width:100%;aspect-ratio:16/9;object-fit:contain}
.foreword-video p{max-width:100%}
.marco-photo{margin:24px auto;max-width:260px;text-align:center}
.marco-photo img{height:auto;object-fit:contain}
.language-return{position:static;top:auto;left:auto;z-index:30;padding:8px 12px;background:var(--paper);border-bottom:1px solid var(--line)}
.language-return a{display:inline-flex;align-items:center;min-height:36px;font-size:14px;padding:6px 12px}
header{padding-top:24px}
.book-card,.section,.foreword-video,.presentation-guide{scroll-margin-top:72px}
@media(min-width:600px){
 .grid{grid-template-columns:minmax(0,1fr)}
 .book-card{padding:24px}
 .book-card .cover{max-width:340px}
 .book-card>.btn,.book-card>.reading-help,.book-card>.mobile-actions{width:100%;max-width:520px}
 .section{padding:28px}
 .section p,.section li{font-size:18px;line-height:1.6}
}

/* Keep the four-book overview, with the same reading width underneath. */
.multilingual .wrap{max-width:1180px}
.multilingual .wrap>.section{max-width:764px}
@media(min-width:600px){
 .multilingual .grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:764px;margin-inline:auto}
 .multilingual .book-card{padding:14px}
 .multilingual .book-card .cover{max-width:100%}
 .multilingual .book-card>.btn,.multilingual .book-card>.reading-help,.multilingual .book-card>.mobile-actions{width:auto}
}
@media(min-width:1200px){.multilingual .grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%}}

.multilingual-choice{max-width:600px;margin:20px auto 0}.multilingual-choice p{font-size:14px}.multilingual-choice .mobile-actions{justify-content:center}

.multilingual-choice{max-width:764px;margin:32px auto 0;padding:16px 0;border-top:1px solid var(--line);text-align:center;font-size:14px}.multilingual-choice summary{cursor:pointer;color:var(--muted);font-size:14px}.multilingual-choice .btn{font-size:14px;padding:8px 12px}.multilingual-choice[open] summary{margin-bottom:12px}

body:not(.multilingual) main.wrap{padding-top:18px}

/* Compact language navigation on every book version. */
.language-return.language-switcher{display:flex;align-items:center;gap:6px;padding:8px max(8px,env(safe-area-inset-left));}
.language-return.language-switcher a{display:flex;flex-direction:column;justify-content:center;gap:1px;min-height:44px;padding:4px 9px;font-size:12px;line-height:1.2;box-shadow:none;white-space:nowrap;}
.language-return.language-switcher a[aria-current="page"]{border:2px solid var(--gold);background:#f4e8cd;}
.language-flag{font-size:21px;line-height:1.1}
.language-return.language-switcher .language-home{font-size:28px;padding:4px 10px;}
@media(max-width:380px){.language-return.language-switcher{gap:4px}.language-return.language-switcher a{padding:4px 6px;font-size:11px}.language-return.language-switcher .language-home{padding:4px 8px}}

.book-card>.btn.read-book-link{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:48px;box-sizing:border-box;white-space:normal}
.read-book-hint{color:var(--muted);font-size:14px;line-height:1.5;margin:8px auto 2px;max-width:520px;text-align:center}
.book-card>.read-book-hint{width:100%;max-width:none}
@media(max-width:390px){.book-card>.btn.read-book-link,.book-card>.read-book-hint{max-width:260px}}
@media(min-width:600px){body:not(.multilingual) .book-card>.btn.read-book-link,body:not(.multilingual) .book-card>.read-book-hint{max-width:340px}}

.more-info-hint{color:var(--muted);font-size:14px;line-height:1.55;margin:10px auto 0;max-width:520px;text-align:center}

.book-card>.btn.more-info-link{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;box-sizing:border-box;min-height:48px;padding:14px 18px;white-space:normal;line-height:1.4;text-align:center}

/* Fit the available window; reflow automatically when the tablet rotates. */
.book-opening,.book-primary{width:100%;min-width:0}
.book-opening{max-width:340px;margin-inline:auto}
.book-opening .cover{display:block;width:100%;height:auto;margin-inline:auto}
.book-opening .cover-toggle,.book-primary>.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;white-space:normal;line-height:1.4}
.book-primary{max-width:340px;margin-inline:auto}
.book-primary .read-book-hint{width:100%;max-width:none;font-size:16px}
.language-return.language-switcher{justify-content:center;flex-wrap:wrap}
body:not(.multilingual) .grid{grid-template-columns:minmax(0,1fr)}
@media(min-width:700px) and (orientation:landscape){
 body:not(.multilingual) .wrap{max-width:980px}
 body:not(.multilingual) .book-card{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);align-items:start;gap:16px 28px}
 .book-opening{grid-column:1;grid-row:1;margin:0 auto}
 .book-primary{grid-column:2;grid-row:1;max-width:none;align-self:center}
 body:not(.multilingual) .book-card> :not(.book-opening):not(.book-primary){grid-column:1 / -1;justify-self:center;max-width:100%}
 .book-opening .cover{max-height:calc(100svh - 190px);object-fit:contain;aspect-ratio:auto}
 .book-primary>.btn:first-child{margin-top:0}
}

/* Introduce the story just below the cover, before the reading actions. */
.book-card>.book-foreword{width:100%;max-width:340px;margin:20px auto}
.book-foreword h4{margin:0 0 10px;font-size:21px;line-height:1.35}
.book-foreword p{font-size:16px;line-height:1.5}
@media(min-width:700px) and (orientation:landscape){
 body:not(.multilingual) .book-card>.book-opening{grid-row:1 / 3}
 body:not(.multilingual) .book-card>.book-foreword{grid-column:2;grid-row:1;max-width:none;margin:0}
 body:not(.multilingual) .book-card>.book-primary{grid-column:2;grid-row:2;align-self:start}
}

/* Consistent centered controls for reading, contact, sharing and playlists. */
body:not(.multilingual) .section .actions,
body:not(.multilingual) .section .patent-actions,
body:not(.multilingual) .section .mobile-actions{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:none;margin:16px auto;padding:0}
body:not(.multilingual) .section .actions>.btn,
body:not(.multilingual) .section .patent-actions>a,
body:not(.multilingual) .section .mobile-actions>.btn,
body:not(.multilingual) .section .playlist-link,
body:not(.multilingual) .section>.topic-share,
body:not(.multilingual) .book-options>.btn,
body:not(.multilingual) .book-options .book-primary>.btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;width:100%;max-width:340px;min-height:48px;margin:10px auto;padding:12px 18px;border:1px solid var(--blue);border-radius:999px;text-align:center;white-space:normal;line-height:1.4;text-decoration:none;font:inherit;font-weight:700}
body:not(.multilingual) .section .playlist-link{background:var(--card);color:var(--blue);cursor:pointer}
#inventions-extra>h2,#spirituality>h2,#book-story-title{color:var(--blue);font-size:clamp(23px,4vw,30px);line-height:1.35}
.topic-share-status{text-align:center;overflow-wrap:anywhere}.topic-share-status:empty{display:none}

/* The opening stays in normal flow in landscape: cover, text, then video. */
@media(min-width:700px) and (orientation:landscape){
 body:not(.multilingual) .book-card{display:block}
 body:not(.multilingual) .book-card>.book-opening{margin:0 auto;max-width:340px}
 body:not(.multilingual) .book-card>.book-foreword{width:100%;max-width:600px;margin:24px auto 0}
 body:not(.multilingual) .book-foreword video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
}
.book-options>.more-info-hint{max-width:600px;margin:12px auto;text-align:center}
.book-options>.more-info-link{display:flex;align-items:center;justify-content:center;width:100%;max-width:340px;margin:16px auto;text-align:center}
.youtube-discover>h3,.youtube-discover>p,.youtube-discover>small,.youtube-discover .playlist-links>p:first-child{text-align:center}
.youtube-discover>small{display:block}
.youtube-discover>.youtube-channel{display:flex;align-items:center;justify-content:center;width:100%;max-width:340px;margin:16px auto;text-align:center}
.film-preview img{object-fit:contain}

/* Keep every language-page action centered, including standalone order links. */
body:not(.multilingual) main.wrap .btn{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 width:100%;max-width:340px;min-height:48px;margin:12px auto;
 text-align:center;white-space:normal;line-height:1.4;
}
body:not(.multilingual) main.wrap h2,
body:not(.multilingual) main.wrap h3,
body:not(.multilingual) main.wrap h4,
body:not(.multilingual) main.wrap details>summary{text-align:center}

/* A full, distinct portrait for the life film; the website guide is at ACLI. */
body:not(.multilingual) .life-film .film-preview{background:var(--card)}
body:not(.multilingual) .life-film .film-preview img{width:auto;max-width:100%;height:auto;max-height:420px;margin:0 auto}

/* Preserve the complete family photograph and localize its caption. */
body:not(.multilingual) .life-film .family-film-image{aspect-ratio:2048/1016;overflow:hidden}
body:not(.multilingual) .life-film .family-film-image img{display:block;width:100%;max-width:none;max-height:none;height:auto;margin:0}
body:not(.multilingual) .life-film .family-film-caption{margin:0;padding:12px 16px;background:#243131;color:#fff;font-size:14px;line-height:1.5;text-align:center}

.patent-documents{margin:12px 0 22px;padding:18px;border:1px solid #b89a51;border-radius:16px;background:#fff8e9;text-align:left}.patent-documents h3{margin:0 0 10px;color:#153e55;font-size:1.15rem}.patent-documents p{line-height:1.55!important}.patent-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.patent-actions a{display:inline-block;padding:11px 14px;border-radius:12px;background:#153e55;color:white;text-decoration:none;line-height:1.4}.patent-actions a[download]{background:#fff;border:1px solid #b89a51;color:#153e55}.patent-documents .patent-note{font-size:.9rem!important}
.film-launch{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;border:1px solid #b89a51;border-radius:12px;background:linear-gradient(135deg,#153f5b,#284e62);color:#fff8e9;font:700 clamp(18px,4vw,26px) system-ui;cursor:pointer}.film-launch:focus-visible{outline:3px solid #b67811;outline-offset:4px}
.film-launch{position:relative;overflow:hidden;padding:0}.film-launch img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.film-launch span{position:relative;z-index:1;max-width:90%;padding:12px 20px;border-radius:999px;background:rgba(21,63,91,.9);color:white;box-shadow:0 2px 12px #0005}
.film-preview{width:100%;overflow:hidden;border:1px solid #b89a51;border-radius:12px;background:#000}.film-preview img{display:block;position:static;width:100%;height:auto}.life-film .film-launch{display:flex;position:static;width:100%;max-width:340px;min-height:48px;aspect-ratio:auto;margin:16px auto;padding:12px 18px;border-radius:999px;background:var(--blue);color:white;font:inherit;font-weight:700}.presentation-access{max-width:764px;margin:28px auto;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.presentation-access summary{cursor:pointer;color:var(--blue);font-weight:700;min-height:36px}.presentation-access .actions{display:flex;flex-direction:column;align-items:center;gap:10px}.presentation-access .btn{display:flex;align-items:center;justify-content:center;width:100%;max-width:340px;min-height:48px;text-align:center;white-space:normal}.presentation-access p{font-size:14px;color:var(--muted)}
.pyramid-history{margin:24px 0;padding:20px 0;border-top:1px solid #d9c9a7;border-bottom:1px solid #d9c9a7}.pyramid-history h3{text-align:center;line-height:1.35}.pyramid-history figure{margin:18px auto;max-width:900px}.pyramid-history img{display:block;width:100%;height:auto;border-radius:14px}.pyramid-history figcaption{text-align:center;font-size:.9em;margin-top:8px;color:#665a48}.pyramid-history p{text-align:left!important;line-height:1.65;max-width:900px;margin:16px auto;overflow-wrap:break-word}@media(max-width:600px){.pyramid-history p{font-size:18px}}
main.wrap{padding-bottom:0}.presentation-access{margin-bottom:0}body>footer{padding:16px 24px 0}body>.multilingual-choice{margin:16px auto 0;padding:16px 18px}.multilingual-choice .visit-thanks{margin-top:0}footer .home-help{margin-top:12px}
.construction-audience>.btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:520px;margin:16px auto;min-height:48px;padding:12px 18px;border:1px solid #b89a51;border-radius:24px;background:#fff8e9;color:#153f5b;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.4;text-decoration:none;font:inherit;font-weight:600}
.xl-edition{margin:24px auto;padding:20px 16px;width:100%;max-width:620px;box-sizing:border-box;border:1px solid #d9c9a7;border-radius:16px;background:#fff8e9;text-align:center}.xl-edition h3{color:var(--blue);line-height:1.35;margin:0 0 12px}.xl-edition p{line-height:1.6}.xl-edition .btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:340px;min-height:48px;margin:12px auto;text-align:center;white-space:normal}
.dai-brand{display:flex;justify-content:center;margin:0 auto 22px}.dai-brand img{display:block;width:min(100%,540px);height:auto;border-radius:16px;box-shadow:0 0 16px rgba(23,23,23,.16)}.dai-share{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;max-width:340px;min-height:58px;margin:16px auto!important;padding:12px 18px!important;background:linear-gradient(180deg,#62615b 0%,#555650 50%,#4d4e49 100%)!important;box-shadow:inset 0 1px 0 #ffffff30,0 3px 8px #2f2a2510;color:#fff!important;border:1px solid #ba9b52!important;border-radius:16px!important;font-weight:600;white-space:normal;line-height:1.35;box-sizing:border-box}.dai-share img{width:42px;height:42px;border-radius:9px;flex:none}.dai-share svg{width:23px;height:23px;flex:none}.dai-share:focus-visible{outline:3px solid #b67811;outline-offset:4px}.dai-share:hover{background:linear-gradient(180deg,#595a54,#494b45)!important}.topic-share-status{text-align:center;overflow-wrap:anywhere}#inventions-extra{scroll-margin-top:75px}

.dai-pizza-note{margin:22px auto;padding:22px;border:1px solid #c6ae79;border-radius:18px;background:#fff8e9;max-width:720px;text-align:left}.dai-pizza-note h3{margin:4px 0 12px;color:#153e55;font-size:1.25rem}.dai-pizza-note p{line-height:1.55;margin:10px 0}.dai-pizza-note .dai-pizza-kicker{font-size:.85rem;color:#766038;margin:0}.dai-pizza-note strong{color:#153e55}

/* Fullscreen video stays full size while its controls fade above it. */
#playlist-reveal{display:none}
#playlist-dialog.expanded{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#000;overflow:hidden;display:block}
#playlist-dialog.expanded #playlist-player{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;margin:0;border:0;border-radius:0;background:#000}
#playlist-dialog.expanded .playlist-top{position:absolute;top:0;right:0;z-index:3;display:flex;justify-content:flex-end;gap:8px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 4px 8px}
#playlist-dialog.expanded .playlist-top h2{display:none}
#playlist-dialog.expanded .playlist-controls{position:absolute;left:0;right:0;bottom:calc(30px + env(safe-area-inset-bottom));z-index:3;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0;padding:8px;background:linear-gradient(transparent,#0009)}
#playlist-dialog.expanded .playlist-top button,#playlist-dialog.expanded .playlist-controls button,#playlist-dialog.expanded #playlist-list button{background:#000b;border-color:#fff8;color:#fff;min-height:44px}
#playlist-dialog.expanded #playlist-position{position:absolute;bottom:0;left:0;right:0;z-index:3;display:block;color:#fff;margin:0;padding:4px 8px max(8px,env(safe-area-inset-bottom));background:#0009}
#playlist-dialog.expanded #playlist-list:not([hidden]){position:absolute;left:8px;right:8px;bottom:calc(110px + env(safe-area-inset-bottom));z-index:4;display:block;max-height:45dvh;overflow:auto;margin:0;padding:8px;background:#000e;border-radius:12px}
#playlist-dialog.expanded #playlist-list[hidden]{display:none}
#playlist-dialog.expanded #playlist-list button[aria-current="true"]{background:#fff;color:#153e55}
#playlist-dialog.expanded .playlist-top,#playlist-dialog.expanded .playlist-controls,#playlist-dialog.expanded #playlist-position{transition:opacity .25s}
#playlist-dialog.expanded.controls-hidden .playlist-top,#playlist-dialog.expanded.controls-hidden .playlist-controls,#playlist-dialog.expanded.controls-hidden #playlist-position{opacity:0;visibility:hidden;pointer-events:none}
#playlist-dialog.expanded.controls-hidden #playlist-reveal{display:block;position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
@media(max-height:500px){#playlist-dialog.expanded .playlist-controls button{padding:6px 10px}#playlist-dialog.expanded #playlist-position{font-size:12px}}
@media(prefers-reduced-motion:reduce){#playlist-dialog.expanded .playlist-top,#playlist-dialog.expanded .playlist-controls,#playlist-dialog.expanded #playlist-position{transition:none}}

/* Follow the device viewport in both portrait and landscape. */
@media(orientation:portrait){
#playlist-dialog.expanded{inset:auto;left:50%;top:50%;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;transform:translate(-50%,-50%);transform-origin:center}
#playlist-dialog.expanded .playlist-top{padding:8px}
#playlist-dialog.expanded .playlist-controls{bottom:30px}
#playlist-dialog.expanded #playlist-position{padding-bottom:8px}
#playlist-dialog.expanded #playlist-list:not([hidden]){bottom:110px;max-height:45vw}
}

/* Borderless playlist video, including native fullscreen dialog rendering. */
#playlist-dialog{border:0;padding:0;overflow:hidden}
#playlist-dialog::backdrop{background:#f5ecd5}
#playlist-dialog .playlist-top{padding:12px 18px}
#playlist-dialog #playlist-player{display:block;border:0;border-radius:0;margin:0;background:#000}
#playlist-dialog:fullscreen,#playlist-dialog:-webkit-full-screen{background:#000;border:0;border-radius:0;padding:0;box-shadow:none}
#playlist-dialog.expanded{box-shadow:none}
#playlist-dialog.expanded #playlist-player{margin:0;border:0;border-radius:0}

/* Keep the thumbnail grid reachable inside short mobile dialog viewports. */
#playlist-dialog:not(.expanded){overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;max-height:90dvh;scroll-behavior:auto}
#playlist-dialog #playlist-list:not([hidden]){min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}
#playlist-dialog #playlist-list .playlist-thumbnail{touch-action:pan-y}

/* Spiritual films use a quiet sky-blue palette. */
#playlist-dialog[data-theme="heavenly"]{background:linear-gradient(145deg,#f5fbff 0%,#dceffb 48%,#b8dcef 100%);border-color:#7daec9;box-shadow:0 12px 40px #305b742e}
#playlist-dialog[data-theme="heavenly"]::backdrop{background:#e9f4fb}
#playlist-dialog[data-theme="heavenly"] .playlist-top{background:linear-gradient(145deg,#f5fbff,#dceffb)}
#playlist-dialog[data-theme="heavenly"] .playlist-top button,#playlist-dialog[data-theme="heavenly"] .playlist-controls button,#playlist-dialog[data-theme="heavenly"] #playlist-list button{background:#f4fbff;border-color:#7daec9;color:#17445e}
#playlist-dialog[data-theme="heavenly"] #playlist-list button[aria-current="true"]{background:#346b8b;color:#fff;border-color:#91c3df}
#playlist-dialog[data-theme="heavenly"] .playlist-top h2,#playlist-dialog[data-theme="heavenly"] #playlist-position{color:#17445e}
#playlist-dialog[data-theme="heavenly"].expanded .playlist-controls,#playlist-dialog[data-theme="heavenly"].expanded #playlist-position,#playlist-dialog[data-theme="heavenly"].expanded #playlist-list:not([hidden]){background:#e3f2fbeF}
#spirituality .playlist-links{padding:20px;border:1px solid #9bc2d9;border-radius:18px;background:linear-gradient(145deg,#f5fbff,#dceffb);color:#17445e}
#spirituality .playlist-links button.playlist-link{background:linear-gradient(180deg,#d5edfc,#a5cee7)!important;background-image:linear-gradient(180deg,#d5edfc,#a5cee7)!important;border:1px solid #7daec9!important;color:#17445e!important;box-shadow:inset 0 1px 0 #ffffffa0,0 3px 8px #305b741c!important}
#spirituality .playlist-links .topic-share{background:#f4fbff!important;border-color:#7daec9!important;color:#17445e!important}

/* Gold frames and breathing room around the spiritual films. */
#spirituality .playlist-links{border:1px solid #b89a51}
#spirituality .playlist-links .playlist-description{margin-top:22px;margin-bottom:0;line-height:1.6}
#spirituality .playlist-links .playlist-description + .playlist-description{margin-top:16px}
#playlist-dialog[data-theme="heavenly"]{border:1px solid #b89a51}
#playlist-dialog[data-theme="heavenly"].expanded{border:0}

/* Life and spiritual collections open like the integral book film. */
#playlist-dialog.bookfilm-style.expanded{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;margin:0;padding:0;background:#decead;border:0;border-radius:0}
#playlist-dialog.bookfilm-style::backdrop{background:#decead}
#playlist-dialog.bookfilm-style.expanded .playlist-top{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));padding:0;background:transparent}
#playlist-dialog.bookfilm-style.expanded #playlist-expand{display:none}
#playlist-dialog.bookfilm-style.expanded #playlist-close{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#302b2566;color:#fff;font:400 30px/1 system-ui;box-shadow:none}
#playlist-dialog.bookfilm-style.expanded #playlist-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
#playlist-dialog.bookfilm-style.expanded .playlist-controls,#playlist-dialog.bookfilm-style.expanded #playlist-position,#playlist-dialog.bookfilm-style.expanded #playlist-list:not([hidden]){background:#deceadef;color:#584123}
#playlist-dialog.bookfilm-style.expanded .playlist-controls button,#playlist-dialog.bookfilm-style.expanded #playlist-list button{background:#f7f0e3;border:1px solid #b89a51;color:#584123;box-shadow:none}
#playlist-dialog.bookfilm-style.expanded #playlist-list button[aria-current=true]{background:#584123;color:#fff}
@media(orientation:portrait){#playlist-dialog.bookfilm-style.expanded{width:100vw;height:100dvh;transform:translate(-50%,-50%);transform-origin:center}#playlist-dialog.bookfilm-style.expanded .playlist-top{top:10px;right:10px}}

#playlist-dialog:not([open]){display:none!important}
#playlist-dialog.bookfilm-style.expanded #playlist-player{background:#decead}

/* Keep selection and playback upright. */
#playlist-dialog.bookfilm-style:not(.expanded){width:min(940px,96vw);max-width:96vw;max-height:90dvh;transform:none;background:#decead;border:0;border-radius:14px}
#playlist-dialog.bookfilm-style:not(.expanded) .playlist-top{display:flex;align-items:center;gap:12px;background:transparent}
#playlist-dialog.bookfilm-style:not(.expanded) .playlist-top h2{flex:1;margin:0;color:#584123}
#playlist-dialog.bookfilm-style:not(.expanded) #playlist-player{display:none}
#playlist-dialog.bookfilm-style:not(.expanded) #playlist-list:not([hidden]){max-height:65dvh;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));background:#decead;overflow:auto}
#playlist-dialog.bookfilm-style #playlist-expand{display:none}
#playlist-dialog.bookfilm-style #playlist-close{display:grid;place-items:center;flex:none;box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#302b2566;color:#fff;font:400 30px/1 system-ui;box-shadow:none}
#playlist-dialog.bookfilm-style:not(.expanded) .playlist-controls,#playlist-dialog.bookfilm-style:not(.expanded) #playlist-position{margin:0;padding:8px 12px;color:#584123;text-align:center}

/* Keep complete video frames visible in either device orientation. */
#playlist-dialog.expanded #playlist-player{object-fit:contain}

/* Return to the collection while keeping the website close button separate. */
#playlist-dialog #playlist-back-to-videos{display:none}
#playlist-dialog.expanded #playlist-back-to-videos:not([hidden]){display:grid;place-items:center;flex:none;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#302b2566;color:#fff;font:400 30px/1 system-ui;box-shadow:none;cursor:pointer;touch-action:manipulation}
#playlist-dialog #playlist-back-to-videos:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Make watching the primary action; sharing stays underneath. */
#spirituality .playlist-link,#video-collections .playlist-link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:520px;min-height:48px;margin:14px auto 0;padding:12px 18px;background:#496c80!important;color:#fff!important;border:1px solid #496c80!important;border-radius:24px;text-align:center;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}
#spirituality .topic-share,#video-collections .topic-share{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:520px;min-height:48px;margin:10px auto 0;padding:12px 18px;background:#eee2c5!important;color:#153f5b!important;border:1px solid #c4aa6c!important;border-radius:24px;text-align:center;font-weight:600}
#spirituality .playlist-link:hover,#video-collections .playlist-link:hover{background:#3e6074!important}
#spirituality .topic-share:hover,#video-collections .topic-share:hover{background:#e6d5ae!important}
#spirituality .topic-share-status:empty,#video-collections .topic-share-status:empty{display:none}

.dai-concept-video{max-width:1100px;margin:24px auto;text-align:center}.dai-concept-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#111b24;border-radius:12px}.dai-concept-video h3{color:#153e55}.dai-concept-video p{line-height:1.5}
.project-gallery{margin:32px 0;padding:24px 0;border-top:1px solid var(--line,#dcc9aa)}.project-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-gallery-photo{font:inherit;text-align:left;border:1px solid #dcc9aa;border-radius:14px;padding:0;overflow:hidden;background:#fffaf1;color:#153f5b;cursor:pointer;min-width:0}.project-gallery-photo img{display:block;width:100%;height:180px;object-fit:cover}.project-gallery-photo span{display:block;padding:12px;font-size:16px;line-height:1.4}.project-gallery-photo:focus-visible,.project-gallery-dialog button:focus-visible{outline:3px solid #b67811;outline-offset:3px}.project-gallery-dialog{border:0;border-radius:16px;padding:16px;background:#fffaf1;color:#153f5b;width:min(960px,95vw);max-height:94dvh;overflow:auto}.project-gallery-dialog::backdrop{background:rgba(0,0,0,.85)}.project-gallery-dialog header{display:flex;justify-content:space-between;align-items:center;padding:0 0 12px;gap:12px}.project-gallery-dialog button{font:inherit;background:#153f5b;color:white;border:0;padding:10px 16px;border-radius:24px;cursor:pointer;min-height:44px}.project-gallery-dialog figure{margin:0;text-align:center}.project-gallery-dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain}.project-gallery-dialog figcaption{padding:14px 0;font-size:18px}.project-gallery-dialog nav{display:flex;justify-content:space-between;gap:12px}.project-gallery-count{font-size:16px}@media(max-width:600px){.project-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-gallery-photo img{height:135px}.project-gallery-photo span{font-size:14px;padding:9px}.project-gallery-dialog nav button{font-size:15px;padding:10px}}
/* Immersive photo viewer: controls overlay the image, leaving its full area available. */
.project-gallery-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border-radius:0;background:#080808;color:white;overflow:hidden;box-sizing:border-box}.project-gallery-dialog figure{position:absolute;inset:0;margin:0;display:flex;align-items:center;justify-content:center}.project-gallery-dialog img{width:100%;height:100%;max-height:none;object-fit:contain;touch-action:pinch-zoom;user-select:none;-webkit-user-select:none}.project-gallery-dialog header{position:absolute;z-index:2;top:0;left:0;right:0;padding:calc(12px + env(safe-area-inset-top)) 16px 24px;background:linear-gradient(#000b,transparent)}.project-gallery-dialog nav{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:24px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#000b)}.project-gallery-dialog figcaption{position:absolute;z-index:1;bottom:calc(70px + env(safe-area-inset-bottom));left:12px;right:12px;padding:10px;font-size:17px;color:white;text-shadow:0 1px 4px #000;background:#0006;border-radius:8px;pointer-events:none}.project-gallery-dialog button{background:#162f45cc;border:1px solid #ffffff66}.project-gallery-dialog header,.project-gallery-dialog nav,.project-gallery-dialog figcaption{transition:opacity .25s}.project-gallery-dialog.controls-hidden header,.project-gallery-dialog.controls-hidden nav,.project-gallery-dialog.controls-hidden figcaption{opacity:0;pointer-events:none}.project-gallery-dialog .project-gallery-count{text-shadow:0 1px 4px #000}@media(prefers-reduced-motion:reduce){.project-gallery-dialog header,.project-gallery-dialog nav,.project-gallery-dialog figcaption{transition:none}}

/* Show complete portrait thumbnails so faces are never cropped. */
.book-gallery .project-gallery-photo{align-self:start}
.book-gallery .project-gallery-photo img{height:auto;aspect-ratio:auto;object-fit:contain}

/* Compact book gallery with native touch scrolling and full portraits. */
.project-gallery .project-gallery-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;padding:4px 2px 12px;scrollbar-width:thin}
.project-gallery .project-gallery-photo{flex:0 0 260px;scroll-snap-align:start;align-self:stretch}
.project-gallery .project-gallery-photo img{width:100%;height:250px;aspect-ratio:auto;object-fit:contain;background:#f2ebdf}
.project-gallery .gallery-strip-nav{display:flex;justify-content:space-between;gap:12px;margin:12px 0}
.project-gallery .gallery-strip-nav button{font:inherit;font-size:16px;min-height:44px;border:1px solid #dcc9aa;border-radius:24px;padding:10px 16px;background:#153f5b;color:white;cursor:pointer}
.project-gallery .gallery-strip-nav button:disabled{opacity:.45;cursor:default}
.project-gallery .project-gallery-grid:focus-visible{outline:3px solid #b67811;outline-offset:3px}
@media(max-width:600px){.project-gallery .project-gallery-photo{flex-basis:76%}.project-gallery .project-gallery-photo img{height:220px}.project-gallery .gallery-strip-nav button{font-size:14px;padding:10px 12px}}

.project-gallery .project-gallery-grid{position:relative;padding-right:12%;scroll-padding-right:12%}
.project-gallery .project-gallery-photo{flex-basis:88%}
.project-gallery .project-gallery-photo img{height:clamp(260px,45vw,420px);object-fit:contain;background:#f2ebdf}
.project-gallery .gallery-strip-nav{align-items:center;flex-wrap:wrap}
.gallery-strip-position{font-size:16px;white-space:nowrap;text-align:center}
.gallery-photo-story{font-size:17px;line-height:1.65;max-width:760px;margin:16px auto}
.gallery-share-action{text-align:center;margin-top:20px}
.gallery-share-link{display:inline-block;color:#153f5b;border:1px solid #b89a51;border-radius:24px;padding:12px 20px;text-decoration:none;font-weight:600}
@media(max-width:600px){.project-gallery .project-gallery-photo{flex-basis:88%}.project-gallery .project-gallery-photo img{height:300px}.gallery-strip-position{order:3;flex-basis:100%}}

.project-gallery-dialog .gallery-more-info{position:absolute;z-index:3;bottom:calc(132px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:90%;white-space:normal;font-size:16px;transition:opacity .25s}
.project-gallery-dialog.controls-hidden .gallery-more-info{opacity:0;pointer-events:none}
.project-gallery-dialog .gallery-info-panel{position:absolute;z-index:5;inset:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));margin:auto;max-width:720px;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;background:#fffaf1;color:#153f5b;border-radius:16px;padding:24px;text-align:left;box-sizing:border-box}
.project-gallery-dialog .gallery-info-panel[hidden],.project-gallery-dialog .gallery-more-info[hidden]{display:none}
.project-gallery-dialog .gallery-info-panel p{font-size:19px;line-height:1.75;color:#2f2a25}
.project-gallery-dialog .gallery-info-panel h2{font-size:25px;line-height:1.3}
.project-gallery-dialog .gallery-info-panel button{background:#153f5b;color:white}

/* Transparent photo information with readable text over the image. */
.project-gallery-dialog .gallery-info-panel{background:rgba(0,0,0,.38);color:#fff;border:1px solid rgba(255,255,255,.25);text-shadow:0 1px 3px #000,0 2px 8px #000;box-shadow:none}
.project-gallery-dialog .gallery-info-panel p,.project-gallery-dialog .gallery-info-panel h2{color:#fff}
.project-gallery-dialog .gallery-info-panel button{background:rgba(21,63,91,.78);border:1px solid #ffffff80;text-shadow:none}

/* Match each complete photo card to the text column below it. */
.project-gallery .project-gallery-grid{width:100%;max-width:760px;margin-left:auto;margin-right:auto;padding:0 0 12px;scroll-padding:0;align-items:flex-start;box-sizing:border-box}
.project-gallery .project-gallery-photo{flex:0 0 100%;width:100%;box-sizing:border-box;align-self:flex-start}
.project-gallery .project-gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.project-gallery .gallery-strip-nav{max-width:760px;margin-left:auto;margin-right:auto}
.project-gallery .gallery-photo-story{width:100%;max-width:760px;box-sizing:border-box}

.project-gallery{scroll-margin-top:100px}

.project-gallery-dialog header{flex-wrap:wrap;gap:8px}.project-gallery-dialog header button{font-size:16px;padding:10px 13px}

/* Follow the visible card height, including landscape photos, without a portrait-sized gap. */
.project-gallery .project-gallery-grid{overflow-y:hidden;min-height:0;align-items:flex-start}

/* Discreet transparent controls keep the photograph visible. */
.project-gallery-dialog button,.project-gallery-dialog header button,.project-gallery-dialog .gallery-info-panel button{background:transparent;border-color:transparent;box-shadow:none;color:#fff;text-shadow:0 1px 3px #000,0 0 6px #000;font-size:14px;font-weight:400;padding:7px 9px;min-height:44px;border-radius:8px}
.project-gallery-dialog header,.project-gallery-dialog nav{background:none}
.project-gallery-dialog .gallery-more-info{background:transparent;font-size:14px;padding:6px 10px}
.project-gallery-dialog figcaption{background:transparent;font-size:15px;padding:6px;text-shadow:0 1px 3px #000,0 0 6px #000}
.project-gallery-dialog button:hover,.project-gallery-dialog button:focus-visible{background:#0002}

/* Photo stories appear automatically below the complete image and remain readable. */
.project-gallery-dialog.has-story figure{inset:calc(62px + env(safe-area-inset-top)) 0 45%}
.project-gallery-dialog.has-story figcaption{display:none}
.project-gallery-dialog.has-story .gallery-info-panel{position:absolute;inset:55% 0 calc(64px + env(safe-area-inset-bottom));width:100%;max-width:760px;max-height:none;margin:0 auto;padding:10px 20px 18px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow-y:auto;touch-action:pan-y;scrollbar-width:thin;text-shadow:none}
.project-gallery-dialog.has-story .gallery-info-panel h2{font-size:18px;line-height:1.4;margin:0 0 10px}
.project-gallery-dialog.has-story .gallery-info-panel p{font-size:17px;line-height:1.6;margin:0;white-space:pre-line}
.project-gallery-dialog.has-story .gallery-info-panel button[hidden]{display:none}
@media(max-height:500px){.project-gallery-dialog.has-story figure{inset:52px 48% 55px 0}.project-gallery-dialog.has-story .gallery-info-panel{inset:52px 0 55px 52%;width:48%;padding:8px 14px}}

/* A single scrolling column: photo, navigation, then its story. */
.project-gallery-dialog{overflow-y:auto;overflow-x:hidden;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom)}
.project-gallery-dialog header{position:relative;inset:auto;width:100%;max-width:760px;margin:0 auto;padding:8px 0;box-sizing:border-box}
.project-gallery-dialog figure,.project-gallery-dialog.has-story figure{position:relative;inset:auto;display:block;width:100%;max-width:760px;margin:0 auto}
.project-gallery-dialog img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;touch-action:pan-y pinch-zoom}
.project-gallery-dialog figcaption{position:relative;inset:auto;padding:8px 0;margin:0}
.project-gallery-dialog nav{position:relative;inset:auto;width:100%;max-width:760px;margin:0 auto;padding:6px 0;box-sizing:border-box;display:flex;justify-content:space-between;gap:8px}
.project-gallery-dialog.has-story .gallery-info-panel{position:relative;inset:auto;width:100%;max-width:760px;max-height:none;margin:0 auto;padding:8px 0 24px;overflow:visible;box-sizing:border-box;touch-action:pan-y}
.project-gallery-dialog.controls-hidden nav{opacity:1;pointer-events:auto}
.project-gallery-dialog.has-story .gallery-info-panel h2{margin:0 0 10px}

/* The inline gallery mirrors the photo-first layout on its light background. */
.project-gallery .gallery-strip-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;margin:4px auto 8px;width:100%;max-width:760px}
.project-gallery .gallery-strip-nav button{background:transparent;color:#153f5b;border:1px solid transparent;border-radius:8px;box-shadow:none;font-size:14px;font-weight:400;min-height:44px;padding:6px 4px}
.project-gallery .gallery-strip-nav button:first-child{text-align:left;justify-self:start}
.project-gallery .gallery-strip-nav button:last-child{text-align:right;justify-self:end}
.project-gallery .gallery-strip-position{order:0;font-size:12px;flex-basis:auto;color:#686159}
.project-gallery .gallery-strip-nav button:focus-visible{outline:2px solid #b67811;outline-offset:2px}
.project-gallery .gallery-photo-story{margin:8px auto 0;padding:0;width:100%;max-width:760px}
.project-gallery .project-gallery-grid{padding-bottom:0}

/* Group gallery controls above the image; keep photo and story uninterrupted. */
.project-gallery .gallery-strip-nav{margin:4px auto 8px}
.project-gallery .gallery-strip-nav button{font-size:13px;line-height:1.3;max-width:100%}
.project-gallery .gallery-strip-position{font-size:12px}
.project-gallery-dialog nav{padding:0 0 8px}
.project-gallery-dialog.controls-hidden header{opacity:1;pointer-events:auto}
.project-gallery-dialog.has-story .gallery-info-panel{padding-top:12px}

.project-gallery .gallery-share-action{max-width:760px;margin:4px auto 0;text-align:right}
.project-gallery .gallery-share-action .gallery-share-link{border:0;border-radius:8px;padding:6px 4px;font-size:13px;font-weight:400;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;background:transparent}

/* Unified warm gallery theme for book and project photos, including future entries. */
.project-gallery,.project-gallery-dialog{--gallery-paper:#f3ecdf;--gallery-ink:#35312c;--gallery-blue:#153f5b;--gallery-line:#d5c4a5}
.project-gallery-dialog{background:var(--gallery-paper);color:var(--gallery-ink)}
.project-gallery-dialog .gallery-info-panel,.project-gallery-dialog.has-story .gallery-info-panel{background:transparent;color:var(--gallery-ink);border:0;text-shadow:none;box-shadow:none}
.project-gallery-dialog .gallery-info-panel p,.project-gallery-dialog .gallery-info-panel h2,.project-gallery-dialog figcaption{color:var(--gallery-ink);text-shadow:none}
.project-gallery-dialog figcaption{background:transparent}
.project-gallery-dialog .gallery-toolbar,.project-gallery .gallery-inline-toolbar{width:100%;max-width:760px;margin:0 auto 8px;padding:0;box-sizing:border-box;background:transparent;color:var(--gallery-blue);border-bottom:1px solid var(--gallery-line)}
.project-gallery-dialog .gallery-toolbar header,.project-gallery-dialog .gallery-toolbar nav{background:transparent}
.project-gallery-dialog .gallery-toolbar button,.project-gallery-dialog .gallery-toolbar header button,.project-gallery-dialog .gallery-toolbar nav button,.project-gallery .gallery-inline-toolbar .gallery-strip-nav button,.project-gallery .gallery-inline-toolbar .gallery-share-link{background:transparent;color:var(--gallery-blue);border:0;border-radius:6px;box-shadow:none;text-shadow:none;font-weight:400;min-height:44px;padding:7px 6px}
.project-gallery-dialog .gallery-toolbar .project-gallery-count,.project-gallery .gallery-inline-toolbar .gallery-strip-position{color:var(--gallery-blue);text-shadow:none}
.project-gallery .gallery-inline-toolbar .gallery-share-action{margin:0;max-width:none}
.project-gallery .gallery-inline-toolbar .gallery-strip-nav{margin:0;max-width:none}
.project-gallery-dialog .gallery-toolbar button:hover,.project-gallery .gallery-inline-toolbar button:hover,.project-gallery .gallery-inline-toolbar a:hover{background:#153f5b0b}
.project-gallery-dialog .gallery-toolbar button:focus-visible,.project-gallery .gallery-inline-toolbar button:focus-visible,.project-gallery .gallery-inline-toolbar a:focus-visible{outline:2px solid var(--gallery-blue);outline-offset:1px}
.project-gallery .gallery-photo-story{color:var(--gallery-ink)}
.project-gallery .project-gallery-photo{background:var(--gallery-paper);border-color:var(--gallery-line)}
.project-gallery .project-gallery-photo span{background:var(--gallery-paper);color:var(--gallery-blue)}

/* Match the inline controls to the warm photo caption background. */
.project-gallery .gallery-inline-toolbar{background:var(--gallery-paper);border-radius:8px 8px 0 0}
.project-gallery .gallery-inline-toolbar .gallery-share-action,.project-gallery .gallery-inline-toolbar .gallery-strip-nav{background:transparent}

.site-search-entry{max-width:960px;margin:12px auto;text-align:center;padding:0 18px}.site-search-entry a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:1px solid #b89a51;border-radius:24px;color:#153f5b;background:#fffaf1;text-decoration:none;font:600 17px/1.4 system-ui,sans-serif}
body:has(#search-results){margin:0;background:#f6f0e5;color:#2f2a25;font:18px/1.6 system-ui,sans-serif}body:has(#search-results) main{max-width:860px;margin:auto;padding:24px 20px}body:has(#search-results) a{color:#153f5b}body:has(#search-results) nav{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin:24px 0}body:has(#search-results) h1{font-size:clamp(26px,5vw,38px);color:#153f5b}.search-row{display:flex;gap:10px;margin:10px 0}.search-row input{min-width:0;flex:1;font:inherit;padding:12px;border:1px solid #b89a51;border-radius:12px}.search-row button,#search-more{font:inherit;background:#153f5b;color:white;border:0;border-radius:24px;padding:12px 20px;cursor:pointer}.all{display:flex;align-items:center;gap:10px}.all input{width:22px;height:22px}#search-results article{margin:16px 0;padding:18px;border:1px solid #dcc9aa;border-radius:16px;background:#fffaf1;overflow-wrap:anywhere}#search-results h2{font-size:21px;line-height:1.4;margin:4px 0 10px}#search-results p{margin:0;font-size:17px}#search-results small{color:#6d6257}#search-results mark{background:#f7dda1;color:#153f5b}#search-status{min-height:2em}@media(max-width:450px){.search-row{flex-wrap:wrap}.search-row input{width:100%;flex-basis:100%}.search-row button{width:100%}}

.search-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.search-filters label{display:flex;flex-direction:column;gap:6px;font-weight:600}.search-filters select{font:400 17px/1.4 system-ui;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #b89a51;border-radius:12px;background:#fffaf1;color:#153f5b}.search-filters button{justify-self:start;grid-column:1/-1;font:inherit;padding:8px 16px;border:1px solid #b89a51;border-radius:22px;background:transparent;color:#153f5b;min-height:44px;cursor:pointer}@media(max-width:520px){.search-filters{grid-template-columns:1fr}}

#show-all-links{font:inherit;display:block;min-height:48px;padding:10px 20px;margin:20px 0;border:1px solid #b89a51;border-radius:24px;background:#fffaf1;color:#153f5b;cursor:pointer}.result-url{display:block;margin-top:12px;overflow-wrap:anywhere;font-size:14px}

body:has(#search-results) .search-website-return{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;padding:8px 0;font-size:17px}
body:has(#search-results) .search-language-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 24px}
.search-language-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;min-height:76px;padding:8px 4px;border:1px solid #dcc9aa;border-radius:22px;background:#fffaf1;font-size:14px;line-height:1.4}
.search-language-nav a[aria-current="page"]{border:2px solid #b67811;background:#f5e9cd}
.search-language-nav .language-flag{font-size:28px;line-height:1.2;margin-bottom:5px}.search-language-nav .language-name{white-space:nowrap}
.search-intro{font-size:17px;line-height:1.6;margin:0 0 22px;color:#6d6257}.search-help{font-size:15px;line-height:1.5;color:#6d6257;margin:14px 0 4px}.search-selection{padding:12px 16px;border-left:4px solid #b67811;background:#fffaf1;border-radius:8px;font-size:16px}.search-selection[hidden],#search-empty-help[hidden]{display:none}.search-filters select.filter-active{border:2px solid #b67811;background:#fff7e5}#query:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #b67811;outline-offset:3px}
@media(max-width:380px){.search-language-nav a{font-size:12px;border-radius:16px}.search-language-nav .language-flag{font-size:25px}}

#search-filter-panel{border:1px solid #dcc9aa;border-radius:14px;background:#fffaf1;padding:10px 14px;margin:10px 0}#search-filter-panel summary{cursor:pointer;font-weight:600;color:#153f5b;min-height:32px;line-height:1.6}#search-filter-panel .search-help{margin-top:12px}#show-all-links{display:inline-block;margin:4px 0 8px;padding:8px 16px;min-height:44px}#search-status{scroll-margin-top:16px;margin-top:14px;margin-bottom:8px;font-weight:600;color:#153f5b}#search-status:focus{outline:none}body:has(#search-results) .search-language-nav{margin:8px 0 12px}body:has(#search-results) h1{margin:12px 0 8px}.search-intro{margin:0 0 12px}#search-results article:first-child{margin-top:8px}

.site-search-entry:has(.sharing-tips-top){display:flex;justify-content:center;align-items:stretch;gap:10px}.site-search-entry:has(.sharing-tips-top) a{flex:1;max-width:310px;min-width:0;text-align:center;white-space:normal;padding:10px 12px}.site-search-entry .sharing-tips-top{background:#efe3c3}

/* One shared height for search and sharing tips in every language. */
.site-search-entry:has(.sharing-tips-top) a{box-sizing:border-box;height:72px;min-height:72px;flex-basis:0;padding:8px 10px;font-size:clamp(14px,3.7vw,17px);line-height:1.25;overflow-wrap:normal}

.tony-teaser-photo{display:block;max-width:540px;margin:20px auto;text-decoration:none}.tony-teaser-photo:focus-visible{outline:3px solid #b67811;outline-offset:5px;border-radius:18px}

/* Softer blue for primary actions, keeping the established text colours. */
.btn:not(.secondary):not(.topic-share),.youtube-discover .youtube-channel,.life-film .film-launch{background:#496c80;border-color:#496c80;color:#fff}
.btn:not(.secondary):not(.topic-share):hover,.youtube-discover .youtube-channel:hover,.life-film .film-launch:hover{background:#3e6074;border-color:#3e6074}

/* A restrained satin highlight gives blue actions a softly rounded surface. */
.btn:not(.secondary):not(.topic-share),.youtube-discover .youtube-channel,.life-film .film-launch,#spirituality .playlist-link,#video-collections .playlist-link,.patent-actions a:not([download]){
background:linear-gradient(180deg,#55778a 0%,#496c80 48%,#426479 100%)!important;
border-color:#496c80!important;color:#fff!important;
box-shadow:inset 0 1px 0 #ffffff40,inset 0 -1px 0 #183d5126,0 3px 8px #153f5b12;
}
.btn:not(.secondary):not(.topic-share):hover,.youtube-discover .youtube-channel:hover,.life-film .film-launch:hover,#spirituality .playlist-link:hover,#video-collections .playlist-link:hover,.patent-actions a:not([download]):hover{
background:linear-gradient(180deg,#507286 0%,#426479 48%,#3e6074 100%)!important;
}

.sister-site{margin:28px auto;padding:22px;max-width:900px;border:1px solid #dcc9aa;border-radius:18px;background:#fffaf1;text-align:center}.sister-site h2{color:#153f5b;font-size:25px}.sister-site p{max-width:720px;margin:14px auto;line-height:1.65}.sister-site a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;border-radius:25px;background:linear-gradient(180deg,#5c86a0,#426c87);color:white;text-decoration:none}.sister-site img{display:block;width:100%;max-width:280px;height:auto;margin:0 auto 18px}.sister-site .book-cover{max-width:100px}
/* The personal Pyramid story uses the full available photo width. */
.sister-site .pyramid-history img{width:100%;max-width:100%;height:auto;margin:0 auto}.sister-site .pyramid-history figure{width:100%;margin:18px auto}.sister-site .pyramid-history p{text-align:left;max-width:900px}.sister-site .pyramid-history h3{font-size:clamp(23px,4vw,32px);color:#153f5b}

/* Match the player canvas to the warm share image. */
.book-foreword video{background:#f3ebdd!important;object-fit:contain;aspect-ratio:4/3!important;height:auto!important}
/* Fit the playing video to its native frame so captions stay close. */
.book-foreword video{aspect-ratio:16/9!important;margin-bottom:0!important}
.book-foreword .foreword-caption-text{margin-top:0!important;padding:8px 12px;min-height:3.5em;border-radius:0 0 12px 12px}
.book-foreword>p{margin-bottom:12px}

.book-foreword .foreword-caption-text{min-height:calc(6em + 16px);flex-shrink:0;overflow-anchor:none}.book-foreword .foreword-caption-text[hidden]{display:flex!important;visibility:hidden}

/* Give the foreword and life film the same responsive image canvas. */
body:not(.multilingual) .book-card>.book-foreword{width:100%;max-width:none;margin:24px auto 0}
@media(min-width:600px){body:not(.multilingual) .book-card{padding:28px}}
body:not(.multilingual) .book-foreword video{width:100%;max-width:none;aspect-ratio:16/9!important;object-fit:contain}
body:not(.multilingual) .life-film .film-preview{box-sizing:border-box;width:100%}
body:not(.multilingual) .life-film .family-film-image{aspect-ratio:16/9;background:#f3ebdd}
body:not(.multilingual) .life-film .family-film-image img{width:100%;height:100%;object-fit:contain}

/* Captions follow the outside edges of the two image panels. */
.book-foreword .foreword-caption-text{width:86.666667%;max-width:86.666667%;margin:0 auto!important;padding:0 0 8px;min-height:0!important;align-items:flex-start;justify-content:center;border-radius:0;background:transparent}

.foreword-stage{max-width:100%;margin:0 auto}
@media(orientation:landscape) and (max-height:600px){
 .book-foreword .foreword-caption-text{font-size:16px;line-height:1.4}
}

/* The personal forewords retain their complete portrait frame. */
.book-foreword video[data-personal-foreword],body:not(.multilingual) .book-foreword video[data-personal-foreword]{display:block;width:min(100%,360px,39.375vh)!important;max-width:360px!important;aspect-ratio:9/16!important;height:auto!important;object-fit:contain;margin:0 auto!important;background:#f6f6fc!important}
.foreword-transcript{margin:16px auto;text-align:left;max-width:680px;border:1px solid #dcc9aa;border-radius:12px;background:#fffaf1}
.foreword-transcript summary{padding:12px 16px;min-height:44px;box-sizing:border-box;cursor:pointer;font-weight:600;color:#244b61}
.foreword-transcript-body{padding:0 18px 12px;font-size:17px;line-height:1.65;color:#403d37}
.foreword-transcript-body p{margin:0 0 1em}

/* A larger portrait window with visible space around it, without fullscreen. */
dialog.foreword-enlarged{box-sizing:border-box;width:max-content;max-width:92vw;max-height:88vh;max-height:88svh;margin:auto!important;padding:12px 16px 16px;border:1px solid #dcc9aa;border-radius:18px;background:#fffaf1;box-shadow:0 14px 60px #0005;overflow:auto}
dialog.foreword-enlarged::backdrop{background:rgba(20,30,38,.66)}
.foreword-enlarged-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 10px}
.foreword-enlarged-header h2{margin:0;font:600 18px/1.3 system-ui,sans-serif;color:#244b61}
.foreword-enlarged-header button{min-height:44px;padding:8px 12px;border:1px solid #dcc9aa;border-radius:10px;background:#fff;color:#244b61;font:600 16px/1.2 system-ui,sans-serif;cursor:pointer}
body dialog.foreword-enlarged video[data-personal-foreword]{width:min(82vw,480px,calc(49.5vh - 49.5px))!important;width:min(82vw,480px,calc(49.5svh - 49.5px))!important;max-width:none!important;aspect-ratio:9/16!important;height:auto!important;object-fit:contain;border-radius:10px;margin:0 auto!important}

/* Keep the foreword high enough to leave a comfortable reading area. */
dialog.foreword-enlarged{inset-block-start:2vh;inset-block-start:2svh;inset-block-end:auto;max-height:94vh;max-height:94svh;margin:0 auto!important}
body dialog.foreword-enlarged video[data-personal-foreword]{width:min(82vw,480px,calc(45vh - 66px))!important;width:min(82vw,480px,calc(45svh - 66px))!important}
.foreword-reading{box-sizing:border-box;width:100%;max-width:480px;margin:10px 0 0;border-top:1px solid #dcc9aa;color:#244b61;text-align:left}
.foreword-reading summary{padding:10px 0;font:600 15px/1.4 system-ui,sans-serif;cursor:pointer}
.foreword-reading-text{max-height:100px;overflow:auto;overscroll-behavior:contain;padding:0 4px;font:400 17px/1.5 system-ui,sans-serif;color:#403d37}
.foreword-reading-text p{margin:0 0 1em}
@media(max-height:500px){.foreword-reading-text{max-height:66px}body dialog.foreword-enlarged video[data-personal-foreword]{width:min(65vw,calc(45svh - 72px))!important}}

.foreword-live-captions{box-sizing:border-box;width:100%;max-width:480px;height:5.4em;display:flex;align-items:center;justify-content:center;padding:8px 4px 0;color:#252c34;text-align:center;font:500 18px/1.45 system-ui,sans-serif;overflow-wrap:anywhere}
.foreword-live-captions[hidden]{display:none}
.foreword-reading-text{max-height:90px}
@media(max-width:500px){.foreword-live-captions{font-size:17px}}
@media(max-height:500px){.foreword-live-captions{height:4.5em;font-size:16px}}

.xl-growing-story{display:grid;grid-template-columns:minmax(145px,220px) minmax(0,1fr);gap:clamp(22px,4vw,46px);align-items:center;margin:24px 0 28px;padding:clamp(20px,3vw,34px);border:1px solid #d8c79f;border-radius:20px;background:linear-gradient(135deg,#fffaf0,#f0e6d2);color:#302b25;text-align:left;box-shadow:0 10px 32px #48341a0a}
.xl-growing-cover{margin:0;justify-self:center;max-width:220px;width:100%}.xl-growing-cover img{display:block;width:100%;height:auto;border-radius:4px;box-shadow:0 10px 22px #3a2b262b}
.xl-growing-copy{min-width:0}.xl-growing-eyebrow{font-size:.78rem!important;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#6f5425!important;margin:0 0 12px!important;line-height:1.5!important}
.xl-growing-copy h4{font-family:inherit;font-size:clamp(1.5rem,2.9vw,2rem);line-height:1.2;margin:0 0 8px;font-weight:500;color:#302b25}.xl-growing-spirit{font-family:inherit;font-size:1.22rem!important;color:#8a662b!important;margin:0 0 15px!important}.xl-growing-copy>p{line-height:1.65}.xl-growing-themes{display:flex;flex-wrap:wrap;gap:7px;list-style:none!important;padding:0!important;margin:18px 0!important}.xl-growing-themes li{border:1px solid #c6b48d;border-radius:20px;padding:5px 11px;font-size:.8rem;line-height:1.4;color:#65512e;background:#fffcf5}
.xl-growing-note{border-left:3px solid #ae8b4c;padding:11px 15px;background:#ffffff75;border-radius:0 9px 9px 0;font-style:italic;margin:18px 0!important}.xl-growing-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}.xl-growing-actions .btn{margin:0!important;white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}.xl-growing-video{font-size:.9rem;text-decoration:underline;text-underline-offset:3px;color:#4c6174}
.xl-spiritual-note{margin:22px 0 0;padding:21px 24px;background:#fffaf0;border:1px solid #d8c79f;border-radius:14px;color:#302b25}.xl-spiritual-note p{line-height:1.6}.xl-spiritual-note a{color:#65512e;text-decoration:underline;text-underline-offset:4px;font-weight:600}.xl-spiritual-note .xl-growing-eyebrow{margin-bottom:8px!important}
@media(max-width:600px){.xl-growing-story{grid-template-columns:1fr;padding:22px 18px;gap:23px}.xl-growing-cover{max-width:160px}.xl-growing-copy h4{font-size:1.65rem}.xl-growing-actions{align-items:stretch}.xl-growing-video{text-align:center}.xl-spiritual-note{padding:20px 18px}}

.spiritual-chapter-list{padding-left:1.4em;text-align:left}.spiritual-chapter-list li{margin:0 0 14px;line-height:1.5}.spiritual-chapter-list a{overflow-wrap:anywhere}

.spiritual-share-bottom{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:28px}.spiritual-share-bottom .topic-share{width:100%;max-width:520px}.spiritual-share-bottom .topic-share-status:empty{display:none}

.spiritual-chapters{margin:24px 0;padding:14px 16px;border:1px solid #dcc9aa;border-radius:12px;background:#f6f0e5}.spiritual-chapters>summary{cursor:pointer;font-weight:700;color:#153f5b;line-height:1.5;min-height:32px}.spiritual-chapters[open]>summary{margin-bottom:16px}

body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea{font-family:inherit}
body :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,figcaption,summary){text-align:left!important;text-align-last:auto!important}body :is(p,li,blockquote){word-spacing:normal;letter-spacing:normal}body .btn,body button,body nav a{text-align:center!important}
.film-book-reading{width:100%;max-width:620px;margin:20px auto 28px;box-sizing:border-box}.film-book-reading>.read-book-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;box-sizing:border-box;white-space:normal;line-height:1.4;text-align:center}.film-book-reading>.read-book-hint{font-size:16px;line-height:1.6}.film-book-reading .reading-guide{font-size:16px}
.printed-book-order{width:100%;margin:26px 0 12px;padding:22px 0 0;border-top:1px solid #d8bd8c;text-align:left}.printed-book-order h3,.printed-book-order h4{margin:0 0 10px}.printed-book-order p{margin:0 0 16px}.printed-book-order .support-book-actions{display:flex;flex-direction:column;align-items:center;gap:12px}.printed-book-order .btn{white-space:normal;box-sizing:border-box}.film-book-reading>.read-book-hint{margin-top:14px}
.social-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.social-contact-actions .btn{width:auto!important;min-height:44px!important;padding:10px 16px!important;margin:0!important;font-size:16px!important;flex:0 1 auto}.epub-offer>summary{cursor:pointer;font-weight:700;color:var(--blue);padding:10px 0}.epub-offer[open]>summary{margin-bottom:12px}
.edition-comparison{margin:20px 0;border:1px solid #cfb789;border-radius:16px;background:#fffaf1;color:#302b25;font:18px/1.65 system-ui,sans-serif;text-align:left;max-width:100%;box-sizing:border-box}.edition-comparison summary{cursor:pointer;padding:16px 20px;color:#153f5b;font-weight:700;min-height:48px;overflow-wrap:anywhere}.edition-comparison>div{padding:0 20px 22px}.edition-comparison h3{font-size:24px;color:#153f5b;line-height:1.3}.edition-comparison h4{font-size:19px;color:#153f5b;margin:24px 0 8px}.edition-comparison p{margin:8px 0 16px}.edition-comparison .btn{white-space:normal!important;height:auto!important;min-height:48px;display:inline-flex;align-items:center;padding:12px 18px;border-radius:24px;background:#153f5b;color:#fff;text-decoration:none}.edition-comparison summary:focus-visible{outline:3px solid #b67811;outline-offset:3px}@media(max-width:600px){.edition-comparison{font-size:17px}.edition-comparison summary{padding:14px 16px}.edition-comparison>div{padding:0 16px 20px}}
body .if-new-book>a:first-child,body .if-new-book>a:first-child:hover{display:block;width:80%;max-width:280px;padding:0;margin:16px auto 24px;background:#eee6d6;border:0;border-radius:5px;box-shadow:0 12px 24px #4d3b2428;text-decoration:none}body .if-new-book>a:first-child img{display:block;width:100%;max-width:100%;height:auto;padding:0;box-sizing:border-box;border:1px solid #ded4c0;border-radius:5px;box-shadow:none;background:#f0e9dc}
