.hero .hero-wrapper {
  display: flex;
  height: 650px;
}
.hero .hero-block {
  flex-basis: 50%;
  height: 100%;
}
.hero .hero-block.block-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero .hero-block.block-content {
  background: #576303;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .hero-block.block-content h1,
.hero .hero-block.block-content p {
  color: #FFFFFF;
}
.hero .hero-block.block-content .content-wrapper {
  max-width: 600px;
}
.hero .hero-block.block-content .content-wrapper .button-back {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.24px;
  opacity: 0.5;
  margin-bottom: 12px;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}
.hero .hero-block.block-content .content-wrapper .button-back:hover {
  opacity: 1;
}
.hero .hero-block.block-content .content-wrapper .title {
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 24px;
}
.hero .hero-block.block-content .content-wrapper .description {
  margin-bottom: 40px;
}
.hero .hero-block.block-content .content-wrapper .description p {
  line-height: 30px;
}
.hero .hero-block.block-content .content-wrapper .description p span {
  opacity: 0.7;
}
.hero .hero-block.block-content .content-wrapper .image-wrapper p {
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.14px;
  opacity: 0.5;
  margin-bottom: 16px;
}
.hero .hero-block.block-content .content-wrapper .image-wrapper img {
  height: 28px;
  width: auto;
}

.recipe {
  padding: 80px 0 120px 0;
}
.recipe .container {
  max-width: 1120px;
}
.recipe .recipe-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}
.recipe .recipe-item {
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 40px 0;
}
.recipe .recipe-item:not(:last-child) {
  border-bottom: 1px solid rgba(87, 99, 3, 0.3);
}
.recipe .recipe-item.active .recipe-block-title:after {
  background-image: url("../icons/minus.svg");
}
.recipe .recipe-block-title {
  font-size: 32px;
  line-height: 62px;
  position: relative;
}
.recipe .recipe-block-title:after {
  content: "";
  background-image: url("../icons/plus.svg");
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  line-height: 9px;
  width: 16px;
  height: 16px;
}
.recipe .recipe-content {
  display: none;
  padding: 24px 0;
}
.recipe .recipe-content p {
  color: #373737;
  font-size: 20px;
  line-height: 38px;
}
.recipe .recipe-content p:not(:last-child) {
  margin-bottom: 20px;
}
.recipe .recipe-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 200px;
  gap: 24px;
}
.recipe .recipe-buttons .button-wrapper {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 12px;
}
.recipe .recipe-buttons .button-wrapper.print {
  background-color: #576303;
}
.recipe .recipe-buttons .button-wrapper.download {
  background-color: #434F00;
}
.recipe .recipe-buttons .button-wrapper h3 {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}
.recipe .recipe-buttons .button-wrapper .button {
  width: 216px;
  cursor: pointer;
  text-align: center;
}

.related-posts {
  background-color: #F7F7F7;
  padding: 134px 0 200px 0;
}
.related-posts .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
}
.related-posts .title-wrapper .title {
  font-size: 42px;
  line-height: 52px;
}
.related-posts .related-posts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 24px;
}
.related-posts .related-posts-item {
  position: relative;
  width: 100%;
  height: 420px;
}
.related-posts .related-posts-link {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}
.related-posts .related-posts-link:hover img {
  transform: scale(1.05);
}
.related-posts .related-posts-link:hover:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  height: 100%;
}
.related-posts .related-posts-link:hover .post-subtitle {
  opacity: 1;
  text-decoration-line: underline;
  text-underline-offset: 5px;
}
.related-posts .related-posts-link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgb(0, 0, 0) 100%);
  z-index: 2;
  transition: all 0.3s ease;
}
.related-posts .related-posts-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.5s ease;
  z-index: 1;
}
.related-posts .related-posts-link .post-title {
  padding: 0 24px;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 26px;
  position: absolute;
  bottom: 64px;
  z-index: 3;
}
.related-posts .related-posts-link .post-subtitle {
  padding: 0 24px;
  color: #FFFFFF;
  line-height: 24px;
  position: absolute;
  bottom: 32px;
  opacity: 0.5;
  transition: all 0.3s ease;
  z-index: 3;
}
.related-posts .related-posts-link .post-subtitle:hover {
  opacity: 1;
}

