.fix-article {
    position: fixed;
    width: 320px;
    border-radius: 10px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    padding: 10px;
    display: none;
}

.fix-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    inset: 0;
}

.fix-article-close {
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 6px;
}

.fix-article-title {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.33333;
    text-align: center;
    color: #fff;
}

.fix-article .blog-article-btn {
    width: 180px;
    height: 30px;
    font-size: 10px;
    margin: 0 auto;
    margin-top: 10px;
}

.blog-article {
    padding: 40px;
    position: relative;
    border-radius: 40px;
    margin-top: 25px;
}

.blog-article .blog-article-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 40px;
    inset: 0;
}

.blog-article .blog-article-title {
    font-weight: 900;
    font-size: 24px;
    max-width: 50%;
    line-height: 1.41667;
    color: #fff;
    margin: 0;
}

.blog-article .blog-article-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.blog-article .blog-article-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: #b9d6f1;
    max-width: 281px;
    margin: 0;
}

.blog-article .blog-article-btn,
.blog-article-btn {
    border-radius: 54px;
    width: auto;
    height: 60px;
    font-weight: 900;
    font-size: 16px;
    line-height: 2.125;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px 0 rgba(241, 98, 56, 0.5);
    background: linear-gradient(45deg, #f15640 0%, #eea009 100%);
    transition: 0.35s ease-in-out;
    text-decoration: none;
}

.blog-article-btn:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
.quiz {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.quiz-info {
    backdrop-filter: blur(100px);
    background: linear-gradient(150deg, #ffcf67 0%, #e3654a 100%);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 24px;
    line-height: 0.66667;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.quiz-wrapper {
    height: 100%;
}

.quiz-popup {
    background: url('/wp-content/themes/profitads_v2/img/quiz-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 382px;
    padding: 40px;
    border-radius: 40px;
    display: none;
    box-sizing: border-box;
}

.quiz-popup.female {
    background: url('/wp-content/themes/profitads_v2/img/female-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.quiz-popup.male {
    background: url('/wp-content/themes/profitads_v2/img/male-bg.png');
    background-repeat: no-repeat;
    background-size: contain;

    .quiz-options {
        width: 446px;
        grid-template-columns: repeat(1, 1fr);
    }

    .custom-radio + label:before {
        border: 3px solid #fff;
        outline: 2px solid transparent;
    }

    .custom-radio:checked + label::before {
        background: #fff;
        outline: 2px solid #fff;
        border: 3px solid #709C2B;
    }

    .custom-radio + label span {
        color: #fff;
    }

    .quiz-option {
        border: 2px solid #fff;
    }
}

.quiz-popup._is-open {
    display: block;
}

.quiz-close {
    display: none;
    align-items: center;
    justify-content: space-between;
}

.button-close {
    cursor: pointer;
    margin-left: auto;
}

.quiz-content {
    display: flex;
    align-items: normal;
    gap: 149px;
    height: 100%;
}

.quiz-popup.final .quiz-content {
    gap: 71px;
}

.quiz-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    gap: 30px;
}

.quiz-title {
    font-weight: 900;
    font-size: 22px;
    line-height: 1.41667;
    color: #fff;
}

.quiz-tab-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-tab-tooltip {
    position: relative;
    display: inline-block;
}

.quiz-tab-tooltip .quiz-tab-tooltip-content {
    visibility: hidden;
    border-radius: 8px;
    padding: 12px;
    width: 319px;
    background: #fff;
    position: absolute;
    top: -85px;
    left: -7px;
    z-index: 1;
    font-weight: 400;
    font-size: 14px;
    color: #6b6e72;
    line-height: 1.61429;
}

.quiz-tab-tooltip .quiz-tab-tooltip-content::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 18px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.quiz-tab-tooltip:hover .quiz-tab-tooltip-content {
    visibility: visible;
}

.quiz-input {
    margin-top: 16px;
}

.quiz-input input {
    width: -webkit-fill-available;
    width: -moz-available;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d1d4d8;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

.quiz-input input ::placeholder {
    color: #9ba2ab;
}

.quiz-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: #b9d6f1;
}

.quiz-btn,
.quiz-btn-link {
    border-radius: 54px;
    width: 114px;
    height: 60px;
    font-weight: 900;
    font-size: 16px;
    line-height: 2.125;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px 0 rgba(241, 98, 56, 0.5);
    background: linear-gradient(45deg, #f15640 0%, #eea009 100%);
    text-decoration: none;
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

.quiz-btn:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.quiz-btn-link:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.quiz-btn[disabled] {
    pointer-events: none;
}

.quiz-tab-wrapper {
    padding: 20px;
    border-radius: 20px;
    background: #ebf3fa;
    width: -webkit-fill-available;
    width: -moz-available;
}

.quiz-tab-title {
    font-weight: 800;
    font-size: 16px;
    color: #333;
    width: fit-content;
    position: relative;
    z-index: 2;
}

.quiz-tab-title:before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: -12px;
    right: -33px;
    z-index: -1;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg width="60" height="15" viewBox="0 0 60 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.16797 10C14.3573 7.38594 37.0175 2.94204 54.1431 6.07891" stroke="%23B9D6F1" stroke-width="10" stroke-linecap="round" /></svg>');
}

.quiz-final-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: auto;
}

.quiz-tabs {
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    background: #fff;
    margin-top: 16px;
    flex-direction: column;
}

.quiz-tab {
    padding: 0 18px;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    width: -webkit-fill-available;
    width: -moz-available;
}

.quiz-tab .quiz-tab-other-field {
    display: none;
}

.quiz-tab.active .quiz-tab-other-field {
    display: flex;
    position: absolute;
    left: 23%;
}

.quiz-tab .quiz-tab-other-field .quiz-input {
    margin-top: 0;
}

.quiz-tab .quiz-tab-other-field input {
    opacity: 1;
    position: static;
    margin-left: 10px;
    height: 25px;
    border-radius: 4px;
    cursor: auto;
}

.quiz-tab:not(:last-child) {
    border-bottom: 1px solid #f5f7fa;
}

.quiz-tab label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.quiz-tab label:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #BFC2C6;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 125% 110%;
    margin-right: 10px;
    box-sizing: border-box;
}


.quiz-tab input {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    inset: 0;
    margin: 0;
}

.quiz-tab.active label:before {
    border-color: #395FE4;
    background-color: #395FE4;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="none"><path d="M4.5 10.1364L8.73529 14.5L16.5 6.5" stroke="white"/></svg>');
}

.quiz-steps {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.29412;
    color: #b9d6f1!important;
    gap: 2px;
}
.quiz-steps span {
    color: #b9d6f1!important;
}
.quiz-steps span.active {
    opacity: 1;
    color: #fff!important;
}

.quiz-btns,
.quiz-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 29px;
    align-self: flex-end;
}

.fix-article.hidden {
    display: none !important;
}

@media(max-width: 991px) {
    .fix-article {
        display: block;
    }

    .quiz-popup {
        width: 100%;
        height: 385px;
        background-size: cover;
    }

    .quiz-content {
        gap: 20px;
    }

    .quiz-popup.final .quiz-content {
        gap: 20px;
    }

    .quiz-logo img {
        width: 100%;
    }
}
@media(max-width: 700px) {

    .quiz-popup {
        height: 500px;
        padding: 20px;
        border-radius: 10px;
        background-image: url('/wp-content/themes/profitads_v2/img/quiz-bg-mob.png');
        background-repeat: no-repeat;
    }

    .quiz-content {
        gap: 24px;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .quiz-popup.final .quiz-content {
        gap: 24px;
    }

    .quiz-btns, .quiz-btn-wrapper {
        align-self: flex-start;
    }

    .quiz-title {
        font-size: 18px;
    }

    .quiz-content-wrapper {
        gap: 20px;
    }

    .quiz-steps {
        position: absolute;
        top: 115px;
        font-size: 20px;
    }

    .quiz-tab-wrapper {
        padding: 10px;
        margin-top: 90px;
    }

    .quiz-final-info {
        gap: 17px;
        margin-top: 102px;
    }

    .quiz-tab .quiz-tab-other-field input {
        padding: 0 10px;
    }
}
@media(max-width: 700px) {
    .blog-article {
        border-radius: 10px;
        padding: 20px;
    }

    .blog-article .blog-article-img {
        border-radius: 10px;
        object-position: 65%;
    }

    .blog-article .blog-article-title {
        font-size: 18px;
        max-width: 100%;
    }

    .blog-article .blog-article-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 20px;
        flex-direction: column;
        gap: 60px;
    }

    .blog-article .blog-article-text {
        max-width: 100%;
    }

    .blog-article .blog-article-btn, .blog-article-btn {
        margin: 0 auto;
        width: 100%;
    }

    .blog-article-text br {
        display: block !important;
    }

    .quiz-tab-tooltip .quiz-tab-tooltip-content {
        left: initial;
        right: -20px;
    }

    .quiz-tab.active .quiz-tab-other-field {
        left: 35%
    }
}
@media(max-width: 388px) {

    .quiz-tab-wrapper {
        margin-top: 60px;
    }

    .quiz-tab .quiz-tab-other-field input {
        max-width: 115px;
    }

    .quiz-steps {
        top: 100px;
    }
}

@media(max-width: 350px) {
    .quiz-tab.active .quiz-tab-other-field {
        left: 43%
    }
}
