#news-links-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
    background: var(--color-bg-main, #04040b);
}
#news-links-screen.show { 
    display: flex;
}
body.news-links-active #top-header,
body.news-links-active #main-header {
    display: none;
}
#news-links-screen .news-links-screen-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
#news-links-screen .news-links-screen-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
#news-links-screen .back-button-wrapper {
    position: absolute;
    left: 32px;
    top: 32px;
    width: 64px;
    height: 64px;
    background: var(--color-bg-semi);
    border-radius: 4px;
    cursor: pointer;
    transition: 250ms;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    pointer-events: auto;
}
#news-links-screen .back-button-wrapper:hover {
    background: var(--color-bg-light);
}
#news-links-screen .back-button-wrapper img {
    width: 32px;
}


/* inside iframe */
#news-info-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
#news-info-popup.show { display: block }
#news-info-popup * {
    font-family: sans-serif;
}

#news-info-popup p {
    margin: 0;
}
#news-info-popup .bg {
    width: 100%;
    height: 100%;
    background: var(--color-bg-main);
    opacity: 0.5;
}

#news-info-popup .pop-up {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 496px;
    padding: 16px;
    background: var(--color-bg-main);
    border: 1px solid var( --color-border);
    border-radius: 16px;
}
#news-info-popup .pop-up .header-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}
#news-info-popup .pop-up .header-block .line {
    display: flex;
    justify-content: space-between;
    height: 15px;
    align-items: center;
}
#news-info-popup .pop-up .header-block .line p {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    opacity: 0.5;
}
#news-info-popup .pop-up .header-block .title {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
#news-info-popup .pop-up .header-block .author-wrapper {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    opacity: 0.5;
}
#news-info-popup .pop-up .description {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -1%;
    opacity: 0.8;

}
