/* =========================================================
   ВсеПроВсе.pro — clean DLE template style
   Готовый файл styles.css
   ========================================================= */

/* ---------- Base ---------- */

:root {
	--vse-bg: #f3f6f8;
	--vse-blue: #16728a;
	--vse-blue-dark: #0f5f73;
	--vse-text: #1d2530;
	--vse-muted: #6d7b86;
	--vse-border: #e3ebf0;
	--vse-card: #ffffff;
	--vse-shadow: 0 12px 34px rgba(15, 38, 52, .08);
	--vse-radius: 18px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	background: var(--vse-bg);
	color: var(--vse-text);
	font-family: Arial, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--vse-blue);
	text-decoration: none;
}

a:hover {
	color: var(--vse-blue-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
textarea,
select {
	font-family: inherit;
}

.clrfix:after {
	content: "";
	display: table;
	clear: both;
}

.hide,
.title_hide {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.grey {
	color: var(--vse-muted);
}

/* ---------- DLE wrappers reset ---------- */

.page,
.page > .wrp,
.wrp,
.midside,
.conteiner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

.rightside,
#cat_menu,
#q_search,
#search_btn,
#mobile_menu_btn,
.loginbtn,
.login_menu,
.userlogin,
#login_panel,
#login_pane,
.pm_status,
.btn-border,
.btn_border,
.soc_links,
.content_top,
.pagetools,
.story_icons,
.story_tools,
.meta,
.rate,
.rating,
.fixed_label {
	display: none !important;
}

/* ---------- Icons ---------- */

.icon {
	display: inline-block;
	width: 1.35em;
	height: 1.35em;
	fill: currentColor;
	vertical-align: middle;
}

.icon-logo {
	width: 42px;
	height: 42px;
}

/* ---------- Header ---------- */

#header {
	width: 100%;
	margin: 0 0 34px;
	padding: 0;
	background: var(--vse-blue);
	box-shadow: 0 4px 18px rgba(15, 38, 52, .14);
}

#header .header {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 0 auto;
	background: transparent;
	position: static;
	height: auto;
	z-index: auto;
	box-shadow: none;
}

#header .header > .wrp,
#header .midside {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	float: none;
}

#header_menu {
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 34px;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.logotype {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 250px;
	height: auto;
	color: #fff !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.logotype .icon-logo,
.logo_icon .icon,
.logo_icon svg {
	width: 42px;
	height: 42px;
	fill: #fff;
	color: #fff;
}

.logo_title {
	margin: 0;
	color: #fff;
	font-size: 23px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: -.02em;
}

#top_menu {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	text-align: left;
	white-space: normal;
}

.vse-top-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vse-top-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vse-top-menu a {
	display: block;
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 78px;
	white-space: nowrap;
	text-decoration: none !important;
	opacity: .96;
}

.vse-top-menu a:hover {
	opacity: 1;
	text-decoration: underline !important;
}

/* ---------- Main layout ---------- */

.conteiner {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 0 auto;
}

.conteiner > .midside {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

#content {
	width: 760px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

/* ---------- Clean shortstory card ---------- */

.vse-card {
	display: block;
	width: 100%;
	margin: 0 auto 38px;
	padding: 34px 38px;
	background: var(--vse-card);
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
}

.vse-card-cat {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--vse-blue);
}

.vse-card-cat a {
	color: var(--vse-blue);
	text-decoration: none;
}

.vse-card-title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 30px;
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -.03em;
	color: #111;
}

.vse-card-title a {
	color: #111;
	text-decoration: none;
}

.vse-card-title a:hover {
	color: var(--vse-blue);
	text-decoration: none;
}

.vse-card-text {
	margin: 0 0 24px;
	color: #303840;
	font-size: 17px;
	line-height: 1.7;
}

.vse-card-text p {
	margin: 0 0 12px;
}

.vse-card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid #edf2f5;
}

.vse-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	background: var(--vse-blue);
	color: #fff !important;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
}

.vse-card-btn:hover {
	background: var(--vse-blue-dark);
	color: #fff !important;
	text-decoration: none !important;
}

