:root {
  --font-m: "PT Sans";
  --weight-m-700: 700;
  --weight-m-400: 400;
}

.new-book {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}
.new-book__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 24px;
  grid-column-gap: 60px;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
@media screen and (max-width: 1170px) {
  .new-book__cards {
    grid-column-gap: 30px;
  }
}
@media screen and (max-width: 1024px) {
  .new-book__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .new-book__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .new-book__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 350px) {
  .new-book__cards {
    grid-template-columns: repeat(1, 1fr);
  }
}
.new-book__row-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 24px;
}
@media screen and (max-width: 768px) {
  .new-book__row-cards {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    grid-column-gap: 30px;
  }
}
@media screen and (max-width: 600px) {
  .new-book__row-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 350px) {
  .new-book__row-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

.choice-riader-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  width: 100%;
  max-width: 800px;
}
@media screen and (max-width: 1250px) {
  .choice-riader-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .choice-riader-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
  }
}
@media screen and (max-width: 350px) {
  .choice-riader-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

.ganre-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 270px;
  height: 100%;
  max-height: 900px;
  margin-left: 60px;
  background: #fafafa;
  border-radius: 10px;
  padding: 45px 20px 20px 20px;
}
.ganre-aside > h1, .ganre-aside > h2, .ganre-aside > h3, .ganre-aside > h4, .ganre-aside > h5, .ganre-aside > h6 {
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 990px) {
  .ganre-aside {
    max-width: 100%;
    max-height: 100%;
    margin-left: 0;
    margin-top: 50px;
  }
}
.ganre-aside__cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 24px;
  width: 100%;
  padding-right: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(165, 165, 165, 0.3);
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-color: #313333 transparent;
  scrollbar-width: thin;
}
.ganre-aside__cards::-webkit-scrollbar {
  width: 8px;
}
.ganre-aside__cards::-webkit-scrollbar-track {
  background-color: transparent;
}
.ganre-aside__cards::-webkit-scrollbar-thumb {
  background: #313333;
}
@media screen and (max-width: 990px) {
  .ganre-aside__cards {
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    padding-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .ganre-aside__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 350px) {
  .ganre-aside__cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

.card-book {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: 0.3s all ease;
}
.card-book:hover {
  transform: translateY(-10px);
}
.card-book__tag {
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-bottom: -6px;
  padding: 4px 10px 8px 10px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  font-size: 13px;
  background: #e4573d;
  color: #fff;
}
.card-book__link {
  position: relative;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  border-radius: 8px;
  overflow: hidden;
}
.card-book__link::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 150%;
}
.card-book__link img, .card-book__link svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.card-book__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
}
.card-book__link-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 10px;
}
.card-book__link-placeholder > h1, .card-book__link-placeholder > h2, .card-book__link-placeholder > h3, .card-book__link-placeholder > h4, .card-book__link-placeholder > h5, .card-book__link-placeholder > h6 {
  margin-bottom: 8px;
  font-size: 20px;
  color: #fff;
  font-weight: 400;
}
.card-book__link-placeholder p {
  color: #fff;
  font-size: 14px;
  line-height: 120%;
}
.card-book__view {
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #afafaf;
}
.card-book__view::before {
  content: "";
  display: flex;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('data:image/svg+xml,             <svg xmlns="http://www.w3.org/2000/svg" height="48" width="48">             <path d="M24 31.5q3.55 0 6.025-2.475Q32.5 26.55 32.5 23q0-3.55-2.475-6.025Q27.55 14.5 24 14.5q-3.55 0-6.025 2.475Q15.5 19.45 15.5 23q0 3.55 2.475 6.025Q20.45 31.5 24 31.5Zm0-2.9q-2.35 0-3.975-1.625T18.4 23q0-2.35 1.625-3.975T24 17.4q2.35 0 3.975 1.625T29.6 23q0 2.35-1.625 3.975T24 28.6Zm0 9.4q-7.3 0-13.2-4.15Q4.9 29.7 2 23q2.9-6.7 8.8-10.85Q16.7 8 24 8q7.3 0 13.2 4.15Q43.1 16.3 46 23q-2.9 6.7-8.8 10.85Q31.3 38 24 38Z" fill="%23afafaf" />             </svg>');
  background-size: contain;
  background-repeat: no-repeat;
}
.card-book__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}
.card-book__info > h1, .card-book__info > h2, .card-book__info > h3, .card-book__info > h4, .card-book__info > h5, .card-book__info > h6 {
  margin-bottom: 4px;
  font-size: 15px;
}
.card-book__info > h1 a, .card-book__info > h2 a, .card-book__info > h3 a, .card-book__info > h4 a, .card-book__info > h5 a, .card-book__info > h6 a {
  color: #313333;
  transition: 0.3s all ease;
}
.card-book__info > h1 a:hover, .card-book__info > h2 a:hover, .card-book__info > h3 a:hover, .card-book__info > h4 a:hover, .card-book__info > h5 a:hover, .card-book__info > h6 a:hover {
  color: #e4573d;
}
.card-book__info p {
  font-size: 15px;
}
.card-book__info p a {
  color: #313333;
  transition: 0.3s all ease;
}
.card-book__info p a:hover {
  color: #e4573d;
}

