.cds-job-offers-preview {
	width: 100%;
	color: #000;
	font-family: "Exo", Helvetica, Arial, Lucida, sans-serif;
}

.cds-job-offers-preview__list {
	width: 100%;
}

.cds-job-offers-preview__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	padding: 42px 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

.cds-job-offers-preview__item + .cds-job-offers-preview__item {
	border-top: 0;
}

.cds-job-offers-preview__position {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
}

.cds-job-offers-preview__icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: url("/wp-content/uploads/2026/05/elemento-rosso.svg") center / contain no-repeat;
}

.cds-job-offers-preview__title {
	margin: 0;
	padding-bottom: 0;
	color: #000;
	font-family: "Exo", Helvetica, Arial, Lucida, sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	word-break: break-word;
}

.cds-job-offers-preview__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 60px;
	padding: 16px 28px;
	border: 1px solid #000;
	border-radius: 4px;
	background: transparent;
	color: #000;
	font-family: "Exo", Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cds-job-offers-preview__button::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("/wp-content/uploads/2026/05/arrow-down-right.svg") center / contain no-repeat;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.cds-job-offers-preview__button:hover,
.cds-job-offers-preview__button:focus-visible {
	border-color: #000;
	background: #000;
	color: #fff;
}

.cds-job-offers-preview__button:hover::after,
.cds-job-offers-preview__button:focus-visible::after {
	filter: invert(1);
	transform: translate(1px, -1px);
}

.cds-job-offers-preview__empty {
	margin: 0;
	padding: 42px 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	color: #000;
	font-family: "Exo", Helvetica, Arial, Lucida, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.35;
}

@media (max-width: 980px) {
	.cds-job-offers-preview__item {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 24px;
		padding: 34px 0;
	}

	.cds-job-offers-preview__title {
		font-size: 24px;
	}

	.cds-job-offers-preview__button {
		justify-self: start;
	}
}

@media (max-width: 600px) {
	.cds-job-offers-preview__item {
		padding: 28px 0;
	}

	.cds-job-offers-preview__position {
		align-items: flex-start;
		gap: 18px;
	}

	.cds-job-offers-preview__icon {
		width: 20px;
		height: 20px;
		flex-basis: 20px;
		margin-top: 3px;
	}

	.cds-job-offers-preview__title {
		font-size: 21px;
	}

	.cds-job-offers-preview__button {
		width: 100%;
		justify-content: space-between;
		min-height: 56px;
		padding: 14px 18px;
		white-space: normal;
		text-align: left;
	}

	.cds-job-offers-preview__empty {
		padding: 32px 0;
		font-size: 20px;
	}
}
