﻿



/* استایل‌های اختصاصی جزئیات خاطره (که در MainCss نیست) */



.story-detail-card {
    border-radius: 24px;
    overflow: hidden;
    border-right: 4px solid var(--gold);
    background: white;
    transition: var(--transition);
}

.story-detail-card .card-body {
    padding: 2rem;
}

.story-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--main-green);
    margin-bottom: 1rem;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0d6c0;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--main-green);
}

.story-date {
    font-size: 0.8rem;
    color: #7a8c7a;
}

.story-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2c3e2f;
    margin-bottom: 2rem;
    text-align: justify;
}

.like-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e0d6c0;
    border-bottom: 1px solid #e0d6c0;
}

.btn-like {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    background-color: #f8f9fa;
    transition: var(--transition);
    font-weight: 500;
}

    .btn-like i {
        font-size: 1.2rem;
        transition: transform 0.2s;
    }

    .btn-like:hover i {
        transform: scale(1.1);
    }

    .btn-like.liked {
        background-color: var(--gold);
        color: white;
    }

        .btn-like.liked i {
            color: white;
        }

.comment-section {
    margin-top: 2rem;
}

.comment-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-right: 2px solid var(--gold);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    margin-right:10px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--main-green);
}

.comment-date {
    font-size: 0.7rem;
    color: #7a8c7a;
}

.comment-content {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0 0.5rem 2.5rem;
    margin-right:30px;
    text-align:justify;
}

.comment-like {
    font-size: 0.8rem;
    color: #d4a017;
    cursor: pointer;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 30px;
}

.btn-submit-comment {
    background-color: var(--main-green);
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    border: none;
    transition: var(--transition);
}

    .btn-submit-comment:hover {
        background-color: var(--main-green-dark);
        transform: translateY(-2px);
    }
/* ریسپانسیو اضافی */
@@media (max-width: 768px) {
    .story-title {
        font-size: 1.4rem;
    }

    .story-detail-card .card-body {
        padding: 1.5rem;
    }
}

