.article-list,
.workshop-list {
	margin-top: 35px;
}

.article-list div:not(.wrapper-popup),
.workshop-list div:not(.wrapper-popup) {
	color: #333;
	position: relative;
}

.article-list div.buttons,
.workshop-list div.buttons {
	height: auto;
}

.article-list a {
	padding: 0;
	margin-bottom: 50px;
	border-radius: 4px;
	height: 245px;
	overflow: hidden;
	background-color: #fff;
}

.article-list div.buttons a.button2,
.article-list div.buttons a.button2:hover,
.workshop-list div.buttons button {
	margin: 0 auto;
	display: block;
	float: none;
	box-shadow: none;
	height: 60px;
	font-size: 19px;
	padding: 8px 0;
	background-color: #b22e39;
}

.article-list a:hover {
	box-shadow: 0 0 20px rgba(0,0,0,.2);
}

.article-list a.special {
	vertical-align: middle;
}

.article-list a img {
	width: 245px;
	height: 245px;
	object-fit: cover;
	float: left;
}

.article-list a > div {
	height: 245px;
}

.article-list a > div:first-of-type {
	width: 245px;
	height: 245px;
	float: left;
}

.article-list a > div:first-of-type img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.article-list a.special img {
	width: 100%;
}

.article-list a > div .passed {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	background-image: url(/imgs/passed.webp);
	background-repeat: no-repeat;
	background-position: center;
	display: block;
}

.article-list a.special > div:first-of-type,
.article-list a.special > div:first-of-type img {
	width: 100%;
	float: left;
}

.article-list a > div:last-of-type {
	float: left;
	width: calc(100% - 245px);
	padding: 20px 26px 15px 26px;
}

.article-list a > div > * {
	margin-bottom: 8px;
}

.article-list a > div > *:last-child {
	margin-bottom: 0;
}

.article-list a div i,
.article-list a div h4  {
	color: #b22e39;
}

.article-list a div h4 {
	font-size: 24px;
	font-weight: 700;
	max-height: 90px;
	margin: 0;
	padding: 0 0 15px 0;
}

.article-list a div.article-details {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.article-list a .article-details span {
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	-webkit-align-self: auto;
	-ms-flex-item-align: auto;
	align-self: auto;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	height: 21px;
	margin-right: 20px;
	font-weight: 600;
}

.article-list a .author span {
	margin-right: 20px;
}

.article-list a .author i,
.article-list a .article-details span i {
	margin-right: 10px;
}

.article-list a.article .article-details span i.certificate {
	background: url(/imgs/eunicz/public/certificate.icon.svg) no-repeat center / 15px;
	height: 17px;
	width: 17px;
	margin: -1px 8px 0 0;
}

.article-list a > div.noimg {
	width: 100%;
}

.article-list a.special h4 {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 36px;
	top: 23%;
	text-align: center;
}

.article-list a.special .button3 {
	position: absolute;
	top: 56%;
	left: 50%;
	transform: translateX(-50%);
}

#externalLinModal {
	z-index: 1090;
}

@media screen and (max-width: 760px) {
	.article-list a {
		position: relative;
		height: 354px;
	}
	.article-list a div {
		height: 354px;
	}
	.article-list a img,
	.article-list a > div:first-of-type,
	.article-list a > div:last-of-type {
		height: 100%;
		width: 100%;
		float: none;
	}
	.article-list a > div:not(.noimg):last-of-type {
		max-height: 134px;
		padding: 0;
		height: auto;
	}
	.article-list a div > h4 {
		position: absolute;
		max-height: 134px;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 15px;
		color: #fff;
		font-size: 22px;
		font-weight: bold;
		background: #b22e39;
		text-align: left;
		opacity: .9;
		width: 100%;
		margin: 0;
		line-height: inherit;
	}
	.article-list a div > div,
	.article-list a div.article-details {
		display: none;
	}

	.article-list a > div .passed {
		background-position: center 35%;
	}
	.article-list a > div.noimg {
		background: url("/imgs/default.webp") center 35% no-repeat;
		background-size: 110px auto;
	}

}

@media (max-width: 680px) {
	.article-list div a.special h4,
	.workshop-list div a.special h4 {
		font-size: 33px;
		width: 100%;
		padding: 10px;
	}
}

@media screen and (max-width: 640px) {
	.article-list a {
		height: 245px;
	}

	.article-list a div > h4 {
		max-height: 84px;
		font-size: 20px;
		line-height: 1.2;
	}
}

@media screen and (max-width: 530px) {
	.article-list a.special .button3 {
		background-image: none;
		padding: 17px 25px;
		max-width: 100%;
	}

}

@media screen and (max-width: 490px) {
	.article-list a.special h4 {
		font-size: 30px;
	}
}
