/* Блок таймера (паршл): корень .timer, счётчик .timer__countdown — см. timer.js */

.timer {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	cursor: pointer;
    padding: 0 24px;
}

.timer__title {
	font-weight: 500;
	font-style: normal;
	font-size: 20px;
	letter-spacing: 0;
	color: #ffffff;
	margin: 0 0 8px;
	width: 100%;
}

.timer__countdown {
	display: flex;
	flex-direction: row;
	/* flex-wrap: wrap; */
	align-items: center;
	justify-content: space-between;
	gap: 4px 8px;
	padding: 0;
    width: 100%;
}

.timer__colon {
	font-weight: 700;
    font-size: 23px;
	font-style: normal;
	letter-spacing: 0;
	text-align: center;
	color: #ffffff;
	flex: none;
}

.time-count__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	min-width: 0;
	flex: none;

    width: 64px;
    padding: 12px 0;
    background-color: white;
    border-radius: 8px;
}

.time-count__val {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	width: 100%;
    padding-bottom: 4px;
    border-bottom: 2px solid #78716F;
	min-width: 2ch;
	background: transparent;
	border-radius: 0;
	font-weight: 700;
	font-style: normal;
	font-size: 23px;
	letter-spacing: 0;
	text-align: center;
	color: var(--color-text);
}

.time-count__text {
	width: auto;
	min-width: 0;
	height: auto;
	font-weight: 700;
	font-style: normal;
	font-size: 15px;
	letter-spacing: 0;
	text-align: center;
	color: var(--color-text);
	text-transform: lowercase;
}


@media (max-width: 992px) {
	.timer {
		padding: 0 16px;
		width: 100%;
		max-width: 100%;
	}

	.timer__title {
		font-size: 16px;
		margin-bottom: 24px;
	}


	.time-count__val {
        font-size: 19px;
    }
	.timer__colon {
		font-size: 23px;
	}

	.time-count__text {
		font-size: 15px;
	}
}
