/* Main Container (Card Style) */
.brya-ig-container {

    overflow: hidden;
    width: 100%;

    margin: 0 auto;
    
}

/* Header Styles */
.brya-ig-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.brya-ig-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brya-ig-avatar, .brya-ig-avatar-placeholder {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: contain;
    border: 1px solid #e2e8f0;
}

.brya-ig-avatar-placeholder {
    background: #1e293b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
}

.brya-ig-info {
    display: flex;
    flex-direction: column;
    
}

.brya-ig-brand-name {
    margin: 0 !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    font-family: "Brya Sans";
    color: #000;
    line-height: 1;
}

.brya-ig-username {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #000;
}

.brya-ig-btn {
    background: #000; 
    color: #ffffff !important;
    padding: 17px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.2s ease;
    min-width:440px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.brya-ig-btn:hover {
    background: #000;
}

/* Body & Grid Styles */
.brya-ig-body {
    
}

.brya-ig-frontend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Desktop */
    gap: 20px;
    width: 100%;
}

.ig-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none !important;
    background: #e2e8f0; /* skeleton color */
}

.ig-item.is-hidden {
    display: none;
}

.ig-img-wrap {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ig-caption {
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.ig-item:hover .ig-overlay {
    opacity: 1;
}

.ig-item:hover .ig-img-wrap {
    transform: scale(1.05);
}

/* Load More Button */
.brya-ig-load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.brya-ig-load-more {
    background-color: #0f172a;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.brya-ig-load-more:hover {
    background-color: #334155;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .brya-ig-header {
        flex-direction: row;
        gap: 20px;
        text-align: left;
        padding:20px 0;
    }
    
    .brya-ig-header-left {
        flex-direction: row;
        gap: 10px;
    }
    
    .brya-ig-frontend-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns Mobile */
        gap: 12px;
    }
    
    .brya-ig-body {
        
    }
    .brya-ig-btn{
        max-width: 190px;
        min-width: 190px;
    }
}