/* Вестник ТГТУ — премиальный override (не ломает табличную вёрстку).
   Цвета ТГТУ: #2749A1, #E46025, #FFFFFF, #DFE8EF, #333333
   Для live-сайта: Stylus → правило для URL, начинающегося с https://vestnik.tstu.ru/
   Локально: <link href="vestnik_tstu_premium_override.css" rel="stylesheet"> */

:root {
  --tstu-blue: #2749A1;
  --tstu-orange: #E46025;
  --tstu-white: #ffffff;
  --tstu-light: #dfe8ef;
  --tstu-text: #333333;
  --hero-bg-image: url("./1.png");
  --pattern-image: url("./2.jpg");
  --hero-banner-image: url("./3.jpg");
  --content-width: 960px;

  --tstu-radius: 16px;
  --tstu-radius-sm: 10px;
  --tstu-shadow: 0 22px 48px rgba(39, 73, 161, 0.18);
  --tstu-shadow-soft: 0 10px 28px rgba(51, 51, 51, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 1.5rem 1rem 2.5rem;
  min-height: 100vh;
  box-sizing: border-box;
  color: var(--tstu-text) !important;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(39, 73, 161, 0.14), transparent 55%),
    radial-gradient(circle at 100% 40%, rgba(228, 96, 37, 0.1), transparent 45%),
    radial-gradient(circle at 0% 60%, rgba(39, 73, 161, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(223, 232, 239, 0.9) 100%),
    var(--pattern-image) center top / 560px auto repeat,
    var(--hero-bg-image) center top / cover no-repeat fixed !important;
  background-attachment: fixed !important;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--tstu-blue),
    var(--tstu-orange),
    var(--tstu-blue)
  );
  box-shadow: 0 0 24px rgba(39, 73, 161, 0.35);
}

center {
  display: block;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--tstu-blue);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--tstu-orange);
  text-decoration: underline;
}

a:visited {
  color: #1f3d85;
}

a:active {
  color: #c24d1f;
}

font[face="arial"],
font[size] {
  font-family: inherit !important;
  color: inherit !important;
}

font[size="1"] {
  font-size: 0.8rem !important;
  opacity: 0.85;
}

font[size="2"],
font[size="-1"] {
  font-size: 0.95rem !important;
}

hr {
  border: none;
  height: 2px;
  max-width: 70%;
  margin: 1.5rem auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 73, 161, 0.35),
    rgba(228, 96, 37, 0.45),
    rgba(39, 73, 161, 0.35),
    transparent
  );
  border-radius: 2px;
}

/* Новая премиальная шапка */
.vestnik-hero {
  max-width: var(--content-width);
  margin: 0.25rem auto 1rem;
  padding: 1rem;
}

.vestnik-hero__inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: 1rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.82)),
    var(--hero-banner-image) center / cover no-repeat;
  border: 1px solid rgba(39, 73, 161, 0.12);
  border-radius: calc(var(--tstu-radius) + 2px);
  box-shadow: var(--tstu-shadow);
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.vestnik-hero__brand {
  text-align: center;
}

.vestnik-hero__brand img {
  width: min(100%, 354px);
  max-width: min(100%, 720px);
  height: auto;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 12px 28px rgba(39, 73, 161, 0.2));
}

.vestnik-hero__text {
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.52;
  color: var(--tstu-text);
}

.vestnik-hero__text b {
  color: var(--tstu-blue);
}

.vestnik-hero__text a {
  font-weight: 700;
}

.vestnik-hero__content {
  text-align: left;
  color: var(--tstu-text);
}

.vestnik-hero__title {
  margin: 0 0 0.35rem;
  color: var(--tstu-blue);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.vestnik-hero__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.97rem;
  line-height: 1.45;
}

.vestnik-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0 0 0.75rem;
}

.vestnik-hero__meta span {
  background: rgba(39, 73, 161, 0.08);
  border: 1px solid rgba(39, 73, 161, 0.14);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.83rem;
  white-space: nowrap;
}

.vestnik-hero__vak {
  margin: 0 0 0.3rem;
  color: var(--tstu-blue);
}

