/* ==========================================================================
   NFCR steps  [nfcr_steps]
   ========================================================================== */

.nfcr-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 18px 0;
	margin: 4px -18px 0 0; /* cancels the last step's right spacing, so cards line up with the content edge */
	padding: 0;
	list-style: none;
	font-family: var(--nfcr-font);
}
.nfcr-steps .nfcr-step { display: flex; flex-direction: column; margin: 0; padding: 0 18px 0 0; list-style: none; }

.nfcr-steps .nfcr-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nfcr-steps .nfcr-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	border: 4px solid var(--nfcr-bg);
	border-radius: 50%;
	background: var(--nfcr-navy);
	box-shadow: 0 4px 14px rgba(2, 20, 60, .14);
	font-size: 19px;
	font-weight: 700;
	color: #fff;
}
.nfcr-steps .nfcr-step__line { flex: 1; height: 3px; border-radius: 2px; background: #C9D4EA; }
.nfcr-steps .nfcr-step:last-child .nfcr-step__line { visibility: hidden; }

.nfcr-steps .nfcr-step__card {
	flex: 1;
	padding: 22px 24px;
	background: var(--nfcr-white);
	border-radius: var(--nfcr-r-chip);
	box-shadow: var(--nfcr-shadow);
}
.nfcr-steps .nfcr-step__title {
	margin: 0;
	padding: 0;
	font-family: var(--nfcr-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.3px;
	color: var(--nfcr-navy);
	text-transform: none;
}
.nfcr-steps .nfcr-step__text {
	margin: 8px 0 0;
	font-size: var(--nfcr-fs-small);
	line-height: 1.62;
	color: var(--nfcr-text);
}

/* Phones: vertical timeline */
@media (max-width: 767px) {
	.nfcr-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-right: 0; }
	.nfcr-steps .nfcr-step { flex-direction: row; gap: 14px; padding: 0; }
	.nfcr-steps .nfcr-step__head { flex-direction: column; gap: 0; margin: 0; }
	.nfcr-steps .nfcr-step__num { width: 48px; height: 48px; font-size: 16px; }
	.nfcr-steps .nfcr-step__line { flex: 1; width: 3px; height: auto; min-height: 16px; }
	.nfcr-steps .nfcr-step__card { margin-bottom: 14px; padding: 18px 20px; }
}

/* A note (text block) placed right after the steps */
.nfcr-steps ~ .wpb_text_column,
.nfcr-steps ~ .wpb_content_element { margin-top: 22px !important; }

/* ---- 0.9.18 Open style: no cards, one row on a navy-to-orange line (for a white panel) ---- */
.nfcr-steps.nfcr-steps--open {
	position: relative;
	grid-template-columns: repeat(var(--nfcr-steps-n, 6), minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}
.nfcr-steps--open::before {
	content: "";
	position: absolute;
	top: 29px;
	left: 30px;
	right: 30px;
	height: 2px;
	background: linear-gradient(90deg, var(--nfcr-navy), var(--nfcr-orange));
}
.nfcr-steps--open .nfcr-step { padding: 0; }
.nfcr-steps--open .nfcr-step__head { position: relative; margin-bottom: 14px; }
.nfcr-steps--open .nfcr-step__line { display: none; }
.nfcr-steps--open .nfcr-step__num {
	width: 60px;
	height: 60px;
	border: 5px solid var(--nfcr-white);
	box-shadow: none;
	font-size: var(--nfcr-fs-small);
}
.nfcr-steps--open .nfcr-step--orange .nfcr-step__num { background: var(--nfcr-orange); }
.nfcr-steps--open .nfcr-step__card { flex: 0 1 auto; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.nfcr-steps--open .nfcr-step__title { font-size: var(--nfcr-fs-h3); }
.nfcr-steps--open .nfcr-step__text { margin-top: 2px; font-size: var(--nfcr-fs-body); line-height: 1.55; }

@media (max-width: 1280px) {
	.nfcr-steps.nfcr-steps--open { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
	.nfcr-steps--open::before { display: none; }
}
@media (max-width: 767px) {
	.nfcr-steps.nfcr-steps--open { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.nfcr-steps--open .nfcr-step { flex-direction: row; gap: 14px; }
	.nfcr-steps--open .nfcr-step__head { flex-direction: column; margin: 0; }
	.nfcr-steps--open .nfcr-step__line { display: block; flex: 1; width: 3px; height: auto; min-height: 16px; }
	.nfcr-steps--open .nfcr-step__num { width: 48px; height: 48px; }
	.nfcr-steps--open .nfcr-step__card { margin-bottom: 14px; }
}

/* ---- Timeline style (0.9.25, Who We Are: A half century of impact) ---- */
.nfcr-steps.nfcr-steps--timeline {
	display: grid;
	grid-template-columns: repeat(var(--nfcr-steps-n, 6), minmax(0, 1fr));
	gap: 0 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nfcr-steps--timeline .nfcr-step {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0 0 24px;
	list-style: none;
}
/* the line runs from this dot to the next one (across the 20px gap), the last step has none */
.nfcr-steps--timeline .nfcr-step::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 0;
	right: -20px;
	height: 2px;
	background: #C9D4EA;
}
.nfcr-steps--timeline .nfcr-step:last-child::before { right: 0; }
.nfcr-steps--timeline .nfcr-step__dot {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	border: 4px solid var(--nfcr-orange);
	border-radius: 50%;
	background: var(--nfcr-bg);
}
.nfcr-steps--timeline .nfcr-step__year {
	margin-top: 20px;
	font-size: var(--nfcr-fs-timeline-year);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1px;
	color: var(--nfcr-navy);
}
.nfcr-steps--timeline .nfcr-step__title {
	margin: 12px 0 0;
	font-size: var(--nfcr-fs-title-sm);
	font-weight: 600;
	line-height: 1.3;
	color: var(--nfcr-navy);
}
.nfcr-steps--timeline .nfcr-step__text {
	margin: 8px 0 0;
	font-size: var(--nfcr-fs-small);
	line-height: 1.62;
	color: var(--nfcr-text-2);
}
.nfcr-steps__end {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	margin-top: 36px;
	padding: 26px 34px;
	background: #fff;
	border-radius: var(--nfcr-r-card);
	box-shadow: var(--nfcr-shadow);
}
.nfcr-steps__end-label {
	padding: 8px 18px;
	border-radius: var(--nfcr-r-pill);
	background: var(--nfcr-orange);
	font-size: var(--nfcr-fs-ui);
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.nfcr-steps__end-title { margin: 0; font-size: var(--nfcr-fs-h3-lg); font-weight: 600; letter-spacing: -.3px; line-height: 1.3; color: var(--nfcr-navy); }
.nfcr-steps__end-text { margin: 4px 0 0; font-size: var(--nfcr-fs-body); line-height: 1.65; color: var(--nfcr-text-2); }
@media (max-width: 1024px) {
	.nfcr-steps.nfcr-steps--timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
	.nfcr-steps--timeline .nfcr-step { padding-bottom: 32px; }
	.nfcr-steps--timeline .nfcr-step:nth-child(3n)::before { right: 0; }
}
@media (max-width: 767px) {
	.nfcr-steps.nfcr-steps--timeline { grid-template-columns: minmax(0, 1fr); }
	.nfcr-steps--timeline .nfcr-step::before { display: none; }
	.nfcr-steps__end { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; justify-items: start; }
}
