@charset "UTF-8";

:root {
  --blue: #1656d2;
  --blue-dark: #0d3d98;
  --blue-light: #2f76ed;
  --orange: #f09008;
  --orange-dark: #c97600;
  --navy: #08162c;
  --navy-2: #0d2242;
  --steel: #607089;
  --ink: #17243a;
  --muted: #6d7889;
  --line: #d8e0ea;
  --surface: #ffffff;
  --surface-alt: #f3f6fa;
  --shadow: 0 12px 34px rgba(20, 43, 76, .08);
  --shell: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: #edf1f6;
  background-image: linear-gradient(rgba(30, 69, 121, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 69, 121, .025) 1px, transparent 1px), radial-gradient(circle at 15% 10%, rgba(22, 86, 210, .06), transparent 34%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--blue);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover {
  color: var(--blue);
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
input,
textarea {
  border-radius: 0;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-rail {
  position: relative;
  z-index: 30;
  color: #9fb1cb;
  background: #060f1e;
  border-bottom: 1px solid rgba(119, 151, 198, .18);
  font-size: 12px;
  letter-spacing: .08em;
}

.top-rail-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(240, 144, 8, .12);
}

.top-code {
  color: #5f7da9;
  font-family: Consolas, monospace;
  letter-spacing: .16em;
}

.site-header {
  position: relative;
  z-index: 30;
  color: #fff;
  background: linear-gradient(115deg, #0b1930 0%, #102a4e 62%, #0a1a33 100%);
  box-shadow: 0 8px 24px rgba(4, 14, 29, .18);
}

.site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(100deg, transparent 0, transparent 90px, rgba(255, 255, 255, .018) 91px, rgba(255, 255, 255, .018) 92px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.brand:hover {
  color: #fff;
  transform: translateY(-1px);
}

.brand-plate {
  position: relative;
  display: flex;
  width: 282px;
  height: 78px;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2));
}

.brand-plate::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 54px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange), transparent);
}

.brand-plate img {
  display: block;
  width: 270px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.brand-copy {
  display: none;
}

.header-tools {
  flex: 0 1 420px;
}

.header-search {
  display: flex;
  height: 44px;
  overflow: hidden;
  background: rgba(3, 12, 27, .44);
  border: 1px solid rgba(132, 165, 214, .35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.header-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 144, 8, .1);
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  color: #eaf2ff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.header-search input::placeholder {
  color: #8298b7;
}

.header-search button {
  display: flex;
  padding: 0 17px;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-size: 13px;
}

.header-search button:hover {
  background: var(--orange);
}

.header-search i {
  font-size: 18px;
  font-style: normal;
}

.nav-rail {
  position: relative;
  background: rgba(4, 15, 31, .65);
  border-top: 1px solid rgba(138, 167, 210, .16);
  border-bottom: 3px solid var(--blue);
}

.nav-rail::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 24%;
  height: 3px;
  content: "";
  background: var(--orange);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  display: flex;
  min-height: 50px;
  padding: 0;
  margin: 0;
  align-items: stretch;
  list-style: none;
}

.main-nav li {
  position: relative;
  display: flex;
}

.main-nav li a {
  position: relative;
  display: flex;
  padding: 0 22px;
  align-items: center;
  color: #d6e3f4;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
}

.main-nav li a::after {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav li a:hover {
  color: #fff;
  background: rgba(42, 102, 202, .16);
}

.main-nav li a:hover::after {
  transform: scaleX(1);
}

.nav-spec {
  color: #4f6c96;
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: .14em;
}

.nav-toggle {
  display: none;
  padding: 8px;
  color: #fff;
  background: transparent;
  border: 1px solid #3d587d;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.nav-toggle b {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
}

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 82% 40%, rgba(33, 99, 211, .35), transparent 30%), linear-gradient(118deg, #08162c 0%, #0d2850 57%, #0a1b34 100%);
  border-bottom: 1px solid #254b7d;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--orange) 0 34%, var(--blue) 34% 100%);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 56%;
  height: 240px;
  content: "";
  background: rgba(31, 90, 190, .12);
  transform: rotate(-8deg);
}

.hero-grid,
.footer-blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(110, 155, 220, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 155, 220, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 28px;
}

.hero-content {
  padding: 54px 0 48px;
}

