.uckg-news-stories {
	--uckg-ns-accent: #F3141A;
	--uckg-ns-ink: #0D1A2D;
	--uckg-ns-muted: #5a6578;
	--uckg-ns-category: #1D77F1;
	--uckg-ns-card: #ffffff;
	--uckg-ns-btn: #203760;
	display: block;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.uckg-news-stories *,
.uckg-news-stories *::before,
.uckg-news-stories *::after {
	box-sizing: border-box;
}

a.uckg-news-stories__card,
.uckg-news-stories__card--link {
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}
.uckg-news-stories__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 22px;
}

.uckg-news-stories__header-main {
	flex: 1 1 280px;
	min-width: 0;
}

.uckg-news-stories__header-aside {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: flex-end;
	padding-top: 0;
     margin-bottom:10px;
}

.uckg-news-stories__eyebrow {
	margin: 0 0 12px;
	color: #1D77F1;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: var(--uckg-text-sm, 14px);
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0;
	line-height: var(--uckg-leading-sm, 20px);
	text-transform: none;
}

.uckg-news-stories__heading,
.uckg-news-stories h1.uckg-news-stories__heading,
.uckg-news-stories h2.uckg-news-stories__heading,
.uckg-news-stories h3.uckg-news-stories__heading,
.uckg-news-stories h4.uckg-news-stories__heading {
	margin: 0 0 6px;
	color: #0D1A2D;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: 32px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0;
	line-height: 44px;
	text-transform: capitalize;
}

.uckg-news-stories__accent {
	display: block;
	width: 24px;
	height: 4px;
	margin: 0;
	border-radius: 30px;
	background: var(--uckg-ns-accent, #F3141A);
}

.uckg-news-stories__view-all,
.uckg-news-stories a.uckg-news-stories__view-all,
.uckg-news-stories .uckg-news-stories__view-all,
.elementor-widget-uckg_news_stories .uckg-news-stories__view-all,
.elementor-widget-uckg_news_stories a.uckg-news-stories__view-all {
	--uckg-ns-btn-w: 171px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-width: var(--uckg-ns-btn-w);
	height: 48px;
	min-height: 48px;
	max-height: 48px;
	padding: 12px 32px;
	padding-right: 32px;
	border: 1px solid #D2D7DF;
	border-radius: 48px;
	background: #fff;
	color: #203760;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease,
		color 0.35s ease,
		padding-right 0.35s ease,
		gap 0.35s ease;
}

.uckg-news-stories__view-all-label,
.elementor-widget-uckg_news_stories .uckg-news-stories__view-all-label {
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0;
}

.uckg-news-stories__view-all:hover {
	/* Grow past resting 171px when icon appears */
	width: auto;
	min-width: var(--uckg-ns-btn-w);
	height: 48px;
	min-height: 48px;
	max-height: 48px;
	padding-top: 12px;
	padding-bottom: 12px;
	text-decoration: none;
}

.uckg-news-stories__footer {
	display: none;
}

.uckg-news-stories__extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.uckg-news-stories__extra[hidden] {
	display: none !important;
}

/* Transparent background → ink text, gray border at rest, brand blue on hover */
.uckg-news-stories__view-all.uckg-btn--outline {
	--uckg-btn-outline: #1D77F1;
	--uckg-btn-outline-border: #D2D7DF;
	background-color: transparent;
	color: #203760;
	border-color: var(--uckg-btn-outline-border);
}

.uckg-news-stories__view-all.uckg-btn--outline .uckg-news-stories__view-all-icon,
.uckg-news-stories__view-all.uckg-btn--outline .uckg-news-stories__view-all-icon svg,
.uckg-news-stories__view-all.uckg-btn--outline .uckg-news-stories__view-all-icon svg path {
	color: inherit;
	fill: none;
	stroke: currentColor;
}

.uckg-news-stories__view-all.uckg-btn--outline:hover {
	color: var(--uckg-btn-outline);
	border-color: var(--uckg-btn-outline);
	opacity: 1;
}

.uckg-news-stories__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}

