/**
 * NK Tech Core — front-end styles for shortcode grids.
 */

.nktech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.nktech-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nktech-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nktech-card__thumb {
	line-height: 0;
}

.nktech-card__img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.nktech-card__thumb--avatar .nktech-card__img {
	height: 220px;
}

.nktech-card__icon {
	text-align: center;
	padding: 28px 0 8px;
}

.nktech-card__icon .dashicons {
	font-size: 52px;
	width: 52px;
	height: 52px;
	color: #0a66c2;
}

.nktech-card__body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.nktech-card__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.nktech-card__title a {
	text-decoration: none;
	color: #1a1a1a;
}

.nktech-card__title a:hover {
	color: #0a66c2;
}

.nktech-card__subtitle,
.nktech-card__position {
	margin: 0;
	font-size: 0.9rem;
	color: #0a66c2;
	font-weight: 600;
}

.nktech-card__excerpt {
	font-size: 0.92rem;
	color: #555;
	line-height: 1.5;
}

.nktech-card__meta {
	margin: 0;
	font-size: 0.85rem;
	color: #444;
}

.nktech-card__price {
	margin-top: auto;
	font-weight: 700;
	color: #1a1a1a;
}

.nktech-card__contact {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	font-size: 0.85rem;
}

.nktech-card__contact li {
	margin: 2px 0;
}

.nktech-card__social {
	margin-top: 6px;
	display: flex;
	gap: 12px;
	font-size: 0.85rem;
}

.nktech-card__social a,
.nktech-card__link a {
	color: #0a66c2;
	text-decoration: none;
}

.nktech-card__social a:hover,
.nktech-card__link a:hover {
	text-decoration: underline;
}

.nktech-empty {
	padding: 16px;
	background: #f6f6f6;
	border-radius: 8px;
	color: #666;
}
