/* News Detail Page Specific Styles */

.nd-banner {
    height:420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.nd-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.nd-banner .container {
    position: relative;
    z-index: 1;
}

.nd-banner__content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.nd-banner__breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.nd-banner__breadcrumb a {
    color: #fff;
    transition: color 0.3s;
}

.nd-banner__breadcrumb a:hover {
    color: #EF7721;
}

.nd-banner__breadcrumb span {
    margin: 0 10px;
}

.nd-page {
    padding: 80px 0;
    background: #fcfcfc;
}

.nd-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Main Article Area */
.nd-main {
    flex-grow: 1;
    min-width: 0;
}

.nd-article {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.02);
}

.nd-article__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.nd-article__title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.nd-article__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    color: #888;
    font-size: 14px;
}

.nd-article__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nd-article__meta span svg {
    color: #EF7721;
}

/* Rich Text Content */
.nd-article__content {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.nd-article__content p {
    margin-bottom: 20px;
    text-align: justify;
}

.nd-article__content h2,
.nd-article__content h3,
.nd-article__content h4 {
    color: #333;
    font-weight: 700;
    margin: 40px 0 20px;
}

.nd-article__content h3 {
    font-size: 22px;
    position: relative;
    padding-left: 15px;
}

.nd-article__content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #EF7721;
    border-radius: 2px;
}

.nd-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nd-article__content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #fff8f3;
    border-left: 4px solid #EF7721;
    border-radius: 0 8px 8px 0;
    color: #666;
    font-size: 15px;
    font-style: italic;
}

/* Article Navigation */
.nd-article__nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nd-nav-prev,
.nd-nav-next {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fcfcfc;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    width: 50%;
}

.nd-nav-prev:hover,
.nd-nav-next:hover {
    background: #fff;
    border-color: rgba(239, 119, 33, 0.3);
    box-shadow: 0 5px 15px rgba(239, 119, 33, 0.05);
}

.nd-nav-next {
    text-align: right;
    align-items: flex-end;
}

.nd-nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.nd-nav-title {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nd-nav-prev:hover .nd-nav-title,
.nd-nav-next:hover .nd-nav-title {
    color: #EF7721;
}

/* Sidebar */
.nd-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.nd-sidebar__box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.nd-sidebar__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.nd-sidebar__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #EF7721;
}

.nd-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nd-category-list li {
    margin-bottom: 10px;
}

.nd-category-list li:last-child {
    margin-bottom: 0;
}

.nd-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nd-category-list a span {
    color: #999;
    font-size: 13px;
    transition: color 0.3s;
}

.nd-category-list a:hover {
    background: #fff3eb;
    color: #EF7721;
    border-left-color: #EF7721;
}

.nd-category-list a:hover span {
    color: #EF7721;
}

.nd-category-list li.active a {
    background: #EF7721;
    color: #fff;
    border-left-color: #d86515;
    font-weight: 500;
}

.nd-category-list li.active a span {
    color: rgba(255,255,255,0.8);
}

/* Hot List */
.nd-hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nd-hot-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.nd-hot-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nd-hot-list a {
    display: flex;
    gap: 15px;
    align-items: center;
    group: hover;
}

.nd-hot-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.nd-hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.nd-hot-list a:hover .nd-hot-img img {
    transform: scale(1.1);
}

.nd-hot-text {
    flex-grow: 1;
}

.nd-hot-text h4 {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
    line-height: 1.4;
}

.nd-hot-list a:hover .nd-hot-text h4 {
    color: #EF7721;
}

.nd-hot-text span {
    font-size: 12px;
    color: #999;
}
