/* shared layout primitives */

.container {
	width: 100%;
	overflow: hidden;
}

.container__inner {
	position: relative;
	z-index: var(--wp-z-content);
	display: block;
	max-width: var(--wp-container-default);
	margin: 0 auto;
	padding-bottom: var(--wp-space-4xl);
}

.title-box {
	margin-bottom: 50px;
}

.title-box__title,
.title-box .title {
	margin-bottom: 5px;
	font-size: var(--wp-section-heading-size);
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: var(--wp-space-md);
	white-space: nowrap;
}

.title-box__title::after,
.title-box .title::after {
	content: '';
	display: block;
	flex: 1;
	height: 1px;
	background: var(--wp-color-text);
}

@media screen and (max-width: 767px) {
	.title-box {
		margin-bottom: 30px;
	}

	.title-box__title,
	.title-box .title {
		font-size: var(--wp-section-heading-size);
	}
}

.title-box__text,
.title-box .txt {
	font-size: var(--wp-font-size-xs);
	font-weight: normal;
}

.title-box__note,
.title-box .note {
	font-size: var(--wp-font-size-xs);
	font-weight: normal;
}

.title-box--light .title-box__title,
.title-box--light .title,
.title-box--light .title-box__text,
.title-box--light .txt,
.title-box--light .title-box__note,
.title-box--light .note {
	color: var(--wp-color-white);
}

.title-box--light .title-box__title::after,
.title-box--light .title::after {
	background: var(--wp-color-white);
}

.section-inline-link {
	color: var(--wp-color-text);
	display: inline-flex;
	align-items: center;
}

.section-inline-link::after {
	content: '';
	display: block;
	width: var(--wp-space-md);
	height: var(--wp-space-md);
	flex-shrink: 0;
	margin-left: 6px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.container__inner .caption {
	margin: 100px 0;
	text-align: center;
	font-size: 32px;
	font-weight: bold;
}

.container__inner .body {
	margin-bottom: 50px;
}

.container__inner--flex {
	position: relative;
	z-index: var(--wp-z-content);
	display: flex;
	max-width: var(--wp-container-default);
	height: 100%;
	margin: 0 auto;
}

.container__inner--flex .message {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	width: 50%;
}

.container__inner--flex .image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	width: 50%;
}

.container__inner--flex-reverse {
	position: relative;
	z-index: var(--wp-z-content);
	display: flex;
	flex-direction: row-reverse;
	max-width: var(--wp-container-default);
	margin: 0 auto;
}

.container__inner--flex-reverse .message {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	width: 50%;
}

.container__inner--flex-reverse .image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	width: 50%;
	margin-right: 10%;
}

.container__inner--bottom-narrow {
	padding-bottom: 50px;
}

@media screen and (max-width: 767px) {
	.container {
		overflow: auto;
	}

	.container__inner {
		width: 100%;
		padding: 0 var(--wp-space-lg) 50px;
	}

	.container__inner--flex {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		width: 100%;
		height: auto;
		padding: 30px;
	}

	.container__inner--flex .message {
		display: block;
		width: 100%;
		margin-right: 0;
	}

	.container__inner--flex .image {
		display: block;
		width: 100%;
		text-align: center;
	}

	.container__inner--flex-reverse {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		width: 100%;
		height: auto;
		padding: 30px;
	}

	.container__inner--flex-reverse .message {
		display: block;
		width: 100%;
	}

	.container__inner--flex-reverse .image {
		display: block;
		width: 100%;
		text-align: center;
		margin-right: 0;
	}
}
