/**
 * Two Block Hero Block Front-end CSS
 */

/* Background Colors - Named Colors */
.tbh-block.tbh-bg-dark-blue,
.tbh-bottom.tbh-bg-dark-blue{
	background-color: #0F293E;
}

.tbh-block.tbh-bg-dark-brown,
.tbh-bottom.tbh-bg-dark-brown {
	background-color: #290B0B;
}


.tbh-block.tbh-bg-burgundy,
.tbh-bottom.tbh-bg-burgundy {
	background-color: #800020;
}

.tbh-block.tbh-bg-gold,
.tbh-bottom.tbh-bg-gold {
	background-color: #B8860B;
}

.tbh-block.tbh-bg-copper,
.tbh-bottom.tbh-bg-copper {
	background-color: #B87333;
}

.tbh-block.tbh-bg-periwinkle,
.tbh-bottom.tbh-bg-periwinkle {
	background-color: #CCCCFF;
}

.tbh-block.tbh-bg-deep-blue,
.tbh-bottom.tbh-bg-deep-blue {
	background-color: #00008B;
}

.tbh-block.tbh-bg-dark-red,
.tbh-bottom.tbh-bg-dark-red {
	background-color: #8B0000;
}


.tbh-block.tbh-bg-white,
.tbh-bottom.tbh-bg-white {
	background-color: #FFFFFF;
}

.tbh-block.tbh-bg-black,
.tbh-bottom.tbh-bg-black {
	background-color: #000000;
}

.tbh-block.tbh-bg-pale-white,
.tbh-bottom.tbh-bg-pale-white {
	background-color: #F8F8F8;
}

/* Text Colors */
.tbh-block.tbh-text-white,
.tbh-block.tbh-text-white h1,
.tbh-block.tbh-text-white h2,
.tbh-block.tbh-text-white h3,
.tbh-block.tbh-text-white h4,
.tbh-block.tbh-text-white h5,
.tbh-block.tbh-text-white h6,
.tbh-block.tbh-text-white p,
.tbh-block.tbh-text-white .tbh-title,
.tbh-block.tbh-text-white .tbh-description {
	color: #FFFFFF;
}

.tbh-block.tbh-text-black,
.tbh-block.tbh-text-black h1,
.tbh-block.tbh-text-black h2,
.tbh-block.tbh-text-black h3,
.tbh-block.tbh-text-black h4,
.tbh-block.tbh-text-black h5,
.tbh-block.tbh-text-black h6,
.tbh-block.tbh-text-black p,
.tbh-block.tbh-text-black .tbh-title,
.tbh-block.tbh-text-black .tbh-description {
	color: #000000;
}

.tbh-block.tbh-text-dark-blue,
.tbh-block.tbh-text-dark-blue h1,
.tbh-block.tbh-text-dark-blue h2,
.tbh-block.tbh-text-dark-blue h3,
.tbh-block.tbh-text-dark-blue h4,
.tbh-block.tbh-text-dark-blue h5,
.tbh-block.tbh-text-dark-blue h6,
.tbh-block.tbh-text-dark-blue p,
.tbh-block.tbh-text-dark-blue .tbh-title,
.tbh-block.tbh-text-dark-blue .tbh-description {
	color: #0F293E;
}

/* Title and Description Styles */
.tbh-block .tbh-title {
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 64px;
	line-height: 64px;
	letter-spacing: -1.92px;
	margin-bottom: 24px;
	font-weight: 500;
}

.tbh-block .tbh-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.48px;
	margin-bottom: 40px;
}

.tbh-block p{
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.48px;
	margin-bottom: 40px;
}

	/* Eyebrow Styles */
.tbh-block .tbh-eyebrow {
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 6.72px;
	margin-bottom: 24px;
	display: block;
	font-family: 'DM Sans', sans-serif;
}

/* Eyebrow style variations */
.tbh-block .tbh-eyebrow-style-default {
	font-weight: 400;
	text-transform: uppercase;
}

.tbh-block .tbh-eyebrow-style-bold {
	font-weight: 700;
	text-transform: uppercase;
}

.tbh-block .tbh-eyebrow-style-elegant {
	font-style: italic;
}

/* Button Styles */
.tbh-block .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.tbh-bg-image{
	height: 100%;
}

.tbh-container{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 30px;
	padding-left: 30px;
	max-width: 1440px;
}

@media (max-width: 1500px) {
	.tbh-container{
		max-width: 1200px;
	}
}

