body { 
	font-family: 'Vazirmatn', sans-serif;
	direction: rtl;
	text-align: right;
	font-size: 1.1rem; /* برای خوانایی بهتر */
	line-height: 1.8; /* فاصله خطوط بیشتر */
}

.transition {
    transition: all 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.015);
}
.hover-overlay {
    transition: background-color 0.3s ease;
}
.card:hover .hover-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
    background-color: #004085;
    border-color: #003768;
}

/* Home post list */
.post-list .card {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.post-list .card:hover {
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.post-list .card:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background: #eee;
    margin: 1rem 0;
}

.post-list .emoji-reaction {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.post-list .emoji-reaction:hover {
    transform: scale(1.3);
}

.post-list .btn-sm.text-muted:hover {
    color: #0d6efd;
    background-color: rgba(13,110,253,0.05);
    border-radius: 6px;
}

.post-list .card-text {
    white-space: pre-line;
    line-height: 1.7;
}

/* profile information */
.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.profile-avatar:hover {
    transform: scale(1.05);
}

.badge-role {
    font-size: 0.85rem;
    padding: 0.4em 0.6em;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-sm {
    transition: all 0.2s ease;
}
.btn-sm:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.avatar-gallery img {
    transition: transform 0.2s ease;
}
.avatar-gallery img:hover {
    transform: scale(1.1);
}

/* استایل‌دهی به نام سایت */
.website-name {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: bold;
}

/* استایل‌دهی به منو */
.main-menu a {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
}

/* استایل‌دهی به نوار ناوبری اصلی */
#primary-navbare {
    font-family: 'Vazirmatn', sans-serif;
	border-bottom: 1px solid #dee2e6;
}


/* منوی کوچک صفحه اول */
.intro-nav {
	margin-top:2em;
	width: 100%;
    background: linear-gradient(90deg, transparent, #5E281D 35%, #30120D 65%, transparent);
    gap: .5rem;
}

.intro-nav a{
    position: relative;
    text-decoration: none;
    color: #F0D0CC;
    transition: color 0.3s ease-in-out;
}

.intro-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: #F7E4BC; /* Underline color */
    transition: width 0.3s ease-in-out;
}

.intro-nav a:hover {
    color: #F7E4BC; /* Hover text color */
}

.intro-nav a:hover::after {
    width: 100%;
}