.vestnik-hero__note {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.vestnik-hero__links {
  margin: 0 0 0.6rem;
}

.vestnik-hero__links a {
  font-weight: 700;
}

.vestnik-hero__badges {
  margin: 0;
  padding-left: 1rem;
}

.vestnik-hero__badges li {
  margin: 0.22rem 0;
  line-height: 1.3;
}

/* Таблица с томами и обложкой */
center table {
  border-collapse: separate;
  border-spacing: 0;
}

center > table {
  width: min(100%, var(--content-width));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--tstu-radius);
  box-shadow: var(--tstu-shadow-soft);
  border: 1px solid rgba(39, 73, 161, 0.1);
  overflow: hidden;
  margin: 1rem auto !important;
}

center > table td {
  padding: 1rem 1.15rem;
  vertical-align: top;
}

center > table td[width*="300"] {
  width: 240px;
  padding: 0.9rem 0.55rem;
}

center > table img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tstu-radius-sm);
  box-shadow: var(--tstu-shadow-soft);
  border: 1px solid rgba(39, 73, 161, 0.08);
	margin-top: 30px;
}

/* Списки томов */
center ul {
  margin: 0;
  padding-left: 1.35rem;
  text-align: left;
}

center ul li {
  margin: 0.28rem 0;
  padding-left: 0.15rem;
  line-height: 1.24;
}

center ul[type="circle"] li::marker {
  color: var(--tstu-orange);
  font-size: 0.85em;
}

/* Компактный список томов: одна строка на пункт */
center > table td[align="left"] ul[type="circle"] {
  padding-left: 1.05rem;
}

center > table td[align="left"] ul[type="circle"] li a {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.84rem;
  line-height: 1.18;
}

/* Нижняя навигация и блок с англ. флагом */
table[width="80%"] {
  width: min(100%, var(--content-width)) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  border-radius: var(--tstu-radius);
  box-shadow: var(--tstu-shadow-soft);
  border: 1px solid rgba(39, 73, 161, 0.08) !important;
}

table[width="80%"] td {
  padding: 1rem 1.25rem !important;
}

table[width="80%"] td > font a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.15;
  padding: 0.42rem 0.72rem;
  margin: 0.2rem 0.2rem 0.15rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 73, 161, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 232, 239, 0.7));
  box-shadow: 0 4px 12px rgba(39, 73, 161, 0.1);
}

table[width="80%"] td > font a:hover {
  text-decoration: none;
  background: linear-gradient(180deg, rgba(39, 73, 161, 0.12), rgba(39, 73, 161, 0.06));
  border-color: rgba(39, 73, 161, 0.32);
  color: var(--tstu-blue);
  box-shadow: 0 8px 18px rgba(39, 73, 161, 0.18);
  transform: translateY(-1px);
}

table[width="80%"] img {
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(51, 51, 51, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

table[width="80%"] img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(39, 73, 161, 0.2);
}

/* Таблица реквизитов (выходные данные) */
table[width="800px"] {
  width: min(100%, var(--content-width)) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: var(--tstu-radius);
  box-shadow: var(--tstu-shadow-soft);
  border: 1px solid rgba(39, 73, 161, 0.1) !important;
  overflow: hidden;
}

table[width="800px"] tr:not(:last-child) td {
  border-bottom: 1px solid rgba(39, 73, 161, 0.08);
}

table[width="800px"] td {
  padding: 0.65rem 1rem !important;
}

table[width="800px"] td:first-child {
  font-weight: 600;
  color: var(--tstu-blue);
  width: 32%;
}

/* Блоки подписки и Роскомнадзор (вне таблицы томов) */
ul[style*="font-size:13px"] {
  max-width: var(--content-width);
  margin: 1.25rem auto !important;
  padding: 1.1rem 1.35rem 1.1rem 2rem !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--tstu-radius-sm);
  border-left: 4px solid var(--tstu-orange);
  box-shadow: var(--tstu-shadow-soft);
  list-style-position: outside;
}

ul[style*="font-size:13px"] a {
  font-weight: 600;
}

/* Ссылка на ТГТУ внизу */
center a font[size="-1"] {
  color: var(--tstu-blue) !important;
  font-weight: 600;
}

center a:hover font[size="-1"] {
  color: var(--tstu-orange) !important;
}

/* Копирайт */
font[size="2"][color] {
  color: var(--tstu-text) !important;
}

/* Выделение ВАК и важного текста в шапке */
center i b,
.vestnik-hero i b {
  color: var(--tstu-blue);
}

@media (max-width: 900px) {
  .vestnik-hero {
    padding: 0.5rem;
  }

  .vestnik-hero__inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem;
  }

  .vestnik-hero__content {
    text-align: center;
  }

  .vestnik-hero__meta {
    justify-content: center;
  }

  .vestnik-hero__badges {
    display: inline-block;
    text-align: left;
  }

  center > table,
  center > table tr,
  center > table td {
    display: block;
    width: 100% !important;
  }

  center > table td[width*="300"] {
    text-align: center;
  }
}

