/* SKTC 1.1.1 – nur historische Artikel und Redaktionsoberfläche */
.sktc-history-article,.sa-preview-content{font-family:Calibri,"Segoe UI",Arial,sans-serif;color:#333;line-height:1.65;font-size:1.06rem;overflow-wrap:anywhere}
.sktc-history-article p,.sa-preview-content p{margin:0 0 1.15em;color:#333;line-height:1.65}
.sktc-history-article h3,.sa-preview-content h3{margin:1.5em 0 .6em;color:#153c68;font-weight:700;font-size:1.35rem}
.sktc-history-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;margin:18px 0 26px;align-items:start}
.sktc-history-gallery.sktc-history-single{grid-template-columns:minmax(0,420px);justify-content:center}
.sktc-history-gallery figure{margin:0!important;min-width:0;background:#f6f7fa;border:1px solid #e0e5eb;border-radius:9px;overflow:hidden;padding:7px}
.sktc-history-gallery a{display:block;text-decoration:none!important}
.sktc-history-gallery img{display:block!important;width:100%!important;height:190px!important;object-fit:contain;max-width:100%!important;margin:0!important;border-radius:4px;background:#edf0f3}
.sktc-history-single img{height:auto!important;max-height:360px!important;object-fit:contain}
.sktc-history-gallery figcaption{font-size:.92rem;text-align:center;padding:9px 4px 4px;line-height:1.4;color:#444}
.sktc-history-source{margin:26px 0 0;padding-top:12px;border-top:1px solid #ddd;font-size:.86rem;color:#666}
.sktc-history-source a{text-decoration:none!important;color:#153c68}
.sa-editor-block{margin:16px 0;padding:16px;border:1px solid #dfe5ec;border-radius:8px;background:#fafbfc}
.sa-editor-image{display:grid;grid-template-columns:minmax(80px,130px) minmax(0,1fr);align-items:start;gap:14px;padding:12px 0;border-top:1px solid #dfe5ec}
.sa-editor-image img{width:100%;height:auto;max-height:140px;object-fit:contain}
.sa-order{width:65px}.sa-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.sa-preview-dialog,.sktc-history-lightbox{position:fixed;inset:0;margin:auto;max-height:90vh;width:min(920px,94vw);max-width:94vw;border:0;border-radius:12px;padding:36px 22px 22px;background:#fff;box-shadow:0 10px 60px #0005;overflow:auto;z-index:9999}
.sa-preview-dialog::backdrop,.sktc-history-lightbox::backdrop{background:#0009}
.sa-preview-close,.sktc-history-lightbox button{position:absolute;right:9px;top:5px;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:#153c68}
.sa-preview-content h2{color:#153c68;font-size:1.8rem;line-height:1.25;margin:0 0 12px}
.sktc-history-lightbox{text-align:center;background:#fff;padding:42px 12px 12px;width:max-content;max-width:94vw}
.sktc-history-lightbox img{display:block;max-width:90vw;max-height:74vh;width:auto;height:auto;margin:auto;object-fit:contain}
.sktc-history-lightbox p{margin:10px 0 0;color:#333}
@media(max-width:480px){.sktc-history-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sktc-history-single{grid-template-columns:1fr!important}.sktc-history-gallery img{height:135px!important}.sktc-history-single img{height:auto!important}.sa-editor-image{grid-template-columns:90px minmax(0,1fr)}.sa-preview-dialog{padding:38px 12px 12px}}
