
/* Added after full reference analysis: page completeness + content polish */
.cms-content h2,
.cms-content h3{
    font-family:Arial, Helvetica, sans-serif!important;
    color:#223047!important;
    margin:22px 0 10px!important;
    line-height:1.25!important;
}
.cms-content h2{
    font-size:25px!important;
    font-weight:600!important;
    border-bottom:1px solid #e2e8f0!important;
    padding-bottom:8px!important;
}
.cms-content h3{
    font-size:20px!important;
    font-weight:700!important;
}
.cms-content p{
    font-size:16px!important;
    line-height:1.78!important;
    color:#344154!important;
    margin:0 0 14px!important;
}
.cms-content ul,
.cms-content ol{
    margin:8px 0 18px 22px!important;
    padding:0!important;
}
.cms-content li{
    margin:7px 0!important;
    line-height:1.65!important;
    color:#344154!important;
}
.support-badges{
    display:grid;
    gap:8px;
}
.support-badges a{
    display:block!important;
    padding:9px 10px!important;
    border:1px solid #d9e2ec!important;
    border-radius:4px!important;
    background:#f8fbff!important;
    font-weight:700!important;
}
.nav-dropdown .dropdown-panel{
    max-height:70vh;
    overflow:auto;
}
.reference-topline .top-action.primary{
    background:#125ea5!important;
}
@media(max-width:860px){
    .cms-content p{font-size:22px!important;line-height:1.55!important}
    .cms-content h2{font-size:28px!important}
    .cms-content h3{font-size:24px!important}
    .support-badges a{font-size:16px!important}
}


/* Subject-related header image final correction */
.bscrs-site-header .journaltheme-masthead{
    background:
        linear-gradient(90deg,rgba(3,24,60,.98) 0%,rgba(3,24,60,.96) 44%,rgba(5,39,94,.82) 68%,rgba(10,76,137,.62) 100%),
        url('../images/bscrs-colorectal-journal-header.svg') center/cover no-repeat!important;
}
.bscrs-site-header .journaltheme-masthead:before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    background:linear-gradient(90deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.20) 44%,rgba(0,0,0,.04) 100%)!important;
    mix-blend-mode:normal!important;
}
.bscrs-site-header .journaltheme-masthead:after{
    opacity:.18!important;
}
.bscrs-title-block strong,
.bscrs-title-block em,
.bscrs-title-block small{
    position:relative!important;
    z-index:3!important;
    text-shadow:0 3px 12px rgba(0,0,0,.58)!important;
}
.bscrs-title-block small{
    background:rgba(3,24,60,.34)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:999px!important;
    padding:5px 10px!important;
}
.bscrs-brand-logo-wrap{
    position:relative!important;
    z-index:4!important;
}
@media(max-width:860px){
    .bscrs-site-header .journaltheme-masthead{
        background:
            linear-gradient(90deg,rgba(3,24,60,.99) 0%,rgba(3,24,60,.96) 58%,rgba(10,76,137,.54) 100%),
            url('../images/bscrs-colorectal-journal-header.svg') center/cover no-repeat!important;
    }
}

/* Dynamic header image from Admin > Site Settings */
.bscrs-site-header .journaltheme-masthead{
    background:
        linear-gradient(90deg,rgba(3,24,60,.98) 0%,rgba(3,24,60,.96) 44%,rgba(5,39,94,.82) 68%,rgba(10,76,137,.62) 100%),
        var(--dynamic-header-bg) center/cover no-repeat!important;
}
@media(max-width:860px){
    .bscrs-site-header .journaltheme-masthead{
        background:
            linear-gradient(90deg,rgba(3,24,60,.99) 0%,rgba(3,24,60,.96) 58%,rgba(10,76,137,.54) 100%),
            var(--dynamic-header-bg) center/cover no-repeat!important;
    }
}
