.atlasblog-article-list {
	direction: rtl;
	width: 100%;
}

.atlasblog-article-list__grid {
	--atlasblog-article-list-columns: 4;
	--atlasblog-article-list-gap: 24px;
	display: grid;
	grid-template-columns: repeat(var(--atlasblog-article-list-columns), minmax(0, 1fr));
	gap: var(--atlasblog-article-list-gap);
}

.atlasblog-article-list__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.atlasblog-article-list__card:hover {
	border-color: var(--atlasblog-article-list-hover-border, #ff9f1a);
	box-shadow: 0 12px 30px rgba(30, 41, 59, 0.12);
}

.atlasblog-article-list__media {
	position: relative;
	display: block;
	height: 168px;
	overflow: hidden;
	text-decoration: none;
}

.atlasblog-article-list__image {
	display: block;
	width: 100%;
	height: 100%;
	background-color: #dde2ec;
	background-position: center;
	background-size: cover;
	transition: transform 0.35s ease;
}

.atlasblog-article-list__card:hover .atlasblog-article-list__image {
	transform: scale(1.04);
}

.atlasblog-article-list__badge {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 1;
	padding: 7px 14px;
	border-radius: 999px;
	background: #2f5fd3;
	line-height: 1;
}

.atlasblog-article-list__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 14px;
}

.atlasblog-article-list__reading-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.5;
}

.atlasblog-article-list__clock {
	flex: 0 0 auto;
}

.atlasblog-article-list__title {
	margin: 0;
}

.atlasblog-article-list__title a {
	color: inherit;
	text-decoration: none;
}

.atlasblog-article-list__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.atlasblog-article-list__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: #f4f6fa;
}

.atlasblog-article-list__author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.atlasblog-article-list__author-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: #ff8a00;
	color: #ffffff;
}

.atlasblog-article-list__author-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.atlasblog-article-list__dates {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
	overflow: hidden;
}

.atlasblog-article-list__author-name {
	overflow: hidden;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.atlasblog-article-list__author-date,
.atlasblog-article-list__updated-date {
	flex: 0 1 auto;
	overflow: hidden;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.atlasblog-article-list__date-sep {
	flex: 0 0 auto;
	line-height: 1.4;
	opacity: 0.65;
}

.atlasblog-article-list__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e9edf3;
	color: #7d8798;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.atlasblog-article-list__arrow:hover {
	background: #dde3ec;
	color: #5f6b7d;
}

.atlasblog-article-list__empty {
	padding: 16px;
	border-radius: 12px;
	background: #f4f6fa;
	color: #555;
	text-align: center;
}

@media (max-width: 1024px) {
	.atlasblog-article-list__grid {
		--atlasblog-article-list-columns: 2;
	}
}

@media (max-width: 767px) {
	.atlasblog-article-list__grid {
		--atlasblog-article-list-columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atlasblog-article-list__card,
	.atlasblog-article-list__image,
	.atlasblog-article-list__arrow {
		transition: none;
	}

	.atlasblog-article-list__card:hover .atlasblog-article-list__image {
		transform: none;
	}
}
