/**
 * Staff Module - Frontend Styles
 *
 * Author: Tobalt — https://tobalt.lt
 */

/* ── Design Tokens ────────────────────────────────────── */
:root {
	--tbt-primary: #009E69;
	--tbt-primary-dark: #007A50;
	--tbt-primary-light: #e6f7f0;
	--tbt-accent: #ad2727;
	--tbt-gold: #b8963e;
	--tbt-heading: #292f36;
	--tbt-body: #6c83a2;
	--tbt-body-dark: #4a5c76;
	--tbt-bg: #f5f7fa;
	--tbt-white: #ffffff;
	--tbt-border: #e1e7ef;
	--tbt-border-light: #eef2f7;
	--tbt-shadow-sm: 0 1px 3px rgba(41, 47, 54, .06);
	--tbt-shadow-md: 0 8px 24px rgba(41, 47, 54, .08);
	--tbt-shadow-lg: 0 16px 48px rgba(41, 47, 54, .12);
	--tbt-radius: 8px;
	--tbt-radius-lg: 12px;
	--tbt-transition: .3s cubic-bezier(.4, 0, .2, 1);
	--tbt-container: 1280px;
}

/* ══════════════════════════════════════════════════════
   DEPARTMENT FILTER TABS
   ══════════════════════════════════════════════════════ */
.tbt-staff-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--tbt-border);
}

.tbt-staff-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 20px;
	border: 1px solid var(--tbt-border);
	border-radius: 100px;
	background: var(--tbt-white);
	color: var(--tbt-body);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--tbt-transition);
	white-space: nowrap;
}

.tbt-staff-filter-btn:hover {
	border-color: var(--tbt-primary);
	color: var(--tbt-primary);
}

.tbt-staff-filter-btn.active {
	background: var(--tbt-primary);
	border-color: var(--tbt-primary);
	color: var(--tbt-white);
}

.tbt-staff-filter-count {
	font-size: 12px;
	opacity: .6;
}

/* ══════════════════════════════════════════════════════
   STAFF GRID
   ══════════════════════════════════════════════════════ */
.tbt-staff-list,
.tbt-staff-grid {
	display: grid;
	gap: 28px;
	margin: 0 0 40px;
}

.tbt-staff-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.tbt-staff-grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.tbt-staff-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

/* ── Staff Card ──────────────────────────────────────── */
.tbt-staff-card {
	background: var(--tbt-white);
	border-radius: var(--tbt-radius);
	overflow: hidden;
	border: 1px solid var(--tbt-border);
	transition: transform var(--tbt-transition), box-shadow var(--tbt-transition);
	opacity: 0;
	transform: translateY(20px);
}

.tbt-staff-card.tbt-visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .5s ease, transform .5s ease, box-shadow var(--tbt-transition);
}

.tbt-staff-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tbt-shadow-md);
}

/* ── Card Photo ──────────────────────────────────────── */
.tbt-staff-photo {
	display: block;
	overflow: hidden;
	background: var(--tbt-bg);
}

.tbt-staff-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--tbt-radius) var(--tbt-radius) 0 0;
	transition: transform .4s ease;
}

.tbt-staff-card:hover .tbt-staff-image {
	transform: scale(1.03);
}

.tbt-staff-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--tbt-bg) 0%, var(--tbt-border-light) 100%);
}

.tbt-staff-placeholder .dashicons {
	font-size: 56px;
	width: 56px;
	height: 56px;
	color: var(--tbt-border);
}

/* ── Featured Badge ──────────────────────────────────── */
.tbt-staff-featured {
	border-color: var(--tbt-primary-light);
}

.tbt-staff-featured .tbt-staff-photo {
	position: relative;
}

.tbt-staff-featured .tbt-staff-photo::after {
	content: '★';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tbt-gold);
	box-shadow: 0 0 0 3px rgba(184, 150, 62, .3);
	z-index: 1;
	color: #fff;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
}

/* ── Card Info (below photo) ─────────────────────────── */
.tbt-staff-info {
	padding: 16px 18px 18px;
}

.tbt-staff-name {
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 4px;
	color: var(--tbt-heading);
}

.tbt-staff-name a {
	color: inherit;
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-staff-name a:hover {
	color: var(--tbt-primary);
}

.tbt-staff-position {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--tbt-body);
	margin: 0;
	line-height: 1.4;
}

/* ── Card Department ─────────────────────────────────── */
.tbt-staff-department {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

.tbt-staff-dept-tag {
	display: inline-block;
	padding: 2px 10px;
	background: var(--tbt-primary-light);
	color: var(--tbt-primary);
	border-radius: 100px;
	font-size: 12px;
	font-weight: 500;
}

/* ── Card Contact ────────────────────────────────────── */
.tbt-staff-contact {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--tbt-border-light);
}

