/* New Choice Car Loans – premium blog styling
   Keep this file after the main site style.css. */

.blog-wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.blog-page{--blog-ink:#17172f;--blog-navy:#100f41;--blog-indigo:#252579;--blog-muted:#687087;--blog-line:#e7e8ef;--blog-soft:#f5f6fa}
.blog-page .blog-site-header{position:relative;z-index:20}
.blog-page .blog-site-header .bar{min-height:76px;padding-top:8px;padding-bottom:8px}
.blog-page .blog-site-header .brand{display:flex;align-items:center;max-width:190px}
.blog-page .blog-site-header .brand img{display:block;width:100%;height:auto;max-height:62px;object-fit:contain}
.blog-page .blog-site-header nav{gap:clamp(12px,1.7vw,24px)}
.blog-page .blog-site-header nav>a,.blog-page .blog-site-header .ddb{font-size:13px}
.blog-page .blog-site-header .btn.sm{padding:11px 17px;font-size:12px}

/* Blog listing styles */
.blog-hero{background:linear-gradient(125deg,#100f41,#20205d);color:#fff;padding:68px 0}
.blog-hero .blog-wrap{max-width:1120px}
.blog-kicker{font-size:10px;letter-spacing:2px;font-weight:800;color:#c7c8f1}
.blog-hero h1{font:800 clamp(40px,5.5vw,62px)/1.08 Sora,sans-serif;letter-spacing:-2px;margin:18px 0}
.blog-hero h1 em{font-style:normal;color:#b8baf0}
.blog-hero p{max-width:570px;color:#d6d7e9;font-size:15px;line-height:1.8}
.blog-main{padding-top:48px;padding-bottom:80px}
.blog-feature{display:grid;grid-template-columns:1.05fr 1fr;background:#f3f4f9;text-decoration:none;color:#17172f;min-height:320px;margin-bottom:42px;overflow:hidden}
.blog-feature-image{background:#dfe1ee center/cover no-repeat;min-height:320px}
.blog-feature-copy{padding:34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.blog-tag,.blog-category-label{display:inline-flex;align-items:center;background:#e9e9f6;color:#252579;padding:7px 11px;font-size:10px;letter-spacing:1px;font-weight:800;text-transform:uppercase;border-radius:3px}
.blog-feature-copy small,.blog-card-body small{font-size:11px;color:#7b8092;margin-top:14px}
.blog-feature h2{font:700 27px/1.25 Sora,sans-serif;margin:14px 0}
.blog-feature p,.blog-card p{font-size:13px;line-height:1.8;color:#697087}
.blog-feature-copy>b,.blog-read{font-size:12px;color:#252579;margin-top:10px}
.blog-tools{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:26px;flex-wrap:wrap}
.blog-cats{display:flex;gap:8px;flex-wrap:wrap}
.blog-cats a{font-size:11px;padding:10px 13px;border:1px solid #e1e3ed;color:#525a70;text-decoration:none;border-radius:3px}
.blog-cats a.active,.blog-cats a:hover{background:#100f41;color:#fff;border-color:#100f41}
.blog-search{display:flex;gap:6px}
.blog-search input{border:1px solid #e1e3ed;padding:11px 12px;font:12px Inter,Arial;min-width:190px;border-radius:3px}
.blog-search button{border:0;background:#100f41;color:#fff;padding:0 16px;font-size:11px;border-radius:3px}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.blog-card{border:1px solid #e7e8ef;background:#fff;min-width:0;transition:transform .2s ease,box-shadow .2s ease}
.blog-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(16,15,65,.08)}
.blog-card-image{display:block;height:190px;background:#e9eaf2 center/cover no-repeat}
.blog-card-body{padding:22px}
.blog-card-body small{display:block}
.blog-card h3{font:700 18px/1.35 Sora,sans-serif;margin:12px 0}
.blog-card h3 a{color:#17172f;text-decoration:none}
.blog-card p{min-height:62px}
.blog-read{display:inline-block;text-decoration:none;font-weight:800}

/* Premium article page */
.blog-article-page{background:#fff}
.blog-article-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 85% 10%,rgba(119,123,200,.25),transparent 34%),linear-gradient(125deg,#100f41 0%,#1c1b58 58%,#252579 100%);color:#fff;padding:48px 0 56px}
.blog-article-hero:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-110px;bottom:-230px;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.02);pointer-events:none}
.blog-article-hero-inner{position:relative;z-index:1;max-width:1000px}
.blog-breadcrumbs{display:flex;gap:10px;align-items:center;color:#c6c8eb;font-size:12px;margin-bottom:26px}
.blog-breadcrumbs a{color:#fff;text-decoration:none}
.blog-breadcrumbs a:hover{text-decoration:underline}
.blog-article-hero .blog-category-label{background:rgba(255,255,255,.12);color:#d8d9ff;border:1px solid rgba(255,255,255,.18)}
.blog-article-hero h1{font:800 clamp(32px,4.4vw,52px)/1.14 Sora,sans-serif;letter-spacing:-1.5px;max-width:900px;margin:18px 0 14px;color:#fff}
.blog-article-summary{max-width:780px;color:#d9daec;font:400 15px/1.85 Inter,sans-serif;margin:0}
.blog-article-byline{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;color:#c9cbea;font-size:11px}
.blog-article-byline span+span{position:relative}
.blog-article-byline span+span:before{content:"";position:absolute;left:-12px;top:4px;width:3px;height:3px;border-radius:50%;background:#9295d5}
.blog-article-layout{display:grid;grid-template-columns:minmax(0,790px) 270px;gap:42px;align-items:start;padding-top:42px;padding-bottom:90px}
.blog-article{min-width:0;color:#33394a}
.blog-cover-wrap{margin:0 0 34px;border-radius:7px;overflow:hidden;background:#f0f1f7}
.blog-article .blog-cover{display:block;width:100%;height:auto;max-height:440px;object-fit:cover;margin:0}
.blog-content{font:400 15px/1.9 Inter,Arial,sans-serif;color:#42485a;overflow-wrap:anywhere}
.blog-content>*:first-child{margin-top:0}
.blog-content p{margin:0 0 21px}
.blog-content h1,.blog-content h2,.blog-content h3,.blog-content h4{font-family:Sora,Inter,sans-serif;letter-spacing:-.45px;line-height:1.3;color:#100f41}
.blog-content h1{font-size:30px;margin:38px 0 17px}
.blog-content h2{font-size:25px;margin:42px 0 16px;padding-bottom:11px;border-bottom:1px solid #ececf3}
.blog-content h3{font-size:19px;margin:30px 0 12px;color:#252579}
.blog-content h4{font-size:16px;margin:24px 0 10px}
.blog-content ul,.blog-content ol{padding-left:25px;margin:0 0 24px}
.blog-content li{padding-left:4px;margin:8px 0}
.blog-content li::marker{color:#777bc8}
.blog-content a{color:#34348a;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.blog-content a:hover{color:#100f41}
.blog-content strong,.blog-content b{color:#242544;font-weight:700}
.blog-content img{max-width:100%;height:auto;border-radius:6px}
.blog-content figure{margin:28px 0}
.blog-content figcaption{font-size:12px;color:#7b8092;margin-top:8px}
.blog-content blockquote{border-left:3px solid #777bc8;margin:28px 0;padding:17px 22px;background:#f6f6fb;color:#4b5063;border-radius:0 5px 5px 0}
.blog-content hr{border:0;border-top:1px solid #e7e8ef;margin:35px 0}
.blog-content table{width:100%;border-collapse:collapse;margin:28px 0;font-size:13px;line-height:1.6}
.blog-content th,.blog-content td{border:1px solid #e2e4ed;padding:13px 14px;text-align:left;vertical-align:top}
.blog-content th{background:#f1f2f8;color:#100f41;font-weight:700}
.blog-content tr:nth-child(even) td{background:#fafaff}
.blog-content iframe{max-width:100%}
.blog-import-prompt{padding:26px;background:#f5f6fa;border:1px solid #e6e7f0;border-left:4px solid #252579;border-radius:5px}
.blog-import-prompt h2{margin-top:0}
.blog-article-end{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #e8e9f0;margin-top:45px;padding-top:20px}
.blog-article-end span{font-size:9px;letter-spacing:1.7px;font-weight:800;color:#969bad}
.blog-article-end a{font-size:12px;color:#252579;text-decoration:none;font-weight:700}
.blog-sidebar{position:sticky;top:24px}
.blog-sidebar-card{padding:25px 23px;background:linear-gradient(145deg,#100f41,#252579);color:#fff;border-radius:7px;box-shadow:0 14px 35px rgba(16,15,65,.12)}
.blog-sidebar-kicker{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#c7c8f1}
.blog-sidebar-card h2{font:700 22px/1.3 Sora,sans-serif;color:#fff;margin:15px 0 12px}
.blog-sidebar-card p{font-size:12px;line-height:1.8;color:#d9daec;margin:0 0 20px}
.blog-button{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#100f41!important;text-decoration:none!important;font-size:11px;font-weight:800;padding:12px 16px;border-radius:4px;transition:background .2s ease}
.blog-button:hover{background:#e9e9f6}
.blog-sidebar-phone{display:block;color:#e1e2fa;font-size:12px;text-decoration:none;margin-top:17px}
.blog-sidebar-note{padding:22px 20px;margin-top:16px;border:1px solid #e7e8ef;border-radius:6px}
.blog-sidebar-note strong{font:700 14px Sora,sans-serif;color:#17172f}
.blog-sidebar-note p{font-size:12px;line-height:1.75;color:#73798c;margin:9px 0 12px}
.blog-sidebar-note a{font-size:11px;font-weight:800;color:#252579;text-decoration:none}
.blog-notfound{padding-top:90px;padding-bottom:100px;min-height:45vh}
.blog-notfound .blog-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#777bc8}
.blog-notfound h1{font:800 clamp(32px,4vw,48px)/1.2 Sora,sans-serif;color:#100f41;margin:16px 0}
.blog-notfound p{color:#687087;line-height:1.8}
.blog-notfound .blog-button{background:#100f41;color:#fff!important;margin-top:12px}

@media(max-width:980px){
  .blog-article-layout{grid-template-columns:minmax(0,1fr) 245px;gap:26px}
  .blog-page .blog-site-header .brand{max-width:165px}
}
@media(max-width:760px){
  .blog-article-layout{grid-template-columns:1fr;padding-top:30px}
  .blog-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .blog-sidebar-note{margin-top:0}
  .blog-feature{grid-template-columns:1fr}
  .blog-feature-image{min-height:230px}
  .blog-feature-copy{padding:25px}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blog-article-hero{padding:36px 0 42px}
}
@media(max-width:560px){
  .blog-wrap{width:min(100% - 32px,1120px)}
  .blog-page .blog-site-header .bar{min-height:66px}
  .blog-page .blog-site-header .brand{max-width:145px}
  .blog-page .blog-site-header .brand img{max-height:50px}
  .blog-hero{padding:48px 0}
  .blog-hero h1{letter-spacing:-1.2px}
  .blog-grid{grid-template-columns:1fr}
  .blog-card-image{height:210px}
  .blog-tools{align-items:stretch}
  .blog-search{width:100%}
  .blog-search input{flex:1;min-width:0}
  .blog-feature-copy{padding:22px}
  .blog-article-hero h1{font-size:32px;letter-spacing:-.8px}
  .blog-article-summary{font-size:14px}
  .blog-article-layout{padding-bottom:60px}
  .blog-content{font-size:14px;line-height:1.85}
  .blog-content h2{font-size:22px;margin-top:34px}
  .blog-content h3{font-size:18px}
  .blog-content table{display:block;overflow-x:auto;white-space:normal}
  .blog-sidebar{grid-template-columns:1fr}
  .blog-article-end{align-items:flex-start;flex-direction:column}
}

/* ===== Compact header & footer on blog pages ===== */
.blog-page .blog-site-header .bar{min-height:66px}
.blog-page .blog-site-header .brand{max-width:150px}
.blog-page .blog-site-header .brand img{max-height:50px}
.blog-page .blog-site-header nav>a,.blog-page .blog-site-header .ddb{font-size:14px}
.blog-page .foot{padding:40px 0 18px;font-size:14px}
.blog-page .foot .fgrid{gap:28px}
.blog-page .foot .flogo{width:130px;padding:5px 9px;margin-bottom:10px}
.blog-page .foot p{margin:0 0 8px;font-size:13px;line-height:1.6}
.blog-page .foot h3{font-size:.9rem;margin-bottom:.6em}
.blog-page .foot .fgrid a,.blog-page .foot .fgrid span{font-size:13px;margin-bottom:5px}
.blog-page .foot .soc a{width:34px;height:34px}
.blog-page .foot .legal{margin-top:24px;padding-top:14px;font-size:11px;line-height:1.6}

/* ===== Article reading experience ===== */
.blog-article-layout{grid-template-columns:minmax(0,760px) 290px;gap:56px;justify-content:center}
.blog-content{font-size:17px;line-height:1.85;color:#3b4254}
.blog-content p{margin:0 0 22px}
.blog-content h2{font-size:28px;margin:54px 0 18px;padding-bottom:12px;scroll-margin-top:24px}
.blog-content h3{font-size:20px;margin:34px 0 12px;scroll-margin-top:24px}
.blog-content .toc,.blog-content .takeaways{border-radius:12px;padding:24px 28px;margin:30px 0}
.blog-content .toc{background:#f5f6fa;border:1px solid #e4e6f0}
.blog-content .takeaways{background:linear-gradient(145deg,#f1f1fb,#fafaff);border:1px solid #dcdcf3;border-left:4px solid #252579}
.blog-content .toc-title,.blog-content .takeaways-title{font:800 11px Sora,sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:#252579;margin-bottom:12px}
.blog-content .toc ol{margin:0;padding-left:22px;columns:2;column-gap:32px}
.blog-content .toc li{font-size:15px;line-height:1.5;margin:6px 0;break-inside:avoid}
.blog-content .toc a{text-decoration:none}
.blog-content .takeaways ul{margin:0}
.blog-content .takeaways li{font-size:16px;line-height:1.65}
.blog-content .table-wrap{overflow-x:auto;margin:28px 0;border:1px solid #e2e4ed;border-radius:10px;-webkit-overflow-scrolling:touch}
.blog-content .table-wrap table{margin:0;min-width:560px;font-size:14px}
.blog-content .table-wrap th:first-child,.blog-content .table-wrap td:first-child{border-left:0}
.blog-content .table-wrap th,.blog-content .table-wrap td{border-top:0}
.blog-content .author-note{font-size:14px;color:#6a7086;padding:14px 18px;background:#f7f7fb;border-radius:8px;border:1px solid #ececf3}
.blog-content .disclaimer{font-size:13px;color:#7b8092;border-top:1px solid #e7e8ef;padding-top:18px;margin-top:34px}
.blog-content ul.sources{font-size:14px;line-height:1.7;color:#5a6075}
.blog-content ul.sources li{margin:6px 0}
.blog-cover-wrap{border-radius:12px;box-shadow:0 18px 40px -26px rgba(16,15,65,.4)}
.blog-article .blog-cover{max-height:420px}
.blog-sidebar{top:20px}
@media(max-width:980px){.blog-article-layout{grid-template-columns:1fr;gap:32px}.blog-sidebar{position:static}}
@media(max-width:560px){
  .blog-content{font-size:16px;line-height:1.8}
  .blog-content h2{font-size:23px;margin-top:40px}
  .blog-content .toc,.blog-content .takeaways{padding:18px 18px;margin:24px 0}
  .blog-content .toc ol{columns:1}
  .blog-page .foot{padding:32px 0 14px}
  .blog-page .foot .fgrid{grid-template-columns:1fr 1fr;gap:20px}
}

/* ===== Original-style article extras ===== */
.blog-article-layout{grid-template-columns:minmax(0,1fr) 320px;gap:48px;max-width:1180px}
.blog-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;display:flex;flex-direction:column;gap:16px;scrollbar-width:thin}
.blog-author{border:1px solid #e7e8ef;border-radius:12px;padding:20px;background:#fff;display:grid;grid-template-columns:56px 1fr;gap:4px 14px;align-items:center}
.blog-author img{width:56px;height:56px;border-radius:50%;object-fit:cover;grid-row:span 1}
.blog-author b{display:block;font:700 15px Sora,sans-serif;color:#17172f}.blog-author small{color:#7b8092;font-size:12px}
.blog-author p{grid-column:1/-1;margin:10px 0 0;font-size:13px;line-height:1.7;color:#687087}
.blog-toc{border:1px solid #e7e8ef;border-radius:12px;padding:18px 20px;background:#fafaff}
.blog-toc-title{font:800 11px Sora,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#252579;margin-bottom:10px}
.blog-toc ul{list-style:none;margin:0;padding:0}.blog-toc li{margin:0}
.blog-toc a{display:block;padding:7px 0 7px 12px;border-left:2px solid #e1e3ef;font-size:13px;line-height:1.45;color:#525a70;text-decoration:none}
.blog-toc a:hover{color:#100f41;border-left-color:#252579}
.blog-sidebar-card ul{list-style:none;padding:0;margin:0 0 20px}.blog-sidebar-card li{font-size:13px;color:#e1e2fa;padding:4px 0 4px 22px;position:relative}
.blog-sidebar-card li::before{content:"✓";position:absolute;left:0;color:#9fa3ff}
.blog-topics{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:34px;padding-top:20px;border-top:1px solid #e8e9f0}
.blog-topics span{font:800 11px Sora,sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:#969bad;margin-right:4px}
.blog-topics b{font-size:12px;font-weight:600;background:#eef0fa;color:#252579;padding:6px 12px;border-radius:999px}
.blog-apply{padding:80px 0}.blog-apply .eyebrow{font-size:.8rem}.blog-apply h2{margin-bottom:.4em}
.blog-page .lenders{background:#fff}
@media(max-width:980px){.blog-article-layout{grid-template-columns:1fr;gap:28px}.blog-sidebar{position:static;max-height:none;overflow:visible}.blog-toc{display:none}.blog-apply-grid{gap:30px}}
