/* Net Launch: page title bar */

.nlc-ptb {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--nlc-ptb-h, 300px);
	padding: var(--wp--preset--spacing--50) var(--wp--style--root--padding-right, 24px) var(--wp--preset--spacing--50) var(--wp--style--root--padding-left, 24px);
	box-sizing: border-box;
	background-color: var(--nlc-ptb-bg, var(--wp--preset--color--contrast, #13294b));
	border-top: var(--nlc-ptb-border, 0);
	border-bottom: var(--nlc-ptb-border, 0);
	color: var(--nlc-ptb-title-c, #fff);
	overflow: hidden;
	margin-block-start: 0;
}

.nlc-ptb.has-image {
	background-image: var(--nlc-ptb-image);
	background-size: cover;
	background-position: center;
}

.nlc-ptb.has-image.is-auto-size {
	background-size: auto;
	background-repeat: repeat;
}

.nlc-ptb.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--nlc-ptb-overlay, rgba(0, 0, 0, 0.5));
}

@media (min-width: 1025px) {
	.nlc-ptb.is-parallax {
		background-attachment: fixed;
	}
}

.nlc-ptb--boxed {
	width: calc(100% - 2 * var(--wp--style--root--padding-left, 24px));
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: var(--wp--preset--spacing--40) auto 0;
	border-radius: 16px;
}

.nlc-ptb__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
}

.nlc-ptb__text {
	max-width: 780px;
}

.nlc-ptb__title {
	margin: 0;
	color: var(--nlc-ptb-title-c, #fff);
	font-size: clamp(calc(var(--nlc-ptb-title, 48px) * 0.62), 5vw, var(--nlc-ptb-title, 48px));
	line-height: var(--nlc-ptb-title-lh, 1.15);
}

.nlc-ptb__sub {
	margin: 12px 0 0;
	color: var(--nlc-ptb-sub-c, rgba(255, 255, 255, 0.85));
	font-size: var(--nlc-ptb-sub, 18px);
	opacity: 0.9;
}

.nlc-ptb__extra {
	flex-shrink: 0;
}

.nlc-ptb--right .nlc-ptb__inner {
	flex-direction: row-reverse;
	text-align: right;
}

.nlc-ptb--center .nlc-ptb__inner {
	flex-direction: column;
	text-align: center;
	justify-content: center;
}

.nlc-ptb--center .nlc-ptb__text {
	margin: 0 auto;
}

.nlc-ptb .nlc-bc {
	color: var(--nlc-bc-color, rgba(255, 255, 255, 0.85));
}

.nlc-ptb__search .wp-block-search__inside-wrapper,
.nlc-ptb__search form {
	display: flex;
	gap: 6px;
	min-width: 260px;
}

.nlc-ptb__search input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
}

.nlc-ptb__search input[type="submit"],
.nlc-ptb__search button {
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--wp--preset--color--accent, #1f6fe5);
	color: #fff;
	cursor: pointer;
}

/* Transparent header sits on top of the bar */
.nl-header-transparent .nlc-ptb {
	padding-top: calc(var(--nl-header-h, 90px) + var(--wp--preset--spacing--40));
	min-height: calc(var(--nlc-ptb-h, 300px) + var(--nl-header-h, 90px));
}

@media (max-width: 781px) {
	.nlc-ptb__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.nlc-ptb--center .nlc-ptb__inner {
		align-items: center;
	}

	.nlc-ptb--right .nlc-ptb__inner {
		align-items: flex-end;
	}

	.nlc-ptb__search form {
		min-width: 0;
		width: 100%;
	}
}

/* Simple title */
.nlc-ptb-simple {
	padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-right, 24px) 0 var(--wp--style--root--padding-left, 24px);
	margin-block-start: 0;
}

.nlc-ptb-simple__inner {
	max-width: var(--wp--style--global--content-size, 760px);
	margin: 0 auto;
}

.nlc-ptb-simple .nlc-ptb__title {
	color: inherit;
	font-size: inherit;
	font-size: var(--wp--preset--font-size--xx-large);
}

.nlc-ptb-simple .nlc-ptb__sub {
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--large);
}

.nlc-ptb-simple .nlc-bc {
	margin-bottom: 14px;
}

.nlc-ptb + .nl-main,
.nlc-ptb-simple + .nl-main {
	margin-block-start: 0;
}
