/* The editable preheader is the only blue label on pages and posts. */
body .storens-hero-small .storens-hero-small__preheader{display:inline-block;box-sizing:border-box;max-width:100%;width:auto;background:#2b4570;color:#fff;padding:10px 14px;margin:0 0 20px;font-family:Assistant,sans-serif;font-size:14px;font-weight:400;line-height:1.45;letter-spacing:.03em;text-transform:uppercase}
body .storens-hero-small .storens-hero-small__preheader::before{display:none;content:none}
body .storens-hero-small .storens-hero-small__heading{ text-transform:none; }
.editor-styles-wrapper .storens-hero-small__post-title{display:none}
.editor-styles-wrapper .storens-hero-small__preheader{min-width:180px}
.editor-styles-wrapper .storens-hero-small__text-wrapper{min-width:0}
.editor-styles-wrapper .st-layout-lead,.storens-hero-small .st-layout-lead{font-weight:700}
.editor-styles-wrapper [data-type="storens/heading-body"]{border-top:1px solid #dce6ec;padding-top:24px}
@media(max-width:600px){body .storens-hero-small .storens-hero-small__preheader{font-size:12px;padding:9px 12px;margin-bottom:16px}}

.editor-styles-wrapper .st-layout-body .storens-header-body__preheader,.editor-styles-wrapper .st-layout-body .storens-header-body__heading{display:none}
.editor-styles-wrapper .st-layout-body::before{content:"Brödtext – lägg till mellanrubriker längre ner vid behov";display:block;margin-bottom:14px;color:#617a8c;font:13px/1.5 sans-serif}

/* Mobile news: keep navigation in document flow so it never slices the photo. */
@media(max-width:767px){
 body.single-post #header{position:relative!important;top:auto!important;left:auto!important;transform:none!important;margin:0!important}
 body.single-post .storens-page-content>.storens-hero-small{padding:20px 20px 0!important}
 body.single-post .st-news-matched{padding-top:20px}
 body.single-post .storens-hero-small__media-wrapper.contain{height:auto!important}
 body.single-post .storens-hero-small__media-wrapper.contain img{display:block;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important}
}
/* The editor iframe needs its own responsive columns and media sizing. */
@media(max-width:781px){
 .editor-styles-wrapper .editor-post-title{margin:24px 16px!important;padding:0!important;font-size:30px!important;line-height:1.2!important}
 .editor-styles-wrapper .storens-hero-small{padding:16px!important;width:100%!important;box-sizing:border-box}
 .editor-styles-wrapper .storens-hero-small__wrapper{display:flex;flex-direction:column-reverse;width:100%;gap:20px}
 .editor-styles-wrapper .storens-hero-small__media,.editor-styles-wrapper .storens-hero-small__text-wrapper{width:100%!important;max-width:100%!important;flex-basis:auto!important;margin:0!important;padding:0!important}
 .editor-styles-wrapper .storens-hero-small__media-wrapper{height:auto!important;aspect-ratio:16/10;overflow:hidden}
 .editor-styles-wrapper .storens-hero-small__image,.editor-styles-wrapper .storens-hero-small__video{display:block;position:static!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important}
 .editor-styles-wrapper .storens-hero-small__heading{font-size:28px!important;line-height:1.25!important;margin:12px 0 20px!important}
 .editor-styles-wrapper .storens-hero-small__heading:has([data-rich-text-placeholder]){font:14px/1.5 Assistant,sans-serif!important;color:#617a8c;padding:10px 12px;border:1px dashed #cad9e1;border-radius:4px}
 .editor-styles-wrapper .storens-hero-small p,.editor-styles-wrapper .storens-header-body p{font-size:17px!important;line-height:1.65!important}
 .editor-styles-wrapper .storens-header-body{padding:20px 16px!important;margin:12px 0 0!important;width:100%!important;box-sizing:border-box}
 .editor-styles-wrapper .storens-header-body__content{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
}

@media(max-width:781px){.editor-styles-wrapper .editor-visual-editor__post-title-wrapper{margin-top:24px!important}.editor-styles-wrapper .editor-post-title{margin-top:0!important}}
