/* Reserve physical arrow space independently of title writing direction. */
html body.uk-template .cats > a.cat > h3,
html body.uk-template .cats > a.cat > .n {
 box-sizing:border-box!important;
 width:calc(100% - 52px)!important;
 max-width:calc(100% - 52px)!important;
 margin-left:52px!important;
 margin-right:0!important;
 text-align:right!important;
 overflow-wrap:anywhere;
}
html body.uk-template .cats > a.cat > .go {
 left:20px!important;
 right:auto!important;
}

/* Keep the category action physically left of the section heading at all widths. */
html body.uk-template [data-ukr-best] > .sec-h {
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 align-items:end!important;
 gap:12px!important;
 direction:rtl!important;
}
html body.uk-template [data-ukr-best] > .sec-h > .ukr-rail-actions {
 grid-column:2!important;
 justify-self:end!important;
 margin:0!important;
 align-self:end!important;
}
html body.uk-template [data-ukr-best] > .sec-h > div:first-child {min-width:0!important;}
html body.uk-template [data-ukr-best] .ukr-rail-actions > .link {
 white-space:nowrap!important;
 display:inline-flex!important;
 flex-wrap:nowrap!important;
 align-items:center!important;
 gap:6px!important;
}
@media(max-width:560px){
 html body.uk-template [data-ukr-best] > .sec-h h2 {font-size:clamp(21px,5.65vw,30px)!important;}
 html body.uk-template [data-ukr-best] .ukr-rail-actions > .link {font-size:11px!important;}
 html body.uk-template [data-ukr-best] > .sec-h {gap:8px!important;}
}

@media(max-width:980px){
 html body.uk-template .ukp-shelf-section .shelf > .promo-panel {
  min-height:0!important;height:auto!important;padding:18px!important;
  display:block!important;
 }
 html body.uk-template .ukp-shelf-section .promo-panel > .ukr-shelf-identity {margin:0 0 10px!important;font-size:18px!important;line-height:1.2!important;}
 html body.uk-template .ukp-shelf-section .promo-panel > .kick {font-size:11px!important;line-height:1.4!important;}
 html body.uk-template .ukp-shelf-section .promo-panel > h3 {font-size:23px!important;line-height:1.25!important;margin:8px 0 12px!important;}
 html body.uk-template .ukp-shelf-section .promo-panel > ul {margin:0!important;padding:0!important;display:grid!important;gap:5px!important;}
 html body.uk-template .ukp-shelf-section .promo-panel > ul li {font-size:12px!important;line-height:1.5!important;margin:0!important;}
 html body.uk-template .ukp-shelf-section .promo-panel > .link {margin:14px 0 0!important;font-size:13px!important;position:relative;z-index:2;}
 html body.uk-template .ukp-shelf-section .promo-panel > .pp-art {height:66px!important;min-height:0!important;margin:0!important;position:relative!important;inset:auto!important;pointer-events:none;}
 html body.uk-template .ukp-shelf-section .promo-panel > .pp-art img {max-height:95px!important;width:auto!important;}
}
