/* ==========================================
   KEY-AUTO ARTICLE
========================================== */

body{

background:#f7f9fc;

color:#1f2937;

}


/* ==========================================
CONTAINER
========================================== */

.article-container{

max-width:900px;

margin:auto;

padding:0 20px;

}


/* ==========================================
HERO
========================================== */

.article-hero{

padding:70px 0 40px;

background:#fff;

border-bottom:1px solid #e5e7eb;

}


.back-link{

display:inline-block;

margin-bottom:35px;

font-size:16px;

font-weight:600;

color:#2563eb;

text-decoration:none;

transition:.3s;

}

.back-link:hover{

opacity:.8;

}


.article-meta{

display:flex;

gap:20px;

flex-wrap:wrap;

margin-bottom:25px;

font-size:15px;

color:#6b7280;

}


.article-hero h1{

font-size:56px;

line-height:1.15;

font-weight:800;

margin-bottom:25px;

color:#111827;

}


.article-intro{

font-size:22px;

line-height:1.8;

color:#4b5563;

margin-bottom:45px;

}


.article-image{

width:100%;

height:520px;

object-fit:cover;

border-radius:22px;

display:block;

box-shadow:0 20px 60px rgba(0,0,0,.10);

}



/* ==========================================
CONTENT
========================================== */

.article-content{

padding:80px 0;

background:#f7f9fc;

}


.article-content h2{

font-size:38px;

margin-top:70px;

margin-bottom:25px;

color:#111827;

}


.article-content p{

font-size:19px;

line-height:2;

color:#444;

margin-bottom:30px;

}


/* ==========================================
INFO BOX
========================================== */

.article-info{

background:#fff;

padding:35px;

border-radius:18px;

margin-bottom:60px;

box-shadow:0 10px 40px rgba(0,0,0,.06);

}


.article-info h3{

margin-bottom:20px;

font-size:24px;

}


.article-info ul{

padding-left:22px;

}


.article-info li{

font-size:18px;

margin-bottom:14px;

line-height:1.8;

}


/* ==========================================
TIP
========================================== */

.article-tip{

margin:60px 0;

padding:30px;

background:#ecfdf5;

border-left:6px solid #10b981;

border-radius:18px;

font-size:18px;

line-height:1.8;

}


.article-tip strong{

display:block;

margin-bottom:12px;

font-size:22px;

}


/* ==========================================
WARNING
========================================== */

.article-warning{

margin:60px 0;

padding:30px;

background:#fff7ed;

border-left:6px solid #f97316;

border-radius:18px;

font-size:18px;

line-height:1.8;

}


.article-warning strong{

display:block;

margin-bottom:12px;

font-size:22px;

}


/* ==========================================
FAQ
========================================== */

.article-faq{

padding:80px 0;

background:#fff;

}


.article-faq h2{

font-size:40px;

text-align:center;

margin-bottom:50px;

}


/* ==========================================
CTA
========================================== */

.article-cta{

padding:90px 20px;

background:linear-gradient(135deg,#0f172a,#1e3a8a);

text-align:center;

color:#fff;

}


.article-cta h2{

font-size:42px;

margin-bottom:20px;

}


.article-cta p{

font-size:21px;

opacity:.9;

margin-bottom:40px;

}


.article-cta a{

display:inline-block;

padding:18px 42px;

background:#2563eb;

border-radius:60px;

color:#fff;

font-size:22px;

font-weight:700;

text-decoration:none;

transition:.3s;

}


.article-cta a:hover{

transform:translateY(-3px);

}


/* ==========================================
RELATED
========================================== */

.related-posts{

padding:90px 0;

background:#f7f9fc;

}


.related-posts h2{

text-align:center;

font-size:42px;

margin-bottom:50px;

}


.related-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

/* ==========================================
RELATED ARTICLE CARDS
========================================== */

.related-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}

.related-grid .blog-card{

background:#fff;

border-radius:18px;

overflow:hidden;

text-decoration:none;

color:#222;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.3s;

min-height:unset;

height:auto;

}

.related-grid .blog-card:hover{

transform:translateY(-6px);

box-shadow:0 18px 45px rgba(0,0,0,.15);

}

.related-grid .blog-image{

height:180px;

}

.related-grid .blog-image img{

width:100%;

height:100%;

object-fit:cover;

display:block;

}

.related-grid .blog-content{

padding:20px;

}

.related-grid .blog-content h2{

font-size:21px;

line-height:1.4;

margin:0 0 12px;

min-height:auto;

}

.related-grid .blog-content p{

font-size:15px;

line-height:1.7;

margin:0;

color:#666;

}

/* ==========================================
RESPONSIVE
========================================== */
@media(max-width:1000px){

.related-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:700px){

.related-grid{

grid-template-columns:1fr;

}

.related-grid .blog-image{

height:220px;

}

}

@media(max-width:900px){

.article-hero h1{

font-size:38px;

}

.article-intro{

font-size:18px;

}

.article-image{

height:320px;

}



}


@media(max-width:600px){

.article-hero{

padding-top:40px;

}

.article-hero h1{

font-size:30px;

}

.article-content h2{

font-size:28px;

}

.article-content p{

font-size:17px;

}

.article-cta h2{

font-size:30px;

}

.article-cta p{

font-size:18px;

}

}

.reading-progress{

position:fixed;

top:0;

left:0;

height:4px;

width:0;

background:#2563eb;

z-index:9999;

transition:.1s;

}

.table-of-contents{

margin:30px 20px;

padding:25px;

}

.table-of-contents h3{

font-size:22px;

}

.table-of-contents a{

font-size:16px;

padding:12px 15px;

}


/* ==========================================
TABLE OF CONTENTS
========================================== */

.table-of-contents{

max-width:900px;

margin:50px auto;

padding:35px;

background:#fff;

border-radius:18px;

box-shadow:0 10px 40px rgba(0,0,0,.06);

}

.table-of-contents h3{

font-size:28px;

margin-bottom:25px;

color:#111827;

}

.table-of-contents ul{

list-style:none;

padding:0;

margin:0;

}

.table-of-contents li{

margin-bottom:15px;

}

.table-of-contents li:last-child{

margin-bottom:0;

}

.table-of-contents a{

display:block;

padding:14px 18px;

background:#f7f9fc;

border-radius:12px;

text-decoration:none;

color:#2563eb;

font-size:18px;

font-weight:600;

transition:.3s;

}

.table-of-contents a:hover{

background:#2563eb;

color:#fff;

transform:translateX(6px);

}


