/* «TEMA Clips» strip on the home page and under articles (variant A «Обложки 9:16»), 20.11.2026 */
#tema-portal .tc-strip{margin:34px 0 8px;width:100%;min-width:0}
#tema-portal .tc-strip .tp-section-heading{margin-bottom:4px}
#tema-portal .tc-sub{margin:0 0 14px;color:#777971;font-size:14px}
#tema-portal .tc-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 0 6px;scrollbar-width:none;overscroll-behavior-x:contain}
#tema-portal .tc-row::-webkit-scrollbar{display:none}
#tema-portal .tc-c{position:relative;flex:none;width:142px;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#222;scroll-snap-align:start;color:#fff!important;text-decoration:none!important;display:flex;flex-direction:column;justify-content:flex-end;padding:10px;transition:transform .2s}
#tema-portal .tc-c img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0;border-radius:0;transition:transform .3s}
#tema-portal .tc-c:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 55%,#0000004d 72%,#000000b8)}
#tema-portal .tc-c img{filter:brightness(1.06) saturate(1.08)}
#tema-portal .tc-c .tc-t{text-shadow:0 1px 3px #0009,0 0 12px #0006}
#tema-portal .tc-c>span{position:relative;z-index:1}
#tema-portal .tc-d{position:absolute!important;top:8px;left:8px;display:flex;align-items:center;gap:3px;background:#0009;border-radius:999px;padding:3px 8px 3px 5px;font-size:11px;font-weight:700;line-height:1.2}
#tema-portal .tc-d svg,#tema-portal .tc-all svg{width:13px;height:13px;fill:#fff}
#tema-portal .tc-t{font-size:13px;font-weight:700;line-height:1.22;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 3px #0008}
#tema-portal .tc-all{background:#20211f;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:14px;gap:12px}
#tema-portal .tc-all:after{display:none}
#tema-portal .tc-all span{width:52px;height:52px;border-radius:50%;background:var(--accent,#df7411);display:grid;place-items:center}
#tema-portal .tc-all svg{width:24px;height:24px;margin-left:3px}
#tema-portal .tc-c:hover{color:#fff!important}
#tema-portal .tc-c:hover img{transform:scale(1.04)}
#tema-portal .tc-all:hover span{background:#ef8020}
@media(max-width:680px){#tema-portal .tc-strip-home{order:2}}
@media(min-width:681px){#tema-portal .tc-c{width:170px}}
@media(prefers-reduced-motion:reduce){#tema-portal .tc-c img{transition:none}}

/* logo F in the heading */
#tema-portal .tc-strip h2.tc-h{display:flex;align-items:center;gap:8px}
#tema-portal .tc-strip h2.tc-h em{font-style:normal;color:#df7411}
#tema-portal .tc-strip .tc-mark{width:1.45em;height:1.45em;flex:none;color:#20211f;margin:-.2em 0}
#tema-portal .tc-strip h2.tc-h a{display:flex;align-items:center;gap:8px;color:#20211f!important;text-decoration:none!important}
#tema-portal .tc-strip h2.tc-h a:hover em{color:#ec7c18}
#tema-portal .tc-strip h2.tc-h a:hover .tc-mark{transform:rotate(-4deg) scale(1.05)}
#tema-portal .tc-strip .tc-mark{transition:transform .2s}
