@font-face {
    font-family: 'Detective Unbounded';
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
    src: url('../../../finance/fin_popup_new/fonts/unbounded-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Detective Unbounded';
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
    src: url('../../../finance/fin_popup_new/fonts/unbounded-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+2000-206F;
}
.detective-publics-strip {
    display: block;
    max-width: 830px;
    margin: 0 auto 16px;
}
.detective-publics-strip img {
    display: block;
    width: 100%;
    height: auto;
}
.detective-publics-signup {
    --detective-side-width: clamp(260px, calc(100vw - var(--detective-form-width, 497px) - 68px), 420px);
    position: relative;
    overflow: visible !important;
}
.detective-publics-side,
.detective-publics-side:visited {
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    display: block;
    width: var(--detective-side-width);
    height: calc(var(--detective-side-width) * 500 / 420);
    overflow: hidden;
    box-sizing: border-box;
    border: 2px solid #ffea00;
    border-radius: 20px;
    background: #0f0f0f;
    color: #eae3cf;
    text-decoration: none;
    transform: translateY(-50%);
}
.detective-publics-side__art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.detective-publics-side__art img {
    position: absolute;
    top: 8.8%;
    left: .95%;
    width: 98.1%;
    height: 82.4%;
}
.detective-publics-side__art::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, transparent 50%, #0f0f0f 85%),
        linear-gradient(0deg, transparent 72.1%, #0f0f0f 91.63%);
}
.detective-publics-side__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    padding: 22px;
}
.detective-publics-side__logo { flex-shrink: 0; }
.detective-publics-side__copy { display: flex; flex-direction: column; gap: 8px; }
.detective-publics-side__title {
    font: 700 28px/1.25 'Detective Unbounded', sans-serif;
    color: #d7bb86;
}
.detective-publics-side__text { font: 400 20px/24px Roboto, sans-serif; }
.detective-publics-modal { background: rgba(0, 0, 0, .5); }
.detective-publics-modal .iPopup {
    max-width: calc(100vw - 32px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
}
.detective-publics-card {
    position: relative;
    height: 620px;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 24px;
    background: #0f0f0f;
    color: #eae3cf;
    font-family: Roboto, sans-serif;
}
.detective-publics-card__art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.detective-publics-card__back {
    position: absolute;
    top: -1.82%;
    left: 28.02%;
    width: 85.73%;
    height: 176.9%;
}
.detective-publics-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 71.75%, #0f0f0f), rgba(23, 22, 21, .7);
}
.detective-publics-card__scene { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.detective-publics-card__art::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(270deg, transparent 50%, #0f0f0f 75.56%);
}
.detective-publics-card__frame {
    position: absolute;
    inset: 25px 22px 26px;
    box-sizing: border-box;
    border: 4px solid #725f3c;
    border-radius: 16px;
    pointer-events: none;
}
.detective-publics-card__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: pointer;
}
.detective-publics-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    padding: 72px 60px 60px;
}
.detective-publics-card__logo { flex-shrink: 0; }
.detective-publics-card__copy { width: 448px; max-width: 100%; }
.detective-publics-card__copy h2 {
    margin: 0 0 20px;
    padding: 0;
    font: 700 36px/1.25 'Detective Unbounded', sans-serif;
    color: #ba9c63;
}
.detective-publics-card__copy p { margin: 0; font: 400 24px/28px Roboto, sans-serif; }
.detective-publics-card__button,
.detective-publics-card__button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 384px;
    max-width: 100%;
    min-height: 80px;
    box-sizing: border-box;
    padding: 14px 20px;
    border-radius: 12px;
    background: #ffb800;
    color: #0f0f0f;
    font: 600 24px/28px Roboto, sans-serif;
    text-decoration: none;
}
.detective-publics-card__button:hover { background: #ffc72c; text-decoration: none; }
.detective-publics-card__close:focus-visible,
.detective-publics-card__button:focus-visible,
.detective-publics-side:focus-visible { outline: 3px solid #ffb800; outline-offset: 3px; }
@media (max-width: 1439px) {
    .detective-publics-signup { transform: translateX(calc((var(--detective-side-width) + 20px) / -2)); }
    .detective-publics-side__title { font-size: 23px; }
    .detective-publics-side__text { font-size: 17px; line-height: 21px; }
}
@media (max-width: 849px) {
    .detective-publics-signup { transform: none; }
    .detective-publics-side { display: none; }
}
@media (max-width: 699px) {
    .detective-publics-card { height: auto; min-height: 560px; }
    .detective-publics-card__frame { inset: 16px; border-width: 2px; }
    .detective-publics-card__content { min-height: 560px; gap: 24px; padding: 48px 32px 40px; }
    .detective-publics-card__copy h2 { font-size: 26px; }
    .detective-publics-card__copy p { font-size: 18px; line-height: 24px; }
    .detective-publics-card__button { min-height: 64px; font-size: 19px; }
}
