/* B19. Новости проекта — лента ВКонтакте (SPEC 7 B19, 9.5 Carousel/PostCard). Запасной вид — в landing.css. */
.news__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin-bottom:20px}
.news__intro{flex:1 1 420px;min-width:0}
.news__title{font-size:clamp(26px,1.3rem + .9vw,34px);margin:0 0 6px}
.news__subtitle{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;color:var(--color-ink-muted)}
.news__group{display:inline-flex;align-items:center;gap:8px;color:var(--color-ink);font-weight:600}
.news__avatar{width:32px;height:32px;border-radius:50%;border:1px solid var(--color-border);background:var(--color-surface-2)}
.news__actions{display:flex;align-items:center;gap:12px}
.news__group-link img{flex:0 0 auto}
.news__arrows{display:none;gap:8px}
.news__arrow{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border-radius:var(--radius-pill);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-primary);transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.news__arrow:hover:not(:disabled){background:var(--color-surface-2);border-color:var(--color-primary)}
.news__arrow:disabled{color:var(--color-ink-muted);opacity:.45;cursor:default}
@media (min-width:768px){.news__arrows{display:flex}}
.no-js .news__arrows{display:none}

/* карусель: горизонтальный список со scroll-snap; на мобильном — край следующей карточки */
.news__list{--news-gap:16px;display:grid;grid-auto-flow:column;grid-auto-columns:82%;gap:var(--news-gap);list-style:none;
  margin:0 calc(-1 * var(--container-px));padding:6px var(--container-px) 8px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--container-px);scrollbar-width:none}
.news__list::-webkit-scrollbar{display:none}
.news__item{scroll-snap-align:start;min-width:0}
@media (min-width:768px){.news__list{--news-gap:20px;grid-auto-columns:calc((100% - var(--news-gap)) / 2)}}
@media (min-width:1024px){.news__list{--news-gap:24px;grid-auto-columns:calc((100% - 2 * var(--news-gap)) / 3);margin:0 -6px;padding:6px 6px 8px;scroll-padding-inline:6px}}
@media (prefers-reduced-motion:no-preference){.news__list{scroll-behavior:smooth}}

/* карточка публикации: вся карточка — ссылка; высота фиксирована (картинка 16:10 + 4 строки текста), без CLS */
.post-card{display:flex;flex-direction:column;height:100%;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);
  box-shadow:var(--shadow-1);color:var(--color-ink);text-decoration:none;overflow:hidden;transition:box-shadow .2s var(--ease),border-color .2s var(--ease)}
.post-card:hover{box-shadow:var(--shadow-2);border-color:var(--color-decor);color:var(--color-ink)}
.post-card:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px;border-radius:var(--radius-card)}
.post-card__media{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:var(--color-surface-2);overflow:hidden}
.post-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post-card__quote{color:var(--color-coral);width:44px;height:44px}
.post-card__play{position:relative;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:var(--color-ink);color:var(--color-surface);box-shadow:var(--shadow-2)}
.post-card__play .icon{margin-left:3px;fill:currentColor}
.post-card__video,.post-card__pin{position:absolute;left:12px;padding:3px 12px;border-radius:var(--radius-pill);font-size:var(--fs-xs);font-weight:600;line-height:1.5}
.post-card__video{bottom:12px;background:var(--color-surface);color:var(--color-ink);box-shadow:var(--shadow-1)}
.post-card__pin{top:12px;background:var(--color-accent);color:var(--color-accent-ink)}
.post-card__body{display:flex;flex-direction:column;flex:1 1 auto;padding:16px 20px 18px}
.post-card__text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;height:6em;font-size:var(--fs-small);line-height:1.5;overflow-wrap:anywhere}
.post-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-top:auto;padding-top:14px;font-size:var(--fs-xs)}
.post-card__foot time{color:var(--color-ink-muted)}
.post-card__more{display:inline-flex;align-items:center;gap:6px;color:var(--color-primary);font-weight:600}
.post-card:hover .post-card__more{color:var(--color-primary-hover);text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:no-preference){.post-card__more .icon{transition:transform .2s var(--ease)}.post-card:hover .post-card__more .icon{transform:translateX(3px)}}
