.techmag-post-meta-box {
	--tm-post-meta-bg: #edf7ed;
	--tm-post-meta-border: rgba(15, 23, 42, .08);
	--tm-post-meta-radius: 30px;
	--tm-post-meta-column-gap: 34px;
	--tm-post-meta-row-gap: 20px;
	--tm-post-meta-chip-bg: #fff;
	--tm-post-meta-chip-color: #14532d;
	--tm-post-meta-chip-hover-bg: #14532d;
	--tm-post-meta-chip-hover-color: #fff;
	--tm-post-meta-chip-border: rgba(20, 83, 45, .14);
	--tm-post-meta-chip-radius: 999px;
	--tm-post-meta-chip-gap: 8px;
	--tm-post-meta-meta-color: #506157;
	--tm-post-meta-meta-icon: #f97316;
	--tm-post-meta-author-color: #101820;
	--tm-post-meta-avatar-size: 42px;
	--tm-post-meta-meta-gap: 14px;
	--tm-post-meta-meta-row-gap: 10px;
	--tm-post-meta-icon-size: 16px;
	--tm-post-meta-pattern-size: 260px;
	--tm-post-meta-pattern-height: 260px;
	--tm-post-meta-pattern-image-size: contain;
	--tm-post-meta-pattern-tile-size: 26px;
	--tm-post-meta-blob-one: #f97316;
	--tm-post-meta-blob-two: #22c55e;
	--tm-post-meta-blob-opacity: .22;
	--tm-post-meta-blob-size: 220px;
	--tm-post-meta-blob-blur: 36px;
	background: var(--tm-post-meta-bg);
	border: 1px solid var(--tm-post-meta-border);
	border-radius: var(--tm-post-meta-radius);
	direction: rtl;
	inline-size: 100%;
	margin-inline: auto;
	overflow: hidden;
	position: relative;
}

.techmag-post-meta-box--gradient {
	background:
		radial-gradient(circle at 12% 8%, rgba(249, 115, 22, .13), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, .55), transparent 45%),
		var(--tm-post-meta-bg);
}

.techmag-post-meta-box__inner {
	align-items: center;
	display: grid;
	gap: var(--tm-post-meta-row-gap) var(--tm-post-meta-column-gap);
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
	padding: 34px;
	position: relative;
	z-index: 2;
}

.techmag-post-meta-box--image-right .techmag-post-meta-box__image-card {
	order: -1;
}

.techmag-post-meta-box__content {
	min-inline-size: 0;
}

.techmag-post-meta-box__breadcrumb {
	align-items: center;
	color: rgba(15, 23, 42, .58);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 7px;
	line-height: 1.8;
	margin-block-end: 12px;
}

.techmag-post-meta-box__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.techmag-post-meta-box__breadcrumb a:hover {
	color: #f97316;
}

.techmag-post-meta-box__breadcrumb span,
.techmag-post-meta-box__breadcrumb a {
	color: inherit;
}

.techmag-post-meta-box__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tm-post-meta-chip-gap);
	margin-block-end: 14px;
}

.techmag-post-meta-box__chip {
	background: var(--tm-post-meta-chip-bg);
	border: 1px solid var(--tm-post-meta-chip-border);
	border-radius: var(--tm-post-meta-chip-radius);
	color: var(--tm-post-meta-chip-color);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 7px 12px;
	text-decoration: none;
	transition: background .16s ease, color .16s ease, border-color .16s ease;
}

a.techmag-post-meta-box__chip:hover,
a.techmag-post-meta-box__chip:focus-visible {
	background: var(--tm-post-meta-chip-hover-bg);
	color: var(--tm-post-meta-chip-hover-color);
}

.techmag-post-meta-box__title {
	color: #101820;
	font-size: 42px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0 0 16px;
}

.techmag-post-meta-box__title-highlight {
	color: #f97316;
}

.techmag-post-meta-box__excerpt {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	border: 0 solid transparent;
	color: #476055;
	display: -webkit-box;
	font-size: 16px;
	line-height: 1.9;
	margin: 0 0 22px;
	max-block-size: calc(1.9em * 4);
	max-inline-size: 720px;
	overflow: hidden;
}

.techmag-post-meta-box__meta {
	align-items: center;
	color: var(--tm-post-meta-meta-color);
	display: flex;
	flex-wrap: wrap;
	gap: var(--tm-post-meta-meta-row-gap) var(--tm-post-meta-meta-gap);
	margin-block-start: 22px;
}

.techmag-post-meta-box__avatar {
	block-size: var(--tm-post-meta-avatar-size);
	inline-size: var(--tm-post-meta-avatar-size);
}

.techmag-post-meta-box__avatar img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: cover;
}

