:root {
  --viewport-width: min(100vw, 1600px);
  --b: calc(var(--viewport-width) / 160);
}

/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
#single .h2title {
  padding-top: max(10rem, 100px);
}
#single .single__container {
  margin: max(12rem, 50px) auto max(17rem, 100px);
}
#single .post__title {
  font-size: max(3rem, 18px);
}
#single .post__date {
  color: #36363666;
  font-family: "Questrial", sans-serif;
  margin-right: max(1.5rem, 10px);
}
#single .post__category {
  text-align: end;
  flex: 1;
}
#single .post__category .category-item {
  background-color: #3A9447;
  padding: max(0.1rem, 1px) max(1rem, 10px);
  border-radius: max(0.3rem, 3px);
  font-size: max(1.2rem, 12px);
  color: #fff;
  display: inline-block;
}
#single .post__detail {
  margin: max(5rem, 25px) 0 max(10rem, 50px);
}
#single .post__detail a {
  margin-top: max(1.4rem, 14px);
  border-bottom: 1px solid #363636;
  display: inline-block;
  font-weight: 600;
}
#single .post__detail a:hover {
  color: #3A9447;
}
#single .post__detail figure a {
  border-bottom: initial;
}
#single .post__detail img {
  margin: max(3rem, 30px) auto 0;
  max-width: 500px;
  display: block;
}
#single .post__detail img.border {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border: 1px solid #3A9447;
  border-radius: max(0.6rem, 6px);
  margin-bottom: max(3rem, 30px);
  max-width: 1000px;
}
#single .nav-links {
  display: flex;
  justify-content: center;
  gap: max(5rem, 30px);
  margin-bottom: max(17rem, 100px);
}
#single .nav-links a, #single .nav-links span {
  font-size: max(1.6rem, 14px);
  font-family: "Questrial", sans-serif;
  color: #3A9447;
}
#single .nav-links .current {
  position: relative;
}
#single .nav-links .current::after {
  content: "";
  background-image: url(../../images/current-bg.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -51%);
  width: 550%;
  aspect-ratio: 33/62;
}