/**
 * Contacts block styles
 */

.rs-contacts-block__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 42px;
	row-gap: 17px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rs-contacts-block__item {
	display: flex;
	align-items: center;
}

.rs-contacts-block__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}

.rs-contacts-block__icon svg {
	width: 100%;
	height: 100%;
}

.rs-contacts-block__link {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.1;
	color: #21272A;
	text-decoration: none;
	transition: color .3s ease;
}

.rs-contacts-block__link:hover,
.rs-contacts-block__link:focus-visible {
	color: #0065CA;
}

/* Tablet */
@media (max-width: 1439px) {
	.rs-contacts-block__list {
		column-gap: 28px;
		row-gap: 17px;
	}

	.rs-contacts-block__icon {
		width: 12px;
		height: 12px;
	}

	.rs-contacts-block__link {
		gap: 10px;
		font-size: 14px;
	}
}

/* Mobile */
@media (max-width: 959px) {
	.rs-contacts-block__list {
		flex-direction: column;
		align-items: center;
		gap: 17px;
	}
}

/* Address always takes a full row, centered */
.rs-contacts-block__item--address {
	flex-basis: 100%;
	justify-content: center;
}

/* Icons-only mode */
.rs-contacts-block--icons-only .rs-contacts-block__link {
	gap: 0;
}
