.hc-news-article {
	position: relative;
	padding: clamp(64px, 7vw, 112px) 0 clamp(80px, 9vw, 136px);
	background:
		linear-gradient(90deg, rgba(7, 24, 39, .035) 1px, transparent 1px) center top / 88px 88px,
		var(--hc-paper);
}

.hc-news-article::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(1440px, calc(100vw - 80px));
	height: 1px;
	background: var(--hc-line);
	transform: translateX(-50%);
}

.hc-news-article__body {
	width: min(1220px, 100%);
	margin-inline: auto;
}

.hc-news-article__content {
	color: var(--hc-ink);
	font-size: 18px;
	line-height: 1.75;
}

.hc-news-article__content > * {
	max-width: 900px;
	margin-inline: auto;
}

.hc-news-article__content > :first-child {
	margin-top: 0;
}

.hc-news-article__content > :last-child {
	margin-bottom: 0;
}

.hc-news-article__content p {
	margin-top: 0;
	margin-bottom: 28px;
}

.hc-news-article__content a {
	color: var(--hc-ink);
	text-decoration-color: var(--hc-signal);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color .2s ease;
}

.hc-news-article__content a:hover,
.hc-news-article__content a:focus-visible {
	color: var(--hc-signal);
}

.hc-news-article__lead {
	position: relative;
	max-width: 1040px !important;
	margin-bottom: clamp(52px, 6vw, 84px) !important;
	padding: clamp(28px, 4vw, 48px) clamp(30px, 5vw, 68px) clamp(30px, 4vw, 52px) clamp(42px, 6vw, 82px);
	border: 1px solid var(--hc-line);
	background: rgba(255, 255, 255, .74);
	box-shadow: 0 24px 70px rgba(7, 24, 39, .06);
	font-size: clamp(19px, 1.55vw, 23px);
	line-height: 1.65;
}

.hc-news-article__lead::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: -1px;
	width: 6px;
	background: var(--hc-signal);
}

.hc-news-article__lead::after {
	content: "Событие верфи";
	display: block;
	margin-top: 24px;
	color: var(--hc-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
}

.hc-news-gallery {
	max-width: none !important;
	margin: clamp(56px, 7vw, 92px) 0 0 !important;
}

.hc-news-gallery__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--hc-line);
}

.hc-news-gallery__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--hc-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.hc-news-gallery__eyebrow::before {
	content: "";
	width: 30px;
	height: 2px;
	background: var(--hc-signal);
}

.hc-news-gallery__title {
	margin: 10px 0 0;
	font-family: var(--hc-heading);
	font-size: clamp(28px, 3.5vw, 46px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -.04em;
	text-transform: uppercase;
}

.hc-news-gallery__count {
	flex: 0 0 auto;
	padding-bottom: 5px;
	color: var(--hc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hc-news-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.hc-news-gallery__item {
	position: relative;
	min-width: 0;
	margin: 0;
	background: var(--hc-ink);
	overflow: hidden;
}

.hc-news-gallery__item:first-child:nth-last-child(n + 3) {
	grid-column: 1 / -1;
}

.hc-news-gallery__button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: var(--hc-ink);
	cursor: zoom-in;
	overflow: hidden;
}

.hc-news-gallery__item .hc-news-gallery__button {
	aspect-ratio: 4 / 3;
}

.hc-news-gallery__item:first-child:nth-last-child(n + 3) .hc-news-gallery__button {
	aspect-ratio: 16 / 8.25;
}

.hc-news-gallery__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.2, .65, .3, 1), filter .35s ease;
}

.hc-news-gallery__button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(7, 24, 39, .58), transparent 42%);
	opacity: .72;
	transition: opacity .3s ease;
}

.hc-news-gallery__open {
	position: absolute;
	z-index: 2;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .55);
	background: rgba(7, 24, 39, .5);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
	transition: background-color .2s ease, border-color .2s ease;
}

.hc-news-gallery__open::after {
	content: "+";
	color: var(--hc-signal);
	font-size: 18px;
	font-weight: 400;
	line-height: .5;
}

.hc-news-gallery__button:hover .hc-news-gallery__image,
.hc-news-gallery__button:focus-visible .hc-news-gallery__image {
	transform: scale(1.025);
	filter: saturate(1.08);
}

.hc-news-gallery__button:hover::after,
.hc-news-gallery__button:focus-visible::after {
	opacity: .94;
}

.hc-news-gallery__button:hover .hc-news-gallery__open,
.hc-news-gallery__button:focus-visible .hc-news-gallery__open {
	border-color: var(--hc-signal);
	background: var(--hc-signal);
}

.hc-news-gallery__button:hover .hc-news-gallery__open::after,
.hc-news-gallery__button:focus-visible .hc-news-gallery__open::after {
	color: #fff;
}

.hc-news-gallery__button:focus-visible {
	outline: 3px solid var(--hc-signal);
	outline-offset: -3px;
}

.hc-news-gallery__item > figcaption {
	padding: 13px 16px 14px;
	background: var(--hc-ink);
	color: rgba(255, 255, 255, .68);
	font-size: 12px;
	line-height: 1.5;
}

.hc-news-video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: none !important;
	margin: clamp(68px, 8vw, 104px) 0 32px !important;
	padding-top: 32px;
	border-top: 1px solid var(--hc-line);
}

