/* Destinations (/destinacii, /destinacia/<slug>): only what the content swap needs.
   Layout stays the template's. */

/* client-side paging of the destination grid (8 per page, like the template's „1 / 2”).
   Cards beyond page 1 are marked at build time so there is no flash before destinations.js runs;
   without JavaScript every card stays visible. */
.w-mod-js .grid-location-list > .ih-page-hidden { display: none; }
.grid-location-list > .ih-page-in { animation: ih-dest-in .5s ease both; animation-delay: calc(var(--ih-i, 0) * 60ms); }
@keyframes ih-dest-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* „Предишна” uses the template's pagination button; the icon sits before the label */
.w-pagination-previous.button-primary .w-pagination-previous-icon { margin-right: 4px; }

/* hero: the generated flag map keeps the template art's 100px height */
.location-flag-secondary { object-fit: contain; }
