/**
 * Archiwum ofert pracy – karty z ikoną, indeksem i tytułem.
 *
 * Zakres jest ograniczony wyłącznie do archiwum CPT oferta_pracy.
 */

/**
 * Hero archiwum (element Kadence "Oferty pracy – hero archiwum").
 *
 * Kontener archiwum ma już własny padding boczny, więc dodatkowy padding
 * wiersza Kadence zawężałby hero względem zwykłych stron. Zerujemy go,
 * aby szerokość treści była identyczna jak na stronach z hero.
 */
body.post-type-archive-oferta_pracy #main > .impeks-archive-hero > .kt-row-column-wrap {
	padding-left: 0;
	padding-right: 0;
}

body.post-type-archive-oferta_pracy #main > .impeks-archive-hero h1,
body.post-type-archive-oferta_pracy #main > .impeks-archive-hero h6 {
	margin: 0 0 0.5em;
}

body.post-type-archive-oferta_pracy #main > .impeks-archive-hero p {
	margin: 0;
}

body.post-type-archive-oferta_pracy #archive-container {
	gap: 2rem;
	align-items: stretch;
}

body.post-type-archive-oferta_pracy #archive-container .entry-list-item {
	display: flex;
}

body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 2.25rem 1.5rem 1.75rem;
	border: 1px solid rgba(43, 56, 210, 0.10);
	border-radius: 18px;
	background: var(--global-palette9, #fff);
	text-align: center;
	box-shadow: 0 8px 26px rgba(34, 34, 34, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry:hover {
	transform: translateY(-4px);
	border-color: rgba(43, 56, 210, 0.25);
	box-shadow: 0 14px 34px rgba(34, 34, 34, 0.10);
}

body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #eef0ff;
}

body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry::after {
	content: "";
	position: absolute;
	top: 3.4rem;
	left: 50%;
	width: 26px;
	height: 26px;
	transform: translateX(-50%);
	background-color: var(--global-palette1, #2b38d2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h4V6a2 2 0 0 1 2-2zm0 4h4V6h-4v2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h4V6a2 2 0 0 1 2-2zm0 4h4V6h-4v2z'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

body.post-type-archive-oferta_pracy #archive-container .entry-content-wrap {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0;
}

body.post-type-archive-oferta_pracy #archive-container .entry-header {
	margin: 0;
}

body.post-type-archive-oferta_pracy #archive-container .entry-taxonomies,
body.post-type-archive-oferta_pracy #archive-container .entry-meta,
body.post-type-archive-oferta_pracy #archive-container .entry-footer {
	display: none;
}

body.post-type-archive-oferta_pracy #archive-container .impeks-offer-index {
	display: block;
	margin: 0 0 0.55rem;
	color: var(--global-palette5, #515151);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.post-type-archive-oferta_pracy #archive-container .entry-title {
	margin: 0;
	color: var(--global-palette3, #222);
/* 	font-size: 1.15rem; */
/* 	line-height: 1.35; */
}

body.post-type-archive-oferta_pracy #archive-container .entry-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.post-type-archive-oferta_pracy #archive-container .entry-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

body.post-type-archive-oferta_pracy #archive-container .entry-title a:hover,
body.post-type-archive-oferta_pracy #archive-container .entry-title a:focus-visible {
	color: var(--global-palette1, #2b38d2);
}

body.post-type-archive-oferta_pracy #archive-container .entry-title a:focus-visible {
	outline: 2px solid var(--global-palette1, #2b38d2);
	outline-offset: 4px;
}

@media (max-width: 767px) {
	body.post-type-archive-oferta_pracy #archive-container {
		gap: 1.25rem;
	}

	body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry {
		padding: 1.75rem 1rem 1.5rem;
		border-radius: 14px;
	}

	body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry::before {
		width: 56px;
		height: 56px;
		margin-bottom: 0.85rem;
	}

	body.post-type-archive-oferta_pracy #archive-container .entry-list-item article.loop-entry::after {
		top: 2.75rem;
		width: 24px;
		height: 24px;
	}

	body.post-type-archive-oferta_pracy #archive-container .entry-title {
		font-size: 1.05rem;
	}
}
