/* Dan Dangerously v9 -- Journal photo editing and published photos. */
.journal-v9-feature-picker{padding:18px;border:1px solid rgba(255,255,255,.2);margin:16px 0;background:rgba(255,255,255,.025);display:grid;gap:10px}
.journal-v9-feature-picker>.admin-field-label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--paper)}
.journal-v9-feature-picker>small,.journal-v9-library-head small{color:var(--warm);font-size:11px;line-height:1.45}
.journal-v9-feature-buttons{display:flex;gap:9px;flex-wrap:wrap}
.journal-v9-feature-buttons .btn{font-size:11px;min-height:40px;padding:10px 12px}
.journal-v9-feature-preview{position:relative;display:inline-flex;width:min(100%,520px);flex-direction:column;gap:8px;align-items:flex-start}
.journal-v9-feature-preview img{max-width:100%;max-height:280px;object-fit:contain;background:#111;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.journal-v9-media-library{padding:16px;border:1px solid rgba(0,229,204,.4);margin:14px 0;background:rgba(7,12,15,.9)}
.journal-v9-library-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:14px}
.journal-v9-library-head>div{display:grid;gap:5px}
.journal-v9-library-head strong{text-transform:uppercase;letter-spacing:.06em;font-size:14px;color:var(--paper)}
.journal-v9-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;max-height:350px;overflow:auto}
.journal-v9-image-grid button{display:block;position:relative;aspect-ratio:1;background:#18181d;border:2px solid transparent;padding:0;overflow:hidden;cursor:pointer}
.journal-v9-image-grid button:hover,.journal-v9-image-grid button:focus-visible{border-color:var(--cyan);outline:0}
.journal-v9-image-grid img{width:100%;height:100%;object-fit:cover}
.classic-editor-body{min-height:300px}
.classic-editor-body figure.journal-photo{display:table;max-width:100%;margin:20px auto}
.classic-editor-body figure.journal-photo img{display:block;max-width:100%;height:auto}
.classic-editor-body figure.journal-photo figcaption{font-size:13px;color:#666;line-height:1.5;padding:8px 3px;text-align:center}
.classic-editor-body[contenteditable="true"]:focus{outline-offset:2px}
.journal-v9-feature{width:100%;margin:23px 0 0}
.journal-v9-feature img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#101015}
.journal-v8-body figure.journal-photo{display:table;max-width:100%;margin:28px auto}
.journal-v8-body figure.journal-photo img{display:block;max-width:100%;height:auto;margin:0 auto}
.journal-v8-body figure.journal-photo figcaption{display:table-caption;caption-side:bottom;text-align:center;font-size:13px;font-style:italic;line-height:1.5;color:#bbb!important;padding:9px 8px}
.journal-v8-body figure.journal-photo.align-left{margin-left:0;margin-right:auto}
.journal-v8-body figure.journal-photo.align-right{margin-right:0;margin-left:auto}
.journal-v9-cat-thumb{display:block;width:100%;height:165px;object-fit:cover;margin:-2px 0 14px}
.journal-v9-latest-thumb{display:block;width:100%;height:140px;object-fit:cover;margin:0 0 10px}
.journal-v9-related-thumb{display:block;width:100%;height:118px;object-fit:cover;margin-bottom:4px}
@media(max-width:640px){.journal-v9-feature-picker{padding:12px}.journal-v9-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.journal-v9-cat-thumb{height:150px}.journal-v9-feature img{max-height:none}}

/* Image layout options from the editor. */
.journal-v8-body figure.journal-photo.size-small,.classic-editor-body figure.journal-photo.size-small{width:min(100%,400px)}
.journal-v8-body figure.journal-photo.size-medium,.classic-editor-body figure.journal-photo.size-medium{width:min(100%,680px)}
.journal-v8-body figure.journal-photo.size-full,.classic-editor-body figure.journal-photo.size-full{width:100%}
