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

:root {
    --bg-color: #ffffff;
    --card-bg: #f7f7f7;
    --border-color: #e0e0e0;
    --accent-color: #cc0000;
    --accent-hover: #ff1a1a;
    --text-color: #1a1a1a;
    --text-muted: #888888;
}

body {
    font-family: Tahoma, Geneva, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    letter-spacing: 0.5px;
}

h2:first-of-type {
    margin-top: 0;
}

h3 {
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.breadcrumb {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 8px;
}

.blog-articles {
    display: grid;
    gap: 30px;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
    border-radius: 4px;
    padding: 25px;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.article-title {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: var(--text-color);
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-excerpt {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: gap 0.2s;
}

.article-read-more:hover {
    gap: 12px;
}

.toc {
    background: var(--card-bg);
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.toc h3 {
    margin-bottom: 15px;
    font-size: 1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.toc ul {
    list-style: none;
}

.toc li {
    margin: 8px 0;
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.toc a:hover {
    color: var(--accent-color);
}

article {
    line-height: 1.9;
    color: var(--text-color);
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: var(--accent-color);
    font-weight: bold;
}

.highlight {
    background: rgba(204, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

code {
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.cta {
    background: var(--card-bg);
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
    text-align: center;
}

.cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
    margin-top: 15px;
}

.cta a:hover {
    background: var(--accent-hover);
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 2px solid var(--accent-color);
    color: var(--text-muted);
    font-size: 0.9em;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .article-card {
        padding: 15px;
    }

    .article-title {
        font-size: 1.2em;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .container {
        max-width: 100%;
    }
}
