/* Custom Global Styles */
:root {
    --brand-accent: #f97316;
    --brand-black: #0a0a0a;
    --brand-card: #171717;
    --brand-border: #262626;
}

/* Article Content Overrides */
.article-content p {
    text-align: justify !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    color: #d1d5db !important;
    font-size: 1.1rem;
}

.article-content img {
    margin: 3rem auto !important;
    display: block !important;
    border-radius: 1.5rem !important;
    border: 1px solid var(--brand-border) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* Headings - Standard Formatting */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: white !important;
    font-weight: 900 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
}

.article-content h1 { font-size: 2.5rem !important; }
.article-content h2 { font-size: 1.8rem !important; }
.article-content h3 { font-size: 1.3rem !important; }
.article-content h4 { font-size: 1.2rem !important; }
.article-content h5 { font-size: 1.120rem !important; }
.article-content h6 { font-size: 1rem !important; }

.article-content ul, .article-content ol {
    margin-bottom: 2rem !important;
    color: #d1d5db !important;
    padding-left: 1.5rem !important;
}

.article-content li {
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
}

/* Links */
.article-content a {
    color: var(--brand-accent) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.article-content a:hover {
    color: #fb923c !important;
    text-decoration: underline !important;
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid var(--brand-accent) !important;
    padding-left: 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    margin: 2rem 0 !important;
    font-style: italic !important;
    color: #9ca3af !important;
    background: rgba(249, 115, 22, 0.05) !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
}

/* Strong/Bold text */
.article-content strong,
.article-content b {
    color: white !important;
    font-weight: 700 !important;
}

/* Emphasis/Italic text */
.article-content em,
.article-content i {
    color: #e5e7eb !important;
}

/* Code */
.article-content code {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #fb923c !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 0.375rem !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.9em !important;
}

.article-content pre {
    background: var(--brand-card) !important;
    border: 1px solid var(--brand-border) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    overflow-x: auto !important;
}

.article-content pre code {
    background: transparent !important;
    color: #d1d5db !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
}

/* Tables */
.article-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 2rem 0 !important;
    background: var(--brand-card) !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    border: 1px solid var(--brand-border) !important;
}

.article-content th,
.article-content td {
    padding: 1rem !important;
    text-align: left !important;
    border-bottom: 1px solid var(--brand-border) !important;
    color: #d1d5db !important;
}

.article-content th {
    background: rgba(249, 115, 22, 0.1) !important;
    color: white !important;
    font-weight: 700 !important;
}

.article-content tr:last-child td {
    border-bottom: none !important;
}

.article-content tr:hover td {
    background: rgba(249, 115, 22, 0.05) !important;
}

/* Horizontal Rule */
.article-content hr {
    border: none !important;
    height: 1px !important;
    background: var(--brand-border) !important;
    margin: 3rem 0 !important;
}

/* Lists nested */
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-black);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-accent);
}

/* Utility Classes */
.z-full {
    z-index: 9999;
}

.z-full-lable {
    z-index: 999;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--brand-accent);
    color: white;
}

/* Custom Pagination Styles for template5 */
#pagination-nav {
    margin-top: 3rem;
}

#pagination-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Previous/Next Buttons */
.pagination-prev a,
.pagination-next a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 0.5rem;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.pagination-prev a:hover,
.pagination-next a:hover {
    background-color: var(--brand-accent);
    color: white;
}

/* Page Numbers */
.pagination-page a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 0.5rem;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.pagination-page a:hover {
    background-color: rgba(249, 115, 22, 0.2);
    color: white;
    border-color: var(--brand-accent);
}

.pagination-page a.bg-brand-red,
.pagination-page a.active {
    background-color: var(--brand-accent) !important;
    color: white !important;
    border-color: var(--brand-accent) !important;
}

/* Ellipsis */
.pagination-ellipsis span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 0.5rem;
    color: #6b7280;
}

/* Subpagination */
.pager li a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 0.5rem;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.pager li a:hover {
    background-color: var(--brand-accent);
    color: white;
    border-color: var(--brand-accent);
}
.zindex-full {
    z-index: 99999999;
}
ntvk-tag.ntvk-frame.banner {
    zoom: 0.8;
}