.vse-card-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #7d8d96;
	font-size: 13px;
	white-space: nowrap;
}

.vse-card-edit {
	margin-top: 14px;
	font-size: 13px;
}

/* ---------- Old DLE boxes fallback ---------- */

.box,
.story,
.shortstory,
.com_list div.comment {
	background: #fff;
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
	margin-bottom: 28px;
}

.box_in {
	padding: 34px 38px;
}

.story .title {
	margin: 0 0 16px;
	font-size: 30px;
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -.03em;
}

.story .title a {
	color: #111;
	text-decoration: none !important;
}

.story .text,
.story .box_in > .text {
	font-size: 17px;
	line-height: 1.7;
	color: #303840;
}

/* ---------- Full story / static pages ---------- */

.full-story,
.fullstory,
.page_static,
.box_in.story {
	font-size: 17px;
	line-height: 1.75;
	color: #27313a;
}

.full-story p,
.fullstory p,
.page_static p,
.box_in.story p {
	margin: 0 0 18px;
}

.full-story h1,
.fullstory h1,
.page_static h1,
.story h1 {
	margin: 0 0 20px;
	font-size: 34px;
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -.03em;
	color: #111;
}

.full-story h2,
.fullstory h2,
.page_static h2,
.story h2 {
	margin: 32px 0 16px;
	font-size: 25px;
	line-height: 1.25;
	font-weight: 900;
	color: #111;
}

.full-story h3,
.fullstory h3,
.page_static h3,
.story h3 {
	margin: 26px 0 12px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 900;
	color: #111;
}

.full-story ul,
.fullstory ul,
.page_static ul,
.story ul {
	margin: 0 0 20px 24px;
	padding: 0;
	list-style: disc;
}

.full-story ol,
.fullstory ol,
.page_static ol,
.story ol {
	margin: 0 0 20px 24px;
	padding: 0;
	list-style: decimal;
}

.full-story li,
.fullstory li,
.page_static li,
.story li {
	margin-bottom: 8px;
}

.full-story blockquote,
.fullstory blockquote,
.page_static blockquote,
.story blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--vse-blue);
	background: #f3f8fa;
	border-radius: 0 12px 12px 0;
}

/* ---------- Footer menu ---------- */

.vse-footer-menu {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 50px auto 0;
	padding: 36px 48px;
	background: #fff;
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 60px;
}

.vse-footer-col h4 {
	margin: 0 0 16px;
	color: #111;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: -.02em;
}

.vse-footer-col a {
	display: block;
	margin: 0 0 10px;
	color: #51636d;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
}

.vse-footer-col a:hover {
	color: var(--vse-blue);
	text-decoration: none;
}

/* ---------- Footer ---------- */

.footer {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 24px auto 50px;
	padding: 0;
	background: transparent;
	border: 0;
	color: #71818a;
	font-size: 14px;
}

.footer .wrp,
.footer .midside {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
	display: block;
}

.footer_text {
	padding: 0;
	text-align: left;
	color: #71818a;
}

/* ---------- Navigation / pagination ---------- */

.navigation {
	width: 760px;
	max-width: 100%;
	margin: 20px auto 40px;
}

.pages {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pages a,
.pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--vse-border);
	color: var(--vse-text);
	font-weight: 800;
	text-decoration: none;
}

.pages span,
.pages a:hover {
	background: var(--vse-blue);
	border-color: var(--vse-blue);
	color: #fff;
	text-decoration: none;
}

/* ---------- Forms / buttons ---------- */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
	width: 100%;
	border: 1px solid var(--vse-border);
	background: #fff;
	border-radius: 10px;
	padding: 12px 14px;
	color: var(--vse-text);
	font-size: 15px;
	outline: none;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--vse-blue);
	box-shadow: 0 0 0 3px rgba(22,114,138,.12);
}

.btn,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--vse-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--vse-blue-dark);
}

/* ---------- Register / lost password page ---------- */

.page_form {
	width: 460px;
	max-width: calc(100% - 40px);
	margin: 60px auto;
	padding: 0;
}

