.sahifeh main{background:#103b7f;color:#fff}.sahife-panel{max-width:1200px;margin:0 auto}.sahife-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:3rem 5rem 1rem}.sahife-header img{display:block;max-width:min(42%,314px);height:auto;object-fit:contain}.sahife-rule{height:1px;margin:.5rem 0;background:#ffbb01}.sahife-volumes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin:0;padding:1.5rem;list-style:none}.sahife-volumes a{display:flex;min-height:190px;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1px solid #ffbb01;background:#fff;color:#103b7f;font-size:1.125rem;font-weight:700;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}.sahife-volumes a:focus-visible,.sahife-volumes a:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.2)}.sahife-volumes img{width:100px;height:140px;object-fit:contain}@media (max-width:900px){.sahife-volumes{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:768px){.sahife-header{padding:1rem 0}.sahife-volumes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:600px){.sahife-header{flex-direction:column;gap:1rem}.sahife-header img{max-width:min(80%,314px)}.sahife-volumes{grid-template-columns:repeat(2,minmax(0,1fr));padding:.5rem 0}}@media (max-width:360px){.sahife-volumes{grid-template-columns:1fr}}.emam-page main{min-height:60vh;background:#f3f5f8;color:#202b3b}.emam-archive,.emam-document{max-width:1100px;margin:0 auto;border:1px solid #e1e6ed;border-radius:1rem;background:#fff;padding:clamp(1rem,3vw,2rem)}.emam-search{margin-bottom:1.5rem;border-radius:.75rem;background:#f3f5f8;padding:1.25rem;color:#202b3b}.emam-document-header h1,.emam-results h2,.emam-search h1,.emam-search h2{margin:0 0 1rem;color:#103b7f;font-size:1.35rem;font-weight:700}.emam-search-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.emam-search-fields label{display:grid;gap:.35rem;font-size:.875rem}.emam-search-fields input,.emam-search-fields select{width:100%;min-height:2.75rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;padding:.5rem .75rem;color:#202b3b}.emam-document-actions a,.emam-document-actions button,.emam-search button{display:inline-flex;min-height:2.5rem;align-items:center;justify-content:center;margin-top:.75rem;border:0;border-radius:.5rem;background:#103b7f;padding:.5rem 1rem;color:#fff;cursor:pointer;text-decoration:none}.emam-volumes{display:flex;gap:.5rem;overflow-x:auto;margin:0 0 1.5rem;padding:0 0 .75rem;white-space:nowrap}.emam-volumes a{flex:0 0 auto;border:1px solid #d6a000;border-radius:999px;background:#fff;padding:.45rem .9rem;color:#103b7f;text-decoration:none}.emam-volumes a.is-current,.emam-volumes a:hover{background:#103b7f;color:#fff}.emam-results>ol{margin:0;padding:0;list-style:none}.emam-results>ol>li{border-top:1px solid #e1e6ed;padding:1rem 0}.emam-results h3{margin:0 0 .75rem;font-size:1.05rem}.emam-results h3 a,.emam-subtitles a{color:#103b7f;text-decoration:none}.emam-results h3 a:hover,.emam-subtitles a:hover{text-decoration:underline}.emam-results dl{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:0;font-size:.875rem}.emam-results dl div{display:flex;gap:.3rem}.emam-results dt{color:#64748b}.emam-results dd{margin:0}.emam-subtitles{margin:.75rem 0 0;padding-inline-start:1.25rem;font-size:.9rem}.emam-empty{border-top:1px solid #e1e6ed;padding:1rem 0}.emam-result-count{color:#64748b;font-size:.875rem}.emam-pagination{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.5rem}.emam-pagination a{border:1px solid #cbd5e1;border-radius:.4rem;padding:.35rem .7rem;color:#103b7f;text-decoration:none}.emam-pagination a.is-current{border-color:#103b7f;background:#103b7f;color:#fff}.emam-document-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.emam-document-header{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:stretch;gap:1.5rem}.emam-document-book{display:flex;min-height:230px;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;background:#e3e3e3;padding:1rem;text-align:center}.emam-document-book-icon{display:grid;width:2.5rem;height:2.5rem;place-items:center;color:#713500}.emam-document-book-icon svg{display:block;width:100%;height:100%;fill:currentColor}.emam-document-book strong{color:#0876b3;font-size:1.1rem}.emam-document-header ul{display:grid;grid-template-columns:1fr;align-content:start;gap:0;margin:0;padding:0;list-style:none;border:3px solid #d2d2d2}.emam-document-header li{display:flex;min-height:43px;align-items:center;gap:1rem;border-bottom:3px solid #d2d2d2;background:#f1f1f1;padding:.45rem .75rem}.emam-document-header li:last-child{border-bottom:0}.emam-document-header li strong{flex:0 0 4.5rem;color:#0876b3}.emam-document-header li span{min-width:0}.emam-document-body{margin-top:2rem;font-size:1.05rem;line-height:2.2}.emam-document-body p{margin:0 0 1rem}.emam-document-toc,.emam-footnotes{margin-top:2rem;border-top:1px solid #e1e6ed;padding-top:1rem}.emam-document-toc h2,.emam-footnotes h2{color:#103b7f;font-size:1.1rem}.emam-document-toc ol{padding-inline-start:1.5rem}.emam-footnotes p{line-height:1.8}@media (max-width:640px){.emam-document-header,.emam-document-header ul,.emam-search-fields{grid-template-columns:1fr}.emam-document-header{gap:1rem}.emam-document-book{min-height:150px}.emam-document-actions{align-items:stretch;flex-direction:column}}@media print{.emam-document-actions,.emam-page footer,.emam-page header#site-header,.emam-search,.emam-volumes{display:none!important}.emam-page main{background:#fff}.emam-document{max-width:none;border:0;padding:0}}.emam-poem-layout{display:grid;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:2rem}.emam-poem-book{min-height:290px;text-decoration:none}.emam-poem-book img{display:block;width:48px;height:72px}.emam-poem-book strong{color:#0f5e9c;font-size:1.4rem}.emam-poems{display:grid;gap:.25rem}.emam-results>ol.emam-poems>li{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;border:1px solid #d9d9d9;background:#fff;padding:.9rem 1.1rem}.emam-results>ol.emam-poems>li:nth-child(2n){background:#fffaf2}.emam-poems h3{margin:0;font-size:1rem}.emam-results .emam-poems h3 a{color:#0876b3;font-weight:700}.emam-poems h3:after{content:"\205D";margin-inline-start:.6rem;color:sienna;font-weight:700}.emam-poem-date,.emam-poems time{display:inline-flex;align-items:center;gap:.35rem;color:#777;font-size:.8rem}.emam-poems time:before{content:"";width:.8rem;height:.8rem;border-radius:50%;background:linear-gradient(#fff,#fff) 50% 30% /1.5px 35% no-repeat,linear-gradient(#fff,#fff) 62% 52% /30% 1.5px no-repeat,#b5b5b5}.emam-poem-content{border:1px solid #d9d9d9;background:#fffaf2;padding:1.5rem 1.5rem 2rem}.emam-poem-title{margin:0 0 1.5rem;color:#0876b3;font-size:1.5rem;font-weight:700;text-align:center}.emam-poem-body{display:flex;flex-wrap:wrap;max-width:860px;margin:0 auto;color:#4a1f00}.emam-poem-body ul{display:contents}.emam-poem-body li{flex:0 0 50%;padding:.15rem .5rem;font-size:.95rem;line-height:1.9;text-align:center;list-style:none}.emam-poem-body>:not(ul){flex:0 0 100%;margin:1rem 0 0;color:#494949;font-size:.9rem;text-align:end}.emam-poem-date{display:flex;justify-content:flex-end;margin-top:1rem}.emam-poem-body a[href^="#_ftn"]{font-size:.75rem;vertical-align:super}@media (max-width:768px){.emam-poem-layout{grid-template-columns:1fr;gap:1rem}.emam-poem-book{min-height:0;flex-direction:row;padding:.75rem}.emam-poem-book img{width:28px;height:42px}.emam-poem-book strong{font-size:1.1rem}}@media (max-width:640px){.emam-poem-content{padding:1rem}.emam-poem-body li{flex-basis:100%}}@media print{.emam-poem-book{display:none!important}.emam-poem-layout{display:block}}