@media screen and (max-width: 1440px) {
  .hero .hero-wrapper {
    height: 600px;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 560px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 32px;
    line-height: 38px;
  }
  .hero .hero-block.block-content .content-wrapper .description {
    margin-bottom: 24px;
  }
  .related-posts {
    padding: 100px 0 180px 0;
  }
  .related-posts .title-wrapper .title {
    font-size: 32px;
    line-height: 42px;
  }
  .related-posts .related-posts-list {
    gap: 14px;
  }
  .related-posts .related-posts-item {
    height: 380px;
  }
  .related-posts .related-posts-link .post-title {
    font-size: 20px;
    line-height: 28px;
  }
}
@media screen and (max-width: 1200px) {
  .header .header-menu .menu-link {
    color: #576303;
  }
  .header .header-menu .menu-link:after {
    background-color: #576303;
  }
  .header .button-primary {
    background-color: #576303;
    color: #FFFFFF;
    border: 1px solid #576303;
  }
  .header .button-primary:hover {
    background-color: #FFFFFF;
    color: #576303;
  }
  .hero .hero-wrapper {
    height: 500px;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 450px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 16px;
  }
  .recipe {
    padding: 40px 0 80px 0;
  }
  .recipe .container {
    max-width: 860px;
  }
  .recipe .recipe-block-title {
    font-size: 28px;
    line-height: 52px;
  }
  .recipe .recipe-content p {
    line-height: 30px;
  }
  .recipe .recipe-buttons {
    gap: 15px;
  }
  .related-posts {
    padding: 80px 0 240px 0;
    position: relative;
  }
  .related-posts .title-wrapper {
    justify-content: center;
    margin-bottom: 40px;
  }
  .related-posts .title-wrapper .title {
    font-size: 32px;
    line-height: 32px;
    text-align: center;
  }
  .related-posts .title-wrapper .button {
    padding: 13px 24px;
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 130px;
  }
  .related-posts .related-posts-list {
    gap: 20px;
  }
  .related-posts .related-posts-item {
    height: 300px;
  }
  .related-posts .related-posts-link .post-title {
    padding: 0 16px;
    font-size: 16px;
    line-height: 24px;
    bottom: 44px;
    text-align: center;
  }
  .related-posts .related-posts-link .post-subtitle {
    padding: 0 16px;
    font-size: 14px;
    line-height: 20px;
    bottom: 20px;
    text-align: center;
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .header .mobile-menu-button {
    background-color: #576303;
  }
  .header .mobile-menu-button i svg rect {
    fill: #FFFFFF;
  }
  .header .mobile-menu-button span {
    color: #FFFFFF;
    opacity: 0.5;
  }
  .hero .hero-wrapper {
    height: 400px;
    position: relative;
  }
  .hero .hero-block {
    flex-basis: 100%;
  }
  .hero .hero-block.block-content {
    position: absolute;
    top: 280px;
    margin: 0 32px;
    padding: 40px 50px;
    border-radius: 12px;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 100%;
    height: -moz-fit-content;
    height: fit-content;
  }
  .hero .hero-block.block-content .content-wrapper .suptitle {
    text-align: center;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    margin-bottom: 16px;
  }
  .hero .hero-block.block-content .content-wrapper .description {
    margin-bottom: 32px;
  }
  .hero .hero-block.block-content .content-wrapper .description p {
    text-align: center;
  }
  .hero .hero-block.block-content .content-wrapper .image-wrapper {
    text-align: center;
  }
  .recipe {
    padding: 310px 0 80px 0;
  }
  .related-posts .related-posts-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .related-posts .related-posts-item:last-child {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .hero .hero-wrapper {
    height: 100%;
  }
  .hero .hero-block.block-image {
    height: 400px;
  }
  .recipe .recipe-wrapper {
    margin-bottom: 0;
  }
  .recipe .recipe-block-title {
    font-size: 22px;
  }
  .recipe .recipe-content {
    padding: 8px 0;
  }
  .recipe .recipe-content p {
    font-size: 16px;
    line-height: 26px;
  }
  .recipe .recipe-content p:not(:last-child) {
    margin-bottom: 0;
  }
  .recipe .recipe-buttons {
    height: 165px;
  }
  .recipe .recipe-buttons .button-wrapper {
    gap: 16px;
  }
  .recipe .recipe-buttons .button-wrapper h3 {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 32px;
  }
  .related-posts {
    padding: 80px 0 220px 0;
  }
  .related-posts .title-wrapper {
    margin-bottom: 84px;
  }
  .related-posts .title-wrapper .title {
    font-size: 26px;
    line-height: 32px;
  }
  .related-posts .title-wrapper .button {
    bottom: 120px;
  }
  .related-posts .related-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 0;
  }
  .related-posts .related-posts-item {
    height: 300px;
  }
  .related-posts .related-posts-item:nth-child(even) {
    margin-top: 24px;
  }
  .related-posts .related-posts-item:nth-child(odd) {
    margin-top: -24px;
  }
  .related-posts .related-posts-item:last-child {
    display: block;
  }
  .related-posts .related-posts-link {
    border-radius: 16px;
  }
}
@media screen and (max-width: 640px) {
  .hero .hero-block.block-content {
    margin: 0 15px;
    padding: 40px 20px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 24px;
    line-height: 32px;
  }
  .hero .hero-block.block-content .content-wrapper .description p {
    font-size: 15px;
    line-height: 25px;
  }
  .recipe {
    padding: 300px 0 60px 0;
  }
  .recipe .recipe-content {
    padding: 16px 0 0 0;
  }
  .recipe .recipe-item {
    padding: 32px 0;
  }
  .recipe .recipe-block-title {
    font-size: 20px;
    line-height: 32px;
  }
  .recipe .recipe-buttons {
    grid-template-columns: 1fr;
    height: 100%;
  }
  .recipe .recipe-buttons .button-wrapper {
    height: 165px;
    padding: 32px;
  }
  .related-posts {
    padding: 60px 0 180px 0;
  }
  .related-posts .title-wrapper {
    margin-bottom: 40px;
  }
  .related-posts .title-wrapper .button {
    bottom: 100px;
  }
  .related-posts .related-posts-list {
    grid-template-columns: 1fr;
    gap: 10px;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .related-posts .related-posts-item {
    width: 360px;
  }
  .related-posts .related-posts-item:nth-child(even) {
    margin: 0;
  }
}
@media screen and (max-width: 576px) {
  .related-posts .related-posts-item:nth-child(odd) {
    margin-top: 0;
  }
}
@media screen and (max-width: 390px) {
  .related-posts .related-posts-item {
    width: 100%;
  }
}
@media print {
  @page {
    margin: 0 1cm;
    padding: 2cm 0;
  }
  .header {
    border-bottom: 0;
  }
  .header .header-wrapper .logo-wrapper img {
    height: 50px;
  }
  .header .nav-wrapper,
  .header .button-wrapper {
    display: none;
  }
  footer,
  .description,
  .suptitle,
  .button-back,
  .image-wrapper,
  .related-posts {
    display: none !important;
  }
  .recipe {
    padding: 0;
  }
  .recipe .recipe-buttons {
    display: none;
  }
  .recipe .recipe-content {
    display: block !important;
    padding: 0;
  }
  .recipe .recipe-content p {
    font-size: 14px;
    line-height: 1;
  }
  .recipe .recipe-item {
    padding: 16px 0;
  }
  .recipe .recipe-item:not(:last-child) {
    border-bottom: none;
  }
  .recipe .recipe-block-title {
    font-size: 24px;
  }
  .hero .hero-wrapper {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero .hero-block {
    flex-basis: 100%;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 32px;
    line-height: 42px;
    text-align: center;
  }
  .hero .hero-block.block-image img {
    width: 200px;
    height: 150px;
    border-radius: 12px;
  }
}