/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
:root{--cream:#F5F0E8;--charcoal:#2D2D2D;--orange:#FF5722;--navy:#1A237E;--white:#FFFFFF;--cream-dark:#EDE8DC;--orange-light:#FF7043;--navy-light:#283593}
html{scroll-behavior:smooth}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;color:var(--charcoal);background:var(--cream);line-height:1.75;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{transition:color .3s}

.site-header{background:var(--navy);position:sticky;top:0;z-index:100}
.header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem}
.logo{color:var(--cream);font-size:1.8rem;font-weight:700;text-decoration:none;letter-spacing:3px;text-transform:uppercase;font-family:'Trebuchet MS',system-ui,sans-serif}
.logo span{color:var(--orange)}
.nav-links{list-style:none;display:flex;gap:2rem}
.nav-links a{color:var(--cream);text-decoration:none;font-size:.85rem;text-transform:uppercase;letter-spacing:2px;font-family:'Trebuchet MS',system-ui,sans-serif;position:relative}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--orange);transition:width .3s}
.nav-links a:hover{color:var(--orange)}
.nav-links a:hover::after{width:100%}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.burger span{display:block;width:28px;height:3px;background:var(--cream);margin:5px 0;transition:.3s;border-radius:2px}

.cat-bar{background:var(--cream-dark);padding:1rem 2rem;overflow-x:auto}
.cat-bar-inner{max-width:1280px;margin:0 auto;display:flex;gap:1.5rem;align-items:center}
.cat-link{color:var(--charcoal);text-decoration:none;font-size:.8rem;text-transform:uppercase;letter-spacing:2px;font-family:'Trebuchet MS',system-ui,sans-serif;white-space:nowrap;padding:.3rem 0;border-bottom:2px solid transparent;transition:all .3s}
.cat-link:hover,.cat-link.active{color:var(--orange);border-bottom-color:var(--orange)}

.hero-split{display:grid;grid-template-columns:1fr 1fr;min-height:85vh}
.hero-text{padding:4rem 3rem;display:flex;flex-direction:column;justify-content:center;background:var(--cream)}
.hero-badge{display:inline-block;background:var(--orange);color:var(--white);padding:.4rem 1.2rem;font-size:.7rem;letter-spacing:3px;text-transform:uppercase;font-family:'Trebuchet MS',system-ui,sans-serif;margin-bottom:2rem;align-self:flex-start}
.hero-title{font-size:3rem;line-height:1.15;color:var(--navy);margin-bottom:1.5rem}
.hero-subtitle{font-size:1.1rem;color:var(--charcoal);max-width:480px;margin-bottom:2rem;line-height:1.7}
.hero-author{font-size:.8rem;color:var(--charcoal);opacity:.7;font-family:'Trebuchet MS',system-ui,sans-serif;text-transform:uppercase;letter-spacing:1px}
.hero-image{background:var(--navy);position:relative;overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-image-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(26,35,126,.3),transparent)}

.content-with-sidebar{display:grid;grid-template-columns:2fr 1fr;gap:3rem;max-width:1280px;margin:0 auto;padding:4rem 2rem}
.sidebar-box{background:var(--white);padding:2rem;margin-bottom:2rem;border-left:4px solid var(--orange)}
.sidebar-box h3{font-size:.9rem;text-transform:uppercase;letter-spacing:2px;color:var(--navy);margin-bottom:1rem;font-family:'Trebuchet MS',system-ui,sans-serif}
.sidebar-list{list-style:none}
.sidebar-list li{padding:.8rem 0;border-bottom:1px solid var(--cream-dark)}
.sidebar-list li:last-child{border-bottom:none}
.sidebar-list a{color:var(--charcoal);text-decoration:none;font-size:.95rem;transition:color .3s}
.sidebar-list a:hover{color:var(--orange)}
.sidebar-tag-cloud{display:flex;flex-wrap:wrap;gap:.5rem}
.sidebar-tag{background:var(--cream-dark);color:var(--charcoal);padding:.3rem .8rem;font-size:.75rem;text-decoration:none;font-family:'Trebuchet MS',system-ui,sans-serif;letter-spacing:1px;transition:all .3s;text-transform:uppercase}
.sidebar-tag:hover{background:var(--orange);color:var(--white)}

