/**
 * Section Header — presets: live, link, split.
 */

.uckg-section-header {
	--uckg-sh-blue: #1D77F1;
	--uckg-sh-ink: #1a2744;
	--uckg-sh-muted: #4a5568;
	--uckg-sh-red: #d62828;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px 40px;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.uckg-section-header *,
.uckg-section-header *::before,
.uckg-section-header *::after {
	box-sizing: border-box;
}

.uckg-section-header__main {
	min-width: 0;
	flex: 1 1 280px;
	max-width: 42rem;
}

.uckg-section-header__eyebrow {
	margin: 0 0 10px;
	color: var(--uckg-sh-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.uckg-section-header__title {
	margin: 0;
	color: var(--uckg-sh-ink);
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	text-transform: capitalize;
}

.uckg-section-header__accent {
	display: block;
	width: 48px;
	height: 4px;
	margin: 14px 0 0;
	border-radius: 999px;
	background: var(--uckg-sh-red);
}

.uckg-section-header__desc {
	margin: 18px 0 0;
	color: var(--uckg-sh-muted);
	font-size: 1.05rem;
	line-height: 1.55;
	text-transform: capitalize;
	max-width: 38em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.uckg-section-header__aside {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding-top: 4px;
}

.uckg-section-header--link {
	align-items: center;
}

.uckg-section-header--link .uckg-section-header__aside {
	padding-top: 0;
	align-self: center;
}

/* Split — title left, description right */
.uckg-section-header--split {
	align-items: center;
	justify-content: space-between;
	gap: 32px 64px;
}

.uckg-section-header--split .uckg-section-header__main {
	flex: 0 1 540px;
	max-width: 540px;
}

.uckg-section-header--split .uckg-section-header__title {
	max-width: 540px;
}

.uckg-section-header--split .uckg-section-header__aside {
	flex: 0 1 400px;
	max-width: 400px;
	align-items: flex-start;
	padding-top: 0;
	align-self: flex-end;
}

.uckg-section-header--split .uckg-section-header__desc {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 400px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.uckg-section-header__live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--uckg-sh-red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	max-width: 100%;
}

.uckg-section-header__live-icon {
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 1;
	color: #fff;
}

.uckg-section-header__live-icon i,
.uckg-section-header__live-icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.uckg-section-header__live-text {
	min-width: 0;
}

.uckg-section-header__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid #d0d7e2;
	background: #fff;
	color: var(--uckg-sh-ink);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.uckg-section-header__button:hover {
	opacity: 0.9;
}

@media (max-width: 767px) {
	.uckg-section-header {
		flex-direction: column;
		align-items: stretch;
	}

	.uckg-section-header--split {
		gap:6px;
	}

	.uckg-section-header--split .uckg-section-header__main,
	.uckg-section-header--split .uckg-section-header__aside,
	.uckg-section-header--split .uckg-section-header__title,
	.uckg-section-header--split .uckg-section-header__desc {
		max-width: none;
		flex-basis: auto;
	}

	.uckg-section-header__aside {
		align-self: flex-start;
		padding-top: 0;
	}

	.uckg-section-header__live {
		white-space: normal;
	}
}
