/* Preply-inspired layout (HivePress-native content) */
.vertex-tutors {
	background: #ffffff;
}

.vertex-tutors-container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px;
}

.vertex-tutors-hero {
	padding: 46px 0 26px;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.vertex-tutors-title {
	font-size: 40px;
	line-height: 1.1;
	margin: 0 0 10px;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.vertex-tutors-subtitle {
	margin: 0 0 18px;
	color: #475569;
	font-size: 16px;
}

.vertex-tutors-search .hp-form {
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	padding: 12px;
}

.vertex-tutors-warning {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-weight: 600;
}

.vertex-tutors-subjects {
	padding: 26px 0 10px;
}

.vertex-tutors-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.vertex-tutors-h2 {
	margin: 0;
	font-size: 20px;
	color: #0f172a;
}

.vertex-tutors-muted {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

/* Category cards */
.vertex-tutors-categories .hp-listing-categories {
	gap: 14px;
}

.vertex-tutors-categories .hp-listing-category {
	border-radius: 14px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	background: #fff;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vertex-tutors-categories .hp-listing-category:hover {
	transform: translateY(-2px);
	border-color: rgba(59, 130, 246, 0.45);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.vertex-tutors-market {
	padding: 18px 0 60px;
}

/* Hide duplicate Listings_View_Page header search (we already show a hero search). */
.vertex-tutors-market .hp-page__header {
	display: none;
}

/* Hide HivePress page header when using Tutor instructor list */
.vertex-tutors-market .hp-page__header {
	display: none !important;
}

/* Instructors filter wrapper improvements */
.tutor-instructors-filter-wrapper {
	background: transparent;
	padding: 20px 0;
}

.tutor-instructors-filter-wrapper .tutor-widget {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
}

.tutor-instructors-filter-wrapper .tutor-widget-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 12px 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.tutor-instructors-filter-wrapper .tutor-list-item label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: 14px;
	color: #475569;
	cursor: pointer;
	transition: color 0.2s ease;
}

.tutor-instructors-filter-wrapper .tutor-list-item label:hover {
	color: #3b82f6;
}

.tutor-instructors-filter-wrapper .tutor-list-item input[type="checkbox"] {
	cursor: pointer;
}

/* Star ratings in filter */
.tutor-instructors-filter-wrapper .tutor-ratings i {
	color: #fbbf24;
	cursor: pointer;
	transition: transform 0.2s ease;
	font-size: 18px;
}

.tutor-instructors-filter-wrapper .tutor-ratings i:hover {
	transform: scale(1.1);
}

/* Filter button styling */
.tutor-instructors-filter-wrapper .tutor-btn-ghost {
	padding: 6px 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.tutor-instructors-filter-wrapper .tutor-btn-ghost:hover {
	background: #f8f9fa;
	color: #3b82f6;
}

/* Search and sort area */
.tutor-instructors-filter-wrapper .tutor-form-wrap {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.tutor-instructors-filter-wrapper .tutor-form-control {
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	color: #0f172a;
	width: 100%;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tutor-instructors-filter-wrapper .tutor-form-control:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

/* Tutor instructor pagination wrapper */
.tutor-pagination-wrapper-replaceable {
	width: 100%;
}

.tutor-instructor-list {
	width: 100%;
}

.tutor-grid {
	display: grid;
	gap: 16px;
	width: 100%;
}

.tutor-grid.tutor-grid-1 {
	grid-template-columns: 1fr;
}

.tutor-grid.tutor-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.tutor-grid.tutor-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Force vertical tutor listing on the Tutor page */
.vertex-tutors-market .tutor-instructor-list,
.vertex-tutors-market .tutor-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 18px !important;
	width: 100%;
}

.vertex-tutors-market .tutor-instructor-list-item {
	width: 100% !important;
	margin-bottom: 0 !important;
}

/* Responsive grid */
@media (max-width: 1024px) {
	.tutor-instructors-filter-wrapper {
		padding: 16px 0;
	}

	.tutor-instructors-filter-wrapper .tutor-form-wrap {
		margin-bottom: 16px;
	}

	.tutor-grid.tutor-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.tutor-grid.tutor-grid-2 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.tutor-instructors-filter-wrapper .tutor-col-lg-9 {
		margin-top: 20px;
	}

	.tutor-instructors-filter-wrapper .tutor-d-flex {
		flex-direction: column;
		gap: 12px;
	}

	.tutor-grid.tutor-grid-3,
	.tutor-grid.tutor-grid-2 {
		grid-template-columns: 1fr;
	}
}

/* Main instructor card styling */
.tutor-instructor-list-item.tutor-instructor-layout-horizontal-card {
	border-radius: 14px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	background: #ffffff;
	overflow: visible;
	transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
	padding: 20px 24px;
	margin-bottom: 16px;
}

.tutor-instructor-list-item.tutor-instructor-layout-horizontal-card:hover {
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	border-color: rgba(59, 130, 246, 0.45);
	transform: translateY(-2px);
}

/* Avatar wrapper with verified badge */
.tutor-instructor-card-full .tutor-instructor-avatar-wrapper {
	position: relative;
	min-width: 120px;
}

.tutor-instructor-card-full .tutor-avatar {
	border-radius: 12px;
	border: 2px solid rgba(59, 130, 246, 0.1);
	overflow: hidden;
	object-fit: cover;
}

.tutor-instructor-card-full .tutor-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Verified badge */
.tutor-instructor-verified-badge {
	position: absolute;
	bottom: -2px;
	right: -2px;
	background: #3b82f6;
	color: #ffffff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Card content area */
.tutor-instructor-card-full .tutor-instructor-card-content {
	flex: 1;
}

/* Header section with name and professional badge */
.tutor-instructor-card-full .tutor-instructor-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.tutor-instructor-card-full .tutor-instructor-title {
	margin: 0 !important;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.4;
}

/* Professional badge */
.tutor-instructor-card-full .tutor-instructor-badge {
	background: #fdf2f8;
	color: #be185d;
	border: 1px solid rgba(236, 72, 153, 0.25);
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	white-space: nowrap;
	display: inline-block;
}

/* Description text */
.tutor-instructor-card-full .tutor-instructor-description {
	font-size: 14px;
	color: #475569;
	margin: 0 0 12px 0 !important;
	line-height: 1.6;
}

/* Stats section */
.tutor-instructor-card-full .tutor-instructor-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 8px;
	align-items: center;
	font-size: 14px;
}

.tutor-instructor-stats .tutor-instructor-rating-section,
.tutor-instructor-stats .tutor-instructor-students,
.tutor-instructor-stats .tutor-instructor-courses {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tutor-instructor-stats .tutor-ratings {
	gap: 4px;
}

.tutor-instructor-stats .tutor-ratings-average {
	font-weight: 700;
	color: #0f172a;
	font-size: 14px;
}

.tutor-instructor-stats .tutor-separator {
	color: #cbd5e1;
	font-size: 18px;
}

/* Languages */
.tutor-instructor-card-full .tutor-instructor-languages {
	font-size: 13px;
	color: #64748b;
	margin-top: 6px;
}

/* Action buttons */
.tutor-instructor-card-full .tutor-instructor-actions {
	display: flex;
	gap: 8px;
	flex-direction: column;
	min-width: fit-content;
	justify-content: center;
	align-items: flex-end;
}

.tutor-instructor-card-full .tutor-btn {
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	min-width: 130px;
	text-align: center;
}

.tutor-instructor-card-full .tutor-btn-primary {
	background: #ec4899;
	color: #ffffff;
}

.tutor-instructor-card-full .tutor-btn-primary:hover {
	background: #db2777;
	box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
	transform: translateY(-1px);
}

.tutor-instructor-card-full .tutor-btn-secondary {
	background: #ffffff;
	color: #ec4899;
	border: 1px solid rgba(236, 72, 153, 0.24);
}

.tutor-instructor-card-full .tutor-btn-secondary:hover {
	background: #fdf2f8;
	border-color: #ec4899;
	box-shadow: 0 2px 8px rgba(236, 72, 153, 0.12);
	transform: translateY(-1px);
}

/* Instructors filter wrapper improvements */
.tutor-instructors-filter-wrapper {
	background: transparent;
	padding: 20px 0;
}

.tutor-instructors-filter-wrapper .tutor-widget {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	padding: 16px;
}

.tutor-instructors-filter-wrapper .tutor-widget-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 12px 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.tutor-instructors-filter-wrapper .tutor-list-item label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: 14px;
	color: #475569;
	cursor: pointer;
	transition: color 0.2s ease;
}

.tutor-instructors-filter-wrapper .tutor-list-item label:hover {
	color: #3b82f6;
}

.tutor-instructors-filter-wrapper .tutor-list-item input[type="checkbox"] {
	cursor: pointer;
}

/* Star ratings in filter */
.tutor-instructors-filter-wrapper .tutor-ratings i {
	color: #fbbf24;
	cursor: pointer;
	transition: transform 0.2s ease;
	font-size: 18px;
}

.tutor-instructors-filter-wrapper .tutor-ratings i:hover {
	transform: scale(1.1);
}

/* Filter button styling */
.tutor-instructors-filter-wrapper .tutor-btn-ghost {
	padding: 6px 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.tutor-instructors-filter-wrapper .tutor-btn-ghost:hover {
	background: #f8f9fa;
	color: #3b82f6;
}

/* Search and sort area */
.tutor-instructors-filter-wrapper .tutor-form-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.tutor-instructors-filter-wrapper .tutor-form-control {
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	color: #0f172a;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tutor-instructors-filter-wrapper .tutor-form-control:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

/* Responsive improvements */
@media (max-width: 1024px) {
	.tutor-instructors-filter-wrapper {
		padding: 16px 0;
	}

	.tutor-instructors-filter-wrapper .tutor-form-wrap {
		margin-bottom: 16px;
	}
}

@media (max-width: 768px) {
	.tutor-instructors-filter-wrapper .tutor-col-lg-9 {
		margin-top: 20px;
	}

	.tutor-instructors-filter-wrapper .tutor-d-flex {
		flex-direction: column;
		gap: 12px;
	}
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.tutor-instructor-card-full {
		padding: 16px;
	}

	.tutor-instructor-card-full .tutor-row {
		flex-wrap: wrap;
	}

	.tutor-instructor-card-full .tutor-instructor-actions {
		flex-direction: row;
		width: 100%;
		margin-top: 12px;
	}

	.tutor-instructor-card-full .tutor-btn {
		flex: 1;
		min-width: auto;
	}

	.tutor-instructor-card-full .tutor-instructor-stats {
		gap: 12px;
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	.tutor-instructor-card-full {
		padding: 14px;
	}

	.tutor-instructor-card-full .tutor-col-auto:first-child {
		margin-bottom: 12px;
		width: 100%;
		flex: 0 0 80px;
	}

	.tutor-instructor-card-full .tutor-avatar {
		width: 80px;
		height: 80px;
	}

	.tutor-instructor-card-full .tutor-instructor-actions {
		gap: 8px;
	}

	.tutor-instructor-card-full .tutor-btn {
		padding: 8px 16px;
		font-size: 13px;
		min-width: auto;
	}

	.tutor-instructor-card-full .tutor-instructor-stats {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tutor-instructor-card-full .tutor-separator {
		display: none;
	}
}

@media (max-width: 991px) {
	.vertex-tutors-title {
		font-size: 30px;
	}
	.vertex-tutors-market .hp-page__sidebar {
		position: static;
		top: auto;
	}
}

