.informations-block {
  margin-inline: auto;
  max-width: 1200px;
  padding: 0 16px; /* padding for small screens */
  padding-bottom: 40px;
}

.informations-block-heading {
  font-size: 40px;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 32px;
  padding-bottom: 16px;
}

.hr-informations-block {
  width: 56px;
  border-bottom: 1px solid black;
  height: 1px;
  border-top: none;
  margin: auto;
}
.question-row {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .question-index {
    font-size: 40px;
  }
  .close-question {
    display: none;
  }
}
.answer {
  display: none;
  padding-left: 4.5rem;
  padding-right: 3rem;
  padding-bottom: 18px;
}
.question {
  font-size: 20px;
  font-weight: 500;
}
.question-index-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.question-item-card {
  border-bottom: 0.2px solid rgb(74, 74, 74);
}

.term-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  .term-index {
    font-size: 40px;
  }
  .close-term {
    display: none;
  }
}
.definition {
  display: none;
  padding-left: 4.5rem;
  padding-right: 3rem;
  padding-bottom: 18px;
}
.term {
  font-size: 20px;
  font-weight: 500;
}
.term-index-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.term-item-card {
  border-bottom: 0.2px solid rgb(74, 74, 74);
}
.terms-list {
  display: none;
  background: white;
}

.questions-list,
.documents-list,
.links-list {
  background: white;
}
.block-selection {
  display: flex;
  width: 100%;
  gap: 10%;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  border-top-left-radius: 32px 32px;
  border-top-right-radius: 32px 32px;
  margin-top: 46px;
}
.select-qa,
.select-terms,
.select-docs,
.select-links {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 8px;
  padding-top: 8px;
}
.select-qa.active,
.select-terms.active,
.select-docs.active,
.select-links.active {
  background: white;
  color: #3d5af1;
  font-weight: 700;
  box-shadow: 0px -12px white;
  border-top-left-radius: 20px 20px;
  border-top-right-radius: 20px 20px;
}
.select-qa.active:hover,
.select-terms.active:hover,
.select-docs.active:hover,
.select-links.active:hover {
  color: #3d5af1;
  text-shadow: 1px;
  cursor: pointer;
  box-shadow: 0px -12px white;
  border-top-left-radius: 20px 20px;
  border-top-right-radius: 20px 20px;
}
.select-qa,
.select-terms,
.select-docs,
.select-links {
  transition: color 0.3s ease, text-shadow 0.3s ease, box-shadow 0.4s ease,
    transform 0.3s ease, border-radius 0.3s ease;
}
.select-qa:hover,
.select-terms:hover,
.select-docs:hover,
.select-links:hover {
  color: #3d5af1;
  text-shadow: 1px;
  cursor: pointer;
  box-shadow: 0px -12px #f3f3f3;
  border-top-left-radius: 20px 20px;
  border-top-right-radius: 20px 20px;
}

.questions-list,
.terms-list,
.documents-list,
.links-list {
  padding: 1rem 9rem;
  border-bottom-left-radius: 32px 32px;
  border-bottom-right-radius: 32px 32px;
}
.close-term,
.open-term,
.close-question,
.open-question {
  cursor: pointer;
}

.documents-list,
.links-list {
  display: none;
}
.pdf-open-modal {
  color: #0088ff;
  font-weight: 500;

  cursor: pointer;
}
.pdf-open-modal:hover {
  color: #6cbaff;
}
.link-item-card {
  .link-row {
    .link-index-heading {
      display: flex;
      .link {
        color: #0088ff;
        font-weight: 500;
        padding-left: 0.5rem;
        cursor: pointer;
      }
      .link:hover {
        color: #6cbaff;
      }
    }
  }
}

.pdf-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-modal-content {
  position: relative;
  background: #fff;
  padding: 10px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  border-radius: 8px;
  width: min-content;
}

.pdf-container {
  width: 100%;
  height: 100%;
  overflow: auto; /* Only modal scrolls */
  text-align: -webkit-center;
}

.pdf-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.doc-index-heading {
  display: flex;
  gap: 0.4%;
}
