.dbc-blog,
.dbc-blog * {
	box-sizing: border-box;
}

.dbc-blog {
	width: 100%;
	direction: rtl;
	font-family: inherit;
}

.dbc-blog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 30px;
}

.dbc-blog__heading {
	margin: 0;
	padding: 0;
	color: #111827;
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	line-height: 1.5;
}

.dbc-blog__all {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 7px;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition: color 180ms ease, transform 180ms ease;
}

.dbc-blog__all:hover,
.dbc-blog__all:focus-visible {
	color: #087f6d;
	text-decoration: none;
}

.dbc-blog__all:focus-visible,
.dbc-card__link:focus-visible {
	outline: 3px solid rgba(8, 127, 109, 0.28);
	outline-offset: 4px;
}

.dbc-blog__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 700;
	line-height: 1;
	transition: transform 180ms ease;
}

.dbc-blog__all:hover .dbc-blog__arrow {
	transform: translateX(-3px);
}

.dbc-blog__grid {
	display: grid;
	grid-template-columns: repeat(var(--dbc-columns, 4), minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}

.dbc-card {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.05);
	border-radius: 10px;
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.12);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.dbc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.15);
}

.dbc-card__link {
	display: flex;
	height: 100%;
	padding: 11px 11px 20px;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.dbc-card__link:hover {
	color: inherit;
	text-decoration: none;
}

.dbc-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1.7 / 1;
	overflow: hidden;
	background: #eef1f3;
	border-radius: 7px;
}

.dbc-card__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 350ms ease;
}

.dbc-card:hover .dbc-card__image {
	transform: scale(1.025);
}

.dbc-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e8ecef, #f7f8f9);
}

.dbc-card__placeholder svg {
	width: 54px;
	height: 54px;
	fill: #aab3bb;
}

.dbc-card__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 17px 7px 0;
	padding: 0;
	color: #111827;
	font-size: 18px;
	font-weight: 750;
	line-height: 1.75;
	text-align: right;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dbc-empty {
	padding: 22px;
	background: #f7f8fa;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	color: #4b5563;
	font-family: inherit;
	text-align: center;
}

@media (max-width: 1024px) {
	.dbc-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 600px) {
	.dbc-blog__header {
		gap: 16px;
		margin-bottom: 22px;
	}

	.dbc-blog__heading {
		font-size: 21px;
	}

	.dbc-blog__all {
		font-size: 14px;
	}

	.dbc-blog__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.dbc-card__title {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dbc-card,
	.dbc-card__image,
	.dbc-blog__all,
	.dbc-blog__arrow {
		transition: none;
	}
}

