/* Card thumbnails on every listing: always a 16:9 box, the same shape as our featured images.
   The boxes used to have fixed heights (e.g. 410x170, 739x380), which squeezed the pictures into flat strips and cut off
   the headline text of the Insight covers. aspect-ratio wins over the per-element min-height Elementor stores. */
.p360-th{--min-height:0px!important;min-height:0!important;height:auto!important;aspect-ratio:16/9}
.p360-th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.p360-oimg img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}

/* Calculator tiles: the whole card (including the "Számolok →" button) opens the calculator.
   The title link is stretched over the tile, so every part of the card goes to the same place. */
.p360-ct{position:relative;cursor:pointer}
.p360-ct .p360-ct-t,.p360-ct .p360-ct-t>.elementor-widget-container,.p360-ct .p360-ct-t .elementor-heading-title{position:static}
.p360-ct .p360-ct-t a::after{content:"";position:absolute;inset:0;z-index:1}
