.bi-single-history,
.bi-single-history * {
	box-sizing: border-box;
}

.bi-single-history {
	--bi-history-accent: #9b4d32;
	--bi-history-accent-dark: #713520;
	--bi-history-ink: #1d1a17;
	--bi-history-paper: #f5f0e7;
	width: 100%;
	color: var(--bi-history-ink);
	font-family: inherit;
	container-name: bi-single-history;
	container-type: inline-size;
}

.bi-single-history a {
	text-decoration: none;
}

.bi-single-history__article {
	min-width: 0;
}

.bi-single-history__header {
	margin-bottom: 22px;
}

.bi-single-history__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	color: var(--bi-history-accent-dark);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bi-single-history__eyebrow span {
	font-size: 11px;
}

.bi-single-history__categories {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 13px;
}

.bi-single-history__category {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px 5px;
	color: #fff !important;
	background: var(--bi-history-accent);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.bi-single-history__title {
	margin: 0 !important;
	color: #171411 !important;
	font-family: inherit !important;
	font-size: clamp(28px, 2.4vw, 37px) !important;
	font-weight: 750 !important;
	line-height: 1.1 !important;
	letter-spacing: -.025em !important;
	text-transform: none !important;
}

.bi-single-history__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 18px;
	margin-top: 17px;
	color: #756e66;
	font-size: 12px;
	line-height: 1.35;
}

.bi-single-history__author {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #2b2621 !important;
}

.bi-single-history__avatar {
	display: block;
	width: 38px;
	height: 38px;
	border: 2px solid #e7ded1;
	border-radius: 50%;
	object-fit: cover;
}

.bi-single-history__author > span,
.bi-single-history__dates {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bi-single-history__author strong {
	color: #2b2621;
	font-weight: 700;
}

.bi-single-history__author small {
	color: #81796f;
	font-size: 10px;
	line-height: 1.2;
}

.bi-single-history__meta-divider {
	width: 1px;
	height: 30px;
	background: #e2d9cd;
}

.bi-single-history__share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 17px;
}

.bi-single-history__share > span {
	margin-right: 2px;
	color: #625b53;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.bi-single-history__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 7px 11px;
	color: #352f29 !important;
	background: #f4efe8;
	border: 1px solid #e3d9cc;
	border-radius: 6px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.bi-single-history__share-link--facebook {
	color: #fff !important;
	background: #1877f2;
	border-color: #1877f2;
}

.bi-single-history__share-link--whatsapp,
.bi-single-history__copy-link.is-copied {
	color: #fff !important;
	background: #168b51;
	border-color: #168b51;
}

.bi-single-history__featured {
	width: 100%;
	margin: 0 0 25px !important;
}

.bi-single-history__featured-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e9e0d4;
	border: 1px solid #e3d9cc;
	border-radius: 9px;
}

.bi-single-history__featured-media::after {
	position: absolute;
	inset: 8px;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 5px;
	content: '';
}

