/* WALON - Recursos Humanos | Cards negras + franja blanca + CV general */

.walon-rh-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 34px 16px 56px;
	background: transparent;
}

.walon-rh-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 58px;
	align-items: stretch;
}

.walon-rh-card {
	width: 100%;
	max-width: 325px;
	min-height: 292px;
	background: #fff;
	color: #111;
	border: 1px solid #d7d7d7;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: none;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.walon-rh-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(0,0,0,.18);
	border-color: #bfbfbf;
}

.walon-rh-card-black {
	position: relative;
	min-height: 202px;
	background: #000;
	color: #fff;
	padding: 22px 24px 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.walon-rh-fav {
	position: absolute;
	top: 20px;
	right: 20px;
	color: rgba(255,255,255,.78);
	line-height: 1;
	pointer-events: none;
}

.walon-rh-title {
	max-width: 86%;
	margin: 0;
	padding-right: 18px;
	color: #fff !important;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.13;
	letter-spacing: -.025em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.walon-rh-card-info {
	margin-top: 22px;
}

.walon-rh-location {
	margin: 0;
	color: #fff;
	font-size: 10.5px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.walon-rh-date {
	margin-top: 5px;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;
	opacity: .96;
	white-space: normal;
}

.walon-rh-card-white {
	min-height: 90px;
	background: #fff;
	color: #111;
	padding: 17px 24px 19px;
	border-top: 0;
}

.walon-rh-ready {
	display: block;
	margin: 0 0 7px;
	color: #111;
	font-size: 11.5px;
	font-weight: 900;
	line-height: 1.2;
}

.walon-rh-excerpt {
	margin: 0;
	color: #111;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.walon-rh-empty {
	grid-column: 1 / -1;
	background: #fff;
	padding: 32px;
	text-align: center;
	color: #111;
	border: 1px solid #dedede;
}

/* Bloque inferior */
.walon-rh-cv-box {
	margin: 80px auto 0;
	width: 100%;
	background: #fff;
	border: 1px solid #d7d7d7;
	padding: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.walon-rh-cv-copy {
	border: 1px solid #e1e1e1;
	padding: 25px 30px;
	flex: 1;
	min-height: 98px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.walon-rh-cv-copy h3 {
	margin: 0 0 10px;
	color: #111;
	font-size: 19px;
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: -.02em;
}

.walon-rh-cv-copy p {
	max-width: 580px;
	margin: 0;
	color: #222;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.walon-rh-cv-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 192px;
	height: 58px;
	padding: 0 25px;
	background: #fff;
	color: #111 !important;
	border: 2px solid #777;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.walon-rh-cv-btn:hover,
.walon-rh-cv-btn:focus {
	background: #111;
	color: #fff !important;
	border-color: #111;
}

/* Modal */
body.walon-rh-modal-open {
	overflow: hidden;
}

.walon-rh-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .22s ease, visibility .22s ease;
}

.walon-rh-modal.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.walon-rh-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.62);
	backdrop-filter: blur(4px);
}

.walon-rh-modal-panel {
	position: relative;
	width: min(920px, calc(100% - 32px));
	max-height: calc(100vh - 48px);
	margin: 24px auto;
	background: #fff;
	color: #111;
	overflow-y: auto;
	box-shadow: 0 30px 80px rgba(0,0,0,.32);
	transform: translateY(18px);
	transition: transform .22s ease;
}

.walon-rh-modal.is-active .walon-rh-modal-panel {
	transform: translateY(0);
}

.walon-rh-modal-close {
	position: sticky;
	top: 0;
	margin-left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	background: #111;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.walon-rh-modal-content {
	padding: 0 48px 48px;
}

.walon-rh-loading,
.walon-rh-error {
	padding: 60px 20px;
	text-align: center;
	font-size: 15px;
	color: #333;
}

.walon-rh-error {
	color: #b42318;
}

/* Detalle */
.walon-rh-detail-head {
	text-align: center;
	padding: 16px 0 34px;
	border-bottom: 1px solid #e8e8e8;
}

.walon-rh-detail-head .walon-rh-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 auto 18px;
	background: #111;
	color: #fff;
	padding: 7px 12px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.walon-rh-detail-head h2 {
	font-size: 36px;
	line-height: 1.1;
	font-weight: 800;
	color: #111;
	margin: 0 0 12px;
}

.walon-rh-detail-head p {
	max-width: 560px;
	margin: 0 auto;
	color: #555;
	font-size: 15px;
	line-height: 1.55;
}

.walon-rh-detail-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.walon-rh-detail-meta span {
	font-size: 12px;
	color: #555;
	background: #f4f4f4;
	padding: 6px 10px;
}

.walon-rh-detail-body {
	padding: 36px 0;
	color: #4b4b4b;
	font-size: 15px;
	line-height: 1.75;
}

.walon-rh-detail-body h1,
.walon-rh-detail-body h2,
.walon-rh-detail-body h3,
.walon-rh-detail-body h4 {
	color: #111;
	margin: 24px 0 12px;
	font-weight: 800;
}

.walon-rh-detail-body ul,
.walon-rh-detail-body ol {
	padding-left: 22px;
	margin: 12px 0 20px;
}

.walon-rh-detail-body li {
	margin-bottom: 8px;
}

/* Formulario */
.walon-rh-apply-box {
	background: #f7f7f7;
	padding: 32px;
	margin-top: 10px;
	border: 1px solid #ececec;
}

.walon-rh-apply-box h3 {
	margin: 0 0 8px;
	font-size: 24px;
	color: #111;
	font-weight: 900;
}

.walon-rh-apply-box > p {
	margin: 0 0 24px;
	color: #555;
	font-size: 14px;
}

.walon-rh-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.walon-rh-form p {
	margin: 0;
}

.walon-rh-form label {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: #111;
	margin-bottom: 7px;
}

.walon-rh-form input,
.walon-rh-form textarea {
	width: 100%;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #111;
	min-height: 44px;
	padding: 11px 12px;
	font-size: 14px;
	outline: none;
	border-radius: 0;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.walon-rh-form textarea {
	resize: vertical;
	min-height: 104px;
}

.walon-rh-form input:focus,
.walon-rh-form textarea:focus {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

.walon-rh-form input[type="file"] {
	padding: 10px;
	background: #fff;
}

.walon-rh-form small {
	display: block;
	font-size: 12px;
	color: #777;
	margin-top: 6px;
}

.walon-rh-full {
	grid-column: 1 / -1;
}

.walon-rh-submit {
	margin-top: 24px;
	width: 100%;
	height: 50px;
	background: #000;
	color: #fff;
	border: 1px solid #000;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.walon-rh-submit:hover {
	background: #222;
}

.walon-rh-submit:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.walon-rh-response {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
}

.walon-rh-response.is-success {
	background: #ecfdf3;
	color: #067647;
	border: 1px solid #abefc6;
	padding: 12px 14px;
}

.walon-rh-response.is-error {
	background: #fef3f2;
	color: #b42318;
	border: 1px solid #fecdca;
	padding: 12px 14px;
}

@media (max-width: 1024px) {
	.walon-rh-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.walon-rh-card {
		max-width: none;
	}

	.walon-rh-modal-content {
		padding: 0 32px 40px;
	}
}

@media (max-width: 768px) {
	.walon-rh-cv-box {
		margin-top: 48px;
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
	}

	.walon-rh-cv-copy {
		padding: 22px;
	}

	.walon-rh-cv-btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.walon-rh-wrap {
		padding: 24px 14px 40px;
	}

	.walon-rh-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.walon-rh-card-black {
		min-height: 188px;
		padding: 22px 20px 20px;
	}

	.walon-rh-title {
		font-size: 24px;
	}

	.walon-rh-card-white {
		padding: 17px 20px 19px;
	}

	.walon-rh-modal-panel {
		width: 100%;
		height: 100vh;
		max-height: none;
		margin: 0;
	}

	.walon-rh-modal-content {
		padding: 0 18px 32px;
	}

	.walon-rh-detail-head h2 {
		font-size: 28px;
	}

	.walon-rh-form-grid {
		grid-template-columns: 1fr;
	}

	.walon-rh-full {
		grid-column: auto;
	}

	.walon-rh-apply-box {
		padding: 22px;
	}
}
