main#postSingle {

}
main#postSingle .post-single-wrapper{
    /* width: 70rem; */
    width: 78%;
}
.post-single-sec {
    padding: 0 0 4rem 0;
}
.post-single-wrapper h3 {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}
.post-single-wrapper .category {
    padding: 1rem;
    padding: 0.4rem 2rem;
    /* font-family: var(--genshin-font); */
    margin-right: 4rem;
}
.post-single-wrapper .post-date img {
    width: 1.5rem;
}
/* .post-single-wrapper .post-date {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    width: fit-content;
} */
.post-figure {
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 38rem;
    overflow: hidden;
}
.post-figure img {
    object-fit: contain;
    object-position: center center;
}
.post-single-wrapper h4 {
    padding: 1rem 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    font-size: 2.6rem;
}
.post-single-wrapper h4::after {
    content: "";
    position: absolute;
    left: 2rem;
    top: 98%;
    width: 3.2rem;
    height: 2rem;
    background-color: var(--clr-black-blue);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.post-single-wrapper h5 {
    font-size: 2.2rem;
    padding-bottom: 0.3rem;
    border-bottom: 5px solid var(--clr-grey);
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.post-single-wrapper h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30%;
    height: 5px;
    background-color: var(--clr-black-blue);
}
/* start the favorite post lists */
.favourite-post {
    top: 5rem;
    /* right: 3rem; */
    right: 2%;
    /* width: 31rem; */
    width: 26%;
}
.favourite-post h4 {
    font-size: 1.5rem;
    padding: 1rem 1rem;
    margin-bottom: 3rem;
}
.favourite-post figure {
    width: 34%;
}
.favourite-post .favourite-item-body {
    width: 62%;
}
.favourite-post .favourite-item-body .title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.favourite-post .favourite-item-body .category {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}
.favourite-post .favourite-item-body .post-date {
    margin-top: 0.4rem;
    line-height: 1.6;
    display: flex;
    column-gap: 1rem;
}
.favourite-post .favourite-item-body .post-date img {
    width: 1.2rem;
}
.favourite-post .favourite-item-body .post-date span {
    
    font-size: 0.8rem;
}
.favourite-item:not(:last-child) {
    margin-bottom: 2rem;
}
.favourite-item figure {
    position: relative;
    padding: 0.4rem;
}
.favourite-item figure a {
    overflow: hidden;
}
.favourite-item figure a img {
    transition: 0.4s all ease-in-out;
}
.favourite-item figure a:hover img {
    scale: 1.2;
}
.favourite-item figure::after {
    
    position: absolute;
    left: 1rem;
    top: 2px;
    width: 1.4rem;
    height: 1.8rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
    color: #fff;
    font-size: 0.8rem;
    padding-top: 0.4rem;
    text-align: center;
    font-weight: 900;

    
    
}
.favourite-item:first-child figure::after {
    content: "1";
    background-color: var(--clr-black-yellow);
}
.favourite-item:nth-child(2) figure::after {
    content: "2";
    background-color: #707070;
}
.favourite-item:nth-child(3) figure::after {
    content: "3";
    background-color: var(--clr-red);
}

/* @media only screen and (max-width: 1414px) {
    main#postSingle .post-single-wrapper {
        width: 76%;
    }
} */
@media only screen and (min-width: 769px) and (max-width: 772px) {
    main#postSingle .post-single-wrapper {
        width: 72%;
    }
}
@media only screen and (min-width: 773px) and (max-width: 1660px) {
    main#postSingle .post-single-wrapper {
        width: 76%;
    }
}
@media only screen and (min-width: 1661px) and (max-width: 1920px) {
    main#postSingle .post-single-wrapper {
        width: 78%;
    }
}

@media only screen and (max-width: 768px) {
    main#postSingle .post-single-wrapper {
        width: 100%;
    }
    .favourite-post {
        width: 100%;
        background: #fff;
        position: relative;
        right: 0;
        top: 0;
    }
    .favourite-post h4 {
        font-size: 2.6rem;
        padding: 1rem 6rem;
        margin-bottom: 3rem;
    }
    .favourite-lists {
        padding: 0 2rem;
    }
    .favourite-post .favourite-item-body .category {
        display: inline-block;
        padding: 0.4rem 1rem;
        font-size: 1.8rem;
    }
    .favourite-post .favourite-item-body .post-date span {
        font-size: 1.8rem;
        margin-top: 1.5rem;
    }
    .favourite-post .favourite-item-body .title {
        font-size: 2.2rem;
        margin-bottom: 2.4rem;
    }
    .favourite-item figure::after {
        
        width: 3rem;
        height: 3.8rem;
        
        font-size: 1.5rem;
    }
}


