/* ========================================
   RESPONSIVE DESIGN (Bloodlines Premium)
   ======================================== */

/* Small tablets/Large phones */
@media (max-width: 992px) {
    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: 2;
    }
}

/* Standard Mobile (nav, footer and modal responsive rules live in base.css / modals.css) */
@media (max-width: 768px) {

    /* Profile Page Header */
    .profile-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px 20px;
        margin-top: 0px;
        /* Removed negative margin to avoid cutting off photo top */
    }

    .profile-avatar-large {
        width: 120px;
        height: 120px;
    }

    .profile-names h1 {
        font-size: 1.75rem;
    }

    .profile-actions-bar {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-action {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
        max-width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Gallery */
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .profile-names h1 {
        font-size: 1.5rem;
    }

    .profile-avatar-large {
        width: 100px;
        height: 100px;
    }
}