/* ***** base styles reset ***** */
h1 {
	line-height: initial;
	letter-spacing: initial;
}

p {
	margin-bottom: 0;
	line-height: initial;
	letter-spacing: initial;
}

ol,
ul {
	margin-bottom: 0;
	padding-left: 0;
}

/* ***** /base styles reset ***** */
.articles {
	padding: 60px 0;
	background-color: #f4f4f4;
	background-image: url(../../img/bicyclist-gray-vector.svg);
	background-size: 534px 449px;
	background-repeat: no-repeat;
	background-position: calc(50% + 361px) calc(100% - 60px);
}

.articles__title {
	margin-bottom: 1em;
	font-size: 46px;
	font-weight: 700;
	color: #2c2826;
}

.articles__par {
	font-size: 17px;
	line-height: 1.7;
	color: #545250;
	text-align: justify;
}

.articles__par:not(:last-child) {
	margin-bottom: 20px;
}

.articles__list {
	margin-bottom: 20px;
}

.articles__item {
	position: relative;
	padding-left: 10px;
	font-size: 17px;
	color: #545250;
}

.articles__item::before {
	--diameter: 3px;
	position: absolute;
	content: '';
	top: 13px;
	left: 0;
	width: var(--diameter);
	height: var(--diameter);
	background-color: #545250;
	border-radius: 50%;
}

.articles__item:not(:last-child) {
	margin-bottom: 5px;
}

@media (max-width: 1399.98px) {
	.articles {
		background-position: calc(50% + 280px) calc(100% - 60px);
	}
}

@media (max-width: 1199.98px) {
	.articles {
		background-size: 500px 370px;
		background-position: calc(50% + 240px) calc(100% - 60px);
	}
}

@media (max-width: 991.98px) {
	.articles {
		padding: 40px 0;
		background-image: none;
	}

	.articles__title {
		font-size: 35px;
	}

	.articles__par,
	.articles__item {
		font-size: 16px;
	}
}

@media (max-width: 575.98px) {
	.articles__par {
		margin-bottom: 30px;
	}
}

/* ##### ARTICLE-CARDS ##### */
.article-cards {
	padding: 40px 0 100px;
}

.article-cards__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, auto));
	justify-content: space-between;
	grid-gap: 40px;
}

.article-cards__list--short {
	justify-content: start;
	grid-gap: 90px;
}

.article-cards__item {
	max-width: 345px;
	box-shadow: 5px 5px 25px rgb(0 0 0 / 15%);
}

.article-cards__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.article-cards__picture-link {
	display: block;
	padding: 10px 10px 0;
}

.article-cards__picture {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	padding: calc(100% / (16 / 9)) 0 0;
}

.article-cards__picture img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: top center;
}

.article-cards__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 40px 25px 25px;
}

.article-cards__title-link {
	display: block;
	margin-bottom: 20px;
}

.article-cards__title {
	margin-bottom: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	transition: 150ms ease-in-out;
}

.article-cards__title:hover {
	color: #ff335f;
	transition: 150ms ease-in-out;
}

.article-cards__desc {
	flex: 1 1 auto;
	/* min-height: 75px; */
	margin-bottom: 25px;
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-cards__desc--clamp-5 {
	-webkit-line-clamp: 5;
}

.article-cards__button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0.3em;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.48px;
	white-space: nowrap;
	color: #ff335f;
	background-color: transparent;
	border: 2px solid #ff335f;
	border-radius: 8px;
	transition: 150ms ease-in-out;
	cursor: pointer;
}

.article-cards__button:hover {
	color: #fff;
	background-color: #ff335f;
	transition: 150ms ease-in-out;
}

@media (max-width: 1199.98px) {
	.article-cards__desc {
		-webkit-line-clamp: 5;
	}
}

@media (max-width: 991.98px) {
	.article-cards {
		padding: 40px 0 80px;
	}
}

@media (max-width: 767.98px) {
	.article-cards__list {
		grid-template-columns: repeat(auto-fit, minmax(240px, auto));
		grid-gap: 30px;
	}

	.article-cards__content {
		padding: 30px 20px 20px;
	}

	.article-cards__desc--clamp-4-md {
		-webkit-line-clamp: 4;
	}
}

@media (max-width: 575.98px) {
	.article-cards {
		padding: 40px 0 60px;
	}

	.article-cards__list {
		justify-content: center;
	}

	.article-cards__content {
		padding: 20px;
	}

	.article-cards__title {
		text-align: left;
	}

	.article-cards__desc {
		-webkit-line-clamp: 5;
	}
}