.techmag-post-meta-box__author {
	align-items: center;
	color: var(--tm-post-meta-meta-color);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	gap: 9px;
	line-height: 1.6;
}

.techmag-post-meta-box__meta-item {
	align-items: center;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	line-height: 1.6;
}

.techmag-post-meta-box__meta-item > span:last-child {
	display: inline-flex;
	line-height: 1;
}

.techmag-post-meta-box__author-name {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.techmag-post-meta-box__meta-icon {
	align-items: center;
	block-size: var(--tm-post-meta-icon-size);
	color: var(--tm-post-meta-meta-icon);
	display: inline-flex;
	inline-size: var(--tm-post-meta-icon-size);
	justify-content: center;
	line-height: 1;
	position: relative;
	top: 0;
}

.techmag-post-meta-box__meta-icon svg {
	block-size: var(--tm-post-meta-icon-size);
	fill: currentColor;
	inline-size: 100%;
}

.techmag-post-meta-box__meta-icon i,
.techmag-post-meta-box__meta-icon .techmag-post-meta-box__elementor-icon {
	color: currentColor;
	display: inline-flex;
	font-size: var(--tm-post-meta-icon-size);
	height: var(--tm-post-meta-icon-size);
	align-items: center;
	justify-content: center;
	line-height: 1;
	width: var(--tm-post-meta-icon-size);
}

.techmag-post-meta-box__image-card {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0;
	padding: 0 !important;
	position: relative;
	z-index: 2;
}

.techmag-post-meta-box__image-wrap {
	aspect-ratio: 4 / 3;
	block-size: 360px;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	--tm-post-meta-image-blend-color: #050505;
	--tm-post-meta-image-blend-opacity: 0;
	--tm-post-meta-image-fade-size: 70px;
}

.techmag-post-meta-box__image-wrap::after {
	background:
		linear-gradient(90deg, var(--tm-post-meta-image-blend-color) 0%, transparent 18%, transparent 82%, var(--tm-post-meta-image-blend-color) 100%),
		linear-gradient(180deg, var(--tm-post-meta-image-blend-color) 0%, transparent 22%, transparent 66%, var(--tm-post-meta-image-blend-color) 100%),
		radial-gradient(ellipse at center, transparent 42%, var(--tm-post-meta-image-blend-color) 100%);
	content: "";
	inset: 0;
	opacity: var(--tm-post-meta-image-blend-opacity);
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.techmag-post-meta-box__image-wrap img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	object-fit: cover;
}

.techmag-post-meta-box__image-placeholder {
	background:
		linear-gradient(135deg, rgba(34, 197, 94, .16), rgba(249, 115, 22, .14)),
		repeating-linear-gradient(45deg, rgba(15, 23, 42, .05) 0 8px, transparent 8px 16px);
	block-size: 100%;
	display: block;
	inline-size: 100%;
}

.techmag-post-meta-box__pattern,
.techmag-post-meta-box__blob {
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.techmag-post-meta-box__pattern {
	background-image:
		linear-gradient(90deg, rgba(15, 23, 42, .12) 1px, transparent 1px),
		linear-gradient(0deg, rgba(15, 23, 42, .10) 1px, transparent 1px);
	background-size: var(--tm-post-meta-pattern-tile-size) var(--tm-post-meta-pattern-tile-size);
	block-size: var(--tm-post-meta-pattern-height);
	inline-size: var(--tm-post-meta-pattern-size);
}

.techmag-post-meta-box__pattern--top-left { inset-block-start: 0; inset-inline-start: 0; }
.techmag-post-meta-box__pattern--top-right { inset-block-start: 0; inset-inline-end: 0; }
.techmag-post-meta-box__pattern--bottom-left { inset-block-end: 0; inset-inline-start: 0; }
.techmag-post-meta-box__pattern--bottom-right { inset-block-end: 0; inset-inline-end: 0; }
.techmag-post-meta-box__pattern--center { inset: 50% auto auto 50%; transform: translate(-50%, -50%); }

.techmag-post-meta-box__blob {
	block-size: var(--tm-post-meta-blob-size);
	border-radius: 999px;
	filter: blur(var(--tm-post-meta-blob-blur));
	inline-size: var(--tm-post-meta-blob-size);
	opacity: var(--tm-post-meta-blob-opacity);
}

.techmag-post-meta-box__blob--one {
	background: var(--tm-post-meta-blob-one);
	inset-block-start: -70px;
	inset-inline-start: 10%;
}

.techmag-post-meta-box__blob--two {
	background: var(--tm-post-meta-blob-two);
	inset-block-end: -90px;
	inset-inline-end: 12%;
}

@media (max-width: 1024px) {
	.techmag-post-meta-box--stack-tablet .techmag-post-meta-box__inner {
		grid-template-columns: 1fr;
	}

	.techmag-post-meta-box--stack-tablet.techmag-post-meta-box--mobile-content-first .techmag-post-meta-box__image-card {
		order: 2;
	}

	.techmag-post-meta-box--stack-tablet.techmag-post-meta-box--mobile-image-first .techmag-post-meta-box__image-card {
		order: -1;
	}
}

@media (max-width: 767px) {
	.techmag-post-meta-box {
		--tm-post-meta-avatar-size: 34px !important;
		--tm-post-meta-icon-size: 14px !important;
		box-sizing: border-box;
		max-inline-size: 100%;
	}

	.techmag-post-meta-box__inner {
		align-items: stretch;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: clamp(14px, 4vw, 18px) !important;
		width: 100%;
	}

	.techmag-post-meta-box__content,
	.techmag-post-meta-box__image-card,
	.techmag-post-meta-box__image-wrap {
		box-sizing: border-box;
		max-inline-size: 100%;
		min-inline-size: 0;
	}

	.techmag-post-meta-box--mobile-content-first .techmag-post-meta-box__content {
		order: 1;
	}

	.techmag-post-meta-box--mobile-content-first .techmag-post-meta-box__image-card {
		order: 2;
	}

	.techmag-post-meta-box--mobile-image-first .techmag-post-meta-box__image-card {
		order: 1;
	}

	.techmag-post-meta-box--mobile-image-first .techmag-post-meta-box__content {
		order: 2;
	}

	.techmag-post-meta-box__title {
		font-size: clamp(22px, 6.4vw, 28px) !important;
		line-height: 1.4 !important;
		margin-block-end: 10px !important;
		max-inline-size: 100%;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.techmag-post-meta-box__excerpt {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		display: -webkit-box;
		font-size: clamp(14px, 3.8vw, 16px) !important;
		line-height: 1.8 !important;
		margin-block-end: 10px !important;
		max-block-size: calc(1.8em * 3);
		overflow: hidden;
	}

	.techmag-post-meta-box__chip {
		font-size: clamp(12px, 3.5vw, 14px) !important;
	}

	.techmag-post-meta-box__meta-item {
		font-size: clamp(13px, 3.8vw, 15px) !important;
	}

	.techmag-post-meta-box__excerpt,
	.techmag-post-meta-box__breadcrumb,
	.techmag-post-meta-box__chips,
	.techmag-post-meta-box__meta {
		box-sizing: border-box;
		max-inline-size: 100%;
		min-inline-size: 0;
	}

	.techmag-post-meta-box__breadcrumb a,
	.techmag-post-meta-box__breadcrumb span,
	.techmag-post-meta-box__chip,
	.techmag-post-meta-box__meta-item {
		max-inline-size: 100%;
		overflow-wrap: anywhere;
	}

	.techmag-post-meta-box__chip {
		justify-content: center;
		line-height: 1.5;
		text-align: center;
	}

	.techmag-post-meta-box__breadcrumb {
		display: none;
	}

	.techmag-post-meta-box__chips {
		margin-block-end: 10px !important;
	}

	.techmag-post-meta-box__image-wrap {
		aspect-ratio: 16 / 9 !important;
		block-size: auto !important;
		inline-size: 100% !important;
	}

	.techmag-post-meta-box__meta {
		gap: 8px 10px;
		margin-block-start: 8px !important;
	}

	.techmag-post-meta-box__meta-item {
		flex: 0 1 auto;
		min-inline-size: 0;
	}

	.techmag-post-meta-box__meta-item > span:last-child {
		line-height: 1.5;
		min-inline-size: 0;
		white-space: normal;
	}

	.techmag-post-meta-box__avatar {
		flex: 0 0 var(--tm-post-meta-avatar-size);
	}

	.techmag-post-meta-box__author {
		max-inline-size: 100%;
		order: 1;
	}

	.techmag-post-meta-box__meta-date {
		order: 3;
	}

	.techmag-post-meta-box__meta-reading-time {
		order: 4;
	}

	.techmag-post-meta-box--hide-image-mobile .techmag-post-meta-box__image-card,
	.techmag-post-meta-box--hide-breadcrumb-mobile .techmag-post-meta-box__breadcrumb {
		display: none;
	}
}

@media (max-width: 480px) {
	.techmag-post-meta-box__excerpt {
		-webkit-line-clamp: 2;
		font-size: clamp(13px, 3.7vw, 15px) !important;
		line-height: 1.75 !important;
		max-block-size: calc(1.75em * 2);
	}

	.techmag-post-meta-box__meta {
		align-items: center;
		gap: 8px 10px;
	}
}

@media (max-width: 360px) {
	.techmag-post-meta-box__inner {
		padding: 12px !important;
	}

	.techmag-post-meta-box__meta {
		gap: 7px 8px;
	}
}