.page_form__body {
	background: #fff;
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
	padding: 34px;
}

.page_form__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	left: 20px;
	top: 20px;
	width: 44px;
	height: 44px;
	background: var(--vse-blue);
	color: #fff;
	border-radius: 50%;
}

.page_form__logo {
	text-align: center;
	margin-bottom: 24px;
}

/* ---------- Comments fallback ---------- */

.comments,
.addcomment {
	width: 760px;
	max-width: 100%;
	margin: 0 auto 30px;
	background: #fff;
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
	padding: 30px;
}

.com_list div.comment {
	padding: 22px 0;
	border: 0;
	border-bottom: 1px solid var(--vse-border);
	border-radius: 0;
	box-shadow: none;
}

.com_list div.comment:last-child {
	border-bottom: 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
	#header {
		margin-bottom: 28px;
	}

	#header .header,
	.conteiner,
	#content,
	.vse-footer-menu,
	.footer,
	.navigation,
	.comments,
	.addcomment {
		width: auto;
		max-width: none;
		margin-left: 12px;
		margin-right: 12px;
	}

	#header_menu {
		min-height: 68px;
		gap: 16px;
	}

	.logotype {
		min-width: auto;
	}

	.logo_title {
		font-size: 18px;
	}

	.vse-top-menu {
		display: none;
	}

	.vse-card,
	.box_in {
		padding: 24px 22px;
	}

	.vse-card-title,
	.story .title {
		font-size: 24px;
	}

	.vse-card-bottom {
		display: block;
	}

	.vse-card-meta {
		margin-top: 12px;
		display: block;
	}

	.vse-card-meta span {
		display: block;
		margin-bottom: 4px;
	}

	.vse-footer-menu {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 26px 24px;
	}

	.footer_text {
		text-align: center;
	}

	.full-story h1,
	.fullstory h1,
	.page_static h1,
	.story h1 {
		font-size: 27px;
	}

	.full-story h2,
	.fullstory h2,
	.page_static h2,
	.story h2 {
		font-size: 22px;
	}
}
/* ===== MAIN HERO ===== */

.vse-hero {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 0 auto 42px;
	padding: 42px 48px;
	background: linear-gradient(135deg, #16728a, #0f5f73);
	border-radius: 22px;
	box-shadow: 0 16px 40px rgba(15, 38, 52, .12);
	color: #fff;
}

.vse-hero-text h1 {
	margin: 0 0 12px;
	font-size: 42px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -.04em;
	color: #fff;
}

.vse-hero-text p {
	margin: 0 0 26px;
	max-width: 680px;
	font-size: 19px;
	line-height: 1.55;
	color: rgba(255,255,255,.9);
}

.vse-hero-search {
	display: flex;
	gap: 12px;
	max-width: 680px;
	margin-bottom: 28px;
}

.vse-hero-search input[type="search"] {
	height: 50px;
	background: #fff;
	border: 0;
	border-radius: 12px;
	padding: 0 18px;
	font-size: 16px;
	color: #111;
}

.vse-hero-search button {
	height: 50px;
	padding: 0 26px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #16728a;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
}

.vse-hero-search button:hover {
	background: #eef7fa;
}

.vse-cats {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}

.vse-cats a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 12px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.vse-cats a:hover {
	background: #fff;
	color: #16728a;
	text-decoration: none;
}

/* немного опускаем карточку статьи после hero */

@media (max-width: 900px) {
	.vse-hero {
		width: auto;
		max-width: none;
		margin-left: 12px;
		margin-right: 12px;
		padding: 28px 22px;
	}

	.vse-hero-text h1 {
		font-size: 31px;
	}

	.vse-hero-text p {
		font-size: 16px;
	}

	.vse-hero-search {
		display: block;
	}

	.vse-hero-search input[type="search"] {
		margin-bottom: 10px;
	}

	.vse-hero-search button {
		width: 100%;
	}

	.vse-cats {
	grid-template-columns: repeat(2, 1fr);
}
}
.vse-section-title {
	width: 760px;
	max-width: calc(100% - 40px);
	margin: 0 auto 18px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 900;
	color: #111;
	letter-spacing: -.03em;
}
/* ===== FULLSTORY SEO CLEAN STYLE ===== */

.vse-full {
	width: 860px;
	max-width: calc(100% - 40px);
	margin: 0 auto 38px;
	padding: 42px 48px;
	background: #fff;
	border: 1px solid #e3ebf0;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 38, 52, .08);
}

.vse-breadcrumbs {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.4;
	color: #6d7b86;
}

.vse-breadcrumbs a {
	color: #16728a;
	text-decoration: none;
}

.vse-breadcrumbs a:hover {
	text-decoration: underline;
}

.vse-bc-sep {
	margin: 0 8px;
	color: #9aa8b2;
}

.vse-full-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #edf2f5;
}