.article-text{margin-bottom:2rem}
.article-text h2{font-size:1.7rem;color:var(--navy);margin-bottom:1rem;position:relative;padding-left:1rem}
.article-text h2::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--orange)}
.article-text p{margin-bottom:1.2rem}
.section-label{display:inline-block;background:var(--navy);color:var(--cream);padding:.3rem 1rem;font-size:.65rem;letter-spacing:3px;text-transform:uppercase;font-family:'Trebuchet MS',system-ui,sans-serif;margin-bottom:1.5rem}
.orange-line{width:60px;height:4px;background:var(--orange);margin-bottom:1.5rem}

.float-quote{background:var(--navy);color:var(--cream);padding:2.5rem 2.5rem 2.5rem 3.5rem;margin:3rem 0;position:relative}
.float-quote::before{content:'\201C';font-size:5rem;color:var(--orange);position:absolute;top:-.5rem;left:1rem;font-family:Georgia,serif;line-height:1}
.float-quote p{font-size:1.2rem;font-style:italic;line-height:1.6}
.float-quote cite{display:block;margin-top:1rem;font-size:.8rem;color:var(--orange);font-style:normal;text-transform:uppercase;letter-spacing:2px;font-family:'Trebuchet MS',system-ui,sans-serif}

.zigzag{display:grid;grid-template-columns:1fr 1fr;gap:0}
.zigzag-text{padding:4rem 3rem;display:flex;flex-direction:column;justify-content:center}
.zigzag-text h2{font-size:1.8rem;color:var(--navy);margin-bottom:1rem}
.zigzag-text p{margin-bottom:1rem;line-height:1.7}
.zigzag-visual{background:var(--navy);min-height:400px;position:relative;overflow:hidden}
.zigzag-visual img{width:100%;height:100%;object-fit:cover;opacity:.85}
.zigzag.reverse .zigzag-text{order:2}
.zigzag.reverse .zigzag-visual{order:1}

.card-grid-section{background:var(--white);padding:4rem 2rem}
.card-grid-inner{max-width:1280px;margin:0 auto}
.card-grid-title{text-align:center;font-size:2rem;color:var(--navy);margin-bottom:.5rem}
.card-grid-subtitle{text-align:center;font-size:.95rem;color:var(--charcoal);opacity:.7;margin-bottom:3rem;font-family:'Trebuchet MS',system-ui,sans-serif}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem}
.card{background:var(--cream);padding:2rem;transition:transform .3s,box-shadow .3s}
.card:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.card-icon{font-size:2.2rem;margin-bottom:1rem}
.card h3{font-size:1.05rem;color:var(--navy);margin-bottom:.8rem}
.card p{font-size:.92rem;line-height:1.6}

.stagger-section{max-width:1280px;margin:0 auto;padding:4rem 2rem}
.stagger-section>h2{font-size:1.8rem;color:var(--navy);margin-bottom:2rem;text-align:center}
.stagger-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.stagger-block{padding:2rem}
.stagger-block:nth-child(even){margin-top:3rem}
.stagger-block.accent{background:var(--orange);color:var(--white);padding:2.5rem}
.stagger-block.accent h3{color:var(--white)}
.stagger-block.bordered{border:3px solid var(--navy);padding:2.5rem}
.stagger-block h3{font-size:1.2rem;color:var(--navy);margin-bottom:1rem}
.stagger-block p{line-height:1.7}

.highlight-box{background:linear-gradient(135deg,var(--orange),var(--orange-light));color:var(--white);padding:3rem;margin:3rem 0;position:relative;overflow:hidden}
.highlight-box::after{content:'';position:absolute;top:-50%;right:-15%;width:300px;height:300px;background:rgba(255,255,255,.08);border-radius:50%}
.highlight-box h3{font-size:1.4rem;margin-bottom:1rem}
.highlight-box p{font-size:1rem;line-height:1.7;max-width:700px;position:relative;z-index:1}

.full-band{background:var(--cream-dark);padding:3rem 2rem;text-align:center}
.full-band p{max-width:800px;margin:0 auto;font-size:1.15rem;line-height:1.7;font-style:italic;color:var(--navy)}

