/* ── mitn_cat_card ─────────────────────────────────────────── */
.mitn-cc {
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	background: #fff;
	border: 1.5px solid var(--cc-border, #e8e8e8);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,.05);
	transition: border-color .25s cubic-bezier(.16,1,.3,1),
	            box-shadow    .25s cubic-bezier(.16,1,.3,1);
	cursor: pointer;
}

.mitn-cc:hover {
	border-color: var(--cc-accent, #e32521);
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* Vùng ảnh */
.mitn-cc__image {
	background: var(--cc-bg, #f2f2f4);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.mitn-cc__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.mitn-cc:hover .mitn-cc__img {
	transform: scale(1.04);
}

/* Placeholder khi chưa có ảnh */
.mitn-cc__placeholder {
	width: 64px;
	height: 64px;
	opacity: .35;
}

/* Vùng nội dung */
.mitn-cc__body {
	padding: 16px 20px 18px;
	border-top: 1px solid var(--cc-border, #e8e8e8);
	background: var(--cc-body-bg, #fff);
}

/* Tiêu đề */
.mitn-cc__title {
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 7px;
	line-height: 1.3;
	letter-spacing: -.01em;
}

/* Link row */
.mitn-cc__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--cc-accent, #e32521);
	line-height: 1;
}

/* Mũi tên → mặc định, ↗ khi hover */
.mitn-cc__arrow {
	display: inline-block;
	flex-shrink: 0;
	transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.mitn-cc:hover .mitn-cc__arrow {
	transform: rotate(-45deg) translate(1px, -1px);
}