.uckg-news-stories--featured-right .uckg-news-stories__layout {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.uckg-news-stories--featured-right .uckg-news-stories__featured {
	order: 2;
}

.uckg-news-stories--featured-right .uckg-news-stories__side {
	order: 1;
}

.uckg-news-stories__featured,
.uckg-news-stories__side {
	min-width: 0;
}

.uckg-news-stories__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.uckg-news-stories__card,
.uckg-news-stories .uckg-event-card.uckg-news-stories__card,
.uckg-news-stories .uckg-news-stories__card--featured,
.uckg-news-stories .uckg-news-stories__card--side {
	background-color: #ffffff;
	background-image: none;
	border-radius: 16px;
	padding: 4px;
	overflow: hidden;
	/* Visible against white/light sections — overrides .uckg-event-card { box-shadow: none } */
}

.uckg-news-stories__card--featured {
	display: flex;
	flex-direction: column;
}

.uckg-news-stories__card--featured .uckg-event-card__media {
	padding: 0;
	margin: 0;
	line-height: 0;
}

.uckg-news-stories__card--featured .uckg-event-card__image {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
	border-radius: 14px;
}

.uckg-news-stories__card--featured .uckg-event-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 12px 12px;
}

.uckg-news-stories__card--side {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	/* gap: 12px; */
}

.uckg-news-stories__card--side .uckg-event-card__media {
	flex: 0 0 285px;
	width: 285px;
	max-width: 285px;
	height: 156px;
	max-height: 156px;
	padding: 0;
	margin: 0;
	line-height: 0;
}

.uckg-news-stories__card--side .uckg-event-card__image {
	display: block;
	width: 285px;
	height: 156px;
	min-height: 156px;
	object-fit: cover;
	border-radius: 14px;
}

.uckg-news-stories__card--side .uckg-event-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px 12px 0;
}

.uckg-news-stories__card .uckg-event-card__category {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #1D77F1;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: var(--uckg-text-sm, 14px);
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0;
	line-height: var(--uckg-leading-sm, 20px);
	text-transform: uppercase;
}

.uckg-news-stories__card .uckg-event-card__category-bullet {
	display: inline-block;
	width: 3.5px;
	height: 3.5px;
	border-radius: 50%;
	background: #1D77F1;
	flex-shrink: 0;
}

.uckg-news-stories__card .uckg-event-card__category-text {
	color: #1D77F1;
}