@media print {
  body {
    background: #fff !important;
    padding: 0;
  }

  body::before {
    display: none;
  }

  center > table,
  table[width="80%"],
  table[width="800px"],
  ul[style*="font-size:13px"] {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

._wrapper_1ooyb_1 {
	position: fixed;
	inset: 0;
	z-index: 2147483641; /* &#30830;&#20445;&#22312;&#25152;&#26377;&#20803;&#32032;&#20043;&#19978;&#65292;&#38500;&#20102; panel */
	cursor: wait;
	overflow: hidden;

	display: none;
}

._wrapper_1ooyb_1._visible_1ooyb_11 {
	display: block;
}
/* AI &#20809;&#26631;&#26679;&#24335; */
._cursor_1dgwb_2 {
	position: absolute;
	width: var(--cursor-size, 75px);
	height: var(--cursor-size, 75px);
	pointer-events: none;
	z-index: 10000;
}

._cursorBorder_1dgwb_10 {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, rgb(57, 182, 255), rgb(189, 69, 251));
	mask-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20fill='none'%3e%3cg%3e%3cpath%20d='M%2015%2042%20L%2015%2036.99%20Q%2015%2031.99%2023.7%2031.99%20L%2028.05%2031.99%20Q%2032.41%2031.99%2032.41%2021.99%20L%2032.41%2017%20Q%2032.41%2012%2041.09%2016.95%20L%2076.31%2037.05%20Q%2085%2042%2076.31%2046.95%20L%2041.09%2067.05%20Q%2032.41%2072%2032.41%2062.01%20L%2032.41%2057.01%20Q%2032.41%2052.01%2023.7%2052.01%20L%2019.35%2052.01%20Q%2015%2052.01%2015%2047.01%20Z'%20fill='none'%20stroke='%23000000'%20stroke-width='6'%20stroke-miterlimit='10'%20style='stroke:%20light-dark(rgb(0,%200,%200),%20rgb(255,%20255,%20255));'/%3e%3c/g%3e%3c/svg%3e");
	mask-size: 100% 100%;
	mask-repeat: no-repeat;

	transform-origin: center;
	transform: rotate(-135deg) scale(1.2);
	margin-left: -10px;
	margin-top: -18px;
}

._cursorFilling_1dgwb_25 {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3e%3cdefs%3e%3c/defs%3e%3cg%20xmlns='http://www.w3.org/2000/svg'%20style='filter:%20drop-shadow(light-dark(rgba(0,%200,%200,%200.4),%20rgba(237,%20237,%20237,%200.4))%203px%204px%204px);'%3e%3cpath%20d='M%2015%2042%20L%2015%2036.99%20Q%2015%2031.99%2023.7%2031.99%20L%2028.05%2031.99%20Q%2032.41%2031.99%2032.41%2021.99%20L%2032.41%2017%20Q%2032.41%2012%2041.09%2016.95%20L%2076.31%2037.05%20Q%2085%2042%2076.31%2046.95%20L%2041.09%2067.05%20Q%2032.41%2072%2032.41%2062.01%20L%2032.41%2057.01%20Q%2032.41%2052.01%2023.7%2052.01%20L%2019.35%2052.01%20Q%2015%2052.01%2015%2047.01%20Z'%20fill='%23ffffff'%20stroke='none'%20style='fill:%20%23ffffff;'/%3e%3c/g%3e%3c/svg%3e");
	background-size: 100% 100%;
	background-repeat: no-repeat;

	transform-origin: center;
	transform: rotate(-135deg) scale(1.2);
	margin-left: -10px;
	margin-top: -18px;
}

._cursorRipple_1dgwb_39 {
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: none;
	margin-left: -50%;
	margin-top: -50%;

	&::after {
		content: '';
		opacity: 0;
		position: absolute;
		inset: 0;
		border: 4px solid rgba(57, 182, 255, 1);
		border-radius: 50%;
	}
}

._cursor_1dgwb_2._clicking_1dgwb_57 ._cursorRipple_1dgwb_39::after {
	animation: _cursor-ripple_1dgwb_1 300ms ease-out forwards;
}

@keyframes _cursor-ripple_1dgwb_1 {
	0% {
		transform: scale(0);
		opacity: 1;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}