.b-longread-quiz {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    color: #000;
    background: #fff;
}

.b-quiz {
    max-width: 700px;
    width: 100%;
    padding: 55px 0 40px;
    font-size: 10px;
}

.b-quiz[v-cloak] {
    display: none;
}

.b-quiz__question-number {
    margin: 0 0 calc(50em / 18);
    font: normal 200 18px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(18em / 10);
    text-align: center;
}

.b-quiz__question-title {
    margin: 0 0 calc(30em / 24);
    font: normal 600 24px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(24em / 10);
    text-align: center;
}

.b-quiz__question-description {
    margin: 0 0 calc(40em / 18);
    font: normal 400 18px/24px 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(18em / 10);
    line-height: calc(24em / 18);
    text-align: center;
}

.b-quiz__question-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 226px;
    margin: 0 auto calc(67em / 10);
}

.b-quiz__question-image-container:before {
    content: '';
    width: 1px;
    margin: 0 0 0 -1px;
    padding: 100% 0 0;
}

.b-quiz__question-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.b-quiz__question-answers {
    margin: 0 0 calc(30em / 10);
}

.b-quiz__question-answer {
    display: flex;
    align-content: flex-start;
}

.b-quiz__question-answer input {
    position: relative;
    flex: 0 0 auto;
    width: calc(35em / 10);
    height: calc(48em / 10);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.b-quiz__question-answer input:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(31em / 10);
    height: calc(29em / 10);
    margin: calc(6em / 10) 0 0 calc(-6em / 10);
    background: url(../img/checkbox.png) no-repeat;
    background-size: contain;
}

.b-quiz__question-answer input:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(48em / 10);
    height: calc(67em / 10);
    margin: calc(-6em / 10) 0 0 calc(-14em / 10);
    background: url(../img/check.png) no-repeat;
    background-size: contain;
    opacity: 0;
    transform: scale(1.5);
    transition: opacity 0.3s, transform 0.3s;
}

.b-quiz__question-answer input:checked:after {
    opacity: 1;
    transform: scale(1);
}

.b-quiz__question-answer label {
    flex: 1 1 auto;
    padding: calc(16em / 18) calc(8em / 18) calc(6em / 18);
    font: normal 400 18px/24px 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(18em / 10);
    line-height: calc(24em / 18);
    cursor: pointer;
}

.b-quiz__question-answer:not(:last-child) label {
    border-bottom: 1px solid #000;
}

.b-quiz__question-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(195em / 24);
    height: calc(38em / 24);
    margin: 0 auto;
    padding: 0;
    font: normal 200 24px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(24em / 10);
    text-transform: uppercase;
    color: #000;
    background: transparent url(../img/btn.svg) no-repeat;
    background-size: contain;
    border: none;
    outline: none;
    transition: color 0.3s;
    cursor: pointer;
}

.b-quiz__question-btn:focus,
.b-quiz__question-btn:hover {
    color: rgba(0, 0, 0, 0.65);
}

.b-quiz__result-title {
    margin: 0 0 calc(40em / 24);
    font: normal 500 24px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(24em / 10);
    text-align: center;
    text-transform: uppercase;
}

.b-quiz__result-description {
    margin: 0 0 calc(50em / 18);
    font: normal 400 18px/24px 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(18em / 10);
    line-height: calc(24em / 18);
    text-align: center;
}

.b-quiz__result-description a {
    text-decoration: underline;
}

.b-quiz__result-items {
    margin: 0 0 calc(25em / 10);
}

.b-quiz__result-item {
    position: relative;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.b-quiz__result-item:before {
    content: '';
    display: block;
    width: 100%;
    padding: calc(579 / 700 * 100%) 0 0;
}

.b-quiz__result-item-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: calc(30em / 20);
    font: normal 700 20px/24px 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(20em / 10);
    line-height: calc(24em / 20);
    color: #000;
    background: url(../img/title-sm.png) no-repeat calc(-4em / 20) calc(10em / 20);
    background-size: calc(330em / 20) calc(20em / 20);
}

.b-quiz__result-carousel {
    position: relative;
    margin: 0 0 calc(50em / 10);
}

.b-quiz__result-carousel-items {
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.b-quiz__result-carousel-item {
    position: relative;
    flex: 0 0 auto;
    max-width: 230px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: contain;
    cursor: pointer;
    overflow: hidden;
}

.b-quiz__result-carousel-item:before {
    content: '';
    display: block;
    width: 100%;
    padding: 100% 0 0;
}

.b-quiz__result-carousel-item:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    color: #000;
    background: #efdd00;
    border-radius: 50%;
    opacity: 0.8;
    transform: scale(1) translate(-50%, -50%);
    transform-origin: 0 0;
    transition: transform 0.6s ease-in-out;
}

.b-quiz__result-carousel-item:hover:after {
    transform: scale(0) translate(100%, 100%);
}

.b-quiz__result-carousel-item-title {
    position: absolute;
    z-index: 1;
    right: calc(6em / 14);
    bottom: calc(12em / 14);
    left: calc(6em / 14);
    font: normal 700 14px/12px 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(14em / 10);
    line-height: calc(12em / 14);
    text-align: center;
    letter-spacing: 0.025em;
}

.b-quiz__result-carousel-nav-arrow {
    position: absolute;
    top: 50%;
    width: calc(98em / 10);
    height: calc(40em / 10);
    text-indent: -9999px;
    background: url(../img/arrow.png) no-repeat;
    background-size: contain;
    outline: none;
    overflow: hidden;
}

