.ua-saved-tab-section--ua-last-news__list {
	padding: 0 !important;
	background: none !important;
}

.ua-last-news__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 24px;
	grid-row-gap: 36px;
}

#top-news-section {
	background: none;
	padding: 0;
}

.ua-news-popular__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ua-news-popular {
	display: grid;
	gap: 24px;
	align-self: stretch;
	grid-template-columns: repeat(3, 1fr);
	padding: 42px 136px 24px 136px;
}

.ua-news-popular__main {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
	flex: 1 0 0;
	align-self: stretch;
	grid-column: 1 / span 2;
	border-radius: 24px;
	position: relative;
	overflow: hidden;
}

.ua-news-popular__main::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		180deg,
		rgba(28, 62, 130, 0) 37.5%,
		#1c3e82 100%
	);
	z-index: 2;
}

.ua-news-popular__main-image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.ua-news-popular__image {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.ua-news-popular__content {
	position: absolute;
	bottom: 24px;
	left: 24px;
	right: 24px;
	z-index: 3;
}

.ua-news-popular__content-date {
	color: var(--core-colors-neutral-White, #fff);
	font-family: Daikon;
	font-size: 14px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0.07px;
	margin-bottom: 8px;
}

.ua-news-popular__content-title {
	color: var(--core-colors-neutral-White, #fff);
	font-family: "Kyiv*Type Sans";
	font-size: var(--text-h3, 24px);
	font-weight: 500;
	line-height: 110%;
	margin-bottom: 14px;
}

.ua-news-last {
	padding: var(--spacing-margin-top, 100px) 136px;
}

@media screen and (max-width: 1440px) {
	.ua-news-last {
		padding: var(--spacing-margin-top, 100px) 42px;
	}

	.ua-news-popular {
		padding: 42px 42px 8px 42px;
	}
}

@media screen and (max-width: 1279px) {
	.ua-news-popular {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		align-self: stretch;
	}

	.ua-news-popular__main {
		min-height: 350px;
		grid-column: unset;
	}

	.ua-news-last {
		padding: var(--spacing-margin-top, 64px)
			var(--spacing-margin-core, 24px);
	}

	.ua-news-popular {
		padding: 24px;
	}

	.ua-last-news__list {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media screen and (max-width: 988px) {
	.ua-last-news__list {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media screen and (max-width: 599px) {
	.ua-news-popular {
		padding: 24px 14px;
	}

	.ua-news-last {
		padding: var(--spacing-margin-top, 42px)
			var(--spacing-margin-core, 14px);
	}

	.ua-last-news__list {
		grid-template-columns: repeat(1, 1fr) !important;
	}

	.ua-news-popular__main .dataset-card__keywords-list {
		display: none;
	}

	.ua-news-popular__main {
		max-height: 278px;
	}

	.ua-news-popular__main {
		min-height: 278px;
	}
}

.ua-news-item {
	overflow: hidden;
	width: 100%;
	border-radius: 24px;
	border: 1px solid var(--border-color-defoult, #cbd5e1);
	background: var(--bg-content, #fff);
	box-shadow: -18px 52px 15px 0 rgba(136, 159, 205, 0),
		-12px 33px 14px 0 rgba(136, 159, 205, 0.01),
		-7px 19px 12px 0 rgba(136, 159, 205, 0.02),
		-3px 8px 9px 0 rgba(136, 159, 205, 0.03),
		-1px 2px 5px 0 rgba(136, 159, 205, 0.04);
}

.ua-news-item-link {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ua-news-item-link:hover,
.ua-news-item-link:focus {
	text-decoration: none;
}

.ua-news-item-photo {
	width: 100%;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		180deg,
		rgba(28, 62, 130, 0) 37.5%,
		#1c3e82 100%
	);
}

.ua-news-item-photo-img {
	height: 100%;
	width: auto;
}

.ua-news-item-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
}

.ua-news-item-logo {
	display: flex;
	width: fit-content;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--border-color-defoult, #cbd5e1);
	background: var(--bg-content, #fff);
}

.ua-news-item-text {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	align-self: stretch;
	color: var(--text-primary, #000);
	font-family: Daikon;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}

.ua-news-item-metadata {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--text-secondary, #475569);
	font-family: Daikon;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	letter-spacing: 0.07px;
}

.ua-news-item-metadata > div {
	display: flex;
	align-items: center;
	gap: 4px;
}

@media screen and (max-width: 1279px) {
	.ua-news-item-text {
		font-size: 16px;
	}
}

.ua-news-list-item {
    border-radius: var(--border-radius-card, 18px);
    background: var(--core-colors-neutral-White, #FFF);
    box-shadow: -18px 52px 15px 0 rgba(136, 159, 205, 0.00),
        -12px 33px 14px 0 rgba(136, 159, 205, 0.01),
        -7px 19px 12px 0 rgba(136, 159, 205, 0.02),
        -3px 8px 9px 0 rgba(136, 159, 205, 0.03),
        -1px 2px 5px 0 rgba(136, 159, 205, 0.04);
}

.ua-news-list-item__link {
    display: flex;
    height: 126.25px;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.ua-news-list-item__link:hover,
.ua-news-list-item__link:focus {
    text-decoration: none;
    border-radius: var(--border-radius-card, 18px);
    outline: 1px solid var(--border-color-accent, #0350A5);
    box-shadow: -18px 52px 15px 0 rgba(136, 159, 205, 0.00),
        -12px 33px 14px 0 rgba(136, 159, 205, 0.02),
        -7px 19px 12px 0 rgba(136, 159, 205, 0.07),
        -3px 8px 9px 0 rgba(136, 159, 205, 0.12),
        -1px 2px 5px 0 rgba(136, 159, 205, 0.13);
    background: linear-gradient(0deg, var(--bg-hover, rgba(32, 101, 242, 0.10)) 0%,
        var(--bg-hover, rgba(32, 101, 242, 0.10)) 100%),
        var(--bg-content, #FFF);
}

.ua-news-list-item__date {
    color: var(--text-secondary, #475569);
    font-family: Daikon;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.07px;
}

.ua-news-list-item__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--core-colors-neutral-Black, #000);
    font-family: "Kyiv*Type Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}
