/**
 * Alygio reklama — insights grid (`ar-post-grid`).
 *
 * Reference (DESIGN-SPECIFICATION §5.10; re-measured Task 04):
 * - 3 white hairline cards (neutral-200), min-height 480px, padding bbe-90,
 *   column, space-between, gap 28px;
 * - 3:2 image (352 × 234.7 at 1920), title 24/30 600 neutral-900;
 * - meta row: space-between, gap 8px, wraps; category tag primary-600 with
 *   white 13/14.3 text and 4.8 / 6.4px padding; date 15/25.5 neutral-400;
 * - ≤1100: 1 column (shared .ar-grid--stack-tablet).
 */

.ar-post {
	display: flex;
	background-color: var(--ar-neutral-000);
}

.ar-post__inner {
	display: flex;
	box-sizing: border-box;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 480px;
	padding: var(--ar-space-90);
}

.ar-post__media {
	flex-shrink: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: var(--ar-neutral-100);
}

.ar-post__media a {
	display: block;
	height: 100%;
}

.ar-post .ar-post__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: var(--ar-radius);
}

.ar-post__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
}

.ar-post .ar-post__title {
	margin: 0;
}

.ar-post .ar-post__title-link,
.ar-post .ar-post__title-link:visited {
	color: inherit;
	text-decoration: none;
	transition: color var(--ar-transition-fast);
}

.ar-post .ar-post__title-link:hover {
	color: var(--ar-primary-700);
}

.ar-post .ar-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
}

.ar-post .ar-post__category,
.ar-post .ar-post__category:visited {
	display: inline-block;
	padding: 4.8px 6.4px;
	background-color: var(--ar-primary-600);
	color: var(--ar-neutral-000);
	font-size: 13px;
	line-height: 1.1;
	text-decoration: none;
}

.ar-post .ar-post__date {
	color: var(--ar-neutral-400);
	font-size: var(--ar-font-size-sm);
	line-height: var(--ar-line-height-body);
}