.vse-full-cat {
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 800;
	color: #16728a;
}

.vse-full-cat a {
	color: #16728a;
	text-decoration: none;
}

.vse-full-title {
	margin: 0 0 16px;
	font-size: 38px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.04em;
	color: #111;
}

.vse-full-meta {
	display: flex;
	gap: 16px;
	font-size: 14px;
	color: #7d8d96;
}

.vse-full-text {
	font-size: 18px;
	line-height: 1.78;
	color: #27313a;
}

.vse-full-text p {
	margin: 0 0 20px;
}

.vse-full-text h2 {
	margin: 36px 0 18px;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 900;
	color: #111;
}

.vse-full-text h3 {
	margin: 30px 0 14px;
	font-size: 23px;
	line-height: 1.3;
	font-weight: 900;
	color: #111;
}

.vse-full-text ul {
	margin: 0 0 22px 24px;
	padding: 0;
	list-style: disc;
}

.vse-full-text ol {
	margin: 0 0 22px 24px;
	padding: 0;
	list-style: decimal;
}

.vse-full-text li {
	margin-bottom: 9px;
}

.vse-full-text blockquote {
	margin: 26px 0;
	padding: 20px 24px;
	background: #f3f8fa;
	border-left: 4px solid #16728a;
	border-radius: 0 12px 12px 0;
}

.vse-full-text img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.vse-next-prev {
	width: 860px;
	max-width: calc(100% - 40px);
	margin: 0 auto 34px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.vse-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	background: #16728a;
	color: #fff !important;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
}

.vse-nav-btn:hover {
	background: #0f5f73;
	color: #fff !important;
}

.vse-nav-btn-next {
	margin-left: auto;
}

.vse-comments {
	width: 860px;
	max-width: calc(100% - 40px);
	margin: 0 auto 50px;
	padding: 34px 38px;
	background: #fff;
	border: 1px solid #e3ebf0;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 38, 52, .08);
}

.vse-comments-title {
	margin: 0 0 22px;
	font-size: 24px;
	font-weight: 900;
	color: #111;
}

@media (max-width: 900px) {
	.vse-full,
	.vse-next-prev,
	.vse-comments {
		width: auto;
		max-width: none;
		margin-left: 12px;
		margin-right: 12px;
	}

	.vse-full {
		padding: 28px 22px;
	}

	.vse-full-title {
		font-size: 29px;
	}

	.vse-full-text {
		font-size: 17px;
	}

	.vse-next-prev {
		display: block;
	}

	.vse-nav-btn {
		width: 100%;
		margin-bottom: 10px;
	}

	.vse-comments {
		padding: 26px 22px;
	}
}
.article-related {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.article-related h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: 0.2s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.related-card:hover {
  border-color: #0f7f95;
  transform: translateY(-2px);
}

.related-card__link {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
}

.related-card__title {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #0f6f82;
}

.related-card__link:hover .related-card__title {
  color: #0b5f70;
}

@media (max-width: 768px) {
  .article-related {
    margin-top: 32px;
    padding-top: 22px;
  }

  .article-related h2 {
    font-size: 21px;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }
}
.article-share {
	margin: 30px 0 0;
	padding: 18px;
	border-radius: 18px;
	background: #f5f7fb;
	border: 1px solid #e3e8f0;
}

.article-share__title {
	margin-bottom: 14px;
	font-size: 18px;
	font-weight: 800;
	color: #1f2937;
}

.article-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 8px 8px 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 12px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}

