/* ============================================================
   VAGAS DE TRABALHO — CSS (Reforço Visual 1.8)
   ============================================================ */

/* GRID PRINCIPAL (Página de Vagas) */
.vagas-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 20px 0;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.vagas-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.vagas-grid {
		grid-template-columns: 1fr;
	}
}

.vaga-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	height: 100%;
}

.vaga-card:hover {
	border-color: #143697;
	box-shadow: 0 10px 15px -3px rgba(10, 30, 80, 0.1);
}

/* Vaga aberta a partir de um link direto (#vaga-123) */
.vaga-card {
	scroll-margin-top: 120px;
}

.vaga-card.is-highlighted {
	border-color: #143697;
	box-shadow: 0 0 0 3px rgba(20, 54, 151, 0.18), 0 10px 15px -3px rgba(10, 30, 80, 0.12);
}

.vaga-card__header {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.vaga-card__area {
	display: inline-block;
	background: #eff6ff;
	color: #2563eb;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	width: fit-content;
}

.vaga-card__title {
	font-size: 20px !important;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.2;
	margin: 0 0 15px !important;
}

.vaga-card__toggle-btn {
	background: #143697;
	color: #fff !important;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.vaga-card__expandable-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	background: #fcfdfe;
}

.vaga-card.is-expanded .vaga-card__expandable-content {
	max-height: 2500px;
	padding-bottom: 20px;
}

.vaga-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	border-top: 1px solid #f1f5f9;
}

.vaga-section {
	font-size: 14px;
	color: #475569;
	line-height: 1.4;
}

.vaga-section strong {
	color: #1e293b;
	font-size: 12px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 2px;
}

.vaga-card__footer {
	padding: 0 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vaga-btn-whats {
	background: #22c55e;
	color: #fff !important;
	padding: 12px;
	border-radius: 8px;
	font-weight: 700;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none !important;
}

.vaga-btn-apply {
	background: #143697;
	color: #fff !important;
	padding: 12px;
	border-radius: 8px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: 0.2s;
}

/* ============================================================
   ESTILO REFORÇADO: SHORTCODE [vaga-trabalho] (Últimas Vagas)
   ============================================================ */

.vagas-latest {
	display: flex !important;
	flex-direction: column !important;
	gap: 15px !important;
	margin: 20px 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.vaga-latest-item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	background: none !important;
	padding: 0 !important;
}

.vaga-latest-title {
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

/* Ícone Pulsante Verde */
.vaga-status-pulse {
	width: 10px !important;
	height: 10px !important;
	background: #22c55e !important;
	border-radius: 50% !important;
	display: inline-block !important;
	box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
	animation: mu-pulse-vaga 2s infinite;
	flex-shrink: 0;
}

@keyframes mu-pulse-vaga {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

/* Botão Pílula Branca */
.vagas-btn-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #ffffff !important;
	color: #143697 !important;
	/* Azul Escuro */
	padding: 14px 28px !important;
	border-radius: 50px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	margin-top: 15px !important;
	font-size: 14px !important;
	width: fit-content !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.vagas-btn-link:hover {
	background: #f8fafc !important;
	transform: scale(1.05);
	color: #0f2a75 !important;
}