/* Sajed mobile reading improvements: 2026-11-05 */

@media(max-width:991px){
 #tie-body.single-post #the-post .entry-content{padding-inline:0!important}
 html[data-skin="light"] #tie-body #breadcrumb,
 html[data-skin="light"] #tie-body #breadcrumb a,
 html[data-skin="light"] #tie-body .entry-content figcaption,
 html[data-skin="light"] #tie-body .single-featured-image figcaption{color:#4b5c65!important}
 #tie-body.single-post .single-featured-image figcaption{font-size:16px!important;line-height:1.7!important}
 #tie-body #mobile-menu .mobile-arrows:focus-visible{outline:3px solid #b47a28;outline-offset:2px}
 #tie-body #mobile-menu a:hover{opacity:1;text-decoration:underline}
}

/* Sajed mobile improvements 6–10, 2026-11-05. */
.sajed-article-actions{display:none}
@media(max-width:991px){
 html[data-skin="light"] #tie-body .post-meta,
 html[data-skin="light"] #tie-body .post-meta a,
 html[data-skin="light"] #tie-body .post-meta .meta-item,
 html[data-skin="light"] #tie-body .wp-block-latest-posts__post-date,
 html[data-skin="light"] #tie-body .post-excerpt{color:#4b5c65!important}
 html[data-skin="light"] #tie-body #the-post .entry-content p a:not(.button):not([style*="background"]),
 html[data-skin="light"] #tie-body #the-post .entry-content li a:not(.button):not([style*="background"]){color:#245363!important;text-decoration:underline;text-underline-offset:4px}
 html[data-skin="light"] #tie-body .post-cat,
 html[data-skin="light"] #tie-body .pages-numbers.current,
 html[data-skin="light"] #tie-body .button,
 html[data-skin="light"] #tie-body input[type="submit"],
 html[data-skin="light"] #tie-body button[type="submit"]{color:#fff!important;background-color:#245363!important}
 html[data-skin="light"] #tie-body #site-info,
 html[data-skin="light"] #tie-body #site-info a{color:#4b5c65!important}
 #tie-body .side-aside{background:#fff!important;color:#243e4b!important}
 #tie-body #mobile-menu a,#tie-body .side-aside .close-side-aside{color:#243e4b!important}
 #tie-body #mobile-search .search-field{color:#243e4b!important;background:#f1f5f7!important}
 #tie-body #mobile-search .search-field::placeholder{color:#4b5c65!important;opacity:1}
 #tie-body #mobile-menu a{min-height:44px;padding-block:10px;font-size:19px;line-height:1.6}
 #tie-body #mobile-menu .mobile-arrows{min-width:44px;min-height:44px;color:#245363!important}
 #tie-body.single-post #the-post{padding:clamp(16px,4vw,24px)!important}
 #tie-body.single-post #the-post .entry-content{font-size:clamp(19px,calc(16px + .9vw),21px)!important;line-height:1.9!important;overflow-wrap:anywhere}
 #tie-body.single-post #the-post .entry-content p,
 #tie-body.single-post #the-post .entry-content li{font-size:clamp(19px,calc(16px + .9vw),21px)!important;line-height:1.9!important}
 #tie-body.single-post #the-post .entry-content p{margin-bottom:1em!important}
 #tie-body.single-post #the-post .entry-content > div[dir="rtl"]{padding-inline:0!important}
 #tie-body.single-post #the-post .entry-content blockquote{padding:12px 16px;margin-inline:0}
 #tie-body.single-post #the-post .entry-content figcaption,
 #tie-body.single-post #the-post .entry-content figcaption p{font-size:16px!important;line-height:1.7!important}
 #tie-body.single-post .post-title{font-size:clamp(26px,calc(20px + 2vw),32px)!important;line-height:1.5!important}
 #tie-body #single-post-meta .meta-author-avatar,
 #tie-body #single-post-meta .author-email-link,
 #tie-body #single-post-meta .author-twitter-link,
 #tie-body #single-post-meta .meta-comment,
 #tie-body #single-post-meta .meta-views{display:none!important}
 #tie-body #single-post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:15px;line-height:1.6}
 #tie-body #single-post-meta .author-meta,#tie-body #single-post-meta .tie-alignright{float:none!important;margin:0!important}
 #tie-body #single-post-meta .meta-author-wrapper{margin:0!important;padding:0!important;min-height:0!important}
 #tie-body #single-post-meta .meta-item{font-size:15px!important;margin-inline:0!important}
 #tie-body #single-post-meta .meta-reading-time{white-space:nowrap}
 #tie-body .sajed-article-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:24px;padding-block:16px;border-top:1px solid #dce8e6;color:#4b5c65;font-size:16px;line-height:1.7}
 #tie-body .sajed-article-actions a{display:inline-flex;align-items:center;min-height:44px;color:#245363;text-decoration:underline;text-underline-offset:4px}
 #tie-body .sajed-article-actions .meta-views{color:#4b5c65!important}
}

@media(max-width:991px){
 #tie-body #theme-header .logo-container{padding:6px 0!important}
 #tie-body #theme-header #logo{margin:0!important}
 #tie-body #theme-header #logo img{max-height:54px!important;max-width:calc(100vw - 128px)!important;width:auto!important}
 #tie-body .mobile-header-components a{min-width:44px;min-height:44px}
}
.sajed-mobile-share{display:none}
@media(max-width:991px){
 .single-post .sajed-mobile-share{display:block;position:fixed;z-index:1000;left:16px;bottom:calc(16px + env(safe-area-inset-bottom));min-height:44px;padding:10px 18px;border:1px solid #fff;border-radius:24px;background:#245363;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;box-shadow:0 2px 10px #0002;cursor:pointer}
 .sajed-mobile-share:focus-visible{outline:3px solid #b47a28;outline-offset:3px}
}
#sajed-share-dialog{box-sizing:border-box;width:min(90vw,380px);max-height:80vh;overflow:auto;margin:auto;padding:24px;border:1px solid #dce8e6;border-radius:16px;color:#21383c;background:#fff;text-align:right}
#sajed-share-dialog:not([open]){display:none}
#sajed-share-dialog::backdrop{background:rgba(0,0,0,.4)}
#sajed-share-dialog h2{font-size:23px;margin:0 0 16px}
#sajed-share-dialog label{display:block;margin-bottom:8px}
#sajed-share-dialog input{box-sizing:border-box;width:100%;padding:10px;min-height:44px;font-size:16px}
#sajed-share-dialog button{min-height:44px;margin:12px 0 0 8px;padding:10px 16px;border:1px solid #245363;border-radius:6px;background:#245363;color:#fff;font-size:16px;cursor:pointer}
#sajed-share-dialog .sajed-share-close{background:#fff;color:#245363}
#sajed-share-status{font-size:16px;line-height:1.7;margin-top:12px}
@media print{.sajed-mobile-share,#sajed-share-dialog{display:none!important}}
@media(max-width:991px){
 body.page-id-1739 .entry-header-outer{display:none}
 #tie-body .sajed-home-intro p{font-size:18px!important;line-height:1.7!important}
 body.page-id-1739 .wp-block-group:has(.sajed-latest-article){padding:16px!important}
 body.page-id-1739 .wp-block-group:has(.sajed-latest-article) h2{font-size:25px!important}
}

