:root {
    --book-text-font: Georgia, "Times New Roman", Times, serif;
}

p,
blockquote,
figcaption,
.pricing-buy__features li {
    font-family: var(--book-text-font);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
}

.navbar-brand img[src$="edtext.png"] {
    width: min(315px, 69vw);
    height: auto;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

#hero .hero__content--book {
    text-align: center;
    max-width: 590px;
    margin-right: auto;
}

#hero .hero__content--book .input-group {
    justify-content: center;
}

#hero .hero__authors {
    font-family: var(--book-text-font);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
    color: #2f4858;
}

#hero .hero__authors + .hero__authors {
    margin-bottom: 12px;
}

#hero .hero__content--book p {
    text-align: left;
}

#hero .hero__content--book .subscribe-note {
    text-align: center;
}

#hero h1 {
    text-transform: uppercase !important;
}

#hero .subscribe-note {
    margin-top: 10px;
    margin-bottom: 0;
    font-family: var(--book-text-font);
    font-size: 15px;
    line-height: 1.45;
    color: #676768;
}

#hero .hero__images img[src$="cover.jpg"] {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 640px;
    margin: 0 auto;
    box-shadow: 18px 14px 34px rgba(47, 72, 88, 0.18);
}

@media only screen and (max-width: 767px) {
    #hero .hero__images img[src$="cover.jpg"] {
        max-height: 540px;
    }
}

.hero--book-intro {
    background-color: #e8dedc;
    background-image:
        linear-gradient(rgba(232, 222, 220, 0.58), rgba(232, 222, 220, 0.58)),
        url("/assets/images/bg-paris.jpg");
    background-size: 100% 100%, 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: clamp(70px, 6vw, 120px);
}

.book-banner-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: #e8dedc;
}

.book-banner-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-banner-slider__slide--1 {
    opacity: 1;
}

.book-banner-slider__slide--2 {
    opacity: 0;
    animation: bookBannerMix 8s ease-in-out infinite;
}

@keyframes bookBannerMix {
    0%,
    25% {
        opacity: 0;
    }

    50%,
    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.pricing-buy {
    overflow: hidden;
    background: #fff;
}

.pricing-buy__block {
    padding: clamp(72px, 7vw, 118px) 0;
}

.pricing-buy__block--ebook {
    background: #e8dedc;
}

.pricing-buy__block--print {
    background: #fff;
}

.pricing-buy__content {
    max-width: 640px;
}

.pricing-buy__block--print .pricing-buy__content {
    margin-left: auto;
}

.pricing-buy__content h2 {
    margin-bottom: 8px;
}

.pricing-buy__isbn {
    margin: 0 0 22px;
    color: rgba(47, 72, 88, 0.72);
    font-family: var(--book-text-font);
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.04em;
}

.pricing-buy__content p {
    margin-bottom: 18px;
}

.pricing-buy__price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 0;
    color: #2f4858;
    font-family: var(--book-heading-font);
}

.pricing-buy__price-value {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    font-weight: 700;
}

.pricing-buy__lead {
    font-size: 20px;
    line-height: 1.65;
    color: #2f4858;
}

.pricing-buy__features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.pricing-buy__features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: #676768;
}

.pricing-buy__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    background: #d33a31;
    transform: rotate(45deg);
}

.pricing-buy__button {
    min-width: 160px;
    margin-top: 28px;
}

.pricing-buy__images {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
    min-height: 430px;
}

.pricing-buy__figure {
    margin: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 5px;
    box-shadow: 0 18px 42px rgba(47, 72, 88, 0.16);
}

.pricing-buy__figure--1 {
    grid-column: 1 / span 7;
    grid-row: 1;
    z-index: 2;
    transform: translateY(-24px) rotate(-2deg);
}

.pricing-buy__figure--2 {
    grid-column: 6 / span 7;
    grid-row: 1;
    z-index: 1;
    transform: translateY(94px) rotate(1.5deg);
}

.pricing-buy__image-link {
    display: block;
    cursor: zoom-in;
}

.pricing-buy__images--print .pricing-buy__figure--1 {
    transform: translateY(84px) rotate(1.4deg);
}

.pricing-buy__images--print .pricing-buy__figure--2 {
    transform: translateY(-24px) rotate(-2deg);
}

.pricing-buy__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 3px;
}

