.nb-brand-history,
.nb-brand-history * {
	box-sizing: border-box;
}

.nb-brand-history {
	--nb-history-active-color: #2b2927;
	--nb-history-line-color: #77716c;
	position: relative;
	width: 100%;
	max-width: 100%;
	padding: 54px 56px 64px;
	background-color: #d6dcdf;
	color: #292725;
	font-family: inherit;
	overflow: hidden;
}

.nb-brand-history__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.nb-brand-history__title {
	margin: 0 0 36px;
	color: #2b2927;
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.22em;
	text-align: center;
	text-transform: uppercase;
}

/* Timeline */
.nb-brand-history__timeline {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 32px;
	align-items: end;
	gap: 10px;
	width: 100%;
	margin-bottom: 32px;
	pointer-events: auto !important;
}

.nb-brand-history__years-viewport {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.nb-brand-history__years-viewport::-webkit-scrollbar {
	display: none;
}

.nb-brand-history__years {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: max-content;
	min-width: 100%;
	padding: 0 0 1px;
}

.nb-brand-history__line,
.nb-brand-history__progress {
	position: absolute;
	left: 0;
	bottom: 6px;
	display: block;
	height: 1px;
	pointer-events: none;
}

.nb-brand-history__line {
	right: 0;
	background-color: var(--nb-history-line-color);
}

.nb-brand-history__progress {
	z-index: 1;
	width: 0;
	height: 2px;
	background-color: var(--nb-history-active-color);
	transition: width 0.35s ease;
}

.nb-brand-history__year {
	position: relative;
	z-index: 2;
	pointer-events: auto !important;
	display: inline-flex !important;
	flex: 1 0 74px;
	align-items: center;
	justify-content: center;
	min-width: 74px;
	min-height: 38px;
	margin: 0 !important;
	padding: 0 8px 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #5a5652;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.03em;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: color 0.25s ease, font-weight 0.25s ease;
}

.nb-brand-history__year::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: transparent;
	transform: translateX(-50%);
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.nb-brand-history__year:hover,
.nb-brand-history__year:focus,
.nb-brand-history__year.is-active,
.nb-brand-history__year[aria-selected="true"] {
	border: 0 !important;
	background: transparent !important;
	color: var(--nb-history-active-color);
}

.nb-brand-history__year.is-active,
.nb-brand-history__year[aria-selected="true"] {
	font-weight: 600;
}

.nb-brand-history__year.is-active::after,
.nb-brand-history__year[aria-selected="true"]::after {
	background-color: var(--nb-history-active-color);
}

.nb-brand-history__year:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: -2px;
}

.nb-brand-history__arrow {
	display: inline-flex !important;
	pointer-events: auto !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 38px;
	min-width: 32px;
	margin: 0 !important;
	padding: 0 0 7px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #77716c;
	font-family: Arial, sans-serif;
	font-size: 27px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.nb-brand-history__arrow:hover,
.nb-brand-history__arrow:focus {
	border: 0 !important;
	background: transparent !important;
	color: var(--nb-history-active-color);
}

.nb-brand-history__arrow:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: -2px;
}

.nb-brand-history__arrow:disabled {
	opacity: 0.25;
	cursor: default;
}

/* Panels and events */
.nb-brand-history__panel[hidden] {
	display: none !important;
}

.nb-brand-history__panel.is-active {
	display: block;
	animation: nb-brand-history-fade 0.35s ease both;
}

.nb-brand-history__event {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	align-items: center;
	column-gap: 34px;
	width: 100%;
	padding: 30px 0;
}

.nb-brand-history__event:first-child {
	padding-top: 0;
}

.nb-brand-history__event:not(:last-child) {
	border-bottom: 1px solid #77716c;
}

.nb-brand-history__media {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.nb-brand-history__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center center;
}

.nb-brand-history__event-content {
	min-width: 0;
	max-width: 630px;
}

.nb-brand-history__event-title {
	margin: 0 0 15px;
	color: #211f1d;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nb-brand-history__description {
	margin: 0;
	color: #292725;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.nb-brand-history__description > :first-child {
	margin-top: 0;
}

.nb-brand-history__description > :last-child {
	margin-bottom: 0;
}

.nb-brand-history__description p {
	margin: 0 0 1em;
}

@keyframes nb-brand-history-fade {
	from {
		opacity: 0;
		transform: translateY(7px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tablet */
@media (max-width: 1024px) {
	.nb-brand-history {
		padding-right: 34px;
		padding-left: 34px;
	}

	.nb-brand-history__event {
		grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	}
}

/* Mobile */
@media (max-width: 767px) {
	.nb-brand-history {
		padding: 42px 20px 50px;
	}

	.nb-brand-history__title {
		margin-bottom: 28px;
		font-size: 15px;
	}

	.nb-brand-history__timeline {
		grid-template-columns: 26px minmax(0, 1fr) 26px;
		gap: 4px;
		margin-bottom: 27px;
	}

	.nb-brand-history__arrow {
		width: 26px;
		min-width: 26px;
		font-size: 23px;
	}

	.nb-brand-history__year {
		flex-basis: 68px;
		min-width: 68px;
		font-size: 11px;
	}

	.nb-brand-history__event {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 22px;
		padding: 28px 0;
	}

	.nb-brand-history__event:first-child {
		padding-top: 0;
	}

	.nb-brand-history__media {
		aspect-ratio: 3 / 2;
	}

	.nb-brand-history__event-content {
		max-width: none;
	}

	.nb-brand-history__event-title {
		margin-bottom: 12px;
	}

	.nb-brand-history__description {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nb-brand-history__progress,
	.nb-brand-history__year,
	.nb-brand-history__year::after,
	.nb-brand-history__arrow {
		transition: none;
	}

	.nb-brand-history__panel.is-active {
		animation: none;
	}
}

/* Presentation is local to explicitly selected historical images. */
.nb-brand-history__media--beige {
  background: #e9e3dc;
  padding: 16px;
}
.nb-brand-history__media--beige .nb-brand-history__image {
  object-fit: contain !important;
  mix-blend-mode: multiply;
}
@media (max-width: 767px) {
  .nb-brand-history__panels { touch-action: pan-y pinch-zoom; }
}
