/*
foxford
src: url("/fonts/GothamPro.eot");
/img/skins/foxford/mask.png
*/
@font-face {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/Circe-Regular.eot") format("eot"),
         url("/fonts/Circe-Regular.otf") format("opentype"),
         url("/fonts/Circe-Regular.ttf") format("truetype"),
         url("/fonts/Circe-Regular.woff") format("woff"),
         url("/fonts/Circe-Regular.woff2") format("woff2");
}

@font-face {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/Circe-Bold.eot") format("eot"),
         url("/fonts/Circe-Bold.otf") format("opentype"),
         url("/fonts/Circe-Bold.ttf") format("truetype"),
         url("/fonts/Circe-Bold.woff") format("woff"),
         url("/fonts/Circe-Bold.woff2") format("woff2");
}

@font-face {
    font-family: 'TT Foxford';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/TT Foxford ExtraBold.ttf") format("truetype");
}

/* -------------------- */
/*    Utility classes   */
/* -------------------- */

:root {
    /* colors */
    --black: #000000;
    --white: #FFFFFF;
    --gray: #F2F3F5;
    --violet: #8950E6;
    --purple: #E0D1FB;
    --light-purple: #ECE1FF;
    --orange: #FF9900;
    --bright-orange: #FF732B;
    --yellow: #FFFA7D;
    --pale-yellow: #FEFFBD;
    --peach: #FCF1E3;
    --light-blue: #BDDCEA;


    /* dimensions */
    --container-margin: 40px;

    /* swiper */
    --swiper-pagination-color: var(--black, #000000);
    --swiper-pagination-bullet-size: 12px;
    --swiper-pagination-bullet-width: 12px;
    --swiper-pagination-bullet-height: 12px;
    --swiper-pagination-bullet-inactive-color: var(--black, #000000);
    --swiper-pagination-bullet-inactive-opacity: 0.2;
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 0;
    --swiper-pagination-bullet-vertical-gap: 0;
}

html {
  scroll-behavior: smooth;
}

.foxford-page {
    margin: 0;
    font-family: 'Circe', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--black, #000000);
    background: var(--white, #FFFFFF);
}

.foxford-page__content {
    margin-bottom: 16px;
}

.container {
    max-width: 1290px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    :root {
         /* dimensions */
        --container-margin: 16px;

        /* swiper */
        --swiper-pagination-bullet-size: 10px;
        --swiper-pagination-bullet-width: 10px;
        --swiper-pagination-bullet-height: 10px;
    }
}

@media (max-width: 1380px) {
    .container {
        max-width: calc(100% - var(--container-margin) * 2);
    }
}

/* -------------------- */
/*    foxford-header    */
/* -------------------- */

.foxford-header {
    position: relative;
    z-index: 1;
}

.foxford-header__content {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    gap: 58px;
    justify-content: center;
}

.foxford-header__logo-link {
    position: relative;
    display: block;
    color: var(--white, #FFFFFF);
    text-decoration: none;
}

.foxford-header__logo-link:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -36px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('/img/skins/foxford/x_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.foxford-header__logo-link_name_foxford {
    width: 208px;
    height: 31px;
}

.foxford-header__logo-link_name_litres {
    width: 221px;
    height: 37px;
}

.foxford-header__logo-img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1380px) {
    .foxford-header {
        max-width: calc(100% - var(--container-margin) * 2);
    }
    .foxford-header__content {
        top: 52px;
    }
    .foxford-header__logo-link_name_foxford {
        width: 127px;
        height: 19px;
    }
    .foxford-header__logo-link_name_litres {
        width: 131px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .foxford-header__content {
        top: 40px;
        gap: 40px;
    }
    .foxford-header__logo-link_name_foxford {
        width: 71px;
        height: 11px;
    }
    .foxford-header__logo-link_name_litres {
        width: 76px;
        height: 13px;
    }
    .foxford-header__logo-link:not(:last-child)::after {
        right: -24px;
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 500px) {
    .foxford-header__content {
        top: 75px;
        gap: 20px;
    }
    .foxford-header__logo-link:not(:last-child)::after {
        right: -12px;
        width: 4px;
        height: 4px;
    }
}

/* -------------------- */
/*     foxford-about    */
/* -------------------- */

.foxford-about {
    position: relative;
    background-color: var(--violet, #8950E6);
}

.foxford-about::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("/img/skins/foxford/behind-the-scenes_icon.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.foxford-about__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: calc(1240 / 1920* 100%);
    margin: 0 auto;
    padding: 12.5% 0 16%;
    color: var(--white, #FFFFFF);
}

.foxford-about__content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -112px;
    width: calc(391 / 1240 * 100%);
    height: calc(357 / 920 * 100%);
    background-image: url("/img/skins/foxford/ff-chronicles_icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}

.foxford-about__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -158px;
    width: calc(588 / 1240 * 100%);
    height: calc(540 / 920 * 100%);
    background-image: url("/img/skins/foxford/fox-about_icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}

.foxford-about__title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: clamp(2.625rem, 1.4417rem + 5.0485vw, 7.5rem);
    font-weight: 800;
    line-height: 115%;
    text-align: center;
    text-transform: uppercase;
}

.foxford-about__subtitle {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: block;
    max-width: max-content;
    min-height: 80px;
    margin: 0 auto;
    padding: 13px 36px;
    font-family: 'TT Foxford', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 115%;
    text-align: center;
    text-transform: uppercase;
    background-color: var(--orange, #FF9900);
    transform: rotate(-4deg);
    box-sizing: border-box;
}

.foxford-about__subtitle::before {
    content: '';
    position: absolute;
    right: 99%;
    top: 0;
    bottom: 0;
    border-left: 34px solid transparent;
    border-right: 3px solid var(--orange, #FF9900);
    border-top: 40px solid var(--orange, #FF9900);
    border-bottom: 40px solid var(--orange, #FF9900);
}

.foxford-about__subtitle::after {
    content: '';
    position: absolute;
    left: 99%;
    top: 0;
    bottom: 0;
    border-left: 3px solid var(--orange, #FF9900);
    border-right: 34px solid transparent;
    border-top: 40px solid var(--orange, #FF9900);
    border-bottom: 40px solid var(--orange, #FF9900);
}

.foxford-about__text {
    position: relative;
    z-index: 1;
    max-width: 920px;
    width: 80%;
    margin: 0 auto;
    padding: 0;
    font-size: clamp(1.875rem, 0.2778rem + 1.8519vw, 2.5rem);
    font-weight: 400;
    line-height: 130%;
    text-align: center;
    text-wrap: balance;
}

@media (max-width: 1380px) {
    .foxford-about__content {
        max-width: calc(100% - var(--container-margin) * 2);
        padding-bottom: 220px;
    }
    .foxford-about__content::before {
        bottom: 0;
        left: 0;
        width: 28%;
    }
    .foxford-about__content::after {
        right: 0;
        width: 35%;
    }
    .foxford-about__subtitle {
        min-height: 60px;
        padding: 12px 24px;
        font-size: 32px;
    }
    .foxford-about__subtitle::before {
        border-left: 20px solid transparent;
        border-top: 30px solid var(--orange, #FF9900);
        border-bottom: 30px solid var(--orange, #FF9900);
    }
    .foxford-about__subtitle::after {
        border-right: 20px solid transparent;
        border-top: 30px solid var(--orange, #FF9900);
        border-bottom: 30px solid var(--orange, #FF9900);
    }
    .foxford-about__text {
        max-width: 640px;
        font-size: clamp(1.5rem, 1.0294rem + 0.9804vw, 1.875rem);
    }
}

@media (max-width: 768px) {
    .foxford-about::after {
        background-image: url("/img/skins/foxford/behind-the-scenes_mobile_icon.svg");
    }
    .foxford-about__content {
        padding: 132px 0 236px;
    }
    .foxford-about__content::before {
        z-index: 1;
    }
    .foxford-about__content::after {
        z-index: 1;
        width: 42%;
    }
    .foxford-about__subtitle {
        bottom: -30px;
        min-height: 30px;
        padding: 8px 16px;
        font-size: 24px;
    }
    .foxford-about__subtitle::before {
        border-left: 16px solid transparent;
        border-top: 20px solid var(--orange, #FF9900);
        border-bottom: 20px solid var(--orange, #FF9900);
    }
    .foxford-about__subtitle::after {
        border-right: 16px solid transparent;
        border-top: 20px solid var(--orange, #FF9900);
        border-bottom: 20px solid var(--orange, #FF9900);
    }
    .foxford-about__text {
        z-index: 2;
        max-width: 440px;
        width: 72%;
        font-size: clamp(1rem, 0.0672rem + 2.9851vw, 1.5rem);
    }
}

@media (max-width: 500px) {
    .foxford-about__content {
        padding: 132px 0 437px;
        gap: 44px;
    }
    .foxford-about__content::before {
        z-index: 0;
        bottom: 28%;
        left: 0;
        width: 166px;
        height: 179px;
        background-image: url("/img/skins/foxford/ff-chronicles_mobile_icon.svg");
    }
    .foxford-about__content::after {
        width: 272px;
        height: 375px;
        background-image: url("/img/skins/foxford/fox-about_mobile_icon.svg");
    }
    .foxford-about__title {
        font-size: clamp(2.25rem, 0.0278rem + 11.1111vw, 3.5rem);
    }
    .foxford-about__subtitle {
        bottom: -12px;
        min-height: 28px;
        padding: 4px 10px;
        font-size: 16px;
    }
    .foxford-about__subtitle::before {
        border-left: 12px solid transparent;
        border-top: 14px solid var(--orange, #FF9900);
        border-bottom: 14px solid var(--orange, #FF9900);
    }
    .foxford-about__subtitle::after {
        border-right: 12px solid transparent;
        border-top: 14px solid var(--orange, #FF9900);
        border-bottom: 14px solid var(--orange, #FF9900);
    }
    .foxford-about__text {
        max-width: 280px;
        width: 100%;
        font-size: 16px;
    }
}

/* -------------------- */
/*     foxford-jobs     */
/* -------------------- */

.foxford-jobs {
    position: relative;
    margin-bottom: 59px;
    background-color: var(--gray, #F2F3F5);
}

.foxford-jobs::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 59px;
    background-image: url("/img/skins/foxford/backgrounds/foxford-jobs-pattern_bg.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-jobs__content {
    padding: 112px 0 80px;
    color: var(--black, #000000);
}

.foxford-jobs__title {
    max-width: 90%;
    margin: 0 0 40px;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: clamp(2.25rem, 1.6667rem + 1.2153vw, 3.125rem);
    font-weight: 800;
    line-height: 115%;
}

.foxford-jobs__title .foxford-accent {
    display: block;
}

.foxford-jobs__text {
    max-width: 96%;
    margin: 0;
    padding: 0;
    font-size: 35px;
    font-weight: 400;
    line-height: 130%;
}

.foxford-jobs__text:not(:last-of-type) {
    margin-bottom: 24px;
}

.foxford-jobs__text:last-of-type {
    margin-bottom: 108px;
}

.foxford-jobs__link {
    display: block;
    max-width: max-content;
    min-width: 476px;
    padding: 18px 32px;
    font-family: 'TT Foxford', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 46px;
    text-align: center;
    text-decoration: none;
    color: var(--white, #FFFFFF);
    background-color: var(--violet, #8950E6);
    border-radius: 48px;
    box-sizing: border-box;
    transition: all 0.3s linear;
}

@media (hover: hover) {
    .foxford-jobs__link:hover {
        opacity: 0.8;
    }
}

@media (max-width: 1380px) {
    .foxford-jobs__text {
        font-size: 30px;
    }
    .foxford-jobs__link {
        min-width: 400px;
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .foxford-jobs__content {
        padding: 60px 40px;
    }
    .foxford-jobs__text:last-of-type {
        margin-bottom: 60px;
    }
}

@media (max-width: 500px) {
    .foxford-jobs::after {
        background-image: url("/img/skins/foxford/backgrounds/foxford-jobs-pattern_mobile_bg.svg");
    }
    .foxford-jobs__content {
        padding: 40px;
    }
    .foxford-jobs__title {
        margin-bottom: 20px;
        font-size: 24px;
    }
    .foxford-jobs__text {
        font-size: 16px;
    }
    .foxford-jobs__text:last-of-type {
        margin-bottom: 40px;
    }
    .foxford-jobs__link {
        max-width: 281px;
        min-width: auto;
        width: 100%;
        margin: auto;
        padding: 12px 16px;
        font-size: 19px;
        line-height: 24px;
    }
}

/* -------------------- */
/*    foxford-slider    */
/* -------------------- */

.foxford-slider {
    position: relative;
    padding: 125px 0 96px;
}

.foxford-slider__wrapper {
    position: relative;
    max-width: 1290px;
    margin: 0 auto 24px;
}

.foxford-slider__arrow-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background-color: var(--orange, #FF9900);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    appearance: none;
    outline: transparent;
    transition: all 0.3s linear;
}

.foxford-slider__arrow-button_prev {
    left: -32px;
}

.foxford-slider__arrow-button_next {
    right: -32px;
}

.foxford-slider__arrow-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 23px;
    height: 18px;
    margin: auto;
    background-image: url('/img/skins/foxford/arrow_icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.foxford-slider__arrow-button_prev::before {
    rotate: 180deg;
}

.foxford-slider__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.foxford-slider__bullet-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 4px 0;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
}

@media (max-width: 1380px) {
    .foxford-slider__arrow-button {
        width: 48px;
        height: 48px;
    }
    .foxford-slider__arrow-button_prev {
        left: -24px;
    }
    .foxford-slider__arrow-button_next {
        right: -24px;
    }
}

@media (max-width: 768px) {
    .foxford-slider {
        padding: 73px 0 60px;
    }
    .foxford-slider__arrow-button {
        display: none;
    }
    .foxford-slider__bullet-buttons {
        gap: 14px;
    }
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 500px) {
    .foxford-slider {
        padding-bottom: 40px;
    }
    .foxford-slider__wrapper {
        margin-bottom: 40px;
    }
}

@media (hover: hover) {
    .foxford-slider__arrow-button:hover {
        scale: 0.95;
    }
}

/* -------------------- */
/*     foxford-slide    */
/* -------------------- */

.foxford-slide {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1290px;
    margin: 0 auto;
}

.foxford-slide:is(.swiper-slide) {
    display: flex;
    height: auto;
}

.foxford-slide_hero_wonka {
    background-color: var(--peach, #FCF1E3);
}

.foxford-slide_hero_holmes {
    background-color: var(--pale-yellow, #FEFFBD);
}

.foxford-slide_hero_croft {
    background-color: var(--peach, #FCF1E3);
}

.foxford-slide_hero_poppins {
    background-color: var(--light-blue, #BDDCEA);
}

.foxford-slide_hero_master {
    background-color: var(--pale-yellow, #FEFFBD);
}

.foxford-slide__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 48%;
    padding: 64px 67px;
    box-sizing: border-box;
}

.foxford-slide__title {
    margin: 0;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: 35px;
    font-weight: 800;
    line-height: 115%;
}

.foxford-slide__text {
    margin: 0 0 44px;
    padding: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 30.4px;
}

.foxford-slide__text .foxford-accent {
    font-weight: 700;
}

.foxford-slide__picture {
    position: relative;
    flex-shrink: 0;
    display: block;
    max-width: calc(565 / 1290 * 100%);
}

.foxford-slide__picture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    width: calc(509 / 565 * 100%);
    height: calc(380 / 519 * 100%);
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-slide_hero_wonka .foxford-slide__picture::before {
    background-image: url('/img/skins/foxford/ff-slide/ff-slide-border_orange.svg');
}

.foxford-slide_hero_holmes .foxford-slide__picture::before {
    background-image: url('/img/skins/foxford/ff-slide/ff-slide-border_violet.svg');
}

.foxford-slide_hero_croft .foxford-slide__picture::before {
    background-image: url('/img/skins/foxford/ff-slide/ff-slide-border_orange.svg');
}

.foxford-slide_hero_poppins .foxford-slide__picture::before {
    background-image: url('/img/skins/foxford/ff-slide/ff-slide-border_violet.svg');
}

.foxford-slide_hero_master .foxford-slide__picture::before {
    background-image: url('/img/skins/foxford/ff-slide/ff-slide-border_orange.svg');
}

.foxford-slide__img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.foxford-slide__anchor-link {
    position: relative;
    padding: 9px 30px;
    font-family: 'TT Foxford', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--white, #FFFFFF);
    border-radius: 48px;
    box-sizing: border-box;
    transition: all 0.3s linear;
}

.foxford-slide__anchor-link::after {
    opacity: 0;
    visibility: hidden;
    content: "";
    position: absolute;
    top: -6px;
    right: 20px;
    bottom: 0;
    width: 8px;
    height: 8px;
    margin: auto;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(-135deg);
    transition: all 0.3s linear;
}

.foxford-slide_hero_wonka .foxford-slide__anchor-link {
    background-color: var(--orange, #FF9900);
}

.foxford-slide_hero_holmes .foxford-slide__anchor-link {
    background-color: var(--violet, #8950E6);
}

.foxford-slide_hero_croft .foxford-slide__anchor-link {
    background-color: var(--orange, #FF9900);
}

.foxford-slide_hero_poppins .foxford-slide__anchor-link {
    background-color: var(--violet, #8950E6);
}

.foxford-slide_hero_master .foxford-slide__anchor-link {
    background-color: var(--orange, #FF9900);
}

@media (hover: hover) {
    .foxford-slide__anchor-link:hover {
        padding-right: 40px;
    }
    .foxford-slide__anchor-link:hover::after {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1380px) {
    .foxford-slide {
        align-items: center;
    }
    .foxford-slide__info {
        justify-content: center;
        max-width: none;
        padding: 40px 16px 40px 40px;
    }
    .foxford-slide__text {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .foxford-slide {
        flex-wrap: wrap;
        justify-content: center;
        padding: 40px 40px 108px;
        box-sizing: border-box;
    }
    .foxford-slide__info {
        padding: 0;
    }
    .foxford-slide__anchor-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
        width: max-content;
    }
    .foxford-slide__picture {
        max-width: 100%;
    }
    .foxford-slide__picture::before {
        left: 16px;
        width: 253px;
        height: 189px;
    }
}

@media (max-width: 500px) {
    .foxford-slide {
        padding: 34px 24px 108px;
    }
    .foxford-slide__title {
        font-size: 24px;
    }
    .foxford-slide__text {
        font-size: 16px;
        line-height: 115%;
    }
    .foxford-slide__anchor-link {
        max-width: 290px;
        width: calc(100% - 48px);
        padding: 8px 16px;
        font-size: 14px;
        line-height: 20px;
    }
}

/* -------------------- */
/*   foxford-interview  */
/* -------------------- */

.foxford-interview {
    margin-bottom: 160px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--black, #000000);
}

.foxford-interview__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 56px;
}

.foxford-interview_hero_willy-wonka .foxford-interview__header {
    background-color: var(--peach, #FCF1E3);
}

.foxford-interview_hero_sherlock-holmes .foxford-interview__header {
    background-color: var(--pale-yellow, #FEFFBD);
}

.foxford-interview_hero_lara-croft .foxford-interview__header {
    background-color: var(--peach, #FCF1E3);
}

.foxford-interview_hero_mary-poppins .foxford-interview__header {
    background-color: var(--light-blue, #BDDCEA);
}

.foxford-interview_hero_master .foxford-interview__header {
    background-color: var(--pale-yellow, #FEFFBD);
}

.foxford-interview__header-picture {
    position: relative;
    flex-shrink: 0;
    display: block;
    max-width: calc(565 / 1290 * 100%);
    min-width: 294px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.foxford-interview__header-img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.foxford-interview_hero_willy-wonka .foxford-interview__header-picture::before {
    content: '';
    position: absolute;
    top: 0;
    left: -73px;
    width: 147px;
    height: 151px;
    background-image: url('/img/skins/foxford/ff-interview/sweet_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-interview_hero_sherlock-holmes .foxford-interview__header-picture::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -102px;
    width: 178px;
    height: 180px;
    background-image: url('/img/skins/foxford/ff-interview/loupe_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-interview_hero_mary-poppins .foxford-interview__header-picture::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -104px;
    width: 132px;
    height: 170px;
    background-image: url('/img/skins/foxford/ff-interview/umbrella_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-interview_hero_master .foxford-interview__header-picture::before {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 100%;
    width: 137px;
    height: 137px;
    background-image: url('/img/skins/foxford/ff-interview/notepad_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-interview__title {
    position: relative;
    margin: 0;
    padding: 56px 72px 56px 67px;
    font-family: 'TT Foxford', sans-serif;
    font-size: clamp(1.5rem, 0.625rem + 1.8229vw, 2.8125rem);
    font-weight: 800;
    line-height: 115%;
}

.foxford-interview_hero_lara-croft .foxford-interview__title::before {
    content: '';
    position: absolute;
    left: 67px;
    bottom: 37px;
    width: 190px;
    height: 120px;
    background-image: url('/img/skins/foxford/ff-interview/scarab_icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-interview__questions {
    counter-reset: questions-counter 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin: 0 0 54px;
    padding: 0 0 0 28px;
    list-style-type: none;
}

.foxford-interview_hero_willy-wonka .foxford-interview__questions {
    margin-bottom: 16px;
}

.foxford-interview_hero_master .foxford-interview__questions {
    margin-bottom: 0;
}

.foxford-interview__question {
    counter-increment: questions-counter 1;
}

.foxford-interview__question-title {
    position: relative;
    margin: 0 0 16px;
    padding: 0 0 0 40px;
    font-size: 35px;
    font-weight: 700;
    line-height: 115%;
}

.foxford-interview__question:nth-child(2n) .foxford-interview__question-title {
    max-width: 65%;
}

.foxford-interview__question-title::before {
    content: counter(questions-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 35px;
    font-weight: 700;
    line-height: 115%;
}

.foxford-interview__question-answer {
    position: relative;
    max-width: 1036px;
    margin: 0;
    padding: 0 0 0 40px;
    font-size: 25px;
    font-weight: 400;
    line-height: 135%;
}

.foxford-interview__question-answer .foxford-accent {
    font-weight: 700;
}

.foxford-interview__question-list {
    margin: 0;
    padding: 0 0 0 40px;
    list-style-type: none;
}

.foxford-interview__question-list .foxford-interview__question-answer::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 16px;
    width: 6.5px;
    height: 6.5px;
    background-color: var(--black, #000000);
    border-radius: 50%;
}

.foxford-interview__subtitle {
    max-width: 744px;
    margin: 0 auto 48px;
    padding: 0;
    font-size: 35px;
    font-weight: 700;
    line-height: 115%;
    text-align: center;
}

.foxford-interview__link {
    position: relative;
    display: block;
    max-width: max-content;
    min-width: 441px;
    margin: 0 auto;
    padding: 14px 32px;
    font-family: 'TT Foxford', sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 37px;
    color: inherit;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 48px;
    box-sizing: border-box;
    transition: all 0.3s linear;
}

.foxford-interview_hero_willy-wonka .foxford-interview__link {
    background-color: var(--peach, #FCF1E3);
}

.foxford-interview_hero_sherlock-holmes .foxford-interview__link {
    background-color: var(--pale-yellow, #FEFFBD);
}

.foxford-interview_hero_lara-croft .foxford-interview__link {
    background-color: var(--peach, #FCF1E3);
}

.foxford-interview_hero_mary-poppins .foxford-interview__link {
    background-color: var(--light-blue, #BDDCEA);
}

.foxford-interview_hero_master .foxford-interview__link {
    background-color: var(--pale-yellow, #FEFFBD);
}

@media (hover: hover) {
    .foxford-interview__link:hover {
        scale: 1.05;
    }
}

@media (max-width: 1380px) {
    .foxford-interview {
        margin-bottom: 100px;
    }
    .foxford-interview__header {
        align-items: center;
        gap: 40px;
        padding: 40px;
    }
    .foxford-interview_hero_willy-wonka .foxford-interview__header-picture::before {
        top: unset;
        bottom: -36px;
        left: unset;
        right: 0;
        width: 112px;
        height: 115px;
        background-image: url('/img/skins/foxford/ff-interview/sweet_mobile_icon.svg');
    }
    .foxford-interview_hero_sherlock-holmes .foxford-interview__header-picture::before {
        bottom: -40px;
        left: unset;
        right: 0;
        width: 124px;
        height: 125px;
        background-image: url('/img/skins/foxford/ff-interview/loupe_mobile_icon.svg');
    }
    .foxford-interview_hero_lara-croft .foxford-interview__header-picture::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: -20px;
        width: 136px;
        height: 86px;
        background-image: url('/img/skins/foxford/ff-interview/scarab_mobile_icon.svg');
        background-repeat: no-repeat;
        background-size: contain;
    }
    .foxford-interview_hero_mary-poppins .foxford-interview__header-picture::before {
        top: unset;
        bottom: -28px;
        left: unset;
        right: 0;
        width: 80px;
        height: 103px;
        background-image: url('/img/skins/foxford/ff-interview/umbrella_mobile_icon.svg');
    }
    .foxford-interview_hero_master .foxford-interview__header-picture::before {
        bottom: -24px;
        right: 0;
        width: 96px;
        height: 96px;
        background-image: url('/img/skins/foxford/ff-interview/notepad_mobile_icon.svg');
    }
    .foxford-interview__title {
        padding: 0;
    }
    .foxford-interview_hero_lara-croft .foxford-interview__title::before {
        display: none;
    }
    .foxford-interview__questions {
        padding: 0;
    }
    .foxford-interview__question-title {
        font-size: 30px;
    }
    .foxford-interview__question-title::before {
        font-size: 30px;
    }
    .foxford-interview__question:nth-child(2n) .foxford-interview__question-title {
        max-width: 100%;
    }
    .foxford-interview__question-answer {
        font-size: 20px;
    }
    .foxford-interview__subtitle {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .foxford-interview {
        padding-bottom: 40px;
    }
    .foxford-interview__header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 26px;
        margin-bottom: 40px;
        padding: 40px 24px;
    }
    .foxford-interview_hero_willy-wonka .foxford-interview__header-picture::before {
        right: 18px;
        width: 97px;
        height: 100px;
    }
    .foxford-interview_hero_sherlock-holmes .foxford-interview__header-picture::before {
        right: 18px;
        width: 94px;
        height: 95px;
    }
    .foxford-interview_hero_lara-croft .foxford-interview__header-picture::before {
        width: 87px;
        height: 56px;
    }
    .foxford-interview_hero_mary-poppins .foxford-interview__header-picture::before {
        width: 49px;
        height: 63px;
    }
    .foxford-interview_hero_master .foxford-interview__header-picture::before {
        width: 81px;
        height: 81px;
    }
    .foxford-interview__title {
        max-width: 294px;
    }
    .foxford-interview__questions {
        gap: 40px;
    }
}

@media (max-width: 500px) {
    .foxford-interview__header-picture {
        width: 294px;
        max-width: 100%;
        min-width: auto;
    }
    .foxford-interview__questions {
        padding-right: 20px;
    }
    .foxford-interview__question-title {
        padding-left: 25px;
        font-size: 20px;
    }
    .foxford-interview__question-title::before {
        font-size: 20px;
    }
    .foxford-interview__question-answer {
        padding-left: 25px;
        font-size: 15.5px;
    }
    .foxford-interview__question-list {
        padding-left: 25px;
    }
    .foxford-interview__question-list .foxford-interview__question-answer::before {
        top: 8px;
        left: 12px;
        width: 4px;
        height: 4px;
    }
    .foxford-interview__subtitle {
        margin-bottom: 30px;
        padding: 0 20px;
        font-size: 16px;
    }
    .foxford-interview__link {
        max-width: 271px;
        min-width: auto;
        width: 100%;
        margin: auto;
        padding: 8.5px 16px;
        font-size: 16px;
        line-height: 24px;
    }
}

/* -------------------- */
/*     foxford-test     */
/* -------------------- */

.foxford-test {
    position: relative;
    background-color: var(--light-purple, #ECE1FF);
    background-image: url("/img/skins/foxford/backgrounds/foxford-test_bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.foxford-test::after {
    content: '';
    position: absolute;
    right: 30%;
    bottom: 0;
    width: 268px;
    height: 191px;
    background-image: url("/img/skins/foxford/paws_icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.foxford-test__content {
    padding: 100px 0 84px;
    color: var(--black, #000000);
}

.foxford-test__text {
    margin: 0 0 40px;
    padding: 0;
    font-size: 35px;
    font-weight: 400;
    line-height: 130%;
}

.foxford-test__subtitle {
    margin: 0 auto 40px;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 115%;
}

.foxford-test__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0 0 52px;
    padding: 0;
    list-style-type: none;
    counter-reset: advantages-counter 0;
}

.foxford-test__list-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 0 0 0 66px;
    font-size: 30px;
    font-weight: 400;
    line-height: 125%;
    counter-increment: advantages-counter 1;
}

.foxford-test__list-item::before {
    content: counter(advantages-counter);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin: auto;
    font-family: 'TT Foxford', sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 30px;
    color: var(--violet, #8950E6);
    background-color: transparent;
    border: 1.5px solid var(--violet, #8950E6);
    border-radius: 50%;
}

.foxford-test__link {
    position: relative;
    display: block;
    min-width: 576px;
    max-width: max-content;
    padding: 18px 32px;
    font-family: 'TT Foxford', sans-serif;
    font-size: 33px;
    font-weight: 800;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    color: var(--white, #FFFFFF);
    background-color: var(--violet, #8950E6);
    border-radius: 48px;
    box-sizing: border-box;
    transition: all 0.3s linear;
}

@media (hover: hover) {
    .foxford-test__link:hover {
        opacity: 0.8;
    }
}

@media (max-width: 1380px) {
    .foxford-test::after {
        right: 0;
    }
    .foxford-test__text {
        font-size: 30px;
    }
    .foxford-test__subtitle {
        font-size: 26px;
    }
    .foxford-test__list {
        gap: 24px;
    }
    .foxford-test__list-item {
        font-size: 26px;
    }
    .foxford-test__link {
        min-width: 440px;
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .foxford-test {
        background-image: url('/img/skins/foxford/backgrounds/foxford-test_mobile_bg.svg');
    }
    .foxford-test::after {
        display: none;
    }
    .foxford-test__content {
        padding: 60px 40px;
    }
}

@media (max-width: 500px) {
    .foxford-test__content {
        padding: 40px 41px;
    }
    .foxford-test__text {
        margin-bottom: 26px;
        font-size: 16px;
    }
    .foxford-test__subtitle {
        margin-bottom: 26px;
        font-size: 16px;
    }
    .foxford-test__list {
        gap: 10px;
        margin-bottom: 40px;
    }
    .foxford-test__list-item {
        min-height: 30px;
        padding-left: 45px;
        font-size: 16px;
    }
    .foxford-test__list-item::before {
        width: 27px;
        height: 27px;
        font-size: 15px;
    }
    .foxford-test__link {
        max-width: 281px;
        min-width: auto;
        width: 100%;
        margin: auto;
        padding: 8.5px 16px;
        font-size: 16px;
        line-height: 24px;
    }
}

/* -------------------- */
/*     foxford-books    */
/* -------------------- */

.foxford-books {
    padding: 160px 0;
}

.foxford-books__title {
    margin: 0 auto 24px;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: clamp(2.625rem, 2.0485rem + 2.4595vw, 5rem);
    font-weight: 800;
    line-height: 115%;
    text-align: center;
    text-transform: uppercase;
}

.foxford-books__subtitle {
    max-width: 640px;
    margin: 0 auto 75px;
    padding: 0;
    font-size: clamp(1.5rem, 1.1814rem + 1.3592vw, 2.8125rem);
    font-weight: 400;
    line-height: 130%;
    text-align: center;
}

.foxford-books__bookshelves {
    display: grid;
    row-gap: 75px;
    grid-template-columns: repeat(auto-fill, minmax(338px, 1fr));
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.foxford-books__book {
    display: block;
    max-width: 330px;
    width: 100%;
    margin: auto;
    padding: 20px 48px 18px;
    color: var(--black, #000000);
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s linear;
}

.foxford-books__book_hero_holmes {
    background-color: var(--light-blue, #BDDCEA);
}

.foxford-books__book_hero_poppins {
    background-color: var(--purple, #E0D1FB);
}

.foxford-books__book_hero_master {
    background-color: var(--yellow, #FFFA7D);
}

.foxford-books__book_hero_wonka {
    background-color: var(--purple, #E0D1FB);
}

.foxford-books__book_hero_no-hero {
    padding: 0;
}

.foxford-books__book_hero_croft {
    background-color: var(--peach, #FCF1E3);
}

.foxford-books__book-cover {
    display: block;
    max-width: 231px;
    width: 100%;
    height: auto;
    margin: 0 auto 4px;
    object-fit: contain;
}

.foxford-books__illustration {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.foxford-books__book-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.foxford-books__book-name {
    margin: 0 auto;
    padding: 0;
    font-family: 'TT Foxford', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
}

.foxford-books__book-author {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
}

@media (hover: hover) {
    .foxford-books__book[href]:hover {
        transform: translateY(-14px);
    }
}

/* Row lines hack */

.foxford-books__bookshelves .foxford-books__bookshelf {
    position: relative;
}

.foxford-books__bookshelves .foxford-books__bookshelf::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -33px;
    z-index: -1;
    width: 100%;
    height: 47px;
    background-color: var(--black, #000000);
}

.foxford-books__bookshelves .foxford-books__bookshelf:nth-child(3n)::after {
    border-radius: 0 10px 10px 0;
}

.foxford-books__bookshelves .foxford-books__bookshelf:nth-child(3n+1)::after {
    border-radius: 10px 0 0 10px;
}

@media (max-width: 1380px) {
    .foxford-books {
        padding: 100px 0;
    }
    .foxford-books__subtitle {
        line-height: 115%;
    }
    .foxford-books {
        max-width: 900px;
        width: calc(100% - var(--container-margin) * 2);
    }
    .foxford-books__bookshelves .foxford-books__bookshelf:nth-child(2n)::after {
        border-radius: 0 10px 10px 0;
    }
    .foxford-books__bookshelves .foxford-books__bookshelf:nth-child(2n+1)::after {
        border-radius: 10px 0 0 10px;
    }
}

@media (max-width: 768px) {
    .foxford-books {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 100px 0;
    }
    .foxford-books__title {
        margin-bottom: 0;
    }
    .foxford-books__subtitle {
        max-width: 310px;
        margin-bottom: 0;
    }
    .foxford-books__bookshelves {
        display: block;
    }
    .foxford-books__bookshelves .foxford-books__bookshelf::after {
        display: none;
    }
    .foxford-books__book_hero_no-hero {
        display: none;
    }
    .foxford-books__bookshelf:not(:last-child) .foxford-books__book {
        margin-bottom: 24px;
    }
    .foxford-books__book {
        max-width: 280px;
        padding: 16px 40px 11px;
    }
    .foxford-books__book-cover {
        max-width: 198px;
    }
    .foxford-books__book-info {
        min-height: 88px;
    }
    .foxford-books__book-name {
        font-size: 19px;
        line-height: 21.5px;
    }
    .foxford-books__book-author {
        font-size: 12px;
        line-height: 16px;
    }
}

.foxford-scrollup {
    position: fixed;
    z-index: 20;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    padding: 0;
    background: #D0D2D6;
    border: none;
    border-radius: 50%;
    appearance: none;
    outline: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.foxford-scrollup_visible {
    opacity: 1;
    visibility: visible;
}

.foxford-scrollup::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 16px;
    width: 14px;
    height: 2px;
    background: var(--white, #FFFFFF);
    transform: rotate(-45deg);
}

.foxford-scrollup::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 25px;
    width: 14px;
    height: 2px;
    background: var(--white, #FFFFFF);
    transform: rotate(45deg);
}

@media (hover: hover) {
    .foxford-scrollup:hover {
        background: #88898C;
    }
}
