.palmasa-empleos {
	--palmasa-empleos-primary: #17663b;
	--palmasa-empleos-secondary: #d6a329;
	--palmasa-empleos-card: #fff;
	--palmasa-empleos-text: #1e2933;
	--palmasa-empleos-border: #d7dce0;
	--palmasa-empleos-active: #17663b;
	--palmasa-empleos-expired: #6b7280;
	--palmasa-empleos-header: #17663b;
	--palmasa-empleos-button: #17663b;
	--palmasa-empleos-button-text: #fff;
	--palmasa-empleos-active-text: #fff;
	--palmasa-empleos-expired-text: #fff;
	--palmasa-empleos-columns: 3;
	--palmasa-empleos-radius: 12px;
	--palmasa-empleos-gap: 1.25rem;
	--palmasa-empleos-image-height: 13rem;
	--palmasa-empleos-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .12);
	color: var(--palmasa-empleos-text);
}

.palmasa-empleos__section {
	border-bottom: 1px solid var(--palmasa-empleos-border);
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
}

.palmasa-empleos__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	color: var(--palmasa-empleos-header);
	font-size: 1.35rem;
	font-weight: 700;
	gap: .5rem;
	justify-content: space-between;
	list-style: none;
	padding: .5rem 0;
}

.palmasa-empleos__summary::-webkit-details-marker { display: none; }
.palmasa-empleos__summary::after { content: '+'; font-size: 1.5rem; }
.palmasa-empleos__section[open] > .palmasa-empleos__summary::after { content: '−'; }
.palmasa-empleos__count { background: var(--palmasa-empleos-primary); border-radius: 999px; color: #fff; font-size: .8rem; padding: .2rem .55rem; }
.palmasa-empleos__section-content { padding-top: 1rem; }
.palmasa-empleos__grid { display: grid; gap: var(--palmasa-empleos-gap); grid-template-columns: repeat(var(--palmasa-empleos-columns), minmax(0, 1fr)); }

.palmasa-empleos__card {
	background: var(--palmasa-empleos-card);
	border: 1px solid var(--palmasa-empleos-border);
	border-radius: var(--palmasa-empleos-radius);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.palmasa-empleos__card:hover { box-shadow: var(--palmasa-empleos-shadow); transform: translateY(-2px); }
.palmasa-empleos__image { align-items: center; background: #f4f6f5; display: flex; height: var(--palmasa-empleos-image-height); justify-content: center; }
.palmasa-empleos__image img { display: block; height: 100%; max-width: 100%; object-fit: contain; width: 100%; }
.palmasa-empleos__card-body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem; }
.palmasa-empleos__status { border-radius: 999px; display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1.2; padding: .3rem .55rem; width: fit-content; }
.palmasa-empleos__status--active { background: var(--palmasa-empleos-active); color: var(--palmasa-empleos-active-text); }
.palmasa-empleos__status--expired, .palmasa-empleos__status--closed, .palmasa-empleos__status--scheduled { background: var(--palmasa-empleos-expired); color: var(--palmasa-empleos-expired-text); }
.palmasa-empleos__title { font-size: 1.2rem; line-height: 1.35; margin: .8rem 0 .3rem; }
.palmasa-empleos__area, .palmasa-empleos__date { font-size: .93rem; margin: .35rem 0; }
.palmasa-empleos__details-button, .palmasa-empleos__apply-button { background: var(--palmasa-empleos-button); border: 0; border-radius: calc(var(--palmasa-empleos-radius) / 2); color: var(--palmasa-empleos-button-text); cursor: pointer; display: inline-block; font: inherit; font-weight: 700; margin-top: auto; padding: .65rem .9rem; text-align: center; text-decoration: none; }
.palmasa-empleos__details-button:focus-visible, .palmasa-empleos__apply-button:focus-visible, .palmasa-empleos__close:focus-visible, .palmasa-empleos__summary:focus-visible { outline: 3px solid var(--palmasa-empleos-secondary); outline-offset: 3px; }
.palmasa-empleos__empty { background: #f5f7f8; border-left: 4px solid var(--palmasa-empleos-secondary); margin: 0; padding: 1rem; }

.palmasa-empleos__modal { align-items: center; background: rgba(0, 0, 0, .65); box-sizing: border-box; display: flex; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 99999; }
.palmasa-empleos__modal[hidden] { display: none; }
.palmasa-empleos__dialog { background: #fff; border-radius: var(--palmasa-empleos-radius); box-sizing: border-box; max-height: calc(100vh - 2rem); max-width: 48rem; overflow: auto; position: relative; width: 100%; }
.palmasa-empleos__close { align-items: center; background: #fff; border: 1px solid var(--palmasa-empleos-border); border-radius: 50%; color: #111; cursor: pointer; display: flex; font-size: 1.8rem; height: 2.4rem; justify-content: center; line-height: 1; padding: 0 0 .1rem; position: absolute; right: .75rem; top: .75rem; width: 2.4rem; z-index: 1; }
.palmasa-empleos__image-section { margin: 0; padding: 1.5rem 1.5rem 0; }
.palmasa-empleos__image-section h3 { font-size: 1.05rem; margin: 0 0 .55rem; }
.palmasa-empleos__image-button { background: #f4f6f5; border: 0; cursor: zoom-in; display: block; padding: 0; width: 100%; }
.palmasa-empleos__image-button img { display: block; height: auto; max-width: 100%; width: 100%; }
.palmasa-empleos__image-viewer { align-items: center; background: rgba(0, 0, 0, .82); display: flex; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 100000; }
.palmasa-empleos__image-viewer[hidden] { display: none; }
.palmasa-empleos__image-dialog { max-height: calc(100vh - 2rem); max-width: min(90vw, 75rem); position: relative; }
.palmasa-empleos__image-dialog img { display: block; max-height: calc(100vh - 2rem); max-width: 100%; object-fit: contain; }
.palmasa-empleos__image-close { right: .5rem; top: .5rem; }
.palmasa-empleos__modal-content { padding: 1.5rem; }
.palmasa-empleos__modal-content h2 { margin: .8rem 0 .3rem; }
.palmasa-empleos__dates { display: grid; gap: .35rem 1rem; grid-template-columns: max-content 1fr; margin: 1.2rem 0; }
.palmasa-empleos__dates dt { font-weight: 700; }
.palmasa-empleos__dates dd { margin: 0; }
.palmasa-empleos__rich-text, .palmasa-empleos__application { margin-top: 1.3rem; }
.palmasa-empleos__rich-text h3, .palmasa-empleos__application h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.palmasa-empleos__pagination .page-numbers { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.palmasa-empleos__pagination a, .palmasa-empleos__pagination span { border: 1px solid var(--palmasa-empleos-border); border-radius: .25rem; display: block; padding: .4rem .65rem; text-decoration: none; }
.palmasa-empleos__pagination .current { background: var(--palmasa-empleos-primary); color: #fff; }
body.palmasa-empleos--modal-open { overflow: hidden; }

@media (max-width: 1024px) { .palmasa-empleos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .palmasa-empleos__grid { grid-template-columns: 1fr; } .palmasa-empleos__image { height: 11rem; } .palmasa-empleos__modal { padding: .5rem; } .palmasa-empleos__dialog { max-height: calc(100vh - 1rem); } .palmasa-empleos__modal-content, .palmasa-empleos__image-section { padding: 1.1rem; } .palmasa-empleos__image-section { padding-bottom: 0; } }