.row-card-bock {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .row-card-bock {
    flex-direction: column;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
}
.row-card-bock__link {
  position: relative;
  width: 100%;
  max-width: 196px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.row-card-bock__link::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 150%;
}
.row-card-bock__link img, .row-card-bock__link svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .row-card-bock__link {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .row-card-bock__link::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 150%;
  }
  .row-card-bock__link img, .row-card-bock__link svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
.row-card-bock__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
}
.row-card-bock__link-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 10px;
}
.row-card-bock__link-placeholder > h1, .row-card-bock__link-placeholder > h2, .row-card-bock__link-placeholder > h3, .row-card-bock__link-placeholder > h4, .row-card-bock__link-placeholder > h5, .row-card-bock__link-placeholder > h6 {
  margin-bottom: 8px;
  font-size: 20px;
  color: #fff;
  font-weight: 400;
}
.row-card-bock__link-placeholder p {
  color: #fff;
  font-size: 14px;
  line-height: 120%;
}
.row-card-bock__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .row-card-bock__info {
    padding: 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-end;
  }
}
.row-card-bock__info > a {
  align-self: flex-end;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 16px;
  color: #313333;
  font-weight: 700;
  margin-top: auto;
}
@media screen and (max-width: 768px) {
  .row-card-bock__info > a {
    display: none;
  }
}
.row-card-bock__info > a:hover::after {
  transform: translateX(6px);
}
.row-card-bock__info > a::after {
  content: "";
  display: flex;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  background-image: url('data:image/svg+xml,                 <svg xmlns="http://www.w3.org/2000/svg" height="48" width="48">                 <path xmlns="http://www.w3.org/2000/svg" d="m18.75 36-2.15-2.15 9.9-9.9-9.9-9.9 2.15-2.15L30.8 23.95Z" fill="23%313333"/>                 </svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.3s all ease;
}
.row-card-bock__head {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}
.row-card-bock__head > h1, .row-card-bock__head > h2, .row-card-bock__head > h3, .row-card-bock__head > h4, .row-card-bock__head > h5, .row-card-bock__head > h6 {
  margin-bottom: 4px;
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  .row-card-bock__head > h1, .row-card-bock__head > h2, .row-card-bock__head > h3, .row-card-bock__head > h4, .row-card-bock__head > h5, .row-card-bock__head > h6 {
    font-size: 15px;
  }
}
.row-card-bock__head > h1 a, .row-card-bock__head > h2 a, .row-card-bock__head > h3 a, .row-card-bock__head > h4 a, .row-card-bock__head > h5 a, .row-card-bock__head > h6 a {
  color: #313333;
  transition: 0.3s all ease;
}
.row-card-bock__head > h1 a:hover, .row-card-bock__head > h2 a:hover, .row-card-bock__head > h3 a:hover, .row-card-bock__head > h4 a:hover, .row-card-bock__head > h5 a:hover, .row-card-bock__head > h6 a:hover {
  color: #e4573d;
}
.row-card-bock__head p {
  font-size: 16px;
}
.row-card-bock__head p a {
  color: #e4573d;
  transition: 0.3s all ease;
}
@media screen and (max-width: 768px) {
  .row-card-bock__head p a {
    font-size: 15px;
    color: #000;
  }
}
.row-card-bock__head p a:hover {
  text-decoration: underline;
}
.row-card-bock__ui {
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
.row-card-bock__ui .likes {
  bottom: 0;
  left: 0;
}
.row-card-bock__ui .likes .counter {
  color: #313333;
}
@media screen and (max-width: 768px) {
  .row-card-bock__ui {
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
.row-card-bock__like {
  position: relative;
  display: flex;
  width: 52px;
  height: 28px;
}
@media screen and (max-width: 768px) {
  .row-card-bock__like {
    display: none;
  }
}
.row-card-bock__view {
  display: flex;
  align-items: center;
  margin-left: 20px;
  color: #afafaf;
}
@media screen and (max-width: 768px) {
  .row-card-bock__view {
    margin-left: 0;
  }
}
.row-card-bock__view::before {
  content: "";
  display: flex;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url('data:image/svg+xml,             <svg xmlns="http://www.w3.org/2000/svg" height="48" width="48">             <path d="M24 31.5q3.55 0 6.025-2.475Q32.5 26.55 32.5 23q0-3.55-2.475-6.025Q27.55 14.5 24 14.5q-3.55 0-6.025 2.475Q15.5 19.45 15.5 23q0 3.55 2.475 6.025Q20.45 31.5 24 31.5Zm0-2.9q-2.35 0-3.975-1.625T18.4 23q0-2.35 1.625-3.975T24 17.4q2.35 0 3.975 1.625T29.6 23q0 2.35-1.625 3.975T24 28.6Zm0 9.4q-7.3 0-13.2-4.15Q4.9 29.7 2 23q2.9-6.7 8.8-10.85Q16.7 8 24 8q7.3 0 13.2 4.15Q43.1 16.3 46 23q-2.9 6.7-8.8 10.85Q31.3 38 24 38Z" fill="%23afafaf" />             </svg>');
  background-size: contain;
  background-repeat: no-repeat;
}
.row-card-bock__txt {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .row-card-bock__txt {
    display: none;
  }
}
.row-card-bock__txt p {
  font-family: "Ubuntu";
  font-size: 16px;
  line-height: 170%;
}

.footer-soc {
	align-items: center;
}
.footer-soc .social {
	margin-left: 10px;
}

.soc .social {
	margin-top: 5px;
}

@media screen and (max-width: 990px) {
    .soc .social {
	    justify-content: center;
    }
}

.social {
  display: flex;
}
.social ul {
  display: flex;
  padding: 0 !important;
  margin: 0 !important;
}
.social li {
  display: flex;
  padding: 0 !important;
  margin: 0 !important;
}
.social li:not(:last-child) {
  margin-right: 10px !important;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 50%;
  transition: 0.3s all ease;
}
.social a.telegram {
  border-color: #259fdc;
}
.social a.telegram path {
  fill: #259fdc;
}
.social a.facebook {
  border-color: #1877f2;
}
.social a.facebook path {
  fill: #1877f2;
}
.social a.vk {
  border-color: #0077ff;
}
.social a.vk path {
  fill: #0077ff;
}
.social a.twit {
  border-color: #1d9bf0;
}
.social a.twit path {
  fill: #1d9bf0;
}
.social a.inst {
  border-color: #dc2671;
}
.social a svg {
  width: 50%;
  height: 50%;
}
.social a path {
  transition: 0.3s all ease;
}
.social a:hover {
  background: #fff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.about-book {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 0 15px;
}
@media screen and (max-width: 1250px) {
  .about-book {
    flex-direction: column;
  }
}
.about-book__desc {
  display: flex;
  flex-grow: 1;
  padding: 40px;
  background: #fafafa;
  border-radius: 10px;
}
@media screen and (max-width: 600px) {
  .about-book__desc {
    flex-direction: column;
    padding: 20px;
  }
}
.about-book__desc-prev {
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev {
    align-items: center;
    margin: 0;
    margin-bottom: 40px;
  }
}
.about-book__desc-img {
  position: relative;
  width: 300px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}
.about-book__desc-img::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 160%;
}
.about-book__desc-img img, .about-book__desc-img svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .about-book__desc-img {
    position: relative;
    width: 240px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .about-book__desc-img::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 160%;
  }
  .about-book__desc-img img, .about-book__desc-img svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
@media screen and (max-width: 600px) {
  .about-book__desc-img {
    position: relative;
    width: 300px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .about-book__desc-img::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 160%;
  }
  .about-book__desc-img img, .about-book__desc-img svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
@media screen and (max-width: 480px) {
  .about-book__desc-img {
    position: relative;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .about-book__desc-img::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 160%;
  }
  .about-book__desc-img img, .about-book__desc-img svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
.about-book__desc-img-favor {
  z-index: 1;
  position: absolute;
  top: 20px;
  left: 10px;
  padding: 2px 8px;
  font-size: 15px;
  border-radius: 5px;
  border: 1px solid #e4573d;
  background: #e4573d;
  color: #fff;
}
.about-book__link-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 10px 20px 10px;
}
.about-book__link-placeholder > h1, .about-book__link-placeholder > h2, .about-book__link-placeholder > h3, .about-book__link-placeholder > h4, .about-book__link-placeholder > h5, .about-book__link-placeholder > h6 {
  margin-bottom: 8px;
  font-size: 22px;
  color: #fff;
  font-weight: 400;
}
.about-book__link-placeholder p {
  color: #fff;
  font-size: 36px;
  line-height: 120%;
}
.about-book__desc-prev-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info {
    align-items: center;
  }
}
.about-book__desc-prev-info-janre {
  display: flex;
  margin-bottom: 10px;
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info-janre {
    flex-direction: column;
    align-items: center;
  }
}
.about-book__desc-prev-info-janre > p {
  margin-right: 10px;
  font-weight: 700;
  color: #313333;
  font-family: var(--font-m);
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info-janre > p {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.about-book__desc-prev-info-janre > ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: -4px;
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info-janre > ul {
    margin-top: 0;
    justify-content: center;
  }
}
.about-book__desc-prev-info-janre > ul li {
  margin-bottom: 5px;
  margin-right: 5px;
}
.about-book__desc-prev-info-janre > ul a {
  display: flex;
  padding: 4px;
  border-radius: 5px;
  border: 1px solid #e4573d;
  font-size: 15px;
  color: #e4573d;
  font-family: var(--font-m);
  transition: 0.3s all ease;
}
.about-book__desc-prev-info-janre > ul a:hover {
  background: #e4573d;
  color: #fff;
}
.about-book__desc-prev-info-author {
  display: flex;
  width: 100%;
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info-author {
    flex-direction: column;
    align-items: center;
  }
}
.about-book__desc-prev-info-author > p {
  margin-right: 10px;
  font-weight: 700;
  color: #313333;
  font-family: var(--font-m);
}
@media screen and (max-width: 600px) {
  .about-book__desc-prev-info-author > p {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.about-book__desc-prev-info-author > ul {
  display: flex;
  flex-wrap: wrap;
}
.about-book__desc-prev-info-author > ul li {
  margin-bottom: 5px;
  margin-right: 5px;
}
.about-book__desc-prev-info-author > ul a {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  color: #e4573d;
  font-family: var(--font-m);
}
.about-book__desc-prev-info-author > ul a:hover {
  text-decoration: underline;
}
.about-book__desc-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media screen and (max-width: 600px) {
  .about-book__desc-info {
    text-align: center;
    align-items: center;
  }
}
.about-book__desc-info > h1, .about-book__desc-info > h2, .about-book__desc-info > h3, .about-book__desc-info > h4, .about-book__desc-info > h5, .about-book__desc-info > h6 {
  font-size: 32px;
  color: #313333;
}
.about-book__desc-info > h1:not(:last-child), .about-book__desc-info > h2:not(:last-child), .about-book__desc-info > h3:not(:last-child), .about-book__desc-info > h4:not(:last-child), .about-book__desc-info > h5:not(:last-child), .about-book__desc-info > h6:not(:last-child) {
  margin-bottom: 15px;
}
.about-book__desc-ui {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 600px) {
  .about-book__desc-ui {
    align-items: center;
  }
}
.about-book__desc-info-txt {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}
.about-book__desc-info-txt > h1, .about-book__desc-info-txt > h2, .about-book__desc-info-txt > h3, .about-book__desc-info-txt > h4, .about-book__desc-info-txt > h5, .about-book__desc-info-txt > h6 {
  font-size: 20px;
  color: #313333;
}
.about-book__desc-info-txt > h1:not(:last-child), .about-book__desc-info-txt > h2:not(:last-child), .about-book__desc-info-txt > h3:not(:last-child), .about-book__desc-info-txt > h4:not(:last-child), .about-book__desc-info-txt > h5:not(:last-child), .about-book__desc-info-txt > h6:not(:last-child) {
  margin-bottom: 10px;
}
.about-book__desc-info-txt p {
  font-family: "Ubuntu";
  font-size: 16px;
}
.about-book__desc-info-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: auto;
}
@media screen and (max-width: 850px) {
  .about-book__desc-info-links {
    flex-direction: column;
  }
}
@media screen and (max-width: 600px) {
  .about-book__desc-info-links {
    align-items: center;
  }
}
.about-book__desc-info-social {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 850px) {
  .about-book__desc-info-social {
    margin-top: 20px;
  }
}
@media screen and (max-width: 600px) {
  .about-book__desc-info-social {
    align-items: center;
  }
}
.about-book__desc-info-social > .social {
  margin-top: 10px;
}
@media screen and (max-width: 600px) {
  .about-book__desc-info-social > .social {
    align-items: center;
  }
}

.about-book__banner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 336px;
  margin-left: 20px;
}

.about-book__banner > *:first-child {
  margin-bottom: 30px;
}
@media screen and (max-width: 1250px) {
  .about-book__banner {
    flex-direction: row;
    max-width: 100%;
    margin-left: 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 768px) {
  .about-book__banner {
    flex-direction: column;
  }
}

.btn-accent {
  display: flex;
  align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 12px 25px;
  border-radius: 5px;
  border: 1px solid #e4573d;
  font-weight: 700;
  color: #e4573d;
  transition: 0.3s all ease;
}
.btn-accent svg {
  width: 26px;
  height: 26px;
  margin-right: 15px;
  fill: #e4573d;
  transition: 0.3s all ease;
}
.btn-accent:hover {
  background: #e4573d;
  color: #fff;
}
.btn-accent:hover svg {
  fill: #fff;
}

.about-book__desc-ui .likes {
  bottom: 0;
  left: 0;
  color: #313333;
}

.comment {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 0 15px;
}
.comment__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px;
  background: #fafafa;
  border-radius: 10px;
}
@media screen and (max-width: 600px) {
  .comment__inner {
    padding: 40px 20px;
  }
}
.comment__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 856px;
}
.comment__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 40px;
}
.comment__info > h1, .comment__info > h2, .comment__info > h3, .comment__info > h4, .comment__info > h5, .comment__info > h6 {
  margin-bottom: 10px;
  font-size: 32px;
  font-family: var(--font-m);
  color: #e4573d;
}
@media screen and (max-width: 1536px) {
  .comment__info > h1, .comment__info > h2, .comment__info > h3, .comment__info > h4, .comment__info > h5, .comment__info > h6 {
    font-size: calc(24px + 8 * ((100vw - 320px) / 1216));
  }
}
.comment__info p {
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #313333;
}
.comment__form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 30px;
}
.comment__form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comment__input {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comment__input:not(:last-child) {
  margin-bottom: 24px;
}
.comment__input-field {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  outline: none;
  border: 2px solid transparent;
  background: #f0f0f0;
  border-radius: 10px;
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #313333;
  transition: 0.3s all ease;
}
.comment__input-field::-moz-placeholder {
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #313333;
}
.comment__input-field:-ms-input-placeholder {
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #313333;
}
.comment__input-field::placeholder {
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #787878;
  opacity: 1;
}
.comment__input-field:focus {
    border-color: #f0f0f0;
    background-color: white;
}
.comment__textarea-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  background: #f0f0f0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow-wrap: break-word;
  transition: 0.3s all ease;
}
.comment__textarea-wrap .btn-accent {
  margin: 0 16px 14px auto;
  background: #e4573d;
  color: #fff;
}
.comment__textarea-wrap .btn-accent:hover {
  background: #fff;
  color: #e4573d;
}
.comment__textarea-wrap.active {
    border-color: #f0f0f0;
    background-color: white;
}
.comment__fake-textarea {
  width: 100%;
  min-height: 100px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: none;
  outline: none;
  word-wrap: break-word;
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #313333;
}
.comment__fake-textarea::after {
  content: attr(data-fake-placeholder);
  position: absolute;
  top: 14px;
  left: 16px;
  
  font-family: var(--font-m);
  font-weight: var(--weight-m-400);
  color: #787878;
}
.comment__fake-textarea.active::after {
  display: none;
}
.comment__hidden-textarea {
  display: none;
  max-width: 0;
  max-height: 0;
}
.comment__form-ansver {
  display: flex;
  align-items: center;
  align-self: center;
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
}
.comment__form-ansver p {
  color: #fff;
}
.comment__form-ansver svg {
  flex-shrink: 0;
  margin-right: 20px;
  fill: #fff;
}
@media screen and (max-width: 480px) {
  .comment__form-ansver svg {
    margin: 0;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 480px) {
  .comment__form-ansver {
    flex-direction: column;
  }
}
.comment__form-ansver-success {
  background: #27ae60;
}
.comment__form-ansver-error {
  background: #eb4d4b;
}
.comment__form-ansver-warning {
  background: #f39c12;
}

.comment__content-txt {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comment__review {
  display: flex;
  flex-direction: column;
  width: 100%;
  
  padding: 20px;
  border-radius: 10px;
  background: white;
}
.comment__review:not(:last-child) {
  margin-bottom: 20px;
}
.comment__user {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}
.comment__user-round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 16px;
  border-radius: 50%;
  border: 5px solid #ffffff;
  font-family: var(--font-m);
  box-shadow: 3px 5px 10px rgba(0,0,0, 0.2);
  font-weight: 700;
  color: #fff;
  font-size: 22px;
}
.comment__user-info {
  display: flex;
  flex-direction: column;
}
.comment__user-info p:first-child {
  margin-bottom: 4px;
  color: #313333;
  font-size: 20px;
  font-family: var(--font-m);
  font-weight: 700;
}
.comment__user-info p:last-child {
  font-family: "Ubuntu";
  font-size: 12px;
  line-height: 140%;
  font-weight: 400;
}
.comment__user-opinion {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comment__user-opinion p {
  font-family: "Ubuntu";
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
}
.comment__user-opinion p:not(:last-child) {
  margin-bottom: 20px;
}

.min-menu-header {
	z-index: 994;
	transform: translate3d(0,0,0);
	will-change: transform;
	transition: transform .5s,-webkit-transform .5s;
 
}

.min-menu-header.transform {
	transform: translate3d(0,-150%,0);
}


.advert-bot {
  z-index: 10;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 50px;
  background: white;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(150%);
  transition: 0.3s all ease;
}
.advert-bot.advert-bot__hidden {
  transform: translateY(0);
}
.advert-bot__close {
  position: absolute;
  bottom: 100%;
  right: 20px;
}
.advert-bot__close svg {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
  object-fit: contain;
}
.advert-bot__content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
 
/* comment */
.comment-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  grid-gap: 30px;
  padding: 40px;
  background-image: url("https://4italka.su/themes/4italka/img/bg/short-best.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}
@media screen and (max-width: 979px) {
  .comment-g {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .comment-g {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 20px;
  }
}
@media screen and (max-width: 600px) {
  .comment-g {
    grid-template-columns: repeat(1, 1fr);
  }
}
.comment-g__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comment-g__card .btn-def {
  margin-top: auto;
}
.comment-g__card-head {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}
.comment-g__card-img {
  position: relative;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.comment-g__card-img::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 130%;
}
.comment-g__card-img img, .comment-g__card-img svg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.comment-g__card-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #9a9a95, #9c9c7a);
}
.comment-g__card-txt {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-grow: 1;
  margin-bottom: 20px;
}
.comment-g__card-txt > * {
  margin-bottom: 20px;
}
.comment-g__card-name {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
}
.comment-g__card-name > * {
  font-weight: 600;
  text-align: right;
}

