/* Вынесено из layouts/site.blade.php: стили держим файлами, а не в разметке. */
.post-figure{margin:1.25rem 0}
.post-figure img{display:block;width:100%;height:auto;border-radius:.5rem}
.post-figure figcaption{width:100%}
@media(min-width:768px){
.post-figure{display:flex;flex-direction:column;align-items:center}
.post-figure.framed{background:rgba(0,0,0,.045);border-radius:.75rem;padding:1rem 1.25rem}
.post-figure.framed img{width:auto;max-width:100%;max-height:32rem}
}
/* ссылки-«смотреть все»: стрелка равняется по ВЕРХНЕЙ строке, а не по центру двух строк */
a.lnk.inline-flex{align-items:flex-start}
a.lnk.inline-flex > i.ti{flex:0 0 auto;line-height:inherit}

/* Галерея поста: горизонтальная лента кадров, листается пальцем. */
.post-gallery__strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.post-gallery__item{flex:0 0 auto;scroll-snap-align:start;border:0;padding:0;background:none;cursor:zoom-in;
  border-radius:10px;overflow:hidden;line-height:0}
.post-gallery__item img{height:190px;width:auto;max-width:none;object-fit:cover;display:block;
  transition:transform .18s ease}
.post-gallery__item:hover img{transform:scale(1.03)}
@media (max-width:640px){.post-gallery__item img{height:140px}}
/* Подпись автора и лицензии под обложкой: мелко, серо, плотно; ссылка серая подчёркнутая. */
.post-figure__credit{width:100%;margin-top:.3rem;font-size:.72rem;line-height:1.25;color:rgba(0,0,0,.5);text-align:left}
.post-figure__credit a{color:inherit;text-decoration:underline}
.post-figure--framed img{border:1px solid color-mix(in oklab,var(--color-base-content) 15%,transparent)}
