/* ControlByte Jobs - frontend styles */

.cb-jobs-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* HERO */
.cb-jobs-hero {
	text-align: center;
	margin-bottom: 40px;
	padding: 48px 24px;
	background: linear-gradient(135deg, #385CCA 0%, #1F3879 100%);
	color: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 40px -16px rgba(56, 92, 202, 0.35);
}
.cb-jobs-hero .cb-jobs-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,0.18);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.cb-jobs-hero h1 {
	color: #fff !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}
.cb-jobs-hero p {
	color: rgba(255,255,255,0.92);
	font-size: 1.05rem;
	margin: 0;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.55;
}

/* LIST */
.cb-jobs-list {
	display: grid;
	gap: 18px;
}
.cb-job-card {
	background: #fff;
	border: 1px solid #EBEEF5;
	border-radius: 14px;
	padding: 22px 24px;
	position: relative;
	transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.cb-job-card:hover {
	border-color: #385CCA;
	box-shadow: 0 10px 26px -14px rgba(56, 92, 202, .35);
	transform: translateY(-2px);
}
.cb-job-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.cb-job-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 8px;
}
.cb-job-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0;
	color: #1A2240;
}
.cb-job-card__tags {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}
.cb-job-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.cb-job-tag--wyjazd {
	background: #FFF3D6;
	color: #855300;
}
.cb-job-tag--remote {
	background: #DCEEFF;
	color: #1F3879;
}
.cb-job-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-bottom: 10px;
	color: #5A638A;
	font-size: 14px;
}
.cb-job-card__meta strong {
	color: #1A2240;
}
.cb-job-card__techs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.cb-job-tech {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	background: #F4F6FB;
	color: #1A2240;
	font-size: 12px;
	font-weight: 600;
}
.cb-job-card__excerpt {
	color: #5A638A;
	line-height: 1.55;
	margin-bottom: 14px;
	font-size: 14px;
}
.cb-job-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #EBEEF5;
	font-size: 13px;
}
.cb-job-card__cta {
	color: #385CCA;
	font-weight: 700;
	position: relative;
	z-index: 2;
}
.cb-job-card__expiry {
	color: #888;
}
.cb-jobs-empty {
	text-align: center;
	padding: 60px 20px;
	color: #5A638A;
}

/* SINGLE */
.cb-job-single .cb-job-breadcrumb {
	margin-bottom: 20px;
}
.cb-job-single .cb-job-breadcrumb a {
	color: #385CCA;
	font-weight: 600;
	text-decoration: none;
}
.cb-job-expired-notice {
	background: #FFF3CD;
	border-left: 4px solid #E0A800;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 24px;
	color: #5C4400;
}
.cb-job-article__header {
	margin-bottom: 24px;
}
.cb-job-article__tags {
	margin-bottom: 12px;
	display: flex;
	gap: 8px;
}
.cb-job-article__header h1 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: #1A2240;
	margin: 0;
	line-height: 1.2;
}
.cb-job-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	padding: 20px 22px;
	background: #F4F6FB;
	border-radius: 12px;
	margin-bottom: 28px;
}
.cb-job-summary__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.cb-job-summary__label {
	font-size: 12px;
	color: #5A638A;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}
.cb-job-summary__item strong {
	font-size: 1.05rem;
	color: #1A2240;
}
.cb-job-techs {
	margin-bottom: 24px;
}
.cb-job-techs h3 {
	font-size: 1rem;
	margin: 0 0 10px;
	color: #5A638A;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.cb-job-tech-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.cb-job-content {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #2A3158;
	margin-bottom: 32px;
}
.cb-job-content h2, .cb-job-content h3 {
	color: #1A2240;
	font-weight: 700;
	margin: 28px 0 12px;
}
.cb-job-content ul {
	padding-left: 22px;
}
.cb-job-content li {
	margin-bottom: 6px;
}
.cb-job-cta {
	background: linear-gradient(135deg, #385CCA 0%, #1F3879 100%);
	color: #fff;
	border-radius: 14px;
	padding: 32px 28px;
	text-align: center;
}
.cb-job-cta__label {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.75);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
}
.cb-job-cta__email {
	display: inline-block;
	font-size: clamp(1.4rem, 3.5vw, 2rem) !important;
	font-weight: 800;
	color: #FFC857 !important;
	text-decoration: none !important;
	letter-spacing: -0.01em;
	border-bottom: 2px dashed rgba(255, 200, 87, 0.4);
	padding-bottom: 4px;
	transition: color 0.2s ease, border-color 0.2s ease;
	word-break: break-all;
	line-height: 1.2;
}
.cb-job-cta__email:hover {
	color: #fff !important;
	border-bottom-color: #fff;
}
.cb-job-cta__hint {
	margin: 22px auto 0;
	font-size: 13px;
	color: rgba(255,255,255,0.85);
	max-width: 560px;
	line-height: 1.55;
	background: rgba(0,0,0,0.20);
	padding: 12px 18px;
	border-radius: 8px;
	border-left: 3px solid #FFC857;
	text-align: left;
}
.cb-job-cta__hint strong {
	color: #FFC857;
}

@media (max-width: 640px) {
	.cb-job-card__header { flex-direction: column; }
	.cb-job-summary { grid-template-columns: 1fr; }
}
