
/* --------  Recommended Article -------- */
                                        
h1.single-post-title {
    font-size: 25px;line-height: 26px;
    padding: 0px 16px;
}
.nf-recommend {
    background: #f5f5f5;
    border-radius: 1rem;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.nf-recommend__title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.nf-recommend__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.nf-recommend .nf-recommend__list > li {
    list-style: none;
    margin: 0;
    min-width: 0;
}

.nf-recommend__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

.nf-recommend__list > li:nth-last-child(-n+2) .nf-recommend__item {
    border-bottom: none;
}

.nf-recommend__img {
    display: block;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #ececec;
}

.nf-recommend__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.nf-recommend__item:hover .nf-recommend__img img {
    transform: scale(1.05);
}

.nf-recommend__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nf-recommend__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nf-recommend__item:hover .nf-recommend__name {
    color: var(--dt-main-color);
}

.nf-recommend__date {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.nf-recommend__date::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
    h1.single-post-title {
    margin-left:0px;
    padding: 0px;
}
.post-meta.single-post-meta {
    margin-left: 0px;
}
      #author_top_wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
    .nf-recommend {
        padding: 18px;
        margin-bottom: 20px;
    }

    .nf-recommend__list {
        grid-template-columns: 1fr;
    }

    .nf-recommend__list > li:nth-last-child(-n+2) .nf-recommend__item {
        border-bottom: 1px solid #ccc;
    }

    .nf-recommend__list > li:last-child .nf-recommend__item {
        border-bottom: none;
    }

    /* zuozhe  */
    .nf-meta2__left  ul.author {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 4px;
    }
    .nf-meta2__left ul.author li, .nf-meta2__left ul.author  span  {
        margin-right: 0;
        font-size: 12px !important;
    }
    .entry-content table {
        font-size: 0.8rem !important;
        width: 100%;
    }
    .entry-content table tbody tr th, .entry-content table tbody tr td {
        line-height: 1.5 !important;
        word-break: break-all;
        word-wrap: break-word;
        padding: 4px;

    }
}
body.night {
    .content_dir {
          background: rgba(255, 255, 255, .1);
    }
 
     .nf-toc-title {
        color: #fff;
    }
    .nf-toc-link {
        color: #fff;
    }

     .nf-recommend {
        background: rgba(255, 255, 255, .1);
    }
     .nf-recommend__title {
        color: #fff;
    }
     .nf-recommend__name {
        color: rgba(255, 255, 255, .75);
    }
     .nf-recommend__item {
        border-bottom-color: rgba(189, 189, 189, .3);
    }
     .nf-recommend__img {
        background: rgba(255, 255, 255, .15);
    }
     .nf-recommend__date {
        color: rgba(255, 255, 255, .5);
    }
     .nf-recommend__date::before {
        background: rgba(255, 255, 255, .3);
    }

   
     .nf-meta2__left .meta {
        color: #fff;
        background: rgba(255, 255, 255, .1);
    }
     .tags ul li span {
        color: #fff;
    }
}