.eyebrow {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  color: #8fb6ef;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 34px;
  height: 3px;
  margin-right: 12px;
  background: var(--orange);
}

.hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .04em;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
  text-shadow: 0 5px 24px rgba(240, 144, 8, .16);
}

.hero-content > p {
  max-width: 680px;
  margin: 0;
  color: #aebed4;
  font-size: 16px;
  line-height: 2;
}

.title-hash {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(22, 86, 210, .2);
}

.btn-primary:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #d8e5f7;
  background: rgba(12, 33, 62, .35);
  border-color: #42638f;
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--orange);
}

.hero-specs {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 28px;
  color: #829abb;
  font-size: 12px;
  letter-spacing: .08em;
}

.hero-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-specs b {
  color: var(--orange);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.hero-machine {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.machine-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 292px;
  margin-left: auto;
  padding: 22px;
  background: linear-gradient(145deg, rgba(49, 89, 143, .32), rgba(4, 17, 36, .74));
  border: 1px solid rgba(107, 151, 214, .45);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: inset 0 0 40px rgba(54, 117, 210, .08);
}

.machine-frame::before,
.machine-frame::after {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  background: #6b85a8;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #142e51;
}

.machine-frame::before {
  top: 10px;
  left: 12px;
}

.machine-frame::after {
  right: 10px;
  bottom: 12px;
}

.machine-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f94c8;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .1em;
}

.machine-label span {
  color: var(--orange);
}

.machine-core {
  position: relative;
  display: flex;
  width: 142px;
  height: 142px;
  margin: 20px auto 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3c679f;
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(40, 91, 163, .12), 0 0 0 15px rgba(79, 126, 191, .2), inset 0 0 28px rgba(28, 91, 189, .24);
}

.machine-core::before,
.machine-core::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.machine-core::before {
  inset: 12px;
  border: 7px dashed #386cb5;
  animation: spin 24s linear infinite;
}

.machine-core::after {
  inset: 35px;
  background: #0c2850;
  border: 2px solid var(--orange);
}

.machine-core i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.machine-core i:nth-child(1) {
  top: 4px;
}

.machine-core i:nth-child(2) {
  right: 11px;
  bottom: 20px;
}

.machine-core i:nth-child(3) {
  bottom: 20px;
  left: 11px;
}

.machine-core strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 31px;
  letter-spacing: -.06em;
}

.machine-lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.machine-lines span {
  height: 3px;
  background: #254d83;
}

.machine-lines span:nth-child(-n+3) {
  background: var(--blue-light);
}

.machine-readout {
  display: flex;
  margin-top: 14px;
  align-items: end;
  justify-content: space-between;
  color: #5478aa;
  font-family: Consolas, monospace;
}

.machine-readout small {
  font-size: 8px;
  letter-spacing: .1em;
}

.machine-readout b {
  color: #d7e8ff;
  font-size: 18px;
}

.hero-gear {
  position: absolute;
  z-index: 1;
  width: 260px;
  max-width: none;
  opacity: .08;
  animation: spin 50s linear infinite;
}

.hero-gear-a {
  top: -90px;
  left: -60px;
}

.hero-gear-b {
  right: 3%;
  bottom: -120px;
  width: 340px;
  animation-direction: reverse;
}

.hero-compact,
.hero-compact .hero-inner {
  min-height: 270px;
}

.hero-compact .hero-content {
  max-width: 850px;
  padding: 44px 0;
}

.hero-compact h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.hero-compact .hero-specs {
  margin-top: 24px;
}

.page-layout {
  display: grid;
  padding-top: 38px;
  padding-bottom: 66px;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 28px;
}

.content-column {
  min-width: 0;
}

.section-heading {
  display: flex;
  min-height: 64px;
  margin-bottom: 20px;
  padding: 0 2px 15px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid #cdd8e5;
}

.section-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.section-heading h2::after {
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 64px;
  height: 3px;
  content: "";
  background: var(--orange);
}