@media only screen and (max-width: 991px) {
    .pricing-buy__content,
    .pricing-buy__block--print .pricing-buy__content {
        max-width: 680px;
        margin: 0 auto;
    }

    .pricing-buy__images {
        max-width: 680px;
        min-height: 390px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 575px) {
    .pricing-buy__block {
        padding: 58px 0;
    }

    .pricing-buy__images {
        min-height: 300px;
    }

    .pricing-buy__figure {
        padding: 8px;
    }

    .pricing-buy__figure--1 {
        grid-column: 1 / span 8;
        transform: translateY(-12px) rotate(-2deg);
    }

    .pricing-buy__figure--2 {
        grid-column: 5 / span 8;
        transform: translateY(70px) rotate(1.5deg);
    }

    .pricing-buy__images--print .pricing-buy__figure--1 {
        transform: translateY(64px) rotate(1.4deg);
    }

    .pricing-buy__images--print .pricing-buy__figure--2 {
        transform: translateY(-12px) rotate(-2deg);
    }
}

#cta {
    position: relative;
    background: transparent;
}

#cta .cta__photo {
    display: block;
    width: 100%;
    height: auto;
}

#cta .cta__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

#cta .cta__inner {
    width: 100%;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

#cta .cta-form-box {
    max-width: 440px;
    margin: 0 auto;
    opacity: 0.86;
}

#cta .cta__subscribe-form .input-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

#cta .cta__subscribe-form input {
    width: 100%;
    margin-bottom: 0;
    border-radius: 5px 5px 0 0 !important;
    text-align: center;
}

#cta .cta__subscribe-form button {
    width: 100%;
    border-radius: 0 0 5px 5px !important;
}

@media only screen and (max-width: 767px) {
    #cta .cta__overlay {
        position: static;
        display: block;
        padding: 10px 15px 20px;
    }
}

.publisher-note {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 7vw, 120px) 0;
    background-image: url("/assets/images/publisher/bg-ed.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.publisher-note::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(232, 222, 220, 0.68);
}

.publisher-note .container {
    position: relative;
    z-index: 1;
}

.publisher-note__text {
    padding: clamp(28px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.82);
    border-right: 6px solid #d33a31;
    box-shadow: 0 16px 48px rgba(47, 72, 88, 0.14);
}

.publisher-note__text h2 {
    margin-bottom: 24px;
    color: #d33a31;
}

.publisher-note__text p {
    color: #2f4858;
    font-size: 18px;
    line-height: 1.72;
}

.publisher-note__lead {
    font-size: 21px !important;
    line-height: 1.58 !important;
    font-weight: 600;
}

.publisher-note__subjects {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(47, 72, 88, 0.16);
}

.publisher-note__subjects-title {
    display: block;
    margin-bottom: 14px;
    color: #d33a31;
    font-family: "Philosopher", sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.publisher-note__subjects ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.publisher-note__subjects li {
    position: relative;
    padding: 5px 10px 5px 20px;
    border: 1px solid rgba(211, 58, 49, 0.22);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.42);
    color: #2f4858;
    font-family: var(--book-text-font);
    font-size: 14px;
    line-height: 1.35;
}

.publisher-note__subjects li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #d33a31;
    transform: translateY(-50%) rotate(45deg);
}

.publisher-note__hero-image,
.publisher-note__artifact {
    margin: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 38px rgba(47, 72, 88, 0.13);
}

.publisher-note__hero-image {
    padding: 16px;
    transform: translateY(34px) rotate(2deg);
    box-shadow: -18px 18px 44px rgba(47, 72, 88, 0.18);
}

.publisher-note__hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.publisher-note__hero-image figcaption,
.publisher-note__artifact figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #2f4858;
}

.publisher-note__hero-image figcaption {
    font-size: 14px;
}

.publisher-note__gallery {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.1fr;
    gap: clamp(18px, 2.2vw, 30px);
    align-items: start;
    margin-top: clamp(42px, 6vw, 86px);
}

.publisher-note__artifact--1 {
    transform: rotate(-1deg);
}

.publisher-note__artifact--2 {
    margin-top: 72px;
    transform: rotate(1.1deg);
}

.publisher-note__artifact--3 {
    margin-top: 26px;
    transform: rotate(-0.7deg);
}

