.linkbox__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.linkbox__item {
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  min-height: 450px;
  overflow: hidden;
  transition: 0.3s;
}
.linkbox__item::after {
  position: absolute;
  content: "";
  min-height: 450px;
  width: 100%;
  bottom: 0;
  left: 0;
  background: linear-gradient(360deg, var(--blue) 0%, rgba(32, 71, 122, 0) 100%);
  z-index: -1;
  transition: 0.3s;
}
.linkbox__item:hover::after {
  background: linear-gradient(360deg, var(--orange) 0%, rgba(32, 71, 122, 0) 100%);
}
.linkbox__item:hover .linkbox__subtitle::after {
  width: 150px;
  background-color: var(--white);
}
.linkbox__item:hover .linkbox__btn {
  background-color: var(--white);
  color: var(--orange);
}
.linkbox__item:hover .linkbox__btn:hover {
  background-color: var(--orange-trigger);
  color: var(--white);
}
.linkbox__item img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.linkbox__descr {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px 24px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.linkbox__subtitle {
  margin-bottom: 16px;
  position: relative;
  font-weight: 700;
  color: var(--white);
}
.linkbox__subtitle::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 4px;
  background-color: var(--orange);
  left: 0;
  top: -14px;
  transition: 0.3s;
}
.linkbox__text {
  color: var(--white);
  margin-bottom: 20px;
}
.linkbox__btn {
  width: -moz-max-content;
  width: max-content;
  min-width: 195px;
  height: 60px;
  margin: 0;
  padding: 0 30px;
  display: grid;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  border-radius: var(--base-radius);
}
.linkbox__img {
  border-radius: 5px;
  overflow: hidden;
}
.linkbox__img img {
  width: 100%;
  height: 100%;
}

.linkblock__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.linkblock__item {
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  min-height: 450px;
  overflow: hidden;
}
.linkblock__item::after {
  position: absolute;
  content: "";
  min-height: 450px;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(var(--blue) 0%, rgba(32, 71, 122, 0) 100%);
  z-index: -1;
  transition: 0.3s;
}
.linkblock__item:hover .linkblock__subtitle::after {
  background-color: var(--white);
  width: 150px;
}
.linkblock__item:hover::after {
  background: linear-gradient(var(--orange) 0%, rgba(32, 71, 122, 0) 100%);
}
.linkblock img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.linkblock__descr {
  position: absolute;
  top: 0;
  left: 0;
  padding: 56px 24px;
  max-width: 408px;
}
.linkblock__subtitle {
  margin-bottom: 16px;
  position: relative;
  font-weight: 700;
  color: var(--white);
}
.linkblock__subtitle::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 4px;
  background-color: var(--orange);
  left: 0;
  top: -14px;
  transition: 0.3s;
}
.linkblock__text {
  color: var(--white);
}
.linkblock__img {
  border-radius: 5px;
  overflow: hidden;
}
.linkblock__img img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1230px) {
  .linkbox__descr {
    min-height: 200px;
  }
}
@media (max-width: 950px) {
  .linkblock__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .linkblock__item {
    min-height: 380px;
  }
}
@media (max-width: 900px) {
  .linkbox__descr {
    min-height: 300px;
  }
}
@media (max-width: 768px) {
  .linkbox__descr {
    min-height: 325px;
  }
  .linkbox__btn {
    padding: 0 15px;
    min-width: 165px;
  }
}
@media (max-width: 640px) {
  .linkbox__inner {
    grid-template-columns: 1fr;
  }
  .linkbox__descr {
    min-height: 0;
  }
  .linkblock__item {
    min-height: 340px;
  }
}
@media (max-width: 550px) {
  .linkblock__inner {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=linkblock.css.map */