.hc-news-video-grid::before {
	content: "Видео";
	grid-column: 1 / -1;
	margin-bottom: 4px;
	font-family: var(--hc-heading);
	font-size: clamp(27px, 3vw, 42px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -.04em;
	text-transform: uppercase;
}

.hc-news-video-grid br {
	display: none;
}

.hc-news-video-grid iframe,
.hc-news-video-grid video,
.hc-news-video-grid embed {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	border: 0;
	background: var(--hc-ink);
}

.hc-news-article__actions {
	max-width: none !important;
	margin: 26px 0 0 !important;
}

.hc-news-article__actions a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px;
	border: 1px solid var(--hc-ink);
	color: var(--hc-ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hc-news-article__actions a::after {
	content: "↗";
	color: var(--hc-signal);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
}

.hc-news-article__actions a:hover,
.hc-news-article__actions a:focus-visible {
	border-color: var(--hc-ink);
	background: var(--hc-ink);
	color: #fff;
}

.hc-news-article__content > img,
.hc-news-article__content > figure:not(.hc-news-gallery__item),
.hc-news-article__content > p img {
	max-width: 100%;
	height: auto;
}

.hc-news-article__footer {
	display: flex;
	justify-content: flex-start;
	max-width: 1220px;
	margin: clamp(72px, 9vw, 120px) auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--hc-line);
}

.hc-news-article__back {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--hc-ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	transition: color .2s ease;
}

.hc-news-article__back span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--hc-line);
	color: var(--hc-signal);
	font-size: 18px;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hc-news-article__back:hover,
.hc-news-article__back:focus-visible {
	color: var(--hc-signal);
}

.hc-news-article__back:hover span,
.hc-news-article__back:focus-visible span {
	border-color: var(--hc-signal);
	background: var(--hc-signal);
	color: #fff;
}

.hc-news-lightbox {
	width: min(1260px, calc(100vw - 40px));
	max-width: none;
	max-height: calc(100vh - 40px);
	padding: 0;
	border: 0;
	background: #04111b;
	color: #fff;
	overflow: visible;
}

.hc-news-lightbox::backdrop {
	background: rgba(2, 9, 15, .94);
	backdrop-filter: blur(12px);
}

.hc-news-lightbox__figure {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	max-height: calc(100vh - 40px);
	margin: 0;
}

.hc-news-lightbox__figure img {
	display: block;
	width: 100%;
	max-height: calc(100vh - 92px);
	margin: 0;
	object-fit: contain;
	background: #02090f;
}

.hc-news-lightbox__figure figcaption {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 52px;
	padding: 14px 88px;
	color: rgba(255, 255, 255, .66);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}

[data-news-lightbox-counter] {
	color: var(--hc-signal);
}

.hc-news-lightbox__close,
.hc-news-lightbox__nav {
	position: absolute;
	z-index: 3;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .38);
	background: rgba(7, 24, 39, .66);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(10px);
	transition: background-color .2s ease, border-color .2s ease;
}

.hc-news-lightbox__close {
	top: 14px;
	right: 14px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
}

.hc-news-lightbox__nav {
	top: 50%;
	width: 50px;
	height: 50px;
	font-size: 22px;
	transform: translateY(-50%);
}

.hc-news-lightbox__nav--prev {
	left: 16px;
}

.hc-news-lightbox__nav--next {
	right: 16px;
}

.hc-news-lightbox__close:hover,
.hc-news-lightbox__close:focus-visible,
.hc-news-lightbox__nav:hover,
.hc-news-lightbox__nav:focus-visible {
	border-color: var(--hc-signal);
	background: var(--hc-signal);
	outline: none;
}

.hc-news-lightbox__nav:disabled {
	display: none;
}

html.hc-news-lightbox-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.hc-news-article::before {
		width: min(100% - 48px, 1440px);
	}

	.hc-news-article__content {
		font-size: 17px;
	}

	.hc-news-gallery__grid,
	.hc-news-video-grid {
		gap: 12px;
	}
}

@media (max-width: 700px) {
	.hc-news-article {
		padding: 52px 0 84px;
	}

	.hc-news-article::before {
		width: calc(100% - 32px);
	}

	.hc-news-article__content {
		font-size: 16px;
		line-height: 1.68;
	}

	.hc-news-article__lead {
		margin-bottom: 52px !important;
		padding: 26px 24px 28px 30px;
		font-size: 18px;
		line-height: 1.58;
	}

	.hc-news-gallery__heading {
		align-items: flex-start;
		padding-bottom: 16px;
	}

	.hc-news-gallery__count {
		padding-top: 6px;
	}

	.hc-news-gallery__grid,
	.hc-news-video-grid {
		grid-template-columns: 1fr;
	}

	.hc-news-gallery__item:first-child:nth-last-child(n + 3) {
		grid-column: auto;
	}

	.hc-news-gallery__item:first-child:nth-last-child(n + 3) .hc-news-gallery__button,
	.hc-news-gallery__item .hc-news-gallery__button {
		aspect-ratio: 4 / 3;
	}

	.hc-news-gallery__open {
		right: 12px;
		bottom: 12px;
	}

	.hc-news-video-grid {
		margin-top: 64px !important;
		padding-top: 26px;
	}

	.hc-news-lightbox {
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
	}

	.hc-news-lightbox__figure,
	.hc-news-lightbox__figure img {
		max-height: calc(100vh - 20px);
	}

	.hc-news-lightbox__figure img {
		max-height: calc(100vh - 72px);
	}

	.hc-news-lightbox__figure figcaption {
		min-height: 52px;
		padding-inline: 62px;
	}

	.hc-news-lightbox__nav {
		top: auto;
		bottom: 6px;
		width: 40px;
		height: 40px;
		transform: none;
	}

	.hc-news-lightbox__nav--prev {
		left: 6px;
	}

	.hc-news-lightbox__nav--next {
		right: 6px;
	}

	.hc-news-lightbox__close {
		top: 8px;
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-news-gallery__image,
	.hc-news-gallery__open,
	.hc-news-gallery__button::after {
		transition: none;
	}
}
