/* =========================================================
   YOKUCHI — CARBON BLOCK — HERO KALKULATOR
   ========================================================= */

body.page:has(.kan-hero--full) .site-content {
	padding-top: 0 !important;
}

body.page:has(.kan-hero--full) .site-main.ast-container,
body.page:has(.kan-hero--full) .content-area,
body.page:has(.kan-hero--full) .ast-article-single,
body.page:has(.kan-hero--full) .entry-content,
.site-content:has(.kan-hero--full),
.site-main:has(.kan-hero--full),
.content-area:has(.kan-hero--full),
article:has(.kan-hero--full),
.entry-content:has(.kan-hero--full) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.kan-hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin: 0;
	background: var(--kan-hero-bg) center bottom / cover no-repeat;
}

.kan-hero--full {
	width: 100vw;
	max-width: 100vw;
	margin-top: calc((var(--yokuchi-header-height, 94px) + 56px) * -1);
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

body.page:has(.kan-hero--full) .kan-hero--full {
	width: 100%;
	max-width: none;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
}

body.page:not(.home):not(.front-page):not(.page-template-page-yokuchi-home):not(
		.page-template-page-blog
	):not(.page-template-page-blog-php):not(.yokuchi-blog-page)
	.entry-content
	> .kan-hero.alignfull,
body.page:not(.home):not(.front-page):not(.page-template-page-yokuchi-home):not(
		.page-template-page-blog
	):not(.page-template-page-blog-php):not(.yokuchi-blog-page)
	.entry-content
	.kan-hero.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.kan-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 40px 40px;
	text-align: center;
}
/* 
.kan-hero__inner::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 86px;
	left: 50%;
	width: min(760px, 76vw);
	height: 270px;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(246, 243, 240, 0.98) 0%, rgba(246, 243, 240, 0.88) 48%, rgba(246, 243, 240, 0) 74%);
} */

.kan-hero__title {
	margin: 0 !important;
	color: #1d1d1b;
	font-size: 28px !important;
	font-weight: 500 !important;
	letter-spacing: 9px !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

.kan-hero__line {
	display: block;
	width: 62px;
	height: 2px;
	margin: 28px 0 28px;
	background: #ec1d23;
}

.kan-hero__description {
	margin: 0;
	color: #6f6f6f;
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 24px;
}

.kan-hero__description p {
	margin: 0;
}

@media (max-width: 1024px) {
	.kan-hero__inner {
		padding-top: 100px;
	}
}

@media (max-width: 600px) {

	.kan-hero__title {
		max-width: 290px;
		font-size: 21px !important;
		letter-spacing: 5px !important;
		line-height: 1.2 !important;
	}

	.kan-hero__line {
		margin: 24px 0 24px;
	}

	.kan-hero__description {
		font-size: 16px;
		line-height: 24px;
	}
}

@media screen and (max-width: 576px){
.kan-hero {
	background: var(--kan-hero-mobile-bg, var(--kan-hero-bg)) 82% 120% / 300% no-repeat;
	background-color: #f2eded;
	padding-bottom: 250px;
}
	.kan-hero__inner {
		justify-content: flex-start;
		align-items: center;
	}
}

/* "O marce" image preview: keep the cutout clear of the copy. */
.kan-hero--about-photo {
	background-color: #f3efeb;
	background-size: auto 88%;
	background-position: right 8% bottom;
}

@media (max-width: 576px) {
	.kan-hero--about-photo {
		min-height: 600px;
		padding-bottom: 310px;
		background-image: none;
		background-color: #f3efeb;
	}
	.kan-hero--about-photo::before {
		content: '';
		position: absolute;
		inset: auto 0 0;
		height: 340px;
		background: var(--kan-hero-mobile-bg, var(--kan-hero-bg)) center bottom / 120% auto no-repeat;
	}
	.kan-hero--about-photo .kan-hero__inner {
		padding-top: 118px;
	}
}

@media screen and (min-width: 577px){
.kan-hero {
	
	padding: clamp(70px, 16vw, 170px) 0;
}

	}

