.project-wrap {
    max-width: 1720px;
    margin: 0 auto;
    padding: 60px 20px 60px;
}

.project-admin-bar {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.project-admin-bar .admin-left {
    font-size: 12px;
    color: rgba(0,0,0,0.45);
    letter-spacing: 0.02em;
}

.project-admin-bar .admin-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.project-admin-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.project-admin-bar .btn:hover {
    background: #000;
    border-color: #000;
}

.project-admin-bar .btn.btn-sub {
    background: #fff;
    color: #111;
    border-color: #ccc;
}

.project-admin-bar .btn.btn-sub:hover {
    border-color: #111;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.project-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .9s cubic-bezier(.22,.61,.36,1),
        transform .9s cubic-bezier(.22,.61,.36,1);
}

.project-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-item a,
.project-item .project-link {
    display: block;
    text-decoration: none;
    color: #111;
}

.project-card {
    position: relative;
}

.project-item .thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    overflow: hidden;
}

.sort-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sort-btn {
    min-width: 46px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    color: #111;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.14);
    cursor: pointer;
    box-sizing: border-box;
}

.sort-btn:hover {
    background: #fff;
    border-color: #111;
}

.project-order-save {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 36px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #01472D;
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.project-order-save:hover:not(:disabled) {
    background: #013d26;
}

.project-order-save:disabled {
    opacity: 0.72;
    cursor: wait;
}

.project-order-save[hidden] {
    display: none !important;
}

.project-wrap.is-sortable {
    padding-bottom: 100px;
}

.project-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-item .title {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.project-wrap .project-list-loading {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 24px 0 8px;
    font-size: 14px;
    color: #666;
}

.project-wrap .project-list-loading.is-active {
    display: flex;
}

.project-wrap .project-list-loading.is-ended {
    display: none !important;
}

.project-wrap .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,.15);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* 반응형 */
@media (max-width: 1400px) {
    .project-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .project-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .project-grid { grid-template-columns: 1fr; }
}