.uckg-news-stories__card .uckg-event-card__title {
	margin: 4px 0 8px;
	color: #0D1A2D;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: var(--uckg-text-xl, 20px);
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0;
	line-height: 28px;
	text-transform: capitalize;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.uckg-news-stories__card .uckg-event-card__desc {
	margin: 0 0 16px;
	color: #253142;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: var(--uckg-text-md, 16px);
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	line-height: var(--uckg-leading-md, 24px);
	text-transform: capitalize;
}

.uckg-news-stories .uckg-news-stories__card--featured .uckg-event-card__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

/* Side card type — must follow shared card rules (same specificity otherwise loses) */
.uckg-news-stories .uckg-news-stories__card--side .uckg-event-card__category,
.uckg-news-stories .uckg-news-stories__card--side .uckg-event-card__category-text {
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: 12px;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0;
	line-height: 18px;
}

.uckg-news-stories .uckg-news-stories__card--side .uckg-event-card__title,
.uckg-news-stories .uckg-news-stories__card--side h5.uckg-event-card__title {
	margin: 4px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

.uckg-news-stories .uckg-news-stories__card--side .uckg-event-card__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.uckg-news-stories__card-footer {
	margin-top: 0;
}

/* News Stories card CTA — icon always visible; no shared slide-in grow */
.uckg-news-stories__more,
.uckg-news-stories__more.uckg-btn--outline {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #0D1A2D;
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	font-size: var(--uckg-text-sm, 14px);
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0;
	line-height: var(--uckg-leading-sm, 20px);
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.uckg-news-stories__more:hover,
.uckg-news-stories__more.uckg-btn--outline:hover,
.elementor .uckg-news-stories__more:hover,
.elementor .uckg-news-stories__more.uckg-btn--outline:hover {
	padding: 0;
	padding-right: 0;
	gap: 4px;
	border-color: transparent;
	text-decoration: none;
	opacity: 1;
}

.uckg-news-stories__more-icon,
.uckg-news-stories__more .uckg-news-stories__more-icon,
.uckg-news-stories__more:hover .uckg-news-stories__more-icon,
.elementor .uckg-news-stories__more .uckg-news-stories__more-icon,
.elementor .uckg-news-stories__more:hover .uckg-news-stories__more-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	max-width: 16px;
	height: 16px;
	max-height: 16px;
	margin: 0;
	opacity: 1;
	transform: none;
	overflow: visible;
	flex-shrink: 0;
	color: inherit;
	line-height: 1;
}

.uckg-news-stories__more-icon svg,
.uckg-news-stories__more .uckg-news-stories__more-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.uckg-news-stories__more-icon svg,
.uckg-news-stories__more-icon svg path,
.uckg-news-stories__more .uckg-news-stories__more-icon svg,
.uckg-news-stories__more .uckg-news-stories__more-icon svg path,
.uckg-news-stories__more:hover .uckg-news-stories__more-icon svg,
.uckg-news-stories__more:hover .uckg-news-stories__more-icon svg path {
	fill: none;
	stroke: currentColor;
	color: inherit;
}

.uckg-news-stories__empty {
	margin: 0;
	padding: 24px;
	color: var(--uckg-ns-muted);
}

@media (max-width: 900px) {
	.uckg-news-stories__layout,
	.uckg-news-stories--featured-right .uckg-news-stories__layout {
		grid-template-columns: 1fr;
	}

	.uckg-news-stories--featured-right .uckg-news-stories__featured,
	.uckg-news-stories--featured-right .uckg-news-stories__side {
		order: initial;
	}

	.uckg-news-stories__card--featured .uckg-event-card__image {
		height: 280px;
	}

}

@media (max-width: 1024px) {
	.uckg-news-stories__extra {
		grid-template-columns: 1fr;
	}
}

@media (max-width:767px) {
	.uckg-news-stories__eyebrow {
		margin: 0 0 8px;
	}
	.uckg-news-stories__heading,
	.uckg-news-stories h1.uckg-news-stories__heading,
	.uckg-news-stories h2.uckg-news-stories__heading,
	.uckg-news-stories h3.uckg-news-stories__heading,
	.uckg-news-stories h4.uckg-news-stories__heading {
		font-size: 24px;
		line-height: 32px;
	}
	
	.uckg-news-stories__header-aside {
		display: none;
	}

	.uckg-news-stories__footer {
		display: flex;
		justify-content: flex-start;
		margin-top: 32px;
	}

	.uckg-news-stories__view-all,
	.uckg-news-stories a.uckg-news-stories__view-all,
	.uckg-news-stories .uckg-news-stories__view-all,
	.elementor-widget-uckg_news_stories .uckg-news-stories__view-all,
	.elementor-widget-uckg_news_stories a.uckg-news-stories__view-all,
	.elementor-widget-uckg_news_stories .uckg-news-stories__view-all-label {
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
	}

	.uckg-news-stories__card--featured .uckg-event-card__image {
		height: 180px;
	}

	
.uckg-news-stories__layout {
	gap: 16px;
}

	.uckg-news-stories__card--side {
		flex-direction: column;
		gap: 0px;
	}
	.uckg-news-stories__side{
		gap: 16px;
	}

	.uckg-news-stories__card--side .uckg-event-card__media {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
		padding: 0;
	}

	.uckg-news-stories__card--side .uckg-event-card__image {
		width: 100%;
		height: 156px;
		min-height: 156px;
	}

	.uckg-news-stories__card--side .uckg-event-card__body {
		padding: 12px 12px 12px 12px;
	}

	.uckg-news-stories__extra {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 16px;
	}
.uckg-news-stories__card .uckg-event-card__title {
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

.uckg-news-stories .uckg-news-stories__card--featured .uckg-event-card__desc,
.uckg-news-stories .uckg-news-stories__card--side .uckg-event-card__desc {
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
}
