*{
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #121212;
    margin: 0;
}
.frame{
    width: 100%!important;
    height: auto!important;
    margin: 0;
    padding: 0;
}

.title{
    position: relative;
    background-color: #ff5a22;
    border: 2px solid #f0602e;
    color: #fff;
    width: 100%;
    min-height: 30px;
    font-size: clamp(14px, 2.2vw, 20px);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    padding: 4px 8px;
    margin-bottom: 4px;
}

.title strong{
    display: inline-block;
    padding: 0 42px;
}

.rss-link{
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: translateY(-50%);
    opacity: 0.95;
}

.rss-link:hover,
.rss-link:focus{
    opacity: 1;
}

.rss-link-icon{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.news-items{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 350px));
    grid-gap: clamp(4px, 0.8vw, 8px);
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    align-items: flex-start;
    justify-content: center;
}

.news-log{
    width: min(1280px, calc(100% - 16px));
    margin: 10px auto 0;
    color: #fff;
    background: #181818;
    border: 1px solid #333;
}

.news-log-header{
    background: #252525;
    color: #ff8a63;
    font-size: clamp(13px, 1.6vw, 17px);
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 6px 10px;
    text-transform: uppercase;
}

.news-log-list{
    display: flex;
    flex-direction: column;
}

.news-log-row{
    display: grid;
    grid-template-columns: 96px 82px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-top: 1px solid #2a2a2a;
    font-size: clamp(12px, 1.35vw, 15px);
    line-height: 1.25;
}

.news-log-row:nth-child(even){
    background: #141414;
}

.news-log-time{
    color: #cfcfcf;
    white-space: nowrap;
}

.news-log-source{
    color: #ffb199;
    font-weight: 700;
    white-space: nowrap;
}

.news-log-title{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-log-empty{
    padding: 10px;
    color: #ddd;
}

.news-thread{
    border: 1px solid #2a2a2a;
    background: #111;
    padding: 6px;
}

.news-thread-header{
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #ff8a63;
    margin: 0 0 4px;
}

.news-thread-items{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-item-less-30{
    background-color: #BC4441;
    padding: 6px;
}



.news-item{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    margin: 0 !important;
    padding: 4px 0;
}

.news-item a{
    text-decoration: none;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.news-item a center{
    padding-top: 6px;
    margin: 0;
}

.news-item-image{
    width: 100%;
    max-width: 350px;
    aspect-ratio: 568 / 426;
    height: auto;
    object-fit: cover;
    margin: 0 0 5px;

}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    aspect-ratio: auto 568 / 426;

}

a {
    color: #fff;
    transform: translateZ(0px);
    transition: color 0.2s linear 0s;
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 500;
    
}

@media (min-width: 700px) and (max-width: 1024px) {
    .news-items{
        grid-template-columns: repeat(2, minmax(260px, 350px));
        grid-gap: 6px;
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .news-items{
        grid-template-columns: 1fr;
        grid-gap: 8px;
    }

    a {
        font-size: 1em;
    }

    .news-log-row{
        grid-template-columns: 78px 68px 1fr;
        gap: 6px;
        padding: 6px 8px;
    }
}