@media (max-width: 1500px) {
	.tbh-block .tbh-description {
		font-size: 16px !important;
	}

	.tbh-block .tbh-eyebrow {
		font-size: 16px !important;
	}

	.tbh-block .wp-block-button.is-style-default .wp-block-button__link {
		font-size: 16px !important;
	}

	.tbh-block .wp-block-button.is-style-solid .wp-block-button__link {
		font-size: 16px !important;
	}

	.tbh-block .wp-block-button.is-style-arrow .wp-block-button__link {
		font-size: 16px !important;
	}
}

/* Button Styles */
/* Button Style 1: Default (Blue Background) */
.tbh-block .wp-block-button.is-style-default .wp-block-button__link {
	background-color: #A6B8E3;
	color: #000000;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	line-height: 21px;
	font-weight: 400;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	width: fit-content;
	align-self: center;
}

.tbh-block .wp-block-button.is-style-default .wp-block-button__link:hover {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 0 rgba(0, 0, 0, 0.15);
	transition: 300ms ease-in;
	background-color: #788FC6;
}

/* Button Style 2: Solid (Brown Background) */
.tbh-block .wp-block-button.is-style-solid .wp-block-button__link {
	background-color: #AA632C;
	color: #FFFFFF;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	line-height: 21px;
	font-weight: 400;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	width: fit-content;
	align-self: center;
	border: none;
	cursor: pointer;
	text-align: center;
}

.tbh-block .wp-block-button.is-style-solid .wp-block-button__link:hover {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 0 rgba(0, 0, 0, 0.15);
	transition: 300ms ease-in;
}

/* Button Style 3: Arrow */
.tbh-block .wp-block-button.is-style-arrow .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	font-weight: 400;
	position: relative;
	border-radius: 0;
}

.tbh-block .wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 29px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='16' viewBox='0 0 29 16' fill='none'%3E%3Cpath d='M28.7071 8.70711C29.0976 8.31659 29.0976 7.68342 28.7071 7.2929L22.3431 0.928934C21.9526 0.53841 21.3195 0.53841 20.9289 0.928934C20.5384 1.31946 20.5384 1.95262 20.9289 2.34315L26.5858 8L20.9289 13.6569C20.5384 14.0474 20.5384 14.6805 20.9289 15.0711C21.3195 15.4616 21.9526 15.4616 22.3431 15.0711L28.7071 8.70711ZM-8.74228e-08 9L28 9L28 7L8.74228e-08 7L-8.74228e-08 9Z' fill='%23AA622C'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	margin-left: 10px;
	transition: transform 0.3s ease;
}

.tbh-block .wp-block-button.is-style-arrow .wp-block-button__link:hover::after {
	transform: translateX(5px);
}

.tbh-bg-image-cont{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	height: 100%;
}

/* Bottom Section Styles */
.tbh-bottom {
	width: 100%;
	min-height: 195px;
}

.tbh-bottom-content {
	display: flex;
	padding: 96px;
	align-items: flex-start;
	gap: 32px;
	background: linear-gradient(90deg, #341010 0%, #AA632C 100%);
}

.tbh-bottom-title {
	color: #FFF;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 48px;
	font-style: normal;
	font-weight: 400;
	line-height: 114%;
}

.tbh-bottom-content-wrapper h1,
.tbh-bottom-content-wrapper h2,
.tbh-bottom-content-wrapper h3,
.tbh-bottom-content-wrapper h4,
.tbh-bottom-content-wrapper h5,
.tbh-bottom-content-wrapper h6 {
	color: #FFF;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	margin-bottom: 16px;
}

.tbh-bottom-content-wrapper p {
	color: #FFF;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: -0.48px;
	margin-bottom: 16px;
}

.tbh-learn-more {
	color: #FFF;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 21px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tbh-learn-more svg {
	transition: transform 0.3s ease;
}

.tbh-learn-more:hover svg {
	transform: translateX(5px);
}

@media (max-width: 1023px) {
	.tbh-cont {
		flex-direction: column;
		padding-top: 60px !important;
		padding-bottom: 60px !important;
	}

	.tbh-block .flex.items-center {
		flex-direction: column;
	}

	.tbh-bg-image-cont {
		position: relative;
		width: 100%;
		min-height: 356px;
		margin-bottom: 40px;
		order: -1;
	}

	.tbh-bg-image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.tbh-copy {
		align-items: flex-start;
		width: 100%;
	}

	.tbh-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.tbh-block .tbh-title {
		/* Keep font size the same as desktop per requirements */
		/* font-size: 64px; */
		line-height: 1.1;
	}

	.tbh-block .tbh-description {
		/* Keep font size the same as desktop per requirements */
		/* font-size: 18px; */
	}

	.tbh-bottom-content {
		flex-direction: column;
		padding: 48px 24px;
	}

	.tbh-bottom-left,
	.tbh-bottom-right {
		width: 100% !important;
	}

	.tbh-bottom-title {
		margin-bottom: 24px;
	}
}
