* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans', 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #cb4045;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #e8e8e8;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.site-branding {
    text-align: left;
}

.site-title {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.site-description {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Styles */
.main-navigation {
    background-color: #cb4045;
    padding: 0;
    position: relative;
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: #a01b20;
    color: #fff;
}

.search-icon {
    color: #fff;
    font-size: 18px;
    padding: 0 15px;
    cursor: pointer;
}

/* Flash Story Banner */
.flash-story {
    background-color: #000;
    padding: 12px 0;
    overflow: hidden;
}

.flash-story-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flash-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #cb4045;
    padding: 8px 15px;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.flash-slides {
    display: flex;
    gap: 30px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.flash-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.flash-item img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    object-fit: cover;
}

.flash-item a {
    color: #fff;
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Section Titles */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #cb4045;
}

/* Актуально Section */
.aktual-section {
    grid-column: 1;
}

.main-slider {
    position: relative;
    overflow: hidden;
}

.slider-item {
    position: relative;
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-item:hover img {
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 30px;
    color: #fff;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.cat-tag {
    background-color: #cb4045;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.slider-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.slider-title a {
    color: #fff;
}

.meta-info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    opacity: 0.8;
}

/* Editors Pick Section */
.editors-pick {
    grid-column: 2;
}

.editors-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.editor-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.editor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.editor-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editor-card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Trends Section */
.trends-section {
    grid-column: 3;
}

.trends-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trend-item {
    position: relative;
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trend-item:hover {
    transform: translateX(5px);
}

.trend-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #cb4045;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
}

.trend-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.trend-content {
    flex: 1;
}

.trend-content h4 {
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.4;
}

/* Внимательно Section */
.attention-section {
    margin: 40px 0;
}

.featured-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.featured-card {
    position: relative;
    height: 250px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 15px;
    color: #fff;
}

.card-overlay h3 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 1.3;
}

.card-overlay h3 a {
    color: #fff;
}

/* News Grid */
.news-grid-section {
    margin: 40px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.news-card {
    position: relative;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 80%, transparent 100%);
    padding: 15px;
    color: #fff;
}

.news-overlay h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.news-overlay h3 a {
    color: #fff;
}

/* Sidebar */
.sidebar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-widget h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cb4045;
    text-transform: uppercase;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-size: 14px;
}

.search-form button {
    padding: 10px 20px;
    background-color: #cb4045;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #a01b20;
}

.recent-comments,
.categories-list,
.archives-list {
    list-style: none;
}

.recent-comments li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    line-height: 1.5;
}

.recent-comments li span {
    font-weight: 600;
    color: #cb4045;
}

.categories-list li,
.archives-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.categories-list a,
.archives-list a {
    color: #333;
    font-size: 14px;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.categories-list a:hover,
.archives-list a:hover {
    color: #cb4045;
    padding-left: 5px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 25px 0;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    font-size: 14px;
}

.footer-content a {
    color: #cb4045;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .aktual-section {
        grid-column: 1 / -1;
    }
    
    .editors-pick,
    .trends-section {
        grid-column: span 1;
    }
    
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 28px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .editors-pick,
    .trends-section {
        grid-column: 1;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .flash-slides {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 22px;
    }
    
    .site-description {
        font-size: 10px;
    }
    
    .nav-menu a {
        padding: 10px;
        font-size: 12px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-item {
        height: 300px;
    }
    
    .slider-title {
        font-size: 18px;
    }
    
    .flash-label {
        font-size: 12px;
        padding: 6px 10px;
    }
}