/*
 * curlec.com/blog/careers/: the live Elementor design, rebuilt on the sections tools/theme-switch.php
 * saved (each Elementor section/column is a <section data-rzpb-section|column="<Elementor id>">).
 * Loaded only on this page. Colours come from the palette in assets/css/colors.css.
 */
.rzpb-page-careers {
	--careers-ink: var(--rzpb-c-navy-950);
	--careers-band: var(--rzpb-c-navy-950);
	--careers-on-band: var(--rzpb-c-white);
	--careers-accent: var(--rzpb-c-sky-500);
}

/* Intro: "Are you ready for liftoff?" */
.rzpb-page-careers [data-rzpb-section="90f8023"] {
	margin: 0;
	padding: 34px 20px 50px;
	color: var(--careers-ink);
}
.rzpb-page-careers [data-rzpb-column="f0833c6"] {
	flex: 0 1 60%;
}
.rzpb-page-careers [data-rzpb-column="f0833c6"] h1 {
	margin: 0 0 20px;
	color: var(--careers-ink);
	font-size: 55px;
	line-height: 1;
}
.rzpb-page-careers [data-rzpb-column="f0833c6"] h1 + h1 {
	color: var(--careers-accent);
	font-size: 24px;
}
.rzpb-page-careers [data-rzpb-column="f0833c6"] p {
	color: var(--careers-ink);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	text-align: justify;
}

/* Our Team, Job Openings and Our Values: one dark band across the page. */
.rzpb-page-careers :is([data-rzpb-section="9cb8051"], [data-rzpb-section="5861e41"], [data-rzpb-section="c25fb87"], [data-rzpb-section="5b2f36c"]) {
	margin: 0;
	padding: 10px 20px;
	background: var(--careers-band);
	box-shadow: 0 0 0 100vmax var(--careers-band);
	clip-path: inset(-1px -100vmax);
	color: var(--careers-on-band);
}
.rzpb-page-careers [data-rzpb-section="9cb8051"] {
	padding-top: 20px;
}
.rzpb-page-careers [data-rzpb-section="5b2f36c"] {
	padding-bottom: 70px;
}
.rzpb-page-careers :is([data-rzpb-section="9cb8051"], [data-rzpb-section="5861e41"]) {
	text-align: center;
}
.rzpb-page-careers :is([data-rzpb-section="9cb8051"], [data-rzpb-section="5861e41"]) h1 {
	margin: 0 0 20px;
	color: var(--careers-on-band);
	font-size: 40px;
	line-height: 1;
	text-align: center;
}
.rzpb-page-careers :is([data-rzpb-section="9cb8051"], [data-rzpb-section="5861e41"]) p {
	margin: 0 0 20px;
	color: var(--careers-on-band);
	font-size: 18px;
	line-height: 27px;
}
/* "Razorpay Curlec values diversity..." */
.rzpb-page-careers [data-rzpb-section="9cb8051"] h1 ~ p:last-of-type {
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
}

/* Team photos: the main photo across the band, the others in a row under it. */
.rzpb-page-careers [data-rzpb-section="9cb8051"] figure[data-rzpb-gallery] {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 30px;
}
.rzpb-page-careers [data-rzpb-section="9cb8051"] figure[data-rzpb-gallery] > img:first-child,
.rzpb-page-careers [data-rzpb-section="9cb8051"] figure[data-rzpb-gallery] > picture:first-child img {
	aspect-ratio: 1120 / 400;
}

/* "See all vacancies" */
.rzpb-page-careers [data-rzpb-section="8cf64fb"] {
	justify-content: center;
	margin: 0 0 20px;
}
.rzpb-page-careers [data-rzpb-section="8cf64fb"] .rzpb-cta {
	margin: 0;
}
.rzpb-page-careers [data-rzpb-section="8cf64fb"] :is(a[role="button"], .rzpb-cta__button) {
	margin: 0;
	border-radius: 5px;
	background: var(--careers-accent);
	color: var(--careers-on-band);
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
}

/* Our values: three to a row, title in the accent colour. */
.rzpb-page-careers :is([data-rzpb-section="c25fb87"], [data-rzpb-section="5b2f36c"]) {
	gap: 20px;
}
.rzpb-page-careers :is([data-rzpb-section="c25fb87"], [data-rzpb-section="5b2f36c"]) h5 {
	margin: 8px 0 5px;
	color: var(--careers-accent);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: capitalize;
}
.rzpb-page-careers :is([data-rzpb-section="c25fb87"], [data-rzpb-section="5b2f36c"]) p {
	margin: 0;
	color: var(--careers-on-band);
	font-size: 16px;
	line-height: 24px;
}

@media (max-width: 767px) {
	.rzpb-page-careers [data-rzpb-column="f0833c6"] {
		flex-basis: 100%;
	}
	.rzpb-page-careers [data-rzpb-column="f0833c6"] h1 {
		font-size: 38px;
	}
	.rzpb-page-careers [data-rzpb-section="9cb8051"] figure[data-rzpb-gallery] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
