/* =========================================================================
   css/empleo2026.css - Ofertas de empleo 2026 (empleo.php). Copia del aspecto
   de agencias/empleo.php (agencias/css/paginas/empleo.css: tarjeta por oferta
   y columna derecha fija). Titulo, "Estamos aqui" y tarjeta de la sede:
   css/contactopagina2026.css; texto gris de fondo: css/certificacion2026.css.
   ========================================================================= */

.emp26-rejilla {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	column-gap: 48px;
	align-items: start;
	padding: max(60px, 8vw) 0 50px;
}

.emp26-intro p {
	margin: 10px 0 0;
	line-height: 1.5;
	text-align: left !important;
}

/* Columna derecha: acompana al scroll en escritorio (debajo del menu fijo) */
@media (min-width: 992px) {
	.emp26-lateral {
		position: -webkit-sticky;
		position: sticky;
		top: 57px;
	}
}

.emp26-lateral .cont26-aqui p {
	margin-top: 60px;
}

/* ---------- Tarjetas de ofertas ---------- */
.emp26-lista {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.5rem 0 3rem;
}

.emp26-oferta {
	position: relative;
	display: flex;
	gap: 1.5rem;
	padding: 1.25rem;
	border: 1px solid #e6e9ee;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(35, 45, 59, .06);
	transition: box-shadow .2s ease, transform .2s ease;
}

.emp26-oferta:hover,
.emp26-oferta:focus-within {
	box-shadow: 0 8px 24px rgba(35, 45, 59, .12);
	transform: translateY(-2px);
}

.emp26-imagen {
	flex-shrink: 0;
	width: 96px;
	height: 96px;
	border-radius: .5rem;
	background-color: #f5f6f8;
	object-fit: cover;
}

.emp26-cuerpo {
	flex-grow: 1;
	min-width: 0;
}

.emp26 .emp26-titulo {
	margin: 0 0 .5rem;
	padding: 0;
	background: none;
	font-family: var(--fuente-titulos);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-align: left;
}

.emp26-titulo a,
.emp26-titulo a:visited {
	color: #232d3b;
	text-decoration: none;
	transition: color .15s ease;
}

/* Toda la tarjeta es el enlace (stretched-link de Bootstrap) */
.emp26-titulo a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.emp26-oferta:hover .emp26-titulo a { color: #dd9d1f; }
.emp26-titulo a:focus-visible { outline: none; }

.emp26-oferta:has(.emp26-titulo a:focus-visible) {
	outline: 2px solid #f4b333;
	outline-offset: 2px;
}

/* Datos: empresa, fecha, lugar y vacantes */
.emp26 .emp26-datos {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
	margin: 0 0 .5rem;
	padding: 0;
	list-style: none;
	color: #5b6573;
	font-size: .82rem;
}

.emp26 .emp26-datos li {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: 0;
	background: none;
	list-style: none;
}

.emp26-datos svg {
	width: auto;
	height: 12px;
	color: #dd9d1f;
}

.emp26-vacantes {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .3em .7em;
	border-radius: 50rem;
	background-color: #fdf3dd;
	color: #8a5a00;
	font-size: .75rem;
	font-weight: 600;
}

.emp26-vacantes svg { color: inherit; }

.emp26 .emp26-resumen {
	margin: 0 0 .5rem;
	color: #5b6573;
	font-size: .88rem;
	line-height: 1.6;
	text-align: left !important;
}

.emp26-ver {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: #232d3b;
	font-size: .85rem;
	font-weight: 700;
}

.emp26-ver svg {
	width: 12px;
	height: 12px;
	transition: transform .15s ease;
}

.emp26-oferta:hover .emp26-ver svg { transform: translateX(3px); }

.emp26-vacio { color: #5b6573; }

@media (prefers-reduced-motion: reduce) {
	.emp26-oferta, .emp26-ver svg { transition: none; }
	.emp26-oferta:hover { transform: none; }
}

/* ---------- Tablet y movil ---------- */
@media (max-width: 991.98px) {
	.emp26-rejilla {
		grid-template-columns: minmax(0, 1fr);
		padding: 30px 16px 40px;
	}

	.emp26-lateral .cont26-aqui p { margin-top: 0; }
}

@media (max-width: 575.98px) {
	.emp26-oferta { gap: 1rem; padding: 1rem; }
	.emp26-imagen { width: 56px; height: 56px; }
}