.newsletter-section{background:var(--navy);padding:4rem 2rem;text-align:center}
.newsletter-inner{max-width:600px;margin:0 auto}
.newsletter-section h2{color:var(--cream);font-size:2rem;margin-bottom:.5rem}
.newsletter-section p{color:var(--cream);opacity:.8;margin-bottom:2rem;font-size:1rem}
.newsletter-form{display:flex;gap:0;max-width:480px;margin:0 auto}
.newsletter-form input[type="email"]{flex:1;padding:1rem 1.2rem;border:2px solid var(--cream);background:transparent;color:var(--cream);font-size:1rem;font-family:Georgia,serif;outline:none}
.newsletter-form input[type="email"]::placeholder{color:rgba(245,240,232,.5)}
.newsletter-form button{background:var(--orange);color:var(--white);border:none;padding:1rem 2rem;font-size:.8rem;text-transform:uppercase;letter-spacing:2px;font-family:'Trebuchet MS',system-ui,sans-serif;cursor:pointer;transition:background .3s;min-height:44px;min-width:44px}
.newsletter-form button:hover{background:var(--orange-light)}

.related-section{max-width:1280px;margin:0 auto;padding:4rem 2rem}
.related-section>h2{font-size:1.8rem;color:var(--navy);margin-bottom:2rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.related-card{background:var(--white);transition:transform .3s,box-shadow .3s;overflow:hidden}
.related-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.related-card-body{padding:1.5rem}
.related-card-cat{font-size:.7rem;text-transform:uppercase;letter-spacing:2px;color:var(--orange);font-family:'Trebuchet MS',system-ui,sans-serif;margin-bottom:.5rem}
.related-card h3{font-size:1.05rem;color:var(--navy);margin-bottom:.5rem}
.related-card h3 a{color:inherit;text-decoration:none;transition:color .3s}
.related-card h3 a:hover{color:var(--orange)}
.related-card p{font-size:.88rem;line-height:1.5;color:var(--charcoal);opacity:.8}

.site-footer{background:var(--charcoal);color:var(--cream);padding:3rem 2rem 2rem}
.footer-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:2rem}
.footer-col h4{font-size:.8rem;text-transform:uppercase;letter-spacing:2px;margin-bottom:1rem;color:var(--orange);font-family:'Trebuchet MS',system-ui,sans-serif}
.footer-col p{font-size:.85rem;line-height:1.6;opacity:.8}
.footer-links{list-style:none}
.footer-links li{margin-bottom:.5rem}
.footer-links a{color:var(--cream);text-decoration:none;font-size:.85rem;opacity:.8;transition:opacity .3s,color .3s}
.footer-links a:hover{opacity:1;color:var(--orange)}
.footer-bottom{max-width:1280px;margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid rgba(245,240,232,.15);text-align:center;font-size:.78rem;opacity:.6}

.cookie-toggle{display:none}
.cookie-banner{position:fixed;bottom:1.5rem;right:1.5rem;background:var(--white);padding:1.5rem;max-width:380px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:200;border-left:4px solid var(--orange)}
.cookie-banner p{font-size:.85rem;margin-bottom:1rem;line-height:1.5}
.cookie-banner a{color:var(--orange)}
.cookie-actions{display:flex;gap:.8rem;flex-wrap:wrap}
.cookie-accept,.cookie-reject{padding:.6rem 1.2rem;font-size:.78rem;text-transform:uppercase;letter-spacing:1px;cursor:pointer;font-family:'Trebuchet MS',system-ui,sans-serif;border:none;min-height:44px;display:inline-flex;align-items:center;transition:background .3s}
.cookie-accept{background:var(--orange);color:var(--white)}
.cookie-accept:hover{background:var(--orange-light)}
.cookie-reject{background:var(--cream-dark);color:var(--charcoal)}
.cookie-toggle:checked~.cookie-banner{display:none}

.legal-page{max-width:800px;margin:0 auto;padding:4rem 2rem}
.legal-page h1{font-size:2.2rem;color:var(--navy);margin-bottom:2rem}
.legal-page h2{font-size:1.2rem;color:var(--navy);margin-top:2rem;margin-bottom:1rem}
.legal-page p{margin-bottom:1rem;font-size:.95rem;line-height:1.7}
.legal-page .legal-date{font-size:.85rem;color:var(--charcoal);opacity:.6;margin-bottom:2rem}