.bi-single-history__featured-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bi-single-history__content {
	color: #29251f;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}

.bi-single-history__content > p:first-child,
.bi-single-history__content .tdb-block-inner > p:first-child {
	margin-top: 0 !important;
}

.bi-single-history__content p {
	margin: 0 0 1.35em;
	font-size: 15px !important;
	line-height: 1.7 !important;
}

.bi-single-history__content h2,
.bi-single-history__content h3,
.bi-single-history__content h4 {
	color: #171411 !important;
	font-family: inherit !important;
	font-weight: 750 !important;
	letter-spacing: -.012em !important;
	text-transform: none !important;
}

.bi-single-history__content h2 {
	margin: 1.75em 0 .72em !important;
	font-size: 23px !important;
	line-height: 1.2 !important;
}

.bi-single-history__content h3 {
	margin: 1.55em 0 .65em !important;
	font-size: 18.5px !important;
	line-height: 1.25 !important;
}

.bi-single-history__content a {
	color: var(--bi-history-accent-dark);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bi-single-history__content ul,
.bi-single-history__content ol {
	margin: 0 0 1.4em 1.15em;
	padding: 0;
}

.bi-single-history__content li {
	margin-bottom: .48em;
	padding-left: .25em;
	font-size: 15px !important;
	line-height: 1.7 !important;
}

.bi-single-history__content blockquote {
	position: relative;
	margin: 1.7em 0;
	padding: 22px 25px 22px 30px;
	color: #332b24;
	background: var(--bi-history-paper);
	border: 0;
	border-left: 5px solid var(--bi-history-accent);
	border-radius: 0 8px 8px 0;
	font-size: 16.5px !important;
	font-weight: 550;
	line-height: 1.55;
}

.bi-single-history__content blockquote p {
	font-size: inherit !important;
	line-height: inherit !important;
}

.bi-single-history__content img {
	max-width: 100%;
	height: auto;
	border-radius: 7px;
}

.bi-single-history__content figure,
.bi-single-history__content .wp-block-image {
	margin: 1.6em 0;
}

.bi-single-history__content figcaption {
	margin-top: 7px;
	color: #81796f;
	font-size: 12px !important;
	line-height: 1.4;
}

.bi-single-history__content iframe,
.bi-single-history__content video {
	max-width: 100%;
}

.bi-single-history__section-heading {
	margin-bottom: 15px;
}

.bi-single-history__section-heading small,
.bi-single-history-more__heading small {
	display: block;
	margin-bottom: 5px;
	color: var(--bi-history-accent);
	font-size: 9.5px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.bi-single-history__section-heading h2,
.bi-single-history-more__heading h2 {
	margin: 0 !important;
	color: #171411 !important;
	font-family: inherit !important;
	font-size: 21px !important;
	font-weight: 750 !important;
	line-height: 1.15 !important;
	letter-spacing: -.018em !important;
	text-transform: none !important;
}

.bi-single-history-sidebar__list {
	display: grid;
	gap: 13px;
}

.bi-single-history-sidebar__card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 20 / 11;
	overflow: hidden;
	background: #d9cdbf;
	border-radius: 8px;
}

.bi-single-history-sidebar__media,
.bi-single-history-sidebar__media img,
.bi-single-history-sidebar__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.bi-single-history-sidebar__media img {
	object-fit: cover;
}

.bi-single-history-sidebar__placeholder,
.bi-single-history-more__placeholder {
	background: linear-gradient(135deg, #c9b6a1, #6e5748);
}

.bi-single-history-sidebar__shade,
.bi-single-history-more__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18, 14, 11, .03) 24%, rgba(18, 14, 11, .9) 100%);
}

.bi-single-history-sidebar__copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 17px;
	color: #fff;
}

.bi-single-history-sidebar__copy small,
.bi-single-history-more__copy small {
	color: #e9c4a9;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bi-single-history-sidebar__copy strong {
	font-size: 15px;
	font-weight: 750;
	line-height: 1.18;
}

.bi-single-history-more {
	margin-top: 38px;
}

.bi-single-history-more__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 17px;
}

.bi-single-history-more__heading h2 {
	font-size: 24px !important;
}

.bi-single-history-more__heading > span {
	color: #d9cec0;
	font-size: clamp(24px, 4vw, 48px);
	font-weight: 850;
	line-height: .8;
	letter-spacing: .06em;
}

.bi-single-history-more__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(2, 205px) 180px;
	gap: 14px;
}

.bi-single-history-more__card {
	min-width: 0;
}

.bi-single-history-more__card:nth-child(1) {
	grid-column: span 7;
	grid-row: span 2;
}

.bi-single-history-more__card:nth-child(2),
.bi-single-history-more__card:nth-child(3) {
	grid-column: span 5;
}

.bi-single-history-more__card:nth-child(n+4) {
	grid-column: span 3;
}

.bi-single-history-more__card a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 170px;
	overflow: hidden;
	background: #d9cdbf;
	border-radius: 9px;
}

.bi-single-history-more__media,
.bi-single-history-more__media img,
.bi-single-history-more__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.bi-single-history-more__media img {
	object-fit: cover;
}

.bi-single-history-more__copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	color: #fff;
}

.bi-single-history-more__copy strong {
	font-size: 15px;
	font-weight: 750;
	line-height: 1.17;
}

.bi-single-history-more__card:nth-child(1) .bi-single-history-more__copy {
	padding: 24px;
}

.bi-single-history-more__card:nth-child(1) .bi-single-history-more__copy strong {
	max-width: 92%;
	font-size: clamp(21px, 2vw, 27px);
	line-height: 1.12;
}

.bi-single-history__notice {
	padding: 13px 15px;
	color: #6f3b28;
	background: #f7eee7;
	border: 1px solid #e7d2c4;
	border-radius: 6px;
}

