/* Tags */
.tag {
    /* background-color: var(--hover-color); Removed for minimalist text style */
    padding: 0;
    /* Removed padding */
    /* border-radius: 20px; Removed border-radius */
    font-size: 1rem;
    color: var(--text-light);
    display: inline-block;
    cursor: default;
    transition: color 0.3s ease;
}

.tag:hover {
    color: var(--primary-color);
}

.tag+.tag {
    margin-left: 0.5rem;
}

.tag+.tag::before {
    content: '·';
    margin-right: 0.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.tag-animate {
    opacity: 0;
    /* transform: none; Removed sliding effect */
    transition: opacity 0.8s ease-in-out;
}

.tag-animate.show {
    opacity: 1;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
}

.fade-in-delay {
    animation-delay: 0.3s;
}

/* Posts */
.post-list {
    display: grid;
    gap: 2rem;
}

.post-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.post-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(114, 184, 136, 0.1);
}

.post-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.8;
}

.more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Timeline */
.post-timeline {
    position: relative;
    padding-left: 2rem;
}

.post-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Works Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.work-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.work-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(114, 184, 136, 0.15);
}

.work-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.work-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background-color: var(--hover-color);
    border-radius: 12px;
    color: var(--text-light);
}

.work-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.work-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .post-timeline {
        padding-left: 1.5rem;
    }
}

/* Section Animation */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}