:root {
  --ink: #333;
  --text: #555;
  --muted: #777;
  --red: #c60101;
  --header: #1d1d1d;
  --line: #ececec;
  --band: #f6f6f6;
  --info: #d9edf7;
  --info-border: #bce8f1;
  --info-text: #31708f;
  --blue: #337ab7;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--header);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  padding: 8px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font: 600 12px Raleway, Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #eee;
  text-decoration: none;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: #fff;
}

.site-nav a.is-current {
  box-shadow: inset 0 -2px 0 var(--red);
}

.page-banner {
  background: var(--band);
}

.page-banner h1 {
  margin: 0;
  padding: 28px 0;
  color: var(--ink);
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 56px;
  padding: 36px 0 80px;
}

.entry h1,
.entry h2,
.entry h3 {
  color: var(--ink);
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.entry h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 1.6rem 0 1rem;
}

.entry h2 {
  font-size: 1.55rem;
  margin: 1.8rem 0 0.7rem;
}

.entry h3 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.5rem;
}

.entry p {
  margin: 0 0 1rem;
}

.entry ul,
.entry ol {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

.entry li {
  margin: 0.3rem 0;
}

.entry hr {
  border: 0;
  border-top: 1px solid #e4e4e4;
  margin: 2rem 0 1.4rem;
}

.entry img {
  display: block;
  margin: 1.25rem auto;
}

.entry blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--red);
  color: #4d4d4d;
}

.entry blockquote p:last-child {
  margin-bottom: 0;
}

.entry s,
.entry del {
  color: #888;
}

.entry .pull-right {
  text-align: right;
}

.alert-info {
  background: var(--info);
  border: 1px solid var(--info-border);
  color: var(--info-text);
  padding: 12px 16px;
  margin: 1rem 0 1.2rem;
}

.alert-info p,
.alert-info ul {
  margin-bottom: 0;
}

.alert-info ul {
  margin-top: 0.4rem;
}

.videoWrapper {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  margin: 1.2rem 0 1.6rem;
}

.videoWrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entry iframe {
  max-width: 100%;
  border: 0;
}

.entry .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 1rem;
}

.entry .col-sm-4 {
  flex: 1 1 240px;
}

.entry .col-sm-4 iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.6rem;
}

.entry table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.entry th,
.entry td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.entry td,
.entry tbody th:not([scope="row"]) {
  text-align: center;
}

.entry th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: #444;
  width: 34%;
}

.entry thead th {
  background: #222;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}

.entry tbody tr:first-child th:not([scope="row"]) {
  color: #666;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mark {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  position: relative;
  vertical-align: middle;
}

.mark-yes::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.32rem;
  width: 0.62rem;
  height: 0.32rem;
  border-left: 2px solid #777;
  border-bottom: 2px solid #777;
  transform: rotate(-45deg);
}

.mark-note::before {
  border-color: var(--blue);
}

.mark-no::before,
.mark-no::after {
  content: "";
  position: absolute;
  left: 0.52rem;
  top: 0.12rem;
  width: 2px;
  height: 0.95rem;
  background: #777;
}

.mark-no::before {
  transform: rotate(45deg);
}

.mark-no::after {
  transform: rotate(-45deg);
}

.sidebar h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li {
  margin: 0 0 0.75rem;
}

.sidebar a {
  color: var(--muted);
  text-decoration: none;
}

.sidebar a:hover {
  color: var(--red);
}

.site-footer {
  background: var(--header);
  color: #cfcfcf;
  text-align: center;
  padding: 42px 20px 36px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: Raleway, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 18px;
}

.social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
}

.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copyright {
  margin: 0;
  color: #9a9a9a;
  font-size: 13px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--header);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 16px;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 10px 0;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .to-top {
    transition: none;
  }
}
