/*
Theme Name: Javan Child
Description: تنظیمات مکمل برای قالب روزنامه جوان
Template: Javan
Version: 0.2.10
Text Domain: javan-child
*/
@import url("../Javan/style.css");

/* Independent post-news visibility, based on viewport rather than device detection. */
@media screen and (max-width: 1100px) {
  body.javan-child-single-post .jc-single-news-container.jc-news-hide-mobile { display: none !important; }
}
@media screen and (min-width: 1101px) {
  body.javan-child-single-post .jc-single-news-container.jc-news-hide-desktop { display: none !important; }
}

/* Scoped to the optional single-post layout only. */
.javan-child-no-sidebar > .singler { width: 100%; }

/* Protect only the area occupied by the desktop logo on ordinary posts.
   Other content, including the sidebar, stays at its original vertical start. */
.javan-child-logo-clearance { display: none; }
@media screen and (min-width: 1101px) {
  body.javan-child-single-post .singler > .javan-child-logo-clearance {
    display: block;
    float: right;
    width: min(300px, 40%);
    height: 320px;
    pointer-events: none;
  }
  body.javan-child-single-post .singler > .bread,
  body.javan-child-single-post .singler > .jmd_banner,
  body.javan-child-single-post .singler > .title { clear: both; }

}

