/* Heritage is intentionally scoped; shared split-layout rules must not alter it. */
.rbcc-section--heritage {
	box-sizing: border-box;
	padding: 160px 0;
	background: var(--rbcc-ew-fallback-surface-soft);
}

.rbcc-section--heritage .rbcc-ew-container {
	box-sizing: border-box;
	width: calc(100% - 128px);
	max-width: 1152px;
}

.rbcc-heritage-layout {
	display: flex;
	align-items: flex-end;
	gap: 96px;
}

.rbcc-heritage-media {
	position: relative;
	flex: 0 0 480px;
	height: 600px;
}

.rbcc-heritage-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 2px;
}

.rbcc-heritage-card {
	position: absolute;
	top: -48px;
	left: 248px;
	z-index: 1;
	box-sizing: border-box;
	width: 280px;
	min-height: 234px;
	padding: 48px 53px 48px 48px;
	background: var(--rbcc-ew-fallback-surface);
	border: 1px solid rgba(193, 200, 196, .3);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.rbcc-heritage-year {
	margin: 0 0 16px;
	font-family: var(--rbcc-ew-fallback-serif-font);
	font-size: 60px;
	font-style: italic;
	font-weight: 400;
	line-height: 60px;
	color: var(--rbcc-ew-fallback-brand-soft);
}

.rbcc-heritage-card-text {
	max-width: 177px;
	margin: 0;
	font-family: var(--rbcc-ew-fallback-sans-font);
	font-size: 10px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--rbcc-ew-fallback-ink);
}

.rbcc-heritage-content {
	box-sizing: border-box;
	flex: 0 0 576px;
	padding-bottom: 48px;
}

.rbcc-section--heritage .rbcc-section-intro__eyebrow {
	margin: 0 0 32px;
	font-family: var(--rbcc-ew-fallback-sans-font);
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: .5em;
	text-transform: uppercase;
	color: var(--rbcc-ew-fallback-brand-soft);
}

.rbcc-heritage-title {
	max-width: 576px;
	margin: 0 0 16px;
	font-family: var(--rbcc-ew-fallback-serif-font);
	font-size: 72px;
	font-weight: 400;
	line-height: 72px;
	color: var(--rbcc-ew-fallback-brand);
}

.rbcc-heritage-title__italic {
	font-style: italic;
	color: var(--rbcc-ew-fallback-brand);
}

hr.rbcc-heritage-divider {
	height: 1px;
	margin: 0;
	border: 0;
	background: rgba(22, 52, 45, .1);
}

.rbcc-heritage-body-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	padding-top: 16px;
}

