.photo-header-container {
    background-image: url('../../../images/printer.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.photo-header-cover {
    color: white;
}

.photo-header-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: -1;
}

.menu-bar {
    position: relative;
    background-color: #111;
}

.content-container {
    margin: 2rem 8rem;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    grid-auto-flow: dense;
}

.files-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
    border-radius: 1rem;
    cursor: pointer;
}

.img-1x1 {
    grid-row-end: span 1;
    grid-column-end: span 1;
}

.img-2x1 {
    grid-row-end: span 1;
    grid-column-end: span 2;
}

.img-1x2 {
    grid-row-end: span 2;
    grid-column-end: span 1;
}

.img-2x2 {
    grid-row-end: span 2;
    grid-column-end: span 2;
}

.page-header-breadcrumb {
    background-color: white;
    flex: 1 1 100%;
    margin-left: 30%;
    margin-right: 30%;
    padding: .8rem 1.4rem;
    list-style-type: none;
    border-radius: .5rem;
    margin-top: 1.3rem;
}

.page-header-breadcrumb li {
    font-weight: bold;
    font-size: 1.2rem;
}

.button__green {
    cursor: pointer;
}

@media only screen and (max-width: 769px) {

    .content-container {
        margin: 2rem 1rem;
    }

    .files-grid {
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(3, 1fr);
    }

    .page-header-breadcrumb {
        margin-left: 10%;
        margin-right: 10%;
    }
}

/* Lightbox container */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 7000;
}

/* Hidden class */
.hidden {
    display: none;
}

/* Lightbox content */
.lightbox-content {
    /* position: relative; */
    width: 80%;
    height: 80%;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Image styling */
#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 10px;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}

/* Controls (prev/next) */
.lightbox-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.control-btn {
    background: white;
    color: black;
    font-size: 30px;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#prev {
    left: 1.5rem;
}

#next {
    right: 1rem;
}

.control-btn:disabled {
    background-color: gray;
    cursor: not-allowed;
}
