/* Discipleship entry points and public library. The PDF reader owns its CSS. */
.discipleship-home{max-width:1180px;margin:auto;padding:18px 0 45px}
.discipleship-home-hero{padding:37px;border-radius:25px;background:linear-gradient(130deg,#185441,#3b8066);color:#fff;box-shadow:0 18px 42px #19513c25}
.discipleship-home-hero span{color:#d5f0e3;font:800 11px Inter,sans-serif;letter-spacing:.12em}
.discipleship-home-hero h1{font-size:clamp(28px,4vw,42px);color:#fff;margin:10px 0}
.discipleship-home-hero p{max-width:600px;margin:0;color:#e7f2ed;line-height:1.8}
.discipleship-library-promo{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:17px;margin:19px 0;border:1px solid #dceae3;border-radius:18px;background:linear-gradient(100deg,#f3fbf6,#fff);box-shadow:0 6px 16px #20412e0b}
.discipleship-promo-icon{width:47px;height:47px;display:grid;place-items:center;background:#dff4e9;color:#167051;border-radius:14px;font-size:23px}
.discipleship-library-promo small{color:#398166;font-weight:800;font-size:11px}
.discipleship-library-promo h2{margin:2px 0;color:#1d4033;font-size:16px}
.discipleship-library-promo p{margin:0;color:#718078;font-size:12px}
.discipleship-library-promo a,.discipleship-journey-card a{padding:9px 11px;border-radius:10px;background:#216a50;color:#fff;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
.discipleship-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.discipleship-journey-card{min-height:205px;display:flex;flex-direction:column;padding:20px;border:1px solid #e2eae6;border-radius:18px;background:#fff;box-shadow:0 5px 17px #173b290a}
.discipleship-journey-card>span{font-size:22px}
.discipleship-journey-card h2{margin:13px 0 7px;font-size:18px;color:#1b3128}
.discipleship-journey-card p{margin:0;color:#718078;font-size:13px;line-height:1.7}
.discipleship-journey-card a{margin-top:auto;align-self:flex-start}
.discipleship-empty{text-align:center;padding:40px;color:#748177}
.today-library-link{display:flex;align-items:center;gap:10px;margin-top:13px;padding:10px 12px;border:1px solid #cbe6d9;border-radius:12px;background:#f4fcf7;color:#164c3a;text-decoration:none}
.today-library-link>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#d9f3e6;font-weight:800}
.today-library-link div{display:grid;gap:2px;flex:1}
.today-library-link b{font-size:12px}
.today-library-link small{font-size:10px;color:#698077}
.today-library-link i{font-style:normal;font-size:18px}

.library-home{max-width:1180px;margin:0 auto;padding:18px 0 45px}
.library-home-hero{overflow:hidden;position:relative;padding:42px;border-radius:26px;color:#fff;background:radial-gradient(circle at 87% 3%,#9cd0b8 0,transparent 26%),linear-gradient(128deg,#15453b,#286955 58%,#588d76);box-shadow:0 20px 48px #17513c2c}
.library-home-hero>*{position:relative;z-index:1}
.library-home-hero>span{color:#d7f0e4;font-size:11px;font-family:Inter,sans-serif;font-weight:800;letter-spacing:.13em}
.library-home-hero h1{font-size:clamp(29px,4vw,45px);margin:11px 0;color:#fff}
.library-home-hero p{max-width:560px;margin:0;color:#e7f2ec;line-height:1.85;font-size:15px}
.library-home-hero>i{position:absolute;width:300px;height:300px;border-radius:50%;border:1px solid #fff3;bottom:-215px;inset-inline-end:-85px}
.library-home-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 18px}
.library-home-search{display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #dfe8e4;border-radius:12px;background:#fff;color:#718075;box-shadow:0 4px 14px #153d2a0a}
.library-home-search input{height:42px;width:245px;border:0;outline:0;background:transparent;font:inherit;color:#1d2a26}
.library-home-tabs{display:flex;gap:4px;background:#ecf1ee;border-radius:11px;padding:4px}
.library-home-tabs button{border:0;background:transparent;border-radius:8px;padding:8px 12px;color:#65756e;font:inherit;font-size:12px;cursor:pointer}
.library-home-tabs .active{background:#fff;color:#18513d;font-weight:800;box-shadow:0 2px 6px #183b2a16}
.library-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.library-tile{min-width:0;display:flex;gap:14px;padding:14px;border:1px solid #e2eae6;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1b3a2d0a;transition:.2s}
.library-tile:hover{transform:translateY(-3px);border-color:#bcd8c9;box-shadow:0 14px 25px #1f4a3712}
.library-cover{flex:0 0 82px;height:118px;position:relative;display:grid;place-content:center;border-radius:12px;background:linear-gradient(150deg,#e85663,#af1835);color:#fff;overflow:hidden;box-shadow:0 8px 13px #a51c3533}
.library-cover>b{position:absolute;top:9px;inset-inline-start:10px;font:800 9px Inter,sans-serif;letter-spacing:.08em}
.library-cover>span{font-size:26px;font-weight:800;opacity:.8}
.library-cover i{position:absolute;height:2px;inset-inline-start:10px;inset-inline-end:10px;bottom:13px;background:#fff8}
.library-cover i:nth-child(4){bottom:19px;inset-inline-end:26px}
.library-cover i:nth-child(5){bottom:25px;inset-inline-end:18px}
.library-tile-content{min-width:0;display:flex;flex:1;flex-direction:column;align-items:stretch}
.library-tile h2{font-size:16px;line-height:1.45;margin:1px 0 6px;color:#182823;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.library-tile p{margin:0;color:#718078;font-size:12px;line-height:1.55;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.library-new-label{margin-top:auto;color:#748279;font-size:11px}
.library-progress{margin-top:auto}
.library-progress span{display:block;margin-bottom:6px;color:#5d7167;font-size:11px}
.library-progress b{color:#176046}
.library-progress progress{appearance:none;width:100%;height:5px;overflow:hidden;border:0;border-radius:99px;background:#e3ece7}
.library-progress progress::-webkit-progress-bar{background:#e3ece7}
.library-progress progress::-webkit-progress-value{background:#24825e;border-radius:99px}
.library-read-link{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:#176047;text-decoration:none;font-size:12px;font-weight:800}
.library-read-link b{font-size:16px}
.library-home-empty{text-align:center;padding:60px;color:#728279;font-size:36px}
.library-home-empty p{font-size:14px}

@media(max-width:760px){
 .discipleship-home,.library-home{padding:5px 0 28px}
 .discipleship-home-hero{padding:27px 22px;border-radius:19px}
 .discipleship-library-promo{grid-template-columns:auto 1fr;gap:11px}
 .discipleship-library-promo a{grid-column:1/-1;text-align:center}
 .discipleship-journey-grid{grid-template-columns:1fr;gap:10px}
 .discipleship-journey-card{min-height:170px}
 .library-home-hero{padding:28px 23px;border-radius:20px}
 .library-home-hero p{font-size:13px}
 .library-home-toolbar{align-items:stretch;flex-direction:column;margin:16px 0}
 .library-home-search input{width:100%}
 .library-home-tabs button{flex:1;padding:9px 3px}
 .library-shelf{grid-template-columns:1fr;gap:10px}
 .library-tile{padding:11px}
 .library-cover{flex-basis:68px;height:96px}
}