.b-quiz__result-carousel-nav-arrow:hover,
.b-quiz__result-carousel-nav-arrow:focus {
    animation-play-state: paused;
}

.b-quiz__result-carousel-nav-arrow--prev {
    right: auto;
    left: -50px;
    transform: scaleX(-1) translate(100%, -50%);
    animation: quiz-carousel-arrow-prev 1.2s infinite;
}

.b-quiz__result-carousel-nav-arrow--next {
    right: -50px;
    left: auto;
    transform: translate(100%, -50%);
    animation: quiz-carousel-arrow-next 1.2s infinite;
}

@keyframes quiz-carousel-arrow-prev {
    0% {
        transform: scaleX(-1) translate(100%, -50%);
    }
    50% {
        transform: scaleX(-1) translate(90%, -50%);
    }
    100% {
        transform: scaleX(-1) translate(100%, -50%);
    }
}

@keyframes quiz-carousel-arrow-next {
    0% {
        transform: translate(100%, -50%);
    }
    50% {
        transform: translate(90%, -50%);
    }
    100% {
        transform: translate(100%, -50%);
    }
}

.b-quiz__result-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
}

.b-quiz__result-modal--enter-active,
.b-quiz__result-modal--leave-active {
    transition: transform 0.6s, opacity 0.6s;
}

.b-quiz__result-modal--enter,
.b-quiz__result-modal--leave-to {
    transform: scale(0);
    opacity: 0;
}

.b-quiz__result-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.b-quiz__result-modal-content {
    position: absolute;
    top: 100px;
    left: 50%;
    z-index: 2;
    padding: 20px 56px 30px 30px;
    color: #000;
    background: #fff;
    box-shadow: 0 0 10px 2px rgba(8, 8, 8, 0.14);
    transform: translate(-50%, 0);
}

.b-quiz__result-modal-title {
    max-width: calc(615em / 14);
    width: 100%;
    min-height: calc(38em / 14);
    margin: 0 auto;
    padding: calc(5em / 14) 0 0;
    font: normal 700 14px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(14em / 10);
    text-align: center;
    letter-spacing: 0.025em;
    color: #000;
    background: url(../img/title-lg.png) no-repeat;
    background-size: calc(615em / 14) calc(38em / 14);
}

.b-quiz__result-modal-close {
    position: absolute;
    top: calc(14em / 21);
    right: calc(26em / 21);
    width: calc(21em / 21);
    height: calc(21em / 21);
    font-size: calc(21em / 10);
    color: #000;
    background: none;
    border: none;
    outline: none;
    opacity: 1;
    transition: opacity 0.3s;
    cursor: pointer;
}

.b-quiz__result-modal-close svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.b-quiz__result-modal-close:hover,
.b-quiz__result-modal-close:focus {
    opacity: 0.5;
}

.b-quiz__result-modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 700px;
}

.b-quiz__result-modal-image-container:before {
    content: '';
    width: 1px;
    margin: 0 0 0 -1px;
    padding: calc(579 / 700 * 100%) 0 0;
}

.b-quiz__result-modal-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.b-quiz__result-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(195em / 16);
    height: calc(38em / 16);
    margin: 0 auto;
    padding: 0;
    font: normal 700 16px/1 'YS Text', Helvetica, Arial, sans-serif;
    font-size: calc(16em / 10);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    background: transparent url(../img/btn.svg) no-repeat;
    background-size: contain;
    border: none;
    outline: none;
    transition: color 0.3s;
    cursor: pointer;
}

.b-quiz__result-btn:focus,
.b-quiz__result-btn:hover {
    color: rgba(0, 0, 0, 0.65);
}

@media (max-width: 640px) {
    .b-quiz {
        padding: 50px 0 47px;
    }

    .b-quiz__question-title {
        margin: 0 0 calc(30em / 18);
        font-size: calc(18em / 10);
        line-height: calc(24em / 18);
    }

    .b-quiz__question-title {
        margin: 0 0 calc(20em / 20);
        font-size: calc(20em / 10);
        line-height: calc(24em / 20);
    }

    .b-quiz__question-image-container {
        margin: 0 auto calc(50em / 10);
    }

    .b-quiz__question-answers {
        margin: 0 0 calc(15em / 10);
    }

    .b-quiz__question-answer input {
        width: calc(46em / 10);
        height: calc(40em / 10);
    }

    .b-quiz__question-answer input:before {
        width: calc(33em / 10);
        height: calc(31em / 10);
        margin: calc(10em / 10) calc(2em / 10) 0 0;
        transform: scaleX(-1);
    }

    .b-quiz__question-answer input:after {
        width: calc(48em / 10);
        height: calc(67em / 10);
        margin: calc(-6em / 10) 0 0 calc(-14em / 10);
    }

    .b-quiz__question-answer label {
        padding: calc(12em / 15) 0 calc(8em / 15);
        font-size: calc(15em / 10);
        line-height: calc(20em / 15);
    }

    .b-quiz__result-title {
        margin: 0 0 calc(30em / 20);
        font-size: calc(20em / 10);
        line-height: calc(24em/ 20);
    }

    .b-quiz__result-description {
        margin: 0 0 calc(40em / 15);
        font-size: calc(15em / 10);
        line-height: calc(20em / 15);
    }
}

@media (max-width: 375px) {
    .b-quiz {
        font-size: calc(10vw / 375 * 100);
    }
}

.b-quiz-arrow {
    display: block;
    margin: 1em auto 0;
}