:root {
  --sidebar: #1b1b1b;
  --line: #333;
  --text: #555b66;
  --heading: #1e2530;
  --accent: #00c8f2;
  --mark: #00f2f0;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background:
    url('../images/theme/tv_70.png') 0 0 repeat fixed,
    url('../images/theme/background-bridge.jpg') 50% 50% no-repeat fixed,
    #9fbfa8;
  background-size: auto, cover;
}

body {
  margin: 0;
  color: var(--text);
  font: normal 14px/20px var(--sans);
  background:
    url('../images/theme/tv_70.png') 0 0 repeat fixed,
    url('../images/theme/background-bridge.jpg') 50% 50% no-repeat fixed,
    #9fbfa8;
  background-size: auto, cover;
}

a {
  color: #1186b8;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-shell {
  width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 245px minmax(0, 735px);
  background: #fff;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 28px 20px 30px;
  background: var(--sidebar);
  color: #ddd;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 150px;
  margin-bottom: 26px;
  color: #fff;
  font: 700 14px var(--serif);
  text-align: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  margin: 0 -20px;
  max-height: 145px;
  object-fit: contain;
}

.search {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search input {
  width: 100%;
  height: 32px;
  border: 1px solid #343434;
  padding: 0 12px;
  color: #d7d7d7;
  background: #1a1a1a;
  font: inherit;
}

.primary-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.primary-nav a {
  position: relative;
  padding: 9px 10px;
  border-radius: 3px;
  color: #ddd;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.5;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.menu-dropdown a.level1,
.menu-dropdown span.level1 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.primary-nav a.active,
.primary-nav a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, .07);
  transform: translateX(4px);
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  right: -27px;
  top: 50%;
  margin-top: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid var(--sidebar);
}

.main-panel {
  min-height: 100vh;
  background: #fff;
}

.hero-slider {
  position: relative;
  width: 735px;
  height: 480px;
  overflow: hidden;
  background: #f4f4f4;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-controls button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
}

.slider-controls button.active {
  background: #fff;
}

.content-page {
  padding: 22px 20px 44px;
  overflow: hidden;
}

.content-page h1 {
  margin: 0 0 22px;
  color: var(--heading);
  font: 24px/1.1 var(--serif);
  white-space: nowrap;
}

.content-page h2,
.content-page h3 {
  color: var(--heading);
  font-family: var(--serif);
}

.content-page article h1 {
  margin: 0 0 14px;
  color: var(--heading);
  font: 24px/1.1 var(--serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-page article h1 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.content-page h2 {
  font-size: 26px;
  line-height: 26px;
}

.content-page h3 {
  font-size: 20px;
  line-height: 20px;
}

.content-page .section-title {
  margin: 0 0 6px;
  color: #3366ff;
  font-size: 20px;
  line-height: 20px;
}

.declaration-block header {
  margin: 0;
}

.declaration-block h3 {
  margin-top: 0;
}

.content-page p {
  margin: 0 0 14px;
}

.content-page img {
  margin: 0 8px 12px 0;
}

.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.content-page td,
.content-page th {
  border: 1px solid #e7e7e7;
  padding: 7px 9px;
  vertical-align: top;
}

.content-page .box-download,
.box-download {
  border: 1px solid #e7e7e7;
  background: #fbfbfb;
  margin: 8px 0;
  padding: 10px 12px;
}

.content-page ul.check,
.content-page ul {
  padding-left: 22px;
}

.content-page mark,
.content-page span[style*='background-color: #00ffff'] {
  background: var(--mark) !important;
  color: #111;
}

.intro-block {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.intro-block img {
  width: 128px;
  margin: 0;
}

.intro-block p {
  margin-bottom: 12px;
}

.intro-note {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.accordion {
  margin: 8px 0;
  border: 1px solid #e7e7e7;
  background: #fbfbfb;
}

.accordion summary {
  cursor: pointer;
  padding: 10px 12px;
  color: #0000ff;
  font-weight: 700;
  text-transform: uppercase;
}

.accordion summary:hover {
  background: #f1f1f1;
}

.accordion .box-download {
  margin: 0;
  border-width: 1px 0 0;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
}

.feature-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
}

.feature-item img {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.feature-item p {
  margin: 0;
}

.footer {
  margin: 0 20px;
  padding: 18px 0 30px;
  border-top: 1px solid #e7e7e7;
  color: #888;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-shell {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: 0;
  }

  .brand {
    align-items: center;
    min-height: 0;
  }

  .brand img {
    width: min(100%, 220px);
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
  }

  .primary-nav a:hover {
    transform: none;
  }

  .primary-nav a.active::after {
    display: none;
  }

  .hero-slider {
    width: 100%;
    height: min(56vw, 420px);
  }

  .content-page h1 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .content-page,
  .footer {
    margin-left: 16px;
    margin-right: 16px;
  }

  .content-page {
    padding: 18px 0 34px;
  }

  .content-page h1 {
    font-size: 28px;
  }

  .intro-block {
    grid-template-columns: 1fr;
  }

  .intro-block img {
    width: 120px;
  }
}