.article-share__btn:hover {
	transform: translateY(-1px);
	opacity: .92;
}

.article-share__btn--vk {
	background: #0077ff;
}

.article-share__btn--ok {
	background: #ee8208;
}

@media (max-width: 560px) {
	.article-share {
		padding: 16px;
	}

	.article-share__btn {
		width: 100%;
		margin-right: 0;
	}
}
/* Лупа под картинками в статье */

.article-img-lightbox {
	display: block;
	margin: 26px auto;
	text-align: center;
}

.article-img-lightbox > p {
	margin: 0;
}

.article-img-lightbox a,
.article-img-lightbox img {
	display: block;
}

.article-img-lightbox img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	cursor: zoom-in;
}

.article-img-zoom {
	margin: 10px auto 0;
	padding: 0;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	line-height: 1.3;
	color: #6b7280;
	cursor: pointer;
}

.article-img-zoom:hover {
	color: #111827;
}

.article-img-zoom__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f6f9;
	border: 1px solid #dce4ec;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111827;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.article-img-zoom svg {
	width: 15px;
	height: 15px;
}

.site-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(5, 10, 18, 0.88);
}

.site-lightbox.is-open {
	display: flex;
}

.site-lightbox__inner {
	position: relative;
	max-width: 96vw;
	max-height: 92vh;
}

.site-lightbox__img {
	display: block;
	max-width: 96vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.site-lightbox__close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #111827;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.site-lightbox__close:hover {
	background: #f3f4f6;
}

@media (max-width: 640px) {
	.article-img-zoom {
		font-size: 12px;
	}

	.site-lightbox {
		padding: 12px;
	}

	.site-lightbox__close {
		top: 8px;
		right: 8px;
	}

	.site-lightbox__img {
		max-width: 94vw;
		max-height: 84vh;
	}
}
/* ===== HOME POPULAR SLIDER ===== */

.home-popular {
	width: 1180px;
	max-width: calc(100% - 40px);
	margin: 8px auto 44px;
	padding: 0;
}

.home-popular__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	margin: 0 0 20px;
}

.home-popular__head {
	min-width: 0;
}

.home-popular__head h2 {
	margin: 0 0 6px;
	padding: 0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.035em;
	color: #07111f;
}

.home-popular__head p {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: #64748b;
}

.home-popular__controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	padding-bottom: 2px;
}

.home-popular__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	min-height: 0;
	padding: 0 0 4px;
	border: 1px solid rgba(15, 118, 110, .12);
	border-radius: 50%;
	background: #ffffff;
	color: #0f766e;
	font-size: 36px;
	line-height: 1;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.home-popular__arrow:hover {
	background: #0f766e;
	color: #ffffff;
	border-color: #0f766e;
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
}

.home-popular__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
}

.home-popular__viewport:before,
.home-popular__viewport:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 3;
	width: 44px;
	pointer-events: none;
}

.home-popular__viewport:before {
	left: 0;
	background: linear-gradient(90deg, var(--vse-bg), rgba(243, 246, 248, 0));
}

.home-popular__viewport:after {
	right: 0;
	background: linear-gradient(270deg, var(--vse-bg), rgba(243, 246, 248, 0));
}

.home-popular__slider {
	display: flex;
	gap: 22px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 6px 2px 18px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.home-popular__slider::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.popular-card {
	flex: 0 0 calc((100% - 66px) / 4);
	scroll-snap-align: start;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, .9);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.popular-card:hover {
	transform: translateY(-5px);
	border-color: rgba(15, 118, 110, .22);
	box-shadow: 0 22px 48px rgba(15, 23, 42, .15);
}

.popular-card__link,
.popular-card__image-link {
	display: block;
	color: inherit;
	text-decoration: none !important;
}

.popular-card__image {
	display: block;
	width: 100%;
	height: 170px;
	background: #dbe7ec;
	overflow: hidden;
}

.popular-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .28s ease;
}

