/* Introdução ao livro — no mesmo visual do leitor (reader-layout.css). */
.tpl-intro{background:#f4f1ea;border-bottom:1px solid #e5dfd2;color:#1f2a24;font:400 16px/1.6 Inter,system-ui,sans-serif}
.tpl-intro-wrap{max-width:1210px;width:calc(100% - 96px);margin:0 auto;padding:28px 0 30px}
.tpl-intro h2,.tpl-intro h3{font-family:Georgia,serif;font-weight:600;color:#173e34;letter-spacing:-.01em;margin:0}
.tpl-intro-ficha{background:#fffef9;border:1px solid #e1dccf;border-radius:10px;padding:22px 26px}
.tpl-intro-ficha-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;margin:0 0 14px}
.tpl-intro-ficha-head h2{font-size:22px}
.tpl-intro-badge{font:600 12px/1.4 Inter,system-ui,sans-serif;padding:5px 11px;border-radius:999px}
.tpl-intro-badge--ok{background:#e4efe6;color:#1e4a3a}
.tpl-intro-badge--open{background:#f6ead3;color:#6e5118}
.tpl-intro-fields{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px 32px}
.tpl-intro-fields dt{font:700 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#56665c}
.tpl-intro-fields dd{margin:3px 0 0;font-size:15px;line-height:1.5}
.tpl-intro-actions{margin:16px 0 0}
.tpl-intro-toggle{min-height:46px;padding:11px 20px;border-radius:8px;border:1px solid #173e34;background:#173e34;color:#fff;font:600 15px/1.3 Inter,system-ui,sans-serif;cursor:pointer}
.tpl-intro-toggle[aria-expanded=true]{background:#fffef9;color:#173e34}
.tpl-intro-toggle:hover{background:#275640;border-color:#275640;color:#fff}
.tpl-intro-full{margin:26px 0 0}
.tpl-intro-full[hidden]{display:none!important}
.tpl-intro-cols{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.tpl-intro-text{flex:999 1 560px;min-width:0;max-width:760px}
.tpl-intro-text h3{font-size:24px;margin:26px 0 8px}
.tpl-intro-text p{font:400 18px/1.72 Georgia,serif;margin:0 0 14px;color:#24302a}
.tpl-intro-text .tpl-intro-lead{font-size:19px;color:#173e34;margin-bottom:6px}
.tpl-intro-outline{flex:1 1 300px;min-width:0;background:#fffef9;border:1px solid #e1dccf;border-radius:10px;padding:20px 20px 14px;position:sticky;top:24px}
.tpl-intro-outline h3{font-size:20px}
.tpl-intro-hint{font-size:13px;line-height:1.5;color:#56665c;margin:4px 0 12px}
.tpl-intro-outline ol{list-style:none;margin:0;padding:0}
.tpl-intro-outline a{display:flex;justify-content:space-between;gap:12px;padding:9px 8px;min-height:44px;box-sizing:border-box;border-radius:6px;text-decoration:none;color:#1f2a24;border-bottom:1px solid #efe9dc;font-size:15px;line-height:1.35}
.tpl-intro-outline a:hover{background:#f1efe6}
.tpl-intro-part{font-weight:600}
.tpl-intro-sub a{padding-left:20px;font-size:14px;color:#3b4a41}
.tpl-intro-ref{font:600 13px/1.4 Inter,system-ui,sans-serif;color:#1e4a3a;white-space:nowrap}
.tpl-intro-deep{margin:30px 0 0;display:flex;flex-direction:column;gap:10px}
.tpl-intro-deep>h3{font-size:24px;margin:0 0 4px}
.tpl-intro-more{background:#fffef9;border:1px solid #e1dccf;border-radius:10px}
.tpl-intro-more summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;min-height:54px;box-sizing:border-box;font:600 17px/1.3 Inter,system-ui,sans-serif;color:#1f2a24}
.tpl-intro-more summary::-webkit-details-marker{display:none}
.tpl-intro-more summary::after{content:'+';font-size:22px;color:#1e4a3a}
.tpl-intro-more[open] summary::after{content:'−'}
.tpl-intro-more-body{padding:0 20px 20px}
.tpl-intro-more-body p{margin:0 0 12px;line-height:1.65}
.tpl-intro-more-body h4{font:700 15px/1.4 Inter,system-ui,sans-serif;margin:18px 0 10px;color:#173e34}
.tpl-intro-q{margin:0 0 22px}
.tpl-intro-q h4{font-size:16px;margin:0 0 10px}
.tpl-intro-positions{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
.tpl-intro-position{background:#fff;border:1px solid #e1dccf;border-radius:8px;padding:13px 15px}
.tpl-intro-position p{margin:0;font-size:15px;line-height:1.55}
.tpl-intro-position .tpl-intro-position-name{font:700 12px/1.4 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#1e4a3a;margin:0 0 6px}
.tpl-intro-note{font-size:14px;color:#3b4a41;margin:10px 0 0!important}
.tpl-intro-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 14px}
.tpl-intro-stat{background:#fff;border:1px solid #e1dccf;border-radius:8px;padding:13px}
.tpl-intro-stat strong{display:block;font:700 28px/1.1 Georgia,serif;color:#173e34}
.tpl-intro-stat span{font-size:13px;color:#56665c}
.tpl-intro-words{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tpl-intro-words a,.tpl-intro-words span:not(.tpl-intro-greek):not(.tpl-intro-count){display:inline-flex;gap:8px;align-items:baseline;padding:8px 14px;min-height:44px;box-sizing:border-box;border:1px solid #d8cfbd;border-radius:999px;background:#fff;text-decoration:none;color:#1f2a24}
.tpl-intro-words a:hover{border-color:#1e4a3a;background:#f3f7f2}
.tpl-intro-greek{font-family:'Gentium Book Plus','Gentium Plus','Noto Serif',serif;font-size:18px}
.tpl-intro-count{font-size:13px;color:#56665c}
.tpl-intro-biblio{margin:0;padding:0 0 0 18px}
.tpl-intro-biblio li{margin:0 0 8px;line-height:1.5}
.tpl-intro :is(a,button,summary):focus-visible,.tpl-bible-nav .tpl-intro-nav:focus-visible{outline:3px solid #ba995e;outline-offset:3px}
@media(max-width:720px){.tpl-intro-wrap{width:calc(100% - 40px);padding:20px 0 24px}.tpl-intro-ficha{padding:18px}.tpl-intro-outline{position:static}.tpl-intro-text p{font-size:17px}}
/* Fim da introdução: recolher ou ir para o texto */
.tpl-intro-end{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:28px 0 4px;padding-top:22px;border-top:1px solid #e4dfd2}
.tpl-intro-end .tpl-intro-close{background:#fffef9;color:#173e34}
.tpl-intro-end .tpl-intro-close:hover{background:#275640;color:#fff}
.tpl-intro-gotext{min-height:46px;padding:11px 20px;border-radius:8px;border:1px solid #173e34;background:#173e34;color:#fff;font:600 15px/1.3 Inter,system-ui,sans-serif;cursor:pointer}
.tpl-intro-gotext:hover{background:#275640;border-color:#275640}
@media (max-width:600px){.tpl-intro-end>button{flex:1 1 100%}}
#tpl-intro,.tpl-reader-chapters{scroll-margin-top:84px}