.publisher-note__artifact img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.publisher-note__artifact--2 img {
    aspect-ratio: 1 / 1;
}

.publisher-about__card,
.authors-card {
    padding: 30px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 15px 0 rgba(1, 6, 33, 0.06);
}

.publisher-about .publisher-about__image {
    max-width: 100%;
    margin: 0;
}

.publisher-about .publisher-about__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

@media only screen and (min-width: 992px) {
    .publisher-about .publisher-about__image {
        margin-top: 134px;
    }
}

.publisher-about__content {
    max-width: 700px;
}

.publisher-about__logo {
    display: block;
    width: min(360px, 100%);
    height: auto;
    margin: 0 auto 26px;
}

.publisher-about__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 17px 0 18px;
    margin: 0 0 24px;
    border-top: 1px solid rgba(101, 135, 155, 0.28);
    border-bottom: 1px solid rgba(101, 135, 155, 0.28);
}

.publisher-about__facts li {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0 18px;
    text-align: center;
}

.publisher-about__facts li + li {
    border-left: 1px solid rgba(101, 135, 155, 0.24);
}

.publisher-about__fact-value {
    display: block;
    color: #d33a31;
    font-family: var(--book-text-font);
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.publisher-about__fact-label {
    display: block;
    color: #2f4858;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
}

.publisher-about__content p,
.authors-card__content p {
    font-size: 17px;
}

.publisher-about__content p {
    margin-bottom: 16px;
}

.publisher-about__lead {
    color: #2f4858;
    font-size: 19px !important;
    line-height: 1.65;
}

.publisher-about__content p:last-child,
.authors-card__content p {
    margin-bottom: 0;
}

.publisher-about__contacts {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.publisher-about__contacts li {
    margin-bottom: 8px;
    font-family: var(--book-text-font);
    font-size: 17px;
    line-height: 1.55;
    color: #2f4858;
}

.publisher-about__contacts strong {
    color: #d33a31;
}

.publisher-about__contacts a {
    color: #2f4858;
}

.publisher-about__contacts a:hover {
    color: #d33a31;
}

.publisher-about__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.publisher-about__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    gap: 9px;
    border-radius: 3px;
    background: #d33a31;
    color: #fff;
    box-shadow: 3px 3px #65879b;
    font-weight: 600;
    transition: all 0.3s ease;
}

.publisher-about__social-link:hover {
    color: #fff;
    background: #65879b;
    box-shadow: none;
}

.publisher-about__social-link img {
    display: block;
    width: 20px;
    height: 20px;
}

@media only screen and (max-width: 575px) {
    .publisher-about__card {
        --bs-gutter-x: 0;
    }

    .publisher-about__facts {
        grid-template-columns: 1fr;
        padding: 14px 0;
    }

    .publisher-about__facts li {
        padding: 12px 0;
    }

    .publisher-about__facts li + li {
        border-top: 1px solid rgba(101, 135, 155, 0.24);
        border-left: 0;
    }
}

.from-authors {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 7vw, 120px) 0;
    background-image: url("/assets/images/from-authors/bg-joly.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.from-authors::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(232, 222, 220, 0.72);
}

.from-authors .container {
    position: relative;
    z-index: 1;
}

.from-authors__portrait {
    margin: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(47, 72, 88, 0.22);
    box-shadow: 18px 18px 44px rgba(47, 72, 88, 0.18);
    transform: rotate(-2deg);
    transform-origin: top center;
}

.from-authors__portrait img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.from-authors__portrait figcaption {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #2f4858;
}

.from-authors__text {
    padding: clamp(28px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.8);
    border-left: 6px solid #d33a31;
    box-shadow: 0 16px 48px rgba(47, 72, 88, 0.14);
}

.from-authors__text h2 {
    margin-bottom: 24px;
    color: #d33a31;
}

.from-authors__text p {
    color: #2f4858;
    font-size: 18px;
    line-height: 1.72;
}

.from-authors__poem {
    margin: 26px 0 0;
    padding: 18px 24px;
    border-left: 3px solid #d33a31;
    background: rgba(232, 222, 220, 0.42);
    color: #2f4858;
}

.from-authors__poem-lines span {
    display: block;
    font-family: var(--book-text-font);
    font-size: 18px;
    line-height: 1.65;
}

.from-authors__poem footer {
    margin-top: 12px;
    font-family: var(--book-text-font);
    font-size: 16px;
    line-height: 1.45;
    text-align: right;
    color: rgba(47, 72, 88, 0.76);
}

.from-authors__lead {
    font-size: 21px !important;
    line-height: 1.58 !important;
    font-weight: 600;
}

.from-authors__gallery {
    display: grid;
    grid-template-columns: 0.92fr 1.16fr 0.92fr;
    gap: clamp(18px, 2.2vw, 30px);
    align-items: start;
    margin-top: clamp(34px, 5vw, 72px);
}

.from-authors__artifact {
    margin: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 38px rgba(47, 72, 88, 0.13);
}

.from-authors__artifact--1 {
    margin-top: 38px;
    transform: rotate(1.2deg);
}

.from-authors__artifact--2 {
    margin-top: 92px;
    transform: rotate(-1.1deg);
}

.from-authors__artifact--3 {
    transform: rotate(0.8deg);
}

.from-authors__artifact img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.from-authors__artifact--1 img {
    aspect-ratio: 1 / 1.08;
}

.from-authors__artifact figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #2f4858;
}

