/* ============================================
   News Article Detail Page Styles
   ============================================ */

/* ---------- Breadcrumb ---------- */
.na-breadcrumb {
    background: linear-gradient(to right, #F9FAFB, #fff);
    border-bottom: 1px solid #F3F4F6;
    margin-top: 80px;
    padding: 0 24px;
}

.na-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
}

.na-breadcrumb-inner a {
    color: #6B7280;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
}

.na-breadcrumb-inner a:hover {
    color: #E85A24;
    background: rgba(232, 90, 36, 0.06);
}

.na-breadcrumb-inner a:first-child::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.na-breadcrumb-inner a:first-child:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E85A24' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

.na-bc-sep {
    margin: 0 4px;
    color: #D1D5DB;
    font-size: 11px;
}

.na-bc-current {
    color: #E85A24;
    font-weight: 600;
    padding: 4px 8px;
}

/* ---------- Main Layout ---------- */
.na-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    display: flex;
    gap: 40px;
}

/* ---------- Article Content (Left) ---------- */
.na-article {
    flex: 1;
    min-width: 0;
}

.na-article-header {
    margin-bottom: 32px;
}

.na-article-title {
    font-size: 26px;
    font-weight: 700;
    color: #1A2B4A;
    line-height: 1.4;
    margin-bottom: 12px;
}

.na-article-date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.na-article-body {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.na-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: #E55D25;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E55D25;
    display: inline-block;
}

.na-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 28px 0 12px;
}

.na-article-body p {
    margin-bottom: 16px;
}

.na-article-body img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    border: 1px solid #e8e8e8;
}

.na-article-body ul,
.na-article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.na-article-body li {
    margin-bottom: 8px;
}

.na-article-body strong {
    color: #1A2B4A;
    font-weight: 600;
}

.na-article-body a {
    color: #E55D25;
    text-decoration: none;
}

.na-article-body a:hover {
    text-decoration: underline;
}

/* ---------- Sidebar (Right) ---------- */
.na-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.na-sidebar-section {
    margin-bottom: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.na-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 12px 16px;
    background: #f5f6f8;
    border-bottom: 2px solid #E55D25;
    display: flex;
    align-items: center;
    gap: 6px;
}

.na-sidebar-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #E55D25;
    border-radius: 2px;
    display: inline-block;
}

/* Latest News List */
.na-latest-list {
    padding: 12px;
}

.na-latest-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.na-latest-item:last-child {
    border-bottom: none;
}

.na-latest-item:hover {
    background: #fafbfc;
    margin: 0 -12px;
    padding: 10px 12px;
}

.na-latest-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.na-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.na-latest-info {
    flex: 1;
    min-width: 0;
}

.na-latest-title {
    font-size: 12px;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.na-latest-date {
    font-size: 11px;
    color: #999;
}

/* Mail Subscribe */
.na-subscribe {
    padding: 16px;
}

.na-subscribe-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.na-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.na-subscribe-form input {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.na-subscribe-form input:focus {
    outline: none;
    border-color: #E55D25;
}

.na-subscribe-form button {
    padding: 10px 16px;
    background: #2B6CB0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.na-subscribe-form button:hover {
    background: #245a9a;
}

/* Contact Links (WhatsApp + Email) */
.na-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.na-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.na-contact-link svg {
    flex-shrink: 0;
}

.na-contact-link.na-whatsapp {
    background: #25D366;
    color: #fff;
}

.na-contact-link.na-whatsapp:hover {
    background: #128C7E;
}

.na-contact-link.na-email {
    background: #f0f4ff;
    color: #2B6CB0;
    border: 1px solid #d0d8ee;
}

.na-contact-link.na-email:hover {
    background: #e0e8ff;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
    .na-main {
        flex-direction: column;
        gap: 32px;
    }

    .na-sidebar {
        width: 100%;
        order: 2;
    }

    .na-sidebar-section {
        margin-bottom: 16px;
    }

    .na-latest-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .na-latest-item {
        border-bottom: none;
        border: 1px solid #f0f0f0;
        border-radius: 6px;
        padding: 10px;
    }

    .na-latest-item:hover {
        margin: 0;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .na-main {
        padding: 24px 16px 40px;
    }

    .na-article-title {
        font-size: 20px;
    }

    .na-article-body {
        font-size: 14px;
    }

    .na-article-body h2 {
        font-size: 17px;
    }

    .na-sidebar {
        display: none;
    }
}
