/* Tutorial Page Styles */
main {
    padding: 2rem;
    background-color: #f9f9f9;
}

#tutorial-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#tutorial-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

#tutorial-content article {
    margin-bottom: 2rem;
}

#tutorial-content h3 {
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

#tutorial-content p {
    line-height: 1.6;
    color: #555;
}

#tutorial-content ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #555;
}

#tutorial-content li {
    margin-bottom: 0.5rem;
}

#tutorial-content pre {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#tutorial-content code {
    font-family: 'Courier New', Courier, monospace;
    color: #d63384;
}

nav a.active {
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    padding: 5px 10px;
}

/* Article List Styles */
#tutorial-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#tutorial-list h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#tutorial-list > p {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
}

.article-item {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.article-item h3 a {
    text-decoration: none;
    color: #333;
}

.article-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 0.75rem;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* Single Article Content Styles */
.article-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.article-header {
    background-color: var(--card-background, #fff);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--md-shadow, 0 1px 3px rgba(0,0,0,0.12));
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.article-header h2 {
    font-size: 2.2em;
    margin-bottom: 0;
}

.article-content article h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.article-content article p,
.article-content article ul {
    line-height: 1.7;
    color: #555;
}

.article-content article ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 1rem;
}

.article-content article li {
    margin-bottom: 0.75rem;
}

.article-content pre {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 1rem 0;
    border-left: 4px solid #007bff;
}

.article-content code {
    font-family: 'Courier New', Courier, monospace;
    color: #333;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    list-style: none;
    background-color: transparent;
    border-radius: 0.25rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #6c757d;
    content: "/";
} 