/* Homepage / archive post cards */

.post-card {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	position: relative;
	min-height: 260px;
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8eef4;
	border-radius: 20px !important;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.post-card + .post-card {
	margin-top: 24px;
}

.post-card .card-media {
	position: relative !important;
	display: block !important;
	flex: 0 0 48% !important;
	width: 48% !important;
	min-width: 0 !important;
	max-width: 48% !important;
	align-self: stretch !important;
	overflow: hidden;
	line-height: normal !important;
	text-decoration: none !important;
}

.post-card .card-media .really-thumb,
.post-card .card-media img,
#primary .entry-site-main .post.post-card .card-media > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 260px;
	object-fit: cover;
	border-radius: 0 !important;
}

.post-card .card-media__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: inline-flex !important;
	align-items: center;
	max-width: calc(100% - 28px);
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff !important;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(10px);
}

.post-card .card-tag__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: currentColor;
}

.post-card .card-tag__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
}

.post-card .card-body {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding: 22px 24px 18px !important;
	overflow: hidden;
}

.post-card .card-body__mark {
	position: absolute !important;
	top: -8px;
	right: -6px;
	z-index: 0;
	width: 148px;
	height: 148px;
	margin: 0;
	padding: 0;
	color: #006aff;
	opacity: 0.1;
	pointer-events: none;
	line-height: 0;
}

.post-card .card-body__mark svg,
.post-card .card-body__mark iconify-icon {
	display: block;
	width: 148px !important;
	height: 148px !important;
	color: currentColor;
}

.post-card .card-body > *:not(.card-body__mark) {
	position: relative;
	z-index: 1;
}

.post-card .card-kicker {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px !important;
	color: #006aff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.post-card .card-kicker__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.post-card .card-kicker__label::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	background: linear-gradient(90deg, #006aff 0%, rgba(0, 106, 255, 0) 100%);
	border-radius: 2px;
}

.post-card .card-body .entry-header {
	padding: 0 !important;
	margin: 0;
}

.post-card .card-body .entry-title {
	max-width: none !important;
	margin: 0 0 12px !important;
	font-size: 1.35rem !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em;
}

.post-card .card-body .entry-title a {
	color: #0f172a !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.post-card .post-info-all {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px !important;
	color: #64748b;
	font-size: 13px;
}

.post-card .post-info-all img.avatar {
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	border-radius: 50%;
}

.post-card .post-info-all > a {
	color: #334155 !important;
	font-size: 13px !important;
	font-weight: 600;
	text-decoration: none !important;
}

.post-card .post-info-all__sep {
	color: #94a3b8;
}

.post-card .post-info-all time {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	position: static !important;
	left: auto !important;
	top: auto !important;
	padding: 0 !important;
	border: 0 !important;
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: none !important;
}

.post-card .card-body .entry-content {
	margin: 0;
}

.post-card .card-body .entry-content p {
	max-width: none !important;
	margin: 0 !important;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.55;
	font-weight: 400;
}

.post-card .card-body__footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: auto;
	padding-top: 16px;
}

.post-card .card-read-more {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	position: static !important;
	right: auto !important;
	bottom: auto !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #006aff !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap;
}

.post-card .card-read-more:hover {
	background: #0057d2 !important;
	color: #fff !important;
}

.post-card .card-read-more svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
}

.post-card .card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.post-card .card-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b !important;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
}

.post-card .card-tag:hover {
	color: #006aff !important;
}

[data-theme="dark"] .post-card {
	background: #0f172a;
	border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .post-card .card-body__mark {
	color: #93c5fd;
	opacity: 0.14;
}

[data-theme="dark"] .post-card .card-body .entry-title a {
	color: #e2e8f0 !important;
}

[data-theme="dark"] .post-card .post-info-all > a,
[data-theme="dark"] .post-card .card-body .entry-content p,
[data-theme="dark"] .post-card .card-tag {
	color: #94a3b8 !important;
}

@media (max-width: 820px) {
	.post-card {
		flex-direction: column !important;
		min-height: 0;
	}

	.post-card .card-media,
	.post-card .card-media .really-thumb,
	.post-card .card-media img,
	#primary .entry-site-main .post.post-card .card-media > img {
		flex: none !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		height: 220px !important;
		min-height: 220px;
	}

	.post-card .card-body__mark,
	.post-card .card-body__mark svg,
	.post-card .card-body__mark iconify-icon {
		width: 110px !important;
		height: 110px !important;
	}
}
