.faq {
  padding-top: 60px;
  display: flex;
  min-height: calc(100vh - 274px);
}

.faq .sidebar {
  display: none;
  width: 41%;
  background-color: var(--primary-color);
}

.faq .sidebar > div {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  top: 60px;
  bottom: 0;
  padding: 60px 40px 0 60px;
  overflow-y: auto;
}

.faq .search-container {
  max-width: 250px;
  margin-top: 4px;
  margin-left: auto;
  position: relative;
  display: block;
  color: white;
}

.faq .search-container input {
  width: 100%;
  height: 40px;
  position: relative;
  top: 2px;
  outline: none;
  cursor: text;
  font-size: 18px;
  padding: 6px 40px 6px 40px;
  background: transparent;
}

.faq .search-container::before,
.faq .search-container::after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  border-radius: 2px;
  bottom: 0;
}

.faq .search-container::before {
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
}

.faq .search-container::after {
  left: 50%;
  right: 50%;
  width: 0;
  transition: all 0.2s ease;
  -moz-transition: 0.2s ease all;
  -webkit-transition: all 0.2s ease;
}

.faq .search-container input::-webkit-input-placeholder {
  color: white;
}

.faq .search-container input::placeholder {
  color: white;
}

.faq .search-container input:valid + .search-erase-button {
  display: flex;
  cursor: pointer;
}

.faq .search-container:focus-within {
  color: var(--neutral-color);
}

.faq .search-container:focus-within::after {
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--neutral-color);
}

.faq .search-container:focus-within .search-icon svg g {
  stroke: var(--neutral-color);
}

.faq .search-icon {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.2rem;
  align-items: center;
}

.faq .search-icon svg {
  margin: auto;
  fill: white;
}

.faq .search-icon svg g {
  stroke: white;
}

.faq .search-erase-button {
  position: absolute;
  display: none;
  top: 1px;
  bottom: 0;
  right: 0.5rem;
  align-items: center;
}

.faq .search-erase-button svg {
  width: 20px;
  height: 20px;
}

.faq .search-erase-button use {
  fill: white;
}

.faq .search-erase-button circle {
  fill: var(--neutral-color);
}

.faq .links {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

.faq .link {
  font-family: MuseoSans;
  font-weight: 400;
  color: white;
  text-align: end;
  padding: 0 45px 15px 0;
  display: flex;
  margin-left: auto;
  cursor: pointer;
}

.faq .links .disabled {
  font-weight: 400;
  color: var(--secondary-color-dark);
}

.faq .links .active {
  font-weight: bold;
}

.faq .links .active::after {
  content: "";
  opacity: 1;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #37e8d7;
  position: absolute;
  right: 35px;
  margin-top: 3px;
  transition: opacity 0.1s cubic-bezier(0.95, 0.1, 0.45, 0.94) 0.13s;
}

main {
  padding: 40px;
  max-width: 800px;
}

.faq .search-count {
  margin-top: 20px;
}

main h1 {
  color: var(--primary-color-2);
  font-size: 75px;
}

main h2 {
  color: var(--primary-color-2);
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 900;
  font-family: Mont;
  padding: 0;
}

main section {
  padding-top: 60px;
  margin-top: -60px;
}

main section + section {
  margin-top: -30px;
}

main article {
  scroll-margin-top: 200px;
  margin-bottom: 32px;
  border-radius: 5px;
}

main article header {
  font-family: MuseoSans;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 900;
}

main article > p {
  padding: 0;
}

main article > p + p {
  margin-top: 16px;
}

main article:target {
  background-color: #fff;
  animation: target_animation 1s linear;
}

@keyframes target_animation {
  from { background-color: #cafdf9; }
  to { background-color: #fff; }
}

main mark {
  background-color: var(--neutral-color-3);
}

main ul,
main ol {
  font-size: 18px;
}

@media only screen and (min-width: 768px) {
  .faq .sidebar {
    display: block;
  }

  .faq .content {
    width: 59%;
  }

  .faq {
    min-height: calc(100vh - 177px);
  }
}

@media only screen and (min-width: 992px) {
  .faq .sidebar {
    width: 33%;
  }

  .faq .content {
    width: 67%;
  }

  .faq {
    min-height: calc(100vh - 90px);
  }
}