.popular-card:hover .popular-card__image img {
	transform: scale(1.045);
}

.popular-card__image--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 34%), linear-gradient(135deg, #147a73, #12566c);
	color: #ffffff;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}

.popular-card__body {
	display: block;
	padding: 17px 18px 19px;
}

.popular-card__category {
	display: block;
	margin: 0 0 9px;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 900;
	color: #0f766e;
}

.popular-card__category a {
	color: #0f766e;
	text-decoration: none !important;
}

.popular-card__category a:hover {
	color: #0f5f73;
	text-decoration: underline !important;
}

.popular-card__title {
	display: block;
	min-height: 76px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: -.015em;
	color: #020617;
	text-decoration: none !important;
}

.popular-card__title:hover {
	color: #0f766e;
	text-decoration: none !important;
}

.popular-card__meta {
	display: block;
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.3;
	color: #64748b;
}

@media (max-width: 1180px) {
	.home-popular {
		width: auto;
		max-width: none;
		margin-left: 20px;
		margin-right: 20px;
	}

	.popular-card {
		flex-basis: calc((100% - 44px) / 3);
	}
}

@media (max-width: 900px) {
	.home-popular {
		margin: 4px 12px 34px;
	}

	.home-popular__top {
		align-items: center;
		gap: 14px;
		margin-bottom: 16px;
	}

	.home-popular__head h2 {
		font-size: 27px;
	}

	.home-popular__head p {
		font-size: 14px;
	}

	.home-popular__controls {
		gap: 8px;
	}

	.home-popular__arrow {
		width: 40px;
		height: 40px;
		font-size: 31px;
	}

	.home-popular__viewport {
		border-radius: 18px;
	}

	.home-popular__viewport:before,
	.home-popular__viewport:after {
		width: 18px;
	}

	.home-popular__slider {
		gap: 16px;
		padding: 5px 1px 12px;
	}

	.popular-card {
		flex-basis: 72%;
		border-radius: 18px;
	}

	.popular-card__image {
		height: 154px;
	}

	.popular-card__body {
		padding: 15px 16px 17px;
	}

	.popular-card__title {
		min-height: auto;
		font-size: 17px;
	}
}

@media (max-width: 520px) {
	.home-popular__top {
		align-items: flex-start;
	}

	.home-popular__head h2 {
		font-size: 25px;
	}

	.home-popular__head p {
		max-width: 210px;
	}

	.home-popular__arrow {
		width: 36px;
		height: 36px;
		font-size: 28px;
	}

	.popular-card {
		flex-basis: 86%;
	}

	.popular-card__image {
		height: 142px;
	}
}
.story-popular {
	width: 860px;
	max-width: calc(100% - 40px);
	margin: 0 auto 38px;
	padding: 0;
}

.story-popular .home-popular__head h2 {
	font-size: 28px;
}

.story-popular .home-popular__head p {
	font-size: 15px;
}

.story-popular .popular-card {
	flex: 0 0 calc((100% - 44px) / 3);
}

.story-popular .popular-card__image {
	height: 145px;
}

.story-popular .popular-card__title {
	font-size: 16px;
	min-height: 60px;
}

@media (max-width: 900px) {
	.story-popular {
		width: auto;
		max-width: none;
		margin-left: 12px;
		margin-right: 12px;
		margin-bottom: 32px;
	}

	.story-popular .popular-card {
		flex-basis: 82%;
	}

	.story-popular .popular-card__image {
		height: 140px;
	}

	.story-popular .home-popular__head h2 {
		font-size: 24px;
	}
}

/* ===== ВИДЕОРЕКЛАМА VPAUT: БЕЗОПАСНАЯ АДАПТИВНАЯ ВЕРСИЯ ===== */

.vpaut-ad {
	width: 100%;
	max-width: 100%;
	margin: 38px auto 48px;
	padding: 0 12px;
	text-align: center;
	box-sizing: border-box;
}

.vpaut-ad__title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #1b2633;
}

