/* Edition themes: scoped to the installed local demo, with no layout or JavaScript changes. */
body[class*="tj-demo-"]{--tjx-base:#101a34;--tjx-accent:#5b8eff;background:radial-gradient(circle at 75% 2%,color-mix(in srgb,var(--tjx-base) 82%,#607ff2 18%),transparent 44%),#0a1221;color:#e8edf9}
body[class*="tj-demo-"] #page,body[class*="tj-demo-"] #primary{background:transparent}
body[class*="tj-demo-"] .logo-area{background:linear-gradient(110deg,var(--tjx-base),#0e1727);border-bottom:1px solid #ffffff17}
body[class*="tj-demo-"] .logo-area .logo a{color:#f9fbff!important;text-shadow:0 3px 28px #0006}
body[class*="tj-demo-"] .main-navbar-wrapper,body[class*="tj-demo-"] .jet-main-navbar-wrapper{background:#111d30!important;border-bottom:1px solid #ffffff20;box-shadow:0 8px 25px #0003}
body[class*="tj-demo-"] .main-navbar-wrapper a,body[class*="tj-demo-"] .jet-main-navbar-wrapper a{color:#f4f6ff}
body[class*="tj-demo-"] .main-navbar-wrapper a:hover,body[class*="tj-demo-"] .jet-main-navbar-wrapper a:hover{color:var(--tjx-accent)!important}
body[class*="tj-demo-"] #jet-home-area{padding-top:20px;padding-bottom:50px}
body[class*="tj-demo-"] #jet-home-main .jet-block-title{color:#fff!important;border-bottom-color:#ffffff29}
body[class*="tj-demo-"] #jet-home-main .jet-block-title h3,body[class*="tj-demo-"] #jet-home-main .jet-block-title h3 span{color:#fff!important}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-item{background:#152239;border:1px solid #ffffff18;border-radius:16px;overflow:hidden;box-shadow:0 13px 32px #0003;margin-bottom:18px;padding:14px!important;transition:transform .22s,box-shadow .22s}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-item:hover{transform:translateY(-3px);box-shadow:0 20px 44px #0006}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-img img{border-radius:10px;object-fit:cover}
body[class*="tj-demo-"] .jet-pm-1 .post-title a,body[class*="tj-demo-"] .jet-pm-1 h2,body[class*="tj-demo-"] .jet-pm-1 .jet-pm-text{color:#f6f8ff!important}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-excerpt,body[class*="tj-demo-"] .jet-pm-1 .jet-pm-meta,body[class*="tj-demo-"] .jet-pm-1 .jet-pm-meta a{color:#aebbd2!important}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-cat,body[class*="tj-demo-"] .jet-pm-1 .jet-pm-cat span{color:var(--tjx-accent)!important}
body[class*="tj-demo-"] #secondary .widget{background:#152239;border:1px solid #ffffff18;border-radius:14px;padding:22px;margin-bottom:22px;box-shadow:0 12px 28px #0003}
body[class*="tj-demo-"] #secondary .widget h2,body[class*="tj-demo-"] #secondary .widget h3,body[class*="tj-demo-"] #secondary .widget-title{color:#f8f9ff!important}
body[class*="tj-demo-"] #secondary .widget a{color:#d5dfef}
body[class*="tj-demo-"] #secondary .widget a:hover{color:var(--tjx-accent)}
body[class*="tj-demo-"] #secondary .widget input[type=search],body[class*="tj-demo-"] #secondary .widget input[type=text]{background:#0f1a2d;color:#f8faff;border:1px solid #ffffff25;border-radius:7px}
body[class*="tj-demo-"] #secondary .widget button,body[class*="tj-demo-"] #secondary .widget input[type=submit]{background:var(--tjx-accent);border-radius:7px}
body[class*="tj-demo-"] #primary .tjx-featured-label{color:#f6f8ff}
body[class*="tj-demo-"] #primary .tjx-featured-frame{border:1px solid #ffffff29;box-shadow:0 25px 65px #0009}
body[class*="tj-demo-"] .jet-pm-1 .post-title a:hover{color:var(--tjx-accent)!important}
@media(max-width:760px){body[class*="tj-demo-"] .jet-pm-1 .jet-pm-item{padding:10px!important}body[class*="tj-demo-"] #secondary .widget{padding:16px}}

body[class*="tj-demo-"] .jet-pm-1 .jet-pm-img img,body[class*="tj-demo-"] .tj-post-thumb img{aspect-ratio:641/380}
body[class*="tj-demo-"] .site,body[class*="tj-demo-"] #page{background:transparent}
body[class*="tj-demo-"] .jet-second-footer{background:rgba(7,12,22,.86);color:#cfd8ea}
body[class*="tj-demo-"] .jet-main-footer{background:rgba(10,17,31,.95);border-top:1px solid rgba(255,255,255,.08)}

/* Limit excessive logo-area whitespace without modifying header widgets or menu structures. */
body[class*="tj-demo-"] .logo-area .header-middle{padding-top:24px;padding-bottom:24px;min-height:0}
body[class*="tj-demo-"] .logo-area .logo{display:flex;align-items:center}
body[class*="tj-demo-"] .logo-area .logo a{line-height:1.2}
body[class*="tj-demo-"] #masthead{height:auto!important;min-height:0}
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-img img{width:100%;height:auto;object-fit:cover}

/* 1.9.9: Day mode is the actual default; preserve night palette only with .dark-theme */
body[class*="tj-demo-"]:not(.dark-theme){background:#f4f6fb!important;color:#202a3b!important}
body[class*="tj-demo-"]:not(.dark-theme) #page,body[class*="tj-demo-"]:not(.dark-theme) #primary{background:transparent!important}
body[class*="tj-demo-"]:not(.dark-theme) .logo-area{background:#fff!important;border-color:#e2e6ef!important}
body[class*="tj-demo-"]:not(.dark-theme) .logo-area .logo a{color:#172032!important;text-shadow:none!important}
body[class*="tj-demo-"]:not(.dark-theme) .main-navbar-wrapper,body[class*="tj-demo-"]:not(.dark-theme) .jet-main-navbar-wrapper{background:#fff!important;border-color:#e4e7ef!important;box-shadow:0 5px 18px #10244512!important}
body[class*="tj-demo-"]:not(.dark-theme) .main-navbar-wrapper a,body[class*="tj-demo-"]:not(.dark-theme) .jet-main-navbar-wrapper a{color:#223046!important}
body[class*="tj-demo-"]:not(.dark-theme) #jet-home-main .jet-block-title,body[class*="tj-demo-"]:not(.dark-theme) #jet-home-main .jet-block-title h3,body[class*="tj-demo-"]:not(.dark-theme) #jet-home-main .jet-block-title span{color:#16243a!important;border-color:#d7deeb!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .jet-pm-item,body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget{background:#fff!important;border:1px solid #e0e6f0!important;box-shadow:0 12px 35px #1b31510b!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .post-title a,body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 h2,body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .jet-pm-text{color:#1e293b!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .jet-pm-excerpt,body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .jet-pm-meta,body[class*="tj-demo-"]:not(.dark-theme) .jet-pm-1 .jet-pm-meta a{color:#65738a!important}
body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget h2,body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget h3,body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget-title{color:#182339!important}
body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget a{color:#253653!important}
body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget input[type=search],body[class*="tj-demo-"]:not(.dark-theme) #secondary .widget input[type=text]{background:#f4f6fb!important;color:#16243a!important;border-color:#d6dfec!important}
body[class*="tj-demo-"]:not(.dark-theme) #primary .tjx-featured-label{color:#15243b!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-second-footer{background:#e9eef6!important;color:#41516b!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-main-footer{background:#e3e9f2!important;color:#34435d!important;border-color:#dae2ee!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-footer a{color:#1e3557!important}
/* Preserve image geometry without affecting existing Owl widget structure. */
body[class*="tj-demo-"] .jet-pm-1 .jet-pm-img img{aspect-ratio:641/380!important;object-fit:cover!important}
body[class*="tj-demo-"] #jet-home-area{min-height:0}

body[class*="tj-demo-"]:not(.dark-theme) .jet-top-navbar-wrapper{background:#f8fafd!important;color:#34435d!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-top-navbar-wrapper a{color:#34435d!important}
body[class*="tj-demo-"]:not(.dark-theme) .jet-sidebar .widget li{border-color:#dce4ef!important}
body[class*="tj-demo-"]:not(.dark-theme) .tj-widget-note,body[class*="tj-demo-"]:not(.dark-theme) .tj-post-meta{color:#697990!important}
