/* Viewport and responsive fixes - CSS only solution */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}

/* Ensure all containers fit viewport */
.portfolio-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Base Typography */
.portfolio-page h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #625d3b; 
}

.portfolio-page h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #625d3b; 
}

.portfolio-page p {
    font-size: 1.75rem;
    line-height: 1.6;
    color: #444f48; 
    margin-bottom: 1rem;
}

.portfolio-page p:last-child {
    margin-bottom: 0;
}

/* Section Base Styles */
.portfolio-page .portfolio-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.portfolio-page .hero-section {
	width: 100%;
    position: relative;
    background: radial-gradient(ellipse at center, #cccccc 0%, #dddddd 30%, #fefefe 50%, #ffffff 100%);
}

.portfolio-page .hero-image {
    width: 100%;
}

.portfolio-page .hero-image .vp-portfolio .vp-portfolio__item-img {
    width: 100%;
    height: 100%;
    text-align: center;
}

.portfolio-page .hero-image .vp-portfolio .vp-portfolio__item img {
    object-fit: cover; 
    object-position: center;
    border-radius: 5px;
    box-sizing: border-box;
    display: block;
    width: 100%; /* Force full width */
    height: 100%; /* Force full height */
    margin: 0 auto;
}

.portfolio-page .vp-portfolio__items-style-fade .vp-portfolio__item-overlay {
    background-color: transparent;
}

.portfolio-page .vp-portfolio__items-style-fade .vp-portfolio__item-meta-title {
    position: absolute;
    bottom: 1rem;
}

.portfolio-page .vp-portfolio__items-wrap .vp-portfolio__items-arrow {
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.5) !important;
    color: #333 !important;
	width: 40px;
	height: 40px;
    border-radius: 50%;
}
.portfolio-page .vp-portfolio__items-wrap .vp-portfolio__items-arrow:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

.portfolio-page .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    padding: 3rem;
    border-radius: 10px;
    text-align: left;
    pointer-events: none;
}

.portfolio-page .hero-content h1,
.portfolio-page .hero-content h2 {
    pointer-events: auto;
}

/* Bio Section */
.portfolio-page .bio-section {
    display: flex;
    align-items: start;
    gap: 5rem; 
}

.portfolio-page .bio-image {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
}

.portfolio-page .bio-image img {
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.portfolio-page .bio-text {
    flex: 1;
}

/* Collections Section */
.portfolio-page .collections-header {
    text-align: left;
    margin: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-page .portfolio-block {
        padding: 2rem 1rem;
    }
    
    .portfolio-page h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-page h2 {
        font-size: 2rem;
    }
    
    .portfolio-page p {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .portfolio-page .bio-image {
        flex: 0 0 75px;
        width: 75px;
        height: 75px;
    }
    
    .portfolio-page .bio-image img {
        width: 75px;
        height: 75px;
    }
    
    .portfolio-page .collections-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-page .portfolio-block {
        padding: 1rem 0.5rem;
    }
    
    .portfolio-page h1 {
        font-size: 1.8rem;
    }
    
    .portfolio-page h2 {
        font-size: 1.5rem;
    }
    
    .portfolio-page p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .portfolio-page .hero-content {
        width: 98%;
    }
    
    .portfolio-page .bio-image {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
    
    .portfolio-page .bio-image img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .portfolio-page .portfolio-block {
        padding: 0.75rem 0.25rem;
    }
    
    .portfolio-page h1 {
        font-size: 1.5rem;
    }
    
    .portfolio-page h2 {
        font-size: 1.3rem;
    }
    
    .portfolio-page p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .portfolio-page .bio-image {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
    }
    
    .portfolio-page .bio-image img {
        width: 50px;
        height: 50px;
    }
}

/* Portfolio-specific responsive styles */
@media screen and (max-width: 1600px) {
    .portfolio-wrapper,
    .portfolio-page,
    .portfolio-block {
        max-width: none !important;
    }
    
    .hero-section,
    .hero-image,
    .featured-image {
        max-width: none !important;
    }
    
    .portfolio-page .portfolio-block {
		padding: 0;
    }
	/* .portfolio-page .hero-image .vp-portfolio .vp-portfolio__item img {
        margin: 0 100px;
        width: calc(100% - 200px);
    } */
}