.tbt-staff-contact p {
	margin: 0 0 4px;
	font-size: 11px;
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--tbt-body);
}

.tbt-staff-contact p:last-child {
	margin-bottom: 0;
}

.tbt-staff-contact .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	color: var(--tbt-primary);
	flex-shrink: 0;
}

.tbt-staff-contact a {
	color: var(--tbt-body-dark);
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-staff-contact a:hover {
	color: var(--tbt-primary);
}

/* ══════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════ */
.tbt-staff-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 32px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--tbt-border);
}

.tbt-staff-pagination a,
.tbt-staff-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tbt-border);
	border-radius: var(--tbt-radius);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--tbt-body-dark);
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-staff-pagination a:hover {
	border-color: var(--tbt-primary);
	color: var(--tbt-primary);
	background: var(--tbt-primary-light);
}

.tbt-staff-pagination .current {
	background: var(--tbt-primary);
	border-color: var(--tbt-primary);
	color: var(--tbt-white);
}

.tbt-staff-pagination .dots {
	border: none;
	padding: 0 4px;
	min-width: auto;
}

/* ══════════════════════════════════════════════════════
   CAROUSEL
   ══════════════════════════════════════════════════════ */
.tbt-staff-carousel-wrap {
	position: relative;
	margin: 0 0 40px;
}

.tbt-staff-carousel {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 8px 0 24px;
}

.tbt-staff-carousel::-webkit-scrollbar {
	display: none;
}

.tbt-staff-carousel .tbt-staff-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	opacity: 1;
	transform: none;
}

.tbt-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tbt-white);
	border: 1px solid var(--tbt-border);
	box-shadow: var(--tbt-shadow-md);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--tbt-transition);
	z-index: 5;
	color: var(--tbt-heading);
	font-size: 20px;
	line-height: 1;
}

.tbt-carousel-btn:hover {
	background: var(--tbt-primary);
	border-color: var(--tbt-primary);
	color: var(--tbt-white);
}

.tbt-carousel-btn--prev { left: -22px; }
.tbt-carousel-btn--next { right: -22px; }

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

.tbt-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tbt-border);
	border: none;
	cursor: pointer;
	transition: var(--tbt-transition);
	padding: 0;
}

.tbt-carousel-dot.active {
	background: var(--tbt-primary);
	transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════
   GROUPED VIEW — Department Sections
   ══════════════════════════════════════════════════════ */
.tbt-staff-group {
	margin-bottom: 48px;
}

.tbt-staff-group:last-child {
	margin-bottom: 0;
}

.tbt-staff-group-title {
	font-family: 'Manrope', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--tbt-heading);
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--tbt-primary);
}

.tbt-staff-group-list {
	display: flex;
	flex-direction: column;
}

/* ── Staff Row (grouped view) ────────────────────────── */
.tbt-staff-row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--tbt-border-light);
	align-items: start;
	transition: background var(--tbt-transition);
}

.tbt-staff-row:last-child {
	border-bottom: none;
}

.tbt-staff-row:hover {
	background: var(--tbt-bg);
	margin: 0 -16px;
	padding: 20px 16px;
	border-radius: var(--tbt-radius);
}

.tbt-staff-row-photo {
	display: block;
	text-decoration: none;
}

.tbt-staff-row-image {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--tbt-radius);
	transition: var(--tbt-transition);
}

.tbt-staff-row:hover .tbt-staff-row-image {
	box-shadow: var(--tbt-shadow-sm);
}

.tbt-staff-row-placeholder {
	width: 100px;
	height: 100px;
	background: var(--tbt-bg);
	border-radius: var(--tbt-radius);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tbt-staff-row-placeholder .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: var(--tbt-border);
}

.tbt-staff-row-info {
	padding-top: 2px;
}

.tbt-staff-row-name {
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 2px;
	line-height: 1.3;
}

.tbt-staff-row-name a {
	color: var(--tbt-heading);
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-staff-row-name a:hover {
	color: var(--tbt-primary);
}

.tbt-staff-row-position {
	font-size: 14px;
	font-weight: 400;
	color: var(--tbt-body);
	margin: 0 0 6px;
}

.tbt-staff-row-quals {
	font-size: 13px;
	color: var(--tbt-body);
	margin: 0 0 8px;
	line-height: 1.5;
}

.tbt-staff-row-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.tbt-staff-row-contact a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--tbt-body-dark);
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-staff-row-contact a:hover {
	color: var(--tbt-primary);
}

.tbt-staff-row-contact .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	color: var(--tbt-primary);
}

/* ══════════════════════════════════════════════════════
   SINGLE STAFF PAGE
   ══════════════════════════════════════════════════════ */
