/* Главная: блок «Новости и статьи» (articles-main) */
.stid-press{--sp-radius:var(--theme-outer-border-radius,8px);--sp-stroke:var(--stroke_black,#ededed);--sp-text:var(--white_text_black,#222);--sp-muted:#8c8c8c;--sp-accent:var(--theme-base-color,#e30613)}
.stid-press__head{align-items:center}
.stid-press__head-right{margin-left:auto}
.stid-press__all{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border:1px solid var(--sp-stroke);border-radius:var(--sp-radius);font-size:14px;font-weight:600;color:var(--sp-text);text-decoration:none;transition:border-color .2s,color .2s}
.stid-press__all svg{fill:currentColor;stroke:currentColor}
.stid-press__all:hover{border-color:var(--sp-accent);color:var(--sp-accent)}
.stid-press__more{display:none;margin-top:24px}
.stid-press__all--wide{width:100%;justify-content:center}

.stid-press__grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:stretch}

.stid-press__main{display:flex;flex-direction:column;background:var(--card_bg_black,#fff);border:1px solid var(--sp-stroke);border-radius:var(--sp-radius);overflow:hidden;color:var(--sp-text);text-decoration:none;transition:box-shadow .25s,border-color .25s}
.stid-press__main:hover{box-shadow:0 14px 40px rgba(0,0,0,.08);border-color:transparent}
.stid-press__main-img{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--darkgrey_bg_black,#f4f4f4)}
.stid-press__main-img img,.stid-press__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.stid-press__main:hover .stid-press__main-img img,.stid-press__item:hover .stid-press__thumb img{transform:scale(1.04)}
.stid-press__main-body{display:flex;flex-direction:column;gap:12px;padding:24px 28px 28px}
.stid-press__main-title{font-size:22px;line-height:1.35;font-weight:700;transition:color .2s}
.stid-press__main:hover .stid-press__main-title,.stid-press__item:hover .stid-press__item-title{color:var(--sp-accent)}
.stid-press__main-text{font-size:15px;line-height:1.55;color:var(--sp-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.stid-press__list{display:flex;flex-direction:column;gap:16px}
.stid-press__item{flex:1;display:flex;gap:20px;align-items:center;padding:14px;background:var(--card_bg_black,#fff);border:1px solid var(--sp-stroke);border-radius:var(--sp-radius);color:var(--sp-text);text-decoration:none;transition:box-shadow .25s,border-color .25s}
.stid-press__item:hover{box-shadow:0 10px 30px rgba(0,0,0,.07);border-color:transparent}
.stid-press__thumb{position:relative;flex:0 0 168px;align-self:stretch;min-height:108px;border-radius:calc(var(--sp-radius) - 2px);overflow:hidden;background:var(--darkgrey_bg_black,#f4f4f4)}
.stid-press__item-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.stid-press__item-title{font-size:16px;line-height:1.4;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}

.stid-press__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:13px;line-height:1.2;color:var(--sp-muted)}
.stid-press__tag{display:inline-block;padding:4px 10px;border-radius:20px;background:rgba(227,6,19,.08);color:var(--sp-accent);font-weight:600;font-size:12px;letter-spacing:.02em}
.stid-press__noimg{background:linear-gradient(135deg,#f4f4f4,#e9e9e9)}

@media (max-width:1199px){.stid-press__grid{gap:24px}.stid-press__thumb{flex-basis:140px}.stid-press__main-title{font-size:20px}}
@media (max-width:991px){.stid-press__grid{grid-template-columns:1fr}.stid-press__thumb{flex-basis:180px}}
@media (max-width:600px){
 .stid-press__more{display:block}
 .stid-press__main-body{padding:18px 18px 20px}
 .stid-press__main-title{font-size:18px}
 .stid-press__main-text{-webkit-line-clamp:2;font-size:14px}
 .stid-press__item{gap:14px;padding:10px}
 .stid-press__thumb{flex-basis:104px;min-height:80px}
 .stid-press__item-title{font-size:14px}
}

/* вкладки */
.stid-press__head-right{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.stid-press__tabs{display:flex;gap:8px;flex-wrap:wrap}
.stid-press__chip{padding:10px 16px;border-radius:999px;border:1px solid #ebedf0;background:var(--card_bg_black,#fff);color:var(--sp-text);font:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.stid-press__chip:hover{border-color:#222}
.stid-press__chip.is-active{background:#222;border-color:#222;color:#fff}
.stid-press__grid{display:none}
.stid-press__grid.is-active{display:grid;animation:stidPressIn .35s ease}
@keyframes stidPressIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:991px){.stid-press__head{flex-wrap:wrap;gap:16px}.stid-press__head-right{margin-left:0;width:100%;justify-content:flex-start}}
@media (max-width:600px){.stid-press__head-right{display:flex}.stid-press__head-right .stid-press__all{display:none}.stid-press__tabs{overflow-x:auto;flex-wrap:nowrap}}

/* картинки без обрезки: целиком, поля заполняет размытая копия */
.stid-press__main-img,.stid-press__thumb{isolation:isolate}
.stid-press__main-img::before,.stid-press__thumb::before{content:"";position:absolute;inset:-24px;background:var(--sp-bg) center/cover no-repeat;filter:blur(22px) saturate(1.15);opacity:.55;z-index:-1}
.stid-press__main-img{aspect-ratio:auto;display:flex;align-items:center;justify-content:center}
.stid-press__main-img img{position:relative;inset:auto;width:100%;height:auto;max-height:560px;object-fit:contain}
.stid-press__thumb img{object-fit:contain}
.stid-press__main:hover .stid-press__main-img img,.stid-press__item:hover .stid-press__thumb img{transform:scale(1.02)}
