/* Article reading layer for the original JustNews single-post template. */
body.i1i-article-reading {
  --i1-article-ink:#172b4d;
  --i1-article-muted:#68788f;
  --i1-article-blue:#1677ff;
  --i1-article-line:#e5ebf3;
  color:var(--i1-article-ink);
  background:#f5f8fc;
}
body.i1i-article-reading > header.header { display:none !important; }
body.i1i-article-reading .i1hub-site-header { position:sticky; top:0; z-index:1000; }
body.i1i-article-reading.admin-bar .i1hub-site-header { top:32px; }
body.i1i-article-reading #wrap { padding-top:0 !important; }
body.i1i-article-reading .wrap.container {
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) 360px;
  align-items:flex-start;
  gap:24px;
  width:min(1120px, calc(100% - 40px)) !important;
  max-width:1120px !important;
  padding:0;
  margin:24px auto 48px !important;
}
body.i1i-article-reading .wrap.container::before,
body.i1i-article-reading .wrap.container::after { display:none !important; content:none !important; }
body.i1i-article-reading .main {
  grid-column:1; order:0; flex:1 1 auto; width:auto !important; max-width:none !important; min-width:0;
  overflow:hidden; float:none !important; transition:none !important; box-sizing:border-box;
  padding:34px 0 44px;
  border:1px solid var(--i1-article-line); border-radius:14px; background:#fff;
  box-shadow:0 12px 38px rgba(28,65,112,.07);
}
body.i1i-article-reading article.entry { width:auto; }
body.i1i-article-reading .entry-title {
  margin:0 0 16px; color:var(--i1-article-ink); font-size:22px; line-height:1.45; letter-spacing:-.01em;
}
body.i1i-article-reading .entry-meta,
body.i1i-article-reading .entry-info,
body.i1i-article-reading .post-meta { color:#8794a7; font-size:13px; line-height:1.7; }
body.i1i-article-reading .entry-content { width:auto; margin-top:24px; color:#283a55; font-size:17px; line-height:1.95; }
body.i1i-article-reading .entry-content p { margin:0 0 1.35em; font-size:17px; line-height:1.95; }
body.i1i-article-reading .entry-content h2 { margin:2em 0 .75em; color:var(--i1-article-ink); font-size:24px; line-height:1.45; }
body.i1i-article-reading .entry-content h3 { margin:1.7em 0 .65em; color:var(--i1-article-ink); font-size:20px; line-height:1.5; }
body.i1i-article-reading .entry-content h4 { margin:1.5em 0 .6em; font-size:18px; line-height:1.55; }
body.i1i-article-reading .entry-content a { color:var(--i1-article-blue); text-decoration-color:rgba(22,119,255,.35); text-underline-offset:3px; }
body.i1i-article-reading .entry-content img { height:auto; border-radius:10px; }
body.i1i-article-reading .entry-content blockquote { margin:1.6em 0; padding:16px 20px; color:#4d607a; border-left:4px solid var(--i1-article-blue); border-radius:0 9px 9px 0; background:#f3f7fd; }
body.i1i-article-reading .entry-content ul,
body.i1i-article-reading .entry-content ol { margin:0 0 1.4em; padding-left:1.5em; }
body.i1i-article-reading .entry-content li { margin:.45em 0; }
body.i1i-article-reading .entry-bar-inner { width:100% !important; }
body.i1i-article-reading .main > * { max-width:100%; box-sizing:border-box; }
body.i1i-article-reading .sidebar,
body.i1i-article-reading .sidebar.abs,
body.i1i-article-reading .sidebar.fixed { grid-column:2; position:static !important; order:1; flex:none !important; width:360px !important; max-width:360px !important; min-width:360px !important; align-self:flex-start; box-sizing:border-box; float:none !important; top:auto !important; right:auto !important; bottom:auto !important; left:auto !important; margin:0 !important; transform:none !important; transition:none !important; }
body.i1i-article-reading .sidebar > *,
body.i1i-article-reading .sidebar .theiaStickySidebar,
body.i1i-article-reading .sidebar .sidebar-inner,
body.i1i-article-reading .sidebar .widget-area { position:static !important; top:auto !important; right:auto !important; bottom:auto !important; left:auto !important; width:100% !important; max-width:100% !important; box-sizing:border-box; transform:none !important; }
body.i1i-article-reading .sidebar .widget { overflow:hidden; margin-bottom:18px; padding:18px; border:1px solid var(--i1-article-line); border-radius:12px; background:#fff; box-shadow:0 8px 26px rgba(28,65,112,.055); }
body.i1i-article-reading .sidebar .widget-title { color:var(--i1-article-ink); font-size:17px; line-height:1.45; }
body.i1i-article-reading .sidebar a { color:#344966; }
body.i1i-article-reading .sidebar a:hover { color:var(--i1-article-blue); }
@media (max-width:960px) { body.i1i-article-reading .wrap.container { display:block !important; width:calc(100% - 24px) !important; } body.i1i-article-reading .main { width:100%; max-width:100%; } body.i1i-article-reading .sidebar { display:none; } }
@media (max-width:782px) { body.i1i-article-reading.admin-bar .i1hub-site-header { top:46px; } }
@media (max-width:640px) { body.i1i-article-reading .wrap.container { margin-top:12px; padding:0 12px; } body.i1i-article-reading .main { padding:24px 19px 32px; border-radius:10px; } body.i1i-article-reading .entry-title { font-size:22px; } body.i1i-article-reading .entry-content, body.i1i-article-reading .entry-content p { font-size:16px; line-height:1.9; } body.i1i-article-reading .entry-content h2 { font-size:22px; } body.i1i-article-reading .entry-content h3 { font-size:19px; } }