@media (hover: hover) {
	.bi-single-history__category:hover,
	.bi-single-history__share-link:hover {
		opacity: .9;
	}

	.bi-single-history-sidebar__card:hover,
	.bi-single-history-more__card a:hover {
		box-shadow: 0 8px 22px rgba(45, 31, 22, .16);
	}

	.bi-single-history-sidebar__card:hover strong,
	.bi-single-history-more__card a:hover strong {
		color: #f4c7a8;
	}
}

@container bi-single-history (max-width: 900px) {
	.bi-single-history-more__grid {
		grid-template-rows: 330px repeat(3, 190px);
	}

	.bi-single-history-more__card:nth-child(1) {
		grid-column: span 12;
		grid-row: span 1;
	}

	.bi-single-history-more__card:nth-child(n+2) {
		grid-column: span 6;
		grid-row: span 1;
	}
}

@container bi-single-history (max-width: 767px) {
	.bi-single-history__eyebrow {
		margin-bottom: 10px;
	}

	.bi-single-history__title {
		font-size: clamp(25px, 8vw, 31px) !important;
		line-height: 1.12 !important;
	}

	.bi-single-history__meta-divider {
		display: none;
	}

	.bi-single-history__dates {
		flex-basis: 100%;
	}

	.bi-single-history__share {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
		gap: 5px;
		margin-top: 14px;
	}

	.bi-single-history__share > span {
		display: none;
	}

	.bi-single-history__share-link {
		width: 100%;
		min-width: 0;
		padding: 7px 4px;
		font-size: 10px;
		white-space: nowrap;
	}

	.bi-single-history__featured-media {
		aspect-ratio: 16 / 10;
		border-radius: 8px;
	}

	.bi-single-history__featured-media::after {
		inset: 6px;
	}

	.bi-single-history__content {
		font-size: 14.5px;
		line-height: 1.68;
	}

	.bi-single-history__content p,
	.bi-single-history__content li {
		font-size: 14.5px !important;
		line-height: 1.68 !important;
	}

	.bi-single-history__content h2 {
		font-size: 21px !important;
	}

	.bi-single-history__content h3 {
		font-size: 17.5px !important;
	}

	.bi-single-history__content blockquote {
		padding: 17px 18px 17px 21px;
		font-size: 15.5px !important;
	}

	.bi-single-history-more {
		margin-top: 30px;
	}

	.bi-single-history-more__heading {
		align-items: flex-start;
	}

	.bi-single-history-more__heading > span {
		display: none;
	}

	.bi-single-history-more__heading h2 {
		font-size: 22px !important;
	}

	.bi-single-history-more__grid {
		display: block;
	}

	.bi-single-history-more__card {
		margin-bottom: 10px;
	}

	.bi-single-history-more__card:nth-child(1) a {
		height: auto;
		min-height: 250px;
		aspect-ratio: 16 / 11;
	}

	.bi-single-history-more__card:nth-child(n+2) a {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		height: var(--bi-history-mobile-card-height, auto);
		min-height: 112px;
		background: var(--bi-history-paper);
		border: 1px solid #e5dacd;
	}

	.bi-single-history-more__card:nth-child(n+2) .bi-single-history-more__media {
		position: relative;
		height: 100%;
		min-height: 112px;
	}

	.bi-single-history-more__card:nth-child(n+2) .bi-single-history-more__shade {
		display: none;
	}

	.bi-single-history-more__card:nth-child(n+2) .bi-single-history-more__copy {
		position: static;
		justify-content: center;
		padding: 14px 15px;
		color: #211d19;
	}

	.bi-single-history-more__card:nth-child(n+2) .bi-single-history-more__copy small {
		color: var(--bi-history-accent);
	}

	.bi-single-history-more__card:nth-child(n+2) .bi-single-history-more__copy strong {
		color: #211d19;
		font-size: 14.5px;
		line-height: 1.2;
	}

	.bi-single-history-more__card:nth-child(1) .bi-single-history-more__copy {
		padding: 19px;
	}

	.bi-single-history-more__card:nth-child(1) .bi-single-history-more__copy strong {
		font-size: 20px;
	}
}

@container bi-single-history (max-width: 420px) {
	.bi-single-history-sidebar__copy {
		padding: 14px;
	}

	.bi-single-history-sidebar__copy strong {
		font-size: 14px;
	}

	.bi-single-history-more__card:nth-child(n+2) a {
		grid-template-columns: 100px minmax(0, 1fr);
	}
}
