/* === Tstechjob v1.0.2 — Job Listings Accordion === */

.tstechjob-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* --- Item container --- */

.tstechjob-item {
	background: #1A1A1D;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	overflow: hidden;
}

/* --- Header (always visible) --- */

.tstechjob-header {
	padding: 20px 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.tstechjob-header:focus-visible {
	outline: 2px solid #F47116;
	outline-offset: -2px;
	border-radius: 10px;
}

.tstechjob-title {
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.1em;
	transition: color 0.3s ease;
}

.tstechjob-item.is-open .tstechjob-title {
	color: #F47116;
}

/* --- Right-side actions --- */

.tstechjob-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

/* --- Apply button --- */

.tstechjob-apply-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 10px 16px;
	background: radial-gradient(69.25% 69.25% at 50% 50%, #FF9950 0%, #F47116 100%);
	border-radius: 22px;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.05em;
	text-decoration: none;
	border: 0;
	white-space: nowrap;
	transition: opacity 0.3s ease;
}

.tstechjob-apply-btn:hover,
.tstechjob-apply-btn:focus {
	opacity: 0.85;
	color: #FFFFFF;
	text-decoration: none;
}

.tstechjob-apply-btn.is-disabled {
	opacity: 0.4;
	pointer-events: none;
	cursor: default;
}

/* --- Chevron --- */

.tstechjob-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(184, 199, 217, 0.5);
	flex-shrink: 0;
}

.tstechjob-chevron svg {
	display: block;
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
}

.tstechjob-item.is-open .tstechjob-chevron svg {
	transform: rotate(180deg);
}

/* --- Body (expanded content) --- */

.tstechjob-body {
	display: none;
	padding: 12px 52px 40px;
	flex-direction: column;
	gap: 25px;
}

.tstechjob-item.is-open .tstechjob-body {
	display: flex;
}

/* --- Content sections --- */

.tstechjob-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tstechjob-section-label {
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.1em;
}

.tstechjob-section-content {
	color: rgba(255, 255, 255, 0.70);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.05em;
	text-align: justify;
}

/* Reset WYSIWYG content margins. */
.tstechjob-section-content > *:first-child {
	margin-top: 0;
}

.tstechjob-section-content > *:last-child {
	margin-bottom: 0;
}

/* --- Responsive --- */

@media (max-width: 600px) {
	.tstechjob-header {
		padding: 16px 20px;
	}

	.tstechjob-body {
		padding: 8px 20px 28px;
	}

	.tstechjob-title {
		font-size: 16px;
	}

	.tstechjob-apply-btn {
		padding: 8px 14px;
		font-size: 14px;
	}
}
