/* Shared native theme components: reading, archives, pages and navigation. */
body.pj-theme { --pj-accent:#174c49; background:#edf3f1!important; }
.pj-theme .pj-page { min-height:100vh; background:linear-gradient(180deg,#f5f8f7 0,#edf3f1 650px,#f7f9f7 100%); }
.pj-theme .pj-brand .pj-site-title { color:#244f63; font-size:22px; line-height:1.5; font-weight:800; letter-spacing:-.45px; margin:0; }
.pj-theme .pj-masthead-aside>span:first-child { display:block; }
.pj-theme .pj-nav-search { border:0; border-right:1px solid var(--pj-line); border-radius:0; padding:3px 20px 3px 0; background:transparent; color:#365d65; cursor:pointer; line-height:0; }
.pj-theme .pj-footer-menu,.pj-theme .pj-footer-menu li { display:contents; list-style:none; }
.pj-theme .screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; width:1px; overflow:hidden; white-space:nowrap; }
.pj-theme button { cursor:pointer; }
.pj-theme [hidden] { display:none!important; }
.pj-theme .pj-inner-main { padding-bottom:50px; }
.pj-theme .pj-breadcrumbs { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:24px 0; color:#82918e; font-size:11px; }
.pj-theme .pj-breadcrumbs a { color:#58766f; }
.pj-theme .pj-breadcrumbs>span[aria-hidden] { color:#b2c1bc; }
.pj-theme .pj-post-grid { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:30px; align-items:start; }
.pj-theme .pj-post { min-width:0; background:#fcfdfb; border:1px solid #d7e2dc; box-shadow:0 5px 22px #1f4b3c04; padding:32px 36px; }
.pj-theme .pj-post-heading { border-bottom:1px solid var(--pj-line); padding-bottom:24px; }
.pj-theme .pj-post-heading-portrait { display:grid; grid-template-columns:minmax(0,1fr) 185px; gap:28px; align-items:center; }
.pj-theme .pj-post-heading h1 { font-size:32px; line-height:1.8; color:#214c50; font-weight:850; letter-spacing:-.6px; margin:12px 0 16px; }
.pj-theme .pj-post-categories { display:flex; flex-wrap:wrap; gap:8px; }
.pj-theme .pj-post-categories a { font-size:10px; line-height:1.8; padding:3px 9px; color:#756144; background:#f0eee3; border:1px solid #e1dccb; }
.pj-theme .pj-post-meta { display:flex; flex-wrap:wrap; gap:8px 20px; color:#82938c; font-size:10px; line-height:1.9; }
.pj-theme .pj-post-portrait { width:100%; margin:0; background:#e3ebe7; border:1px solid #d1ddd6; padding:8px; }
.pj-theme .pj-post-portrait img { width:100%; height:auto; max-height:270px; object-fit:contain; }
.pj-theme .pj-post-summary { margin-top:18px; color:#5d7772; font-size:15px; line-height:2.1; }
.pj-theme .pj-reading-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 18px; padding:17px 0; border-bottom:1px solid var(--pj-line); margin-bottom:25px; }
.pj-theme .pj-reading-toolbar>div { display:flex; align-items:center; gap:6px; }
.pj-theme .pj-reading-toolbar button { padding:6px 10px; background:#f0f5f2; border:1px solid #dbe6df; border-radius:0; font-size:10px; color:#42645b; line-height:1.8; }
.pj-theme .pj-reading-toolbar button:hover { background:#e1ece6; }
.pj-theme .pj-text-size>span { color:#8b9b94; font-size:9px; margin-left:3px; }
.pj-theme .pj-share-status { width:100%; color:#477e61; font-size:10px; }
.pj-theme .pj-share-status:empty { display:none; }
.pj-theme .pj-post-landscape { margin:0 0 30px; background:#e3ebe7; }
.pj-theme .pj-post-landscape img { width:100%; height:auto; max-height:480px; object-fit:cover; }
.pj-theme .pj-reading-content { --pj-reading-size:18px; color:#344d4f; font-size:var(--pj-reading-size); line-height:2.25; max-width:800px; margin-inline:auto; overflow-wrap:break-word; }
.pj-theme .pj-reading-content p { margin:0 0 1.35em; font-size:var(--pj-reading-size); line-height:2.25; }
.pj-theme .pj-reading-content :is(h1,h2,h3,h4) { color:#285c5a; font-weight:800; line-height:1.9; margin:1.8em 0 .75em; scroll-margin-top:45px; }
.pj-theme .pj-reading-content h1 { font-size:28px!important; }
.pj-theme .pj-reading-content h2 { font-size:24px!important; border-right:3px solid #a4bbb0; padding-right:14px; }
.pj-theme .pj-reading-content h3 { font-size:21px!important; }
.pj-theme .pj-reading-content h4 { font-size:19px!important; }
.pj-theme .pj-reading-content :is(ul,ol) { padding-right:24px; margin-bottom:1.35em; }
.pj-theme .pj-reading-content li { margin-bottom:.4em; }
.pj-theme .pj-reading-content a { color:#3d7a76; text-decoration:underline; text-underline-offset:4px; text-decoration-color:#acc7bd; }
.pj-theme .pj-reading-content a:hover { color:#9a6c46; }
.pj-theme .pj-reading-content blockquote { background:#edf3ed; border-right:3px solid #91afa0; margin:28px 0; padding:22px 26px; color:#43645a; }
.pj-theme .pj-reading-content blockquote p:last-child { margin-bottom:0; }
.pj-theme .pj-reading-content img { width:auto; height:auto; max-width:100%; object-fit:contain; }
.pj-theme .pj-reading-content figure { max-width:100%; margin:24px 0; }
.pj-theme .pj-reading-content figcaption,.pj-theme .pj-reading-content .wp-caption-text { font-size:11px; color:#87998f; line-height:1.9; margin-top:8px; }
.pj-theme .pj-reading-content :is(iframe,video,audio) { max-width:100%; }
.pj-theme .pj-reading-content .aligncenter { margin-inline:auto; }
.pj-theme .pj-reading-content .alignright { float:right; margin:6px 0 18px 22px; }
.pj-theme .pj-reading-content .alignleft { float:left; margin:6px 22px 18px 0; }
.pj-theme .pj-reading-content:after { content:""; display:block; clear:both; }
.pj-theme .pj-reading-content .wp-block-table { overflow:auto; }
.pj-theme .pj-reading-content table { border-collapse:collapse; width:100%; font-size:14px; }
.pj-theme .pj-reading-content :is(td,th) { border:1px solid #d3dfd6; padding:10px 12px; }
.pj-theme .pj-reading-content th { background:#e8f0e9; }
.pj-theme .pj-reading-content pre { direction:ltr; text-align:left; overflow:auto; background:#eaf0ec; padding:18px; font-size:13px; line-height:1.7; }
.pj-theme .pj-reading-content :is(.elementor,.elementor-section,.elementor-container,.e-con,.e-con-inner) { max-width:100%; min-width:0; }
.pj-theme .pj-reading-content .elementor-widget-container :is(p,li) { font-family:Vazirmatn,Tahoma,Arial,sans-serif!important; font-size:var(--pj-reading-size)!important; line-height:2.25!important; }
.pj-theme .pj-reading-content .elementor-section { padding-block:0; }
.pj-theme .pj-post-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:32px; padding-top:20px; border-top:1px solid var(--pj-line); }
.pj-theme .pj-post-tags a { font-size:10px; color:#708b7e; padding:4px 9px; border:1px solid #d5e3d9; background:#f1f6f1; }
.pj-theme .post-navigation { border-block:1px solid var(--pj-line); padding-block:20px; margin-top:30px; }
.pj-theme .post-navigation .nav-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; }
.pj-theme .post-navigation a { display:flex; flex-direction:column; gap:8px; }
.pj-theme .post-navigation span { font-size:10px; color:#869b8f; }
.pj-theme .post-navigation strong { font-size:13px; line-height:2; font-weight:650; color:#3e6252; }
.pj-theme .post-navigation .nav-next { text-align:left; }
.pj-theme .pj-reading-sidebar { display:grid; gap:24px; min-width:0; }
.pj-theme .pj-reading-sidebar .pj-feed-box { margin:0; }
.pj-theme .pj-reading-sidebar .pj-feed-list h3 { font-size:12px; }
.pj-theme .pj-reading-sidebar .pj-feed-meta { font-size:9px; }
.pj-theme .pj-widget { padding:20px; border:1px solid #d2dfd7; background:#f7faf6; min-width:0; }
.pj-theme .pj-widget-title { font-size:17px; line-height:1.8; color:#345e4d; font-weight:800; padding-bottom:13px; border-bottom:1px solid #d5e2d8; margin-bottom:16px; }
.pj-theme .pj-toc { background:#e7f0e8; border-top:3px solid #789f85; }
.pj-theme .pj-toc nav { max-height:260px; overflow:auto; scrollbar-width:thin; scrollbar-color:#b0c7b7 transparent; }
.pj-theme .pj-toc ol { list-style:none; counter-reset:sections; }
.pj-theme .pj-toc li { counter-increment:sections; display:flex; gap:10px; font-size:11px; line-height:2; padding:8px 0; border-bottom:1px solid #d2dfd4; }
.pj-theme .pj-toc li:before { content:counter(sections,persian); color:#91aa97; font-size:11px; }
.pj-theme .pj-toc li:last-child { border:0; }
.pj-theme .pj-sidebar-related .pj-row-card { grid-template-columns:72px minmax(0,1fr); gap:12px; padding-block:15px; }
.pj-theme .pj-sidebar-related .pj-row-card .pj-card-image { aspect-ratio:1; }
.pj-theme .pj-sidebar-related .pj-row-card h3 { font-size:12px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.pj-theme .pj-sidebar-related .pj-row-card .pj-category { display:none; }
.pj-theme .pj-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.pj-theme .pj-related-grid .pj-card { background:#edf3ed; border:1px solid #d6e1d6; }
.pj-theme .pj-related-grid .pj-card-body { padding:16px 18px 20px; }
.pj-theme .pj-related-grid h3 { font-size:17px; }
.pj-theme .pj-mobile-toc { display:none; }
.pj-theme .pj-reading-progress { position:fixed; top:0; right:0; left:0; height:3px; z-index:100000; background:#8aad98; transform:scaleX(0); transform-origin:right; pointer-events:none; }
.pj-theme.admin-bar .pj-reading-progress { top:32px; }
.pj-theme .pj-archive-heading { padding:24px 30px; background:linear-gradient(115deg,#ddebe7,#e8f0e5); border:1px solid #cdded3; margin-bottom:28px; }
.pj-theme .pj-archive-heading h1 { font-size:32px; line-height:1.8; color:#2b5b4d; font-weight:850; margin:7px 0; }
.pj-theme .pj-archive-heading>div { font-size:13px; line-height:2.1; color:#67806f; }
.pj-theme .pj-archive-heading .pj-site-search { max-width:500px; margin-top:18px; }
.pj-theme .pj-archive-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:23px; }
.pj-theme .pj-archive-card { background:#fbfdf9; border:1px solid #d5e1d4; min-width:0; }
.pj-theme .pj-archive-image { display:block; aspect-ratio:1.65; background:#dfe9de; overflow:hidden; }
.pj-theme .pj-archive-card-body { padding:17px; }
.pj-theme .pj-archive-card h2 { font-size:17px; line-height:1.95; color:#2b5646; font-weight:750; margin:8px 0 9px; }
.pj-theme .pj-archive-card p { font-size:11px; line-height:2.1; color:#7a8e7f; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.pj-theme .pj-archive-card time { display:block; font-size:9px; color:#a0af9f; margin-top:14px; padding-top:11px; border-top:1px solid #e3ebe0; }
.pj-theme .pj-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px; margin-top:30px; }
.pj-theme .pj-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; font-size:12px; border:1px solid #ccdccf; background:#f6faf4; color:#53745a; padding:5px 10px; }
.pj-theme .pj-pagination .current { color:#fff; background:#406c52; border-color:#406c52; }
.pj-theme .pj-empty { background:#f7faf4; border:1px solid #d4e0d0; padding:45px 30px; }
.pj-theme .pj-empty h1,.pj-theme .pj-empty h2 { font-size:29px; line-height:1.8; color:#41664c; font-weight:800; margin-bottom:15px; }
.pj-theme .pj-empty p { font-size:14px; line-height:2; color:#7b907d; }
.pj-theme .pj-empty .pj-site-search { max-width:500px; margin-top:23px; }
.pj-theme .pj-action-link { display:inline-flex; font-size:12px; padding:10px 17px; margin-top:22px; color:#fff; background:#50785b; }
.pj-theme .pj-page-article { max-width:1000px; margin-inline:auto; border:1px solid #d5e0d7; background:#fcfdfa; padding:32px 40px; }
.pj-theme .pj-page-heading { margin-bottom:30px; padding-bottom:22px; border-bottom:1px solid #d8e3d9; }
.pj-theme .pj-page-heading h1 { color:#315c4d; font-size:32px; line-height:1.8; font-weight:850; margin-top:8px; }
.pj-theme .pj-app-page .pj-page-article { max-width:none; padding:24px; }
.pj-theme .pj-app-content { min-width:0; max-width:100%; }
.pj-theme .pj-app-content>.elementor { width:100%; }
.pj-theme .pj-site-search>div { display:flex; border:1px solid #cadbd2; background:#fff; }
.pj-theme .pj-site-search input { flex:1; min-width:0; width:100%; padding:12px 14px; color:#335a47; background:transparent; border:0; box-shadow:none; font-size:13px; border-radius:0; }
.pj-theme .pj-site-search button { flex-shrink:0; padding:10px 14px; background:#466c54; color:#fff; border:0; border-radius:0; font-size:12px; }
.pj-theme .pj-search-dialog { padding:0; border:1px solid #afc9b7; max-width:560px; width:calc(100% - 40px); background:#f2f7ef; color:#2a503b; }
.pj-theme .pj-search-dialog::backdrop { background:#153c3b88; backdrop-filter:blur(2px); }
.pj-theme .pj-search-dialog>div { padding:27px; }
.pj-theme .pj-dialog-heading { display:flex; gap:20px; align-items:center; justify-content:space-between; margin-bottom:20px; }
.pj-theme .pj-dialog-heading h2 { font-size:20px; font-weight:750; }
.pj-theme .pj-dialog-heading button { border:1px solid #c3d5c9; color:#54765f; background:transparent; padding:4px 10px; font-size:11px; }
.pj-theme .pj-comments { margin-top:35px; padding-top:26px; border-top:1px solid #d7e4d8; }
.pj-theme .pj-comments h2,.pj-theme .pj-comments h3 { font-size:23px; line-height:1.8; font-weight:800; color:#42684b; margin-bottom:20px; }
.pj-theme .pj-comments h2>span { font-weight:400; color:#a7bba7; font-size:17px; }
.pj-theme .pj-comments .comment-list { list-style:none; }
.pj-theme .pj-comments .children { list-style:none; padding-right:25px; }
.pj-theme .pj-comments .comment-body { padding:18px; margin-bottom:16px; background:#f0f5ec; border:1px solid #d9e5d3; }
.pj-theme .pj-comments .comment-author { font-size:13px; }
.pj-theme .pj-comments .comment-author img { display:inline-block; width:36px; height:36px; vertical-align:middle; margin-left:9px; border-radius:50%; }
.pj-theme .pj-comments .comment-metadata { font-size:10px; color:#9bae97; margin-block:8px; }
.pj-theme .pj-comments .comment-content p { font-size:14px; line-height:2.1; color:#62765d; }
.pj-theme .pj-comments .reply { font-size:10px; color:#7b9472; margin-top:10px; }
.pj-theme .pj-comments .comment-form { display:grid; gap:15px; }
.pj-theme .pj-comments .comment-form p { font-size:12px; line-height:2; }
.pj-theme .pj-comments label { display:block; margin-bottom:6px; font-size:12px; color:#74886b; }
.pj-theme .pj-comments :is(input[type=text],input[type=email],input[type=url],textarea) { display:block; width:100%; max-width:100%; padding:11px; border:1px solid #cadbc3; background:#fcfef9; color:#45613c; border-radius:0; font:inherit; font-size:14px; }
.pj-theme .pj-comments input.submit { padding:11px 20px; border:1px solid #486f42; background:#486f42; color:#fff; border-radius:0; font:inherit; font-size:12px; cursor:pointer; }
.pj-theme .pj-comments .comment-form-cookies-consent { display:flex; align-items:center; gap:8px; }
.pj-theme .pj-comments .comment-form-cookies-consent label { margin:0; }
.pj-theme .pj-widget ul { list-style:none; }
.pj-theme .pj-widget li { font-size:12px; line-height:2; }
@media(max-width:1250px) { .pj-theme .pj-archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1100px) {
 .pj-theme .pj-post-grid { grid-template-columns:minmax(0,1fr) 250px; gap:24px; }
 .pj-theme .pj-post { padding:26px; }
 .pj-theme .pj-post-heading-portrait { grid-template-columns:minmax(0,1fr) 145px; gap:20px; }
 .pj-theme .pj-post-heading h1 { font-size:27px; }
 .pj-theme .pj-sidebar-related .pj-row-card { grid-template-columns:60px minmax(0,1fr); gap:10px; }
}
@media(max-width:950px) {
 .pj-theme .pj-post-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
 .pj-theme .pj-reading-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
 .pj-theme .pj-reading-sidebar .pj-toc { display:none; }
 .pj-theme .pj-reading-sidebar .pj-sidebar-search { grid-column:1/-1; }
 .pj-theme .pj-mobile-toc:not([hidden]) { display:block; padding:13px 16px; margin:0 0 24px; border:1px solid #d1e0d2; background:#ecf4e9; }
 .pj-theme .pj-mobile-toc summary { color:#5a7c4d; font-size:13px; font-weight:650; cursor:pointer; }
 .pj-theme .pj-mobile-toc ol { margin-top:12px; padding-right:22px; }
 .pj-theme .pj-mobile-toc li { font-size:12px; line-height:2; padding-block:6px; }
 .pj-theme .pj-brand .pj-site-title { font-size:21px; }
}
@media(max-width:700px) {
 .pj-theme .pj-brand .pj-site-title { font-size:18px; letter-spacing:-.3px; }
 .pj-theme .pj-breadcrumbs { margin-block:17px 18px; font-size:10px; }
 .pj-theme .pj-post { padding:20px 18px; }
 .pj-theme .pj-post-heading { padding-bottom:20px; }
 .pj-theme .pj-post-heading-portrait { display:block; position:relative; }
 .pj-theme .pj-post-heading h1 { font-size:23px; line-height:1.9; margin:10px 0 12px; letter-spacing:-.3px; }
 .pj-theme .pj-post-meta { font-size:9px; gap:5px 12px; }
 .pj-theme .pj-post-categories { gap:5px; }
 .pj-theme .pj-post-categories a { font-size:9px; padding:2px 7px; }
 .pj-theme .pj-post-portrait { padding:4px; margin-top:4px; }
 .pj-theme .pj-post-heading-portrait .pj-post-portrait { position:absolute; left:0; bottom:24px; width:74px; padding:4px; margin:0; }
 .pj-theme .pj-post-heading-portrait .pj-post-meta { min-height:100px; padding-left:92px; flex-direction:column; align-items:flex-start; justify-content:center; gap:3px; }
 .pj-theme .pj-post-summary { font-size:13px; }
 .pj-theme .pj-reading-toolbar { padding:14px 0; gap:10px 8px; margin-bottom:20px; }
 .pj-theme .pj-reading-toolbar button { padding:5px 8px; font-size:10px; }
 .pj-theme .pj-text-size>span { display:none; }
 .pj-theme .pj-reading-content { font-size:17px; }
 .pj-theme .pj-reading-content p { line-height:2.2; }
 .pj-theme .pj-reading-content h2 { font-size:21px!important; padding-right:11px; }
 .pj-theme .pj-reading-content h3 { font-size:19px!important; }
 .pj-theme .pj-reading-content blockquote { padding:18px; margin-block:23px; }
 .pj-theme .pj-reading-content :is(.alignleft,.alignright) { float:none; margin:20px auto; }
 .pj-theme .pj-reading-sidebar { grid-template-columns:minmax(0,1fr); gap:22px; }
 .pj-theme .pj-reading-sidebar .pj-feed-list h3 { font-size:13px; }
 .pj-theme .pj-reading-sidebar .pj-feed-meta { font-size:10px; }
 .pj-theme .pj-related-grid { grid-template-columns:minmax(0,1fr); gap:23px; }
 .pj-theme .pj-related-grid h3 { font-size:17px; }
 .pj-theme .pj-related-grid .pj-card-image { aspect-ratio:1.9; }
 .pj-theme .pj-archive-heading { padding:21px; margin-bottom:23px; }
 .pj-theme .pj-archive-heading h1 { font-size:25px; }
 .pj-theme .pj-archive-grid { grid-template-columns:minmax(0,1fr); gap:23px; }
 .pj-theme .pj-archive-card h2 { font-size:18px; }
 .pj-theme .pj-archive-card p { font-size:12px; }
 .pj-theme .pj-page-article { padding:22px 18px; }
 .pj-theme .pj-page-heading h1 { font-size:25px; }
 .pj-theme .pj-app-page .pj-page-article { padding:15px; }
 .pj-theme .pj-empty { padding:30px 22px; }
 .pj-theme .pj-empty h1,.pj-theme .pj-empty h2 { font-size:25px; }
 .pj-theme .post-navigation .nav-links { grid-template-columns:minmax(0,1fr); gap:20px; }
 .pj-theme .post-navigation .nav-next { text-align:right; }
 .pj-theme .pj-search-dialog>div { padding:21px; }
 .pj-theme .pj-dialog-heading h2 { font-size:18px; }
 .pj-theme.admin-bar .pj-reading-progress { top:46px; }
}
@media print {
 .pj-theme :is(.pj-topbar,.pj-masthead,.pj-navigation,.pj-footer,.pj-reading-sidebar,.pj-reading-toolbar,.pj-post-tags,.pj-related,.pj-comments,.post-navigation,.pj-reading-progress,.pj-mobile-toc,#wpadminbar) { display:none!important; }
 .pj-theme .pj-post-grid { display:block; }
 .pj-theme .pj-shell { width:100%; }
 .pj-theme .pj-post { border:0; padding:0; box-shadow:none; }
 .pj-theme .pj-page { background:#fff; }
 .pj-theme .pj-reading-content { max-width:none; color:#000; font-size:12pt; }
 .pj-theme .pj-reading-content p { font-size:12pt; }
 .pj-theme .pj-post-heading h1 { color:#000; font-size:22pt; }
 .pj-theme .pj-post-heading-portrait { grid-template-columns:1fr 130px; }
}
