.mh-home {
    direction: rtl;
    width: 100%;
}

.mh-home-main {
    display: grid;
    gap: 20px;
}

.mh-composer,
.mh-card,
.mh-empty {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.mh-composer {
    padding: 20px;
}

.mh-composer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.mh-user-meta,
.mh-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.mh-avatar-small {
    width: 44px;
    height: 44px;
}

.mh-user-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.mh-composer-title {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
}

.mh-form {
    display: grid;
    gap: 14px;
}

.mh-textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.9;
    outline: none;
    background: #fafbfc;
    color: #0f172a;
}

.mh-textarea:focus {
    border-color: #3b82f6;
    background: #fff;
}

.mh-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mh-upload-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mh-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.mh-image-input {
    max-width: 240px;
}

.mh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.mh-button-primary {
    background: #2563eb;
    color: #fff;
}

.mh-button-secondary {
    background: #eef2ff;
    color: #1e3a8a;
}

.mh-composer-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

.mh-image-preview {
    margin-top: 12px;
}

.mh-image-preview img,
.mh-card-image img {
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}

.mh-image-preview img {
    max-height: 280px;
}

.mh-feed {
    display: grid;
    gap: 16px;
}

.mh-card {
    padding: 18px 20px;
}

.mh-card-head {
    margin-bottom: 10px;
}

.mh-card-user {
    text-decoration: none;
    color: inherit;
}

.mh-card-user-text {
    display: grid;
    gap: 2px;
}

.mh-card-user-text strong {
    font-size: 15px;
    color: #0f172a;
}

.mh-card-user-text span {
    font-size: 12px;
    color: #64748b;
}

.mh-card-content {
    font-size: 16px;
    line-height: 2;
    color: #111827;
    white-space: normal;
    word-break: break-word;
}

.mh-card-image {
    margin-top: 14px;
}

.mh-card-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 14px;
    color: #475569;
    font-size: 14px;
}

.mh-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-empty {
    padding: 28px;
    text-align: center;
    color: #475569;
}

.mh-composer-guest {
    display: grid;
    gap: 10px;
}

.mh-composer-guest h3 {
    margin: 0;
    font-size: 18px;
}

.mh-composer-guest p {
    margin: 0;
    color: #64748b;
}

.mh-guest-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}




/*////////////////////////////////////////////*/




.mh-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mh-detail-wrap {
    display: grid;
    gap: 18px;
    margin-bottom: 20px;
}

.mh-detail-topbar {
    display: flex;
    justify-content: flex-start;
}

.mh-back-link {
    text-decoration: none;
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
}

.mh-detail-card {
    border: 1px solid #dbe3ef;
}

.mh-detail-content {
    font-size: 17px;
    line-height: 2.1;
}

.mh-comments {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 20px;
}

.mh-section-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.mh-comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.mh-comment-item {
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 14px;
    background: #fafbfc;
}

.mh-comment-author {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: #0f172a;
}

.mh-comment-content {
    font-size: 15px;
    line-height: 1.9;
    color: #111827;
}

.mh-comment-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.mh-comment-textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
    resize: vertical;
    outline: none;
}

.mh-comment-textarea:focus {
    border-color: #3b82f6;
}

.mh-profile-page {
    direction: rtl;
    display: grid;
    gap: 20px;
}

.mh-profile-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 20px;
}

.mh-profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.mh-profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.mh-profile-name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.mh-profile-username {
    color: #64748b;
    font-size: 14px;
    margin-top: 4px;
}

.mh-profile-bio {
    font-size: 15px;
    line-height: 2;
    color: #111827;
}

.mh-card-footer .mh-card-action-link {
    text-decoration: none;
    color: inherit;
}






/*/////////////////////////////////////////////////*/

.mh-card {
    padding: 18px 20px;
}

.mh-card-content {
    font-size: 16px;
    line-height: 2;
    color: #111827;
    white-space: normal;
    word-break: break-word;
    margin-top: 8px;
}

.mh-card-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 14px;
    color: #475569;
    font-size: 14px;
}

.mh-card-action,
.mh-comment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-comment-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.mh-comments-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
    display: grid;
    gap: 14px;
}

.mh-comments-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mh-comment-list {
    display: grid;
    gap: 12px;
}

.mh-comment-item {
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 14px;
    background: #fafbfc;
}

.mh-comment-author {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: #0f172a;
}

.mh-comment-content {
    font-size: 15px;
    line-height: 1.9;
    color: #111827;
}

.mh-comment-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.mh-inline-comment-form {
    display: grid;
    gap: 12px;
}

.mh-comment-textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
    resize: vertical;
    outline: none;
}

.mh-comment-textarea:focus {
    border-color: #3b82f6;
}

.mh-comment-login {
    font-size: 14px;
    color: #64748b;
}

.mh-comment-login a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.mh-profile-page {
    direction: rtl;
    display: grid;
    gap: 20px;
}

.mh-profile-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 20px;
}

.mh-profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.mh-profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.mh-profile-name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.mh-profile-username {
    color: #64748b;
    font-size: 14px;
    margin-top: 4px;
}

.mh-profile-bio {
    font-size: 15px;
    line-height: 2;
    color: #111827;
}

/* ///////////////////////////////////////////////// */
