/* Cards Info flexible-content block: icon + rich text + link, in a row of
 * bordered cards (adapts to the theme's light/dark CSS variables). */

.cards-info__title {
	text-align: left;
}

.cards-info__row {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--hr-color, #e2e2ec);
	border-radius: 2px;
}

.cards-info__item {
	position: relative;
	flex: 1 1 0;
	min-width: 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 24px;
	border-left: 1px solid var(--hr-color, #e2e2ec);
}

.cards-info__item:first-child {
	border-left: none;
}

@media (max-width: 767.98px) {
	.cards-info__item {
		flex: 1 1 100%;
		border-left: none;
		border-top: 1px solid var(--hr-color, #e2e2ec);
	}

	.cards-info__item:first-child {
		border-top: none;
	}
}

.cards-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
}

.cards-info__icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.cards-info__text {
	color: var(--primary-color, #00003c);
	font-weight: 600;
	margin-bottom: 24px;
}

.cards-info__text p:last-child {
	margin-bottom: 0;
}

.cards-info__button-wrap {
	margin-top: auto;
}

/* Solid navy button, matching the invl.lv reference design (the theme's
 * shared .button class is outline-style, so we override it here). */
.cards-info__button.button {
	min-height: 46px;
	padding: 12px 26px;
	border: 1px solid var(--button-form, #00003c);
	background: var(--button-form, #00003c);
	color: var(--primary-color-reverse, #fff);
	font-weight: 600;
	border-radius: 0;
}

.cards-info__button.button span {
	color: inherit;
}

.cards-info__button.button:hover {
	border-color: var(--button-form-hover, #00003c);
	background: var(--button-form-hover, #00003c);
	color: var(--primary-color-reverse, #fff);
}
