/*
 * Careers page — styling for the WPBakery careers elements.
 * Loaded only where one of the icts_career_* elements is rendered.
 */

:root {
	--icts-navy: #081638;
	--icts-deep: #1b2e58;
	--icts-blue: #2d7fc6;
	--icts-mist: #f0f4fd;
	--icts-soft: #e8f0fa;
	--icts-muted: #868d98;
	--icts-line: #e8edf5;
	--icts-display: "Montserrat", Arial, sans-serif;
}

/* ── Shared helpers (applied via Extra class name / inline spans) ────────── */

.icts-ceyebrow {
	display: inline-block;
	margin: 0 0 25px;
	padding: 8px 25px;
	border-radius: 100px;
	background: var(--icts-mist);
	color: var(--icts-blue);
	font-family: var(--icts-display);
	font-size: 12px;
	line-height: 1.2;
	font-weight: 700;
}

.icts-hero .icts-ceyebrow,
.icts-ccta .icts-ceyebrow {
	background: #fff;
}

.icts-cbutton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	padding: 15px 23px;
	border-radius: 6px;
	background: var(--icts-blue);
	color: #fff !important;
	font-family: var(--icts-display);
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 9px 22px rgba(45, 127, 198, .24);
	transition: transform .2s, background .2s, box-shadow .2s;
}

.icts-cbutton:hover,
.icts-cbutton:focus-visible {
	transform: translateY(-3px);
	background: #2774b5;
	box-shadow: 0 13px 28px rgba(45, 127, 198, .32);
}

.icts-ccentered {
	max-width: 740px;
	margin: 0 auto 50px;
	text-align: center;
}

.icts-cphoto img {
	border-radius: 10px;
	transition: transform .6s;
}

.icts-cphoto img:hover {
	transform: scale(1.025);
}

.icts-hero h1 {
	max-width: 560px;
	margin: 0 0 22px;
	font-family: var(--icts-display);
	font-size: clamp(34px, 3.7vw, 48px);
	line-height: 1.04;
	letter-spacing: -.025em;
	font-weight: 400;
	color: var(--icts-navy);
}

.icts-hero h1 strong {
	color: var(--icts-blue);
	font-weight: 700;
}

.icts-hero p {
	max-width: 560px;
	font-size: 17px;
	line-height: 28px;
}

.icts-careers-setup {
	padding: 14px 18px;
	border-radius: 8px;
	background: #fff4d6;
	font-size: 14px;
}

/* ── Stats ──────────────────────────────────────────────────────────────── */

.icts-cstats {
	display: grid;
}

.icts-cstats--cols-4 { grid-template-columns: repeat(4, 1fr); }
.icts-cstats--cols-3 { grid-template-columns: repeat(3, 1fr); }
.icts-cstats--cols-2 { grid-template-columns: repeat(2, 1fr); }

.icts-cstats--bar {
	border: 1px solid var(--icts-line);
	border-radius: 15px;
	overflow: hidden;
}

.icts-cstats--bar .icts-cstat {
	min-height: 118px;
	padding: 26px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid var(--icts-line);
}

.icts-cstats--bar .icts-cstat:last-child { border-right: 0; }

.icts-cstats--bar strong {
	color: var(--icts-blue);
	font: 700 32px/1 var(--icts-display);
}

.icts-cstats--bar span {
	margin-top: 8px;
	color: var(--icts-deep);
	font-size: 12px;
	font-weight: 600;
}

.icts-cstats--cards {
	max-width: 560px;
	gap: 10px;
}

.icts-cstats--cards .icts-cstat {
	min-height: 72px;
	padding: 14px 16px;
	display: flex;
	gap: 12px;
	align-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(45, 127, 198, .12);
}

.icts-cstats--cards strong {
	color: var(--icts-deep);
	font: 700 23px var(--icts-display);
}

.icts-cstats--cards span {
	color: #5d6f83;
	font-size: 11px;
	line-height: 1.35;
	font-weight: 600;
}

/* ── Vacancy grid ───────────────────────────────────────────────────────── */

.icts-vfilters {
    margin: 0 auto 36px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    font-family: var(--icts-display);

}

.icts-vfilter {
    padding: 9px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 50px;
    background: #fff;
    color: var(--icts-deep);
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color .2s, color .2s, background .2s;
    font-family: var(--icts-display);

}

