.shineup-projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 30px;
    transition: opacity 0.8s ease-in-out;
}

/* Mobile: 1 Spalte */
.project-item {
    flex: 0 1 100%;
    box-sizing: border-box;
    background-color: #f8f8f8;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ab 769px: 2 Spalten */
@media (min-width: 769px) {
    .project-item {
        flex: 0 1 calc(50% - 20px);
    }
}

/* Ab 1024px: 3 Spalten */
@media (min-width: 1024px) {
    .project-item {
        flex: 0 1 calc(33.333% - 20px);
    }
}

.project-item h3 {
    font-size: 1.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.project-item .excerpt {
    font-size: 1em;
    color: #555;
}

.project-item .project-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio - adjust as needed */
}

.project-item .project-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    transition: opacity 0.3s ease;
}

.project-item .project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.project-item:hover .project-image::after {
    opacity: 0;
}

/* Gallery Slider Styles */
.gallery-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-item:hover .gallery-slider {
    opacity: 1;
}

.project-item:hover .project-image {
    opacity: 0;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Hidden gallery links for fancybox */
.hidden-gallery-links {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Load More Button Styles */
.shineup-load-more-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.shineup-load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shineup-load-more-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.shineup-load-more-btn.hover-lift:hover {
    transform: translateY(-2px);
}

.shineup-load-more-btn.hover-lift:active {
    transform: translateY(0);
}

.shineup-load-more-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.load-more-loader {
    color: white;
    font-style: italic;
}

/* Gallery Indicators */
.gallery-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .gallery-indicators {
    opacity: 1;
}

.gallery-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-indicators .indicator.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.label-container {
    overflow-x: scroll;
    display: flex;
    gap: 5px;
    padding: 4px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
}
.label-container a,
.label-container a::hover {
    color: inherit;
}
.label-container .label {
    background: rgba(255,255,255,0.8);
    border-radius: 6px;
    font-size: 12px;
    color: black;
    padding: 0 0.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
/*    gap: 0.2em;*/
    font-size: 14px;
}
.tag-container .tag::after {
    content: "|";
    font-size: 9px;
    padding-left: 3px;
    padding-right: 3px;
    color: lightgrey;
    vertical-align: 0.2em;
}



.shineup-filters {
    border-bottom: 1px solid lightgrey;
    margin: 0 0 1em;
}
.shineup-filters-container {
    display: flex;
    justify-content: space-between;
    padding-block: 10px;
}
.shineup-filters-container>div {
    flex-basis: 50%;
    flex-grow: 1;
}
.shineup-filters .filter-category .filter-container,
.shineup-filters .filter-tag .filter-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/*
** FANCYBOX ADDS
*/
.fancybox-caption.fancybox-caption--separate {
/*    padding-bottom: 160px;*/
}
.fancybox-caption {
    /* top: 10px; */
    bottom: 0px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    height: unset;
    padding-top: 30px;
}