/* Sulit.ph compact header — scoped to the PostX header template. */
#ultp-header-template {
	position: relative;
	z-index: 1000;
	background: #ffffff;
	box-shadow: 0 1px 0 rgba(23, 58, 107, 0.10);
}

#ultp-header-template .ultp-block-f14fc9 > .ultp-row-wrapper {
	background: #ffffff;
}

#ultp-header-template .ultp-block-f14fc9 > .ultp-row-wrapper > .ultp-row-content {
	display: grid !important;
	grid-template-columns: 190px minmax(280px, 720px);
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	max-width: 1140px;
	min-height: 72px;
	margin: 0 auto;
	padding: 8px 20px;
}

#ultp-header-template .ultp-block-f14fc9 .ultp-block-e6da43,
#ultp-header-template .ultp-block-f14fc9 .ultp-block-594d8c {
	flex-basis: auto !important;
	width: auto !important;
}

#ultp-header-template .ultp-block-f14fc9 .ultp-block-ae108e {
	display: none !important;
}

#ultp-header-template .ultp-block-e6da43 .ultp-column-wrapper,
#ultp-header-template .ultp-block-594d8c .ultp-column-wrapper {
	width: 100%;
}

#ultp-header-template .ultp-block-e6da43 figure {
	margin: 0;
}

#ultp-header-template .ultp-block-e6da43 img {
	display: block;
	width: 164px !important;
	height: auto !important;
}

#ultp-header-template .sulit-header-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
	width: 100%;
	margin: 0;
	border: 1px solid #d9e1ec;
	border-radius: 999px;
	background: #f7f9fc;
	box-shadow: inset 0 1px 0 rgba(23, 58, 107, 0.03);
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#ultp-header-template .sulit-header-search:focus-within {
	border-color: #173a6b;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(23, 58, 107, 0.12);
}

#ultp-header-template .sulit-header-search__input {
	min-width: 0;
	height: 46px;
	padding: 0 18px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #173a6b;
	font: inherit;
	font-size: 15px;
}

#ultp-header-template .sulit-header-search__input::placeholder {
	color: #6d7b8e;
	opacity: 1;
}

#ultp-header-template .sulit-header-search__button,
#ultp-header-template .sulit-mobile-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	color: #173a6b;
	cursor: pointer;
}

#ultp-header-template .sulit-header-search__button {
	width: 48px;
	height: 46px;
	padding: 0;
	background: #ffc928;
	transition: background 160ms ease, color 160ms ease;
}

#ultp-header-template .sulit-header-search__button:hover,
#ultp-header-template .sulit-header-search__button:focus-visible {
	background: #173a6b;
	color: #ffffff;
}

#ultp-header-template .sulit-header-search__button svg,
#ultp-header-template .sulit-mobile-search-toggle svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#ultp-header-template .sulit-mobile-search-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #d9e1ec;
	border-radius: 50%;
	background: #ffffff;
}

#ultp-header-template .ultp-block-b9f37b > .ultp-row-wrapper {
	background: #ffc928;
}

#ultp-header-template .ultp-block-b9f37b > .ultp-row-wrapper > .ultp-row-content {
	max-width: 1140px;
	min-height: 44px;
	margin: 0 auto;
	padding: 0 20px;
}

#ultp-header-template .ultp-block-b9f37b,
#ultp-header-template .ultp-block-b9f37b .ultp-column-wrapper,
#ultp-header-template .ultp-block-b9f37b nav {
	margin: 0 !important;
}

#ultp-header-template .ultp-block-b9f37b .wp-block-navigation__container {
	gap: 2px;
}

#ultp-header-template .ultp-block-b9f37b .wp-block-navigation-item__content {
	padding: 11px 15px;
	border-radius: 6px;
	color: #173a6b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	transition: background 150ms ease, color 150ms ease;
}

#ultp-header-template .ultp-block-b9f37b .wp-block-navigation-item__content:hover,
#ultp-header-template .ultp-block-b9f37b .wp-block-navigation-item__content:focus-visible {
	background: rgba(255, 255, 255, 0.72);
	color: #0b5ed7;
}

#ultp-header-template > p:empty {
	display: none !important;
}

@media (max-width: 767px) {
	#ultp-header-template .ultp-block-f14fc9 > .ultp-row-wrapper > .ultp-row-content {
		position: relative;
		grid-template-columns: minmax(0, 1fr) 42px;
		gap: 12px;
		min-height: 60px;
		padding: 7px 15px;
	}

	#ultp-header-template .ultp-block-e6da43 img {
		width: 142px !important;
	}

	#ultp-header-template .sulit-mobile-search-toggle {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
	}

	#ultp-header-template .ultp-block-f14fc9 .ultp-block-594d8c {
		position: absolute;
		top: calc(100% + 8px);
		left: 15px;
		right: 15px;
		z-index: 10;
		display: block !important;
		width: auto !important;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		pointer-events: none;
		transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	}

	#ultp-header-template.sulit-search-open .ultp-block-f14fc9 .ultp-block-594d8c {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	#ultp-header-template .sulit-header-search {
		background: #ffffff;
		box-shadow: 0 12px 28px rgba(23, 58, 107, 0.18);
	}

	#ultp-header-template .ultp-block-b9f37b > .ultp-row-wrapper > .ultp-row-content {
		min-height: 42px;
		padding: 0 15px;
	}

	#ultp-header-template .ultp-block-b9f37b .wp-block-navigation__responsive-container-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
		padding: 9px 16px;
		border-radius: 6px;
		color: #173a6b;
	}

	#ultp-header-template .ultp-block-b9f37b .wp-block-navigation__responsive-container.is-menu-open {
		padding: 24px;
		background: #ffffff;
	}

	#ultp-header-template .ultp-block-b9f37b .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch;
		gap: 4px;
	}

	#ultp-header-template .ultp-block-b9f37b .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 13px 14px;
		background: #f7f9fc;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#ultp-header-template *,
	#ultp-header-template *::before,
	#ultp-header-template *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