.section-count {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
  grid-template-columns: 250px minmax(0, 1fr);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.post-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: linear-gradient(135deg, transparent 50%, #d4dde8 50%);
}

.post-card:hover {
  border-color: #9bb7df;
  box-shadow: 0 16px 38px rgba(20, 58, 112, .13);
  transform: translateY(-3px);
}

.post-card.post-sticky {
  border-top-color: var(--orange);
}

.post-thumb {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  background: var(--navy);
}

.post-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(4, 15, 31, .6));
  pointer-events: none;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  min-height: 236px;
  object-fit: contain;
  transition: opacity .3s ease;
}

.post-card:hover .post-thumb img {
  transform: none;
}

.thumb-index {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 14px;
  color: #d7e6f9;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
}

.post-card-body {
  min-width: 0;
  padding: 22px 24px 20px;
}

.post-labels {
  display: flex;
  min-height: 24px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  display: inline-flex;
  min-height: 24px;
  padding: 2px 10px;
  align-items: center;
  color: var(--blue);
  background: #edf3ff;
  border-left: 3px solid var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.category-chip:hover {
  color: #fff;
  background: var(--blue);
}

.sticky-chip {
  padding: 2px 8px;
  color: #a35d00;
  background: #fff4dd;
  border: 1px solid #ffd18a;
  font-size: 10px;
}

.post-serial {
  margin-left: auto;
  color: #9aa7b7;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.post-title {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.5;
}

.post-title a:hover {
  color: var(--blue);
}

.post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 15px;
  color: #667386;
  font-size: 14px;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-excerpt strong,
.post-title a strong {
  color: var(--orange-dark);
  background: #fff3dc;
  font-weight: 700;
}

.post-meta,
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 17px;
  color: #8a95a4;
  font-size: 11px;
}

.post-meta > span,
.post-meta > time {
  position: relative;
}

.post-meta > span:not(:last-child)::after,
.post-meta > time::after {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 2px;
  height: 2px;
  content: "";
  background: #aeb8c4;
}

.meta-author a {
  color: #647895;
}

.read-more {
  display: inline-flex;
  margin-top: 14px;
  align-items: center;
  gap: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.read-more:hover {
  color: var(--orange-dark);
  gap: 24px;
}

.pagebar {
  display: flex;
  min-height: 44px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.pagebar:empty {
  display: none;
}

.page {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  color: #53647b;
  background: #fff;
  border: 1px solid #d4dee9;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 12px;
}

a.page:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.now-page {
  color: #fff;
  background: var(--navy-2);
  border-color: var(--navy-2);
  box-shadow: inset 0 -3px var(--orange);
}

.empty-state {
  padding: 64px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.empty-state img {
  width: 84px;
  opacity: .55;
}

.empty-state h3 {
  margin: 18px 0 8px;
  font-size: 23px;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
}

.sidebar {
  min-width: 0;
}

.sidebar-inner {
  display: grid;
  gap: 20px;
}

.widget {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 43, 76, .055);
}

.widget::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  content: "";
  background: linear-gradient(45deg, transparent 50%, var(--blue) 50%);
}

.widget-title {
  position: relative;
  padding: 17px 18px 13px;
  background: linear-gradient(105deg, #f6f9fd, #fff);
  border-bottom: 1px solid var(--line);
}

.widget-title::before {
  position: absolute;
  bottom: -1px;
  left: 18px;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--orange);
}

.widget-title span {
  display: block;
  color: #8394ab;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: .13em;
}

.widget-title h3 {
  margin: 2px 0 0;
  color: #20334f;
  font-size: 17px;
  line-height: 1.5;
}

.sidebar-search {
  padding-bottom: 16px;
}

.sidebar-search form {
  padding: 14px 16px 0;
}

.sidebar-search-controls {
  display: flex;
  height: 40px;
  border: 1px solid #ccd8e6;
}

.sidebar-search-controls:focus-within {
  border-color: var(--blue);
}

.sidebar-search-controls input {
  min-width: 0;
  flex: 1;
  padding: 0 11px;
  background: #f8fafc;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.sidebar-search-controls button {
  width: 42px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-size: 19px;
}

.sidebar-search-controls button:hover {
  background: var(--orange);
}

.function-content {
  padding: 12px 16px 16px;
}

#divContorPanel .function-content,
#divContorPanel .cp-hello,
#divContorPanel .cp-login,
#divContorPanel .cp-vrs,
#divContorPanel .function-content a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

#divContorPanel .function-content a {
  color: #53647b;
}

#divContorPanel .function-content a:hover {
  color: var(--blue);
}

