/**
 * Strona Kariera — Woźniak & Szczepanowski Nieruchomości.
 */

.wsn-career-page {
	background: var(--ws-white);
	color: var(--ws-text);
}

/* ——— Stanowisko ——— */
.wsn-career-opening {
	padding: clamp(40px, 6vw, 56px) 0 clamp(32px, 5vw, 48px);
	background: var(--ws-white);
}

.wsn-career-opening__label {
	margin: 0 0 10px;
	color: var(--ws-muted);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wsn-career-opening h2 {
	margin: 0;
	padding: clamp(20px, 4vw, 28px) clamp(22px, 4vw, 32px);
	border: 1px solid rgba(197, 160, 125, 0.35);
	border-left: 4px solid var(--ws-gold);
	background: linear-gradient(135deg, #faf7f3 0%, #ffffff 100%);
	color: var(--ws-dark);
	font-family: var(--ws-serif);
	font-size: clamp(1.5rem, 3.2vw, 2.15rem);
	font-weight: 400;
	line-height: 1.2;
}

/* ——— Profil ——— */
.wsn-career-profile {
	padding: clamp(48px, 7vw, 72px) 0;
	background: #f7f7f8;
}

.wsn-career-profile__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(24px, 5vw, 48px);
	align-items: start;
}

.wsn-career-profile h2 {
	margin: 0;
	font-family: var(--ws-serif);
	font-size: clamp(1.75rem, 3.2vw, 2.25rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ws-dark);
}

.wsn-career-profile__text p {
	margin: 0;
	color: #4a5159;
	font-size: 1rem;
	line-height: 1.75;
}

/* ——— Karty ——— */
.wsn-career-details {
	padding: clamp(48px, 7vw, 80px) 0;
	background: var(--ws-white);
}

.wsn-career-details__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.wsn-career-card {
	height: 100%;
	padding: clamp(22px, 3vw, 28px);
	border: 1px solid var(--ws-line);
	background: #ffffff;
}

.wsn-career-card--highlight {
	border-color: rgba(197, 160, 125, 0.45);
	background: linear-gradient(165deg, #ffffff 0%, #faf7f3 100%);
	box-shadow: 0 12px 36px rgba(17, 24, 39, 0.05);
}

.wsn-career-card h3 {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ws-line);
	color: var(--ws-dark);
	font-family: var(--ws-serif);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.25;
}

.wsn-career-card--highlight h3 {
	border-bottom-color: rgba(197, 160, 125, 0.35);
}

.wsn-career-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.wsn-career-card li {
	position: relative;
	padding-left: 20px;
	color: #4a5159;
	font-size: 0.94rem;
	line-height: 1.6;
}

.wsn-career-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.58em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ws-gold);
}

/* ——— Aplikacja ——— */
.wsn-career-apply {
	padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 96px);
	background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}

.wsn-career-apply__inner {
	gap: clamp(24px, 4vw, 32px);
	padding: clamp(28px, 5vw, 40px);
	border: 1px solid rgba(197, 160, 125, 0.28);
	background: rgba(255, 255, 255, 0.03);
	overflow: hidden;
}

.wsn-career-apply__copy {
	min-width: 0;
}

.wsn-career-apply h2 {
	margin: 0 0 12px;
	color: var(--ws-white);
	font-family: var(--ws-serif);
	font-size: clamp(1.65rem, 3vw, 2.1rem);
	font-weight: 400;
	line-height: 1.2;
}

.wsn-career-apply__copy p {
	margin: 0;
	max-width: 58ch;
	color: #b8c0c8;
	font-size: 1rem;
	line-height: 1.7;
}

.wsn-career-apply__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 100%;
}

.wsn-career-apply__actions .wsr-btn {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 44px;
	max-height: none;
	padding: 10px 18px;
	white-space: nowrap;
	text-align: center;
	line-height: 1.2;
}

.wsn-career-apply .wsr-btn--gold-outline {
	border-color: rgba(197, 160, 125, 0.75);
	color: var(--ws-gold);
}

.wsn-career-apply .wsr-btn--gold-outline:hover,
.wsn-career-apply .wsr-btn--gold-outline:focus-visible {
	background: var(--ws-gold);
	border-color: var(--ws-gold);
	color: var(--ws-dark);
}

/* ——— Responsywność ——— */
@media (min-width: 900px) {
	.wsn-career-apply__actions .wsr-btn {
		min-height: 48px;
		padding: 12px 16px;
		white-space: normal;
		line-height: 1.35;
	}
}

@media (max-width: 899px) {
	.wsn-career-apply__actions {
		flex: 0 0 auto;
		gap: 10px;
	}
}

@media (max-width: 980px) {
	.wsn-career-profile__grid,
	.wsn-career-details__grid {
		grid-template-columns: 1fr;
	}
}