.icts-vfilter:hover,
.icts-vfilter:focus-visible {
	border-color: var(--icts-blue);
	color: var(--icts-blue);
}

.icts-vfilter.is-active {
    border-color: var(--icts-soft);
    background: var(--icts-soft);
    color: var(--icts-blue);
    font-weight: 600;

}

.icts-vgrid {
	display: grid;
	gap: 24px;
}

.icts-vacancies--cols-4 .icts-vgrid { grid-template-columns: repeat(4, 1fr); }
.icts-vacancies--cols-3 .icts-vgrid { grid-template-columns: repeat(3, 1fr); }
.icts-vacancies--cols-2 .icts-vgrid { grid-template-columns: repeat(2, 1fr); }

.icts-vacancy {
	min-height: 230px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .08);
	transition: transform .3s, box-shadow .3s;
}

.icts-vacancy:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, .14);
}

.icts-vacancy[hidden] { display: none; }

.icts-vacancy-inner {
	height: 100%;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.icts-vacancy-tag {
	padding: 4px 12px;
	border-radius: 50px;
	background: var(--icts-soft);
	color: var(--icts-blue);
	font-size: 13px;
	font-weight: 600;
}

.icts-vacancy-title {
    margin: 23px 0 9px;
    font-family: var(--icts-display);
    font-size: 20px;
    line-height: 1.3;
    color: var(--icts-navy);
    font-weight: bold;

}

.icts-vacancy-title a { color: inherit; }
.icts-vacancy-title a:hover { color: var(--icts-blue); }

.icts-vacancy-line {
	margin: 0;
	color: var(--icts-muted);
	font-size: 13px;
}

.icts-vacancy-link {
	margin-top: auto;
	padding-top: 26px;
	display: inline-flex;
	gap: 9px;
	color: var(--icts-deep);
	font-family: var(--icts-display);
	font-size: 14px;
	font-weight: 600;
}

.icts-vacancy-link:hover { color: var(--icts-blue); }

.icts-vacancies-empty,
.icts-vacancies-note {
	margin: 30px 0 0;
	text-align: center;
}

.icts-vacancies-note a {
	color: var(--icts-blue);
	font-weight: 700;
}

/* ── Benefits ───────────────────────────────────────────────────────────── */

.icts-cbenefits {
	display: grid;
	gap: 10px;
}

.icts-cbenefits--cols-4 { grid-template-columns: repeat(4, 1fr); }
.icts-cbenefits--cols-3 { grid-template-columns: repeat(3, 1fr); }
.icts-cbenefits--cols-2 { grid-template-columns: repeat(2, 1fr); }

.icts-cbenefit {
	min-height: 230px;
	padding: 28px;
	border-radius: 10px;
	background: #fff;
}

.icts-cbenefit-num {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--icts-soft);
	color: var(--icts-blue);
	font-family: var(--icts-display);
	font-size: 11px;
	font-weight: 700;
}

.icts-cbenefit h3 {
    margin: 34px 0 10px;
    font-family: var(--icts-display);
    font-size: 18px;
    color: var(--icts-navy);
    font-weight: bold;
}

.icts-cbenefit p {
	margin: 0;
	color: var(--icts-muted);
	font-size: 13px;
	line-height: 1.65;
}

/* ── Badge with text ────────────────────────────────────────────────────── */

.icts-cbadge {
	margin-top: 30px;
	display: flex;
	gap: 17px;
	align-items: center;
}

.icts-cbadge > span {
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--icts-blue);
	color: #fff;
	font-weight: 700;
}

.icts-cbadge strong {
	color: var(--icts-navy);
	font: 600 15px var(--icts-display);
}

.icts-cbadge p {
	margin: 4px 0 0;
	color: var(--icts-muted);
	font-size: 13px;
}

/* ── Employee stories ───────────────────────────────────────────────────── */

.icts-cstories {
	min-height: 520px;
	padding: 45px;
	display: grid;
	grid-template-columns: .86fr 1.14fr;
	gap: 65px;
	border-radius: 20px;
	background: var(--icts-deep);
}

.icts-cstories--no-image { grid-template-columns: 1fr; }

.icts-cstories-media {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
}