.vpaut-ad__player {
	width: 100%;
	max-width: 600px;
	aspect-ratio: 15 / 8;
	margin: 0 auto;
	overflow: hidden;
	background: #000;
	box-sizing: border-box;
}

.vpaut-ad #vid_vpaut_div {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 auto !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	vertical-align: top;
}

/*
	Внутренние div, iframe и video рекламного сервиса
	не переопределяем: это предотвращает появление невидимого
	слоя поверх содержания, таблиц и кнопки «Наверх».
*/

@media (max-width: 650px) {
	.vpaut-ad {
		margin: 28px auto 36px;
		padding-right: 12px;
		padding-left: 12px;
	}

	.vpaut-ad__title {
		font-size: 14px;
	}

	.vpaut-ad__player {
		width: 100%;
		max-width: 360px;
	}
}

/* ===== АДАПТИВНЫЕ ТАБЛИЦЫ В СТАТЬЯХ ===== */

.vse-full-text .article-table-scroll {
	display: block;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 26px 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	overscroll-behavior-x: contain;
	background: #ffffff;
	border: 1px solid #e3ebf0;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 38, 52, .06);
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: #9fb7c1 #edf3f6;
}

.vse-full-text .article-table-scroll::-webkit-scrollbar {
	height: 9px;
}

.vse-full-text .article-table-scroll::-webkit-scrollbar-track {
	background: #edf3f6;
	border-radius: 0 0 14px 14px;
}

.vse-full-text .article-table-scroll::-webkit-scrollbar-thumb {
	background: #9fb7c1;
	border: 2px solid #edf3f6;
	border-radius: 999px;
}

.vse-full-text .article-table-scroll:focus {
	outline: 2px solid rgba(22, 114, 138, .25);
	outline-offset: 2px;
}

.vse-full-text .article-table-scroll table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
	font-size: 16px;
	line-height: 1.45;
	color: #27313a;
}

/* Таблицы от пяти столбцов не сжимаем */
.vse-full-text .article-table-scroll table.article-table--wide {
	width: max-content;
	min-width: 860px;
}

.vse-full-text .article-table-scroll th,
.vse-full-text .article-table-scroll td {
	padding: 13px 15px;
	border-right: 1px solid #e7edf1;
	border-bottom: 1px solid #e7edf1;
	vertical-align: top;
	text-align: left;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.vse-full-text .article-table-scroll th {
	background: #f3f8fa;
	color: #111827;
	font-weight: 800;
	white-space: nowrap;
}

.vse-full-text .article-table-scroll th:last-child,
.vse-full-text .article-table-scroll td:last-child {
	border-right: 0;
}

.vse-full-text .article-table-scroll tr:last-child td {
	border-bottom: 0;
}

.vse-full-text .article-table-scroll tbody tr:nth-child(even) td {
	background: #fafcfd;
}

@media (max-width: 650px) {
	.vse-full-text .article-table-scroll {
		margin: 22px 0;
		border-radius: 12px;
		touch-action: pan-x pan-y;
	}

	.vse-full-text .article-table-scroll table {
		font-size: 14px;
		line-height: 1.4;
	}

	.vse-full-text .article-table-scroll table.article-table--wide {
		width: max-content;
		min-width: 820px;
	}

	.vse-full-text .article-table-scroll th,
	.vse-full-text .article-table-scroll td {
		padding: 10px 12px;
	}
}

/* ===== КОДЫ ОШИБОК — ссылка на сервис v1.6 ===== */
.vse-header-service {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid rgba(255,255,255,.36);
	border-radius: 10px;
	background: rgba(255,255,255,.12);
	color: #fff !important;
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
	text-decoration: none !important;
}

.vse-header-service:hover {
	background: #fff;
	color: var(--vse-blue) !important;
	text-decoration: none !important;
}

@media (max-width: 1050px) {
	.vse-header-service {
		display: none;
	}
}

@media (max-width: 900px) {
	.vse-header-service {
		display: inline-flex;
		margin-left: auto;
		min-height: 34px;
		padding: 0 11px;
		font-size: 13px;
	}
}


/* ===== НОВОСТИ — шапка главной рубрики /news/ ===== */

.news-head {
	width: 100%;
	margin: 0 0 28px;
	padding: 30px 34px;
	background: #ffffff;
	border: 1px solid var(--vse-border);
	border-radius: var(--vse-radius);
	box-shadow: var(--vse-shadow);
}

.news-head h1 {
	margin: 0 0 10px;
	padding: 0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.035em;
	color: #111827;
}

.news-head-desc {
	max-width: 680px;
	margin: 0 0 22px;
	color: #52616b;
	font-size: 16px;
	line-height: 1.6;
}

.news-categories {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.news-categories a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	background: #f3f8fa;
	border: 1px solid #dbe8ed;
	border-radius: 10px;
	color: var(--vse-blue) !important;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 800;
	text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.news-categories a:hover {
	background: var(--vse-blue);
	border-color: var(--vse-blue);
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.news-head {
		margin-bottom: 22px;
		padding: 24px 22px;
		border-radius: 16px;
	}

	.news-head h1 {
		font-size: 28px;
	}

	.news-head-desc {
		margin-bottom: 18px;
		font-size: 15px;
	}

	.news-categories {
		gap: 8px;
	}

	.news-categories a {
		min-height: 38px;
		padding: 0 13px;
		font-size: 13px;
	}
}

@media (max-width: 520px) {
	.news-head h1 {
		font-size: 26px;
	}

	.news-categories a {
		flex: 1 1 calc(50% - 8px);
	}
}


/* ===== НОВОСТИ — карточки ленты v2 ===== */

.news-card {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 22px;
	width: 100%;
	margin: 0 0 22px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--vse-border);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(15, 38, 52, .07);
	overflow: hidden;
}

.news-card-image {
	display: block;
	width: 240px;
	height: 145px;
	overflow: hidden;
	border-radius: 13px;
	background: #e6eef2;
	text-decoration: none !important;
}

.news-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
	border-radius: 0 !important;
	transition: transform .22s ease;
}

