/**
 * URAUA.INFO - 3-колоночный дизайн 2026
 * Стили адаптированы под оригинальный дизайн сайта
 * Левая: Останні новини (10 шт) | Центр: Featured + Grid | Правая: Головне сьогодні (5 шт)
 */
.main-content-wrapper {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    gap: 30px;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start; 
}
.box {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}
.box-head {
    padding: 12px 15px;
    border-bottom: 3px solid #1128a2;
    background: white;
}
.box-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2F3A4A;
    margin: 0;
}
.box-sub {
    font-size: 11px;
    color: rgba(47, 58, 74, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.left-stream-col {
}
.stream-news {
}
.stream-list {
    padding: 10px 15px;
}
.box-footer {
    padding: 10px 15px;
    border-top: 1px solid rgba(47, 58, 74, 0.1);
}
.all-news-btn {
    display: block;
    text-align: center;
    background: #1128a2;
    color: white !important;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: 'Muller', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.all-news-btn:hover {
    background: #0d1f7a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 40, 162, 0.3);
}
.stream-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(47, 58, 74, 0.1);
    transition: background 0.2s ease;
}
.stream-item:last-child {
    border-bottom: none;
}
.stream-item:hover {
    background: rgba(17, 40, 162, 0.02);
}
.stream-time {
    font-family: 'Muller', sans-serif;
    font-size: 11px;
    color: rgba(47, 58, 74, 0.5);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.stream-body a {
    display: block;
    font-family: 'Muller', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #2F3A4A;
    transition: color 0.3s ease;
}
.stream-body a:hover {
    color: #1128a2;
}
.stream-meta {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(47, 58, 74, 0.5);
    font-weight: 600;
    display: flex;
    gap: 6px;
    flex-wrap: nowrap; 
    align-items: center;
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    max-width: 100%; 
}
.stream-meta > * {
    flex-shrink: 0; 
}
.stream-meta .stream-pill {
    flex-shrink: 1; 
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stream-time {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.stream-pill.updated,
.stream-time .stream-pill.updated {
    background: #d32f2f !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.stream-tag {
    color: #1128a2;
    font-weight: 700;
    font-family: 'Muller', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}
.stream-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    background: #f8f9fa;
    color: #2F3A4A;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(47, 58, 74, 0.15);
}
.main-content-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.main-content-column .featured-post {
    margin-bottom: 0;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.right-featured-col {
    align-self: start;
}
.right-featured-col::-webkit-scrollbar {
    width: 4px;
}
.right-featured-col::-webkit-scrollbar-track {
    background: transparent;
}
.right-featured-col::-webkit-scrollbar-thumb {
    background: rgba(17, 40, 162, 0.2);
    border-radius: 2px;
}
.right-featured-col::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 40, 162, 0.4);
}
.featured-news {
}
.featured-list {
    padding: 10px 15px;
}
.featured-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(47, 58, 74, 0.1);
    transition: background 0.2s ease;
}
.featured-item:last-child {
    border-bottom: none;
}
.featured-item:hover {
    background: rgba(17, 40, 162, 0.02);
}
.featured-item a {
    display: block;
    font-family: 'Muller', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    font-size: 14px;
    color: #2F3A4A;
    transition: color 0.3s ease;
}
.featured-item a:hover {
    color: #1128a2;
}
.featured-meta {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(47, 58, 74, 0.5);
    font-weight: 600;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.featured-tag {
    color: #1128a2;
    font-weight: 700;
    font-family: 'Muller', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}
.featured-time {
    font-family: 'Muller', sans-serif;
    font-size: 11px;
    color: rgba(47, 58, 74, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.featured-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    background: #f8f9fa;
    color: #2F3A4A;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(47, 58, 74, 0.15);
}
.featured-pill.updated {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}
@media (max-width: 1100px) {
    .main-content-wrapper {
        grid-template-columns: 240px minmax(0, 1fr) 240px;
        gap: 20px;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .main-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .left-stream-col,
    .right-featured-col {
        order: 2;
    }
    .main-content-column {
        order: 1;
    }
    .right-featured-col {
        position: static;
        max-height: none;
    }
    .stream-list,
    .featured-list {
        max-height: 400px;
        overflow-y: auto;
    }
}
