body {
    min-height: 100vh;
    padding: 40px 20px 60px;
    align-items: center;
}

.all-projects-page {
    width: 100%;
    max-width: 720px;
}

.all-projects-header {
    margin-bottom: 28px;
}

.all-projects-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.all-projects-back:hover {
    color: var(--text-main);
}

.all-projects-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.all-projects-header p {
    font-size: 1rem;
}

.all-projects-search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
}

.all-projects-search-wrap .ph {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.all-projects-search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
}

.all-projects-search-wrap input::placeholder {
    color: var(--text-muted);
}

.all-projects-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.all-projects-item {
    display: block;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.all-projects-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--pop-shadow);
}

.all-projects-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.all-projects-item h2 {
    font-size: 1.05rem;
    font-weight: 600;
}

.all-projects-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--nav-hover);
    color: var(--text-muted);
    white-space: nowrap;
}

.all-projects-item p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.all-projects-empty {
    text-align: center;
    color: var(--text-muted);
    margin-top: 32px;
}

@media (max-width: 850px) {
    body { padding-top: 40px; }
}
