body:has(.sb-info-wrapper.active) {
    overflow: clip;
}

.js-open-info {
    cursor: pointer;
}

.sb-info-wrapper {
    display: none;
}

.sb-info-wrapper.active {
    display: flex;
    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    align-items: center;
    overflow-y: auto;
    background: rgba(var(--color-dark-rgb), 0.4);
    backdrop-filter: blur(8px);
}

.sb-info {
    max-width: 1066px;
    min-height: 400px;
    padding: 16px;
    margin: auto;
    background: var(--color-white);
    border-radius: 32px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.sb-info__escape {
    font-size: 32px;
    position: absolute;
    cursor: pointer;
    color: var(--color-gray-700);
    transition: 0.3s ease;
    z-index: 10;
}

.sb-info__escape:hover {
    color: var(--color-primary-active);
}

.sb-info__text {
    padding: 10px;
}

.sb-info__title {
    padding-right: 50px;
    margin-top: 10px;
}

.sb-info__paragraph {
    color: var(--color-gray-700);
    font-family: var(--site-font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
}

@media all and (min-width: 1281px) {
    .sb-info__escape {
        top: 0;
        width: 56px;
        height: 56px;
        background: var(--color-white);
        border-radius: 32px;
        right: -76px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media all and (max-width: 1280px) {
    .sb-info__escape {
        right: 24px;
        top: 24px;
    }
}
