.yearcalendar_months {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.yearcalendar_month {
	overflow: hidden;
}

.yearcalendar_month_title {
	    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    font-family: 'Chivo', Tahoma, Verdana, Arial, cantarell, sans-serif;
    font-style: italic;
    letter-spacing: 2px;
    font-size: 12px;
}

.yearcalendar_weekdays,
.yearcalendar_days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.yearcalendar_weekdays {
	border-bottom: 1px solid var(--background-light);
}

.yearcalendar_weekday {
	padding: 7px 2px;
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.yearcalendar_day {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	min-height: 48px;
	padding: 5px;
	border-right: 1px solid var(--background-light);
	border-bottom: 1px solid var(--background-light);
}

.yearcalendar_day:nth-child(7n) {
	border-right: 0;
}

.yearcalendar_day:nth-last-child(-n+7) {
	border-bottom: 0;
}

.yearcalendar_day-empty {
	background: var(--forumhg_tabletitle);
}

.yearcalendar_day_number {
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.yearcalendar_day_content {
	margin-top: 4px;
	font-size: 9px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

@media screen and (max-width: 1100px) {
	.yearcalendar_months {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 700px) {
	.yearcalendar_months {
		grid-template-columns: 1fr;
	}

	.yearcalendar_navigation {
		flex-wrap: wrap;
	}

	.yearcalendar_navigation_current {
		order: -1;
		width: 100%;
	}

	.yearcalendar_navigation_link {
		width: calc(50% - 8px);
	}

	.yearcalendar_day {
		min-height: 42px;
		padding: 4px;
	}
}