﻿body {
    background: #fbfbfb;
}

h1, h2, h3, h4 {
    margin-bottom: 0;
    padding-bottom: 0;
}

p {
    padding: 0;
    margin: 0;
}
.lside {
    flex: 2.5;
}
    .lside .pi a {
        margin-left: 10px;
        color: #606060;
    }
    .lside .pi i {
        font-size: 18px;
        top: 2px;
        padding-left: 4px;
        position: relative;
    }
.lside h2:not(:first-child) {
    margin-bottom: 10px;
    margin-top: 60px;
}
    .lside .pd {
        display: flex;
        flex-direction: column;
        width: 100%;
        row-gap: 10px;
        justify-content: space-around;
    }
    .lside .pi {
        border-top: 1px dashed #e5e5e5;
        font-size: 15px;
        padding-top: 8px;
    }
    .lside .leftsection .pdp .pd > a {
        font-size: 16px;
    }
    .lside .leftsection .pdp {
        display: flex;
        transition: all 0.4s;
        gap: 10px;
        padding: 10px;
        box-shadow: 0px 0px 35px -30px rgb(0, 0, 0, .50);
        margin-bottom: 15px;
        background: #fff;
        justify-content: space-between;
        border-radius: 24px;
    }
    .lside .pdp img {
        width: 120px !important;
        height: 90px;
        border-radius: 10px;
        object-fit: cover;
    }
.postdiv {
    flex: 5;
    background: #ffffff;
    border-radius: 24px;
    margin-bottom: 30px;
    padding: 20px;
    margin-top: 20px;
}
    .postdiv .info {
        display: flex;
        gap: 20px;
        font-size: 14px;
        justify-content: space-between;
        background: #fceffd;
        padding: 5px;
        border-radius: 6px;
    }
    .postdiv:hover, .leftsection .pdp:hover {
        box-shadow: 0px 1px 35px -20px rgb(0, 0, 0, .40);
        transition: all 0.4s;
    }
.postdiv img {
        width: 100%;
        border-radius: 10px;
  }
.main .c {
    display: flex;
    gap: 25px
}

.postdetail {
    font-size: 18px;
    line-height: 2.5;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}




/* استایل پایه برای هر دو SVG (توخالی) */
svg.bookmark, svg.like {
    width: 32px;
    cursor: pointer;
    height: 32px;
    fill: transparent; /* داخل توخالی */
    stroke: #333; /* رنگ حاشیه پیش‌فرض */
    transition: all 0.2s ease;
}

/* ============================ */
/* استایل‌های قلب (Heart)       */
/* ============================ */

/* هاور قلب: قرمز کمرنگ */
    svg.like:hover {
        fill: #e56262;
        stroke: #e56262;
    }


/* ============================ */
/* استایل‌های بوکمارک (Bookmark)*/
/* ============================ */

/* هاور بوکمارک: مشکی کمرنگ (خاکستری) */
    svg.bookmark:hover {
        fill: #303030;
        stroke: #303030;
    }



    svg.like.liked {
        fill: #b10b0b !important;
        stroke: #b10b0b !important;
    }
    svg.bookmark.bookmarked {
        fill: #0c0c0c !important;
        stroke: #0c0c0c !important;
    }