.tbt-single {
	max-width: 960px;
	margin: 0 auto;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.tbt-staff-breadcrumb {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	color: var(--tbt-body);
	margin-bottom: 28px;
}

.tbt-staff-breadcrumb a {
	color: var(--tbt-primary);
	text-decoration: none;
}

.tbt-staff-breadcrumb a:hover {
	color: var(--tbt-accent);
}

.tbt-staff-breadcrumb .sep {
	margin: 0 8px;
	opacity: .4;
}

/* ── Hero ───────────────────────────────────────────── */
.tbt-single-hero {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 44px;
	align-items: start;
	padding: 36px;
	background: var(--tbt-white);
	border: 1px solid var(--tbt-border);
	border-radius: var(--tbt-radius-lg);
	margin-bottom: 36px;
	position: relative;
	overflow: hidden;
}

.tbt-single-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tbt-primary), var(--tbt-primary-dark));
}

/* ── Photo ──────────────────────────────────────────── */
.tbt-single-photo {
	position: relative;
}

.tbt-single-img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--tbt-radius);
	box-shadow: var(--tbt-shadow-md);
}

.tbt-single-placeholder {
	width: 100%;
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--tbt-bg) 0%, var(--tbt-border-light) 100%);
	border-radius: var(--tbt-radius);
}

.tbt-single-placeholder .dashicons {
	font-size: 72px;
	width: 72px;
	height: 72px;
	color: var(--tbt-border);
}

/* ── Intro info ─────────────────────────────────────── */
.tbt-single-intro {
	padding-top: 4px;
}

.tbt-single-name {
	font-family: 'Manrope', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--tbt-heading);
	line-height: 1.15;
	margin: 0 0 8px;
}

.tbt-single-position {
	font-family: 'Manrope', sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: var(--tbt-primary);
	margin: 0 0 16px;
	line-height: 1.4;
}

.tbt-single-departments {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.tbt-single-dept {
	display: inline-block;
	padding: 5px 16px;
	background: var(--tbt-primary-light);
	color: var(--tbt-primary);
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-single-dept:hover {
	background: var(--tbt-primary);
	color: var(--tbt-white);
}

.tbt-single-subjects {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 15px;
	color: var(--tbt-body-dark);
	line-height: 1.5;
	margin-bottom: 20px;
	padding: 12px 16px;
	background: var(--tbt-bg);
	border-radius: var(--tbt-radius);
}

.tbt-single-subjects .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	color: var(--tbt-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

/* ── Contact actions ────────────────────────────────── */
.tbt-single-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.tbt-single-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 18px;
	border: 1px solid var(--tbt-border);
	border-radius: 100px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--tbt-body-dark);
	text-decoration: none;
	transition: var(--tbt-transition);
	background: var(--tbt-white);
}

.tbt-single-action:hover {
	border-color: var(--tbt-primary);
	color: var(--tbt-primary);
	background: var(--tbt-primary-light);
}

.tbt-single-action .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	color: var(--tbt-primary);
}

.tbt-single-office {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--tbt-body);
}

.tbt-single-office .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	color: var(--tbt-primary);
}

/* ── Bio section ────────────────────────────────────── */
.tbt-single-bio {
	margin-bottom: 36px;
}

.tbt-single-section-title {
	font-family: 'Manrope', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--tbt-heading);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--tbt-primary);
}

.tbt-single-bio-text {
	font-size: 16px;
	line-height: 1.75;
	color: var(--tbt-body-dark);
}

.tbt-single-bio-text p {
	margin: 0 0 12px;
}

.tbt-single-bio-text p:last-child {
	margin-bottom: 0;
}

/* ── Detail cards ───────────────────────────────────── */
.tbt-single-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.tbt-single-card {
	background: var(--tbt-white);
	border: 1px solid var(--tbt-border);
	border-radius: var(--tbt-radius-lg);
	padding: 24px;
	position: relative;
}

.tbt-single-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--tbt-primary-light);
	margin-bottom: 14px;
}

.tbt-single-card-icon .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	color: var(--tbt-primary);
}

.tbt-single-card h3 {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--tbt-heading);
	margin: 0 0 12px;
}

.tbt-single-card-body {
	font-size: 15px;
	line-height: 1.7;
	color: var(--tbt-body-dark);
}

/* ── Contact list in cards ──────────────────────────── */
.tbt-single-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbt-single-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--tbt-body-dark);
}

.tbt-single-contact-list li:last-child {
	margin-bottom: 0;
}

.tbt-single-contact-list .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	color: var(--tbt-primary);
	flex-shrink: 0;
}

.tbt-single-contact-list a {
	color: var(--tbt-heading);
	text-decoration: none;
	transition: var(--tbt-transition);
}

