/* Dogeared Discoveries – Free Bible Study Journal, v8.1 */
.bj-hero{background:radial-gradient(circle at 79% 28%,rgba(193,149,76,.23),transparent 44%),linear-gradient(118deg,#091827,#1a3047 67%,#41202a);color:#fbf1dd;padding:4.25rem 0 4rem}
.bj-hero-inner{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(210px,.8fr);gap:2.5rem;align-items:center}
.bj-hero h1{font-family:Georgia,serif;font-size:clamp(2.3rem,5vw,4.1rem);margin:.45rem 0 1rem;line-height:1.1;color:#f2ddac}
.bj-hero .eyebrow{color:#e4b967}.bj-lead{font-size:1.09rem;line-height:1.73;max-width:760px;color:#e8e5df}
.bj-hero .button-row{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.8rem}
.bj-hero-mark{border:1px solid rgba(229,186,107,.36);border-radius:18px;padding:1.6rem;min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.2rem;transform:rotate(2deg);background:rgba(6,16,28,.34);box-shadow:0 16px 50px rgba(0,0,0,.14)}
.bj-hero-mark span{font-family:Georgia,serif;font-size:clamp(1rem,1.65vw,1.35rem);letter-spacing:.14em;color:#e9c985}
.bj-hero-mark span+span:before{content:'✧';display:block;text-align:center;margin-bottom:.8rem;font-size:.85rem;color:#c29d5d}
.bj-area{background:#f4f0e9;padding:2.3rem 0 4rem;color:#203047}
.bj-note{border:1px solid #d9c9a6;border-left:5px solid #ae7b3a;background:#fff9e9;padding:1.15rem 1.4rem;border-radius:10px;line-height:1.6;margin-bottom:1.6rem}
.bj-layout{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,2fr);gap:1.35rem;align-items:start}
.bj-sidebar,.bj-editor{background:#fff;border:1px solid #ddd2c2;border-radius:18px;box-shadow:0 8px 25px rgba(8,21,36,.06)}
.bj-sidebar{padding:1.2rem;position:sticky;top:1.3rem}
.bj-side-head{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem}
.bj-side-head h2{font-family:Georgia,serif;font-size:1.35rem;margin:0;color:#1e3044}
.bj-small-primary{background:#193149;color:#fff;border:0;border-radius:8px;padding:.68rem .75rem;font-weight:700;cursor:pointer}
.bj-small-primary:hover,.bj-small-primary:focus-visible{background:#8d3640}
.bj-search-label{font-size:.8rem;font-weight:700;color:#31465d;display:block;margin-bottom:.35rem}
.bj-sidebar input[type=search]{width:100%;border:1px solid #bdc6cf;background:#fff;border-radius:8px;padding:.7rem;font:inherit;font-size:.93rem}
.bj-entry-list{display:grid;gap:.55rem;margin-top:1rem;max-height:490px;overflow:auto}
.bj-entry{display:block;text-align:left;width:100%;border:1px solid #e4ddd2;background:#faf7f1;border-radius:10px;padding:.78rem .75rem;cursor:pointer;color:#233147}
.bj-entry:hover,.bj-entry:focus-visible{border-color:#a67e4d;background:#fff7e8}
.bj-entry.active{background:#f9ecd7;border-color:#a47436;box-shadow:inset 3px 0 #a47436}
.bj-entry strong{display:block;font-family:Georgia,serif;font-size:.98rem;line-height:1.36}
.bj-entry span{font-size:.78rem;color:#5b6470;display:block;margin-top:.33rem;line-height:1.45;overflow-wrap:anywhere}
.bj-empty{line-height:1.65;font-size:.9rem;color:#616772}
.bj-sidebar-tools{border-top:1px solid #ddd2c2;margin-top:1.2rem;padding-top:1rem;display:grid;gap:.75rem}
.bj-sidebar-tools button,.bj-import{border:1px solid #b7a98e;border-radius:8px;padding:.69rem;display:block;width:100%;font-size:.85rem;font-weight:700;background:#fff;cursor:pointer;text-align:center;color:#2e4156}
.bj-sidebar-tools button:hover,.bj-import:hover{background:#f1e7d7}
.bj-sidebar-tools input[type=file]{font-size:.76rem;max-width:100%;color:#475569}
.bj-sidebar-tools p{margin:0;color:#5a6872;font-size:.79rem;line-height:1.5}
.bj-editor{overflow:hidden}.bj-editor-head{background:#f9f4ea;padding:1.35rem 1.5rem;border-bottom:1px solid #e7dacc;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.bj-editor-head .eyebrow{color:#8b6335}.bj-editor-head h2{font-size:clamp(1.45rem,2.4vw,1.95rem);font-family:Georgia,serif;margin:.2rem 0 0;color:#152b42}
.bj-save{font-size:.8rem;color:#456453;line-height:1.4;text-align:right;max-width:140px}
#bj-form{padding:1.5rem}
#bj-form label{display:flex;flex-direction:column;gap:.4rem;font-weight:700;color:#253e55;font-size:.91rem;min-width:0}
#bj-form label small{font-weight:400;color:#626f7a;line-height:1.45}
.bj-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}
#bj-form input,#bj-form select,#bj-form textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:.78rem .85rem;border:1px solid #bac7cf;background:#fff;border-radius:8px;color:#22354b;font:inherit;font-size:.98rem}
#bj-form textarea{resize:vertical;line-height:1.6;min-height:90px}
#bj-form :is(input,textarea,select):focus-visible{outline:3px solid rgba(178,130,61,.38);border-color:#806333}
.bj-scripture{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-radius:11px;background:#f2f6f8;border:1px solid #d7e2e8;padding:1rem 1.15rem;margin-bottom:1.3rem}
.bj-scripture p{flex:1 1 260px;margin:0;font-size:.91rem;line-height:1.55;color:#3f5768}
.bj-scripture a{font-weight:700;font-size:.88rem;color:#235175;text-decoration:underline;text-underline-offset:3px}
.bj-fields{display:grid;gap:1.1rem}
.bj-fields>label{background:#fbfaf7;border:1px solid #ece5da;border-radius:11px;padding:1rem}
.bj-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;border-top:1px solid #e2d9ca;padding-top:1.35rem;margin-top:1.5rem}
.bj-actions .btn{font-size:.9rem;padding:.8rem 1rem;cursor:pointer}
.bj-delete{border:1px solid #9a6266;background:#fff;color:#8c2932;border-radius:8px;padding:.75rem .9rem;font-weight:700;cursor:pointer}
.bj-delete:hover{background:#f8e8e6}
.bj-footnote{font-size:.83rem;color:#5e6d77;line-height:1.55;margin:1rem 0 0}
.bj-next{margin-top:2.1rem;padding:2rem;background:#fff;border:1px solid #dfd1bf;border-radius:18px}
.bj-next h2{font-family:Georgia,serif;font-size:1.65rem;color:#203047;margin:0 0 .7rem}
.bj-next p{max-width:850px;line-height:1.7}
.bj-next .button-row{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.dd-art-journal{background:radial-gradient(circle at 75% 15%,rgba(218,171,85,.38),transparent 53%),linear-gradient(135deg,#15293e,#6e3640);color:#f2deac}
.bj-print-page{display:none}
@media(max-width:850px){.bj-hero-inner{grid-template-columns:1fr}.bj-hero-mark{display:none}.bj-layout{grid-template-columns:1fr}.bj-sidebar{position:static}.bj-entry-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px}}
@media(max-width:570px){.bj-hero{padding:2.8rem 0}.bj-area{padding:1.3rem 0 3rem}.bj-note{padding:1rem}.bj-entry-list{grid-template-columns:1fr;max-height:210px}.bj-editor-head{padding:1.1rem;flex-wrap:wrap}#bj-form{padding:1.1rem}.bj-row{grid-template-columns:1fr;gap:1rem}.bj-actions .btn,.bj-actions .bj-delete{width:100%;text-align:center;justify-content:center}.bj-next{padding:1.3rem}}
@media print{
 @page{size:auto;margin:16mm}
 body.bj-printing>*:not(.bj-print-page){display:none!important}
 body.bj-printing .bj-print-page{display:block!important;color:#000;background:#fff;font:12pt/1.5 Georgia,serif;max-width:none}
 .bj-print-page h1{font-size:22pt;margin:0 0 .4em}.bj-print-page .bj-print-meta{color:#444;font-size:10pt;border-bottom:1px solid #666;padding-bottom:10px;margin-bottom:16px}
 .bj-print-page section{break-inside:avoid;margin:0 0 16px}
 .bj-print-page h2{font-size:13pt;margin:0 0 4px;border-bottom:1px solid #aaa}
 .bj-print-page p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
 .bj-print-page footer{border-top:1px solid #aaa;margin-top:20px;padding-top:8px;font-size:10pt;color:#444}
}
