/* Shared Free Books welcome panel: website and app. */
.library-welcome{background:#522335;color:#fff5e4;border-radius:14px;padding:clamp(24px,4vw,44px);margin:0 0 28px;display:block;border:0}
.library-welcome .welcome-label{font-size:12px;letter-spacing:.08em;color:#e8d4a8;margin:0 0 18px}
.library-welcome h1{font:400 clamp(27px,3.5vw,44px)/1.4 Georgia,ReaderEthiopic,Ethiopic,serif;color:#fff5e4;margin:0 0 20px;max-width:100%;overflow-wrap:break-word}
.library-welcome .welcome-reference{font-size:15px;color:#e8d4a8;margin:0;max-width:none}
.library-welcome .welcome-reference:before{content:"";display:inline-block;width:32px;border-top:2px solid #b58d46;margin-right:12px;vertical-align:middle}
html[lang=am] .library-welcome{font-family:ReaderEthiopic,Ethiopic,Nyala,serif}
html[lang=am] .library-welcome h1{font-family:ReaderEthiopic,Ethiopic,Nyala,serif;line-height:1.6}
.app-books-page .welcome-am{display:none}
html[lang=am] .app-books-page .welcome-en{display:none}
html[lang=am] .app-books-page .welcome-am{display:block}
.library #language-books{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.library #language-books .book-card{grid-template-columns:1fr;gap:20px;padding:24px;border-radius:6px;height:100%;align-content:start}
.library #language-books .book-card img{width:180px;max-width:100%;margin:auto;border-radius:6px}
.library #language-books .book-card h2{font-size:27px;line-height:1.4}
.library #language-books .amharic-cover{margin:auto;width:180px}
.library #language-books .amharic-cover img{width:200%!important}
@media(max-width:680px){.library #language-books{grid-template-columns:1fr}.library-welcome{padding:24px 20px;border-radius:12px}.library-welcome h1{font-size:27px}.library-welcome .welcome-reference{font-size:14px}.app-books-page .book-grid{grid-template-columns:1fr}}

/* Compact resource introduction and comfortable phone reading. */
.rc .library-welcome h1{font-size:clamp(24px,2.7vw,34px);line-height:1.5;margin:0 0 16px}
.rc .library-welcome{padding:28px 30px}
@media(max-width:680px){
 .rc .library-welcome{padding:22px 20px}
 .rc .library-welcome h1{font-size:22px;line-height:1.55}
 .rc .library-welcome .welcome-reference{font-size:14px;line-height:1.65}
 .rc .cards .card h3{font-size:21px;line-height:1.45}
 .rc .cards .card p{font-size:16px;line-height:1.7}
}
