:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #162119;
  background: #e6e8e3;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 16px 20px;
  background: #173f2c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
h1 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 5px;
}
header p {
  font-size: 12px;
  color: #d8e3da;
  margin: 0;
}
nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
nav a {
  padding: 9px 12px;
  background: #fff;
  color: #173f2c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
}
.pageToolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fbfaf6;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 6px #0002;
}
button,
select {
  font: inherit;
  padding: 7px 10px;
  border: 1px solid #b8c2b7;
  border-radius: 3px;
  background: #fff;
  color: #173f2c;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
label {
  font-size: 13px;
}
select {
  margin-left: 8px;
}
main {
  max-width: 1050px;
  margin: auto;
  padding: 12px;
}
figure {
  margin: 0 0 18px;
  background: #fff;
  box-shadow: 0 2px 9px #0002;
  scroll-margin-top: 65px;
}
figcaption {
  padding: 9px 12px;
  font-size: 12px;
  color: #526255;
  border-bottom: 1px solid #eee;
}
figure a {
  display: block;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
footer {
  padding: 18px;
  text-align: center;
  font-size: 12px;
  color: #526255;
}
:focus-visible {
  outline: 3px solid #d86b3f;
  outline-offset: 3px;
}
@media (max-width: 500px) {
  header {
    padding: 14px;
  }
  h1 {
    font-size: 14px;
  }
  main {
    padding: 8px;
  }
  nav a {
    font-size: 11px;
  }
}
