.science {
  padding-top: 100px;
}

.science__btns {
  display: flex;
  gap: 30px;
  margin-bottom: 32px;
}

.science__btn {
  font-size: 14px;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--black);
  background-color: var(--white);
  transition: background-color .4s ease, color .4s ease;
}

.science__btn:hover,
.science__btn--active {
  color: var(--white);
  background-color: #65b8ef;
}

.science__container {
  display: none;
  margin-bottom: 32px;
}

.science--active {
  display: block;
}

.science__cards {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.science__card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22.5%;
  min-height: 320px;
  background-position: right -35px bottom;
  background-repeat: no-repeat;
  background-size: 220px;
  border: 1px solid var(--white);
  border-radius: 6px;
  box-shadow: 0px 4px 20px 0px rgba(155, 178, 190, 0.2);
  cursor: pointer;
  transition: border-color 0.4s ease;
}

.science__card:hover {
  border-color: var(--orange);
}

.science__title {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.science__card:hover .science__title {
  color: var(--orange);
}

.science__descr {
  font-size: 14px;
  line-height: 19px;
  color: #7c90a0;
}

.science__time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7c90a0;
  font-size: 12px;
  font-family: "Core Sans N 65 Regular", sans-serif;
  font-weight: 600;
  line-height: 15px;
}

.science__time::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(../../icons/cognitive/link-icon.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.science__all-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: 0.5px;
  font-family: "Core Sans N 65 Regular", sans-serif;
  font-weight: 600;
  border: 1px solid var(--orange);
  border-radius: 6px;
  color: var(--orange);
  background-color: transparent;
  width: 100%;
  padding: 27px 30px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.science__all-btn::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-image: url(../../icons/cognitive/link-icon.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.science__all-btn:hover {
  background-color: #fff7f4;
  border-color: #fff7f4;
}
