.blog-quiz {
    max-width: 760px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-quiz .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    transition-property: transform;
}

.blog-quiz .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.blog-quiz__header {
    background: #fea772;
    padding: 40px 44px 36px;
}

.blog-quiz__title {
    margin: 0 0 8px;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1e1e1e !important;
}

.blog-quiz__subtitle {
    margin: 0;
    font-size: 15px !important;
    line-height: 1.5!important;
    font-weight: 400 !important;
    color: #1e1e1e !important;
}

.blog-quiz__body {
    padding: 32px 44px 40px;
    background: #f5f5f5;
}

.blog-quiz__badge {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 100%;
    font-weight: 700;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: #fff;
    background: #fc6100;
    border-radius: 100px;
}

.blog-quiz__question {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #303030;
}

.blog-quiz__hint {
    font-size: 13px;
    color: #888;
    margin: -12px 0 20px;
    line-height: 1.5;
}

.blog-quiz__answers {
    display: grid;
    gap: 10px;
}

.blog-quiz__answer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
}

.blog-quiz__answer:hover {
    border-color: #fc6100;
}

.blog-quiz__answer input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.blog-quiz__answer-mark {
    width: 20px;
    height: 20px;
    border: 1px solid #c7c7c7;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}

.blog-quiz__answer-text {
    font-size: 15px;
    line-height: 1.4;
    color: #303030;
    font-weight: 500;
}

.blog-quiz__answer.is-selected {
    border-color: #fc6100;
    background: #fc6100;
}

.blog-quiz__answer.is-selected .blog-quiz__answer-mark {
    border-color: #fff;
    background: #fff;
}

.blog-quiz__answer.is-selected .blog-quiz__answer-mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fc6100;
}

.blog-quiz__answer.is-selected .blog-quiz__answer-text {
    color: #fff;
    font-weight: 600;
}

.blog-quiz__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 20px;
}

.blog-quiz__back {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 12px;
    border: none;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #303030;
    cursor: pointer;
    font-family: inherit;
}

.blog-quiz__back::before {
    display: block;
    content: '';
    width: 25px;
    height: 25px;
    background: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.8331 24.1495L0.11712 12.4335C0.0585389 12.3749 -3.91242e-05 12.3164 -4.04729e-05 12.1992V12.082C-4.04729e-05 12.082 0.0585403 12.0235 -4.04729e-05 11.9649C-4.04729e-05 11.9649 -3.91242e-05 11.9649 0.0585403 11.9063L0.11712 11.8477L11.8331 0.131767C12.0088 -0.0439726 12.2431 -0.0439721 12.4189 0.131767C12.5946 0.307507 12.5946 0.541825 12.4189 0.717565L1.40588 11.7306L23.7834 11.7306C24.0177 11.7306 24.1934 11.9063 24.1934 12.1406C24.1934 12.3749 24.0177 12.5507 23.7834 12.5507L1.28872 12.5507L12.3603 23.6223C12.536 23.798 12.536 24.0323 12.3603 24.2081C12.1846 24.3838 12.0088 24.3252 11.8331 24.1495Z' fill='%23303030'/%3E%3C/svg%3E%0A")
        no-repeat center;
}

.blog-quiz__back:hover {
    color: #1e1e1e;
}

.blog-quiz__result-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #1e1e1e;
}

.blog-quiz__result-text {
    font-size: 14px;
    line-height: 1.55;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.blog-quiz__result-note {
    font-size: 14px;
    line-height: 1.55;
    color: #4a4a4a;
    padding: 12px 16px;
    border-left: 3px solid #FC6100;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
  }

.blog-quiz__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #fc6100;
    color: #fff;
    border: 0;
    padding: 19px 45px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.blog-quiz__cta:hover {
    background: #e85a28;
}

.blog-quiz__cta::after {
    display: block;
    content: '';
    width: 25px;
    height: 25px;
    background: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 11H21M13.5 21L21 11L13.5 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
        no-repeat center;
}

@media (max-width:460px) {
    .blog-quiz__header {
        padding: 28px 20px 24px;
    }

    .blog-quiz__body {
        padding: 24px 20px 28px;
    }

    .blog-quiz__title {
        font-size: 22px;
    }

    .blog-quiz__subtitle {
        font-size: 13px;
    }

    .blog-quiz__answer-text {
        font-size: 14px;
    }
    
    .blog-quiz__answer {
        padding: 14px;
        border-radius: 10px;
        cursor: pointer;
    }

    .blog-quiz__nav {
        gap: 10px;
        min-height: 43px;
        margin-top: 16px;
    }
}
