/* Traditional news content page CSS */
/* Independent class namespace: nwnc- */

.nwnc-page {
    width: 100%;
    background: #f6f7f9;
}

.nwnc-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.nwnc-main {
    width: 100%;
    padding: 56px 0 82px;
}

.nwnc-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 930px) 500px;
    gap: 42px;
    align-items: start;
    justify-content: center;
}

.nwnc-article {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 10px;
}

.nwnc-article-head {
    border-bottom: 1px solid var(--nw-border);
    background: #ffffff;
}

.nwnc-title {
    margin: 0;
    padding: 34px 34px 0;
    color: #111827;
    font-size: 40px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.nwnc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 16px 34px 26px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.nwnc-meta span {
    position: relative;
}

.nwnc-meta span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #d1d5db;
    transform: translateY(-50%);
}

.nwnc-cover {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f8fafc;
}

.nwnc-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.nwnc-body {
    padding: 30px 34px 34px;
}

.nwnc-lead {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--nw-primary);
    background: #fffbeb;
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
}

.nwnc-article h2 {
    margin: 34px 0 0;
    color: #111827;
    font-size: 27px;
    line-height: 1.32;
    font-weight: 800;
}

.nwnc-article p {
    margin: 15px 0 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.85;
}

.nwnc-content-img {
    margin: 28px 0 0;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--nw-border);
}

.nwnc-content-img img {
    display: block;
    width: 100%;
    height: auto;
}

.nwnc-note {
    margin-top: 28px;
    padding: 22px 24px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--nw-border);
}

.nwnc-note strong {
    display: block;
    color: #111827;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}

.nwnc-note ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 20px;
}

.nwnc-note li {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
}

.nwnc-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--nw-border);
}

.nwnc-back,
.nwnc-contact {
    min-width: 132px;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.nwnc-back {
    background: #f3f4f6;
    color: #111827;
}

.nwnc-contact {
    background: var(--nw-primary);
    color: #111827;
}

.nwnc-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 20px;
}

.nwnc-side-box {
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--nw-border);
    border-radius: 10px;
}

.nwnc-side-title {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nw-border);
    color: #111827;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}

.nwnc-news-list {
    display: grid;
    gap: 16px;
}

.nwnc-news-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    text-decoration: none;
}

.nwnc-news-item img {
    display: block;
    width: 132px;
    height: 92px;
    border-radius: 6px;
    background: #f8fafc;
    object-fit: cover;
    object-position: center;
}

.nwnc-news-item strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nwnc-news-item small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
}

.nwnc-products {
    display: grid;
    gap: 14px;
}

.nwnc-product {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
}

.nwnc-product img {
    display: block;
    width: 118px;
    height: 118px;
    border-radius: 6px;
    background: #f8fafc;
    object-fit: contain;
    object-position: center;
}

.nwnc-product strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

.nwnc-side-text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
}

