a,img {
-webkit-user-select: none !important;
-moz-user-select: none !important;
user-select: none !important;
-webkit-touch-callout: none !important;
touch-callout: none !important;
}.ngg-instagram-container {
max-width: 90vw;
width: 100%;
margin: 0 auto;
padding: 20px;
} .ngg-instagram-profile-header {
display: flex;
align-items: center;
margin-bottom: 44px;
padding-bottom: 44px;
border-bottom: 1px solid #dbdbdb;
}
.profile-avatar {
margin-right: 30px;
}
.avatar-placeholder {
width: 150px;
height: 150px;
border-radius: 50%;
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 48px;
font-weight: bold;
}
.profile-info {
flex: 1;
}
.profile-username {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 20px;
}
.profile-username h2 {
font-size: 28px;
font-weight: 300;
margin: 0;
line-height: 32px;
}
.follow-btn {
background: #0095f6;
color: white;
border: none;
border-radius: 4px;
padding: 5px 24px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.follow-btn:hover {
background: #1877f2;
}
.profile-stats {
display: flex;
gap: 40px;
margin-bottom: 20px;
}
.profile-stats span {
font-size: 16px;
}
.profile-bio {
font-size: 14px;
line-height: 18px;
} .ngg-instagram-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
margin-bottom: 40px;
}
.ngg-instagram-item {
position: relative;
width: 100%;
padding-bottom: 100%;
background: #fafafa;
cursor: pointer;
}
.instagram-image-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.instagram-image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.2s ease;
}
.instagram-image-link {
display: block;
width: 100%;
height: 100%;
} .instagram-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s ease;
}
.ngg-instagram-item:hover .instagram-overlay {
opacity: 1;
}
.ngg-instagram-item:hover img {
transform: scale(1.05);
}
.overlay-stats {
display: flex;
gap: 30px;
color: white;
font-size: 16px;
font-weight: 600;
}
.overlay-stats span {
display: flex;
align-items: center;
gap: 8px;
}
.heart-icon, .comment-icon {
fill: white;
} .ngg-instagram-lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
}
.lightbox-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.95);
}
.lightbox-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90vw;
height: auto;    
max-width: 90vw;
max-height: 90vh;    
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-content {
background: black;
display: flex;
flex-direction: column;
}
.lightbox-image {
max-width: 100%;
max-height: 80vh;
object-fit: contain;
}
.lightbox-caption {
padding: 15px;
color: white;
font-size: 14px;
background: rgba(0, 0, 0, 0.8);
}
.lightbox-close {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
color: white;
font-size: 40px;
cursor: pointer;
z-index: 10;
}
.lightbox-prev, .lightbox-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: white;
font-size: 60px;
cursor: pointer;
padding: 0 20px;
}
.lightbox-prev {
left: 15px;
}
.lightbox-next {
right: 15px;
} .ngg-instagram-load-more {
text-align: center;
margin: 40px 0;
}
.load-more-btn {
background: transparent;
border: 1px solid #dbdbdb;
border-radius: 4px;
padding: 8px 24px;
font-size: 14px;
font-weight: 600;
color: #262626;
cursor: pointer;
transition: all 0.2s;
}
.load-more-btn:hover {
background: #fafafa;
} .ngg-instagram-loading {
text-align: center;
padding: 40px;
}
.spinner {
border: 3px solid #f3f3f3;
border-top: 3px solid #262626;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media (max-width: 800px) {
.ngg-instagram-grid {
grid-template-columns: repeat(1, 1fr);
gap: 3px;
}
.ngg-instagram-profile-header {
padding: 20px 0;
}
.profile-avatar {
margin-right: 20px;
}
.avatar-placeholder {
width: 77px;
height: 77px;
font-size: 24px;
}
.profile-username h2 {
font-size: 20px;
}
.profile-stats {
gap: 20px;
}
}
@media (max-width: 480px) {
.profile-stats span {
font-size: 14px;
}
}