.page-template-page-assortment .header {
  border-color: rgba(247, 247, 247, 0.1);
}
.page-template-page-assortment .header .header-menu .menu-link {
  color: #F5F2EE;
}
.page-template-page-assortment .header .header-menu .menu-link:after {
  background-color: #F5F2EE;
}
.page-template-page-assortment .header .button-primary {
  background-color: #F5F2EE;
  border-color: #F5F2EE;
  color: #576303;
}
.page-template-page-assortment .header .button-primary:hover {
  background-color: #576303;
  border-color: #F5F2EE;
  color: #FFFFFF;
}

.hero {
  height: 644px;
  position: relative;
  background-position-y: 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(339deg, #576303 13.18%, rgba(87, 99, 3, 0) 107.5%), rgba(255, 255, 255, 0) 50%/cover no-repeat;
}
.hero .container-narrow {
  height: auto;
}
.hero .hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  margin-top: 120px;
}
.hero .hero-wrapper .subtitle {
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.18px;
  opacity: 0.5;
}
.hero .hero-wrapper .title {
  color: #FFFFFF;
  text-align: center;
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
.hero .hero-wrapper .descr {
  color: #FFFFFF;
  text-align: center;
  font-weight: 500;
  line-height: 30px;
}
.hero .hero-wrapper .read-more {
  display: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid #FFFFFF;
}

section.ages .ages-item:last-child .ages-link {
  border-right: none;
}
section.ages .ages-item i svg path {
  fill: #576303;
}
section.ages .ages-item .age-descr {
  color: #576303;
  margin-bottom: 32px;
  line-height: 26px;
}
section.ages .ages-item .button-secondary {
  border-color: #576303;
}
section.ages .ages-link {
  background-color: #FFFFFF;
  border-right: 1px solid rgba(87, 99, 3, 0.2);
  border-bottom: 1px solid rgba(87, 99, 3, 0.2);
  border-top: 1px solid rgba(87, 99, 3, 0.2);
  padding: 80px 0;
}
section.ages .ages-link:hover {
  background-color: #576303;
}
section.ages .ages-link:hover i svg path {
  fill: #F5E6B7;
}
section.ages .ages-link:hover .age-descr {
  color: #F5E6B7;
}
section.ages .ages-link:hover span.cheese-link {
  border-color: #576303;
  background-color: #F5E6B7;
  color: #576303;
}
section.ages .ages-link:hover span.cheese-link:hover {
  pointer-events: none;
}

.webshop {
  background-color: #F7F7F7;
  padding: 160px 0 80px 0;
}
.webshop .webshop-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}
.webshop .webshop-block {
  margin-left: 75px;
}
.webshop .webshop-block .title {
  font-size: 52px;
  font-weight: 400;
  line-height: 62px;
  margin-bottom: 24px;
}
.webshop .webshop-block .descr {
  color: #576303;
  font-size: 20px;
  font-weight: 500;
  line-height: 38px;
  margin-bottom: 32px;
  opacity: 0.7;
}
.webshop .webshop-block.image-wrapper img {
  height: 700px;
}
.webshop .webshop-block .button-secondary {
  border-color: #576303;
}

.page-template-page-assortment .recipes {
  padding: 80px 0 200px 0;
}
.page-template-page-assortment .recipes .bg {
  top: 45%;
}

