:root{--silver:#f5f4f0;--white:#fff;--red:#9a0b07;--green:#0d5807;--gold:#b28227;--blue:#153d60;--ink:#172d40;--line:#deded8}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--white);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:5px}.preview{font-size:12px;letter-spacing:.09em;background:var(--blue);color:white;text-align:center;padding:7px 16px}header{max-width:1320px;margin:auto;padding:24px 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.brand{display:flex;align-items:center;gap:13px;line-height:1.25}.brand img{width:44px;height:62px;object-fit:cover}.brand span{font-family:Georgia,serif;font-size:22px}.brand small{display:block;font:10px Arial;letter-spacing:.17em;margin-top:8px}nav{display:flex;gap:30px}nav a{font-size:14px;padding:8px 0;border-bottom:2px solid transparent}nav a[aria-current="page"]{border-color:var(--gold)}.menu{display:none}main{min-height:60vh}.wrap{max-width:1160px;margin:auto;padding:0 30px}.hero{max-width:1320px;margin:auto;display:grid;grid-template-columns:1.25fr 1fr;min-height:560px;align-items:center;padding:45px 8%;gap:65px;background:linear-gradient(110deg,#fff 45%,var(--silver))}.eyebrow{font-size:12px;letter-spacing:.19em;text-transform:uppercase;color:var(--gold);font-weight:bold}.hero h1,h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(42px,5vw,69px);line-height:1.1;letter-spacing:-.04em;margin:22px 0}.hero h1 em{color:var(--blue);font-weight:normal}.hero p{max-width:465px;color:#53616b;font-size:18px;margin:25px 0 32px}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;background:var(--blue);color:#fff;padding:12px 22px;font-size:14px;border:1px solid var(--blue);border-radius:2px}.button.secondary{background:transparent;color:var(--blue)}.button:hover{background:#235273;color:white}.crest-stage{text-align:center;position:relative}.crest-stage:before{content:"";position:absolute;inset:15px 0;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold);opacity:.45}.crest-stage img{position:relative;width:285px;max-width:85%;display:block;margin:auto;mix-blend-mode:multiply}.crest-stage small{font-size:11px;text-transform:uppercase;letter-spacing:.2em;display:block;margin-top:15px;color:var(--gold)}.section{padding:65px 0}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}h2{font:normal 36px/1.2 Georgia,serif;margin:9px 0}h3{font:normal 25px/1.25 Georgia,serif;margin:14px 0}.text-link{font-size:14px;border-bottom:1px solid var(--gold);padding-bottom:4px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.card{border-top:1px solid var(--line);padding-top:20px}.cover{height:250px;background:var(--silver);display:flex;align-items:center;justify-content:center}.cover-inner{width:150px;height:207px;background:var(--blue);color:white;padding:22px 19px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:9px 10px 15px #172d401a;border-left:5px solid #ffffff25}.cover-inner.green{background:var(--green)}.cover-inner.red{background:var(--red)}.cover-inner img{width:25px;height:36px;object-fit:cover}.cover-inner strong{font:24px/1.2 Georgia}.cover-inner small{font-size:9px;letter-spacing:.1em}.meta{font-size:12px;letter-spacing:.06em;color:var(--gold);margin:18px 0 0}.card p{color:#5b6670;font-size:15px;margin:12px 0 18px}.card button{background:none;border:0;border-bottom:1px solid var(--gold);padding:0 0 4px;color:var(--blue);font-size:14px}.bible-feature{margin:20px 0 65px;background:var(--blue);color:white;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;padding:55px;gap:55px}.watermark{position:absolute;right:15px;top:-70px;width:360px;opacity:.035;filter:grayscale(1);pointer-events:none}.bible-feature h2{font-size:43px}.bible-feature p{color:#e0e6ea}.bible-feature .button{background:white;color:var(--blue);border-color:white}.bible-feature .eyebrow{color:#dfbe79}.reading{border-left:1px solid #ffffff35;padding-left:38px;align-self:center;position:relative}.reading blockquote{font:25px/1.5 Georgia;margin:15px 0}.reading small{color:#d8c394}.author-tease{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-bottom:75px}.author-tease p{color:#53616b}.page-head{position:relative;overflow:hidden;background:var(--silver);padding:60px 0}.page-head h1{font-size:52px}.page-head p{max-width:620px;color:#53616b}.page-head .watermark{right:8%;top:-150px;opacity:.035}.tools{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}.filter{padding:8px 18px;background:white;border:1px solid var(--line);color:var(--blue);border-radius:2px}.filter.active{background:var(--blue);color:white}.notice{padding:15px 20px;background:var(--silver);border-left:3px solid var(--gold);font-size:14px;color:#53616b;margin-top:25px}.reader{display:grid;grid-template-columns:260px 1fr;gap:40px;padding:45px 0 75px}.reader aside{border-right:1px solid var(--line);padding-right:25px}.reader label{display:block;font-size:14px;margin-bottom:7px}.reader select{width:100%;padding:10px;border:1px solid var(--line);background:white;margin-bottom:22px}.reader article{max-width:670px}.verse{font:22px/1.9 Georgia;color:var(--ink)}.verse sup{font:12px Arial;color:var(--gold);margin-right:8px}.author-page{display:grid;grid-template-columns:320px 1fr;gap:70px;padding:60px 0}.author-page>img{width:100%;mix-blend-mode:multiply}.author-page p{max-width:640px;color:#53616b}.palette{display:flex;gap:10px;margin-top:25px}.palette span{width:32px;height:32px;border:1px solid #ddd;border-radius:50%}footer{background:var(--silver);border-top:1px solid var(--line);padding:35px 8%;display:flex;justify-content:space-between;align-items:center;gap:25px}footer p,footer>small{font-size:12px;color:#53616b}dialog{border:1px solid var(--line);padding:40px;max-width:590px;width:calc(100% - 32px);color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#0b223a88}.close{position:absolute;right:14px;top:5px;background:none;border:0;font-size:30px}.skip{position:absolute;left:15px;top:-100px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}.empty{padding:50px;background:var(--silver)}@media(max-width:900px){header{padding:20px 5%;gap:15px}nav{gap:18px}.brand span{font-size:19px}.hero{padding:45px 6%;gap:25px;min-height:500px}.crest-stage img{width:240px}.grid{gap:18px}.bible-feature{padding:35px;gap:30px}.author-tease{gap:40px}footer{flex-wrap:wrap}.author-page{grid-template-columns:240px 1fr;gap:35px}}@media(max-width:640px){.preview{font-size:10px}header{flex-wrap:wrap}.menu{display:block;border:1px solid var(--line);background:white;padding:7px 12px;font-size:14px}nav{display:none;width:100%;justify-content:space-between;gap:8px}nav.open{display:flex}nav a{font-size:13px}.hero{grid-template-columns:1fr;padding:40px 26px;gap:40px}.hero h1{font-size:48px}.hero p{font-size:17px}.crest-stage img{width:185px}.crest-stage{padding:10px 0 25px}.wrap{padding:0 24px}.section{padding:40px 0}.section-title{align-items:start}.section-title h2{font-size:30px}.section-title .text-link{white-space:nowrap;margin-top:32px}.grid{grid-template-columns:1fr}.cover{height:270px}.card{margin-bottom:15px}.bible-feature{grid-template-columns:1fr;padding:30px;margin-bottom:40px}.bible-feature h2{font-size:34px}.reading{padding:20px 0 0;border-left:0;border-top:1px solid #ffffff35}.author-tease{grid-template-columns:1fr;gap:0;padding-bottom:40px}.page-head{padding:35px 0}.page-head h1{font-size:42px}.reader{grid-template-columns:1fr;gap:20px}.reader aside{border-right:0;border-bottom:1px solid var(--line);padding:0}.author-page{grid-template-columns:1fr;gap:20px;padding:35px 0}.author-page>img{width:180px;margin:auto}footer{padding:30px 24px;display:block}footer p{margin-top:24px}.verse{font-size:20px}h2{font-size:30px}}@media(prefers-reduced-motion:no-preference){a,button{transition:background .2s,color .2s}main{animation:appear .3s}@keyframes appear{from{opacity:.7}to{opacity:1}}}

.section.wrap{padding-left:30px;padding-right:30px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cover-inner strong{font-size:21px;overflow-wrap:anywhere}@media(max-width:640px){.section.wrap{padding-left:24px;padding-right:24px}.grid{grid-template-columns:1fr}}
/* Identidad azul luminosa compartida */
:root{--white:#173f64;--silver:#204d74;--ink:#f4f3ef;--line:#ffffff26;--gold:#e2bd74}
body{background:radial-gradient(ellipse at 85% 15%,#3679a0 0,transparent 50%),radial-gradient(ellipse at 5% 95%,#296589 0,transparent 55%),linear-gradient(135deg,#173954,#1c527d 65%,#204b6d);background-attachment:fixed;color:var(--ink)}
.preview{background:#132f4960;color:#e1e9f0}header{max-width:none;width:100%;padding:18px 6%;background:#173c5530;border-color:#ffffff25}.brand img{width:38px;height:54px}.brand small{color:#d5e0e8}nav a{color:#e6edf2}nav a:hover{color:var(--gold)}.menu{color:#fff;background:#ffffff0c;border-color:#ffffff40}footer{background:#12314940;color:#d9e5ee;padding:18px 6%;border-color:#ffffff20}footer .brand{display:none}footer p,footer>small{color:#c8d9e6}.page-head{background:#ffffff06}.page-head p,.card p,.author-page p{color:#d5e3ed}.notice{background:#ffffff09;color:#d4e0ea}.filter{background:#ffffff08;border-color:#ffffff30;color:white}.filter.active{background:#d7b773;color:#173954;border-color:#d7b773}.cover{background:#ffffff07}.button{background:#d8b774;border-color:#d8b774;color:#183a55}.button.secondary{color:white;border-color:#ffffff50}.reader select{background:#204d74;color:#fff;border-color:#ffffff35}.verse{color:#edf2f6}dialog{background:#204c70;color:white}.close{color:white}.card button{color:#fff}.watermark{display:none}.author-page>img{display:none}.author-page{grid-template-columns:1fr;max-width:850px}.palette span{border-color:#ffffff35}.skip{background:#153d60;color:white}
body.home{min-height:100svh;display:flex;flex-direction:column}body.home main{min-height:0;flex:1;display:flex;align-items:center;justify-content:center}body.home footer p{margin:0}body.home footer{font-size:12px}.home-screen{width:100%;max-width:1300px;padding:28px 35px 40px}.home-intro{text-align:center;margin-bottom:40px}.home-intro h1{font-size:clamp(40px,4.7vw,66px);margin:15px 0 18px;color:#fff;line-height:1.06}.home-intro h1 em{color:#e7c887;font-weight:normal}.home-intro p{color:#d3e4ef;font-size:17px;margin:0}.home-intro .eyebrow{color:#e2bd74}.topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.topic{border:1px solid #c7ddec40;background:linear-gradient(145deg,#ffffff0d,#ffffff03);padding:24px 20px;min-height:215px;display:flex;flex-direction:column;border-radius:4px;box-shadow:0 12px 25px #102e4d15}.topic:hover{background:#ffffff16;border-color:#dfbd78;transform:translateY(-3px)}.topic-number{font-size:12px;letter-spacing:.15em;color:#d4b879}.topic h2{font-size:25px;line-height:1.2;margin:22px 0 10px}.topic p{color:#ccdeeb;font-size:14px;line-height:1.5;margin:0 0 24px}.topic-action{font-size:13px;margin-top:auto;color:#f0d8a6;border-top:1px solid #ffffff20;padding-top:13px}
@media(max-width:900px){.home-screen{padding:25px}.home-intro{margin-bottom:25px}.topic-grid{gap:10px}.topic{padding:18px 12px;min-height:195px}.topic h2{font-size:21px}.topic p{font-size:13px}.topic-action{font-size:12px}header{padding:16px 4%}}
@media(max-width:640px){body.home header{flex-wrap:nowrap;padding:12px 20px}.home .brand span{font-size:17px}.home .brand small{font-size:8px}.home .brand img{width:30px;height:43px}.home nav.open{position:absolute;top:103px;left:0;padding:14px 20px;background:#1b486d;z-index:5}.home-screen{padding:16px 20px 20px}.home-intro{margin-bottom:20px}.home-intro .eyebrow{font-size:9px;letter-spacing:.12em}.home-intro h1{font-size:36px;margin:12px 0}.home-intro p{font-size:14px}.topic-grid{grid-template-columns:1fr 1fr;gap:9px}.topic{min-height:0;padding:12px 14px}.topic-number{font-size:10px}.topic h2{font-size:21px;margin:6px 0}.topic p{font-size:12px;margin:0 0 10px}.topic-action{font-size:12px;padding-top:8px}.topic:last-child{grid-column:1/-1;display:grid;grid-template-columns:25px 1fr 1fr;align-items:center;gap:5px 10px}.topic:last-child h2{margin:0}.topic:last-child p{margin:0;grid-column:2}.topic:last-child .topic-action{grid-column:3;grid-row:1/3;border:0;padding:0;text-align:right}.home footer{padding:12px 20px;display:flex;justify-content:space-between;gap:8px}.home footer p,.home footer>small{font-size:10px}.home .preview{font-size:9px;padding:5px 10px}}
@media(max-height:720px) and (min-width:641px){.home-screen{padding-top:15px;padding-bottom:20px}.home-intro{margin-bottom:20px}.home-intro h1{font-size:44px;margin:12px 0}.topic{min-height:180px;padding:15px}.topic h2{margin:12px 0}.topic p{margin-bottom:15px}}
@media(max-height:730px) and (max-width:640px){.home-intro h1{font-size:30px}.home-intro{margin-bottom:12px}.home-screen{padding-top:12px;padding-bottom:12px}.topic{padding:9px 12px}.topic p{margin-bottom:7px}.topic h2{font-size:19px}.home-intro p{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.topic{transition:background .2s,border-color .2s,transform .2s}}
/* Portada con accesos visuales */
body{background:radial-gradient(ellipse at 82% 18%,#185cb8 0,transparent 47%),radial-gradient(ellipse at 15% 85%,#164e9f 0,transparent 52%),linear-gradient(125deg,#102e64,#123d84 60%,#102f67)}
header{background:#0a255430}header nav{display:flex!important;width:auto!important}header nav a{font-size:16px}.brand img,.home .brand img{width:47px;height:64px;object-fit:contain;filter:drop-shadow(2px 4px 3px #0007) drop-shadow(0 0 5px #91baff55)}.home-intro .eyebrow{font-size:12px;letter-spacing:.22em}.home-screen{max-width:1320px}.image-topics{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.image-topics .topic{padding:0;display:block;position:relative;overflow:hidden;min-height:0;aspect-ratio:1.08;border:1px solid #d8e9ff4a;border-radius:5px;box-shadow:0 15px 35px #041b493d}.image-topics .topic img{display:block;width:100%;height:100%;object-fit:cover}.topic-caption{position:absolute;bottom:0;left:0;right:0;padding:48px 20px 18px;background:linear-gradient(transparent,#071c42e8 65%)}.image-topics .topic h2{font-size:27px;margin:0 0 6px;color:#fff}.image-topics .topic p{margin:0;color:#d6e3f8;font-size:14px}.home footer{background:#09255538}.home-intro{margin-bottom:35px}.cover-inner img{object-fit:contain}main:focus{outline:none}
@media(max-width:900px){.image-topics{gap:13px}.topic-caption{padding:35px 12px 14px}.image-topics .topic h2{font-size:21px}.image-topics .topic p{font-size:12px}.home-intro{margin-bottom:28px}}
@media(max-width:640px){.home header{padding:12px 18px}.home header nav a{font-size:14px}.home .brand span{font-size:16px}.home .brand small{font-size:7px}.home .brand img{width:35px;height:47px}.home-screen{padding:16px 18px}.image-topics{grid-template-columns:1fr 1fr;gap:12px}.image-topics .topic,.image-topics .topic:last-child{grid-column:auto;display:block;aspect-ratio:1.12;padding:0;min-height:0}.image-topics .topic h2{font-size:20px;margin-bottom:4px}.image-topics .topic p{font-size:11px}.topic-caption{padding:35px 12px 12px}.home-intro .eyebrow{font-size:9px}.home-intro{margin-bottom:20px}.home-intro h1{font-size:34px}.home footer p{display:none}.home footer{justify-content:center}.home footer>small{font-size:11px}}
@media(max-height:700px) and (min-width:641px){.image-topics .topic{aspect-ratio:1.4}.home-intro h1{font-size:42px}.home-intro{margin-bottom:22px}}
body{background:radial-gradient(ellipse at 80% 16%,#143a68 0,transparent 47%),radial-gradient(ellipse at 14% 88%,#123357 0,transparent 50%),linear-gradient(130deg,#06172d,#0a2343 65%,#07192f)}
.home footer,footer{padding:12px 6%;gap:18px;background:#06162955}.mailbox-link{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;color:#f3eee3;padding:0;max-width:780px}.mailbox-link picture{flex-shrink:0}.mailbox-link img{display:block;object-fit:contain}.mailbox-link strong{display:block;font:normal 18px/1.3 Georgia,serif;color:#f0d59b}.mailbox-link small{display:block;font-size:13px;color:#d4e1ec;margin-top:4px}.mailbox-link:hover strong{text-decoration:underline}#question-dialog{max-width:660px;background:#102c4a}#question-form>label{display:block;font-size:14px;margin-top:16px;margin-bottom:5px}#question-form input:not([type=radio]),#question-form textarea{width:100%;padding:10px;border:1px solid #ffffff45;background:#ffffff09;color:white;font:16px/1.5 Arial;border-radius:3px}#question-form fieldset{margin:18px 0;border:1px solid #ffffff30;padding:12px}#question-form legend{font-size:14px}.radio-label{display:flex;align-items:flex-start;gap:8px;font-size:14px;margin:9px 0;line-height:1.5}.radio-label input{margin-top:4px;accent-color:#e2bd74}#question-result p{font-size:14px}#question-form .notice{margin:15px 0}.home-screen{padding-bottom:26px}
@media(max-width:640px){.home footer{padding:10px 18px;display:block}.mailbox-link{gap:8px}.mailbox-link img{width:48px;height:40px}.mailbox-link strong{font-size:15px}.mailbox-link small{font-size:11px;line-height:1.4}.home footer>small{display:none}.home-intro{margin-bottom:17px}.home-screen{padding-top:12px;padding-bottom:16px}.image-topics{gap:10px}.image-topics .topic{aspect-ratio:1.2}dialog{padding:30px 22px}}
/* Los colores del escudo forman el marco y su leyenda */
.image-topics .heraldic{--frame:#dededb;--frame-ink:#1d3042;border:6px solid var(--frame);border-radius:5px;aspect-ratio:auto;display:grid;grid-template-rows:minmax(0,1fr) 66px;height:300px;background:var(--frame);position:relative;box-shadow:0 14px 30px #0003,0 0 18px color-mix(in srgb,var(--frame) 17%,transparent)}
.image-topics .heraldic.red{--frame:#b32223;--frame-ink:#fff3ef}.image-topics .heraldic.green{--frame:#167442;--frame-ink:#f0fff5}.image-topics .heraldic.gold{--frame:#d3ac51;--frame-ink:#292310}
.image-topics .heraldic img{grid-row:1;min-height:0}.image-topics .heraldic .topic-caption{bottom:66px;padding:40px 15px 13px}.color-meaning{grid-row:2;color:var(--frame-ink);background:var(--frame);padding:10px 9px 8px;display:flex;flex-direction:column;justify-content:center;gap:5px;position:relative;z-index:1}.color-meaning strong{font:600 11px/1.4 Arial;letter-spacing:.045em}.color-meaning span{font:11px/1.4 Arial;opacity:.95}.image-topics .heraldic:hover{border-color:var(--frame);background:var(--frame);box-shadow:0 14px 30px #0004,0 0 20px color-mix(in srgb,var(--frame) 45%,transparent)}
@media(max-width:900px){.image-topics{gap:12px}.image-topics .heraldic{height:265px;grid-template-rows:minmax(0,1fr) 78px}.image-topics .heraldic .topic-caption{bottom:78px;padding-left:10px;padding-right:10px}.color-meaning{padding:8px 6px}.color-meaning strong,.color-meaning span{font-size:10px}}
@media(max-width:640px){.image-topics .heraldic,.image-topics .heraldic:last-child{display:grid;height:192px;grid-template-rows:minmax(0,1fr) 56px;aspect-ratio:auto;border-width:5px}.image-topics .heraldic .topic-caption{bottom:56px;padding:28px 8px 8px}.image-topics .heraldic h2{font-size:19px}.image-topics .heraldic p{font-size:10px}.color-meaning{padding:5px;gap:3px}.color-meaning strong{font-size:9px;letter-spacing:0}.color-meaning span{font-size:9px}.home-intro{margin-bottom:14px}.home-intro h1{font-size:30px;margin:10px 0}.home-intro p{font-size:13px}.home-screen{padding:10px 18px 12px}.mailbox-link strong{font-size:14px}.mailbox-link small{font-size:10px}}
@media(max-height:700px) and (min-width:641px){.image-topics .heraldic{height:245px}.home-intro h1{font-size:38px}}
@media(max-height:680px) and (max-width:640px){.image-topics .heraldic,.image-topics .heraldic:last-child{height:172px}.home-intro h1{font-size:27px}.home-intro .eyebrow{font-size:8px}.home-intro{margin-bottom:12px}}
.image-topics .heraldic,.image-topics .heraldic:last-child{grid-template-columns:minmax(0,1fr);gap:0}.image-topics .heraldic img,.color-meaning{grid-column:1}
@media(max-width:640px){.image-topics .heraldic,.image-topics .heraldic:last-child{grid-template-columns:minmax(0,1fr);height:176px;gap:0}.home-intro h1{font-size:28px}.home-intro{margin-bottom:12px}.home-intro .eyebrow{font-size:8px}.home .brand img{height:42px}.home header{padding-top:10px;padding-bottom:10px}}
.music-section{padding-top:30px;padding-bottom:55px;max-width:960px}.music-player{background:#ffffff09;border:1px solid #d3ac5160;border-top:4px solid #d3ac51;border-radius:4px;padding:22px 25px;margin-bottom:25px;position:sticky;top:0;z-index:2;backdrop-filter:blur(16px)}.music-player h2{font-size:27px;margin:8px 0 17px}.music-player audio{width:100%;display:block}.music-player p{font-size:13px;margin-bottom:0;color:#d6e4ef}.music-section>label{display:block;font-size:14px;margin-bottom:7px}.music-section>input{width:100%;background:#ffffff0a;color:white;border:1px solid #ffffff40;border-radius:3px;padding:12px;font:16px Arial}.music-section>input::placeholder{color:#b5c8d9}#hymn-count{font-size:14px;color:#d7c392}.hymn-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 5px;border-bottom:1px solid #ffffff20}.hymn-row.playing{background:#d3ac511a;border-left:3px solid #d3ac51;padding-left:12px}.hymn-row .button{padding:7px 15px;flex-shrink:0}.hymn-row>span{font:18px/1.4 Georgia}.heraldic.green h2{font-size:23px!important}@media(max-width:640px){.heraldic.green h2{font-size:17px!important}.music-player{padding:17px}.music-player h2{font-size:23px}.hymn-row>span{font-size:16px}.hymn-row{gap:12px}.music-section{padding-top:24px}}
/* Títulos únicamente en la franja inferior de color */
.topic-label{padding:12px 15px;gap:5px}.image-topics .heraldic .topic-label h2{color:var(--frame-ink);font:normal 25px/1.15 Georgia,serif;margin:0}.image-topics .heraldic .topic-label p{color:var(--frame-ink);font:13px/1.4 Arial;margin:0;opacity:.95}.image-topics .heraldic.green .topic-label h2{font-size:22px!important}.image-topics .heraldic{grid-template-rows:minmax(0,1fr) 76px}
@media(max-width:900px){.image-topics .heraldic .topic-label h2{font-size:21px}.image-topics .heraldic.green .topic-label h2{font-size:19px!important}.topic-label{padding:10px}.image-topics .heraldic .topic-label p{font-size:12px}}
@media(max-width:640px){.image-topics .heraldic,.image-topics .heraldic:last-child{grid-template-rows:minmax(0,1fr) 62px}.image-topics .heraldic .topic-label h2{font-size:20px}.image-topics .heraldic.green .topic-label h2{font-size:17px!important}.image-topics .heraldic .topic-label p{font-size:11px}.topic-label{padding:7px 8px;gap:4px}}
/* Copyright alineado con la segunda línea del buzón */
footer,.home footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:12px 4%;column-gap:20px}footer>small,.home footer>small{display:block;white-space:nowrap;text-align:right;align-self:end;margin-bottom:8px;font-size:12px}.mailbox-link{max-width:none}.home-intro h1{margin-top:0}.home-intro p{max-width:650px;margin-left:auto;margin-right:auto}
@media(max-width:900px){footer,.home footer{padding-left:3%;padding-right:3%;column-gap:14px}.mailbox-link small{max-width:550px}.home footer>small{font-size:11px}}
@media(max-width:640px){footer,.home footer{grid-template-columns:minmax(0,1fr) auto;padding:10px 14px;gap:8px}.mailbox-link{gap:7px}.mailbox-link img{width:34px;height:34px}.mailbox-link strong{font-size:13px}.mailbox-link small{font-size:10px;line-height:1.35}.home footer>small,footer>small{font-size:9px;margin-bottom:0;white-space:normal;max-width:72px}.home-intro p{font-size:13px;max-width:300px}}
/* Colores del rótulo central */
.home-intro h1{color:#f4ce57}.home-intro h1 em{color:#68d58b}.home-intro p{color:#ffffff}
/* La Biblia toma el tamaño principal del rótulo */
.home-intro h1{font-size:clamp(48px,5.5vw,76px)}.home-intro h1 em{display:inline-block;font-size:.72em;line-height:1.15}
@media(max-width:640px){.home-intro h1{font-size:39px}.home-intro h1 em{font-size:28px}}
@media(max-height:700px) and (min-width:641px){.home-intro h1{font-size:49px}}
@media(max-height:680px) and (max-width:640px){.home-intro h1{font-size:35px}.home-intro h1 em{font-size:25px}}
/* Separadores rojos del escudo */
header{border-bottom:1px solid #b32223}footer,.home footer{border-top:1px solid #b32223}
header{border-bottom-width:.5px}footer,.home footer{border-top-width:.5px}
/* Ajustes de cabecera y retorno a portada */
.brand img,.home .brand img{width:56px;height:74px}nav a[hidden]{display:none!important}
@media(max-width:640px){.home .brand img,.brand img{width:40px;height:52px}.home .brand small,.brand small{font-size:7px;letter-spacing:.06em}.home .brand span,.brand span{font-size:16px}header{gap:12px}header nav{gap:15px}header nav a{font-size:13px}.home header{padding-left:14px;padding-right:14px}}
@media(max-width:640px){.home-screen{padding-top:8px;padding-bottom:8px}}
/* Quatre salidas: escudo de Inicio y los otros tres temas */
nav .section-exit{padding:9px 15px;border:1px solid #ffffff40;border-radius:3px;font-size:14px;line-height:1.3;background:#ffffff08}nav .section-exit.red{border-bottom:3px solid #b32223}nav .section-exit.silver{border-bottom:3px solid #dededb}nav .section-exit.gold{border-bottom:3px solid #d3ac51}nav .section-exit.green{border-bottom:3px solid #167442}nav .section-exit:hover{background:#ffffff16;color:white}body:not(.home) header{gap:20px}body:not(.home) nav{gap:12px}
@media(max-width:640px){body:not(.home) header{flex-wrap:wrap;gap:12px;padding:12px 16px}body:not(.home) nav{display:flex!important;width:100%!important;gap:8px}nav .section-exit{flex:1;text-align:center;padding:8px 9px;font-size:13px}body:not(.home) .brand img{width:40px;height:52px}}
/* Cabecera: título a la izquierda, cuatro botones iguales a la derecha */
header .section-heading{font:normal 32px/1.15 Georgia,serif;color:#f5f0e5}body:not(.home) nav:has(.shield-exit){display:grid!important;grid-template-columns:repeat(4,92px);gap:10px}nav:has(.shield-exit) .section-exit{width:92px;height:72px;padding:8px 4px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;font-size:14px;border:1px solid #ffffff40;border-bottom-width:3px}.shield-exit{flex-direction:column;gap:3px;border-bottom-color:#dededb!important}.shield-exit img{width:25px;height:35px;object-fit:contain;filter:drop-shadow(1px 2px 2px #0007)}.shield-exit span{font-size:12px}
@media(max-width:900px){header .section-heading{font-size:27px}body:not(.home) nav:has(.shield-exit){grid-template-columns:repeat(4,78px)}nav:has(.shield-exit) .section-exit{width:78px;height:68px;font-size:13px}}
@media(max-width:640px){body:not(.home) header{display:flex;flex-direction:column;align-items:stretch;gap:15px}header .section-heading{font-size:27px}body:not(.home) nav:has(.shield-exit){width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}nav:has(.shield-exit) .section-exit{width:100%;height:65px;font-size:12px;padding:7px 3px}.shield-exit img{height:31px;width:23px}}
/* Botones a la altura visual de las mayúsculas del título */
body:not(.home) nav:has(.shield-exit){grid-template-columns:repeat(4,92px);align-items:center}nav:has(.shield-exit) .section-exit{height:23px;min-height:0;padding:0 8px;font-size:12px;line-height:1;border-bottom-width:2px;border-radius:2px}.shield-exit{flex-direction:row;gap:0}.shield-exit span{font-size:12px}
@media(max-width:900px){body:not(.home) nav:has(.shield-exit){grid-template-columns:repeat(4,78px)}nav:has(.shield-exit) .section-exit{height:19px;padding:0 4px;font-size:11px}.shield-exit span{font-size:11px}}
@media(max-width:640px){body:not(.home) nav:has(.shield-exit){grid-template-columns:repeat(4,minmax(0,1fr))}nav:has(.shield-exit) .section-exit{height:19px;width:100%;padding:0 3px;font-size:11px}body:not(.home) header{gap:12px}}
nav:has(.shield-exit) .section-exit,nav:has(.shield-exit) .shield-exit{border:1px solid #ffffff40!important;box-shadow:none}nav:has(.shield-exit) .section-exit:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #0005;background:#071c35}
/* La Biblia original conserva íntegros su contenido y sus funciones */
body.bible-view{height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}body.bible-view header,body.bible-view .preview,body.bible-view footer{flex-shrink:0}body.bible-view main{flex:1;min-height:0;display:flex;padding:0}iframe.original-bible{width:100%;height:100%;display:block;flex:1;border:0;background:#07111f}
/* Azul brillante de referencia: degradado limpio, sin ondas ni dibujos */
:root{--blue:#202dcc;--white:#202dcc;--silver:#182496}
body{background:linear-gradient(135deg,#263ee8 0%,#202dca 38%,#151b93 72%,#0d125d 100%);background-attachment:fixed}
header{background:#131b7526}
.preview{background:#0d125d40}
footer,.home footer{background:#0d125d38}
dialog,#question-dialog{background:#18258d}
.reader select{background:#202da6}
.music-player{background:#111a706b}
/* Portada completa dentro de la pantalla */
body{background:radial-gradient(ellipse at 48% 35%,#152fdf 0%,transparent 68%),linear-gradient(125deg,#111b9d 0%,#111baf 52%,#090e66 100%)}
body.home{height:100svh;min-height:0;overflow:hidden}
body.home header,body.home footer,body.home .preview{flex-shrink:0}
body.home main{min-height:0;overflow:hidden;align-items:stretch}
body.home .home-screen{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(8px,2vh,22px) 35px;gap:clamp(10px,3vh,26px)}
body.home .home-intro{flex-shrink:0;margin:0}
body.home .home-intro h1{font-size:clamp(38px,7.5vh,70px);margin:0 0 12px}
body.home .home-intro p{font-size:clamp(13px,2vh,17px)}
body.home .image-topics{min-height:0;height:min(300px,40vh);flex-shrink:1}
body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) 76px}
body.home .image-topics .heraldic img{height:100%;width:100%;object-fit:cover}
@media(max-width:640px){body.home .home-screen{padding:8px 18px;gap:12px}body.home .home-intro h1{font-size:clamp(28px,5vh,39px)}body.home .home-intro h1 em{font-size:.72em}body.home .image-topics{height:auto;flex:1;max-height:400px;grid-template-rows:repeat(2,minmax(0,1fr))}body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{grid-template-rows:minmax(0,1fr) 56px}body.home .image-topics .topic-label h2{font-size:18px}body.home .image-topics .topic-label p{font-size:10px}}
/* Luz azul concentrada detrás del título principal */
body{background:radial-gradient(ellipse at 50% 32%,#244bff 0%,#1938eb 23%,#1123b8 53%,#0b137c 82%,#090f66 100%);background-attachment:fixed}
/* Foco luminoso detrás de las fichas, título sobre azul profundo */
body{background:radial-gradient(ellipse at 50% 65%,#6683ff 0%,#3155ff 17%,#1939e8 36%,#101fa5 65%,#090f66 100%);background-attachment:fixed}
.home-intro h1 em{color:#71ed92;text-shadow:0 2px 3px #07134d60}
/* Colores más vivos y foco luminoso más recogido */
:root{--gold:#ffda59;--green:#24bd67;--red:#e02a32}
body{background:radial-gradient(ellipse 36% 33% at 50% 65%,#7490ff 0%,#3d61ff 24%,#203eef 52%,transparent 100%),linear-gradient(125deg,#111ea8,#1527c5 52%,#0b137e);background-attachment:fixed}
.home-intro h1{color:#ffda59}
.home-intro h1 em{color:#24bd67;text-shadow:0 1px 2px #06144990}
.image-topics .heraldic.red{--frame:#e02a32;--frame-ink:#fff}
.image-topics .heraldic.green{--frame:#24bd67;--frame-ink:#072d18}
.image-topics .heraldic.gold{--frame:#efc64e;--frame-ink:#302505}
.image-topics .heraldic.silver{--frame:#f0f2f6;--frame-ink:#182d44}
.image-topics .heraldic img{filter:saturate(1.12) brightness(1.04)}
.mailbox-link strong{color:#ffda79}
/* Azul más luminoso y saturado, con foco compacto entre las fichas */
body{background:radial-gradient(ellipse 36% 33% at 50% 65%,#829aff 0%,#4a6cff 24%,#294cff 52%,transparent 100%),linear-gradient(125deg,#182bc9,#203aeb 52%,#101e9e);background-attachment:fixed}
/* Portada más descansada: azul profundo y luz central suave */
body.home{background:radial-gradient(ellipse 36% 33% at 50% 65%,#3858d4 0%,#2442c1 24%,#182d9e 52%,transparent 100%),linear-gradient(125deg,#101c79,#17288f 52%,#0a1258);background-attachment:fixed}
/* Brillo localizado sobre el azul profundo */
body.home{background:radial-gradient(ellipse 27% 23% at 50% 65%,#607ae3 0%,#3653c3 26%,#213b9f 56%,transparent 100%),linear-gradient(125deg,#101c79,#17288f 52%,#0a1258);background-attachment:fixed}
/* Azul vivo sin foco pálido */
body.home{background:linear-gradient(125deg,#12239f 0%,#1933c5 48%,#10218e 76%,#0b176c 100%);background-attachment:fixed}
/* Azul oscuro definitivo, sin foco blanquecino */
body.home{background:linear-gradient(125deg,#101c79 0%,#17288f 52%,#0a1258 100%);background-attachment:fixed}
/* Cabecera de portada más compacta y equilibrada con el pie */
body.home header{padding-top:11px;padding-bottom:11px}
body.home .brand img{width:46px;height:61px}
@media(max-width:640px){body.home header{padding-top:7px;padding-bottom:7px}body.home .brand img{width:34px;height:44px}}
/* Copyright centrado verticalmente entre las líneas del buzón */
footer>small,.home footer>small{align-self:center;margin-bottom:0}
/* Primera frase alineada con el cuerpo del buzón */
.mailbox-link strong{position:relative;top:4px}
body:not(.home){background:linear-gradient(125deg,#101c79,#17288f 52%,#0a1258)}
.reflections-section{padding-top:28px;padding-bottom:48px}.reflections-section>label{display:block;margin-bottom:6px}.reflections-section>input{width:100%;padding:12px 15px;background:#ffffff0a;border:1px solid #ffffff45;color:white;font:16px Arial;border-radius:3px}.reflections-section>input::placeholder{color:#ccd5ec}.reflection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.reflection-card{background:#ffffff08;border:1px solid #ffffff25;border-top:4px solid #24bd67;border-radius:4px;padding:22px;display:flex;flex-direction:column}.reflection-card:hover{background:#ffffff13}.reflection-card h2{font-size:26px;margin:0 0 15px}.reflection-card p{font-size:14px;color:#dce3f3;line-height:1.6}.reflection-card span{color:#6de29a;font-size:13px;margin-top:auto}.reflection-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.reflection-toolbar>span{font-size:13px;color:#dce3f3}.reflection-body{max-width:820px;margin:auto;font:20px/1.8 Georgia,serif;color:#f3f4f8;overflow-wrap:anywhere}.reflection-body h1,.reflection-body h2,.reflection-body h3{color:#6de29a;line-height:1.3}.reflection-body p{margin:0 0 18px}.reflection-body table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:17px}.reflection-body td,.reflection-body th{padding:8px;border:1px solid #ffffff30}.reflection-body blockquote{border-left:3px solid #24bd67;padding-left:20px}.reflection-body hr{border:0;border-top:1px solid #ffffff30;margin:25px 0}@media(max-width:900px){.reflection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.reflection-grid{grid-template-columns:1fr}.reflection-body{font-size:18px}.reflection-card h2{font-size:24px}.reflection-toolbar{flex-wrap:wrap}}
.reflection-images{display:flex;flex-wrap:wrap;gap:20px;margin:25px 0}.reflection-images img{max-width:100%;max-height:300px;object-fit:contain}
body.bible-view main{position:relative}.bible-loading{position:absolute;inset:0;z-index:2;background:#101c79;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:25px;text-align:center}.bible-loading[hidden]{display:none}.bible-loading strong{font:28px Georgia,serif;color:#ffda59}.bible-loading p{margin:0;color:#e3e8f5;font-size:15px}
.contact-trap{display:none!important}#question-submit:disabled{opacity:.65;cursor:wait}

/* Catálogo de obras */
.books-section{padding:28px 0 48px}.books-tools{display:grid;grid-template-columns:auto minmax(120px,1fr) auto minmax(180px,1fr);gap:14px;align-items:center}.books-tools input,.books-tools select{width:100%;margin:0;color:white;background:#142574;border:1px solid #8294c3;padding:12px;border-radius:4px}.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.book-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;border:1px solid #5263a6;background:#0e195c;border-radius:6px;overflow:hidden;transition:transform .18s,border-color .18s}.book-card:hover{transform:translateY(-4px);border-color:#f0f2f6}.book-card:focus-visible{outline:3px solid #efc64e;outline-offset:4px}.book-cover{height:285px;padding:18px;background:linear-gradient(130deg,#172873,#0c144e);display:flex;align-items:center;justify-content:center}.book-cover img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(6px 8px 7px #0008)}.book-copy{padding:20px;display:flex;flex-direction:column;flex:1}.book-copy h2{font:26px Georgia,serif;margin:0 0 12px;color:#f0f2f6}.book-copy p{font-size:15px;line-height:1.65;margin:0 0 18px}.book-copy span{margin-top:auto;color:#efc64e}.book-detail{display:grid;grid-template-columns:minmax(180px,320px) 1fr;gap:48px;margin:30px 0}.book-detail>img{width:100%;max-height:520px;object-fit:contain;filter:drop-shadow(8px 12px 10px #0007)}.book-detail h2{font:36px Georgia,serif}.book-detail p{line-height:1.8}.book-spec{color:#c7d3ee}.bible-editions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}.bible-editions section{padding:20px;border:1px solid #8795bf;border-radius:4px;background:#14216b}.bible-editions h3{margin:0;font:24px Georgia,serif}.bible-editions strong{color:#ffda59;font-size:24px}
@media(max-width:1100px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.books-tools{grid-template-columns:1fr}.book-detail{gap:24px;grid-template-columns:210px 1fr}}@media(max-width:520px){.books-grid{grid-template-columns:1fr}.book-cover{height:320px}.book-detail{grid-template-columns:1fr}.book-detail>img{max-height:350px}.bible-editions{grid-template-columns:1fr}}
main:has(#books-content) .page-head{padding:24px 0}main:has(#books-content) .page-head h1{font-size:38px;margin:10px 0}main:has(#books-content) .page-head p{margin:8px 0}.books-section{padding-top:22px}

.book-price{font:700 34px Georgia,serif;color:#ffda59;margin:24px 0}

#book-sample{width:min(900px,95vw);max-width:95vw;height:92svh;max-height:92svh;padding:18px;color:#fff;background:#101c69;border:1px solid #8a9bcc;box-sizing:border-box}#book-sample[open]{display:flex;flex-direction:column}.sample-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sample-header h2{font:24px Georgia;margin:0}.sample-header button{font-size:28px;padding:0 12px}.sample-help{font-size:14px;margin:12px 0}.sample-scroll{overflow:auto;flex:1;min-height:0}.sample-page{position:relative;width:min(100%,580px);margin:auto}.sample-page img{width:100%;display:block;transform-origin:left center}.sample-zone{position:absolute;top:0;bottom:0;width:25%;border:0;background:transparent;box-shadow:none;border-radius:0}.sample-zone:hover{background:#18277c12}.sample-zone.previous{left:0}.sample-zone.next{right:0}.sample-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px}.sample-controls button{padding:9px 14px}.sample-controls button:disabled{opacity:.4}.turning{animation:page-turn .28s ease-out}@keyframes page-turn{from{transform:perspective(1000px) rotateY(-12deg);opacity:.65}to{transform:perspective(1000px) rotateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.turning{animation:none}}@media(max-width:520px){#book-sample{padding:12px}.sample-header h2{font-size:20px}.sample-controls{font-size:14px}.sample-controls button{padding:8px}}

.bible-editions section{display:grid;grid-template-rows:2.4em 1fr auto;gap:18px;align-items:start}.bible-editions h3{line-height:1.2}.bible-editions section p{margin:0;min-height:5.4em}.bible-editions strong{align-self:end;line-height:1.2}

.author-biography{display:grid;grid-template-columns:280px minmax(0,1fr);gap:52px;padding:36px 0 52px;align-items:start}.author-portrait{width:100%;height:auto;display:block;border:1px solid #c3cbe0;border-radius:5px;box-shadow:0 12px 28px #0005}.author-caption{font-size:14px;color:#d1d9f2;text-align:center;line-height:1.6}.author-biography article{max-width:760px}.author-biography article p{font-size:18px;line-height:1.8;margin:16px 0 24px}.author-biography h2{font:30px Georgia,serif;color:#ffda59;margin:30px 0 10px}@media(max-width:800px){.author-biography{grid-template-columns:200px minmax(0,1fr);gap:26px}}@media(max-width:600px){.author-biography{grid-template-columns:1fr}.author-biography aside{max-width:240px;margin:auto}.author-biography article p{font-size:17px}}

.author-doctrine-intro{padding:28px;border-left:3px solid #efc64e;margin-top:28px;background:#101c69}.author-doctrine-intro h2,.doctrine-section h2{font:34px Georgia,serif;color:#ffda59;margin:12px 0}.author-doctrine-intro p{line-height:1.7}.doctrine-section{padding:36px 0 52px;scroll-margin-top:20px}.doctrine-body{max-width:900px}.doctrine-body p{font-size:18px;line-height:1.85;margin:22px 0;padding-left:18px;border-left:1px solid #6679b5}@media(max-width:600px){.doctrine-body p{font-size:17px}.author-doctrine-intro{padding:20px}}

#close-site{flex:none;width:30px;height:30px;padding:0;margin-left:14px;border:1px solid #b9c4db;color:#f0f2f6;background:transparent;font:26px/1 Arial;box-shadow:none}#close-site:hover{background:#ffffff18}#close-help{max-width:480px;background:#101c69;color:#fff;padding:28px;border:1px solid #aebbd9}#close-help p{line-height:1.7}

#fullscreen-site{flex:none;width:30px;height:30px;padding:0;margin-left:12px;border:1px solid #b9c4db;color:#f0f2f6;background:transparent;font:23px/1 Arial;box-shadow:none}#fullscreen-help{max-width:480px;background:#101c69;color:#fff;padding:28px;border:1px solid #aebbd9}#fullscreen-help p{line-height:1.7}:fullscreen{background:#101c79}

header #fullscreen-site{margin-left:5.5ch;order:3}header #nav{margin-left:auto}header{column-gap:0}

.author-belief-action{padding-top:24px}.belief-button{display:flex;flex-direction:column;gap:10px;text-align:left;padding:18px 26px;background:#101c69;border:1px solid #efc64e;color:#fff;max-width:100%}.belief-button strong{font:28px Georgia,serif;color:#ffda59}.belief-button>span:last-child{font-size:15px;color:#dce4f7}#author-beliefs-dialog{box-sizing:border-box;width:min(900px,94vw);max-height:88svh;padding:30px;background:#101c69;color:#fff;border:1px solid #b9c4db;overflow:auto}#author-beliefs-dialog h2{font:32px Georgia,serif;color:#ffda59}.belief-close{float:right;width:34px;height:34px;padding:0;font-size:26px;color:#f0f2f6;background:transparent;border:1px solid #b9c4db}@media(max-width:600px){#author-beliefs-dialog{padding:20px}.belief-button{width:100%}}

@media(min-width:700px){body.author-view{height:100svh;min-height:0;overflow:hidden;display:flex;flex-direction:column}body.author-view>header,body.author-view>footer{flex:none}body.author-view>main{flex:1;min-height:0;display:flex;flex-direction:column}body.author-view .page-head{flex:none;padding:16px 0}body.author-view .page-head>.wrap{position:relative;min-height:94px;padding-right:290px}body.author-view .page-head h1{font-size:clamp(30px,3vw,42px);margin:8px 0}body.author-view .page-head p{font-size:15px;margin:6px 0}body.author-view .author-belief-action{position:absolute;right:0;top:0;width:auto;padding:0;margin:0}body.author-view .belief-button{padding:12px 18px;gap:7px}body.author-view .belief-button strong{font-size:24px}body.author-view .belief-button .eyebrow{font-size:11px}body.author-view .author-biography{flex:1;min-height:0;grid-template-columns:clamp(145px,17vw,215px) minmax(0,1fr);gap:30px;padding:16px 0;align-content:center}body.author-view .author-biography article{max-width:none}body.author-view .author-biography article p{font-size:clamp(13px,1.2vw,16px);line-height:1.4;margin:7px 0 10px}body.author-view .author-biography h2{font-size:24px;margin:13px 0 6px}body.author-view .author-caption{font-size:12px;margin:8px 0}body.author-view .author-biography .button{padding:9px 14px}body.author-view footer{padding-top:10px;padding-bottom:10px}}
@media(min-width:700px) and (max-height:760px){body.author-view .page-head{padding:10px 0}body.author-view .page-head>.wrap{min-height:80px}body.author-view .author-biography{padding:8px 0;gap:24px;grid-template-columns:155px minmax(0,1fr)}body.author-view .author-biography article p{font-size:13px;line-height:1.3;margin:5px 0 7px}body.author-view .author-biography h2{font-size:21px;margin:9px 0 5px}body.author-view .author-biography .eyebrow{font-size:11px}}





.author-biography>aside{align-self:center}

.author-biography h2.author-subtitle,body.author-view .author-biography h2.author-subtitle{font-family:inherit;font-size:11px;font-weight:700;letter-spacing:.18em;line-height:1.4;color:var(--gold);margin:15px 0 7px;text-transform:uppercase}

.author-biography article>span.eyebrow,.author-biography h2.author-subtitle,body.author-view .author-biography h2.author-subtitle{font-size:12px;letter-spacing:.19em;font-family:inherit;font-weight:700;line-height:1.4}@media(min-width:700px) and (max-height:760px){body.author-view .author-biography article>span.eyebrow,body.author-view .author-biography h2.author-subtitle{font-size:11px}}


.author-biography h2.author-subtitle,body.author-view .author-biography h2.author-subtitle{font:normal 24px/1.2 Georgia,serif;letter-spacing:normal;text-transform:none;color:#ffda59;margin:13px 0 6px}@media(min-width:700px) and (max-height:760px){body.author-view .author-biography h2.author-subtitle{font-size:21px;margin:9px 0 5px}}

body.author-view .page-head>.wrap>.eyebrow{font:normal 24px/1.2 Georgia,serif;letter-spacing:normal;color:#ffda59}


body.author-view .page-head>.wrap>.eyebrow{text-transform:none}


/* Identidad tipográfica clásica compartida */
.eyebrow,body.author-view .belief-button .eyebrow,body.author-view .author-biography .eyebrow{font-family:Georgia,serif;font-size:21px;font-weight:normal;letter-spacing:normal;text-transform:none;line-height:1.25;color:#ffda59}
#author-beliefs-dialog[open]{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:88svh}.belief-dialog-header{flex:none;padding:20px 26px 12px;background:#101c69;border-bottom:1px solid #a12635}.belief-dialog-header h2{margin:10px 0}.belief-dialog-header .eyebrow{font-size:19px;display:block;padding-right:45px}#author-beliefs-dialog .doctrine-body{overflow-y:auto;min-height:0;padding:4px 26px 22px;overscroll-behavior:contain}.belief-close{position:relative;float:right;z-index:1}.home-intro .eyebrow{font-family:Georgia,serif;letter-spacing:normal;text-transform:none}@media(max-width:600px){.belief-dialog-header{padding:16px 18px 10px}#author-beliefs-dialog .doctrine-body{padding:4px 18px 20px}.belief-dialog-header .eyebrow{font-size:17px}.belief-dialog-header h2{font-size:26px}} 

body.author-view .page-head>.wrap>.eyebrow,body.author-view .belief-button .eyebrow{font:normal 24px/1.2 Georgia,serif;letter-spacing:normal;text-transform:none}@media(min-width:700px) and (max-height:760px){body.author-view .page-head>.wrap>.eyebrow,body.author-view .belief-button .eyebrow{font-size:21px}}


body.author-view header #nav{display:flex;flex-wrap:nowrap;gap:8px;width:auto}body.author-view header #nav .section-exit{flex:0 0 auto;width:76px;min-width:0;padding:0 4px;white-space:nowrap}body.author-view header #nav .section-exit.green{width:88px}@media(max-width:1000px){body.author-view header #nav{gap:5px}body.author-view header #nav .section-exit{width:62px;font-size:11px}body.author-view header #nav .section-exit.green{width:76px}body.author-view header #fullscreen-site{margin-left:14px}}


body.author-view header #nav{display:flex!important;width:auto!important;flex-wrap:nowrap!important;grid-template-columns:none!important;flex:0 0 auto}body.author-view header #nav .section-exit{height:23px;flex:0 0 auto}body.author-view header{flex-wrap:nowrap}


/* Una misma familia tipográfica en todas las cabeceras */
header .brand,header .brand small,header .section-heading,header #nav a,body.author-view header #nav .section-exit{font-family:Georgia,serif}header .brand small{letter-spacing:.06em}header #nav a,body.author-view header #nav .section-exit{font-size:14px}@media(max-width:1000px){body.author-view header #nav .section-exit{font-size:12px}}body.author-view .page-head p,body.author-view .belief-button>span:last-child{font-family:Georgia,serif}
/* Reseña con columnas equilibradas */
@media(min-width:900px){body.author-view .author-biography{width:min(1000px,88%);grid-template-columns:190px minmax(0,1fr);gap:48px;padding:16px 0;margin-left:auto;margin-right:auto;align-content:center}body.author-view .author-biography article p{text-align:justify;text-justify:inter-word;hyphens:auto;font-size:15px;line-height:1.45;margin:8px 0 12px}body.author-view .author-biography h2.author-subtitle{margin:12px 0 7px}body.author-view .author-biography>aside{align-self:center}}
@media(min-width:900px) and (max-height:760px){body.author-view .author-biography{grid-template-columns:170px minmax(0,1fr);gap:38px;width:min(960px,88%)}body.author-view .author-biography article p{font-size:13px;line-height:1.4;margin:7px 0 10px}body.author-view .author-biography h2.author-subtitle{margin:10px 0 6px}}

/* Familia tipográfica única en toda la web */
body,body *{font-family:Georgia,'Times New Roman',serif!important}

/* Párrafos justificados en todos los artículos */
.reflection-body p,.reflection-body blockquote,.reflection-body li{text-align:justify!important;text-justify:inter-word;hyphens:auto}
/* Página entera por defecto; ampliación elegida por el lector */
#book-sample{overflow:hidden}#book-sample .sample-header,#book-sample .sample-help,#book-sample .sample-mode,#book-sample .sample-controls{flex:none}.sample-mode{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:14px}.sample-mode select{max-width:100%;padding:4px 8px;background:#152578;color:#fff;border:1px solid #8a9bcc}#book-sample .sample-scroll{overflow:hidden;display:flex;min-height:0}#book-sample .sample-page{height:100%;width:100%;max-width:100%;margin:0 auto;display:flex;justify-content:center;min-height:0}#book-sample .sample-page img{height:100%;width:100%;object-fit:contain}#book-sample.reading-zoom .sample-scroll{overflow-y:auto;display:block}#book-sample.reading-zoom .sample-page{height:auto;width:min(100%,780px);display:block;margin:auto}#book-sample.reading-zoom .sample-page img{height:auto;object-fit:initial}@media(max-width:520px){.sample-help{font-size:12px;margin:8px 0}.sample-mode{font-size:12px;gap:6px}.sample-mode select{font-size:12px}}
/* Lector vertical con controles en los márgenes */
#book-sample{position:fixed;inset:0;margin:auto;width:min(1100px,100vw);max-width:100vw;height:100svh;max-height:100svh;padding:0 110px;overflow:hidden}#book-sample .sample-scroll{position:absolute;inset:0 110px;display:block;height:100%;z-index:1}#book-sample .sample-page{height:100%;width:100%;max-width:none;margin:0}#book-sample .sample-page img{height:100%;width:100%;object-fit:contain}#book-sample .sample-header{position:absolute;left:8px;top:12px;width:94px;display:flex;flex-direction:column;align-items:stretch;gap:12px;z-index:3}#book-sample .sample-header h2{font-size:17px;line-height:1.2;overflow-wrap:anywhere}#book-sample .sample-header button{width:38px;height:38px;padding:0;font-size:25px;align-self:center}#book-sample .sample-help{display:none}#book-sample .sample-mode{position:absolute;right:8px;top:12px;width:94px;display:flex;flex-direction:column;align-items:stretch;z-index:3}#book-sample .sample-mode select{width:94px;padding:5px 2px;font-size:12px}#book-sample .sample-controls{padding:0;position:static}#book-sample #sample-prev,#book-sample #sample-next{position:absolute;top:50%;transform:translateY(-50%);width:94px;padding:10px 2px;font-size:14px;z-index:3}#book-sample #sample-prev{left:8px}#book-sample #sample-next{right:8px}#book-sample #sample-count{position:absolute;right:8px;bottom:20px;width:94px;text-align:center;z-index:3}#book-sample.reading-zoom .sample-scroll{display:block;overflow-y:auto}#book-sample.reading-zoom .sample-page{height:auto;width:100%;display:block}#book-sample.reading-zoom .sample-page img{height:auto;width:100%}#book-sample:fullscreen,#book-sample.reader-expanded{width:100vw;max-width:100vw;height:100svh;max-height:100svh;border:0}@media(max-width:600px){#book-sample{padding:0 55px}#book-sample .sample-scroll{inset:0 55px}#book-sample .sample-header,#book-sample .sample-mode{width:47px;left:4px}#book-sample .sample-header h2{font-size:12px}#book-sample .sample-mode{left:auto;right:4px;font-size:11px}#book-sample .sample-mode select{width:47px;font-size:10px}#book-sample #sample-prev,#book-sample #sample-next{width:47px;font-size:11px;overflow-wrap:anywhere}#book-sample #sample-prev{left:4px}#book-sample #sample-next{right:4px}#book-sample #sample-count{width:47px;right:4px;font-size:12px}}

body:has(#book-sample[open]){overflow:hidden}

/* Libro abierto en pantallas horizontales; hoja única en vertical */
#book-sample{width:100vw;max-width:100vw;padding:0 66px;border:0}#book-sample .sample-scroll{inset:0 66px}#book-sample .sample-page{display:flex;align-items:stretch;justify-content:center;gap:0}#book-sample .sample-page img{display:block;width:100%;min-width:0;height:100%;object-fit:contain}#book-sample .sample-page img[hidden]{display:none!important}#book-sample.double-page .sample-page img{width:50%}#book-sample .reader-title{position:absolute;left:7px;top:12px;width:52px;font-size:13px;line-height:1.3;overflow-wrap:anywhere;z-index:3}#book-sample .reader-tools{position:absolute;right:9px;top:10px;display:flex;flex-direction:column;gap:9px;z-index:3}#book-sample .reader-tools button,#book-sample #sample-zoom{width:42px;height:42px;padding:0;font-size:27px;border:1px solid #aab9de;background:#152578;color:#fff}#book-sample #sample-prev,#book-sample #sample-next{width:44px;height:50px;padding:0;font-size:30px;border:1px solid #aab9de;background:#152578;color:#fff}#book-sample #sample-prev{left:10px}#book-sample #sample-next{right:10px}#book-sample #sample-count{right:4px;width:58px;font-size:13px}#book-sample #sample-zoom{position:absolute;left:10px;bottom:14px;z-index:3}#book-sample.reading-zoom .sample-page{display:flex;height:auto;width:100%;align-items:flex-start}#book-sample.reading-zoom .sample-page img{height:auto}#book-sample.reading-zoom.double-page .sample-page{min-width:1200px}@media(max-width:600px){#book-sample .sample-scroll{inset:0 44px}#book-sample .reader-title{left:3px;width:37px;font-size:10px}#book-sample .reader-tools{right:4px}#book-sample .reader-tools button,#book-sample #sample-zoom{width:34px;height:34px;font-size:23px}#book-sample #sample-prev,#book-sample #sample-next{width:34px;height:44px;font-size:25px}#book-sample #sample-prev,#book-sample #sample-zoom{left:4px}#book-sample #sample-next{right:4px}#book-sample #sample-count{width:40px;right:2px;font-size:10px}}

#book-sample.double-page:not(.reading-zoom) .sample-page img{width:auto;max-width:50%;object-fit:contain}

/* Deslizamiento horizontal para pasar hoja y vertical para leer */
#book-sample .sample-scroll,#book-sample .sample-zone{touch-action:pan-y pinch-zoom}#book-sample .sample-page img{user-select:none;-webkit-user-drag:none}
/* Feuille qui tourne au-dessus du livre */
.reader-turn-sheet{position:absolute;z-index:5;pointer-events:none;transform-style:preserve-3d;backface-visibility:hidden;background:#fff;box-shadow:0 0 10px #0004}.reader-turn-sheet img{display:block;width:100%;height:100%;object-fit:fill}.reader-turn-sheet.turn-forward{transform-origin:left center;animation:reader-forward .82s ease-in-out forwards}.reader-turn-sheet.turn-backward{transform-origin:right center;animation:reader-backward .82s ease-in-out forwards}@keyframes reader-forward{0%{transform:perspective(1600px) rotateY(0);filter:brightness(1)}45%{filter:brightness(.72)}100%{transform:perspective(1600px) rotateY(-175deg);filter:brightness(.9)}}@keyframes reader-backward{0%{transform:perspective(1600px) rotateY(0);filter:brightness(1)}45%{filter:brightness(.72)}100%{transform:perspective(1600px) rotateY(175deg);filter:brightness(.9)}}

/* Unión central de las dos hojas */
#book-sample.double-page .sample-page::after{content:'';position:absolute;left:50%;top:0;bottom:0;width:1px;background:#796c5a66;box-shadow:-2px 0 5px #0002,2px 0 5px #0002;z-index:2;pointer-events:none}#book-sample.double-page.reading-zoom .sample-page::after{height:100%}
/* Tapas gruesas y lomo del libro abierto */
#book-sample:not(.reading-zoom) .sample-scroll{inset:8px 66px;height:calc(100% - 16px)}#book-sample:not(.reading-zoom) .sample-page{width:fit-content;max-width:100%;padding:7px;background:#684329;border:2px solid #ae875b;border-radius:3px;box-shadow:0 3px 0 #432817,0 6px 0 #25180f,0 9px 16px #0008;overflow:visible}#book-sample:not(.reading-zoom) .sample-page img{width:auto;max-width:100%;height:100%;min-width:0;object-fit:contain;background:#fff}#book-sample.double-page:not(.reading-zoom) .sample-page img{max-width:50%;width:auto}#book-sample.double-page:not(.reading-zoom) .sample-page::after{top:7px;bottom:7px;width:3px;background:linear-gradient(90deg,#46301c88,#a5855888,#46301c88);box-shadow:-3px 0 8px #0003,3px 0 8px #0003}#book-sample:not(.reading-zoom) .sample-page::before{content:'';position:absolute;inset:-2px;border:2px solid #d7b58077;border-radius:3px;pointer-events:none;z-index:2}@media(max-width:600px){#book-sample:not(.reading-zoom) .sample-scroll{inset:6px 44px;height:calc(100% - 12px)}#book-sample:not(.reading-zoom) .sample-page{padding:4px}}

#book-sample[data-book='obra-12']:not(.reading-zoom) .sample-page{background-image:url('assets/portadas/rufino-cubierta-completa.jpg');background-size:100% 100%;background-position:center}

#book-sample:not(.reading-zoom) .sample-page{margin:0 auto}

/* Cartón continuo entre el borde exterior y las hojas */
#book-sample:not(.reading-zoom) .sample-page,#book-sample[data-book='obra-12']:not(.reading-zoom) .sample-page{background:#987044;background-image:none;border-color:#cba36b}#book-sample:not(.reading-zoom) .sample-page::before{border-color:#cba36b}

/* Papel de encuadernación marrón dorado con relieve arrugado */
#book-sample:not(.reading-zoom) .sample-page,#book-sample[data-book='obra-12']:not(.reading-zoom) .sample-page{background-color:#987044;background-image:url('assets/carton-arrugado.svg');background-size:160px 160px;background-repeat:repeat}
/* Luz de lectura sobre las páginas, con preferencia guardada */
#book-sample[data-light='warm'] .sample-page img,#book-sample[data-light='warm'] .reader-turn-sheet img{filter:sepia(.32) brightness(.87)}#book-sample[data-light='white'] .sample-page img,#book-sample[data-light='white'] .reader-turn-sheet img{filter:none}#book-sample[data-light='night'] .sample-page img,#book-sample[data-light='night'] .reader-turn-sheet img{filter:invert(.88) hue-rotate(180deg) brightness(.8)}

/* Papel crema fijo, sin inversión de fotografías */
#book-sample .sample-page img,#book-sample .reader-turn-sheet img{filter:sepia(.3) brightness(.81)!important}
[hidden]{display:none!important}.list-pager{display:flex;align-items:center;justify-content:center;gap:24px;margin:12px 0}.list-pager button{padding:4px 18px;background:#142574;color:#fff;border:1px solid #8192ba}.list-pager button:disabled{opacity:.35}
@media(min-width:700px){
body:has(#books-content),body:has(#hymn-list),body:has(#reflection-list){height:100svh;overflow:hidden;display:flex;flex-direction:column}
body:has(#books-content)>header,body:has(#hymn-list)>header,body:has(#reflection-list)>header{padding-top:12px;padding-bottom:12px;flex:none}
body:has(#books-content)>footer,body:has(#hymn-list)>footer,body:has(#reflection-list)>footer{padding-top:10px;padding-bottom:10px;flex:none}
body:has(#books-content)>main,body:has(#hymn-list)>main,body:has(#reflection-list)>main{flex:1;min-height:0;display:flex;flex-direction:column}
body:has(#books-content) .page-head,body:has(#hymn-list) .page-head,body:has(#reflection-list) .page-head{padding:8px 0;flex:none}
body:has(#books-content) .page-head h1,body:has(#hymn-list) .page-head h1,body:has(#reflection-list) .page-head h1{font-size:28px;margin:5px 0}
body:has(#books-content) .page-head p,body:has(#hymn-list) .page-head p,body:has(#reflection-list) .page-head p{margin:4px 0;font-size:14px}
.books-section,.music-section,body:has(#reflection-list) #reflections-content{flex:1;min-height:0;padding-top:10px;padding-bottom:8px}
body:has(.book-detail) .page-head{display:none}.book-detail{grid-template-columns:minmax(160px,28%) 1fr;gap:34px;margin:12px 0;align-items:center}.book-detail>img{height:clamp(200px,48svh,450px);max-height:48svh;width:100%;object-fit:contain}.book-detail h2{font-size:30px;margin:8px 0}.book-detail p{font-size:16px;line-height:1.4;margin:10px 0}.book-detail .book-price{font-size:28px}.book-detail .button{padding:9px 14px}.book-detail .notice{padding:10px 16px}
.books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.book-cover{height:clamp(100px,23svh,240px);padding:8px}.book-copy{padding:12px}.book-copy h2{font-size:20px;margin-bottom:6px}.book-copy p{display:none}.book-copy span{font-size:13px}.books-tools input,.books-tools select{padding:7px}.books-tools{gap:8px}#book-count,#reflection-count,#hymn-count{margin:6px 0;font-size:13px}
.reflection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reflection-card{padding:12px}.reflection-card h2{font-size:20px;margin:4px 0}.reflection-card p{display:none}.reflection-card span{font-size:13px}.music-player{padding:10px 16px;margin-bottom:8px;position:static}.music-player h2{font-size:20px;margin:4px 0 8px}.music-player p{margin:4px 0}.hymn-row{padding:6px 4px}.hymn-row>span{font-size:16px}.music-section>input{padding:7px}
.bible-editions{margin:10px 0;gap:12px}.bible-editions section{padding:10px}.bible-editions h3{font-size:20px}.bible-editions p{min-height:0!important;font-size:14px}.bible-editions strong{font-size:22px}
}

@media(min-width:700px){.music-player>.eyebrow{display:none}.hymn-row .button{padding:4px 12px}.music-player audio{height:40px}}
/* Catálogo horizontal con deslizamiento táctil */
#books-list{display:flex;overflow-x:auto;overflow-y:hidden;gap:20px;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:4px 2px 8px;touch-action:pan-x pan-y}#books-list::-webkit-scrollbar{display:none}#books-list .book-card{flex:0 0 calc((100% - 60px)/4);scroll-snap-align:start;min-width:0}#books-list .book-card:hover{transform:none}.carousel-controls{display:flex;justify-content:center;align-items:center;gap:24px;margin:10px 0}.carousel-controls button{padding:4px 20px;background:#142574;color:#fff;border:1px solid #8192ba;font-size:22px}.carousel-controls button:disabled{opacity:.35}@media(max-width:1100px){#books-list .book-card{flex-basis:calc((100% - 40px)/3)}}@media(max-width:800px){#books-list .book-card{flex-basis:calc((100% - 20px)/2)}}@media(max-width:520px){#books-list .book-card{flex-basis:85%}}
/* Carrusel con énfasis en el libro señalado */
body:has(#books-list) #books-content{position:relative;padding-left:45px;padding-right:45px}#books-list{padding-top:22px;padding-bottom:22px;align-items:stretch}#books-list .book-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;transform-origin:center center}#books-list .book-card:hover,#books-list .book-card:focus-visible{transform:scale(1.07);z-index:2;box-shadow:0 12px 24px #0007;border-color:#efc64e}.carousel-controls{margin:0;height:26px}.carousel-controls button{position:absolute;top:55%;transform:translateY(-50%);width:35px;height:70px;padding:0;background:#0d1859cc;border:0;font-size:28px;z-index:4}.carousel-controls button:first-child{left:4px}.carousel-controls button:last-child{right:4px}.carousel-controls span{font-size:13px;color:#d3dcef}@media(max-width:600px){body:has(#books-list) #books-content{padding-left:28px;padding-right:28px}.carousel-controls button{width:25px}.carousel-controls button:first-child{left:0}.carousel-controls button:last-child{right:0}}@media(prefers-reduced-motion:reduce){#books-list .book-card{transition:none}}
/* Mayor presencia de portada y texto en la ficha */
@media(min-width:700px){body:has(.book-detail) #books-content{width:min(1280px,92vw);max-width:none;margin:auto;align-self:center}.book-detail{grid-template-columns:minmax(220px,32%) 1fr;gap:clamp(28px,4vw,60px);margin:18px 0}.book-detail>img{height:clamp(280px,58svh,570px);max-height:58svh}.book-detail h2{font-size:clamp(32px,3vw,44px)}.book-detail p{font-size:clamp(17px,1.45vw,21px);line-height:1.45;margin:14px 0}.book-detail .book-price{font-size:34px}.book-detail .button{font-size:16px;padding:11px 18px}.book-detail .eyebrow{font-size:24px}.book-detail .notice{font-size:16px}.book-detail:has(.bible-editions)>img{max-height:50svh}.book-detail:has(.bible-editions) p{font-size:16px;margin:8px 0}}@media(min-width:700px) and (max-height:700px){.book-detail{margin:10px 0}.book-detail>img{height:50svh;max-height:50svh}.book-detail p{font-size:16px;margin:9px 0}.book-detail h2{font-size:30px}}

/* Cinco cubiertas y avance continuo al mantener la flecha */
#books-list{gap:16px}#books-list .book-card{flex-basis:calc((100% - 64px)/5)}#books-list.carousel-moving{scroll-snap-type:none;scroll-behavior:auto}.carousel-controls button{touch-action:none}#books-list .book-cover{padding-left:4px;padding-right:4px}#books-list .book-copy{padding:10px}#books-list .book-copy h2{font-size:19px}@media(max-width:1100px){#books-list .book-card{flex-basis:calc((100% - 48px)/4)}}@media(max-width:800px){#books-list .book-card{flex-basis:calc((100% - 16px)/2)}}@media(max-width:520px){#books-list .book-card{flex-basis:85%}}

#books-list .book-copy{text-align:center}#books-list .book-copy h2,#books-list .book-copy p,#books-list .book-copy span{text-align:center}
/* Más aire en el índice de reflexiones */
body:has(#reflection-list) .page-head{padding-top:32px;padding-bottom:18px}body:has(#reflection-list) #reflections-content{padding-top:18px}body:has(#reflection-list) #reflection-count{margin-top:16px;margin-bottom:22px}@media(min-width:700px) and (max-height:760px){body:has(#reflection-list) .page-head{padding-top:24px;padding-bottom:12px}body:has(#reflection-list) #reflections-content{padding-top:12px}body:has(#reflection-list) #reflection-count{margin-top:12px;margin-bottom:18px}}

body:has(#reflection-list) .page-head h1{display:none}

body:has(#reflection-list) #reflection-count{margin-top:32px}@media(min-width:700px) and (max-height:760px){body:has(#reflection-list) #reflection-count{margin-top:24px}}
/* Recherche à droite de l'introduction */
body:has(#reflection-list) .page-head .wrap{position:relative;padding-right:52%;min-height:80px}.reflection-search-box{position:absolute;right:30px;top:0;width:46%;display:flex;flex-direction:column;gap:8px}.reflection-search-box label{font-size:16px}.reflection-search-box input{width:100%;padding:10px 14px;background:#142574;color:#fff;border:1px solid #5263a6;border-radius:3px;font-size:16px}.reflection-search-box input::placeholder{color:#d2dbef}@media(max-width:700px){body:has(#reflection-list) .page-head .wrap{padding-right:30px}.reflection-search-box{position:static;width:100%;margin-top:18px}}
/* Todo el índice centrado verticalmente entre cabecera y pie */
@media(min-width:700px){body:has(#reflection-list)>main{justify-content:center}body:has(#reflection-list) .page-head{padding-top:0;padding-bottom:18px;background:transparent}body:has(#reflection-list) #reflections-content{flex:0 0 auto;padding-top:0;padding-bottom:0}body:has(#reflection-list) #reflection-count{margin-top:24px}body:has(#reflection-list) .list-pager{margin-bottom:0}}

@media(min-width:700px){body:has(#reflection-list) #reflections-content{margin-top:0;margin-bottom:0}body:has(#reflection-list) .page-head{margin-top:0;margin-bottom:0}}

/* Himnos en columnas con un altavoz accesible */
.music-section{max-width:1160px}#hymn-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px}.hymn-row{min-width:0;min-height:52px;gap:10px;padding:6px 8px;border-bottom:1px solid #ffffff18}.hymn-row>span{flex:1;line-height:1.25}.hymn-row .hymn-listen{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:6px;color:#f4d56a}.hymn-listen svg{width:22px;height:22px}@media(max-width:999px){#hymn-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:699px){#hymn-list{grid-template-columns:1fr}}

/* Búsqueda junto al título de los himnos */
body:has(#hymn-list) .page-head .eyebrow{display:none}body:has(#hymn-list) .page-head .wrap{position:relative;padding-right:52%;min-height:88px}.music-search-box{position:absolute;right:30px;top:5px;width:46%;display:flex;flex-direction:column;gap:8px}.music-search-box label{font-size:16px}.music-search-box input{width:100%;padding:10px 14px;background:#142574;color:#fff;border:1px solid #5263a6;border-radius:3px;font-size:16px}.music-search-box input::placeholder{color:#d2dbef}.listen-inline{width:20px;height:20px;vertical-align:middle;color:#f4d56a}body:has(#hymn-list) #hymn-count{margin:14px 0 10px}@media(max-width:699px){body:has(#hymn-list) .page-head .wrap{padding-right:30px}.music-search-box{position:static;width:100%;margin-top:18px}}

/* Más himnos visibles con filas compactas */
#hymn-list{row-gap:2px}.hymn-row{min-height:34px;padding:2px 6px;gap:8px}.hymn-row>span{line-height:1.15}.hymn-row .hymn-listen{flex-basis:30px;width:30px;height:30px;padding:4px}.hymn-listen svg{width:20px;height:20px}

/* Reproductor sin textos y contador junto a la búsqueda */
.music-player #track-title,.music-player #play-status,.music-player>.eyebrow{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}.music-player audio{display:block;width:100%}.music-search-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.music-search-heading label{margin:0}body:has(#hymn-list) .music-search-heading #hymn-count{margin:0;font-size:13px;text-align:right;white-space:nowrap}.music-player{padding:12px 16px}#hymn-list{margin-top:16px}

/* Siete filas estables y conjunto centrado en el espacio disponible */
#hymn-list{grid-template-rows:repeat(7,38px);height:278px;align-content:start;row-gap:2px}.hymn-row{height:38px;min-height:0;box-sizing:border-box}.hymn-row>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px}.hymn-empty{grid-column:1/-1;margin:0}.music-section .list-pager span{display:inline-block;min-width:65px;text-align:center}
@media(min-width:700px){body:has(#hymn-list)>main{justify-content:center}body:has(#hymn-list) .page-head{background:transparent;padding-top:0;padding-bottom:12px}body:has(#hymn-list) .music-section{flex:0 0 auto;width:min(1160px,100%);box-sizing:border-box;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0}body:has(#hymn-list) .list-pager{margin-bottom:0}}

#hymn-count .hymn-count-number{position:relative;top:-.12em;font-variant-numeric:lining-nums}#hymn-count span{font-size:inherit;line-height:inherit}

/* Alinear ópticamente cifras y letras de Georgia por su borde inferior */
body:has(#hymn-list) .music-search-heading #hymn-count{display:flex;align-items:flex-end;gap:.28em}#hymn-count span{display:block;line-height:1}#hymn-count .hymn-count-number{position:static;transform:translateY(-.22em)}

body:has(#hymn-list) .music-search-heading #hymn-count{display:block;font-family:"Times New Roman",serif!important}#hymn-count span{display:inline;font-family:"Times New Roman",serif!important;line-height:normal}#hymn-count .hymn-count-number{transform:none;position:static}

/* Fichas de reflexión con dos filas de altura estable */
#reflection-list{grid-template-rows:repeat(2,112px);height:234px;align-content:start;gap:10px}.reflection-card{height:112px;min-height:0;box-sizing:border-box;display:flex;flex-direction:column}.reflection-card h2{line-height:1.15;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.reflection-card>span{margin-top:auto}body:has(#reflection-list) .list-pager span{min-width:65px;text-align:center}#reflection-list>p{grid-column:1/-1;margin:0}
@media(max-width:699px){#reflection-list{grid-template-columns:1fr}.reflection-card{padding:12px}.reflection-card h2{font-size:20px;margin:4px 0}.reflection-card p{display:none}}

.reflection-close{position:fixed;top:86px;right:clamp(18px,3vw,52px);z-index:100;display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#142574;color:#fff;border:1px solid #8192ba;text-decoration:none;font-size:32px;line-height:1;box-shadow:0 3px 12px #0004}.reflection-close:hover,.reflection-close:focus-visible{background:#253987;border-color:#efd16a;outline:2px solid #efd16a;outline-offset:2px}@media(max-width:699px){.reflection-close{top:12px;right:12px;width:40px;height:40px}body:has(.reflection-close) .reflection-body{padding-right:36px}}

/* Más espacio para las tres columnas de Eventos proféticos */
body:has(.reflection-table-wide) #reflections-content{width:min(1440px,94vw);max-width:none}.reflection-table-wide{max-width:none}.reflection-table-wide table{display:table;width:100%;table-layout:fixed;overflow:visible}.reflection-table-wide td:first-child{width:24%}.reflection-table-wide td:nth-child(2){width:56%}.reflection-table-wide td:nth-child(3){width:20%}.reflection-table-wide td{vertical-align:top;padding:12px}.reflection-table-wide td:first-child p,.reflection-table-wide td:nth-child(3) p{text-align:left!important;hyphens:none;overflow-wrap:normal}.reflection-table-wide>div{overflow-x:auto}@media(max-width:699px){.reflection-table-wide table{min-width:760px}body:has(.reflection-table-wide) .reflection-body{padding-right:0}}

@media(min-width:700px){body:has(.reflection-table-wide) #reflections-content{width:88%;max-width:none;padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}}

/* Lectura de párrafos en ventanas emergentes */
dialog p{text-align:justify;text-align-last:start;hyphens:auto;overflow-wrap:break-word}

/* Copyright en la cabecera y buzón centrado */
header .header-navigation{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}
header .site-copyright{display:block;font:12px/1.3 Georgia,serif;color:#f5f4f0;white-space:nowrap;text-align:center}
footer,.home footer{display:flex;justify-content:center;align-items:center;text-align:center}
footer .mailbox-link{margin:0 auto;justify-content:center;align-items:center;text-align:center;max-width:100%;width:auto}
footer .mailbox-link>span{text-align:center;min-width:0}
footer .mailbox-link strong{top:0}
footer .mailbox-link small{max-width:none;text-align:center}
@media(max-width:640px){header .site-copyright{font-size:10px}footer .mailbox-link{gap:10px}footer .mailbox-link small{max-width:290px}}

header .header-navigation{margin-left:auto}

/* Portada con cabecera y fichas en los mismos márgenes */
body.home{--home-gutter:clamp(18px,4vw,64px);--home-max:1600px}
body.home header{padding-inline:max(var(--home-gutter),calc((100% - var(--home-max))/2))}
body.home .home-screen{width:min(var(--home-max),calc(100% - 2*var(--home-gutter)));max-width:none;padding-inline:0}
body.home .brand span{font-size:clamp(24px,1.7vw,34px)}
body.home .brand small{font-size:clamp(10px,.75vw,14px)}
body.home .brand img{width:clamp(44px,3vw,60px);height:clamp(60px,4vw,80px)}
body.home header #nav a{font-size:clamp(16px,1.1vw,21px)}
body.home header .site-copyright{font-size:clamp(12px,.8vw,15px)}
body.home .home-intro h1{font-size:clamp(52px,4.6vw,92px)}
body.home .home-intro h1 em{font-size:.72em}
body.home .home-intro p{font-size:clamp(17px,1.15vw,22px);max-width:none}
body.home .image-topics{height:min(420px,42vh);gap:clamp(16px,1.5vw,28px)}
body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{grid-template-rows:minmax(0,1fr) 100px}
body.home .image-topics .topic-label h2,body.home .image-topics .heraldic.green .topic-label h2{font-size:clamp(24px,1.8vw,34px)!important}
body.home .image-topics .topic-label p{font-size:clamp(14px,1.05vw,20px);line-height:1.4}
body.home footer .mailbox-link strong{font-size:clamp(19px,1.3vw,25px)}
body.home footer .mailbox-link small{font-size:clamp(13px,.95vw,18px)}
@media(min-width:641px) and (max-height:740px){body.home .home-intro h1{font-size:clamp(42px,3.6vw,68px)}body.home .image-topics{height:min(310px,40vh)}body.home .image-topics .heraldic{grid-template-rows:minmax(0,1fr) 88px}}
@media(max-width:900px){body.home .image-topics{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:auto;max-height:480px;flex:1}body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{grid-template-rows:minmax(0,1fr) 76px}body.home .image-topics .topic-label h2,body.home .image-topics .heraldic.green .topic-label h2{font-size:22px!important}body.home .home-intro h1{font-size:clamp(38px,6vw,52px)}}
@media(max-width:640px){body.home{--home-gutter:18px}body.home .brand span{font-size:16px}body.home .brand small{font-size:7px}body.home .brand img{width:34px;height:44px}body.home header #nav a{font-size:13px}body.home header .site-copyright{font-size:10px}body.home header #fullscreen-site{margin-left:14px}body.home .home-intro h1{font-size:clamp(30px,5vh,39px)}body.home .home-intro p{font-size:14px}body.home .image-topics{max-height:430px;gap:12px}body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{grid-template-rows:minmax(0,1fr) 76px}body.home .image-topics .topic-label h2,body.home .image-topics .heraldic.green .topic-label h2{font-size:18px!important}body.home .image-topics .topic-label p{font-size:12px}body.home footer .mailbox-link strong{font-size:16px}body.home footer .mailbox-link small{font-size:11px}}

/* Margen lateral igual a la altura real de la cabecera en ordenador */
@media(min-width:901px){body.home{--home-gutter:var(--header-height,100px)}body.home header{padding-inline:var(--home-gutter)}body.home .home-screen{width:calc(100% - 2*var(--home-gutter));max-width:none}}

/* Cabeceras: navegación, copyright y pantalla completa en una fila. */
body>header,body:not(.home)>header{flex-direction:row;flex-wrap:nowrap;align-items:center}
body>header .header-navigation{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:18px}
body>header #nav{display:flex!important;flex-wrap:nowrap!important;width:auto!important;align-items:center;min-width:0}
body>header .site-copyright{flex:none;margin:0}
body>header #fullscreen-site{margin-left:18px}
@media(max-width:900px){body>header,body:not(.home)>header{gap:10px;padding-inline:12px}body>header .header-navigation{gap:10px;flex:1;min-width:0}body>header #nav{gap:5px;overflow-x:auto;scrollbar-width:none}body>header #nav::-webkit-scrollbar{display:none}body>header #nav .section-exit{flex:none;width:auto;white-space:nowrap;padding-inline:5px;font-size:11px}body>header #fullscreen-site{margin-left:0}body>header .brand{flex:0 1 auto;min-width:0;max-width:30%}body>header .section-heading{font-size:18px}body>header .brand span{overflow:hidden;text-overflow:ellipsis}body>header .brand small{display:none}body>header .brand img{width:24px;height:32px}}
@media(max-width:900px){body.author-view>header #nav{flex:0 1 auto;min-width:0}body.author-view>header .header-navigation{overflow:hidden}body.author-view>header #fullscreen-site,body.home>header #fullscreen-site{margin-left:0}body>header .section-heading{white-space:nowrap}}

footer{flex-wrap:wrap}footer .collaboration-invitation{flex:0 0 100%;max-width:880px;margin:8px auto 0;text-align:center;font:14px/1.6 Georgia,serif;color:inherit}

/* Galería de láminas */
body.home .image-topics{grid-template-columns:repeat(5,minmax(0,1fr))}
body.home .image-topics .laminas-topic img{object-fit:cover;object-position:center}
body.home .image-topics .topic-label h2{font-size:clamp(20px,1.65vw,29px)!important}
.laminas-section{padding-block:28px 48px}.laminas-tools{display:flex;gap:24px;flex-wrap:wrap}.laminas-tools label{display:grid;gap:6px}.laminas-tools input,.laminas-tools select{padding:9px 12px;max-width:100%;font:16px Georgia,serif}.laminas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.lamina-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px;border:1px solid #ffffff45;background:#ffffff08;color:inherit;text-align:left}.lamina-card img{width:100%;height:260px;object-fit:contain;background:#091244}.lamina-card span{font:18px/1.4 Georgia,serif}.lamina-card small{font:13px Georgia,serif;color:#dededb}
#lamina-viewer{position:fixed;inset:0;margin:auto;padding:16px;width:96vw;max-width:1500px;height:94svh;max-height:94svh;background:#101c69;color:#fff;overflow:hidden}#lamina-viewer[open]{display:flex;flex-direction:column}.lamina-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}.lamina-viewer-head h2{font:22px/1.3 Georgia,serif}.lamina-viewer-head>div{display:flex;gap:12px;align-items:center}.lamina-viewer-head button,.lamina-viewer-head a{padding:6px 10px;background:#ffffff10;border:1px solid #aebbd9;color:#fff;white-space:nowrap}.lamina-scroll{flex:1;min-height:0;overflow:auto;text-align:center}.lamina-scroll img{display:block;width:100%;height:100%;object-fit:contain;margin:auto}#lamina-viewer.zoomed .lamina-scroll img{width:auto;height:auto;max-width:none;object-fit:initial}
@media(max-width:1000px){.laminas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.home .image-topics{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(190px,1fr));max-height:none;height:auto;flex:none}body.home .home-screen{height:auto;min-height:0}body.home{height:auto;min-height:100svh;overflow:auto}.laminas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.home .image-topics{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.laminas-grid{gap:12px}.lamina-card{padding:8px}.lamina-card img{height:200px}.lamina-card span{font-size:15px}.lamina-viewer-head{flex-wrap:wrap}.lamina-viewer-head h2{font-size:18px}.lamina-viewer-head>div{gap:8px}.laminas-tools label{max-width:100%}}

/* Buzón y colaboración en dos columnas */
body>footer,body.home>footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center;text-align:left}
body>footer .mailbox-link{justify-self:start;width:100%;justify-content:flex-start;text-align:left;min-width:0}
body>footer .mailbox-link>span{min-width:0}
body>footer .collaboration-invitation{max-width:none;margin:0;font:16px/1.6 Georgia,serif;text-align:justify;min-width:0}
body>footer .collaboration-invitation strong{display:block;color:#ffdf00;font:22px/1.4 Georgia,serif;margin-bottom:6px;text-align:center}
body>footer .collaboration-invitation p{margin:0;font:inherit;color:inherit;text-align:justify}
@media(max-width:640px){body>footer,body.home>footer{grid-template-columns:1fr;gap:20px}body>footer .collaboration-invitation{font-size:14px}body>footer .collaboration-invitation strong{font-size:19px}}

/* Tipografía común del pie en todas las páginas y dispositivos. */
body>footer .mailbox-link strong,body.home>footer .mailbox-link strong,body>footer .collaboration-invitation strong{font:22px/1.4 Georgia,serif}
body>footer .mailbox-link small,body.home>footer .mailbox-link small,body>footer .collaboration-invitation,body>footer .collaboration-invitation p{font:16px/1.6 Georgia,serif}

/* Gris oscuro de la ficha de láminas. */
body.home .image-topics .heraldic.laminas-topic{--frame:#77797b;--frame-ink:#fff}

/* Cinco fichas: rojo, gris claro, dorado, verde y gris oscuro. */
body.home .image-topics .heraldic.silver:not(.laminas-topic){--frame:#dededb;--frame-ink:#242629}
body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label{background:#dededb;color:#242629}
body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label h2,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label p{color:#242629}
body.home .image-topics .heraldic.laminas-topic .topic-label{background:#77797b;color:#fff}

/* Títulos y subtítulos centrados en las cinco fichas. */
body.home .image-topics .heraldic .topic-label,body.home .image-topics .heraldic .topic-label h2,body.home .image-topics .heraldic .topic-label p{text-align:center}

/* Marco y fondos iguales en cada ficha, también alrededor de la imagen. */
body.home .image-topics .heraldic,body.home .image-topics .heraldic:hover{border-color:var(--frame);background:var(--frame)}
body.home .image-topics .heraldic .topic-label,body.home .image-topics .heraldic img{background:var(--frame)}

/* Mismos textos blancos en PC y navegador lateral. */
body.home .image-topics .heraldic .topic-label h2,body.home .image-topics .heraldic .topic-label p,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label h2,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label p{color:#fff;opacity:1}
body.home .image-topics .heraldic.silver:not(.laminas-topic){border-color:#dededb;background:#dededb}
body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label{background:#dededb}

/* Paleta aclarada y texto negro común en las cinco fichas. */
body.home .image-topics .heraldic.red{--frame:#ed6268}
body.home .image-topics .heraldic.silver:not(.laminas-topic){--frame:#ebebe9}
body.home .image-topics .heraldic.gold{--frame:#f4d77f}
body.home .image-topics .heraldic.green{--frame:#65d497}
body.home .image-topics .heraldic.laminas-topic{--frame:#9a9c9e}
body.home .image-topics .heraldic,body.home .image-topics .heraldic:hover,body.home .image-topics .heraldic.silver:not(.laminas-topic){border-color:var(--frame);background:var(--frame)}
body.home .image-topics .heraldic .topic-label,body.home .image-topics .heraldic img,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label,body.home .image-topics .heraldic.laminas-topic .topic-label{background:var(--frame)}
body.home .image-topics .heraldic .topic-label h2,body.home .image-topics .heraldic .topic-label p,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label h2,body.home .image-topics .heraldic.silver:not(.laminas-topic) .topic-label p{color:#000;opacity:1}

/* Trois lignes de cabecera con los mismos extremos. */
body.home .home-intro h1{display:flex;flex-direction:column;align-items:center;gap:12px;margin:8px 0 14px;line-height:1.05}
body.home .home-intro .home-fit-line{display:inline-block;white-space:nowrap;letter-spacing:0;line-height:1.08}
body.home .home-intro p{margin:0;text-align:center}

/* Referencia común: fichas del navegador lateral ampliado. */
body.home .image-topics{width:100%;max-width:1344px;margin-inline:auto;gap:23px}
body.home .image-topics .heraldic{color-scheme:light;forced-color-adjust:none}
body.home .image-topics .heraldic.red{--frame:#ed6268!important}
body.home .image-topics .heraldic.silver:not(.laminas-topic){--frame:#ebebe9!important}
body.home .image-topics .heraldic.gold{--frame:#f4d77f!important}
body.home .image-topics .heraldic.green{--frame:#65d497!important}
body.home .image-topics .heraldic.laminas-topic{--frame:#9a9c9e!important}
body.home .image-topics .heraldic,body.home .image-topics .heraldic:hover{background:var(--frame)!important;border-color:var(--frame)!important}
body.home .image-topics .heraldic .topic-label,body.home .image-topics .heraldic img{background:var(--frame)!important}
body.home .image-topics .heraldic .topic-label h2,body.home .image-topics .heraldic .topic-label p{color:#000!important;font-weight:normal!important;opacity:1!important}
@media(min-width:901px){
 body.home .image-topics{height:334px!important;max-height:none!important;flex:none!important}
 body.home .image-topics .heraldic,body.home .image-topics .heraldic:last-child{height:334px!important;grid-template-rows:minmax(0,1fr) 111px!important}
 body.home .image-topics .heraldic .topic-label h2{font:normal 28px/1.08 Georgia,serif!important}
 body.home .image-topics .heraldic .topic-label p{font:normal 18px/1.25 Georgia,serif!important}
}

@media(min-width:901px){body.home .home-screen{max-width:none;width:100%;padding-inline:38px}body.home .image-topics .heraldic .topic-label{padding-inline:6px}}

body.home .home-intro{width:100%;text-align:center;flex:none}
body.home .home-intro h1{gap:8px;margin:6px 0 10px}
body.home .home-intro p{line-height:1.25}
@media(min-width:901px){body.home .home-screen{height:auto;min-height:0;flex:none}body.home main{min-height:0}}

@media(min-width:901px){
 body.home{height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 body.home>header,body.home>footer{position:relative!important;inset:auto!important;flex:none!important;z-index:1}
 body.home>main{position:relative;flex:1!important;min-height:0!important;display:block!important;overflow:hidden}
 body.home .home-screen{position:absolute;left:50%;top:50%;width:100%;height:auto!important;padding:12px 38px!important;transform:translate(-50%,-50%) scale(var(--home-fit-scale,1));transform-origin:center}
 body.home .home-intro{margin-bottom:20px!important}
}

/* Mantener los colores propios del sitio frente al oscurecimiento automático. */
:root{color-scheme:only light}body.home .image-topics .heraldic{color-scheme:only light}

/* Shared continuous perspective carousel for books and study sheets. */
#books-list.perspective-carousel,.laminas-grid.perspective-carousel{
 display:block;position:relative;height:clamp(390px,62svh,620px);padding:0;margin:12px 0 0;
 overflow:hidden;perspective:1100px;isolation:isolate;touch-action:pan-y;scroll-snap-type:none;
}
#books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card{
 position:absolute;left:50%;top:26px;width:clamp(230px,31vw,360px);height:calc(100% - 54px);
 margin-left:calc(clamp(230px,31vw,360px) / -2);min-width:0;
 transform-origin:center center;transition:none;will-change:transform;
 box-shadow:0 18px 28px #0005;backface-visibility:hidden;cursor:pointer;
}
#books-list.perspective-carousel .book-card[data-current],.laminas-grid.perspective-carousel .lamina-card[data-current]{border-color:#dce1eb}
#books-list.perspective-carousel .book-cover{height:auto;flex:1;min-height:0;padding:14px}
#books-list.perspective-carousel .book-copy{flex:0 0 auto;padding:12px;min-height:64px}
#books-list.perspective-carousel .book-copy h2{font-size:20px;line-height:1.25}
.laminas-grid.perspective-carousel .lamina-card{gap:8px;padding:12px}
.laminas-grid.perspective-carousel .lamina-card img{height:auto;flex:1;min-height:0;width:100%;object-fit:contain}
.laminas-grid.perspective-carousel .lamina-card span{font-size:18px;line-height:1.3}
.perspective-carousel:focus-visible{outline:2px solid #dce1eb;outline-offset:3px}
.carousel-controls.perspective-controls{position:relative;display:flex;justify-content:center;gap:22px;height:44px;margin:0 0 12px;z-index:1}
.carousel-controls.perspective-controls button{position:static;inset:auto;transform:none;width:48px;height:42px;font-size:32px;line-height:1;background:#0d1859cc;border:1px solid #8192ba;border-radius:4px;touch-action:manipulation}
.carousel-controls.perspective-controls span{min-width:65px;text-align:center}
@media(max-width:600px){
 #books-list.perspective-carousel,.laminas-grid.perspective-carousel{height:470px;perspective:900px;overflow:hidden}
 #books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card{width:64%;margin-left:-32%;top:22px;height:calc(100% - 44px)}
 #books-list.perspective-carousel .book-copy h2{font-size:17px}
 .laminas-grid.perspective-carousel .lamina-card span{font-size:16px}
 body:has(#books-list) #books-content{padding-left:12px;padding-right:12px}
}
body:has(#books-list.perspective-carousel) #books-content{flex:none;overflow:visible}
body:has(#books-list.perspective-carousel),body:has(.laminas-grid.perspective-carousel){height:auto;min-height:100svh;overflow:auto}body:has(#books-list.perspective-carousel)>main,body:has(.laminas-grid.perspective-carousel)>main{display:block;flex:1 0 auto;min-height:auto}
/* Fit the perspective galleries into the available desktop viewport. */
@media(min-width:700px){
 body:has(#books-list.perspective-carousel),body:has(.laminas-grid.perspective-carousel){height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
 body:has(.perspective-carousel)>header,body:has(.perspective-carousel)>footer{flex:none}
 body:has(#books-list.perspective-carousel)>main,body:has(.laminas-grid.perspective-carousel)>main{display:flex;flex-direction:column;flex:1;min-height:0}
 body:has(.perspective-carousel) .page-head{flex:none;padding:8px 0}
 body:has(.perspective-carousel) .page-head h1{font-size:28px;margin:5px 0}
 body:has(.perspective-carousel) .page-head p{font-size:14px;margin:4px 0}
 body:has(#books-list.perspective-carousel) #books-content,body:has(.laminas-grid.perspective-carousel) #laminas-content{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:10px;padding-bottom:6px;overflow:visible}
 body:has(.perspective-carousel) .books-tools,body:has(.perspective-carousel) .laminas-tools{flex:none}
 body:has(.perspective-carousel) #book-count,body:has(.perspective-carousel) #laminas-count{flex:none;font-size:13px;margin:6px 0}
 #books-list.perspective-carousel,.laminas-grid.perspective-carousel{flex:1;min-height:0;height:auto;margin:0;container-type:size}
 #books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card{top:12px;height:calc(100% - 24px);width:min(360px,72cqh,35vw);margin-left:calc(min(360px,72cqh,35vw) / -2)}
 .carousel-controls.perspective-controls{flex:none;margin:0;height:38px}
 .carousel-controls.perspective-controls button{height:36px;font-size:28px}
 body:has(.perspective-carousel)>footer{padding-top:8px;padding-bottom:8px}
 .laminas-tools input,.laminas-tools select{padding:7px 10px}
}
@media(max-width:699px){
 #books-list.perspective-carousel,.laminas-grid.perspective-carousel{height:min(470px,48svh)}
}
@media(min-width:700px){body:has(#books-list.perspective-carousel) #books-content,body:has(.laminas-grid.perspective-carousel) #laminas-content{width:calc(100% - 60px);box-sizing:border-box}}

/* The same perspective gallery for all catalogue cards. */
#hymn-list.perspective-carousel,#reflection-list.perspective-carousel{display:block;position:relative;height:min(470px,48svh);padding:0;margin:0;overflow:hidden;perspective:1100px;isolation:isolate;touch-action:pan-y;scroll-snap-type:none}
#hymn-list.perspective-carousel .hymn-row,#reflection-list.perspective-carousel .reflection-card{position:absolute;left:50%;top:12px;width:min(360px,64vw);margin-left:calc(min(360px,64vw) / -2);height:calc(100% - 24px);min-height:0;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px;background:#111a60;border:1px solid #8192ba;border-radius:6px;transform-origin:center center;transition:none;will-change:transform;box-shadow:0 18px 28px #0005;backface-visibility:hidden;text-align:center;cursor:pointer;text-decoration:none;color:inherit}
#hymn-list.perspective-carousel .hymn-row{border-top:3px solid #d3ac51}
#reflection-list.perspective-carousel .reflection-card{border-top:3px solid #24bd67}
.perspective-carousel .ficha-illustration{display:block;width:100%;height:auto;flex:1;min-height:0;object-fit:contain}
#hymn-list.perspective-carousel .hymn-row>span{display:block;flex:none;overflow:visible;font:20px/1.25 Georgia,serif}
#hymn-list.perspective-carousel .hymn-listen{align-self:center;flex:none;width:42px;height:38px;padding:6px}
#reflection-list.perspective-carousel .reflection-card h2{display:block;overflow:visible;font:20px/1.25 Georgia,serif;margin:0;flex:none}
#reflection-list.perspective-carousel .reflection-card p{display:none}
#reflection-list.perspective-carousel .reflection-card>span{margin:0;flex:none}
#hymn-list.perspective-carousel .hymn-row[data-current],#reflection-list.perspective-carousel .reflection-card[data-current]{border-color:#dce1eb}
@media(min-width:700px){
 body:has(#hymn-list.perspective-carousel),body:has(#reflection-list.perspective-carousel){height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
 body:has(#hymn-list.perspective-carousel)>main,body:has(#reflection-list.perspective-carousel)>main{display:flex;flex-direction:column;flex:1;min-height:0;justify-content:flex-start}
 body:has(#hymn-list.perspective-carousel) .music-section,body:has(#reflection-list.perspective-carousel) #reflections-content{display:flex;flex-direction:column;flex:1;min-height:0;width:calc(100% - 60px);box-sizing:border-box;padding-top:10px;padding-bottom:6px;overflow:visible;margin-top:0;margin-bottom:0}
 #hymn-list.perspective-carousel,#reflection-list.perspective-carousel{flex:1;min-height:0;height:auto;container-type:size}
 #hymn-list.perspective-carousel .hymn-row,#reflection-list.perspective-carousel .reflection-card{width:min(360px,72cqh,35vw);margin-left:calc(min(360px,72cqh,35vw) / -2)}
 body:has(#hymn-list.perspective-carousel) .music-player{flex:none;margin-bottom:6px;padding:6px 12px}
 body:has(#reflection-list.perspective-carousel) #reflection-count{flex:none;margin:6px 0}
 body:has(#hymn-list.perspective-carousel) .page-head{padding:8px 0}
}
@media(max-width:699px){body:has(#hymn-list.perspective-carousel),body:has(#reflection-list.perspective-carousel){height:auto;min-height:100svh;overflow:auto}body:has(#hymn-list.perspective-carousel)>main,body:has(#reflection-list.perspective-carousel)>main{display:block;flex:1 0 auto;min-height:auto}}

/* Search and filters share the upper-right corner, freeing the gallery height. */
.gallery-search-box{display:flex;flex-direction:column;gap:4px}
.gallery-search-box .books-tools{grid-template-columns:auto minmax(0,1fr);gap:5px 12px}
.gallery-search-box .laminas-tools{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}
.gallery-search-box .laminas-tools input,.gallery-search-box .laminas-tools select{width:100%;min-width:0}
.gallery-search-box #book-count,.gallery-search-box #laminas-count,.reflection-search-box #reflection-count{margin:0;font-size:13px}
@media(min-width:700px){
 body:has(.perspective-carousel) .page-head .wrap{position:relative;padding-right:52%;min-height:104px}
 body:has(.perspective-carousel) .page-head p{font-size:13px;line-height:1.35}
 .gallery-search-box,.music-search-box,.reflection-search-box{position:absolute;right:30px;top:0;width:46%;margin:0;gap:4px}
 #books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card,#hymn-list.perspective-carousel .hymn-row,#reflection-list.perspective-carousel .reflection-card{width:min(420px,76cqh,36vw);margin-left:calc(min(420px,76cqh,36vw) / -2)}
}
@media(max-width:699px){.gallery-search-box{margin-top:12px}.gallery-search-box .laminas-tools{gap:10px}}
/* Book count directly follows the search field. */
.gallery-search-box .books-tools{grid-template-columns:auto minmax(0,1fr) auto}
.gallery-search-box .books-tools label[for="book-search"]{grid-column:1;grid-row:1}
.gallery-search-box .books-tools #book-search{grid-column:2;grid-row:1;min-width:0}
.gallery-search-box .books-tools #book-count{grid-column:3;grid-row:1;white-space:nowrap;margin:0;align-self:center}
.gallery-search-box .books-tools label[for="book-category"]{grid-column:1;grid-row:2}
.gallery-search-box .books-tools #book-category{grid-column:2 / 4;grid-row:2}
/* Sheet and reflection counts directly follow their search fields. */
.gallery-search-box:has(.laminas-tools){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px 12px;align-items:center}
.gallery-search-box .laminas-tools{display:contents}
.gallery-search-box .laminas-tools label{display:block;font:inherit}
.gallery-search-box .laminas-tools label[for="laminas-search"]{grid-column:1;grid-row:1}
.gallery-search-box #laminas-search{grid-column:2;grid-row:1}
.gallery-search-box #laminas-count{grid-column:3;grid-row:1;align-self:center;white-space:nowrap;margin:0}
.gallery-search-box .laminas-tools label[for="laminas-group"]{grid-column:1;grid-row:2}
.gallery-search-box #laminas-group{grid-column:2 / 4;grid-row:2}
.gallery-search-box .laminas-tools input,.gallery-search-box .laminas-tools select{width:100%;min-width:0;margin:0;color:white;background:#142574;border:1px solid #8294c3;padding:7px;border-radius:4px;font-family:Georgia,"Times New Roman",serif;line-height:normal}
.gallery-search-box .laminas-tools input{font-size:13.3333px}
.gallery-search-box .laminas-tools select{font-size:16px}
.reflection-search-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}
.reflection-search-box label{grid-column:1 / 3;grid-row:1}
.reflection-search-box input{grid-column:1;grid-row:2;min-width:0}
.reflection-search-box #reflection-count{grid-column:2;grid-row:2;white-space:nowrap;margin:0}
@media(min-width:700px){body:has(.perspective-carousel) .page-head{padding-top:24px;padding-bottom:8px}}@media(max-width:699px){body:has(.perspective-carousel) .page-head{padding-top:20px}}
@media(min-width:700px){body:has(#books-list.perspective-carousel) .page-head,body:has(.laminas-grid.perspective-carousel) .page-head,body:has(#hymn-list.perspective-carousel) .page-head,body:has(#reflection-list.perspective-carousel) .page-head{padding-top:24px;padding-bottom:8px}}

.book-print-edition{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.book-print-edition .button{max-width:100%;white-space:normal;line-height:1.4}.book-print-edition .book-spec{font-size:14px;margin:8px 0}

body:has(.book-print-edition){height:auto;min-height:100svh;overflow:auto}body:has(.book-print-edition)>main{flex:1 0 auto;min-height:auto}body:has(.book-print-edition) #books-content{flex:1 0 auto;min-height:auto}
body:has(#books-content):has(.book-print-edition){height:auto;min-height:100svh;overflow:auto}body:has(#books-content):has(.book-print-edition)>main{display:block;flex:1 0 auto;min-height:auto}

.book-purchase-options{display:flex;align-items:center;gap:clamp(20px,4vw,65px);flex-wrap:wrap}.book-digital-option{flex:0 0 auto}.book-purchase-options .book-print-edition{margin:0;padding:0;border:0;flex:0 1 auto;min-width:0}.book-purchase-options .book-print-edition .book-spec{margin:7px 0 0}.book-purchase-options .book-price{margin-top:10px;margin-bottom:12px}
@media(max-width:600px){.book-purchase-options{gap:18px}.book-purchase-options .book-print-edition{flex-basis:100%}}

/* Cuadro de edición impresa al extremo derecho de las opciones de compra. */
.book-purchase-options .book-print-edition{margin-left:auto;flex:0 0 300px}.book-purchase-options .book-print-edition .button{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;width:100%;min-height:126px;padding:16px 20px;overflow:hidden;background:#101957;border:1px solid #8795bf;border-radius:4px;text-align:left;color:#fff}.book-print-edition .button::before{content:"";position:absolute;inset:8px;background:url("assets/amazon-emblema.svg") center right/94% auto no-repeat;opacity:.23;z-index:-1;pointer-events:none}.amazon-card-title{font-weight:700;font-size:18px}.amazon-card-action{font-size:16px}.amazon-card-format{font-size:14px;color:#e2e7f5}.book-print-edition .button:hover{background:#1c2a76;border-color:var(--gold)}
@media(max-width:600px){.book-purchase-options .book-print-edition{flex:0 1 300px;margin-left:0;max-width:100%}}
.book-purchase-options{align-items:stretch}.book-purchase-options .book-print-edition .button{height:100%;min-height:0;align-items:center;text-align:center}.book-purchase-options .book-digital-option .book-price{margin-top:0}@media(max-width:600px){.book-purchase-options .book-print-edition .button{min-height:100px}}
@media(min-width:1000px){.book-purchase-options{display:grid;grid-template-columns:max-content minmax(0,1fr) 300px;grid-template-rows:auto auto;column-gap:20px;row-gap:0;align-items:stretch}.book-purchase-options .book-digital-option{display:contents}.book-purchase-options .book-price{grid-column:1;grid-row:1}.book-purchase-options #open-book-sample{grid-column:1;grid-row:2}.book-purchase-options .book-print-edition{grid-column:3;grid-row:2;align-self:stretch;margin:0;min-height:0}.book-purchase-options .book-print-edition .button{height:100%;min-height:0;padding:4px 12px;gap:0}.book-purchase-options .amazon-card-title{font-size:16px;line-height:1.4}.book-purchase-options .amazon-card-format{font-size:13px;line-height:1.4}.book-purchase-options #open-book-full{grid-column:1 / 4;grid-row:3;margin-top:10px}}
.book-print-edition .button::before{background-position:center;background-size:auto 88%}
.book-print-edition .button::before{inset:3px;background-position:center;background-size:150px 42px;opacity:.48}
.book-purchase-options .book-print-edition .button{padding-right:128px;padding-left:10px}.book-print-edition .button::before{background-position:right 7px center;background-size:115px 42px;opacity:.75}
.book-purchase-options .book-print-edition .button{align-items:flex-start;text-align:left;padding-left:14px;padding-right:128px}.book-print-edition .button::before{background-position:right 8px center}
.book-print-edition .amazon-card-format{width:100%;text-align:center}
.book-print-edition .amazon-card-title{width:100%;text-align:center}
@media(min-width:1000px){.book-purchase-options .book-print-edition{grid-row:1 / 3;align-self:center}.book-purchase-options .book-print-edition .button{height:50.2px}}

/* Precio solo en compra; muestra y edición impresa con la misma altura. */
.book-purchase-options{align-items:center}
.book-purchase-options #open-book-sample,.book-purchase-options .book-sample-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:160px;height:60px;padding:14px 22px;font-size:18px;line-height:1.4}
.book-purchase-options .book-print-edition .button{box-sizing:border-box;height:60px;min-height:60px}
.book-detail [data-add-cart] strong,.book-detail #buy-english-book strong{font-weight:700}
@media(min-width:1000px){.book-purchase-options{grid-template-rows:auto;align-items:center}.book-purchase-options #open-book-sample{grid-row:1}.book-purchase-options .book-print-edition{grid-row:1;align-self:center}.book-purchase-options #open-book-full{grid-row:2}}

/* Large readable cards and native touch gestures on phones and tablets. */
.perspective-carousel,.perspective-carousel *{touch-action:pan-y pinch-zoom}
.perspective-carousel img{-webkit-user-drag:none;user-select:none}
@media(max-width:1100px),(pointer:coarse){
 html{max-width:100%;overflow-x:hidden}body{max-width:100%;overflow-x:hidden}
 body:has(.perspective-carousel){height:auto!important;min-height:100svh;overflow-y:auto!important;display:block!important}
 body:has(.perspective-carousel)>main{display:block!important;min-height:0!important}
 body:has(.perspective-carousel) .page-head .wrap{padding:16px!important;min-height:0!important}
 .gallery-search-box,.music-search-box,.reflection-search-box{position:static!important;width:100%!important;margin-top:14px!important}
 body:has(.perspective-carousel) #books-content,body:has(.perspective-carousel) #laminas-content,body:has(.perspective-carousel) .music-section,body:has(.perspective-carousel) #reflections-content{width:100%!important;padding:12px 8px!important;display:block!important}
 #books-list.perspective-carousel,.laminas-grid.perspective-carousel,#hymn-list.perspective-carousel,#reflection-list.perspective-carousel{height:480px!important;min-height:480px!important;container-type:normal!important;touch-action:pan-y pinch-zoom!important}
 #books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card,#hymn-list.perspective-carousel .hymn-row,#reflection-list.perspective-carousel .reflection-card{width:min(340px,78vw)!important;margin-left:calc(min(340px,78vw) / -2)!important;top:18px!important;height:440px!important}
 .perspective-carousel .ficha-illustration{width:100%;height:300px!important;object-fit:cover}
 header{flex-wrap:wrap!important;gap:12px!important;padding:14px 16px!important}
 header .brand{min-width:0!important;flex:1 1 180px!important}header .brand span{white-space:normal!important}
 .header-navigation{flex-wrap:wrap!important;min-width:0!important;max-width:100%!important}
 header nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 .wrap{max-width:100%;box-sizing:border-box}
}
@media(max-width:600px){
 body.home .image-topics{grid-template-columns:1fr!important;height:auto!important;padding:16px!important}
 body.home .image-topics .heraldic{width:100%!important;min-height:300px!important}
 body.home .image-topics .heraldic img{height:220px!important;object-fit:cover}
 .gallery-search-box .books-tools,.gallery-search-box .laminas-tools{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .gallery-search-box input,.gallery-search-box select{width:100%!important;box-sizing:border-box}
 body>footer{display:flex!important;flex-direction:column!important;gap:20px!important;padding:20px 16px!important}
 #book-sample{width:calc(100vw - 12px)!important;max-width:100vw!important}
}
@media(max-width:1100px),(pointer:coarse){body>header{height:auto!important;min-height:0!important;overflow:visible!important}body>header .header-navigation{position:static!important;order:5!important;flex:1 1 100%!important;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}body>header nav{position:static!important;width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important}body>header #english-link{position:static!important;order:3!important;margin:0!important}body>header #fullscreen-site{order:4!important;margin:0!important}body>header #main-cart-button{order:2!important}}

/* Tablet galleries fill the available screen; phones retain readable scrolling. */
@media(min-width:700px) and (min-height:600px){
 body:has(.perspective-carousel){height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow-y:hidden!important}
 body:has(.perspective-carousel)>header,body:has(.perspective-carousel)>footer{flex:none!important}
 body:has(.perspective-carousel)>main{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important}
 body:has(.perspective-carousel) .page-head{flex:none!important}
 body:has(.perspective-carousel) .page-head .wrap{padding:8px 16px!important}
 .gallery-search-box,.music-search-box,.reflection-search-box{margin-top:6px!important}
 body:has(.perspective-carousel) #books-content,body:has(.perspective-carousel) #laminas-content,body:has(.perspective-carousel) .music-section,body:has(.perspective-carousel) #reflections-content{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;padding:4px 8px!important}
 #books-list.perspective-carousel,.laminas-grid.perspective-carousel,#hymn-list.perspective-carousel,#reflection-list.perspective-carousel{flex:1!important;height:auto!important;min-height:0!important;container-type:size!important}
 #books-list.perspective-carousel .book-card,.laminas-grid.perspective-carousel .lamina-card,#hymn-list.perspective-carousel .hymn-row,#reflection-list.perspective-carousel .reflection-card{top:8px!important;height:calc(100% - 16px)!important;width:min(340px,70cqh,44vw)!important;margin-left:calc(min(340px,70cqh,44vw) / -2)!important}
 .perspective-carousel .ficha-illustration{height:auto!important;flex:1!important;min-height:0!important;object-fit:contain!important}
 .carousel-controls.perspective-controls{flex:none!important;height:38px!important;margin:0!important}
}

/* Compact side search and large cards in all four galleries. */
@media(min-width:700px){
 body:has(.perspective-carousel) .page-head{padding:8px 0!important}
 body:has(.perspective-carousel) .page-head .wrap{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,40%);column-gap:24px;align-content:start;min-height:0!important;padding:8px 16px!important}
 body:has(.perspective-carousel) .page-head .wrap>*{grid-column:1;min-width:0}
 body:has(.perspective-carousel) .page-head .wrap>.gallery-search-box,body:has(.perspective-carousel) .page-head .wrap>.music-search-box,body:has(.perspective-carousel) .page-head .wrap>.reflection-search-box{grid-column:2!important;grid-row:1 / span 4;position:static!important;width:100%!important;margin:0!important;align-self:start;gap:4px 8px}
 body:has(.perspective-carousel) .page-head input,body:has(.perspective-carousel) .page-head select{padding:6px 8px!important;min-height:32px;font-size:14px!important;width:100%;box-sizing:border-box}
 body:has(.perspective-carousel) .page-head label{font-size:14px}
 #books-list.perspective-carousel .book-card,#reflection-list.perspective-carousel .reflection-card,#hymn-list.perspective-carousel .hymn-row,.laminas-grid.perspective-carousel .lamina-card{width:min(420px,80cqh,46vw)!important;margin-left:calc(min(420px,80cqh,46vw) / -2)!important}
}

/* Compact player centred between introduction and search. */
body:has(#hymn-list) .page-head .music-player{width:100%;max-width:360px;box-sizing:border-box;margin:8px auto!important;padding:4px 6px!important;align-self:center;border-radius:4px}
body:has(#hymn-list) .page-head .music-player audio{width:100%;height:40px}
@media(min-width:700px){
 body:has(#hymn-list.perspective-carousel) .page-head .wrap{grid-template-columns:minmax(0,1fr) minmax(280px,36%) minmax(0,28%)!important;column-gap:16px}
 body:has(#hymn-list.perspective-carousel) .page-head .wrap>.music-player{grid-column:2!important;grid-row:1 / span 4;justify-self:center}
 body:has(#hymn-list.perspective-carousel) .page-head .wrap>.music-search-box{grid-column:3!important;grid-row:1 / span 4;align-self:center}
}
@media(min-width:700px){body:has(#hymn-list.perspective-carousel) .page-head .wrap{grid-template-columns:minmax(0,1fr) minmax(280px,36%) minmax(0,1fr)!important}}