.message-page{max-width:600px;margin:0 auto;padding:6rem 2rem;text-align:center}
.message-page h1{font-size:3rem;color:var(--navy);margin-bottom:1rem}
.message-page .big-number{font-size:8rem;color:var(--orange);font-family:'Trebuchet MS',system-ui,sans-serif;font-weight:700;line-height:1;margin-bottom:1rem}
.message-page p{font-size:1.1rem;margin-bottom:2rem;line-height:1.6}
.message-page .btn{display:inline-block;background:var(--orange);color:var(--white);padding:1rem 2.5rem;text-decoration:none;font-family:'Trebuchet MS',system-ui,sans-serif;text-transform:uppercase;letter-spacing:2px;font-size:.85rem;transition:background .3s;min-height:44px}
.message-page .btn:hover{background:var(--orange-light)}
.message-page .error-links{list-style:none;margin-top:2rem;display:flex;flex-direction:column;gap:.8rem}
.message-page .error-links a{color:var(--navy);text-decoration:none;font-size:.95rem;transition:color .3s}
.message-page .error-links a:hover{color:var(--orange)}

.article-hero{background:var(--navy);padding:5rem 2rem;text-align:center}
.article-hero .hero-badge{margin-bottom:1.5rem}
.article-hero h1{color:var(--cream);font-size:2.5rem;max-width:800px;margin:0 auto 1rem}
.article-hero .hero-meta{color:var(--cream);opacity:.7;font-size:.85rem;font-family:'Trebuchet MS',system-ui,sans-serif}
.article-body{max-width:800px;margin:0 auto;padding:3rem 2rem}
.article-body h2{font-size:1.5rem;color:var(--navy);margin:2.5rem 0 1rem;padding-left:1rem;border-left:4px solid var(--orange)}
.article-body p{margin-bottom:1.2rem}
.article-body .inline-highlight{background:var(--cream-dark);padding:1.5rem 2rem;margin:2rem 0;border-left:4px solid var(--orange)}
.article-body .inline-highlight p{margin-bottom:0;font-style:italic}
.article-image-full{margin:2.5rem 0}
.article-image-full img{width:100%;height:350px;object-fit:cover}
.article-body .tip-list{list-style:none;margin:1.5rem 0}
.article-body .tip-list li{padding:.8rem 0 .8rem 2rem;position:relative;border-bottom:1px solid var(--cream-dark)}
.article-body .tip-list li::before{content:'\2192';position:absolute;left:0;color:var(--orange);font-weight:700}

.section-divider{max-width:1280px;margin:0 auto;padding:0 2rem}
.section-divider hr{border:none;border-top:1px solid var(--cream-dark)}

@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideInRight{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
.fade-in{animation:fadeInUp .8s ease-out both}
.fade-in-d1{animation-delay:.1s}
.fade-in-d2{animation-delay:.2s}
.fade-in-d3{animation-delay:.3s}
.fade-in-d4{animation-delay:.4s}
.slide-left{animation:slideInLeft .8s ease-out both}
.slide-right{animation:slideInRight .8s ease-out both}

@media(max-width:900px){
.hero-split{grid-template-columns:1fr;min-height:auto}
.hero-text{padding:3rem 1.5rem}
.hero-title{font-size:2.2rem}
.hero-image{min-height:50vh}
.content-with-sidebar{grid-template-columns:1fr;padding:2rem 1.5rem}
.zigzag{grid-template-columns:1fr}
.zigzag.reverse .zigzag-text{order:1}
.zigzag.reverse .zigzag-visual{order:2}
.zigzag-text{padding:2rem 1.5rem}
.zigzag-visual{min-height:280px}
.footer-inner{grid-template-columns:1fr}
.related-grid{grid-template-columns:1fr}
.article-hero h1{font-size:1.8rem}
}
@media(max-width:768px){
.burger{display:block}
.nav-links{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--navy);padding:1rem 2rem;gap:1rem}
.nav-links.active{display:flex}
.stagger-grid{grid-template-columns:1fr}
.stagger-block:nth-child(even){margin-top:0}
}
@media(max-width:500px){
.newsletter-form{flex-direction:column}
.newsletter-form button{padding:1rem}
.cookie-banner{left:1rem;right:1rem;max-width:none;bottom:1rem}
}