@media screen and (max-width: 1440px) {
  .hero {
    height: 595px;
    background-position-x: 50%;
  }
  .hero .hero-wrapper {
    margin-top: 58px;
  }
  .hero .hero-wrapper .title {
    font-size: 46px;
  }
  .webshop {
    padding: 120px 0 60px 0;
  }
  .webshop .webshop-block {
    margin: 0;
  }
  .webshop .webshop-block .title {
    font-size: 42px;
    line-height: 52px;
    max-width: 515px;
    margin-bottom: 16px;
  }
  .webshop .webshop-block .descr {
    font-size: 16px;
    line-height: 28px;
    max-width: 515px;
  }
  .webshop .webshop-block.image-wrapper img {
    height: 610px;
  }
  section.ages .ages-link {
    padding: 90px 0 50px 0;
  }
  section.ages .ages-item .age-descr {
    line-height: 30px;
    margin-bottom: 74px;
  }
  .page-template-page-assortment .recipes {
    padding: 60px 0 180px 0;
  }
  .page-template-page-assortment .recipes .bg-image {
    top: 45%;
  }
}
@media screen and (max-width: 1200px) {
  .hero {
    height: 550px;
  }
  .hero .hero-wrapper {
    margin-top: 34px;
  }
  .hero .hero-wrapper .title {
    font-size: 42px;
    margin-bottom: 8px;
  }
  section.ages .ages-item:nth-child(3) .ages-link, section.ages .ages-item:nth-child(4) .ages-link {
    border-top: none;
  }
  section.ages .ages-item i {
    margin-bottom: 16px;
  }
  section.ages .ages-item .age-descr {
    margin-bottom: 24px;
  }
  section.ages .ages-link {
    padding: 60px 0;
  }
  .webshop .webshop-wrapper {
    gap: 20px;
  }
  .webshop .webshop-block .title {
    max-width: 430px;
  }
  .webshop .webshop-block .descr {
    max-width: 430px;
  }
  .webshop .webshop-block.image-wrapper img {
    height: auto;
    width: 500px;
  }
}
@media screen and (max-width: 768px) {
  .hero .hero-wrapper .title {
    font-size: 32px;
    line-height: 42px;
  }
  section.ages .ages-item:nth-child(2) .ages-link {
    border-top: none;
  }
  section.ages .ages-item i {
    margin-bottom: 0;
  }
  section.ages .ages-item span.cheese-link {
    background: none;
    border-color: #576303;
  }
  section.ages .ages-item span.cheese-link:before {
    background-image: url("../icons/triangle-right-green.svg");
  }
  section.ages .ages-item .age-descr {
    margin-bottom: 0;
  }
  section.ages .ages-link {
    padding: 50px 32px;
  }
  .webshop {
    padding: 100px 0;
    border-bottom: 1px solid rgba(87, 99, 3, 0.2);
  }
  .webshop .webshop-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .webshop .webshop-block.image-wrapper {
    order: 1;
    margin: 0 auto;
  }
  .webshop .webshop-block.image-wrapper img {
    height: 420px;
    width: auto;
  }
  .webshop .webshop-block.content-wrapper {
    order: 2;
    max-width: 520px;
    margin: 0 auto;
  }
  .webshop .webshop-block .title {
    margin-bottom: 16px;
    text-align: center;
    max-width: 520px;
    font-size: 32px;
    line-height: 42px;
  }
  .webshop .webshop-block .descr {
    font-size: 15px;
    line-height: 25px;
    text-align: center;
    max-width: 100%;
    margin: 0;
  }
  .webshop .webshop-block .button {
    display: none;
  }
  .page-template-page-assortment .recipes {
    padding: 100px 0 140px 0;
  }
  .page-template-page-assortment .recipes .recipes-list {
    margin-bottom: 0;
  }
  .page-template-page-assortment .recipes .button {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .webshop {
    background-color: #F5F2EE;
  }
}
@media screen and (max-width: 576px) {
  .hero {
    height: 505px;
  }
  .hero .hero-wrapper {
    margin-top: 40px;
  }
  .hero .hero-wrapper .title {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .hero .hero-wrapper .subtitle {
    display: none;
  }
  .hero .hero-wrapper .descr {
    line-height: 26px;
  }
  .hero .hero-wrapper .descr span {
    display: none;
  }
  .hero .hero-wrapper .descr span.show {
    display: block;
  }
  .hero .hero-wrapper .read-more {
    display: block;
  }
  section.ages .ages-link {
    padding: 32px 15px;
  }
  section.ages .ages-item .age-descr {
    line-height: 22px;
  }
  .webshop {
    padding: 60px 0;
  }
  .webshop .webshop-block .title {
    font-size: 28px;
    line-height: 36px;
  }
  .webshop .webshop-block .descr {
    font-size: 15px;
    line-height: 25px;
  }
  .webshop .webshop-block.image-wrapper {
    height: auto;
  }
  .webshop .webshop-block.image-wrapper img {
    width: 300px;
    height: auto;
  }
  .page-template-page-assortment .recipes {
    padding: 60px 0 120px 0;
  }
}