.tbt-single-contact-list a:hover {
	color: var(--tbt-primary);
}

/* ── Bottom nav ─────────────────────────────────────── */
.tbt-single-nav {
	padding-top: 24px;
	border-top: 1px solid var(--tbt-border);
}

.tbt-single-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	background: var(--tbt-bg);
	color: var(--tbt-body-dark);
	text-decoration: none;
	border-radius: 100px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	transition: var(--tbt-transition);
}

.tbt-single-back:hover {
	background: var(--tbt-primary);
	color: var(--tbt-white);
}

.tbt-single-back .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

/* ══════════════════════════════════════════════════════
   PROFILE ([tobalt_staff_single] shortcode)
   ══════════════════════════════════════════════════════ */
.tbt-staff-profile {
	background: var(--tbt-white);
	border: 1px solid var(--tbt-border);
	border-radius: var(--tbt-radius-lg);
	padding: 36px;
	margin: 32px 0;
}

.tbt-staff-profile-header {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 32px;
	margin-bottom: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--tbt-border-light);
}

.tbt-staff-profile-image {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--tbt-radius);
}

.tbt-staff-placeholder-large {
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--tbt-bg);
	border-radius: var(--tbt-radius);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tbt-staff-placeholder-large .dashicons {
	font-size: 56px;
	width: 56px;
	height: 56px;
	color: var(--tbt-border);
}

.tbt-staff-profile-name {
	font-family: 'Manrope', sans-serif;
	font-size: 26px;
	font-weight: 700;
	color: var(--tbt-heading);
	margin: 0 0 6px;
	line-height: 1.2;
}

.tbt-staff-profile-position {
	font-size: 15px;
	color: var(--tbt-primary);
	margin: 0 0 14px;
	font-weight: 500;
}

.tbt-staff-profile-department,
.tbt-staff-profile-subjects {
	font-size: 14px;
	color: var(--tbt-body);
	margin: 0 0 6px;
}

.tbt-staff-profile-department strong,
.tbt-staff-profile-subjects strong {
	color: var(--tbt-heading);
}

.tbt-staff-profile-bio {
	margin-bottom: 28px;
	line-height: 1.7;
	color: var(--tbt-body-dark);
}

.tbt-staff-profile-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.tbt-staff-profile-section h3 {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--tbt-heading);
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--tbt-primary-light);
}

.tbt-staff-profile-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbt-staff-profile-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--tbt-body-dark);
}

.tbt-staff-profile-list .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	color: var(--tbt-primary);
	margin-top: 2px;
	flex-shrink: 0;
}

.tbt-staff-profile-hours,
.tbt-staff-profile-qualifications {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tbt-body-dark);
}

/* ══════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════ */
.tbt-no-staff {
	padding: 48px 32px;
	text-align: center;
	background: var(--tbt-bg);
	border: 2px dashed var(--tbt-border);
	border-radius: var(--tbt-radius-lg);
	color: var(--tbt-body);
	font-size: 15px;
}

.tbt-error {
	padding: 16px 20px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--tbt-radius);
	color: #991b1b;
	font-weight: 500;
	font-size: 14px;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.tbt-staff-grid[data-columns="4"] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
	.tbt-staff-list,
	.tbt-staff-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}

	.tbt-single-hero {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px;
		text-align: center;
	}

	.tbt-single-photo {
		max-width: 240px;
		margin: 0 auto;
	}

	.tbt-single-name { font-size: 26px; }
	.tbt-single-departments { justify-content: center; }
	.tbt-single-actions { justify-content: center; }
	.tbt-single-subjects { text-align: left; }

	.tbt-single-details {
		grid-template-columns: 1fr;
	}

	.tbt-staff-profile-header {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tbt-staff-profile-image,
	.tbt-staff-placeholder-large {
		max-width: 200px;
		margin: 0 auto;
	}

	.tbt-staff-profile-details {
		grid-template-columns: 1fr;
	}

	.tbt-carousel-btn--prev { left: 4px; }
	.tbt-carousel-btn--next { right: 4px; }
}

@media (max-width: 480px) {
	.tbt-staff-list,
	.tbt-staff-grid {
		grid-template-columns: 1fr !important;
	}

	.tbt-staff-carousel .tbt-staff-card {
		flex: 0 0 240px;
	}

	.tbt-staff-filters {
		gap: 6px;
	}

	.tbt-staff-filter-btn {
		padding: 6px 14px;
		font-size: 13px;
	}

	.tbt-staff-row {
		grid-template-columns: 72px 1fr;
		gap: 14px;
	}

	.tbt-staff-row-image,
	.tbt-staff-row-placeholder {
		width: 72px;
		height: 72px;
	}

	.tbt-staff-group-title { font-size: 19px; }
}
