/* home.css - Home page specific styles */

.intro {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.nav {
    margin-bottom: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    max-height: 120px;
    overflow-y: auto;
}

.filter-btn {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent);
    border-color: var(--accent);
}

.section {
    margin-bottom: 3rem;
}

.entry {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.entry:last-child {
    border-bottom: none;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.entry-title {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: normal;
}

.entry-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.entry-content {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-status {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cert-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.cert-name {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cert-progress {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.post-link {
    text-decoration: none;
    color: var(--text);
}

.post-link:hover {
    text-decoration: underline;
}

#about {
    max-width: 700px;
    margin-bottom: 3rem;
}

#about p {
    margin-bottom: 1rem;
}

/* Mobile responsiveness for home page */
@media (max-width: 768px) {
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .nav-links {
        gap: 1rem;
        justify-content: flex-start;
        min-width: max-content;
        padding-bottom: 0.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
}