/* KFU 11.1 */
.site-header .brand-mark,.site-header .brand-mark img{background:transparent!important;border:0!important}
.site-header .brand-mark img{object-fit:contain;max-width:100%;max-height:100%;border-radius:0;filter:drop-shadow(0 3px 8px #0003)}
.intro-logo{object-fit:contain;max-width:100%;height:auto}
.kfu-sidebar-logo{display:grid!important;place-items:center;width:46px;height:46px;min-width:46px;background:#1c1d20;border:1px solid #a47a35;border-radius:8px}
.kfu-sidebar-logo img{width:100%;height:100%;object-fit:contain}
.auth-brand img{background:transparent!important;border-radius:0!important;object-fit:contain}
.brand-settings-block{border-top:1px solid #6c532c;padding-top:18px;margin-top:12px}.brand-settings-block h3{color:#edc678}.brand-settings-block p{color:#bbc1cc;line-height:1.6}
.brand-logo-preview,.brand-bg-preview{display:block!important;width:200px!important;max-width:100%!important;height:110px!important;object-fit:contain!important;border:1px solid #665533;border-radius:9px;background:#131519;margin-top:10px}.brand-bg-preview{object-fit:cover!important}
.brand-remove-bg{display:flex!important;align-items:center;gap:10px}.brand-remove-bg input{width:auto!important;margin:0!important}
:root[data-bg-mode="custom"] body{background:transparent!important;color:#f7f7f7}
:root[data-bg-mode="custom"] body:before{content:"";position:fixed;inset:0;z-index:-1;background-image:linear-gradient(#090b0cb5,#090b0cb5),var(--kfu-custom-bg);background-size:cover;background-position:center}
:root[data-bg-mode="custom"] .hero,:root[data-bg-mode="custom"] .about,:root[data-bg-mode="custom"] .service-section,:root[data-bg-mode="custom"] .facilities,:root[data-bg-mode="custom"] .portfolio,:root[data-bg-mode="custom"] .news-section,:root[data-bg-mode="custom"] .careers,:root[data-bg-mode="custom"] .contact-section,:root[data-bg-mode="custom"] .page-hero,:root[data-bg-mode="custom"] .kfu-page-hero{background:#101318cf!important;color:#f8f8f8!important}
:root[data-bg-mode="custom"] .section h2,:root[data-bg-mode="custom"] .hero-content h1{color:#fff!important}
:root[data-bg-mode="custom"] .section .lead,:root[data-bg-mode="custom"] .section-top>p{color:#d0d4de!important}

:root[data-bg-mode="custom"]{background-image:linear-gradient(#0a0c0f9e,#0a0c0f9e),var(--kfu-custom-bg)!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
:root[data-bg-mode="custom"] body:before{display:none}
