.project-detail-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Slideshow */
.slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-width: 100%;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 270;
    overflow: hidden;
    max-height: 540px;
}

.slides-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide-img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

.slideshow-controls button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px 15px;
    transition: background 0.2s;
}

.slideshow-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Info-Block */
.project-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.type-label span {
    color: #4c4cff;
    font-weight: bold;
}

.description {
    font-size: 1.05rem;
    color: #ccc;
    margin: 20px 0;
    line-height: 1.6;
    max-width: 100dvw;
    overflow-x: hidden;
}
.description img {
    user-select: none;
    -webkit-user-drag: none;
    max-width: 100%;
    max-height: 300px;
}

.meta-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.meta-info a {
    color: #4c9cff;
    text-decoration: none;
}

.meta-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .project-detail-container {
        padding: 10px;
    }
}