
#ce-category-header.ce-category{padding:0;margin:0 0 20px;background:#191c1e;border:1px solid #34383b;border-radius:12px;overflow:hidden;color:#e1e5e9;font-family:inherit;clear:both;}
.ce-category,.ce-category *{box-sizing:border-box;}
.ce-category [hidden]{display:none!important;}
.ce-category__hero{position:relative;padding:24px;min-height:190px;background:#191c1e;}
.ce-category__art{position:absolute;inset:0;z-index:0;background-position:right center;background-size:cover;background-repeat:no-repeat;pointer-events:none;}
.ce-category__hero:after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#191c1e 0%,rgba(25,28,30,.95) 38%,rgba(25,28,30,.65) 68%,rgba(25,28,30,.1));pointer-events:none;}
#ce-category-header.ce-category h1{position:relative;margin:0 0 12px;padding:0;border:0;background:none;color:#f6f7f8;font-size:clamp(22px,2.6vw,30px);font-weight:800;line-height:1.25;text-align:left;text-transform:none;max-width:100%;}
.ce-category h1 em{color:#ff9c19;font-style:normal;}
#ce-category-header.ce-category .ce-category__lead{max-width:760px;margin:0;color:#d1d7de;font-size:15px;font-weight:400;line-height:1.7;text-align:left;text-shadow:0 1px 5px #191c1e;}
.ce-category__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:20px;}
#ce-category-header .ce-category__button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:7px;background:#ff990e;color:#17191b;font-size:14px;font-weight:750;line-height:1.4;text-decoration:none;transition:background .18s ease;}
#ce-category-header .ce-category__button:hover{background:#ffad35;}
#ce-category-header .ce-category__all{display:inline-flex;align-items:center;gap:8px;color:#c5ced6;font-size:13px;line-height:1.5;text-decoration:none;}
#ce-category-header .ce-category__all:hover{color:#fff;text-decoration:underline;}
.ce-category a:focus-visible,.ce-category summary:focus-visible{outline:2px solid #ffb04a;outline-offset:-3px;}
#conter{scroll-margin-top:24px;}

/* Isolated layout: overrides legacy category block sizing and visibility. */
#ce-category-header.ce-category{display:block!important;position:relative!important;float:none!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;opacity:1!important;visibility:visible!important;transform:none!important;contain:none!important;content-visibility:visible!important;}
#ce-category-header .ce-category__hero{display:block!important;position:relative!important;height:auto!important;min-height:0!important;padding:24px!important;overflow:hidden;}
#ce-category-header .ce-category__hero>h1,#ce-category-header .ce-category__lead,#ce-category-header .ce-category__actions{position:relative;z-index:1;opacity:1!important;visibility:visible!important;}
#ce-category-header .ce-category__hero>h1{display:block!important;}
#ce-category-header .ce-category__lead{display:block!important;}
#ce-category-header .ce-category__actions{display:flex!important;}

/* ФОНЫ КАТЕГОРИЙ: добавьте отдельную строку для каждого ID.
 Пример: #ce-category-header[data-category="150"]{--category-bg:url('/assets/img/my-category.webp');}
 Если ID не указан ниже, блок отображается без фоновой картинки. */
#ce-category-header{--category-bg:none;}
#ce-category-header[data-category="138"]{--category-bg:url('/assets/img/img-categori/skin-cs16-cs2.webp');}
 #ce-category-header[data-category="77"]{--category-bg:url('/assets/img/img-categori/cs16-chet.webp');}
 #ce-category-header[data-category="31"]{--category-bg:url('/assets/img/img-categori/cs16-maps.webp');}
 #ce-category-header[data-category="82"]{--category-bg:url('/assets/img/img-categori/cs16-config.webp');}
 #ce-category-header[data-category="213"]{--category-bg:url('/assets/img/img-categori/zxc-categiri.webp');}
 #ce-category-header[data-category="187"]{--category-bg:url('/assets/img/img-categori/clear-cs16.webp');}
 #ce-category-header[data-category="183"]{--category-bg:url('/assets/img/img-categori/animation-cs16.webp');}
 #ce-category-header[data-category="190"]{--category-bg:url('/assets/img/img-categori/cs16-sound.webp');}
 #ce-category-header[data-category="188"]{--category-bg:url('/assets/img/img-categori/cs16-all.webp');}
 #ce-category-header[data-category="137"]{--category-bg:url('/assets/img/img-categori/cs16-knife.webp');}
 #ce-category-header[data-category="211"]{--category-bg:url('/assets/img/img-categori/cs16-hd.webp');}
 #ce-category-header[data-category="214"]{--category-bg:url('/assets/img/categori/cs16-cheat.webp');}
#ce-category-header .ce-category__art{background-image:var(--category-bg);}
#ce-category-header .ce-category__lead{display:flow-root!important;max-width:78%;overflow-wrap:anywhere;}
#ce-category-header .ce-category__lead p{margin:0 0 12px;font-size:inherit;line-height:inherit;text-align:left;}
#ce-category-header .ce-category__lead p:last-child{margin-bottom:0;}
#ce-category-header .ce-category__lead a{color:#ffb04a;}
#ce-category-header .ce-category__lead img{max-width:100%;height:auto;}
#ce-category-header .ce-category__meta{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px 24px;position:relative;z-index:1;margin-top:20px;padding-top:16px;border-top:1px solid #ffffff14;}
#ce-category-header .ce-category__meta-item{display:flex;align-items:center;gap:9px;color:#d2dbe1;font-size:13px;line-height:1.5;}
#ce-category-header .ce-category__meta-item svg{width:22px;height:22px;flex:0 0 22px;color:#ffac32;}
#ce-category-header .ce-category__meta-item--safe svg{color:#79d6a0;}
#ce-category-header .ce-category__meta-item strong{font-weight:700;color:#eef3f5;}
#ce-category-header .ce-category__meta-item small{display:block;color:#b4c2ba;font-size:12px;line-height:1.5;}
#ce-category-header .ce-category__button svg{width:19px;height:19px;flex:0 0 19px;}
@media(max-width:620px){#ce-category-header .ce-category__lead{max-width:100%;}#ce-category-header .ce-category__hero:after{background:rgba(25,28,30,.92);}#ce-category-header .ce-category__hero{padding:18px!important;}#ce-category-header .ce-category__meta{gap:12px;flex-direction:column;}}
@media(prefers-reduced-motion:reduce){.ce-category__button{transition:none!important;}}

/* Читаемая типографика и центрирование нижней строки. */
#ce-category-header.ce-category{font-family:inherit;text-transform:none!important;letter-spacing:normal;}
#ce-category-header.ce-category h1{font-family:inherit!important;font-size:24px!important;font-weight:700!important;line-height:1.3!important;text-transform:none!important;}
#ce-category-header.ce-category .ce-category__lead{width:100%;max-width:680px!important;font-family:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.65!important;text-transform:none!important;text-shadow:none!important;letter-spacing:normal!important;color:#cbd1d7;}
#ce-category-header .ce-category__lead p,#ce-category-header .ce-category__lead span,#ce-category-header .ce-category__lead a,#ce-category-header .ce-category__lead b,#ce-category-header .ce-category__lead strong,#ce-category-header .ce-category__lead em{font-family:inherit!important;font-size:14px!important;line-height:1.65!important;font-weight:400!important;text-transform:none!important;letter-spacing:normal!important;}
#ce-category-header .ce-category__lead b,#ce-category-header .ce-category__lead strong{font-weight:600!important;}
#ce-category-header .ce-category__button,#ce-category-header .ce-category__button span,#ce-category-header .ce-category__all{font-family:inherit!important;text-transform:none!important;font-size:14px!important;font-weight:600!important;}
#ce-category-header .ce-category__meta{justify-content:flex-start!important;align-items:center!important;gap:16px 30px;}
#ce-category-header .ce-category__meta-item{justify-content:flex-start;align-items:center!important;font-family:inherit!important;font-size:13px!important;font-weight:400!important;text-transform:none!important;}
#ce-category-header .ce-category__meta-item span,#ce-category-header .ce-category__meta-item strong,#ce-category-header .ce-category__meta-item small{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;}
#ce-category-header .ce-category__meta-item strong{font-size:13px!important;font-weight:600!important;line-height:1.5!important;}
#ce-category-header .ce-category__meta-item--safe>span{text-align:left;}
#ce-category-header .ce-category__meta-item--safe strong{display:inline!important;}
#ce-category-header .ce-category__meta-item small{display:inline!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;margin-top:0;margin-left:7px;}
@media(max-width:620px){#ce-category-header.ce-category h1{font-size:21px!important;}#ce-category-header .ce-category__meta{flex-direction:row;gap:10px 20px;}#ce-category-header.ce-category .ce-category__lead{max-width:100%!important;}}

#ce-category-header .ce-category__meta{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px 22px;}
#ce-category-header .ce-category__meta-item--safe>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 7px;text-align:left;}
#ce-category-header .ce-category__meta-item--safe small{display:inline!important;margin:0!important;}
