/*********** PORTFOLIO ***********/
        body {
            display: grid;
            grid-template-columns: 1fr 11rem;
            max-width: 67rem;
        }

        /* Main Content Area */
        .gallery-content {
            display: in;
            overflow: auto;
            max-width: 54REM;
            background-color: white;
            border-radius: 0.1rem;
            padding: 0.9rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);  
        }

        /* Sidebar */
        .portfolio-sidebar {
            margin-left: -1.7REM;
            background-color: #ffffff;
            max-width: 12.7rem;
            border-radius: 0.3rem;
            padding: 0.5rem;
            height: auto;
        }
        .portfolio-sidebar p{
            font-size: 0.8rem;
            margin-top: .01rem;
}
        portfolio-sidebar a {
            font-size: 0.8rem;
            margin-top: .01rem;
            
}


        /* Scroll Album */
        .scroll-album {
            display: flex;
            white-space: nowrap;
            overflow: auto;
            gap: 0.4rem;
            padding-bottom: 0.2rem;
            padding-top: 0.4rem;
            height: 8rem; /* Fixed height (8rem thumb + 1rem padding) */
            align-items: flex-start; /* Align thumbnails to top */
        }

        .thumbnail {
            width: 7REM;
            height: 7.2REM;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.2s;
            flex-shrink: 0;
            filter: opacity(46%);
        }

        .thumbnail:hover {
            transform: scale(0.92);
        }

        .thumbnail.active {
            filter: none;
            border-color: #333;
        }

        /* Featured Work */
        .featured-work {
                justify-content: center;
                display: flex;
                margin-bottom: 0.3rem;
                gap: 1rem; /* spacing between images */
                flex-wrap: wrap; /* for responsive wrapping */
                position: relative;
                
        }

        .featured-image {
            max-width: 47rem;
            max-height: 41rem;
            object-fit: contain;
            margin-bottom: 0.3rem;
            border-radius: 0.1rem;
            animation: fadeIn 0.2s;
            
        }

        /* work info */
        .work-info {
            overflow-y: scroll;
            height: 40%;
            background-color: #efefef;
            padding: 0.4rem;
            border: 0.1rem solid black; /* changed here */
        }

        .work-date {
            color: #666;
            margin-top: 0.4rem;
            margin-bottom: 0.4rem;
            font-size: 0.9rem;
        }

        .work-description {
            line-height: 1.3;
        }


        /* Filter Section */
        .filter-section {
            padding: 0.4rem;
            margin-bottom: 0.1rem;
        }

        .filter-title {
            font-weight: 600;
            font-size: 1.5rem;
            margin-bottom: 0.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 0.2rem solid #eee;
        }

        .filter-option {
            font-size: 1.1rem;
            display: block;
            margin-bottom: 0.001rem;
            cursor: pointer;
            padding: 0.2rem;
            border-radius: 0.3rem;
            transition: background-color 0.2s;
        }

        .filter-option:hover {
            background-color: #f0f0f0;
        }

        .filter-option.active {
            font-weight: 600;
            background-color: #838383;
            color: white;
        }

                .no-items-message {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #666;
            font-style: italic;
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                order: -1;
                margin-bottom: 20px;
            }
}
        