.mtc {
	--mtc-content-bg: #ffffff;
	--mtc-overlay: #002fff;
	--mtc-name-color: #111111;
	--mtc-designation: #4a4a4a;
	--mtc-social: #9b9b9b;
	--mtc-social-hover: #00a9ff;
	--mtc-arrow: #0080fe;
	--mtc-dot: #0080fe;
	--mtc-gutter: 15px;
	position: relative;
	width: 100%;
}

.mtc-viewport {
	overflow: hidden;
	width: 100%;
}

.mtc-track {
	display: flex;
	will-change: transform;
	transition: transform 0.5s ease;
}

.mtc-item {
	flex: 0 0 auto;
	box-sizing: border-box;
	padding: 0 calc(var(--mtc-gutter) / 2);
}

.mtc-card {
	position: relative;
	height: 100%;
}

.mtc-photo {
	position: relative;
	overflow: hidden;
	line-height: 0;
}

.mtc-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.mtc-photo a {
	display: block;
}

.mtc-content {
	background: var(--mtc-content-bg);
	padding: 20px 20px 24px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
}

.mtc-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--mtc-name-color);
	margin-bottom: 8px;
	line-height: 1.3;
}

.mtc-name a {
	color: inherit;
	text-decoration: none;
}

.mtc-name a:hover {
	text-decoration: underline;
}

.mtc-designation {
	font-size: 13px;
	color: var(--mtc-designation);
	margin-bottom: 18px;
	line-height: 1.4;
}

.mtc-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mtc-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--mtc-social);
	transition: color 0.25s ease, transform 0.25s ease;
}

.mtc-social a:hover {
	color: var(--mtc-social-hover);
	transform: translateY(-1px);
}

.mtc-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Layout 2 — overlay on hover */
.mtc-layout2 .mtc-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: transparent;
	box-shadow: none;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	z-index: 2;
}

.mtc-layout2 .mtc-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(125deg, var(--mtc-overlay), #00a9ff);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	z-index: 1;
}

.mtc-layout2 .mtc-card:hover .mtc-content,
.mtc-layout2 .mtc-card:focus-within .mtc-content {
	opacity: 1;
	visibility: visible;
}

.mtc-layout2 .mtc-card:hover .mtc-overlay,
.mtc-layout2 .mtc-card:focus-within .mtc-overlay {
	opacity: 0.88;
	visibility: visible;
}

.mtc-layout2 .mtc-name,
.mtc-layout2 .mtc-designation,
.mtc-layout2 .mtc-social a {
	color: #fff;
}

.mtc-layout2 .mtc-name {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mtc-layout2 .mtc-social a:hover {
	color: #fff;
	opacity: 0.85;
}

/* Layout 3 — horizontal card */
.mtc-layout3 .mtc-card-horizontal {
	display: flex;
	align-items: stretch;
	background: var(--mtc-content-bg);
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mtc-layout3 .mtc-photo {
	width: 48%;
	flex-shrink: 0;
}

.mtc-layout3 .mtc-photo img {
	height: 100%;
	object-fit: cover;
	min-height: 180px;
}

.mtc-layout3 .mtc-content {
	width: 52%;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px;
}

.mtc-layout3 .mtc-designation {
	margin-bottom: 12px;
}

/* Navigation */
.mtc-nav {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	border: 1px solid var(--mtc-arrow);
	border-radius: 3px;
	background: #fff;
	color: var(--mtc-arrow);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.25s ease, color 0.25s ease;
}

.mtc-nav svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.mtc-nav:hover {
	background: var(--mtc-arrow);
	color: #fff;
}

.mtc-prev {
	left: 0;
}

.mtc-next {
	right: 0;
}

.mtc-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.mtc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.mtc-dot.is-active,
.mtc-dot:hover {
	background: var(--mtc-dot);
	transform: scale(1.1);
}

@media (max-width: 767px) {
	.mtc-layout3 .mtc-card-horizontal {
		flex-direction: column;
	}

	.mtc-layout3 .mtc-photo,
	.mtc-layout3 .mtc-content {
		width: 100%;
	}

	.mtc-nav {
		width: 34px;
		height: 34px;
	}
}
