/* News list and detail page layout styles */

.nx-news-wrap {
    margin-top: 196px;
    padding: 0 0 30px 0;
}


.nx-pager-wrap {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.nx-article-heading {
    color: #1b1b1b;
}

.nx-article-date {
    font-size: 18px;
    color: #666;
}

.nx-article-visual {
    width: 800px;
    height: 450px;
    margin: 30px auto;
}

.nx-article-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article body typography */
.nx-article-body p {
    font-size: 18px;
    line-height: 30px;
    color: #333;
    margin-top: 12px;
}

.nx-article-body ul {
    list-style: disc;
    padding-left: 20px;
}

.nx-article-body ul li {
    font-size: 18px;
    line-height: 28px;
    color: #333;
    margin-top: 10px;
}

.nx-article-body ul li ul {
    list-style: circle;
    padding-left: 20px;
}


.nx-date-day {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 22px;
}

.nx-date-month {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.nx-news-icon {
    width: 20px;
    margin-right: 5px;
}

.nx-date-strip {
    display: flex;
}

.nx-pub-date {
    margin-top: 15px;
    font-size: 20px;
    color: #555;
}

.nx-article-body h1,
.nx-article-body h2,
.nx-article-body h3 {
    font-size: 28px;
    margin-top: 10px;
}

.nx-breadcrumb {
    padding: 40px 0 10px 0;
}

/* News detail card with image and description */
.nx-news-card {
    gap: 40px;
    padding: 20px;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
}

.nx-news-detail {
    flex: 1;
}

.nx-news-detail h2 {
    font-size: 24px;
    color: #2b2b2b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 15px;
    font-weight: bold;
}

.nx-news-excerpt {
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 26px;
    margin-top: 15px;

}

.nx-news-thumb {
    width: 370px;
    height: 220px;
}

.nx-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .nx-news-card {
        box-shadow: 0 16px 32px rgba(0, 0, 0, .04), 0 8px 8px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .04);
    }

    .nx-news-thumb {
        width: 100%;
    }

    .nx-feed-grid {
        padding: 15px;
        box-sizing: border-box;
        margin-top: 0px;
    }

    .nx-news-card {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .nx-article-visual {
        width: 100%;
        height: 250px;
        margin: 15px auto;
    }


    .nx-article-date {
        font-size: 16px;
        margin-top: 15px;
    }

    .nx-article-body p {
        font-size: 15px;
        line-height: 26px;
        margin-top: 15px;
    }

    .nx-pager-wrap {
        margin-top: 5px;
    }

    .nx-news-wrap {
        padding: 5px 0;
    }

    .nx-news-title {
        padding: 10px;
    }

    .nx-news-wrap {
        margin-top: 116px;
    }

    .nx-breadcrumb {
        padding: 20px 15px 0 15px;
    }

    .nx-news-card {
        padding: 10px 0;
    }

    .nx-article-body h1,
    .nx-article-body h2,
    .nx-article-body h3 {
        font-size: 22px;
        margin-top: 10px;
    }

    .nx-news-card {
        gap: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .nx-feed-grid {
        justify-content: center;
    }
}
