/**
 * Kubota Europe promotions grid (WPBakery element `vc_kbeu_promotion_grid`).
 *
 * The element is the news grid (`kbeu-news-grid.css`, this handle's dependency)
 * with the root class `kbeu-pg`; only the Figma deltas of the promotion card
 * live here. Figma node 4922-566 (2560 artboard): three columns of 594px cards,
 * 48px apart (the news grid's gap), rows 96px apart; a near-square image
 * (594 × 581, radius 15px), the date 32px below it (to the cap height; 25px
 * of margin once the line's leading is counted), the title close under it
 * (32px / 700, a two-line box even for one line, so every row keeps the
 * design's rhythm) and the teal "View offer" button 48px below that box.
 * Sizes are `clamp()`s whose maximum is the Figma value (vw = px / 25.6).
 */

.kbeu-pg {
	--kbeu-ng-gap-y: clamp( 32px, 3.75vw, 96px );
}

/* Featured image (594 × 581). */
.kbeu-pg .kbeu-ng__media {
	aspect-ratio: 594 / 581;
}

/* Date line: no sector tag, the date alone at the right. */
.kbeu-pg .kbeu-ng__meta {
	margin-top: clamp( 12px, 0.98vw, 25px );
}

/* Title: a two-line box, two lines at most. */
.kbeu-pg .kbeu-ng__card-title {
	min-height: calc( 2 * 1.37em );
	margin-top: clamp( 8px, 0.47vw, 12px );
	-webkit-line-clamp: 2;
}

.kbeu-pg .kbeu-ng__btn {
	margin-top: clamp( 20px, 1.88vw, 48px );
}
