/* Template: 1_tvrz_trebotov — scoped to .tpl-trebotov, do not rely on global site classes */

.tpl-trebotov {
	--tpl-cream: #f3ede2;
	--tpl-gold: #9a7638;
	--tpl-gold-light: #d9bd85;
	--tpl-dark: #2a2620;
	--tpl-gray: #5c584f;
	--tpl-line: rgba(42, 38, 32, 0.15);

	text-align: left;
	color: var(--tpl-dark);
	overflow: hidden;
}

.tpl-trebotov * {box-sizing: border-box;}

.tpl-wrapper {
	max-width: 1260px;
	width: 100%;
	margin: 0 auto;
	padding: 0 90px;
}

/* Hero */
.tpl-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.tpl-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(10, 8, 6, 0.85) 0%, rgba(10, 8, 6, 0.6) 32%, rgba(10, 8, 6, 0.2) 60%, rgba(10, 8, 6, 0) 82%);
}

.tpl-hero-inner {
	position: relative;
	z-index: 2;
}

.tpl-hero-content {
	max-width: 620px;
	color: #fff;
}

.tpl-eyebrow {
	display: block;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 13px;
	color: var(--tpl-gold-light);
	margin: 0 0 16px;
}

.tpl-h1 {
	font-family: "Didot";
	font-weight: 400;
	font-size: 62px;
	line-height: 1.2;
	margin: 0 0 24px;
}

.tpl-hero-divider {
	display: block;
	width: 46px;
	height: 1px;
	background: var(--tpl-gold);
	margin: 0 0 24px;
}

.tpl-quote {
	font-family: "Didot";
	font-style: italic;
	font-size: 29px;
	line-height: 1.5;
	color: var(--tpl-gold-light);
	margin: 0;
}

/* Copy + image split */
.tpl-split {
	background: #fff;
	border-top: 1px solid var(--tpl-line);
}

.tpl-split.alt {
	background: var(--tpl-cream);
}

.tpl-split-inner {
	display: flex;
	align-items: stretch;
	gap: 60px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.tpl-split.reverse .tpl-split-inner {
	flex-direction: row-reverse;
}

.tpl-split-text {
	flex: 1 1 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tpl-split-heading {
	font-family: "Didot";
	font-weight: 400;
	font-size: 30px;
	line-height: 1.4;
	color: var(--tpl-dark);
	margin: 0 0 28px;
}

.tpl-split-image {
	flex: 1 1 50%;
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
}

.tpl-split-text p {
	color: var(--tpl-gray);
	line-height: 1.85;
	margin: 0 0 20px;
}

.tpl-split-text p:last-child {
	margin-bottom: 0;
}

.tpl-split-text p.tpl-emphasis {
	color: var(--tpl-dark);
	font-weight: 700;
}

.tpl-split-label {
	font-family: "Didot";
	font-weight: 400;
	font-size: 27px;
	color: var(--tpl-gold);
	margin: 0 0 28px;
}

.tpl-facts {
	list-style: none;
	margin: 0 0 34px;
	padding: 0;
}

.tpl-facts li {
	color: var(--tpl-gray);
	line-height: 1.6;
	padding: 7px 0;
	border-top: 1px solid var(--tpl-line);
}

.tpl-facts li:last-child {
	border-bottom: 1px solid var(--tpl-line);
}

.tpl-split-more {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	margin: 0;
}

.tpl-split-more a {
	color: var(--tpl-gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(154, 118, 56, 0.5);
	padding-bottom: 3px;
}

.tpl-split-more a:hover {
	border-color: var(--tpl-gold);
}

/* Gallery */
.tpl-gallery {
	display: flex;
	gap: 1px;
	background: var(--tpl-line);
	border-top: 1px solid var(--tpl-line);
}

.tpl-gallery-item {
	flex: 1 1 33.3334%;
	height: 560px;
	background-size: cover;
	background-position: center;
	background-color: #fff;
}

/* Responsive */
@media all and (max-width: 991px) {
	.tpl-wrapper {padding: 0 50px;}
	.tpl-h1 {font-size: 42px;}
	.tpl-quote {font-size: 23px;}
	.tpl-split-inner {padding-top: 32px; padding-bottom: 32px; gap: 40px;}
	.tpl-split-heading {font-size: 26px;}
	.tpl-gallery-item {height: 400px;}
}

@media all and (max-width: 767px) {
	.tpl-wrapper {padding: 0 24px;}
	.tpl-hero-content {max-width: 100%;}
	.tpl-eyebrow {margin-bottom: 14px;}
	.tpl-h1 {font-size: 30px; margin-bottom: 18px;}
	.tpl-quote {font-size: 18px;}

	.tpl-split-inner {flex-direction: column; padding-top: 24px; padding-bottom: 24px; gap: 30px;}
	.tpl-split.reverse .tpl-split-inner {flex-direction: column-reverse;}
	.tpl-split-image {aspect-ratio: 4 / 3;}
	.tpl-split-heading {font-size: 22px; margin-bottom: 20px;}
	.tpl-split-label {font-size: 21px; margin-bottom: 20px;}

	.tpl-gallery {flex-direction: column;}
	.tpl-gallery-item {flex: 0 0 300px; height: 300px;}
}
