.btn-tabs {
    display: flex;
    gap: 10px;
    margin-right: auto;
    padding-right: 10px;
}

.link {
    color: var(--black);
    text-decoration: underline;
    transition: .3s;
}

.link:hover {
    color: var(--lightblue-7);
}

.pat-choice-col {
    background-color: var(--lightblue-4);
    background-color: rgba(225, 229, 242, .5);
    padding: 40px;
    min-width: 540px;
}

.pat-choice-col .h4 {
    margin-top: 0;
}

.pat-choice-row,
.pat-result-row,
.pat-desc-row {
    display: flex;
}

.pat-choice-row {
    gap: 10px;
    font-size: 18px;
}

.pat-result-row {
    font-size: 18px;
}

.pat-result-row+.pat-result-row {
    margin-top: 10px;
}

.pat-result-stats {
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.pat-result-line {
    flex-grow: 1;
    border-bottom: 1px solid var(--black);
}

.pat-result-stats-item * {
    display: block;
}

.pat-result-stats-item+.pat-result-stats-item {
    border-left: 1px solid var(--black);
    padding-left: 70px;
}

.pat-result-stats-item strong {
    margin-top: 5px;
}

.pat-result-wrap:first-child {
    margin-top: 50px;
}

.pat-result-wrap:last-child {
    margin-top: auto;
}

.pat-desc-col {
    display: flex;
    flex-direction: column;
}

.pat-desc-col .h2 {
    margin-bottom: 0;
}

.pat-desc-col,
.pat-choice-col {
    flex-basis: 570px;
}

.pat-desc-text {
    margin: 10px 0;
}

.pat-desc-col:nth-child(2),
.pat-choice-col:nth-child(2) {
    flex-basis: 60%;
    flex-grow: 1;
}

.pat-desc-col:nth-child(1) {
    padding-right: 60px;
}

.pat-desc-row {
    gap: 10px;
    margin: 70px 0;
}

.pat-choice-col p:first-of-type {
    margin-top: 0;
}

.pat-choice-col p:last-of-type {
    margin-bottom: 0;
}

.pat-choice-col .img-container {
    margin: 0 0 30px;
}

.pat-choice-img-example {
    float: left;
    margin: 0 20px 20px 0;
    width: 300px;
}

.pat-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pat-choice-link {
    border: 1px solid white;
    text-decoration: none;
    background-color: white;
    padding: 5px 10px 10px;
    transition: .3s;
}

.pat-choice-link.is-active {
    border-color: var(--blue-1);
}

.pat-choice-link-name {
    display: block;
    text-align: center;
    color: var(--black);
    transition: .3s;
    font-size: 12px;
}

.pat-choice-link:hover {
    border-color: var(--lightblue-7);
}

.pat-choice-link:hover .pat-choice-link-name {
    color: var(--lightblue-7);
    border-color: var(--lightblue-7);
}

.pat-choice-link-img {
    width: 100%;
}

.pat-desc-img {
    width: 100%;
    max-width: 640px;
}

.pat-wrap {
    margin-top: 60px;
}

.btn-bull {
    border-color: var(--green);
    background-color: white;
}

.btn-bull:hover {
    color: var(--green);
    text-decoration: underline;
    border-color: var(--green);
}

.btn-bull.is-active {
    color: white;
    background-color: var(--green);
    border-color: var(--green);
}

.btn-bull.is-active:hover {
    color: white;
}

.btn-bear {
    border-color: var(--red-2);
    background-color: white;
}

.btn-bear.is-active {
    color: white;
    background-color: var(--red-2);
}

.btn-bear.is-active:hover {
    color: white;
}

.btn-bear:hover {
    color: var(--red-2);
    text-decoration: underline;
    border-color: var(--red-2);
}

.pat-choice-btn-wrap {
    display: flex;
    margin-bottom: 25px;
}

.pat-choice-checkbox-wrap {
    display: flex;
    gap: 12px;
    /* todo */
    display: none;
}

.pat-choice-checkbox {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 0;
    position: relative;
}

.pat-choice-checkbox:before {
    content: "";
    width: 15px;
    height: 15px;
    background-color: white;
    border: 1px solid var(--black);
}

.pat-choice-checkbox.is-active:after {
    content: "";
    background-color: var(--green);
    width: 11px;
    height: 11px;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    position: absolute;
}

@media (max-width: 1440px) {
    .pat-result-stats {
        gap: 30px;
    }

    .pat-result-stats-item+.pat-result-stats-item {
        padding-left: 30px;
    }

    .pat-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pat-desc-col, .pat-choice-col {
        padding: 25px;
    }
}

@media (max-width: 1280px) {
    .pat-choice-row {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .pat-desc-row {
        flex-direction: column;
    }

    .pat-choice-row {
        flex-direction: column;
    }

    .pat-result-stats-item+.pat-result-stats-item {
        padding-left: 20px;
    }

    .pat-result-stats {
        gap: 10px;
    }

    .pat-desc-col,
    .pat-choice-col {
        flex-basis: 100%;
        min-width: unset;
    }

    .pat-desc-col:nth-child(1) {
        padding-right: 0;
    }

    .pat-result-wrap:first-child {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .pat-choice-img-example {
        float: none;
        margin: 0 0 20px 0;
        width: 100%;
    }

    .pat-result-stats {
        flex-direction: column;
    }

    .pat-result-stats-item+.pat-result-stats-item {
        padding-left: 0;
        border-left: 0;
    }
    
    .pat-result-wrap .h4 {
        margin-bottom: 10px;
    }

    .pat-result-row, .pat-choice-link-name {
        font-size: 14px;
    }

    .pat-choice-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .pat-choice-btn-wrap {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 375px) {
    .pat-result-row {
        font-size: 13px;
    }
}