/**
 * History landing page. Matches the public section order and the shared hero.
 */

.history-wrap {
	max-inline-size: 1390px;
	margin-inline: auto;
	padding-inline: 80px;
}

.history-intro {
	padding-block: 40px 90px;
	background: var(--bs-teal);
	color: var(--bs-white);
}

.history-kicker {
	margin: 25px 0 20px;
	color: var(--bs-gold);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.history-row .history-kicker {
	margin-block: 0 20px;
}

.history-heading {
	margin: 0;
	color: var(--bs-teal);
	font-family: var(--bs-font-serif);
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.2px;
}

.history-heading--light {
	color: var(--bs-white);
}

.history-intro__text {
	max-inline-size: 800px;
	padding-block-start: 31px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
	line-height: 29px;
}

.history-intro__text p {
	margin: 0;
}

.history-guide {
	display: inline-block;
	margin-block-start: 28px;
	padding-block-end: 3px;
	border-block-end: 1px solid var(--bs-gold);
	color: var(--bs-gold);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 1.2px;
	text-decoration: none;
	text-transform: uppercase;
}

.history-guide:hover,
.history-guide:focus-visible {
	border-block-end-color: transparent;
	color: var(--bs-gold);
}

.history-periods {
	padding-block: 20px 100px;
	background: var(--bs-cream);
}

.history-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 80px;
	padding-block: 70px;
}

.history-row--reverse {
	flex-direction: row-reverse;
}

.history-row--divided {
	border-block-end: 1px solid rgba(110, 110, 110, 0.15);
}

.history-row__media {
	flex: 0 0 525px;
	max-inline-size: 525px;
	overflow: hidden;
	background: var(--bs-teal);
}

.history-row__image {
	display: block;
	inline-size: 100%;
	block-size: 360px;
	object-fit: cover;
	opacity: 0.8;
}

.history-row__text {
	flex: 1 1 0;
	min-inline-size: 280px;
}

.history-row__body {
	padding-block-start: 20px;
	color: var(--bs-grey);
	font-size: 18px;
	line-height: 29px;
}

.history-row__body p {
	margin: 0;
}

.history-more {
	display: inline-block;
	margin-block-start: 30px;
	padding-inline: 28px;
	border: 1px solid var(--bs-teal);
	color: var(--bs-teal);
	font-size: 16px;
	font-weight: 600;
	line-height: 56px;
	letter-spacing: 1.6px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.3s, background-color 0.3s;
}

.history-more:hover,
.history-more:focus-visible {
	background: var(--bs-teal);
	color: var(--bs-white);
}

.bs-role-history .tour-cta__button:hover,
.bs-role-history .tour-cta__button:focus-visible {
	opacity: 1;
	background: #8e7452;
}

body.lang-ar .history-heading,
body.lang-ar .bs-role-history .tour-cta__title {
	font-size: clamp(30px, 4.5vw, 44px);
	line-height: 1.65;
}

body.lang-ar .history-kicker {
	font-size: 13px;
}

body.lang-ko .history-heading {
	line-height: 1.5;
}

body.lang-ar .history-kicker,
body.lang-ar .history-guide,
body.lang-ar .history-more,
body.lang-ar .bs-role-history .tour-cta__button,
body.lang-ko .history-kicker,
body.lang-ko .history-guide,
body.lang-ko .history-more,
body.lang-ko .bs-role-history .tour-cta__button {
	text-transform: none;
}

body.lang-ru .history-kicker,
body.lang-el .history-kicker {
	letter-spacing: 2px;
}

@media (max-width: 1024px) {
	.history-row {
		gap: 48px;
	}

	.history-row__media {
		flex-basis: 380px;
		max-inline-size: 380px;
	}
}

@media (max-width: 768px) {
	.history-wrap {
		padding-inline: 40px;
	}

	.bs-role-history .tour-cta {
		padding-block: 36px;
	}

	.history-row,
	.history-row--reverse {
		flex-direction: column;
		gap: 28px;
		padding-block: 40px;
	}

	.history-row__media,
	.history-row__text {
		flex: 0 0 auto;
		inline-size: 100%;
		max-inline-size: 100%;
		min-inline-size: 0;
	}
}

@media (max-width: 480px) {
	.history-wrap {
		padding-inline: 20px;
	}

	.bs-role-history .tour-cta {
		padding-block: 28px;
	}

	.history-row,
	.history-row--reverse {
		padding-block: 28px;
	}
}
