.news-article-page {
	display: flex;
	padding: 0 136px;
	flex-direction: column;
	gap: 36px;
}

.news-article__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.news-article__categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.news-article__title {
	width: 100%;
	word-wrap: break-word;
	color: var(--text-primary, #000);
	font-family: "Daikon";
	font-size: var(--text-h2, 34px);
	font-style: normal;
	font-weight: 500;
	line-height: 110%;
}

.news-article__metadata {
	display: flex;
	gap: 14px;
}

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

.news-article__views > img {
	margin-right: 4px;
}

.news-article__wrapper {
	display: grid;
	gap: 36px;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
}

.news-article____content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 36px;

	flex: 1 0 0;
	grid-column: 1 / span 2;
}

.news-article____content > *:last-child {
	display: flex;
	padding: 24px;
	flex-direction: column;
	gap: 16px;
	border-radius: 24px;
	background: var(--bg-content, #fff);
}

.news-article__body {
	max-width: 100%;
	display: flex;
	padding: 16px;
	flex-direction: column;
	gap: 24px;
	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),
		-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);

    word-wrap: break-word;
    color: var(--text-primary, #000);
    font-family: Daikon;
    font-size: var(--text-body-reg, 18px);
    font-weight: 400;
    line-height: 140%;
}

.news-article__body a {
    color: var(--text-accent, #0350a5) !important;
    text-decoration: underline !important;
}

.news-article__image {
	border-radius: var(--border-radius-card, 18px);
	background: #e7e7e9;
	overflow: hidden;
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-article__image-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.news-article__image-item {
	width: 100%;
	height: auto;
	object-fit: cover;
	position: relative;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.news-article__content {
	word-wrap: break-word;
	color: var(--text-primary, #000);
	font-family: Daikon;
	font-size: var(--text-body-reg, 18px);
	font-weight: 400;
	line-height: 140%;
}

.news-article__navigation {
	display: flex;
	justify-content: space-between;
}

.news-article__nav-button {
	display: flex;
	align-items: center;
	gap: 16px;
	background: transparent;
	border: none;
	color: var(--button-primary-primary, #0350a5);
	font-family: Daikon;
	font-size: 16px;
	font-weight: 400;
	padding: 8px 0;
}

.news-article__nav-button--disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

.news-article__sidebar {
	grid-column: 3 / span 1;
	position: sticky;
	top: 20px;
}

.news-article__sidebar .ua-saved-tab-section__title {
	color: var(--text-primary, #000);
	font-family: "Daikon";
	font-size: var(--text-h4, 20px);
	font-style: normal;
	font-weight: 500;
	line-height: 110%;
	margin-bottom: 16px;
}

.news-article__related-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media screen and (max-width: 1440px) {
	.news-article-page {
		padding: 0 42px;
	}
}

@media screen and (max-width: 1279px) {
	.news-article__wrapper {
		display: flex;
		flex-direction: column;
	}

	.news-article__sidebar {
		width: 100%;
		position: relative;
		top: 0;
	}

	.news-article-page {
		padding: 0;
	}

	.news-article__title {
		font-size: var(--text-h2, 28px);
	}
}

@media screen and (max-width: 599px) {
    .navigation-button-text {
        display: none;
    }
}

.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: "Daikon";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.dashboard-dataset-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
}

.dashboard-dataset-item__wrapper {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 14px;
	border-radius: 14px;
	border: 1px solid var(--border-color-defoult, #cbd5e1);
	transition: border var(--animation-duration);
}

.dashboard-dataset-item__wrapper:hover,
.dashboard-dataset-item__wrapper:focus-within {
	border: 1px solid var(--text-accent-hover, #2065f2);
}

.dashboard-dataset-item__link {
	display: flex;
	flex-direction: row;
	gap: 8px;
	flex: 1;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.dashboard-dataset-item__link:hover,
.dashboard-dataset-item__link:focus {
	text-decoration: none;
	color: inherit;
}

.dashboard-dataset-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.dashboard-dataset-item__format-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.dashboard-dataset-item__format {
	padding: 7px 12px;
	border-radius: 8px;
	border: 1px solid var(--data-icons-icon, #0069ff);
	background: var(--data-icons-icon-bg, rgba(0, 105, 255, 0.05));
	text-align: center;

	color: var(--text-primary, #000);
	font-family: Daikon;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 12px;
}

.dashboard-dataset-item__title {
	margin: 0;
	margin-top: 6px;
	cursor: pointer;

	color: var(--text-primary, #000);
	font-family: Daikon;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 120%;
}

.dashboard-dataset-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.dashboard-dataset-item__meta-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
}

.dashboard-dataset-item__label,
.dashboard-dataset-item__value {
	white-space: nowrap;

	color: var(--text-secondary, #475569);
	font-family: Daikon;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0.07px;
}

.dashboard-dataset-item__link > .ua-divider {
	display: none;
}

.dashboard-dataset-item__download {
}

.dashboard-dataset-item__download-button {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: transparent;
	border-radius: var(--border-radius-button, 999px);
	border: 1px solid var(--button-primary-outline, #0350a5);
	transition: background linear var(--animation-duration);
}

.dashboard-dataset-item__download-button:hover,
.dashboard-dataset-item__download-button:focus {
	background: var(--button-primary-bg-hover, rgba(32, 101, 242, 0.1));
}

@media screen and (max-width: 1279px) {
	.dashboard-dataset-list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 599px) {
	.dashboard-dataset-item__wrapper {
		flex-direction: column;
		gap: 18px;
	}

	.dashboard-dataset-item__link {
		flex-direction: column;
	}

	.dashboard-dataset-item__wrapper > .dashboard-dataset-item__link > .ua-divider {
		display: block;
	}

	.dashboard-dataset-item__download-button {
		width: 100%;
	}
}

.ua-news-gallery {
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; 
}

#gallery-main-img {
    transition: opacity 0.2s ease-in-out;
    will-change: opacity;
}

.ua-news-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ua-news-gallery__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.ua-news-gallery__main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: zoom-in;
}

.ua-news-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
    display: block;
}

.ua-news-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #333;
}

.ua-news-gallery__arrow:hover {
    background: #fff;
    color: #0350A5;
    transform: translateY(-50%) scale(1.05);
}

.ua-news-gallery__arrow--prev {
    left: 12px;
}

.ua-news-gallery__arrow--next {
    right: 12px;
}

.ua-news-gallery__arrow svg {
    width: 24px;
    height: 24px;
}

.ua-news-gallery__thumbs::-webkit-scrollbar {
    height: 6px;
}
.ua-news-gallery__thumbs::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.ua-news-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}

.ua-news-gallery__thumb-btn {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 0;
    background: none;
}

.ua-news-gallery__thumb-btn.is-active,
.ua-news-gallery__thumb-btn:hover {
    opacity: 1;
}

.ua-news-gallery__thumb-btn.is-active {
    border-color: #0350A5;
}

.ua-news-gallery__thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 768px) {
    .ua-news-gallery {
        margin: 1rem 0;
    }
    
    .ua-news-gallery__main {
        border-radius: 6px;
    }

    .ua-news-gallery__arrow {
        width: 32px;
        height: 32px;
    }
    
    .ua-news-gallery__arrow--prev {
        left: 8px;
    }

    .ua-news-gallery__arrow--next {
        right: 8px;
    }
    
    .ua-news-gallery__arrow svg {
        width: 18px;
        height: 18px;
    }

    .ua-news-gallery__thumb-btn {
        flex: 0 0 56px;
        height: 48px;
        border-radius: 4px;
    }
}