/* Interview section — same shell as mokh-events-section, interview cards inside */

.mk-interviews-section {
	--primary-blue: #1d72f2;
	--text-dark: #1f1f1f;
	--text-gray: #6b7280;
	--card-radius: 16px;
	--transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-top: 20px;
	direction: rtl;
	text-align: right;
	color: var(--text-dark);
}

.mk-interviews-section,
.mk-interviews-section * {
	box-sizing: border-box;
}

.mk-interviews-section .section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 14px;
	padding: 0 10px;
}

.mk-interviews-section .header-titles h2 {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 8px;
}

.mk-interviews-section .header-titles p {
	font-size: 0.95rem;
	color: var(--text-gray);
	margin: 0;
}

.mk-interviews-section .view-all-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-gray);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.mk-interviews-section .view-all-link:hover {
	color: var(--text-dark);
}

.mk-interviews-section .view-all-link svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.mk-interviews-section .slider-wrapper {
	position: relative;
	width: 100%;
}

.mk-interviews-section .slider-track {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	gap: 22px;
	padding: 4px 5px 24px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	scrollbar-width: none;
	-ms-overflow-style: none;
	user-select: none;
	direction: rtl;
}

.mk-interviews-section .slider-track::-webkit-scrollbar {
	display: none;
}

.mk-interviews-section .slider-track:active {
	cursor: grabbing;
}

.mk-interviews-section .slider-track.is-dragging {
	scroll-snap-type: none;
	scroll-behavior: auto;
}

.mk-interviews-section .slider-track.is-dragging .mk-interview-card {
	pointer-events: none;
}

/* Interview cards inside slider */
.mk-interviews-section .mk-interview-card {
	flex: 0 0 auto;
	width: 230px;
	scroll-snap-align: start;
	opacity: 1;
	animation: none;
}

.mk-interviews-section .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	direction: rtl;
}

.mk-interviews-section .pagination[hidden] {
	display: none !important;
}

.mk-interviews-section .dot {
	width: 8px;
	height: 8px;
	background-color: #d1d5db;
	border-radius: 10px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.mk-interviews-section .dot.active {
	width: 24px;
	background-color: #9ca3af;
}

.mk-topic-sec--interview {
	scroll-margin-top: calc(var(--mk-header-height, 76px) + 16px);
}

.mk-interviews-section--topic {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-top: 0;
	direction: rtl;
	text-align: right;
}

.mk-interviews-section--topic .slider-wrapper,
.mk-interviews-section--topic .slider-track,
.mk-interviews-section--topic .pagination {
	width: 100%;
	direction: rtl;
}

.mk-interviews-section--topic .slider-track {
	justify-content: flex-start;
	padding-inline: 0;
}

.mk-interviews-section--topic .card-content,
.mk-interviews-section--topic .card-name,
.mk-interviews-section--topic .card-meta {
	text-align: right;
}

.mk-interviews-section--topic .pagination {
	justify-content: center;
	margin-top: 14px;
}

.mk-interviews-section--topic .pagination[hidden] {
	display: none !important;
}

.mk-interviews-section--empty {
	padding: 24px;
	text-align: center;
	color: var(--text-gray);
	border: 1px dashed #d1d5db;
	border-radius: 12px;
}

@media (max-width: 768px) {
	.mk-interviews-section .section-header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 0.65rem;
		flex-wrap: nowrap;
		padding-inline: 0;
	}

	.mk-interviews-section .header-titles {
		flex: 1 1 auto;
		min-width: 0;
	}

	.mk-interviews-section .header-titles h2 {
		margin-bottom: 0;
	}

	.mk-interviews-section .view-all-link {
		flex-shrink: 0;
		align-self: flex-end;
		margin-bottom: 0.12rem;
		font-size: 0.72rem;
		font-weight: 700;
		gap: 0.3rem;
		white-space: nowrap;
	}

	.mk-interviews-section .view-all-link svg {
		width: 11px;
		height: 11px;
	}

	.mk-interviews-section .mk-interview-card {
		width: 290px;
	}
}

@media (max-width: 480px) {
	.mk-interviews-section .mk-interview-card {
		width: min(290px, 85vw);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mk-interviews-section .mk-interview-card {
		animation: none;
	}
}