.nwnc-side-btn {
    width: 100%;
    height: 42px;
    margin-top: 16px;
    border-radius: 999px;
    background: var(--nw-primary);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1440px) and (min-width: 1025px) {
    .nwnc-container {
        max-width: 1360px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nwnc-layout {
        grid-template-columns: minmax(0, 860px) 430px;
        gap: 32px;
    }

    .nwnc-title {
        font-size: 36px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .nwnc-meta {
        margin-left: 30px;
        margin-right: 30px;
    }

    .nwnc-body {
        padding-left: 30px;
        padding-right: 30px;
    }

    .nwnc-news-item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .nwnc-news-item img {
        width: 112px;
        height: 80px;
    }

    .nwnc-product {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .nwnc-product img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 1024px) {
    .nwnc-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-content: stretch;
    }

    .nwnc-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nwnc-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nwnc-main {
        padding: 32px 0 52px;
    }

    .nwnc-title {
        padding: 22px 20px 0;
        font-size: 28px;
        line-height: 1.25;
    }

    .nwnc-meta {
        gap: 8px 14px;
        margin: 14px 20px 20px;
        font-size: 13px;
    }

    .nwnc-body {
        padding: 22px 20px 24px;
    }

    .nwnc-lead {
        font-size: 15px;
        line-height: 1.75;
    }

    .nwnc-article h2 {
        margin-top: 28px;
        font-size: 23px;
    }

    .nwnc-article p {
        font-size: 14px;
        line-height: 1.82;
    }

    .nwnc-bottom-nav {
        flex-direction: column;
    }

    .nwnc-back,
    .nwnc-contact {
        width: 100%;
    }

    .nwnc-news-item {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .nwnc-news-item img {
        width: 88px;
        height: 66px;
    }

    .nwnc-product {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .nwnc-product img {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 390px) {
    .nwnc-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .nwnc-title {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 25px;
    }

    .nwnc-meta {
        margin-left: 18px;
        margin-right: 18px;
    }

    .nwnc-body {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* News traditional v5: full width banner */
.nwnc-banner {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.nwnc-banner img {
    display: block;
    width: 100%;
    min-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .nwnc-banner img {
        width: 100%;
        height: auto;
    }
}


/* News traditional v6: banner height half */
.nwnc-banner {
    height: 375px !important;
}

.nwnc-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (max-width: 768px) {
    .nwnc-banner {
        height: auto !important;
    }

    .nwnc-banner img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* News traditional v7: location breadcrumb and previous next articles */
.nwnc-location {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--nw-border);
}

.nwnc-location__nav {
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.nwnc-location__label {
    color: #111827;
    font-weight: 800;
}

.nwnc-location__nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nwnc-location__nav a:hover {
    color: #111827;
}

.nwnc-location__sep {
    color: #cbd5e1;
}

.nwnc-location__nav strong {
    min-width: 0;
    color: #111827;
    font-weight: 700;
}

.nwnc-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--nw-border);
}

.nwnc-post-nav__item {
    min-width: 0;
    min-height: 112px;
    padding: 20px;
    border: 1px solid var(--nw-border);
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.nwnc-post-nav__item:hover {
    border-color: rgba(252, 200, 3, 0.85);
    background: #fffbeb;
}

.nwnc-post-nav__item span {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nwnc-post-nav__item strong {
    margin-top: 9px;
    color: #111827;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nwnc-post-nav__item--next {
    text-align: right;
}

.nwnc-bottom-nav {
    margin-top: 22px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

@media (max-width: 768px) {
    .nwnc-location__nav {
        min-height: auto;
        padding: 12px 0;
        font-size: 13px;
    }

    .nwnc-location__nav strong {
        width: 100%;
    }

    .nwnc-post-nav {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .nwnc-post-nav__item {
        min-height: 96px;
        padding: 18px;
    }

    .nwnc-post-nav__item--next {
        text-align: left;
    }
}


/* News traditional v8: move location nav inside main container */
.nwnc-main {
    padding-top: 30px !important;
}

.nwnc-location {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.nwnc-location .nwnc-container {
    max-width: none !important;
    padding: 0 !important;
}

.nwnc-location__nav {
    min-height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.nwnc-location__label {
    color: #111827 !important;
    font-weight: 800 !important;
}

.nwnc-location__nav a {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.nwnc-location__nav a:hover {
    color: #111827 !important;
}

.nwnc-location__sep {
    color: #cbd5e1 !important;
}

.nwnc-location__nav strong {
    min-width: 0 !important;
    color: #111827 !important;
    font-weight: 800 !important;
}

@media (max-width: 768px) {
    .nwnc-main {
        padding-top: 20px !important;
    }

    .nwnc-location {
        margin-bottom: 14px !important;
    }

    .nwnc-location__nav {
        min-height: auto !important;
        padding: 0 !important;
        font-size: 13px !important;
    }

    .nwnc-location__nav strong {
        width: 100% !important;
    }
}