.function-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.function-content li {
  position: relative;
  border-bottom: 1px dashed #e2e7ee;
}

.function-content li:last-child {
  border-bottom: 0;
}

.function-content li > a {
  display: flex;
  min-width: 0;
  padding: 9px 2px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #53647b;
  font-size: 13px;
}

.function-content li > a::before {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  content: "";
  background: #a8b9cd;
  transform: rotate(45deg);
}

.function-content li > a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

.function-content li > a:hover::before {
  background: var(--orange);
}

.function-content li > a > span:first-child,
.function-content li > a:not(:has(span)) {
  min-width: 0;
}

.function-content li > a > span:last-child,
.function-content li > span {
  flex: 0 0 auto;
  margin-left: auto;
  color: #96a3b3;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.function-content li > a time {
  flex: 0 0 auto;
  margin-left: auto;
  color: #9aa7b7;
  font-size: 10px;
}

#divCatalog .function-content li,
#divArchives .function-content li,
#divAuthors .function-content li {
  display: flex;
  align-items: center;
}

#divCatalog .function-content li > a,
#divArchives .function-content li > a,
#divAuthors .function-content li > a {
  min-width: 0;
  flex: 1;
  justify-content: flex-start;
}

.function-content .cate-level-1 {
  padding-left: 14px;
}

.function-content .cate-level-2 {
  padding-left: 28px;
}

.function-content .cate-level-3 {
  padding-left: 42px;
}

#divTags .function-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#divTags .function-content li {
  border: 0;
}

#divTags .function-content li > a {
  display: inline-flex;
  padding: 5px 8px;
  color: #526e96;
  background: #f0f5fb;
  border: 1px solid #e1e9f3;
  gap: 6px;
  font-size: 11px;
}

#divTags .function-content li > a::before {
  display: none;
}

#divTags .function-content li > a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

#divTags .function-content li > a span {
  color: inherit;
  opacity: .65;
}

#divComments .function-content li > a {
  display: block;
}

#divComments .function-content li > a::before {
  display: none;
}

#divComments .function-content li strong {
  display: block;
  color: #334e74;
  font-size: 11px;
}

#divComments .function-content li a > span {
  display: block;
  overflow: hidden;
  margin: 2px 0 0;
  color: #7d8999;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#divStatistics .function-content li {
  display: flex;
  padding: 7px 2px;
  justify-content: space-between;
  color: #65758a;
  font-size: 12px;
}

#divStatistics .function-content li strong {
  color: var(--blue);
  font-family: Consolas, monospace;
}

.function-content select {
  width: 100%;
  height: 38px;
  padding: 0 8px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  font-size: 12px;
}

#tbCalendar {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 11px;
}

#tbCalendar caption {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  justify-content: space-between;
  color: #334d71;
  font-weight: 700;
}

#tbCalendar th,
#tbCalendar td {
  padding: 5px 2px;
  border: 1px solid #edf0f5;
}

#tbCalendar th {
  color: #8794a5;
  background: #f5f7fa;
  font-size: 9px;
}

#tbCalendar td a {
  display: block;
  color: #fff;
  background: var(--blue);
}

.sidebar-plate {
  position: relative;
  display: flex;
  min-height: 142px;
  padding: 22px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(125deg, #0b1b33, #153d74);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.sidebar-plate::after {
  position: absolute;
  right: -25px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  content: "";
  border: 24px dashed rgba(75, 128, 209, .22);
  border-radius: 50%;
}

.sidebar-plate span,
.sidebar-plate small {
  color: #7f9fc9;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: .18em;
}

.sidebar-plate strong {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 47px;
  line-height: 1.15;
}

.sidebar-plate small {
  color: var(--orange);
}

.single-rail {
  color: #8ba0bc;
  background: #0a1a31;
  border-bottom: 3px solid var(--blue);
}

.breadcrumb {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.breadcrumb a {
  flex: 0 0 auto;
  color: #b8c9de;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb strong {
  overflow: hidden;
  color: #6f89aa;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-layout {
  padding-top: 30px;
}

.article-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow);
}

