#hero {
	overflow: hidden;
}

#hero_container {
	position: relative;
	height: 500px;
}

.hero__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	z-index: -1;
}

#hero__background--mobile {
	display: none;
}

#hero__background__desktop-left {
	position: absolute;
	height: 100%;
	box-sizing: border-box;
	padding: 16px 0;
	top: 0;
	left: 0;
	
	transform: translateX(-900px);
	z-index: -1;
}

#hero__background__desktop-right {
	position: absolute;
	height: 100%;
	box-sizing: border-box;
	padding: 16px 0;
	top: 0;
	left: 0;
	
	transform: translateX(950px);
	z-index: -1;
}

#hero__layout {
	width: 100%;
	height: 100%;
	
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	
	overflow: hidden;
}

#hero__text {
	flex-grow: 1;
	
	padding-left: 32px;
	padding-right: 32px;
	padding-top: 8%;
	
	display: flex;
	justify-content: center;
}

#hero__text__container {
	display: inline-block;
	
	margin-left: auto;
	margin-right: auto;
}

.hero__phones {
	flex-grow: 0;
	object-fit: contain;
	max-width: 500px;
	padding: 32px 0;
}

.latest_post {
	margin-left: 16px;
	margin-right: 16px;
}

.latest_post__container {
	display: flex;
	flex-direction: row;
	align-items: center;
	
	max-width: 650px;
	margin: 64px auto 32px;
	
	padding: 16px;
	
	text-decoration: none;
	
	transition-duration: var(--transition_duration_hover);
	color: var(--color_text__label);
	
	border-radius: 4px;
	border: 1px solid var(--color_primary);
}

.latest_post__container:hover {
	color: black;
}

.latest_post__thumbnail {
	flex-shrink: 0;
	
	display: block;
	max-height: 64px;
	border-radius: 3px;
	margin-right: 16px;
	
	border: 1px solid rgba(1, 1, 1, 0.1);
}

.latest_post__text_container {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-basis: 0;
	flex-grow: 1;
}

.latest_post__text {
	flex-grow: 1;
	margin-right: 16px;
	
	min-width: 0;
}

.latest_post__title {
	margin-top: 0;
	margin-bottom: 8px;
}

.latest_post__subtitle {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.latest_post svg {
	flex-shrink: 0;
}

.detail_section {
	border-top: 1.5px solid #EEEEEE;
	border-bottom: 1.5px solid #EEEEEE;
	background-color: white;
}

.detail_section__container {
	display: flex;
	flex-direction: row;
	align-items: center;
	
	padding: 64px 32px;
}

.detail_section__container :first-child {
	margin-right: 32px;
}

.detail_section__text {
	flex-grow: 1;
	max-width: 450px;
}

.detail_section__image {
	flex-grow: 1;
	max-width: 450px;
}

.detail_section__container p {
	opacity: 0.54;
}

.detail_section__container img {
	max-width: min(450px, 100%);
	max-height: 450px;
	margin-left: auto;
	margin-right: auto;
	
	border-radius: 4px;
	box-shadow: var(--card_shadow);
}

.link_section {
	padding: 64px 32px;
}

.link_section h2 {
	opacity: 0.6;
	margin-top: 0;
	margin-bottom: 32px;
}

.link_section__container {
	display: grid;
	grid-gap: 32px;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
}

@media(max-width: 1000px) {
	.link_section__container {
		grid-template-columns: 1fr;
	}
	
	.detail_section__container {
		flex-direction: column;
		padding: 0 32px 32px;
	}
	
	.detail_section__text {
		margin-bottom: 32px;
	}
	
	#hero_container {
		position: relative;
	}
	
	.hero__phones {
		display: none;
	}
	
	#hero__text {
		padding-top: unset;
		align-items: center;
	}
	
	#hero__text__container h1 {
		margin-top: 0;
	}
	
	#hero__background--desktop {
		display: none;
	}
	
	#hero__background--mobile {
		display: unset;
	}
	
	#hero__background__mobile-center {
		display: unset;
		
		position: absolute;
		height: 100%;
		box-sizing: border-box;
		padding: unset;
		top: 0;
		left: 50%;
		
		transform: translateX(-50%);
		z-index: -1;
	}
	
	.latest_post__container {
		margin-top: 16px;
		
		flex-direction: column;
	}
	
	.latest_post__thumbnail {
		display: block;
		max-height: unset;
		margin-right: unset;
		width: 100%;
		border-radius: 4px;
	}
	
	.latest_post__text_container {
		margin-top: 16px;
	}
	
	.latest_post__title {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	.latest_post__subtitle {
		display: none;
	}
}

.footer {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.footer_link {
	color: var(--color_text__secondary);
	padding: 16px;
	font-size: 14px;
	text-decoration: none;
}