/* Blog Styles */
.blog-section {
    padding: 6rem 0;
}

.bg-sand {
    background-color: hsl(var(--sand));
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 3rem;
    text-align: left;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.collection-card {
    background: hsl(var(--card));
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border-color: hsl(var(--primary));
}

.collection-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.collection-desc {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.collection-link {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--accent));
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.collection-link:hover {
    color: hsl(var(--primary));
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: hsl(var(--card));
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border-color: hsl(var(--primary));
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-collection {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
}

.article-date {
    color: hsl(var(--muted-foreground));
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.article-link {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--accent));
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-link:hover {
    color: hsl(var(--primary));
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background: hsl(var(--primary) / 0.9);
}

/* Article Detail Typography */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--foreground));
    margin-bottom: 6rem;
    padding-top: 2rem;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    list-style-type: disc;
}

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

.article-content strong {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.article-content em {
    font-style: italic;
}

.article-content a {
    color: hsl(var(--accent));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: hsl(var(--primary));
}