.article-header {
  position: relative;
  padding: 32px 38px 25px;
  background: linear-gradient(110deg, #f8faff, #fff 65%);
  border-bottom: 1px solid var(--line);
}

.article-header::after {
  position: absolute;
  right: 28px;
  bottom: -1px;
  width: 86px;
  height: 3px;
  content: "";
  background: var(--orange);
}

.article-header h1 {
  margin: 16px 0 18px;
  color: #14243c;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.45;
  letter-spacing: .01em;
}

.article-meta {
  font-size: 12px;
}

.article-meta a {
  color: var(--blue);
}

.article-content {
  min-height: 220px;
  padding: 36px 38px 42px;
  overflow-wrap: break-word;
  color: #303c4e;
  font-size: 16px;
  line-height: 2.05;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content > :last-child {
  margin-bottom: 0;
}

.article-content p {
  margin: 0 0 1.35em;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  position: relative;
  margin: 1.7em 0 .75em;
  color: #172d4e;
  font-weight: 700;
  line-height: 1.55;
}

.article-content h1,
.article-content h2 {
  padding: 9px 0 9px 16px;
  background: linear-gradient(90deg, #f0f5fd, transparent);
  border-left: 4px solid var(--blue);
  font-size: 24px;
}

.article-content h3 {
  padding-left: 13px;
  border-left: 3px solid var(--orange);
  font-size: 21px;
}

.article-content h4 {
  font-size: 18px;
}

.article-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(22, 86, 210, .3);
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--orange-dark);
  text-decoration-color: var(--orange);
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 8px auto;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(23, 48, 83, .08);
}

.article-content ul,
.article-content ol {
  padding-left: 1.6em;
  margin: 0 0 1.35em;
}

.article-content li {
  margin: .35em 0;
}

.article-content blockquote {
  position: relative;
  padding: 18px 22px 18px 46px;
  margin: 1.6em 0;
  color: #53677f;
  background: #f3f7fc;
  border: 0;
  border-left: 4px solid var(--blue);
}

.article-content blockquote::before {
  position: absolute;
  top: 4px;
  left: 14px;
  content: "“";
  color: #a1b9da;
  font-family: Georgia, serif;
  font-size: 42px;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content pre {
  max-width: 100%;
  padding: 20px;
  overflow: auto;
  color: #d5e3f6;
  background: #0b1a30;
  border-left: 4px solid var(--orange);
  font: 13px/1.75 Consolas, Monaco, monospace;
  tab-size: 4;
}

.article-content code {
  padding: 2px 5px;
  color: #b05c00;
  background: #fff4e1;
  font-family: Consolas, Monaco, monospace;
  font-size: .9em;
}

.article-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.article-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 11px 13px;
  border: 1px solid #d9e2ec;
  text-align: left;
}

.article-content th {
  color: #fff;
  background: #173c70;
}

.article-content tr:nth-child(even) td {
  background: #f6f8fb;
}

.article-content hr {
  height: 1px;
  margin: 2.2em 0;
  background: #dbe3ed;
  border: 0;
}

.article-content iframe,
.article-content video {
  max-width: 100%;
}

.article-tags {
  display: flex;
  padding: 20px 38px;
  align-items: flex-start;
  gap: 20px;
  background: #f7f9fc;
  border-top: 1px solid var(--line);
}

.article-tags > strong {
  flex: 0 0 auto;
  padding-top: 5px;
  color: #65758a;
  font-size: 12px;
}

.article-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags a {
  padding: 4px 10px;
  color: #4d6891;
  background: #fff;
  border: 1px solid #d9e3ef;
  font-size: 12px;
}

.article-tags a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.article-footer {
  display: flex;
  padding: 18px 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #93a1b1;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.article-footer > span {
  font-family: Consolas, monospace;
  letter-spacing: .1em;
}

.article-footer a {
  color: var(--blue);
}

.article-neighbors {
  display: grid;
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.neighbor-item {
  min-width: 0;
  padding: 19px 24px;
}

.neighbor-item + .neighbor-item {
  border-left: 1px solid var(--line);
}

.neighbor-item.next {
  text-align: right;
}

.neighbor-item span {
  display: block;
  margin-bottom: 5px;
  color: #96a3b3;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.neighbor-item a,
.neighbor-item strong {
  display: block;
  overflow: hidden;
  color: #405674;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neighbor-item a:hover {
  color: var(--blue);
}

.comments-panel {
  margin-top: 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.comments-heading {
  display: flex;
  padding-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid #dbe3ed;
}

.comments-heading h2 {
  margin: 0;
  font-size: 23px;
}

.comments-heading h2 span {
  color: var(--orange);
  font-family: Consolas, monospace;
  font-size: 15px;
}

.comments-heading small {
  color: #98a5b4;
  font-size: 11px;
}

.comment-list,
.comment-children {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-item {
  display: flex;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px dashed #dce3ec;
}

.comment-avatar {
  flex: 0 0 46px;
}

.comment-avatar img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  background: #edf2f8;
  border: 2px solid #fff;
  outline: 1px solid #d7e1ec;
}

.comment-body {
  min-width: 0;
  flex: 1;
}

.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.comment-meta strong {
  color: #2b466b;
  font-size: 13px;
}

.comment-meta time {
  color: #9aa6b4;
  font-size: 10px;
}

.comment-reply {
  margin-left: auto;
  color: var(--blue);
  font-size: 11px;
}

.comment-content {
  margin-top: 8px;
  color: #586577;
  font-size: 14px;
  line-height: 1.85;
}

.comment-content p {
  margin: 0 0 .6em;
}

.comment-children {
  width: 100%;
  padding-left: 58px;
}

.comment-children .comment-item {
  padding: 18px;
  margin-top: 12px;
  background: #f6f8fb;
  border: 0;
  border-left: 3px solid #b9cbe2;
}

.no-comments {
  padding: 32px 0;
  color: #98a5b4;
  text-align: center;
  font-size: 13px;
}

.comment-pagebar {
  margin-top: 18px;
}

.comment-post {
  padding-top: 26px;
  margin-top: 8px;
  border-top: 3px solid var(--blue);
}

.comment-post-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-post-heading h3 {
  margin: 0 0 18px;
  font-size: 19px;
}

#cancel-reply {
  display: none;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 11px;
}

.comment-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.comment-post p {
  margin: 0 0 15px;
}

.comment-post label {
  display: block;
  margin-bottom: 5px;
  color: #69788c;
  font-size: 11px;
}

.comment-post label span {
  color: var(--orange-dark);
}

.comment-post input,
.comment-post textarea {
  width: 100%;
  padding: 10px 12px;
  background: #f7f9fc;
  border: 1px solid #d6e0eb;
  outline: 0;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.comment-post input {
  height: 42px;
}

.comment-post textarea {
  display: block;
  min-height: 130px;
  resize: vertical;
  line-height: 1.8;
}

.comment-post input:focus,
.comment-post textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 86, 210, .08);
}

.comment-login {
  padding: 10px 12px;
  color: #65778f;
  background: #f2f6fb;
  border-left: 3px solid var(--blue);
  font-size: 12px;
}

.comment-verify .verify-controls {
  display: flex;
  max-width: 330px;
  gap: 10px;
}

.verify-image {
  height: 42px;
  cursor: pointer;
  border: 1px solid #d6e0eb;
}

.comment-submit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.comment-submit button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 20px;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-size: 13px;
  font-weight: 600;
}

.comment-submit button:hover {
  background: var(--orange);
}

.comment-submit small {
  color: #9aa5b3;
  font-size: 10px;
}

.search-page-form {
  display: flex;
  max-width: 650px;
  margin-top: 25px;
  gap: 10px;
}

.search-page-form input {
  min-width: 0;
  height: 46px;
  flex: 1;
  padding: 0 16px;
  color: #eaf2ff;
  background: rgba(3, 13, 29, .5);
  border: 1px solid #3c5b86;
  outline: 0;
}

.search-page-form input:focus {
  border-color: var(--orange);
}

.search-page-form input::placeholder {
  color: #7790b2;
}

.search-page-form .btn {
  border: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: #91a4be;
  background: linear-gradient(120deg, #071324, #0d2341);
  border-top: 4px solid var(--blue);
}

.site-footer::before {
  position: absolute;
  top: -4px;
  right: 0;
  width: 28%;
  height: 4px;
  content: "";
  background: var(--orange);
}

.footer-blueprint {
  opacity: .55;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.footer-grid {
  position: relative;
  display: grid;
  padding-top: 38px;
  padding-bottom: 30px;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  padding: 5px;
  object-fit: contain;
  background: transparent;
  border: 1px solid rgba(114, 158, 218, .35);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
}

.footer-brand p,
.footer-note p {
  margin: 3px 0 0;
  color: #7188a7;
  font-size: 12px;
}

.footer-brand > div {
  min-width: 0;
}

@media (min-width: 681px) {
  .footer-brand p {
    font-size: 11px;
    letter-spacing: -.02em;
    white-space: nowrap;
  }
}

.footer-note {
  text-align: right;
}

.footer-note > span {
  color: #5279ae;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .14em;
}

.footer-bottom {
  position: relative;
  display: flex;
  min-height: 58px;
  padding-top: 15px;
  padding-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(121, 153, 198, .15);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #8ba9d2;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.footer-divider {
  padding: 0 8px;
  color: #3f5d84;
}

.back-top {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 8px 24px rgba(7, 28, 58, .25);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.back-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.back-top span {
  font-size: 21px;
}

.error-main {
  position: relative;
  display: flex;
  min-height: 660px;
  overflow: hidden;
  align-items: center;
  color: #fff;
  background: radial-gradient(circle at 70% 40%, rgba(32, 97, 206, .26), transparent 35%), linear-gradient(120deg, #08162c, #102d56);
}

.error-panel {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.error-code {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(100px, 15vw, 172px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.06em;
  text-shadow: 8px 8px 0 rgba(49, 105, 190, .2);
}

.error-code i {
  margin: 0 10px;
  color: var(--orange);
  font-style: normal;
  -webkit-text-stroke: 2px var(--orange);
}

.error-panel .eyebrow {
  justify-content: center;
}

.error-panel h1 {
  margin: 10px 0 12px;
  font-size: 31px;
}

.error-panel > p {
  max-width: 580px;
  margin: 0 auto;
  color: #91a8c7;
}

.error-search {
  margin-right: auto;
  margin-left: auto;
}

.error-actions {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.text-link {
  color: #a8bdd8;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--orange);
}

.error-spec {
  display: flex;
  max-width: 650px;
  padding-top: 22px;
  margin: 36px auto 0;
  justify-content: space-between;
  color: #496b9a;
  border-top: 1px solid #294a76;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.error-gear {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 610px;
  max-width: none;
  opacity: .04;
  animation: spin 60s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .post-card {
    grid-template-columns: 215px minmax(0, 1fr);
  }

  .post-card-body {
    padding: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .machine-frame {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 960px) {
  .shell {
    width: min(var(--shell), calc(100% - 36px));
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-plate {
    width: 232px;
    height: 66px;
  }

  .brand-plate img {
    width: 222px;
    max-height: 66px;
  }

  .header-tools {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-inner {
    position: relative;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: -18px;
    left: -18px;
    display: none;
    max-height: calc(100vh - 160px);
    overflow: auto;
    background: #091a32;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 18px 28px rgba(4, 13, 27, .3);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: block;
    padding: 8px 18px 16px;
  }

  .main-nav li {
    display: block;
    border-bottom: 1px solid #1c3556;
  }

  .main-nav li a {
    min-height: 46px;
    padding: 0 8px;
  }

  .main-nav li a::after {
    right: auto;
    left: 0;
    width: 3px;
    height: 100%;
  }

  .nav-spec {
    display: none;
  }

  .hero-inner {
    display: block;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-machine {
    display: none;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-plate {
    min-height: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-note {
    text-align: left;
  }

  .article-content {
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 30px;
  }

  .shell {
    width: calc(100% - 28px);
  }

  .top-code {
    display: none;
  }

  .top-rail-inner {
    justify-content: center;
    font-size: 10px;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-plate {
    width: 204px;
    height: 60px;
  }

  .brand-plate img {
    width: 196px;
    max-height: 60px;
  }

  .hero,
  .hero-inner {
    min-height: 390px;
  }

  .hero-compact,
  .hero-compact .hero-inner {
    min-height: 260px;
  }

  .hero-content,
  .hero-compact .hero-content {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 35px;
    letter-spacing: .02em;
  }

  .hero-compact h1 {
    font-size: 29px;
  }

  .hero-content > p {
    font-size: 14px;
    line-height: 1.85;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .hero-specs {
    margin-top: 26px;
    gap: 12px 20px;
  }

  .page-layout {
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-count {
    font-size: 10px;
  }

  .post-card {
    display: block;
  }

  .post-thumb,
  .post-thumb img {
    min-height: 190px;
    height: 190px;
  }

  .post-card-body {
    padding: 19px 18px 20px;
  }

  .post-title {
    font-size: 20px;
  }

  .post-serial {
    font-size: 9px;
  }

  .post-meta {
    gap: 7px 15px;
  }

  .sidebar-inner {
    grid-template-columns: 1fr;
  }

  .article-header {
    padding: 25px 21px 21px;
  }

  .article-header h1 {
    font-size: 27px;
  }

  .article-content {
    padding: 27px 21px 34px;
    font-size: 15px;
    line-height: 2;
  }

  .article-content h1,
  .article-content h2 {
    font-size: 21px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
  }

  .article-tags,
  .article-footer {
    padding: 18px 21px;
  }

  .article-tags {
    display: block;
  }

  .article-tags > strong {
    display: block;
    margin-bottom: 10px;
  }

  .article-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .article-neighbors {
    grid-template-columns: 1fr;
  }

  .neighbor-item + .neighbor-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .neighbor-item.next {
    text-align: left;
  }

  .comments-panel {
    padding: 22px 18px;
  }

  .comments-heading small {
    display: none;
  }

  .comment-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .comment-children {
    padding-left: 18px;
  }

  .comment-children .comment-item {
    padding: 14px;
  }

  .comment-submit {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .search-page-form .btn {
    min-height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-note {
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .error-main {
    min-height: 600px;
  }

  .error-code {
    font-size: 108px;
  }

  .error-panel h1 {
    font-size: 27px;
  }

  .error-spec {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }
}

.feed {
  display: grid;
  padding-top: 38px;
  padding-bottom: 66px;
  gap: 28px;
}

.feed-intro,
.feed-item {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feed-intro {
  display: grid;
  padding: 26px 28px;
  align-items: center;
  border-top: 3px solid var(--orange);
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 28px;
}

.feed-intro h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.feed-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.feed-address label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.feed-address > div {
  display: flex;
}

.feed-address input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: #52647b;
  background: #f5f8fc;
  border: 1px solid var(--line);
  outline: 0;
  flex: 1;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.feed-address input:focus {
  border-color: var(--blue);
}

.feed-address .btn {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.feed-list .section-heading {
  margin-bottom: 0;
  padding-right: 18px;
  padding-left: 18px;
  background: #edf2f8;
  border: 1px solid var(--line);
}

.feed-item {
  display: grid;
  border-top: 0;
  grid-template-columns: 126px minmax(0, 1fr);
}

.feed-item-index {
  padding: 28px 18px;
  color: #8ea6c3;
  background: var(--navy);
  border-right: 3px solid var(--blue);
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}

.feed-item-body {
  min-width: 0;
  padding: 25px 28px 27px;
}

.feed-item-body time {
  color: var(--blue);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.feed-item-body h3 {
  margin: 8px 0 12px;
  font-size: 22px;
  line-height: 1.5;
}

.feed-item-body h3 a {
  color: var(--navy);
}

.feed-item-body h3 a:hover,
.feed-readmore:hover {
  color: var(--orange);
}

.feed-item-summary {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.feed-item-summary img {
  height: auto;
}

.feed-readmore {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .feed {
    padding-top: 26px;
    padding-bottom: 44px;
    gap: 20px;
  }

  .feed-intro {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feed-address > div {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .feed-address input {
    width: 100%;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .feed-item-index {
    padding: 10px 18px;
    border-right: 0;
    border-bottom: 3px solid var(--blue);
    writing-mode: horizontal-tb;
  }

  .feed-item-body {
    padding: 21px 18px 23px;
  }

  .feed-item-body h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .top-rail,
  .site-header,
  .hero,
  .single-rail,
  .sidebar,
  .article-neighbors,
  .comments-panel,
  .site-footer,
  .back-top,
  .pagebar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .shell,
  .page-layout {
    display: block;
    width: 100%;
    padding: 0;
  }

  .article-panel {
    border: 0;
    box-shadow: none;
  }

  .article-content {
    padding: 20px 0;
    color: #000;
  }
}