.news-card:hover .news-card-image img {
	transform: scale(1.035);
}

.news-card-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.news-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 8px;
}

.news-card-cat {
	min-width: 0;
	color: var(--vse-blue);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 900;
}

.news-card-cat a {
	color: var(--vse-blue) !important;
	text-decoration: none !important;
}

.news-card-cat a:hover {
	color: var(--vse-blue-dark) !important;
}

.news-card-time {
	flex: 0 0 auto;
	color: #82919b;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
}

.news-card-title {
	margin: 0 0 9px;
	padding: 0;
	color: #111827;
	font-size: 22px;
	line-height: 1.22;
	font-weight: 900;
	letter-spacing: -.025em;
}

.news-card-title a {
	color: #111827 !important;
	text-decoration: none !important;
}

.news-card-title a:hover {
	color: var(--vse-blue) !important;
}

.news-card-text {
	margin: 0;
	color: #46545e;
	font-size: 15px;
	line-height: 1.52;
}

.news-card-text p {
	margin: 0;
}

/* Картинка уже выведена слева через {image-1}.
   Повторную картинку из {short-story} скрываем полностью. */
.news-card-text img,
.news-card-text picture,
.news-card-text figure,
.news-card-text p:has(img),
.news-card-text a:has(> img) {
	display: none !important;
}

.news-card-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 10px;
	color: #87949d;
	font-size: 12px;
	line-height: 1.3;
}

@media (max-width: 700px) {
	.news-card {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 16px;
		border-radius: 16px;
	}

	.news-card-image {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.news-card-title {
		font-size: 21px;
	}

	.news-card-text {
		font-size: 15px;
	}

	.news-card-meta {
		margin-top: 6px;
	}
}

/* Адаптивные видеоплееры на vseprovse.pro */

iframe[src*="rutube.ru"],
iframe[src*="stravers.live"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
    border: 0;
    margin: 15px 0 25px;
}

/* Корректное отображение на телефонах */
@media (max-width: 768px) {
    iframe[src*="rutube.ru"],
    iframe[src*="stravers.live"] {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16 / 9;
    }
}