html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #333;
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: #004b8d;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #b15d00;
  text-decoration: underline;
}

.eso-heading {
  position: relative;
  height: 185px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, #00003f 0, rgba(0, 0, 63, 0.55) 17%, rgba(0, 0, 63, 0.05) 48%, rgba(0, 0, 63, 0.38) 80%, #00003f 100%),
    url("https://www.eso.org/public/archives/images/screen/eso0934a.jpg") center 36% / cover no-repeat;
  border-bottom: 2px solid #004b8d;
}

.eso-heading::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.eso-brand,
.eso-right {
  position: relative;
  z-index: 1;
}

.eso-brand {
  position: absolute;
  left: 34px;
  top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.32;
  text-shadow: 0 1px 3px #000;
}

.eso-brand img {
  display: block;
  width: 104px;
  height: auto;
}

.eso-right {
  position: absolute;
  right: 54px;
  top: 80px;
  transform: none;
  width: min(760px, 58vw);
  text-align: right;
}

.eso-slogan {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}

.eso-flags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
  width: 100%;
}

.eso-flags img {
  display: block;
  width: 24px;
  height: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.tutorial-page {
  max-width: 1024px;
  margin: 0 auto;
  padding: 18px;
  background: #fff;
}

.data-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 1px solid #b8b8b8;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 9px 10px;
  border: 1px solid #cfcfcf;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #004b8d;
  color: #fff;
  font-weight: bold;
}

.data-table tbody tr:nth-child(even) {
  background: #f3f3f3;
}

@media (max-width: 780px) {
  .tutorial-page {
    padding: 12px 10px;
  }

  .eso-heading {
    height: 170px;
  }

  .eso-brand {
    left: 16px;
    top: 16px;
    font-size: 16px;
    gap: 12px;
  }

  .eso-brand img {
    width: 58px;
  }

  .eso-right {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 14px;
    transform: none;
    align-items: flex-start;
    gap: 8px;
  }

  .eso-slogan {
    font-size: 15px;
    white-space: normal;
  }

  .eso-flags {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
  }

  .eso-flags img {
    width: 20px;
  }

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