/* CV New Site Bridge - popup */
.cvnsb-popup {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    font-family: inherit;
}
.cvnsb-popup *,
.cvnsb-popup *::before,
.cvnsb-popup *::after {
    box-sizing: border-box;
}
.cvnsb-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.cvnsb-popup__panel {
    position: relative;
    outline: none;
    width: 100%;
    max-width: 760px;
    max-height: 100%;
    overflow-y: auto;
    background: #0b2239;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.cvnsb-popup .cvnsb-popup__close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 40px;
    cursor: pointer;
    box-shadow: none;
}
.cvnsb-popup .cvnsb-popup__title {
    margin: 0 32px 24px;
    padding: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
}
.cvnsb-popup .cvnsb-popup__shot-link {
    display: flex;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s;
}
.cvnsb-popup .cvnsb-popup__shot-link:hover {
    transform: translateY(-2px);
}
.cvnsb-popup__shot {
    display: block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #0b2239;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.cvnsb-popup__shot img {
    /* Scale the whole screenshot down; never crop it */
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
}
.cvnsb-popup__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.cvnsb-popup .cvnsb-popup__btn {
    display: inline-block;
    margin: 0;
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}
.cvnsb-popup .cvnsb-popup__btn--new {
    max-width: 100%;
    padding: 14px 32px;
    border-radius: 999px;
    text-wrap: balance; /* even line lengths if the label wraps */
    background: #e8963a;
    transition: background-color 0.15s, transform 0.15s;
}
.cvnsb-popup .cvnsb-popup__btn--new:hover,
.cvnsb-popup .cvnsb-popup__btn--new:focus-visible {
    background: #d9822a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.cvnsb-popup .cvnsb-popup__btn--old {
    padding: 6px 12px;
    background: transparent;
    opacity: 0.85;
}
.cvnsb-popup .cvnsb-popup__btn--old:hover,
.cvnsb-popup .cvnsb-popup__btn--old:focus-visible {
    background: transparent;
    color: #fff;
    opacity: 1;
}
.cvnsb-popup .cvnsb-popup__btn:focus-visible,
.cvnsb-popup .cvnsb-popup__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .cvnsb-popup {
        padding: 10px;
    }
    .cvnsb-popup__panel {
        padding: 18px 12px 14px;
    }
    .cvnsb-popup .cvnsb-popup__title {
        margin: 0 28px 14px;
        font-size: 20px;
    }
    .cvnsb-popup__shot img {
        max-height: 64vh;
    }
    .cvnsb-popup__actions {
        gap: 8px;
        margin-top: 16px;
    }
    .cvnsb-popup .cvnsb-popup__btn {
        font-size: 15px;
    }
    .cvnsb-popup .cvnsb-popup__btn--new {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cvnsb-popup .cvnsb-popup__shot-link,
    .cvnsb-popup .cvnsb-popup__btn--new {
        transition: none;
    }
    .cvnsb-popup .cvnsb-popup__shot-link:hover,
    .cvnsb-popup .cvnsb-popup__btn--new:hover,
    .cvnsb-popup .cvnsb-popup__btn--new:focus-visible {
        transform: none;
    }
}
