/* Functional layer for EXT:vk_instagram - keep visual styling out of here.
   The JS writes grid-row-end:span N onto items, which needs grid-auto-rows
   on the grid. Restyle everything (gaps, columns, breakpoints, cards) in
   your site package's own stylesheet; :where() keeps these rules overridable
   although this file loads after the theme. */
:where(.vkinstagram-feed__grid) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1px;
    align-items: start;
}

.vkinstagram-feed__item--hidden {
    display: none;
}
