.heroes {
  background-color: #ecdbd2;
}
.heroes .block-title {
  font-weight: 700;
  font-size: 3rem;
  color: #000;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 992px) {
  .heroes .block-title {
    text-align: center;
  }
}
.heroes__inner {
  margin-left: auto;
  margin-right: auto;
}
.heroes .slick-list {
  margin: 0 -0.75rem;
}
.heroes .slick-track {
  display: flex !important;
}
.heroes .views-row {
  margin: 0 0.75rem;
  height: auto !important;
}
.heroes .field--name-node-link {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  font-size: 0;
  display: flex;
  flex-direction: column;
  border-radius: inherit;
}
.heroes .field--name-node-link a {
  flex-grow: 1;
}
.heroes .slick-dotted.slick-slider {
  margin-bottom: 0;
}
.heroes .slick-dots {
  position: static;
}
.heroes .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
.heroes .page-item:last-child .page-link {
  border-top-right-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
}
.heroes .page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
}
.heroes .page-link {
  position: relative;
  display: block;
  padding: 0.68rem 1.125rem;
  margin-left: -1px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  background-color: #fff;
  font-size: 2rem;
  border: 0;
  flex-grow: 1;
}
@media screen and (max-width: 992px) {
  .heroes .page-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.heroes .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #000;
}
.heroes .pagination {
  margin-bottom: 0;
}
.heroes .page-item {
  display: flex;
  flex-direction: column;
}
.heroes .pager__item--next .page-link,
.heroes .pager__item--previous .page-link {
  font-size: 0;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  background-image: url("/sites/all/themes/vesta_theme/image/arr-nav.svg");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  background-position: center;
}
.heroes .pager__item--previous .page-link {
  transform: rotate(180deg);
}
@media screen and (max-width: 992px) {
  .heroes .pager__item--last,
  .heroes .pager__item--first {
    display: none;
  }
}
.heroes .pager__item--last .page-link,
.heroes .pager__item--first .page-link {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.heroes .pager__item--last .page-link::after,
.heroes .pager__item--first .page-link::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  background-image: url("/sites/all/themes/vesta_theme/image/arr-nav.svg");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  background-position: center;
}
.heroes .pager__item--first .page-link {
  flex-direction: row-reverse;
}
.heroes .pager__item--first .page-link::after {
  transform: rotate(180deg);
}
@media screen and (max-width: 992px) {
  .heroes button.slick-arrow {
    top: -4rem;
  }
}
.heroes .view-content {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
}
.heroes .views-row {
  width: calc((100% - 7.5rem) / 5);
  display: flex;
  flex-direction: column;
}
.heroes .node--type-hero {
  border-radius: 1.88rem;
  background-color: #fff;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.heroes .node--type-hero h3 {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.25rem;
  color: #c31d27;
  text-align: center;
  width: 100%;
  text-overflow: ellipsis;
}
.heroes .field--name-node-title {
  width: 100%;
  margin-bottom: 0.5rem;
}
.heroes .field--name-field-portret-geroya {
  width: 100%;
  border-radius: 1.88rem;
  overflow: hidden;
  position: relative;
  padding-top: 110%;
  margin-bottom: 1.25rem;
}
.heroes .field--name-field-portret-geroya img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  object-fit: cover;
  object-position: center top;
}
.heroes .field--name-field-imya-avtora {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
  margin-top: auto;
}
.heroes .field--name-field-imya-avtora .field__label {
  width: 100%;
  font-weight: 400;
  font-size: 1.25rem;
  color: #767676;
  text-align: center;
}
.heroes .field--name-field-imya-avtora .field__item {
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
  text-align: center;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.main-hero {
  background-color: #ecdbd2;
  padding-top: 10rem;
  padding-bottom: 17rem;
  margin-bottom: -16rem;
}
@media screen and (max-width: 992px) {
  .main-hero {
    padding-bottom: 10rem;
    margin-bottom: -11rem;
  }
}
.main-hero .field--name-node-link {
  display: none;
}
.main-hero .field--name-field-rasskaz-o-geroe {
  margin-bottom: 1.5rem;
}
.field--name-field-imya-avtora {
  width: 100%;
  display: flex;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 1rem;
}
.field--name-field-imya-avtora .field__label {
  font-weight: 400;
  font-size: 1.25rem;
  color: #767676;
}
.field--name-field-imya-avtora .field__item {
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.field--name-field-rasskaz-o-geroe {
  font-family: "Mulish";
  font-weight: 600;
  font-size: 1.25rem;
  color: #000;
}
.main-search {
  margin-bottom: -17rem;
  padding-bottom: 17rem;
  background-color: #ecdbd2;
  padding-top: 10rem;
}
@media screen and (max-width: 992px) {
  .main-search {
    padding-top: 5rem;
  }
}
.main-search #search-api-page-block-form-search {
  display: none;
}
.main-search h2 {
  display: none;
  margin-bottom: 1rem;
}
.main-search .node--type-hero {
  margin-top: 2rem;
}
.main-search .node--type-hero:not(:last-child) {
  padding-bottom: 2rem;
}
.main-search .field--name-node-title {
  margin-bottom: 2rem;
}
.main-search .field--name-node-title h2 {
  display: block;
}
.main-search .field--name-field-rasskaz-o-geroe {
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.main-search .field--name-node-link {
  margin-bottom: 1.5rem;
}
.main-search .field--name-node-link a {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #000;
}
#hero {
  margin-bottom: -17rem;
  padding-bottom: 22rem;
  background-color: #ecdbd2;
  padding-top: 10rem;
}
@media screen and (max-width: 992px) {
  #hero {
    padding-top: 5rem;
    padding-bottom: 17rem;
  }
}
#hero .field--name-node-link {
  display: none;
}
#hero h2 {
  display: none;
}
#hero .field--name-field-rasskaz-o-geroe {
  margin-bottom: 1.5rem;
}
#hero .field--name-field-rasskaz-o-geroe img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 1rem;
}
#hero #block-vesta-theme-page-title {
  margin-bottom: 3rem;
}
#hero .field--name-field-portret-geroya {
  width: fit-content;
  max-width: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
}
@media screen and (max-width: 992px) {
  #hero .field--name-field-portret-geroya {
    max-width: 100%;
  }
}
#hero .field--name-field-portret-geroya img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}
#node-hero-form {
  display: flex;
  flex-direction: column;
}
#node-hero-form h4 {
  font-family: "Mulish";
  font-weight: 600;
  font-size: 1.25rem;
  color: #000;
  display: block;
  margin-bottom: 0.5rem;
}
#node-hero-form #edit-field-data-rozhdeniya-wrapper {
  margin-bottom: 1.5rem;
}
