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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #f5f5f5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2C3E50;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #FF6B6B;
}

main {
    margin-bottom: 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 40px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.article-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-icon {
    color: #2C3E50;
    margin-bottom: 20px;
    opacity: 0.7;
}

.article-box h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-box h2 a {
    color: #2C3E50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-box h2 a:hover {
    color: #FF6B6B;
}

.summary {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.date {
    color: #FF6B6B;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-content {
    margin-top: 30px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.article-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.article-content .meta {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #333;
}

.article-content .back-link {
    display: inline-block;
    margin-top: 40px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.article-content .back-link:hover {
    color: #4f46e5;
}

footer {
    padding: 40px 0 20px;
    border-top: none;
    text-align: center;
}

footer p {
    color: #aaa;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.article-header {
    margin-bottom: 40px;
    padding: 30px 0 20px;
    border-bottom: none;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    background-color: #FFF0F0;
}

.home-icon:hover {
    color: #FF5252;
    background-color: #FFE5E5;
}

.home-icon svg {
    display: block;
}

.article-content h1 {
    color: #2C3E50;
}

.article-content .meta {
    border-bottom-color: #FFE5E5;
}

.date {
    color: #FF6B6B;
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    header {
        margin-bottom: 50px;
        padding: 30px 0;
    }

    .logo {
        gap: 12px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-box {
        padding: 30px 25px;
    }

    .article-box h2 {
        font-size: 1.2rem;
    }

    .article-icon svg {
        width: 28px;
        height: 28px;
    }

    .article-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }

    .article-content p {
        font-size: 1rem;
    }

    .article-header {
        padding: 20px 0 15px;
        margin-bottom: 30px;
    }
}