.rbcc-heritage-body-grid p {
	margin: 0;
	font-family: var(--rbcc-ew-fallback-sans-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 26px;
	color: var(--rbcc-ew-fallback-text);
}

@media (min-width: 600px) and (max-width: 1023px) {
	.rbcc-section--heritage {
		padding: 34px 0 31px;
	}

	.rbcc-section--heritage .rbcc-ew-container {
		width: calc(100% - 110px);
		max-width: none;
	}

	.rbcc-heritage-layout {
		align-items: stretch;
		gap: clamp(24px, 7.32vw, 53px);
	}

	.rbcc-heritage-media {
		flex: 0 1 255px;
		width: clamp(184px, 35.22vw, 255px);
		height: 205px;
	}

	.rbcc-heritage-card {
		top: -17px;
		left: min(202px, calc(100% - 53px));
		width: 118px;
		min-height: 90px;
		padding: 12px 16px 12px 18px;
	}

	.rbcc-heritage-year {
		margin-bottom: 10px;
		font-size: 28px;
		line-height: 28px;
	}

	.rbcc-heritage-card-text {
		font-size: 5.4px;
		line-height: 7.83px;
		letter-spacing: .1481em;
	}

	.rbcc-heritage-content {
		flex: 1 1 auto;
		min-width: 0;
		padding-top: 14px;
		padding-bottom: 0;
	}

	.rbcc-section--heritage .rbcc-section-intro__eyebrow {
		margin-bottom: 16px;
		font-size: 6px;
		line-height: 6px;
		letter-spacing: .3667em;
	}

	.rbcc-heritage-title {
		margin-bottom: 27px;
		font-size: 31px;
		line-height: 25.42px;
	}

	.rbcc-heritage-body-grid {
		gap: 14px;
		padding-top: 0;
	}

	.rbcc-heritage-body-grid p {
		font-size: 7.1px;
		line-height: 9.59px;
	}
}

/* Keep the desktop editorial split from exceeding the narrower desktop
 * content box. The fixed split (480 + 96 + 576px) needs 1152px, which the
 * container only reaches at 1280px; up to 1100px only, it overflowed the page. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.rbcc-heritage-layout {
		gap: clamp(24px, 7.32vw, 53px);
	}

	.rbcc-heritage-media {
		flex: 0 1 42%;
		width: auto;
		height: auto;
		aspect-ratio: 4 / 5;
	}

	/* Anchor the year card to the photo's right edge: at left: 248px it assumed the
	 * 480px desktop photo and covered the start of the heading on narrower photos. */
	.rbcc-heritage-card {
		left: auto;
		right: -32px;
	}

	.rbcc-heritage-content {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (max-width: 599px) {
	.rbcc-section--heritage {
		padding: 19px 0 26px;
	}

	.rbcc-section--heritage .rbcc-ew-container {
		width: calc(100% - 18px);
		max-width: none;
	}

	.rbcc-heritage-layout {
		display: grid;
		grid-template-columns: 46.2% minmax(0, 1fr);
		align-items: stretch;
		gap: 12px;
	}

	.rbcc-heritage-media {
		width: auto;
		height: auto;
		min-height: 0;
		aspect-ratio: 184 / 213;
	}

	.rbcc-heritage-photo {
		height: calc(100% - 11px);
		margin-top: 11px;
	}

	.rbcc-heritage-card {
		top: 0;
		left: 57%;
		width: 126px;
		min-height: 84px;
		padding: 11px 12px 10px 17px;
	}

	.rbcc-heritage-year {
		margin-bottom: 10px;
		font-size: 28px;
		line-height: 28px;
	}

	.rbcc-heritage-card-text {
		max-width: 95px;
		font-size: 5.3px;
		line-height: 7.68px;
		letter-spacing: .1226em;
	}

	.rbcc-heritage-content {
		min-width: 0;
		padding: 0;
	}

	.rbcc-section--heritage .rbcc-section-intro__eyebrow {
		margin: 0 0 17px 26px;
		font-size: 5.3px;
		line-height: 5.3px;
		letter-spacing: .3396em;
	}

	.rbcc-heritage-title {
		margin: 0 0 50px 26px;
		font-size: 22px;
		line-height: 20.24px;
	}

	.rbcc-heritage-divider {
		display: none;
	}

	.rbcc-heritage-body-grid {
		gap: 9px;
		padding: 0;
	}

	.rbcc-heritage-body-grid p {
		font-size: 5.6px;
		line-height: 7.56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rbcc-section--heritage *,
	.rbcc-section--heritage *::before,
	.rbcc-section--heritage *::after {
		transition-duration: .01ms;
		animation-duration: .01ms;
		animation-iteration-count: 1;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
  .rbcc-section--heritage { padding: 34px 0 31px; }
  .rbcc-section--heritage .rbcc-ew-container { width: calc(100% - 110px); }
  .rbcc-heritage-media { flex: 0 1 255px; width: 255px; height: 205px; }
  .rbcc-heritage-card { width: 118px; min-height: 144px; padding: 12px 16px 12px 18px; }
  .rbcc-heritage-year { font-size: 28px; line-height: 28px; }
  .rbcc-heritage-card-text, .rbcc-section--heritage .rbcc-section-intro__eyebrow { font-size: 10px; line-height: 1.25; letter-spacing: .16em; }
  .rbcc-heritage-title { font-size: 31px; line-height: 1.05; margin-bottom: 27px; }
  .rbcc-heritage-body-grid p { font-size: 10px; line-height: 1.25; }
}

@media (max-width: 599px) {
  .rbcc-section--heritage { padding: 20px 20px 24px; }
  .rbcc-section--heritage .rbcc-ew-container { width: 100%; }
  .rbcc-heritage-layout { display: flex; flex-direction: column; gap: 18px; }
  .rbcc-heritage-media { width: 100%; height: 190px; aspect-ratio: auto; }
  .rbcc-heritage-photo { height: 100%; margin: 0; }
  .rbcc-heritage-card { top: 77px; left: auto; right: 32px; width: 118px; min-height: 0; padding: 12px 14px; }
  .rbcc-heritage-year { margin-bottom: 5px; font-size: 24px; line-height: 1.1; }
  .rbcc-heritage-card-text, .rbcc-section--heritage .rbcc-section-intro__eyebrow { font-size: 10px; line-height: 1.25; letter-spacing: .07em; }
  .rbcc-heritage-content { padding: 0; }
  .rbcc-section--heritage .rbcc-section-intro__eyebrow { margin: 0 0 10px; }
  .rbcc-heritage-title { margin: 0 0 10px; font-size: 28px; line-height: 1.12; }
  .rbcc-heritage-divider { display: none; }
  .rbcc-heritage-body-grid { display: block; padding: 0; }
  .rbcc-heritage-body-grid p { font-size: 11.5px; line-height: 1.45; margin: 0 0 12px; }
}
