html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot");
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto/RobotoRegular/RobotoRegular.woff") format("woff"), url("../fonts/Roboto/RobotoRegular/RobotoRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot");
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto/RobotoBold/RobotoBold.woff") format("woff"), url("../fonts/Roboto/RobotoBold/RobotoBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "PT Astra Serif";
    src: url("../fonts/PTAstraSerif/PTAstraSerifBold/PTAstraSerifBold.eot");
    src: url("../fonts/PTAstraSerif/PTAstraSerifBold/PTAstraSerifBold.eot?#iefix") format("embedded-opentype"), url("../fonts/PTAstraSerif/PTAstraSerifBold/PTAstraSerifBold.woff") format("woff"), url("../fonts/PTAstraSerif/PTAstraSerifBold/PTAstraSerifBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Nautilus Pompilius";
    src: url("../fonts/NautilusPompilius/NautilusPompiliusRegular/NautilusPompiliusRegular.eot");
    src: url("../fonts/NautilusPompilius/NautilusPompiliusRegular/NautilusPompiliusRegular.eot?#iefix") format("embedded-opentype"), url("../fonts/NautilusPompilius/NautilusPompiliusRegular/NautilusPompiliusRegular.woff") format("woff"), url("../fonts/NautilusPompilius/NautilusPompiliusRegular/NautilusPompiliusRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Century Gothic";
    src: url("../fonts/CenturyGothic/CenturyGothicBold/CenturyGothicBold.eot");
    src: url("../fonts/CenturyGothic/CenturyGothicBold/CenturyGothicBold.eot?#iefix") format("embedded-opentype"), url("../fonts/CenturyGothic/CenturyGothicBold/CenturyGothicBold.woff") format("woff"), url("../fonts/CenturyGothic/CenturyGothicBold/CenturyGothicBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

* {
    overflow-anchor: none;
}

html,
body {
    height: 100%;
}

html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

body {
    min-width: 320px;
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 400;
    background-color: #f2ebd8;
    color: #290b0b;
    line-height: 1.2;
    overflow-x: hidden;
}

@media (max-width: 1599.98px) {
    body {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    body {
        font-size: 14px;
    }
}

input,
select,
textarea,
button {
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 400;
    background-color: transparent;
    color: #290b0b;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    line-height: 1.2;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    margin: 0;
    padding: 0;
    -webkit-transition: .2s;
    transition: .2s;
}

@media (max-width: 1199.98px) {
    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    input,
    select,
    textarea,
    button {
        font-size: 14px;
    }
}

input:-moz-focus-inner,
select:-moz-focus-inner,
textarea:-moz-focus-inner,
button:-moz-focus-inner {
    border: 0;
}

textarea {
    resize: none;
}

img,
video,
iframe {
    display: block;
    width: 100%;
}

a {
    color: currentColor;
    outline: none;
    text-decoration: none;
    -webkit-transition: .2s;
    transition: .2s;
}

.link:hover, .link:focus {
    opacity: .8;
}

.link:active {
    opacity: .6;
}

.text {
    text-indent: 30px;
}

@media (max-width: 1599.98px) {
    .text {
        text-indent: 20px;
    }
}

@media (max-width: 1199.98px) {
    .text {
        text-indent: 15px;
    }
}

.text p:not(:last-child) {
    margin-bottom: 20px;
}

@media (max-width: 1599.98px) {
    .text p:not(:last-child) {
        margin-bottom: 15px;
    }
}

@media (max-width: 1199.98px) {
    .text p:not(:last-child) {
        margin-bottom: 10px;
    }
}

.text a {
    font-weight: 700;
    color: #7f6b4c;
}

.text a:hover, .text a:focus {
    opacity: .8;
}

.text a:active {
    opacity: .6;
}

.logo {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 48px;
    font-weight: 700;
}

@media (max-width: 1599.98px) {
    .logo {
        font-size: 36px;
    }
}

@media (max-width: 1199.98px) {
    .logo {
        font-size: 24px;
    }
}

@media (max-width: 991.98px) {
    .logo {
        font-size: 20px;
    }
}

.lang-switcher {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.lang-switcher__link {
    font-family: "Nautilus Pompilius", fantasy;
    color: #7f6b4c;
}

.lang-switcher__link:not(:last-child) {
    margin-right: 10px;
}

.text-input {
    width: 100%;
    height: 55px;
    font-size: 24px;
    font-weight: 700;
    background-color: #f2ebd8;
    border-radius: 5px;
    padding: 0 15px;
}

@media (max-width: 1599.98px) {
    .text-input {
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .text-input {
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .text-input {
        font-size: 12px;
    }
}

textarea.text-input {
    height: auto;
    padding-top: 13px;
    padding-bottom: 13px;
    -webkit-transition: 0s;
    transition: 0s;
}

@media (max-width: 1599.98px) {
    textarea.text-input {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (max-width: 1199.98px) {
    textarea.text-input {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 991.98px) {
    textarea.text-input {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

.button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-width: 240px;
    height: 55px;
    font-size: 24px;
    font-weight: 700;
    background-color: #290b0b;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    -webkit-transition: .2s;
    transition: .2s;
    cursor: pointer;
}

@media (max-width: 1599.98px) {
    .button {
        min-width: 180px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .button {
        min-width: 140px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .button {
        font-size: 12px;
    }
}

.button_dark {
    background-color: #7f6b4c;
    color: #fff;
}

.button_dark:hover, .button_dark:focus {
    background-color: #796648;
}

.button_dark:active {
    background-color: #726044;
}

.button_light {
    background-color: #f2ebd8;
    color: #503a24;
}

.button_light:hover, .button_light:focus {
    background-color: #e6dfcd;
}

.button_light:active {
    background-color: #dad4c2;
}

.button_sm {
    min-width: 200px;
    height: 50px;
}

@media (max-width: 1599.98px) {
    .button_sm {
        min-width: 150px;
        height: 35px;
    }
}

@media (max-width: 1199.98px) {
    .button_sm {
        min-width: 100px;
        height: 30px;
    }
}

@media (min-width: 1200px) {
    .button_sm {
        font-size: 16px;
    }
}

@media (min-width: 1600px) {
    .button_sm {
        font-size: 20px;
    }
}

.button_block {
    width: 100%;
    min-width: none;
}

.form__fields {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -15px -30px;
}

@media (max-width: 1599.98px) {
    .form__fields {
        margin: 0 -10px -20px;
    }
}

@media (max-width: 991.98px) {
    .form__fields {
        margin: 0 -5px -10px;
    }
}

.form__field {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
    padding: 0 15px;
}

@media (max-width: 1599.98px) {
    .form__field {
        margin-bottom: 20px;
        padding: 0 10px;
    }
}

@media (max-width: 991.98px) {
    .form__field {
        margin-bottom: 10px;
        padding: 0 5px;
    }
}

@media (min-width: 768px) {
    .form__field {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .form__field_full-width {
        width: 100%;
    }
}

.form__submit {
    margin-top: 30px;
}

@media (max-width: 1599.98px) {
    .form__submit {
        margin-top: 20px;
    }
}

@media (max-width: 991.98px) {
    .form__submit {
        margin-top: 10px;
    }
}

.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    width: 100%;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    overflow: hidden;
    top: 100%;
    left: 0;
    -webkit-transition: .2s;
    transition: .2s;
    z-index: 3;
}

.dropdown:not(.dropdown_active) .dropdown__menu {
    visibility: hidden;
    opacity: 0;
}

.dropdown:not(.dropdown_active) .dropdown__menu {
    top: calc(100% + 10px);
}

.dropdown-menu {
    background-color: #fff;
    -webkit-box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
            box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
}

.dropdown-menu__item:not(:last-child) {
    border-bottom: 2px solid #7f6b4c;
}

.dropdown-menu__link {
    display: block;
    font-size: 16px;
    padding: 25px;
}

@media (max-width: 1599.98px) {
    .dropdown-menu__link {
        font-size: 12px;
        padding: 15px 20px;
    }
}

@media (max-width: 1199.98px) {
    .dropdown-menu__link {
        padding: 15px;
    }
}

.dropdown-menu__link:hover, .dropdown-menu__link:focus {
    background-color: #f2f2f2;
}

.dropdown-menu__link:active {
    background-color: #e6e6e6;
}

@media (min-width: 992px) {
    .nav__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.nav__item {
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .nav__item:not(:last-child) {
        margin-right: 30px;
    }
}

.nav__link {
    text-transform: lowercase;
}

@media (min-width: 992px) {
    .nav__link {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .nav__link {
        font-size: 18px;
    }
}

@media (min-width: 1600px) {
    .nav__link {
        font-size: 24px;
    }
}

.book {
    position: relative;
    -webkit-box-shadow: 0 0 28px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 28px rgba(0, 0, 0, 0.4);
    background-color: #f5efdc;
}

.book_type_1, .book_type_2, .book_type_3 {
    background: #f5efdc linear-gradient(to left, transparent 1px, rgba(113, 90, 56, 0.65) 5px, transparent 5px, transparent 6px, rgba(89, 63, 25, 0.45) 11px, transparent 11px, transparent 13px, rgba(89, 63, 25, 0.35) 17px, transparent 17px, transparent 19px, rgba(89, 63, 25, 0.25) 24px, transparent 24px);
    padding-right: 24px;
}

@media (min-width: 992px) {
    .book_type_1 {
        background: #f5efdc linear-gradient(to left, transparent 1px, rgba(113, 90, 56, 0.65) 5px, transparent 5px, transparent 6px, rgba(89, 63, 25, 0.45) 11px, transparent 11px, transparent 13px, rgba(89, 63, 25, 0.35) 17px, transparent 17px, transparent 19px, rgba(89, 63, 25, 0.25) 24px, transparent 24px);
        padding-right: 24px;
    }
}

@media (min-width: 1200px) {
    .book_type_1 {
        background: #f5efdc linear-gradient(to left, transparent 2px, rgba(113, 90, 56, 0.65) 6px, transparent 6px, transparent 8px, rgba(89, 63, 25, 0.45) 14px, transparent 14px, transparent 16px, rgba(89, 63, 25, 0.35) 23px, transparent 23px, transparent 25px, rgba(89, 63, 25, 0.25) 32px, transparent 32px);
        padding-right: 32px;
    }
}

@media (min-width: 1600px) {
    .book_type_1 {
        background: #f5efdc linear-gradient(to left, transparent 3px, rgba(113, 90, 56, 0.65) 9px, transparent 9px, transparent 12px, rgba(89, 63, 25, 0.45) 19px, transparent 19px, transparent 24px, rgba(89, 63, 25, 0.35) 31px, transparent 31px, transparent 36px, rgba(89, 63, 25, 0.25) 43px, transparent 43px);
        padding-right: 43px;
    }
}

@media (min-width: 992px) {
    .book_type_1:before {
        position: absolute;
        width: calc(100% - 24px);
        height: 100%;
        content: "";
        background: linear-gradient(to right, transparent calc(350px - 3%), rgba(71, 54, 27, 0.25) 350px, transparent 350px, #3f2a15 350px, #3f2a15 353px, transparent 354px, rgba(71, 54, 27, 0.6) 353px, transparent calc(353px + 7%));
        pointer-events: none;
        top: 0;
        left: 0;
        z-index: 2;
    }
}

@media (min-width: 1200px) {
    .book_type_1:before {
        width: calc(100% - 32px);
        background: linear-gradient(to right, transparent calc(440px - 3%), rgba(71, 54, 27, 0.25) 440px, transparent 440px, #3f2a15 440px, #3f2a15 445px, transparent 445px, rgba(71, 54, 27, 0.6) 445px, transparent calc(445px + 7%));
    }
}

@media (min-width: 1600px) {
    .book_type_1:before {
        width: calc(100% - 43px);
        background: linear-gradient(to right, transparent calc(590px - 3%), rgba(71, 54, 27, 0.25) 590px, transparent 590px, #3f2a15 590px, #3f2a15 597px, transparent 597px, rgba(71, 54, 27, 0.6) 597px, transparent calc(597px + 7%));
    }
}

@media (min-width: 992px) {
    .book_type_2 {
        background: #f5efdc linear-gradient(to left, transparent 1px, rgba(113, 90, 56, 0.65) 5px, transparent 5px, transparent 6px, rgba(89, 63, 25, 0.45) 11px, transparent 11px, transparent 13px, rgba(89, 63, 25, 0.35) 17px, transparent 17px, transparent 19px, rgba(89, 63, 25, 0.25) 24px, transparent 24px);
        padding-right: 24px;
    }
}

@media (min-width: 1200px) {
    .book_type_2 {
        background: #f5efdc linear-gradient(to left, transparent 2px, rgba(113, 90, 56, 0.65) 6px, transparent 6px, transparent 8px, rgba(89, 63, 25, 0.45) 14px, transparent 14px, transparent 16px, rgba(89, 63, 25, 0.35) 23px, transparent 23px, transparent 25px, rgba(89, 63, 25, 0.25) 32px, transparent 32px);
        padding-right: 32px;
    }
}

@media (min-width: 1600px) {
    .book_type_2 {
        background: #f5efdc linear-gradient(to left, transparent 3px, rgba(113, 90, 56, 0.65) 9px, transparent 9px, transparent 12px, rgba(89, 63, 25, 0.45) 19px, transparent 19px, transparent 24px, rgba(89, 63, 25, 0.35) 31px, transparent 31px, transparent 36px, rgba(89, 63, 25, 0.25) 43px, transparent 43px);
        padding-right: 43px;
    }
}

@media (min-width: 992px) {
    .book_type_3 {
        background: linear-gradient(to left, transparent 1px, rgba(113, 90, 56, 0.65) 5px, transparent 5px, transparent 6px, rgba(89, 63, 25, 0.45) 11px, transparent 11px, transparent 13px, rgba(89, 63, 25, 0.35) 17px, transparent 17px, transparent 19px, rgba(89, 63, 25, 0.25) 24px, transparent 24px), linear-gradient(to right, transparent 1px, rgba(113, 90, 56, 0.65) 5px, transparent 5px, transparent 6px, rgba(89, 63, 25, 0.45) 11px, transparent 11px, transparent 13px, rgba(89, 63, 25, 0.35) 17px, transparent 17px, transparent 19px, rgba(89, 63, 25, 0.25) 24px, transparent 24px), linear-gradient(to bottom, #e9e3d1, #e9e3d1);
        padding: 0 24px;
    }
}

@media (min-width: 1200px) {
    .book_type_3 {
        background: linear-gradient(to right, transparent 2px, rgba(113, 90, 56, 0.65) 6px, transparent 6px, transparent 8px, rgba(89, 63, 25, 0.45) 14px, transparent 14px, transparent 16px, rgba(89, 63, 25, 0.35) 23px, transparent 23px, transparent 25px, rgba(89, 63, 25, 0.25) 32px, transparent 32px), linear-gradient(to left, transparent 2px, rgba(113, 90, 56, 0.65) 6px, transparent 6px, transparent 8px, rgba(89, 63, 25, 0.45) 14px, transparent 14px, transparent 16px, rgba(89, 63, 25, 0.35) 23px, transparent 23px, transparent 25px, rgba(89, 63, 25, 0.25) 32px, transparent 32px), linear-gradient(to bottom, #e9e3d1, #e9e3d1);
        padding: 0 32px;
    }
}

@media (min-width: 1600px) {
    .book_type_3 {
        background: linear-gradient(to right, transparent 3px, rgba(113, 90, 56, 0.65) 9px, transparent 9px, transparent 12px, rgba(89, 63, 25, 0.45) 19px, transparent 19px, transparent 24px, rgba(89, 63, 25, 0.35) 31px, transparent 31px, transparent 36px, rgba(89, 63, 25, 0.25) 43px, transparent 43px), linear-gradient(to left, transparent 3px, rgba(113, 90, 56, 0.65) 9px, transparent 9px, transparent 12px, rgba(89, 63, 25, 0.45) 19px, transparent 19px, transparent 24px, rgba(89, 63, 25, 0.35) 31px, transparent 31px, transparent 36px, rgba(89, 63, 25, 0.25) 43px, transparent 43px), linear-gradient(to bottom, #e9e3d1, #e9e3d1);
        padding: 0 43px;
    }
}

@media (min-width: 992px) {
    .book_type_3:before {
        position: absolute;
        width: calc(100% - 48px);
        height: 100%;
        content: "";
        background: linear-gradient(to right, transparent calc(50% - 1.5px - 4%), rgba(71, 54, 27, 0.28) calc(50% - 1.5px), transparent calc(50% - 1.5px), #3f2a15 calc(50% - 1.5px), #3f2a15 calc(50% + 1.5px), transparent calc(50% + 1.5px), rgba(71, 54, 27, 0.15) calc(50% + 1.5px), transparent calc(50% + 1.5px + 4%));
        pointer-events: none;
        top: 0;
        left: 24px;
        z-index: 2;
    }
}

@media (min-width: 1200px) {
    .book_type_3:before {
        width: calc(100% - 86px);
        background: linear-gradient(to right, transparent calc(50% - 3.5px - 4%), rgba(71, 54, 27, 0.28) calc(50% - 3.5px), transparent calc(50% - 3.5px), #3f2a15 calc(50% - 3.5px), #3f2a15 calc(50% + 3.5px), transparent calc(50% + 3.5px), rgba(71, 54, 27, 0.15) calc(50% + 3.5px), transparent calc(50% + 3.5px + 4%));
        left: 43px;
    }
}

@media (min-width: 1600px) {
    .book_type_3:before {
        width: calc(100% - 64px);
        background: linear-gradient(to right, transparent calc(50% - 2.5px - 4%), rgba(71, 54, 27, 0.28) calc(50% - 2.5px), transparent calc(50% - 2.5px), #3f2a15 calc(50% - 2.5px), #3f2a15 calc(50% + 2.5px), transparent calc(50% + 2.5px), rgba(71, 54, 27, 0.15) calc(50% + 2.5px), transparent calc(50% + 2.5px + 4%));
        left: 32px;
    }
}

.pagination__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.pagination__item:not(:last-child) {
    margin-right: 15px;
}

@media (max-width: 1199.98px) {
    .pagination__item:not(:last-child) {
        margin-right: 10px;
    }
}

.pagination__link {
    font-size: 24px;
    font-weight: 700;
    color: #7f6b4c;
}

@media (max-width: 1599.98px) {
    .pagination__link {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .pagination__link {
        font-size: 14px;
    }
}

.pagination__item_active .pagination__link {
    color: #290b0b;
    opacity: 1;
}

.post-card {
    font-size: 24px;
}

@media (max-width: 1599.98px) {
    .post-card {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .post-card {
        font-size: 14px;
    }
}

.post-card__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.post-card__datetime-wrapper, .post-card__content-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    width: 100%;
}

@media (max-width: 991.98px) {
    .post-card__datetime-wrapper, .post-card__content-wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 auto;
                flex: 0 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .post-card__datetime-wrapper {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .post-card__datetime-wrapper {
        max-width: 350px;
        padding-left: 90px;
    }
}

@media (min-width: 1200px) {
    .post-card__datetime-wrapper {
        max-width: 440px;
        padding-left: 120px;
    }
}

@media (min-width: 1600px) {
    .post-card__datetime-wrapper {
        max-width: 590px;
        padding-left: 160px;
    }
}

.post-card__datetime {
    display: block;
    width: 100%;
    font-weight: 700;
    background-color: #7f6b4c;
    color: #fff;
    text-transform: uppercase;
    padding: 20px 90px;
}

@media (max-width: 1599.98px) {
    .post-card__datetime {
        padding: 15px 70px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__datetime {
        padding: 12px 50px;
    }
}

@media (max-width: 991.98px) {
    .post-card__datetime {
        padding: 10px 15px;
    }
}

.post-card__content-wrapper {
    padding: 0 50px;
}

@media (max-width: 1599.98px) {
    .post-card__content-wrapper {
        padding: 0 35px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__content-wrapper {
        padding: 0 25px;
    }
}

@media (max-width: 991.98px) {
    .post-card__content-wrapper {
        margin-top: 20px;
        padding: 0 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .post-card__content-wrapper {
        width: 75%;
    }
}

@media (min-width: 992px) {
    .post-card__content-wrapper {
        max-width: calc(100% - 350px);
    }
}

@media (min-width: 1200px) {
    .post-card__content-wrapper {
        max-width: calc(100% - 440px);
    }
}

@media (min-width: 1600px) {
    .post-card__content-wrapper {
        max-width: calc(100% - 590px);
    }
}

.post-card__back:not(:last-child) {
    margin-bottom: 20px;
}

@media (max-width: 1599.98px) {
    .post-card__back:not(:last-child) {
        margin-bottom: 15px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__back:not(:last-child) {
        margin-bottom: 10px;
    }
}

.post-card__title, .post-card__source {
    text-indent: 30px;
}

@media (max-width: 1599.98px) {
    .post-card__title, .post-card__source {
        text-indent: 20px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__title, .post-card__source {
        text-indent: 15px;
    }
}

.post-card__title {
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 1599.98px) {
    .post-card__title {
        margin-bottom: 15px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__title {
        margin-bottom: 10px;
    }
}

.post-card__more, .post-card__source {
    margin-top: 20px;
}

@media (max-width: 1599.98px) {
    .post-card__more, .post-card__source {
        margin-top: 15px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__more, .post-card__source {
        margin-top: 10px;
    }
}

.post-card__more {
    text-align: right;
}

@media (min-width: 992px) {
    .post-card__more {
        border-top: 2px solid #7f6b4c;
        padding-top: 10px;
        padding-right: 60px;
    }
}

@media (min-width: 1200px) {
    .post-card__more {
        border-width: 3px;
        padding-top: 15px;
        padding-right: 75px;
    }
}

@media (min-width: 1600px) {
    .post-card__more {
        padding-top: 20px;
        padding-right: 140px;
    }
}

.post-card__gallery {
    margin-bottom: 30px;
}

@media (max-width: 1599.98px) {
    .post-card__gallery {
        margin-bottom: 20px;
    }
}

@media (max-width: 1199.98px) {
    .post-card__gallery {
        margin-bottom: 15px;
    }
}

.post-card-back,
.post-card-more,
.post-card-source {
    font-weight: 700;
}

.post-card-back__link,
.post-card-more__link,
.post-card-source__link {
    color: #7f6b4c;
}

.posts-cards {
    position: relative;
    -webkit-box-shadow: 0 0 28px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 28px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .posts-cards {
        padding-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .posts-cards {
        padding-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .posts-cards {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

@media (min-width: 1200px) {
    .posts-cards {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

@media (min-width: 1600px) {
    .posts-cards {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.posts-cards__item:not(:last-child) {
    margin-bottom: 30px;
}

@media (max-width: 1599.98px) {
    .posts-cards__item:not(:last-child) {
        margin-bottom: 25px;
    }
}

@media (max-width: 1199.98px) {
    .posts-cards__item:not(:last-child) {
        margin-bottom: 20px;
    }
}

.slider__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 100%;
    margin-top: 30px;
}

@media (max-width: 1599.98px) {
    .slider__nav {
        margin-top: 25px;
    }
}

@media (max-width: 1199.98px) {
    .slider__nav {
        margin-top: 20px;
    }
}

.slider .swiper-wrapper {
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

.slider .swiper-pagination {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: static;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 10px;
}

@media (max-width: 1599.98px) {
    .slider .swiper-pagination {
        margin: 0 7.5px;
    }
}

@media (max-width: 1199.98px) {
    .slider .swiper-pagination {
        margin: 0 5px;
    }
}

@media (max-width: 575.98px) {
    .slider .swiper-pagination {
        display: none;
    }
}

.slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #7f6b4c;
    -webkit-transition: .2s;
    transition: .2s;
}

@media (max-width: 1599.98px) {
    .slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 1199.98px) {
    .slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

.slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: .45;
}

.slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover, .slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):focus {
    opacity: .65;
}

.slider .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):active {
    opacity: .85;
}

.slider .swiper-pagination-horizontal .swiper-pagination-bullet {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    margin: 0;
}

.slider .swiper-pagination-horizontal .swiper-pagination-bullet:not(:last-child) {
    margin-right: 20px;
}

@media (max-width: 1599.98px) {
    .slider .swiper-pagination-horizontal .swiper-pagination-bullet:not(:last-child) {
        margin-right: 15px;
    }
}

@media (max-width: 1199.98px) {
    .slider .swiper-pagination-horizontal .swiper-pagination-bullet:not(:last-child) {
        margin-right: 10px;
    }
}

.slider .swiper-button-prev, .slider .swiper-button-next {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    position: static;
    width: 40px;
    height: 40px;
    background-color: #7f6b4c;
    border-radius: 100%;
    top: auto;
    margin: 0 10px;
    padding: 10px;
    -webkit-transition: .2s;
    transition: .2s;
}

@media (max-width: 1599.98px) {
    .slider .swiper-button-prev, .slider .swiper-button-next {
        width: 30px;
        height: 30px;
        margin: 0 7.5px;
        padding: 7.5px;
    }
}

@media (max-width: 1199.98px) {
    .slider .swiper-button-prev, .slider .swiper-button-next {
        width: 25px;
        height: 25px;
    }
}

.slider .swiper-button-prev:before, .slider .swiper-button-next:before {
    width: 100%;
    height: 100%;
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.slider .swiper-button-prev:after, .slider .swiper-button-next:after {
    display: none;
}

.slider .swiper-button-prev:hover, .slider .swiper-button-prev:focus, .slider .swiper-button-next:hover, .slider .swiper-button-next:focus {
    background-color: #6d5b42;
}

.slider .swiper-button-prev:active, .slider .swiper-button-next:active {
    background-color: #5c4d37;
}

.slider .swiper-button-prev.swiper-button-disabled, .slider .swiper-button-next.swiper-button-disabled {
    opacity: .5;
}

.slider .swiper-button-prev {
    left: 0;
}

.slider .swiper-button-prev:before {
    background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16'><path d='M 8,0 9.41,1.41 3.83,7 H 16 V 9 H 3.83 L 9.41,14.59 8,16 0,8 Z' fill='%23f2ebd8'></path></svg>");
}

.slider .swiper-button-next {
    right: 0;
}

.slider .swiper-button-next:before {
    background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16'><path d='M 8,0 6.59,1.41 12.17,7 H 0 V 9 H 12.17 L 6.59,14.59 8,16 16,8 Z' fill='%23f2ebd8'></path></svg>");
}

.book_type_2 .gallery {
    padding: 90px 50px;
}

@media (max-width: 1599.98px) {
    .book_type_2 .gallery {
        padding: 65px 35px;
    }
}

@media (max-width: 1199.98px) {
    .book_type_2 .gallery {
        padding: 45px 30px;
    }
}

@media (max-width: 991.98px) {
    .book_type_2 .gallery {
        padding: 30px 20px;
    }
}

.gallery__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -10px -20px;
}

@media (max-width: 1599.98px) {
    .gallery__list {
        margin: 0 -5px -10px;
    }
}

.gallery__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 25%;
    margin-bottom: 20px;
    padding: 0 10px;
}

@media (max-width: 1599.98px) {
    .gallery__item {
        margin-bottom: 10px;
        padding: 0 5px;
    }
}

@media (max-width: 575.98px) {
    .gallery__item {
        width: 50%;
    }
}

.gallery_type_1 .gallery-card {
    border: 7px solid #7f6b4c;
}

@media (max-width: 1599.98px) {
    .gallery_type_1 .gallery-card {
        border-width: 5px;
    }
}

@media (max-width: 1199.98px) {
    .gallery_type_1 .gallery-card {
        border-width: 3px;
    }
}

.gallery_type_2 .gallery-card {
    -webkit-box-shadow: 0 8px 13px rgba(0, 0, 0, 0.6);
            box-shadow: 0 8px 13px rgba(0, 0, 0, 0.6);
}

a.gallery-card {
    display: block;
}

.gallery-card__media-wrapper {
    overflow: hidden;
}

.gallery-card__media {
    position: relative;
    max-height: 500px;
    background-color: #3f2a15;
    -webkit-transition: .2s;
    transition: .2s;
}

.gallery_type_1 .gallery-card__media {
    max-height: calc(514px - 14px);
}

@media (max-width: 1599.98px) {
    .gallery_type_1 .gallery-card__media {
        max-height: calc(514px - 10px);
    }
}

@media (max-width: 1199.98px) {
    .gallery_type_1 .gallery-card__media {
        max-height: calc(514px - 6px);
    }
}

.gallery__item .gallery-card__media {
    max-height: 230px;
}

.gallery_type_1 .gallery__item .gallery-card__media {
    max-height: calc(158px - 14px);
}

@media (max-width: 1599.98px) {
    .gallery_type_1 .gallery__item .gallery-card__media {
        max-height: calc(158px - 10px);
    }
}

@media (max-width: 1199.98px) {
    .gallery_type_1 .gallery__item .gallery-card__media {
        max-height: calc(158px - 6px);
    }
}

.gallery-card__media:after {
    display: table;
    content: "";
    padding-bottom: 75%;
}

.gallery-card__media img,
.gallery-card__media video,
.gallery-card__media iframe {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}

.gallery-card__media img {
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: contain;
       object-fit: contain;
}

a.gallery-card .gallery-card__media:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    -webkit-transition: .2s;
    transition: .2s;
    z-index: 1;
}

a.gallery-card:hover .gallery-card__media {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}

a.gallery-card:hover .gallery-card__media:before {
    visibility: visible;
    opacity: 1;
}

.layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: 100%;
    overflow: clip;
    margin: 0 auto;
}

.layout__content {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 30px 0 150px;
}

@media (max-width: 1599.98px) {
    .layout__content {
        padding: 20px 0 110px;
    }
}

@media (max-width: 1199.98px) {
    .layout__content {
        padding: 15px 0 90px;
    }
}

@media (max-width: 991.98px) {
    .layout__content {
        padding: 30px 0 60px;
    }
}

.layout__section:not(:last-child) {
    margin-bottom: 80px;
}

@media (max-width: 1599.98px) {
    .layout__section:not(:last-child) {
        margin-bottom: 60px;
    }
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1580px;
    }
}

.header {
    color: #503a24;
    border-top: 14px solid #290b0b;
}

@media (max-width: 1599.98px) {
    .header {
        border-top-width: 10px;
    }
}

@media (max-width: 1199.98px) {
    .header {
        border-top-width: 8px;
    }
}

@media (max-width: 991.98px) {
    .header {
        position: sticky;
        height: 80px;
        background-color: #f2ebd8;
        top: 0;
        z-index: 5;
    }
}

@media (max-width: 991.98px) {
    .header__container, .header__inner {
        height: 100%;
    }
}

.header__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
}

@media (max-width: 991.98px) {
    .header__inner {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}

.header__nav {
    margin-right: -10px;
}

@media (max-width: 991.98px) {
    .header__nav {
        position: absolute;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #f2ebd8;
        border-top: 1px solid #dad4c2;
        text-align: center;
        top: 100%;
        left: 0;
        -webkit-transition: .2s;
        transition: .2s;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__inner {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__item:not(:last-child) {
        border-bottom: 1px solid #dad4c2;
    }
}

@media (min-width: 992px) {
    .header__nav .nav__item:not(:last-child) {
        margin-right: 5px;
    }
}

.header__nav .nav__link {
    display: block;
    position: relative;
    font-family: "Nautilus Pompilius", fantasy;
    color: #7f6b4c;
    padding: 105px 15px 60px;
    z-index: 1;
}

@media (max-width: 1599.98px) {
    .header__nav .nav__link {
        padding: 80px 10px 45px;
    }
}

@media (max-width: 1199.98px) {
    .header__nav .nav__link {
        padding: 65px 5px 35px;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__link {
        padding: 20px;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__link:hover, .header__nav .nav__link:focus, .header__nav .nav__link:active {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__link:hover, .header__nav .nav__link:focus {
        background-color: #e6dfcd;
    }
}

@media (max-width: 991.98px) {
    .header__nav .nav__link:active {
        background-color: #dad4c2;
    }
}

@media (min-width: 992px) {
    .header__nav .nav__item_active .nav__link {
        color: #f4edda;
    }
}

@media (min-width: 992px) {
    .header__nav .nav__item_active .nav__link:before, .header__nav .nav__item_active .nav__link:after {
        position: absolute;
        width: 100%;
        content: "";
        left: 0;
        z-index: -1;
    }
}

@media (min-width: 992px) {
    .header__nav .nav__item_active .nav__link:before {
        height: calc(100% - 20px);
        background-color: #290b0b;
        top: 0;
    }
}

@media (min-width: 1200px) {
    .header__nav .nav__item_active .nav__link:before {
        height: calc(100% - 25px);
    }
}

@media (min-width: 1600px) {
    .header__nav .nav__item_active .nav__link:before {
        height: calc(100% - 35px);
    }
}

.header__nav .nav__item_active .nav__link:after {
    height: 35px;
    background: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16' preserveAspectRatio='none'><path d='M -3.6e-7,4.1e-7 H 16 L 7.9999999,16 Z' fill='%23290b0b'></path></svg>") center center no-repeat;
    background-size: 100% 100%;
    bottom: 0;
}

@media (max-width: 1599.98px) {
    .header__nav .nav__item_active .nav__link:after {
        height: 25px;
    }
}

@media (max-width: 1199.98px) {
    .header__nav .nav__item_active .nav__link:after {
        height: 20px;
    }
}

.header__nav .nav__item_active .nav__link:hover, .header__nav .nav__item_active .nav__link:focus, .header__nav .nav__item_active .nav__link:active {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .header__nav:not(.header__nav_active) {
        visibility: hidden;
        opacity: 0;
        top: calc(100% + 12px);
    }
}

.header__nav-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    -webkit-transition: .2s;
    transition: .2s;
    cursor: pointer;
}

@media (min-width: 992px) {
    .header__nav-toggle {
        display: none;
    }
}

.header__nav-toggle:hover, .header__nav-toggle:focus {
    opacity: .8;
}

.header__nav-toggle:active {
    opacity: .6;
}

.header__nav-toggle:before, .header__nav-toggle:after {
    position: absolute;
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-transition: .2s;
    transition: .2s;
}

.header__nav-toggle:before {
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16' fill='%23503a24' stroke='none'><path d='M 0 2.75 L 0 4.25 L 16 4.25 L 16 2.75 L 0 2.75 z M 0 7.25 L 0 8.75 L 16 8.75 L 16 7.25 L 0 7.25 z M 0 11.75 L 0 13.25 L 16 13.25 L 16 11.75 L 0 11.75 z'></path></svg>");
}

.header__nav-toggle:after {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16' fill='%23503a24' stroke='none'><path d='M 1.3710938 0 L 0 1.3710938 L 6.6289062 8 L 0 14.628906 L 1.3710938 16 L 8 9.3710938 L 14.628906 16 L 16 14.628906 L 9.3710938 8 L 16 1.3710938 L 14.628906 0 L 8 6.6289062 L 1.3710938 0 z'></path></svg>");
}

.header__nav-toggle:not(.header__nav-toggle_active):after {
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1.5) rotate(-45deg);
            transform: translate(-50%, -50%) scale(1.5) rotate(-45deg);
}

.header__nav-toggle_active:before {
    -webkit-transform: translate(-50%, -50%) scaleX(0);
            transform: translate(-50%, -50%) scaleX(0);
    visibility: hidden;
    opacity: 0;
}

.section__pagination {
    margin-top: 40px;
}

@media (max-width: 1599.98px) {
    .section__pagination {
        margin-top: 35px;
    }
}

@media (max-width: 1199.98px) {
    .section__pagination {
        margin-top: 25px;
    }
}

.section__feedback {
    margin-top: 60px;
}

@media (max-width: 1599.98px) {
    .section__feedback {
        margin-top: 45px;
    }
}

@media (max-width: 1199.98px) {
    .section__feedback {
        margin-top: 40px;
    }
}

.footer {
    font-family: "Century Gothic", sans-serif;
    font-weight: 700;
    background-color: #503a24;
    color: #f2ebd8;
    padding: 80px 0;
}

@media (max-width: 1599.98px) {
    .footer {
        padding: 60px 0;
    }
}

@media (max-width: 1199.98px) {
    .footer {
        padding: 50px 0;
    }
}

@media (max-width: 991.98px) {
    .footer {
        text-align: center;
        padding: 30px 0;
    }
}

@media (min-width: 992px) {
    .footer__inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}

@media (min-width: 992px) {
    .footer__nav .nav__list {
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    .footer__nav .nav__item:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .footer__nav .nav__item:not(:last-child) {
        margin-right: 20px;
    }
}

@media (min-width: 1200px) {
    .footer__nav .nav__item:not(:last-child) {
        margin-right: 30px;
    }
}

@media (min-width: 1600px) {
    .footer__nav .nav__item:not(:last-child) {
        margin-right: 40px;
    }
}

.footer__nav .nav__link {
    font-size: inherit;
}

.footer__copyright {
    display: block;
    color: #fff;
}

@media (max-width: 991.98px) {
    .footer__copyright {
        margin-top: 30px;
    }
}

.hero-slider__outer {
    overflow: visible;
}

.hero-slider__inner {
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

.hero-slider-card {
    background-color: #503a24;
    color: #fff;
}

.hero-slider-card__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.hero-slider-card__image-wrapper, .hero-slider-card__content-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .hero-slider-card__image-wrapper, .hero-slider-card__content-wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 auto;
                flex: 0 0 auto;
    }
}

@media (min-width: 768px) {
    .hero-slider-card__image-wrapper {
        max-width: 240px;
    }
}

@media (min-width: 992px) {
    .hero-slider-card__image-wrapper {
        max-width: 480px;
    }
}

@media (min-width: 1200px) {
    .hero-slider-card__image-wrapper {
        max-width: 470px;
    }
}

@media (min-width: 1600px) {
    .hero-slider-card__image-wrapper {
        max-width: 630px;
    }
}

.hero-slider-card__image {
    height: 100%;
    background-color: #402e1d;
}

@media (max-width: 767.98px) {
    .hero-slider-card__image {
        position: relative;
        max-height: 240px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-card__image:after {
        display: table;
        content: "";
        padding-bottom: 75%;
    }
}

.hero-slider-card__img {
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
}

@media (max-width: 767.98px) {
    .hero-slider-card__img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.hero-slider-card__content-wrapper {
    padding: 70px 120px 45px 75px;
}

@media (max-width: 1599.98px) {
    .hero-slider-card__content-wrapper {
        padding: 50px 100px 40px 55px;
    }
}

@media (max-width: 1199.98px) {
    .hero-slider-card__content-wrapper {
        padding: 40px 90px 30px 45px;
    }
}

@media (max-width: 991.98px) {
    .hero-slider-card__content-wrapper {
        padding: 30px 75px 30px 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-card__content-wrapper {
        padding: 20px;
    }
}

.hero-slider-card__title {
    font-family: "PT Astra Serif", serif;
    font-size: 84px;
    color: #fdee50;
    text-transform: uppercase;
    margin-bottom: 30px;
}

@media (max-width: 1599.98px) {
    .hero-slider-card__title {
        font-size: 64px;
        margin-bottom: 25px;
    }
}

@media (max-width: 1199.98px) {
    .hero-slider-card__title {
        font-size: 48px;
        margin-bottom: 20px;
    }
}

@media (max-width: 991.98px) {
    .hero-slider-card__title {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-card__title {
        font-size: 28px;
    }
}

.hero-slider-card__text p:not(:last-child) {
    margin-bottom: 0;
}

.hero-slider-card__action {
    text-align: center;
    margin-top: 55px;
}

@media (max-width: 1599.98px) {
    .hero-slider-card__action {
        margin-top: 40px;
    }
}

@media (max-width: 1199.98px) {
    .hero-slider-card__action {
        margin-top: 30px;
    }
}

@media (max-width: 991.98px) {
    .hero-slider-card__action {
        margin-top: 20px;
    }
}

.bookcase {
    min-height: 680px;
    background: url(../img/bookcase_left_bg.png) left top no-repeat, url(../img/bookcase_right_bg.png) right top no-repeat;
    background-size: 67px auto;
    padding: 0 67px;
}

@media (max-width: 1599.98px) {
    .bookcase {
        background-size: 50px auto;
        padding: 0 50px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase {
        background-size: 40px auto;
        padding: 0 40px;
    }
}

@media (max-width: 991.98px) {
    .bookcase {
        background-size: 30px auto;
        padding: 0 30px;
    }
}

.bookcase__header {
    background: url(../img/bookcase_header_bg.jpg) center center no-repeat;
    background-size: cover;
    text-align: center;
    padding: 25px 30px 30px;
}

@media (max-width: 1599.98px) {
    .bookcase__header {
        padding: 20px 30px 25px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase__header {
        padding: 16px 30px 18px;
    }
}

@media (max-width: 991.98px) {
    .bookcase__header {
        padding: 12px 30px 14px;
    }
}

.bookcase__title {
    font-family: "Nautilus Pompilius", fantasy;
    font-size: 48px;
    color: #f2ebd8;
}

@media (max-width: 1599.98px) {
    .bookcase__title {
        font-size: 32px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase__title {
        font-size: 26px;
    }
}

@media (max-width: 991.98px) {
    .bookcase__title {
        font-size: 20px;
    }
}

.bookcase__shelves {
    height: 1160px;
    background: url(../img/bookcase_shelves_bg.jpg) center center no-repeat;
    background-size: cover;
}

@media (max-width: 1599.98px) {
    .bookcase__shelves {
        height: 870px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase__shelves {
        height: 690px;
    }
}

@media (max-width: 991.98px) {
    .bookcase__shelves {
        height: 520px;
    }
}

.bookcase-shelf {
    overflow: auto hidden;
}

.bookcase-shelf__books {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 45px 40px 15px;
}

@media (max-width: 1599.98px) {
    .bookcase-shelf__books {
        padding: 30px 30px 8px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase-shelf__books {
        padding: 20px 20px 8px;
    }
}

@media (max-width: 991.98px) {
    .bookcase-shelf__books {
        padding: 15px 15px 5px;
    }
}

.bookcase-shelf__book {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.bookcase-shelf__book:not(:last-child) {
    margin-right: 20px;
}

.bookcase-shelf_type_1 {
    height: 358px;
    background: url(../img/bookcase_shelf_type_1_top_bg.jpg) center top no-repeat, url(../img/bookcase_shelf_type_1_bottom_bg.jpg) center bottom no-repeat, url(../img/bookcase_shelf_type_1_bg.jpg) center calc(100% - 26px) no-repeat;
    background-size: auto 18px, auto 26px, contain;
    padding: 18px 32px 26px;
}

@media (max-width: 1599.98px) {
    .bookcase-shelf_type_1 {
        height: 260px;
        background: url(../img/bookcase_shelf_type_1_top_bg.jpg) center top no-repeat, url(../img/bookcase_shelf_type_1_bottom_bg.jpg) center bottom no-repeat, url(../img/bookcase_shelf_type_1_bg.jpg) center calc(100% - 20px) no-repeat;
        background-size: auto 14px, auto 20px, contain;
        padding: 14px 24px 20px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase-shelf_type_1 {
        height: 200px;
        background: url(../img/bookcase_shelf_type_1_top_bg.jpg) center top no-repeat, url(../img/bookcase_shelf_type_1_bottom_bg.jpg) center bottom no-repeat, url(../img/bookcase_shelf_type_1_bg.jpg) center calc(100% - 16px) no-repeat;
        background-size: auto 12px, auto 16px, contain;
        padding: 12px 18px 16px;
    }
}

@media (max-width: 991.98px) {
    .bookcase-shelf_type_1 {
        height: 160px;
        background: url(../img/bookcase_shelf_type_1_top_bg.jpg) center top no-repeat, url(../img/bookcase_shelf_type_1_bottom_bg.jpg) center bottom no-repeat, url(../img/bookcase_shelf_type_1_bg.jpg) center calc(100% - 14px) no-repeat;
        background-size: auto 10px, auto 14px, auto 140px;
        padding: 10px 16px 14px;
    }
}

.bookcase-shelf-book__image {
    position: relative;
    width: 180px;
    max-height: 260px;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

@media (max-width: 1599.98px) {
    .bookcase-shelf-book__image {
        width: 130px;
    }
}

@media (max-width: 1199.98px) {
    .bookcase-shelf-book__image {
        width: 100px;
    }
}

@media (max-width: 991.98px) {
    .bookcase-shelf-book__image {
        width: 80px;
    }
}

.bookcase-shelf-book__image:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #000;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    -webkit-transition: .2s;
    transition: .2s;
}

.bookcase-shelf-book__link:hover .bookcase-shelf-book__image:before,
.bookcase-shelf-book__link:focus .bookcase-shelf-book__image:before,
.bookcase-shelf-book__link:active .bookcase-shelf-book__image:before {
    visibility: visible;
}

.bookcase-shelf-book__link:hover .bookcase-shelf-book__image:before,
.bookcase-shelf-book__link:focus .bookcase-shelf-book__image:before {
    opacity: .25;
}

.bookcase-shelf-book__link:active .bookcase-shelf-book__image:before {
    opacity: .5;
}

.bookcase-shelf-book__image:after {
    display: table;
    content: "";
    padding-bottom: 145%;
}

.bookcase-shelf-book__img {
    position: absolute;
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
    top: 0;
    left: 0;
}

.about-block__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.about-block__image-wrapper, .about-block__content-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .about-block__image-wrapper, .about-block__content-wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 auto;
                flex: 0 0 auto;
    }
}

@media (min-width: 992px) {
    .about-block__image-wrapper {
        max-width: 350px;
    }
}

@media (min-width: 1200px) {
    .about-block__image-wrapper {
        max-width: 440px;
    }
}

@media (min-width: 1600px) {
    .about-block__image-wrapper {
        max-width: 590px;
    }
}

.about-block__image {
    height: 100%;
}

@media (max-width: 991.98px) {
    .about-block__image {
        position: relative;
    }
}

@media (max-width: 991.98px) {
    .about-block__image:after {
        display: table;
        content: "";
        padding-bottom: 150%;
    }
}

.about-block__img {
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
}

@media (max-width: 991.98px) {
    .about-block__img {
        position: absolute;
        -o-object-position: center top;
           object-position: center top;
        top: 0;
        left: 0;
    }
}

.about-block__content-wrapper {
    padding: 90px 45px 90px 50px;
}

@media (max-width: 1599.98px) {
    .about-block__content-wrapper {
        padding: 70px 40px;
    }
}

@media (max-width: 1199.98px) {
    .about-block__content-wrapper {
        padding: 55px 25px;
    }
}

@media (max-width: 991.98px) {
    .about-block__content-wrapper {
        padding: 20px;
    }
}

.about-block__title {
    font-family: "Nautilus Pompilius", fantasy;
    font-size: 48px;
    color: #7f6b4c;
    margin-bottom: 40px;
}

@media (max-width: 1599.98px) {
    .about-block__title {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

@media (max-width: 1199.98px) {
    .about-block__title {
        font-size: 30px;
        margin-bottom: 20px;
    }
}

@media (max-width: 991.98px) {
    .about-block__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .about-block__title {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

.about-block__action {
    text-align: center;
    margin-top: 25px;
}

@media (max-width: 1599.98px) {
    .about-block__action {
        margin-top: 20px;
    }
}

@media (max-width: 1199.98px) {
    .about-block__action {
        margin-top: 15px;
    }
}

.about-block_books .about-block__title {
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .about-block_books .about-block__title {
        margin-bottom: 10px;
    }
}

@media (min-width: 1600px) {
    .about-block_books .about-block__title {
        margin-bottom: 15px;
    }
}

@media (min-width: 992px) {
    .about-block_books .about-block__content-wrapper {
        padding-top: 30px;
    }
}

@media (min-width: 1200px) {
    .about-block_books .about-block__content-wrapper {
        padding-top: 40px;
    }
}

@media (min-width: 1600px) {
    .about-block_books .about-block__content-wrapper {
        padding-top: 50px;
        padding-bottom: 30px;
    }
}

.books-tabs__nav {
    margin-bottom: 60px;
}

@media (max-width: 1599.98px) {
    .books-tabs__nav {
        margin-bottom: 45px;
    }
}

@media (max-width: 1199.98px) {
    .books-tabs__nav {
        margin-bottom: 35px;
    }
}

@media (min-width: 576px) {
    .books-tabs-nav {
        padding: 0 40px;
    }
}

@media (min-width: 768px) {
    .books-tabs-nav {
        padding: 0 60px;
    }
}

@media (min-width: 992px) {
    .books-tabs-nav {
        padding: 0 90px;
    }
}

@media (min-width: 1200px) {
    .books-tabs-nav {
        padding: 0 110px;
    }
}

@media (min-width: 1600px) {
    .books-tabs-nav {
        padding: 0 150px;
    }
}

.books-tabs-nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    overflow: auto hidden;
}

.books-tabs-nav__item:not(:last-child) {
    margin-right: 20px;
}

@media (max-width: 767.98px) {
    .books-tabs-nav__item:not(:last-child) {
        margin-right: 10px;
    }
}

.books-tabs-nav-link {
    display: block;
}

.books-tabs-nav-link__image {
    position: relative;
    width: 185px;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1599.98px) {
    .books-tabs-nav-link__image {
        width: 140px;
    }
}

@media (max-width: 1199.98px) {
    .books-tabs-nav-link__image {
        width: 100px;
    }
}

@media (max-width: 991.98px) {
    .books-tabs-nav-link__image {
        width: 80px;
    }
}

.books-tabs-nav-link__image:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(242, 235, 216, 0.55);
    border: 5px solid #290b0b;
    top: 0;
    left: 0;
    -webkit-transition: .2s;
    transition: .2s;
    z-index: 1;
}

@media (max-width: 1599.98px) {
    .books-tabs-nav-link__image:before {
        border-width: 3px;
    }
}

.books-tabs-nav-link__image:after {
    display: table;
    content: "";
    padding-bottom: 150%;
}

.books-tabs-nav__item:not(.books-tabs-nav__item_active) .books-tabs-nav-link__image:before {
    visibility: hidden;
    opacity: 0;
}

.books-tabs-nav-link__img {
    position: absolute;
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
    top: 0;
    left: 0;
}

.books-tabs-panels__item:not(.books-tabs-panels__item_active) {
    display: none;
}

.books-cards__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 0 50px;
}

@media (max-width: 1599.98px) {
    .books-cards__list {
        padding: 0 35px;
    }
}

@media (max-width: 1199.98px) {
    .books-cards__list {
        padding: 0 30px;
    }
}

@media (max-width: 767.98px) {
    .books-cards__list {
        padding: 0 20px;
    }
}

.books-cards__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 50%;
    max-width: 100%;
    padding: 65px 30px 140px;
}

@media (max-width: 1599.98px) {
    .books-cards__item {
        padding: 50px 20px 100px;
    }
}

@media (max-width: 1199.98px) {
    .books-cards__item {
        padding: 40px 15px 80px;
    }
}

@media (max-width: 991.98px) {
    .books-cards__item {
        width: 100%;
        padding: 30px 0 60px;
    }
}

@media (max-width: 767.98px) {
    .books-cards__item {
        padding: 20px 0 40px;
    }
}

@media (min-width: 992px) {
    .books-cards__item:not(:nth-last-child(-n+2)) {
        border-bottom: 2px solid #290b0b;
    }
}

@media (min-width: 992px) {
    .books-cards__item:nth-child(2n+1) {
        padding-right: 45px;
        padding-left: 15px;
    }
}

@media (min-width: 1200px) {
    .books-cards__item:nth-child(2n+1) {
        padding-right: 60px;
        padding-left: 20px;
    }
}

@media (min-width: 1600px) {
    .books-cards__item:nth-child(2n+1) {
        padding-right: 80px;
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .books-cards__item:nth-child(2n+2) {
        padding-right: 15px;
        padding-left: 45px;
    }
}

@media (min-width: 1200px) {
    .books-cards__item:nth-child(2n+2) {
        padding-right: 20px;
        padding-left: 60px;
    }
}

@media (min-width: 1600px) {
    .books-cards__item:nth-child(2n+2) {
        padding-right: 30px;
        padding-left: 80px;
    }
}

@media (max-width: 991.98px) {
    .books-cards__item:not(:last-child) {
        border-bottom: 2px solid #290b0b;
    }
}

.book-card__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -35px;
}

@media (max-width: 1599.98px) {
    .book-card__inner {
        margin: 0 -25px;
    }
}

@media (max-width: 1199.98px) {
    .book-card__inner {
        margin: 0 -20px;
    }
}

@media (max-width: 991.98px) {
    .book-card__inner {
        margin: 0 -10px;
    }
}

.book-card__image-wrapper, .book-card__content-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    max-width: 100%;
    padding: 0 35px;
}

@media (max-width: 1599.98px) {
    .book-card__image-wrapper, .book-card__content-wrapper {
        padding: 0 25px;
    }
}

@media (max-width: 1199.98px) {
    .book-card__image-wrapper, .book-card__content-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 991.98px) {
    .book-card__image-wrapper, .book-card__content-wrapper {
        padding: 0 10px;
    }
}

.book-card__image-wrapper {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.book-card__image {
    position: relative;
    width: 130px;
    max-height: 185px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1599.98px) {
    .book-card__image {
        width: 100px;
    }
}

@media (max-width: 1199.98px) {
    .book-card__image {
        width: 75px;
    }
}

@media (max-width: 991.98px) {
    .book-card__image {
        width: 60px;
    }
}

.book-card__image:after {
    display: table;
    content: "";
    padding-bottom: 150%;
}

.book-card__img {
    position: absolute;
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
    top: 0;
    left: 0;
}

.book-card__content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.book-card__title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 1599.98px) {
    .book-card__title {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .book-card__title {
        font-size: 14px;
    }
}

.book-card__action {
    max-width: 240px;
    margin-top: auto;
    padding-top: 20px;
}

@media (max-width: 1599.98px) {
    .book-card__action {
        max-width: 200px;
        padding-top: 15px;
    }
}

@media (max-width: 1199.98px) {
    .book-card__action {
        max-width: 160px;
    }
}

@media (max-width: 991.98px) {
    .book-card__action {
        padding-top: 10px;
    }
}

.book_type_2 .book-page {
    padding: 90px 50px;
}

@media (max-width: 1599.98px) {
    .book_type_2 .book-page {
        padding: 65px 35px;
    }
}

@media (max-width: 1199.98px) {
    .book_type_2 .book-page {
        padding: 45px 30px;
    }
}

@media (max-width: 991.98px) {
    .book_type_2 .book-page {
        padding: 30px 20px;
    }
}

.book-page__image {
    position: relative;
    width: 180px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1599.98px) {
    .book-page__image {
        width: 140px;
    }
}

@media (max-width: 1199.98px) {
    .book-page__image {
        width: 120px;
    }
}

@media (max-width: 991.98px) {
    .book-page__image {
        width: 100px;
    }
}

.book-page__image:after {
    display: table;
    content: "";
    padding-bottom: 150%;
}

.book-page__img {
    position: absolute;
    height: 100%;
    -o-object-position: center center;
       object-position: center center;
    -o-object-fit: cover;
       object-fit: cover;
    top: 0;
    left: 0;
}

.book-page__title {
    font-family: "Nautilus Pompilius", fantasy;
    font-size: 48px;
    color: #7f6b4c;
    text-transform: uppercase;
}

@media (max-width: 1599.98px) {
    .book-page__title {
        font-size: 36px;
    }
}

@media (max-width: 1199.98px) {
    .book-page__title {
        font-size: 30px;
    }
}

@media (max-width: 991.98px) {
    .book-page__title {
        font-size: 24px;
    }
}

@media (max-width: 991.98px) {
    .book-page__title {
        font-size: 20px;
    }
}

.book-page__intro {
    margin-top: 30px;
}

@media (max-width: 1599.98px) {
    .book-page__intro {
        margin-top: 20px;
    }
}

@media (max-width: 1199.98px) {
    .book-page__intro {
        margin-top: 15px;
    }
}

@media (max-width: 991.98px) {
    .book-page__intro {
        margin-top: 10px;
    }
}

.book-page__action {
    max-width: 240px;
    margin-top: 30px;
}

@media (max-width: 1599.98px) {
    .book-page__action {
        max-width: 200px;
        margin-top: 20px;
    }
}

@media (max-width: 1199.98px) {
    .book-page__action {
        max-width: 160px;
    }
}

.book-page__editions {
    margin-top: 60px;
}

@media (max-width: 1599.98px) {
    .book-page__editions {
        margin-top: 45px;
    }
}

@media (max-width: 1199.98px) {
    .book-page__editions {
        margin-top: 30px;
    }
}

.book-page-showcase__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -35px;
}

@media (max-width: 1599.98px) {
    .book-page-showcase__inner {
        margin: 0 -25px;
    }
}

@media (max-width: 1199.98px) {
    .book-page-showcase__inner {
        margin: 0 -20px;
    }
}

@media (max-width: 991.98px) {
    .book-page-showcase__inner {
        margin: 0 -10px;
    }
}

.book-page-showcase__image-wrapper, .book-page-showcase__content-wrapper {
    width: 100%;
    padding: 0 35px;
}

@media (max-width: 1599.98px) {
    .book-page-showcase__image-wrapper, .book-page-showcase__content-wrapper {
        padding: 0 25px;
    }
}

@media (max-width: 1199.98px) {
    .book-page-showcase__image-wrapper, .book-page-showcase__content-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 991.98px) {
    .book-page-showcase__image-wrapper, .book-page-showcase__content-wrapper {
        padding: 0 10px;
    }
}

@media (min-width: 992px) {
    .book-page-showcase__image-wrapper, .book-page-showcase__content-wrapper {
        -webkit-box-flex: 1;
            -ms-flex: 1 0 0%;
                flex: 1 0 0%;
        width: auto;
        max-width: 100%;
    }
}

.book-page-showcase__image-wrapper {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .book-page-showcase__content-wrapper {
        margin-top: 20px;
    }
}

.book-page-editions__offer {
    border-top: 2px solid #7f6b4c;
}

.book-page-editions__offer:last-child {
    border-bottom: 2px solid #7f6b4c;
}

.book-page-editions-tabs__nav {
    margin-bottom: 30px;
}

@media (max-width: 1599.98px) {
    .book-page-editions-tabs__nav {
        margin-bottom: 20px;
    }
}

@media (max-width: 1199.98px) {
    .book-page-editions-tabs__nav {
        margin-bottom: 15px;
    }
}

.book-page-editions-tabs-nav {
    background-color: #ddd5bf;
    border-top: 2px solid #7f6b4c;
}

.book-page-editions-tabs-nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    overflow: auto hidden;
}

.book-page-editions-tabs-nav__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .book-page-editions-tabs-nav__item {
        width: 100%;
    }
}

.book-page-editions-tabs-nav__link {
    display: block;
    font-size: 16px;
    color: #7f6b4c;
    text-align: center;
    white-space: nowrap;
    padding: 15px 30px;
}

@media (max-width: 1599.98px) {
    .book-page-editions-tabs-nav__link {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 1199.98px) {
    .book-page-editions-tabs-nav__link {
        font-size: 12px;
        padding: 10px 15px;
    }
}

.book-page-editions-tabs-nav__item_active .book-page-editions-tabs-nav__link {
    background-color: #7f6b4c;
    color: #fff;
}

.book-page-editions-tabs-panels__item:not(.book-page-editions-tabs-panels__item_active) {
    display: none;
}

.book-page-editions-offer {
    padding: 15px 0;
}

@media (max-width: 1599.98px) {
    .book-page-editions-offer {
        padding: 12px 0;
    }
}

@media (max-width: 1199.98px) {
    .book-page-editions-offer {
        padding: 10px 0;
    }
}

@media (min-width: 576px) {
    .book-page-editions-offer {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}

.book-page-editions-offer__title {
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 576px) {
    .book-page-editions-offer__title {
        width: calc(100% - (100px + 30px));
    }
}

@media (min-width: 1200px) {
    .book-page-editions-offer__title {
        width: calc(100% - (150px + 30px));
    }
}

@media (min-width: 1600px) {
    .book-page-editions-offer__title {
        width: calc(100% - (200px + 30px));
    }
}

.book-page-editions-offer__action {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    max-width: 200px;
}

@media (max-width: 1599.98px) {
    .book-page-editions-offer__action {
        max-width: 150px;
    }
}

@media (max-width: 1199.98px) {
    .book-page-editions-offer__action {
        max-width: 100px;
    }
}

@media (max-width: 575.98px) {
    .book-page-editions-offer__action {
        margin-top: 10px;
    }
}

@media (min-width: 576px) {
    .book-page-editions-offer__action {
        margin-left: 30px;
    }
}

.feedback {
    background-color: #503a24;
    color: #f2ebd8;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 60px;
    padding: 60px 160px;
}

@media (max-width: 1599.98px) {
    .feedback {
        margin-top: 45px;
        padding: 45px 120px;
    }
}

@media (max-width: 1199.98px) {
    .feedback {
        margin-top: 40px;
        padding: 40px 90px;
    }
}

@media (max-width: 991.98px) {
    .feedback {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .feedback {
        padding: 20px;
    }
}

.feedback__title {
    font-family: "Nautilus Pompilius", fantasy;
    font-size: 48px;
    margin-bottom: 60px;
}

@media (max-width: 1599.98px) {
    .feedback__title {
        font-size: 32px;
        margin-bottom: 45px;
    }
}

@media (max-width: 1199.98px) {
    .feedback__title {
        font-size: 26px;
        margin-bottom: 40px;
    }
}

@media (max-width: 991.98px) {
    .feedback__title {
        font-size: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .feedback__title {
        margin-bottom: 20px;
    }
}

.feedback__mail {
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
            box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 30px;
    padding: 20px;
}

@media (max-width: 1599.98px) {
    .feedback__mail {
        margin-top: 20px;
    }
}

@media (max-width: 1199.98px) {
    .feedback__mail {
        padding: 15px;
    }
}

.feedback-mail__note a {
    font-weight: 700;
    text-decoration: underline;
}

.feedback-mail__action {
    margin-top: 15px;
}

.feedback-mail__action .button {
    font-size: 12px;
}

@media (min-width: 1200px) {
    .feedback-mail__action .button {
        font-size: 14px;
    }
}

@media (min-width: 1600px) {
    .feedback-mail__action .button {
        font-size: 20px;
    }
}


.fixed-button-buy-fix,
.fixed-button-buy{
    position:fixed;
    z-index: 100000;
    padding:15px 0;
    bottom:0;
    left:0;
    width:100%;
    background-color: rgba(0,0,0,0.2);
    display:none;
    justify-content:center;
    align-items:center;
}

.fixed-button-buy.active{
    display:flex;
}

.fixed-button-buy-fix{
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
}


.fixed-button-buy-fix .button
{
   
    margin-bottom: 20px;
}

@media(max-width:786px){
    .fixed-button-buy-fix .button{
    width: 100%;
    }
}

.fixed-button-buy-fix .button.button_light{
    position: relative;
    overflow: hidden;
  
color:#fff;
    background-color: #50fd97;
}

.fixed-button-buy-fix .button.button_light::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 30%, /* Прозрачность начала блика */
      rgba(255, 255, 255, 0.8), /* Цвет блика */
      rgba(255, 255, 255, 0) 70% /* Прозрачность конца блика */
    );
    top: 0;
    left: -100px;
    animation: shine 2s infinite linear; /* Анимация блика */
  }

  @keyframes shine {
    0% {
      left: -100px; /* Начальная позиция блика (левая сторона кнопки) */
    }
    20% {
      left: 100%; /* Позиция блика в конце (правая сторона кнопки) */
    }
    100% {
      left: 100%; /* Завершение анимации */
    }
  }


  @keyframes animate_grow {
	0% {
		transform: scale3d(1, 1, 1);
	}
	50% {
		transform: scale3d(1.05, 1.05, 1.05);
	}
	100% {
		transform: scale3d(1, 1, 1);
	}
}

@keyframes animate_motion {
	0%, 20% {
		transform: translate3d(0, 0, 0);
	}
	10%, 14%, 18%, 2%, 6% {
		transform: translate3d(-3px, 0, 0);
	}
	12%, 16%, 4%, 8% {
		transform: translate3d(3px, 0, 0);
	}
}
  


.fixed-button-buy-fix .button.button_light-2{
    display: flex;
    background-color: rgb(80, 253, 151);
    animation: animate_grow 2s infinite linear;
   
}.fixed-button-buy-fix .button.button_light-3{
    display: flex;
    background-color: #50fd97;
    animation: animate_motion 6s infinite linear;
   
}
.fixed-button-buy-fix .button.button_light-4{
    display: flex;
    background-color: #50fd97;
    animation: animate_pulse 6s infinite linear;
   
}

@keyframes animate_pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(80, 253, 151, 0.4);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(80, 253, 151, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(80, 253, 151, 0);
	}
}



/* .fixed-button-buy .button{
   height: 30px; 
} */
.pb-big{
    padding-bottom: 105px;
}

@media(max-width:992px){
    .pb-big{
    padding-bottom: 85px;
}
}

.gallery-card__media-wrapper{
    position:relative;
}

.video-play{
    display:flex;
    justify-content:center;
    align-items:center;
    z-index: 2;
   background-color: rgba(0,0,0,0.35);
   height:50px;
   color:#fff;
   font-size:20px;
   width:50px;
   border-radius:50%;
   position:absolute;
   left:calc(50% - 25px);
   top:calc(50% - 25px);
}


.video-play img{
    display:block;
    padding-left: 4px;
    max-width:50%;
    height:auto;
}

    .flex-mobile .button.button_light
{
    display:none;
}
    

@media (max-width: 600px){
    .flex-mobile{
        display:flex;
        align-items:center;
    }
    
    .flex-mobile .button.button_light
{
    display:flex;
}
    
}

.mobi-nav-tabs{
    display: none;
}

@media(max-width:530px){

    .bookcase__shelf{
        position:relative;
    }
    .bookcase-shelf__books{ 
        display: none;
    }
    .mobi-nav-tabs{
        display: block!important;
    }
    .bookcase__shelf .swiper-button-next, .bookcase__shelf .swiper-button-prev{
        
        color:#fff;
    }


    .bookcase__shelf .swiper-button-next:after, .bookcase__shelf .swiper-button-prev:after{
        font-size: 32px;
    }
    .bookcase__shelf .swiper-button-next{
        right: 0%;
    }.bookcase__shelf .swiper-button-prev{
        left: 0dvh;
    }

    .books-tabs-nav__list .swiper-slide{
        min-height: 123px;
    }

    /* .books-tabs-nav-link__image:before{
        width: 97.5%;
        height: 97.5%;
    } */
}


/* .books-tabs-nav__list .swiper-slide{
    min-height: 298px;
} */

.box-cont{
  position:relative;
}

.box-modal{
  display:none;
  position:absolute;
  bottom:0;
  left:0;
  z-index:10;
  background-color:#f2ebd8;
  box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
  padding:10px;
  margin-top:20px;
  line-height:150%;
  font-size:12px;
}
.box-cont.open .box-modal{
  display:block;
}

.btn-email{
  height: 30px;
  font-size:13px;
  min-width:100%;
  margin-top:10px;
}

.close-mdb{
position:absolute;
top:10px;
right:10px;
cursor:pointer;
font-size: 18px;
}

