/* dealers.usednc.com - FAQ article shared stylesheet
   Used by every page in /faq/. Edit here to update all articles at once. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #212121; background: #fff; font-size: 1.12rem; line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:root {
    --navy: #13365d;
    --navy-dark: #0a1e3a;
    --cta: #22c55e;
    --cta-dark: #16a34a;
    --red: #cd2343;
    --blue: #2196f3;
    --amber: #f59e0b;
    --amber-bg: #fef3c7;
    --gray-100: #f5f5f5;
    --gray-200: #eee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --text: #212121;
    --text-mid: #555;
}

/* -- Top Bar -- */
.dl-topbar { background: var(--navy); padding: 0.85rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.dl-topbar .c { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.dl-topbar-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.dl-topbar-logo img { height: 36px; }
.dl-topbar-logo span { font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.dl-topbar-msg { font-size: 0.82rem; font-weight: 700; color: #fff; text-align: center; }
.dl-topbar-msg span { color: var(--cta); }
.dl-topbar-cta { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 800; color: #fff; background: var(--cta); padding: 0.55rem 1.4rem; border-radius: 999px; text-decoration: none; transition: background 0.2s ease; }
.dl-topbar-cta:hover { background: var(--cta-dark); }

/* -- Breadcrumb -- */
.dl-crumb { background: var(--gray-100); border-bottom: 1px solid var(--gray-300); padding: 0.85rem 0; font-size: 0.85rem; }
.dl-crumb .c { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; color: var(--text-mid); }
.dl-crumb a { color: var(--text-mid); text-decoration: none; transition: color 0.15s; }
.dl-crumb a:hover { color: var(--cta-dark); }
.dl-crumb span { color: var(--gray-400); margin: 0 0.5rem; }

/* -- Article head -- */
.dl-art-head { padding: 3rem 0 1.5rem; }
.dl-art-head .c { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.dl-art-category { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cta-dark); margin-bottom: 1rem; }
.dl-art-head h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.9rem, 4.5vw, 2.75rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.dl-art-meta { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0; }
.dl-art-meta span { color: var(--text-mid); font-weight: 600; }

/* -- Article body -- */
.dl-art-body { padding: 1rem 0 3rem; }
.dl-art-body .c { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.dl-art-answer { font-size: 1.22rem; line-height: 1.65; color: var(--text); padding: 1.5rem 1.75rem; background: var(--gray-100); border-left: 4px solid var(--cta); border-radius: 0 10px 10px 0; margin-bottom: 2.5rem; font-weight: 500; }
.dl-art-answer strong { color: var(--navy); font-weight: 800; }
.dl-art-body h2 { font-family: 'Poppins', sans-serif; font-size: 1.55rem; font-weight: 800; color: var(--navy); margin: 2.5rem 0 1rem; line-height: 1.25; }
.dl-art-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; line-height: 1.3; }
.dl-art-body p { margin-bottom: 1.25rem; color: var(--text); }
.dl-art-body p strong { color: var(--navy); font-weight: 700; }
.dl-art-body ul, .dl-art-body ol { margin: 0 0 1.5rem 1.5rem; }
.dl-art-body li { padding: 0.2rem 0; color: var(--text); }
.dl-art-body a { color: var(--cta-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dl-art-body a:hover { color: var(--navy); }

/* -- Comparison tables (used on UsedNC vs X pages) -- */
.dl-art-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.98rem; }
.dl-art-body table th, .dl-art-body table td { padding: 0.85rem 0.95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-300); }
.dl-art-body table thead th { background: var(--navy); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; border-bottom: none; }
.dl-art-body table thead th:first-child { background: var(--navy-dark); }
.dl-art-body table tbody td:first-child { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); background: var(--gray-100); width: 30%; }
.dl-art-body table tbody tr:hover td:not(:first-child) { background: rgba(34,197,94,0.05); }
@media (max-width: 768px) {
    .dl-art-body table { font-size: 0.85rem; }
    .dl-art-body table th, .dl-art-body table td { padding: 0.55rem 0.5rem; }
    .dl-art-body table tbody td:first-child { width: 35%; }
}

/* -- Callouts (NC + KGI). Inline with the article. Only the heading is colored. -- */
.dl-callout { margin: 0; }
.dl-callout.is-nc h2 { color: var(--blue); }
.dl-callout.is-kgi h2 { color: #b45309; }
.dl-kgi-cta { display: inline-block; margin-top: 0.5rem; color: var(--cta-dark); font-weight: 700; text-decoration: none; }
.dl-kgi-cta:hover { text-decoration: underline; }

/* -- Related questions -- */
.dl-related { padding: 3.5rem 0; background: var(--gray-100); border-top: 1px solid var(--gray-300); }
.dl-related .c { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.dl-related-head { text-align: center; margin-bottom: 2rem; }
.dl-related-head .label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.dl-related-head h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; color: var(--navy); }
.dl-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.dl-related-card { background: #fff; border: 1px solid var(--gray-300); border-radius: 10px; padding: 1.5rem; text-decoration: none; color: inherit; transition: all 0.2s ease; display: flex; flex-direction: column; }
.dl-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); border-color: var(--cta); }
.dl-related-card .tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.dl-related-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 0.75rem; flex-grow: 1; }
.dl-related-card .arrow { font-size: 0.82rem; font-weight: 700; color: var(--cta-dark); }

/* -- Bottom CTA -- */
.dl-cta { padding: 4.5rem 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); text-align: center; }
.dl-cta .c { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.dl-cta h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.dl-cta p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 1.75rem; }
.dl-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.1rem; padding: 0.95rem 2.1rem; border-radius: 999px; text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none; }
.dl-btn-primary { background: var(--cta); color: #fff; box-shadow: 0 4px 15px rgba(34,197,94,0.25); }
.dl-btn-primary:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(34,197,94,0.35); }

/* -- Footer -- */
.dl-footer { background: var(--navy-dark); padding: 2.5rem 0; text-align: center; }
.dl-footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.dl-footer-logo img { height: 32px; }
.dl-footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.dl-footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; }
.dl-footer-links a:hover { color: rgba(255,255,255,0.8); }
.dl-footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* -- Responsive -- */
@media (max-width: 768px) {
    .dl-art-head { padding: 2rem 0 1rem; }
    .dl-art-answer { font-size: 1.1rem; padding: 1.25rem 1.4rem; }
    .dl-art-body h2 { font-size: 1.35rem; }
    .dl-related-grid { grid-template-columns: 1fr; }
    .dl-topbar-logo span { display: none; }
    .dl-topbar-msg { display: none; }
}
