/* ─── Tab Bar ─────────────────────────────────────────── */

.ts-tabs {
	display: flex;
	gap: 5px;
	margin-bottom: 28px;
	background:#1B365D;
	padding:15px;
	border-radius:50px;
	position:relative;
}
.ts-tabs .ts-slider-pill {
    position: absolute;
    top: 10px;
    left: 5px;
    height: calc(100% - 20px);
    border-radius: 50px;
    background: #C4A882;
    z-index: 1;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.ts-tab {
	padding: 10px 18px!important;
	border-radius: 999px!important;
	border:none!important;
	background: none!important;
	color: #fff!important;
	font-size: 14px!important;
	font-weight: 600!important;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	font-family: 'Outfit', Arial, Helvetica, sans-serif;
	position:relative;
	z-index:1;
}
.ts-tab:hover {
	/*background: #C4A882!important;
	border-color: #C4A882!important;*/
	color: #fff!important;
}
.ts-tab--active {
	/*background: #C4A882!important;*/
	color: #fff!important;
	/*border-color: #C4A882!important;*/
}
/* ─── Description Box ─────────────────────────────────── */
#ts-grid,
.ts-desc {
    transition: opacity 0.22s ease, transform 0.22s ease;
    opacity: 1;
    transform: translateY(0);
}

/* Leaving — current tab's content sliding/fading away */
#ts-grid.ts-leaving,
.ts-desc.ts-leaving {
    opacity: 0;
}

/* Entering — new tab's content starting position (before animating in) */
#ts-grid.ts-entering,
.ts-desc.ts-entering {
    opacity: 0;
}


.ts-desc {
	background: #f9f6f1;
	border-left: 4px solid #c4a882;
	border-radius: 10px;
	padding: 20px;
	color: #000;
	margin-bottom: 36px;
	min-height: 20px;
	transition: opacity 0.2s;
}
/* ─── Team Grid ───────────────────────────────────────── */

.ts-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
}
/* ─── Member Card ─────────────────────────────────────── */

.ts-card {
	background: #fff;
	border: 1px solid #e8eaf0;
	border-radius: 14px;
	padding: 20px 15px 20px;
	text-align: center;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ts-card:hover {
	border-color: #c4a882;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(60, 80, 160, 0.08);
}
/* ─── Avatar Circle ───────────────────────────────────── */

.ts-avatar {
	width: 150px;
	height: 150px;
	border-radius: 100%;
	margin: 0 auto 16px;
	overflow: hidden;
	border: 3px solid #e8eaf6;
	background: #f0f2fb;
}
.ts-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* ─── Name ────────────────────────────────────────────── */

.ts-name {
	font-size: 18px;
	font-weight: 500;
	color: #1B365D;
	margin: 0 0 10px;
	line-height: 1.2;
}
.ts-job {
	font-size: 15px;
	color: #acacac;
	line-height: 1.2;
}
/* ─── Loading State ───────────────────────────────────── */

.ts-grid--loading {
	pointer-events: none;
}



/* ─── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
.ts-grid {
	grid-template-columns: repeat(2, 1fr);
}
}
 @media (max-width: 500px) {
.ts-grid {
	grid-template-columns: repeat(2, 1fr);
}
}
/* ─── Custom Dropdown Wrap ────────────────────────────── */

.ts-dd-wrap {
	display: none;
	position: relative;
	margin-bottom: 24px;
	user-select: none;
}
/* ─── Trigger Button ──────────────────────────────────── */

.ts-dd-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: #C4A882;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.ts-dd-wrap.ts-dd-open .ts-dd-trigger {
	border-color: #C4A882;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -2px 8px rgba(59, 79, 160, 0.08);
}
.ts-dd-label {
	font-size: 15px;
	font-weight: 600;
	color: #000;
}
.ts-dd-icon {
	color: #000;
	display: flex;
	align-items: center;
	transition: transform 0.25s;
}
.ts-dd-wrap.ts-dd-open .ts-dd-icon {
	transform: rotate(180deg);
}
/* ─── Dropdown List ───────────────────────────────────── */

.ts-dd-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 2px solid #C4A882;
	border-top: none;
	border-radius: 0 0 12px 12px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	z-index: 999;
	box-shadow: 0 8px 24px rgba(59, 79, 160, 0.12);
	max-height: 260px;
	overflow-y: auto;
}
.ts-dd-wrap.ts-dd-open .ts-dd-list {
	display: block;
}
/* ─── Dropdown Item ───────────────────────────────────── */

.ts-dd-item {
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	border-left: 3px solid transparent;
}
.ts-dd-item:hover {
	background: #f9f6f2;
	color: #000;
	border-left-color: #C4A882;
}
.ts-dd-item--active {
	background: #f9f6f2;
	color: #000;
	font-weight: 600;
	border-left-color: #C4A882;
}



/* ─── Mobile show/hide ────────────────────────────────── */
@media (min-width: 861px) and  (max-width: 1199px) {
.ts-tab {
    font-size: 12px !important;
}

}
@media (max-width: 860px) {
.ts-tabs {
	display: none;
}
.ts-dd-wrap {
	display: block;
}
}
@media (max-width: 768px) {
.ts-grid {
	grid-template-columns: repeat(2, 1fr);
}
}
 @media (max-width: 768px) {
.ts-avatar {
	width: 100px;
	height: 100px;
}
}
