/* تنظیم کلی صفحه */
.lm-profile-page-wrapper {
    background-color: #fff !important;
    padding: 40px 0;
    min-height: 80vh;
}

.lm-profile-main-container {
    display: flex;
    flex-direction: row-reverse; /* این دستور چیدمان را برعکس می‌کند تا سایدبار به راست منتقل شود */
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
    align-items: flex-start;
}

/* ستون لوگوها (سمت چپ - زمینه سفید) */
.lm-logos-column {
    flex: 0 0 72%;
    background: #fff;
}

.lm-section-title {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lm-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lm-logo-card {
    border: 1px solid #eee;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* سایدبار (مشکی - دارای پدینگ و حاشیه) */
.lm-sidebar-column {
    flex: 0 0 25%;
    background: #000; 
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

/* تنظیمات متن سایدبار */
.lm-sidebar-sticky { text-align: center; }

.lm-user-name { font-size: 20px; margin: 15px 0; font-weight: bold; }

.lm-info-list, .lm-contact-list {
    list-style: none; padding: 0; margin: 0;
}

.lm-info-list li, .lm-contact-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 8px;
    color: #ccc;
}

.lm-profile-img {
    width: 130px; height: 130px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: 0 auto 20px;
    overflow: hidden;
}

.lm-block-header {
    color: #fff; font-size: 15px; margin: 25px 0 15px; font-weight: bold;
}

.lm-medals-grid, .lm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lm-medals-grid span, .lm-gallery-item {
    background: #222;
    border: 1px solid #444;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.lm-about-content {
    color: #aaa; line-height: 1.8; font-size: 11px; margin-bottom: 10px;
}

/* حذف دکمه‌های Load More (اگر نیاز نبود) و فوتر */
.lm-btn-text, .lm-btn-text-small {
    background: #fff; border: none; color: #000; padding: 5px 15px; cursor: pointer; font-size: 10px;
}

.lm-massive-footer, .profile-footer-label { display: none !important; }

/* ریسپانسیو */
@media (max-width: 991px) {
    .lm-profile-main-container { flex-direction: column; }
    .lm-logos-column, .lm-sidebar-column { flex: 0 0 100%; width: 100%; }
}