.icts-cstories-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.icts-cstories-copy {
	padding: 35px 30px 20px 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.icts-cstories .icts-ceyebrow {
	background: rgba(255, 255, 255, .1);
	color: #9bd0f6;
}

.icts-cstories blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.icts-cstories blockquote::before{
    content: none
}
.icts-cstories blockquote > p {
	margin: 0;
	color: #fff;
	font: 500 clamp(21px, 2.3vw, 32px)/1.45 var(--icts-display);
}

.icts-cstories blockquote > p::before { content: "\201C"; }
.icts-cstories blockquote > p::after { content: "\201D"; }

.icts-cstories footer {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.icts-cstories footer strong { color: #fff; font-size: 14px; }
.icts-cstories footer span { color: #aebbd0; font-size: 12px; }

.icts-cstories-nav {
	margin-top: auto;
	padding-top: 28px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.icts-cstories-nav button {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background .2s, color .2s;
}

.icts-cstories-nav button:hover,
.icts-cstories-nav button:focus-visible {
	background: #fff;
	color: var(--icts-deep);
}

.icts-cstories-nav span {
	min-width: 44px;
	text-align: center;
	color: #aebbd0;
	font-size: 11px;
}

/* ── Hiring process ─────────────────────────────────────────────────────── */

.icts-cprocess {
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.icts-cstep {
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.icts-cstep > button {
	width: 100%;
	min-height: 82px;
	padding: 20px 0;
	display: grid;
	grid-template-columns: 45px 1fr 40px;
	gap: 20px;
	align-items: center;
	border: 0;
	background: transparent;
	color: var(--icts-navy);
	text-align: left;
	cursor: pointer;
}

.icts-cstep-num {
	color: var(--icts-blue);
	font-family: var(--icts-display);
	font-size: 12px;
	font-weight: 700;
}

.icts-cstep > button strong {
	font: 600 18px var(--icts-display);
}

.icts-cstep-toggle {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid #cfd8e5;
	border-radius: 50%;
	color: var(--icts-blue);
	font-size: 22px;
	line-height: 1;
}

.icts-cstep-toggle::before { content: "+"; }

.icts-cstep.is-open .icts-cstep-toggle {
	border-color: var(--icts-blue);
	background: var(--icts-blue);
	color: #fff;
}

.icts-cstep.is-open .icts-cstep-toggle::before { content: "\2212"; }

.icts-cstep-body {
	display: none;
	padding: 0 60px 24px 65px;
}

.icts-cstep.is-open .icts-cstep-body { display: block; }

.icts-cstep-body p {
	margin: 0;
	color: var(--icts-muted);
	font-size: 14px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
	.icts-vacancies--cols-3 .icts-vgrid,
	.icts-vacancies--cols-4 .icts-vgrid { grid-template-columns: repeat(2, 1fr); }
	.icts-cbenefits--cols-4,
	.icts-cbenefits--cols-3 { grid-template-columns: repeat(2, 1fr); }
	.icts-cstories { grid-template-columns: 1fr; gap: 35px; }
	.icts-cstories-media { max-height: 360px; }
	.icts-cstories-copy { padding: 0; }
}

@media (max-width: 690px) {
	.icts-cstats--bar { grid-template-columns: repeat(2, 1fr); }
	.icts-cstats--bar .icts-cstat { min-height: 98px; padding: 20px; }
	.icts-cstats--bar .icts-cstat:nth-child(2) { border-right: 0; }
	.icts-cstats--bar .icts-cstat:nth-child(-n+2) { border-bottom: 1px solid var(--icts-line); }
	.icts-cstats--cards { grid-template-columns: 1fr; }

	.icts-vfilters {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 8px;
		-webkit-overflow-scrolling: touch;
	}

	.icts-vfilter { flex: 0 0 auto; }

	.icts-vgrid { grid-template-columns: 1fr !important; }
	.icts-cbenefits { grid-template-columns: 1fr !important; }

	.icts-cstories { padding: 22px; }
	.icts-cstep > button { grid-template-columns: 32px 1fr 36px; gap: 10px; }
	.icts-cstep > button strong { font-size: 16px; }
	.icts-cstep-body { padding-left: 42px; padding-right: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.icts-vacancy,
	.icts-cbutton,
	.icts-cphoto img { transition: none; }
}
