@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Ambidexter';
    src: url('../fonts/Ambidexter.woff2') format('woff2'),
         url('../fonts/Ambidexter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.header-catalog {
    position: sticky;
    top: 0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(39, 12, 16, 0.95));
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.blog-hero {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-title {
    font-family: 'Ambidexter', serif;
    font-size: 4.5rem;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

.blog-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    margin-top: 15px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #f4f1ea;
    min-height: 80vh;
}

.blog-article {
    margin-bottom: 80px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.article-image-wrapper {
    width: 80%;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 15px;
}

.article-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-article:hover .article-image {
    transform: scale(1.03);
}

.article-content {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-category {
    color: #7a2e3a;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-date {
    color: #999;
    font-size: 0.9rem;
}

.article-title {
    font-family: 'Ambidexter', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin: 0 0 20px;
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 4px solid #7a2e3a;
    padding-left: 20px;
}

.article-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-list {
    margin: 20px 0;
    padding-left: 30px;
}

.article-list li {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-list strong {
    color: #2c2c2c;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .blog-title {
        font-size: 3.5rem;
    }
    
    .article-image {
        height: 400px;
    }
    
    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 50px 20px;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .article-image-wrapper {
        width: 95%;
    }
    
    .article-image {
        height: 300px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-article {
    animation: fadeInUp 0.6s ease;
}

.blog-article:nth-child(1) { animation-delay: 0.1s; }
.blog-article:nth-child(2) { animation-delay: 0.2s; }
.blog-article:nth-child(3) { animation-delay: 0.3s; }
.blog-article:nth-child(4) { animation-delay: 0.4s; }
.blog-article:nth-child(5) { animation-delay: 0.5s; }
.blog-article:nth-child(6) { animation-delay: 0.6s; }
.blog-article:nth-child(7) { animation-delay: 0.7s; }