/* Skeleton Loading Animation */
@keyframes skeleton-pulse {
    0% { opacity: 0.08; }
    50% { opacity: 0.15; }
    100% { opacity: 0.08; }
}

.skeleton {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-text {
    height: 13px;
    margin-bottom: 0.6rem;
}

.skeleton-text-sm {
    height: 10px;
    margin-bottom: 0.4rem;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 0.5rem;
}

.skeleton-date {
    height: 13px;
    width: 80px;
}

.skeleton-line-full { width: 100%; }
.skeleton-line-80 { width: 80%; }
.skeleton-line-60 { width: 60%; }
.skeleton-line-40 { width: 40%; }

/* Post list skeleton item */
.skeleton-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    opacity: 0.20;
}

.skeleton-post-title {
    height: 16px;
    width: 40%;
}

.skeleton-post-divider {
    flex: 1 1 auto;
    min-width: 3rem;
    margin: 0 0.25rem;
    height: 0.5px;
    background-color: rgba(255, 255, 255, 0.15);
}

.skeleton-post-date {
    height: 16px;
    width: 80px;
}

/* Project card skeleton */
.skeleton-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.skeleton-project-img {
    width: 105px;
    height: 105px;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.skeleton-project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.skeleton-project-title {
    height: 20px;
    width: 60%;
    margin-bottom: 0.5rem;
}

.skeleton-project-label {
    height: 18px;
    width: 50px;
    border-radius: 50rem;
    margin-bottom: 0.5rem;
}

.skeleton-project-snippet {
    height: 12px;
    margin-bottom: 0.3rem;
}

/* Detail page skeleton */
.skeleton-content-block {
    margin-bottom: 1rem;
}

.skeleton-detail-img {
    width: 100%;
    height: 200px;
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

.skeleton-badge {
    height: 22px;
    width: 60px;
    border-radius: 50rem;
}
