/* ==========================================================
   news-detail.css —— News detail page styles (class prefix nd-)
   Dark luxury brand system: --bg-deep / --gold
   English site - independent copy
   ========================================================== */

/* ========== Inner-page banner ========== */
.nd-hero {
    position: relative;
    padding: 170px 0 70px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 12, 18, 0.78) 0%, rgba(10, 12, 18, 0.92) 100%),
        url(../../public/banner/4-1.jpg) center center / cover no-repeat;
    border-bottom: 1px solid rgba(200, 160, 96, 0.1);
    text-align: center;
}
.nd-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 30px;
}
.nd-breadcrumb a { color: var(--text-gray); transition: color 0.3s; }
.nd-breadcrumb a:hover { color: var(--gold); }
.nd-breadcrumb .nd-breadcrumb-sep { opacity: 0.5; }
.nd-breadcrumb .nd-breadcrumb-current { color: var(--gold); }
.nd-hero-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-white);
}
.nd-hero-line {
    width: 60px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== Article body ========== */
.nd-section {
    padding: 70px 0 40px;
}
.nd-article {
    max-width: 1000px;
    margin: 0 auto;
}

/* Title area */
.nd-head {
    text-align: center;
    margin-bottom: 46px;
}
.nd-head .nd-cat {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--gold);
    border: 1px solid rgba(200, 160, 96, 0.35);
    border-radius: 50px;
    padding: 5px 18px;
    background: rgba(200, 160, 96, 0.06);
    margin-bottom: 22px;
}
.nd-head h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 24px;
}
.nd-head-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nd-head-meta .nd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nd-head-meta svg { width: 16px; height: 16px; color: var(--gold); }

/* Cover placeholder: replace with an <img> once the image is ready */
.nd-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, rgba(200, 160, 96, 0.04) 0 12px, transparent 12px 24px),
        #0D0F16;
    border: 1px dashed rgba(200, 160, 96, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nd-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nd-cover .nd-cover-tip {
    color: rgba(138, 143, 153, 0.55);
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px dashed rgba(200, 160, 96, 0.25);
    border-radius: 6px;
    padding: 12px 22px;
}

/* Body text */
.nd-content {
    font-size: 16px;
    color: var(--silver);
    line-height: 2;
    letter-spacing: 0.5px;
}
.nd-content p {
    margin-bottom: 26px;
}
.nd-content strong { color: var(--gold); font-weight: 600; }
.nd-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 1px;
    margin: 44px 0 22px;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
}
/* Inline figure placeholder */
.nd-content .nd-figure {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    margin: 34px 0;
    border-radius: 10px;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, rgba(200, 160, 96, 0.04) 0 12px, transparent 12px 24px),
        #0D0F16;
    border: 1px dashed rgba(200, 160, 96, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nd-content .nd-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nd-content .nd-figure-tip {
    color: rgba(138, 143, 153, 0.55);
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px dashed rgba(200, 160, 96, 0.25);
    border-radius: 6px;
    padding: 10px 20px;
}
.nd-content figcaption,
.nd-content .nd-figure-caption {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin: -20px 0 30px;
}

/* Disclaimer */
.nd-disclaimer {
    margin-top: 40px;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

/* ========== Prev / next navigation ========== */
.nd-pager {
    max-width: 1000px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}
.nd-pager-item {
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}
.nd-pager-item:hover {
    border-color: var(--border);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.nd-pager-item .nd-pager-label {
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.nd-pager-item .nd-pager-title {
    font-size: 16px;
    color: var(--text-white);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}
.nd-pager-item:hover .nd-pager-title { color: var(--gold); }
.nd-pager-item.next { text-align: right; }
.nd-pager-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.nd-pager-back {
    align-self: center;
    padding: 14px 34px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.nd-pager-back:hover {
    background: rgba(200, 160, 96, 0.08);
    box-shadow: 0 8px 20px rgba(200, 160, 96, 0.15);
}

/* ========== Related news ========== */
.nd-related {
    padding: 70px 0 90px;
}
.nd-related h3 {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 40px;
}
.nd-related h3 span { color: var(--gold); }
.nd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}
.nd-related-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.35s ease;
    display: block;
}
.nd-related-card:hover {
    transform: translateY(-5px);
    border-color: var(--border);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}
.nd-related-thumb {
    aspect-ratio: 16 / 9;
    background:
        repeating-linear-gradient(45deg, rgba(200, 160, 96, 0.04) 0 12px, transparent 12px 24px),
        #0D0F16;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nd-related-thumb .nd-related-tip {
    color: rgba(138, 143, 153, 0.45);
    font-size: 12px;
    letter-spacing: 1px;
}
.nd-related-info {
    padding: 20px 22px 24px;
}
.nd-related-info .nd-related-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.nd-related-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}
.nd-related-card:hover h4 { color: var(--gold); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .nd-head h1 { font-size: 27px; }
    .nd-related-grid { grid-template-columns: 1fr; max-width: 560px; }
    .nd-pager { grid-template-columns: 1fr; }
    .nd-pager-item.next { text-align: left; }
    .nd-pager-back { justify-self: center; }
}

@media (max-width: 768px) {
    .nd-hero { padding: 130px 0 50px; }
    .nd-hero-title { font-size: 22px; letter-spacing: 2px; }
    .nd-section { padding: 46px 0 20px; }
    .nd-head h1 { font-size: 21px; }
    .nd-head-meta { flex-wrap: wrap; gap: 12px 24px; }
    .nd-content { font-size: 15px; }
}
