/* RC28: editorial columns, clean portraits and compact accessible sharing. */
body.single-post .bg-mag-editorial-note,body.boostrogo-magazine-single .bg-mag-editorial-note{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
body.single-post .bg-mag-editorial-main h3,body.boostrogo-magazine-single .bg-mag-editorial-main h3{font-size:clamp(25px,2.3vw,32px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
body.single-post .bg-mag-editorial-main>p,body.boostrogo-magazine-single .bg-mag-editorial-main>p{font-size:14px!important;line-height:1.65!important;font-weight:400!important}
body.single-post .bg-mag-editorial-side,body.boostrogo-magazine-single .bg-mag-editorial-side{padding:26px 24px 26px 38px!important;align-content:start!important;gap:14px!important;min-width:0!important}
body.single-post .bg-mag-editorial-process p,body.boostrogo-magazine-single .bg-mag-editorial-process p{font-size:13px!important;line-height:1.6!important;font-weight:400!important}
body.single-post .bg-mag-editorial-process div>strong,body.boostrogo-magazine-single .bg-mag-editorial-process div>strong{font-size:20px!important;line-height:1.25!important}
body.single-post .bg-mag-editorial-author,body.boostrogo-magazine-single .bg-mag-editorial-author{grid-template-columns:82px minmax(0,1fr)!important;align-items:center!important;gap:12px!important}
body.single-post .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar,body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar{width:82px!important;height:94px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}
body.single-post .bg-mag-footer .bg-mag-author-avatar:before,body.single-post .bg-mag-footer .bg-mag-author-avatar:after,body.boostrogo-magazine-single .bg-mag-footer .bg-mag-author-avatar:before,body.boostrogo-magazine-single .bg-mag-footer .bg-mag-author-avatar:after{display:none!important}
body.single-post .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar img,body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;padding:0!important;margin:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
@media(max-width:980px){body.single-post .bg-mag-editorial-note,body.boostrogo-magazine-single .bg-mag-editorial-note{grid-template-columns:minmax(0,1fr)!important}body.single-post .bg-mag-editorial-side,body.boostrogo-magazine-single .bg-mag-editorial-side{padding:22px!important}}
@media(max-width:620px){body.single-post .bg-mag-editorial-side,body.boostrogo-magazine-single .bg-mag-editorial-side{padding:18px!important}body.single-post .bg-mag-editorial-main h3,body.boostrogo-magazine-single .bg-mag-editorial-main h3{font-size:26px!important}}

/* The material note belongs directly on the navy surface, without a nested card. */
body.single-post .bg-mag-editorial-process,
body.boostrogo-magazine-single .bg-mag-editorial-process {
    grid-template-columns:minmax(0,1fr)!important;
    padding:4px 2px 8px!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
}
body.single-post .bg-mag-editorial-process p,
body.boostrogo-magazine-single .bg-mag-editorial-process p {
    color:#e3e5f3!important;
    max-width:48ch;
}
@media(min-width:981px) {
    body.single-post .bg-mag-editorial-process,
    body.boostrogo-magazine-single .bg-mag-editorial-process {
        /* Keep the unframed text safely beyond the diagonal hero edge. */
        padding-left:20px!important;
    }
}

body.single-post .bg-mag-editorial-share>.bg-mag-share-heading,
body.boostrogo-magazine-single .bg-mag-editorial-share>.bg-mag-share-heading {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0 0 12px!important;
    font-size:11px!important;
    line-height:1.4!important;
    letter-spacing:.06em!important;
    color:#ffc1d3!important;
}
.bg-mag-editorial-share>.bg-mag-share-heading svg {
    width:18px;
    height:18px;
    flex:0 0 18px;
    fill:none;
}
body.single-post .bg-mag-editorial-share .bg-mag-share,
body.boostrogo-magazine-single .bg-mag-editorial-share .bg-mag-share {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
}
body.single-post .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a,
body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;
    width:100%!important;
    min-height:66px!important;
    padding:10px 3px!important;
    margin:0!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:13px!important;
    background:rgba(12,20,61,.42)!important;
    color:#fff!important;
    text-decoration:none!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap!important;
    transition:background-color .15s ease,border-color .15s ease!important;
}
body.single-post .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a svg,
body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a svg {
    display:block!important;
    width:21px!important;
    height:21px!important;
    flex:0 0 21px!important;
    fill:currentColor!important;
}
body.single-post .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a:hover,
body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a:hover {
    background:rgba(255,255,255,.16)!important;
    border-color:#ff8eac!important;
    transform:none!important;
}
body.single-post .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a:focus-visible,
body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a:focus-visible {
    outline:3px solid #fff!important;
    outline-offset:3px!important;
    border-color:#ff8eac!important;
}
@media(prefers-reduced-motion:reduce) {
    body.single-post .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a,
    body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-share .bg-mag-share a {
        transition:none!important;
    }
}

/* RC34 — nowy zestaw portretów redakcji: czytelniejszy avatar przy artykule. */
@media(max-width:620px){
  body.single-post .bg-mag-editorial-author,body.boostrogo-magazine-single .bg-mag-editorial-author{grid-template-columns:74px minmax(0,1fr)!important}
  body.single-post .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar,body.boostrogo-magazine-single .bg-mag-footer .bg-mag-editorial-author .bg-mag-author-avatar{width:74px!important;height:86px!important}
}