@media only screen and (max-width: 991px) {
    .publisher-note__hero-image {
        max-width: 420px;
        margin: 34px auto 0;
        transform: none;
    }

    .publisher-note__gallery,
    .from-authors__gallery {
        grid-template-columns: 1fr;
    }

    .publisher-note__artifact,
    .publisher-note__artifact--1,
    .publisher-note__artifact--2,
    .publisher-note__artifact--3,
    .from-authors__artifact,
    .from-authors__artifact--1,
    .from-authors__artifact--2,
    .from-authors__artifact--3 {
        margin-top: 0;
        transform: none;
    }

    .from-authors__portrait {
        max-width: 420px;
        margin: 0 auto 34px;
        transform: none;
    }
}

.joly-about__card {
    background: rgba(255, 255, 255, 0.96);
}

.joly-about__content {
    max-width: 760px;
}

.joly-about__content blockquote {
    position: relative;
    margin: 0;
    padding-left: 34px;
    border-left: 3px solid #d33a31;
}

.joly-about__content blockquote p {
    margin-bottom: 22px;
    font-size: 20px;
    line-height: 1.75;
    color: #2f4858;
}

.joly-about__content blockquote footer {
    font-family: var(--book-text-font);
    font-size: 16px;
    line-height: 1.5;
    color: #676768;
}

.joly-about .joly-about__image,
.authors-card__image {
    max-width: 360px;
    margin: 0 auto;
}

.joly-about .joly-about__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
}

.joly-about__image figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #2f4858;
}

.authors-section .section-title-center span {
    letter-spacing: 4px;
}

.author__image,
.authorv2__image,
.authors-card__image {
    padding: 0;
    background: transparent;
}

.author__image::after {
    display: none !important;
}

.authors-card__image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.authors-card__social {
    margin-top: 25px;
}

.demo-subscribe-wrap {
    max-width: 560px;
}

.subscribe-note,
.subscribe-message {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2f4858;
}

.subscribe-message {
    padding: 10px 12px;
    border: 1px solid rgba(101, 135, 155, .3);
    border-radius: 5px;
    background: rgba(255, 255, 255, .78);
}

.subscribe-message--error {
    border-color: rgba(211, 58, 49, .45);
    color: #9f2f28;
}

.cta .subscribe-note {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 3px;
    background: rgba(211, 58, 49, .78);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(47, 72, 88, .18);
}

.footer__legal {
    font-size: 14px;
}

.footer__legal a {
    color: #2f4858;
}

.footer__legal a:hover {
    color: #d33a31;
}

.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: min(620px, calc(100vw - 36px));
    padding: 16px;
    border: 1px solid rgba(47, 72, 88, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 40px rgba(47, 72, 88, .18);
}

.cookie-consent__text {
    display: grid;
    gap: 3px;
    color: #2f4858;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.cookie-consent button {
    min-height: 38px;
    border: 0;
    border-radius: 5px;
    padding: 0 14px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__reject {
    background: #e8dedc;
    color: #2f4858;
}

.cookie-consent__accept {
    background: #65879b;
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .cookie-consent {
        left: 14px;
        right: 14px;
        bottom: 14px;
        display: grid;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent button {
        flex: 1;
    }
}
