/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;600;700&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Nunito Sans',sans-serif;color:#111;background:#fff;line-height:1.75;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}

/* COOKIE BANNER */
#cookie-close{display:none}
#cookie-close:checked~.cookie-banner{display:none}
.cookie-banner{position:fixed;bottom:20px;right:20px;max-width:380px;background:#111;color:#ccc;padding:22px 26px;z-index:9999;font-size:.84rem;line-height:1.6;border:1px solid #333;display:block}
.cookie-banner p{margin-bottom:14px}
.cookie-banner a{color:#fff;text-decoration:underline}
.cookie-btns{display:flex;gap:10px}
.cookie-btns label,.cookie-btns a{padding:8px 18px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;text-decoration:none;text-align:center;transition:all .2s}
.cookie-accept{background:#fff;color:#111}
.cookie-accept:hover{background:#e0e0e0}
.cookie-reject{background:transparent;color:#999;border:1px solid #555}
.cookie-reject:hover{color:#fff;border-color:#fff}

/* HEADER */
.w-header{background:#fff;border-bottom:1px solid #e5e5e5;position:sticky;top:0;z-index:200}
.w-header-inner{max-width:1140px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:62px}
.w-logo{font-family:'Lora',serif;font-size:1.7rem;font-weight:700;color:#111;letter-spacing:-.03em}
.w-logo span{font-weight:400;color:#999}
.w-nav{display:flex;gap:28px;align-items:center}
.w-nav a{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:#555;transition:color .25s;position:relative}
.w-nav a::after{content:'';position:absolute;bottom:-3px;left:0;width:0;height:1px;background:#111;transition:width .3s}
.w-nav a:hover::after{width:100%}
.w-nav a:hover{color:#111}
.w-burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:none}
.w-burger span{width:22px;height:1.5px;background:#111;transition:all .3s}

/* HERO */
.w-hero{max-width:1140px;margin:0 auto;padding:48px 24px 0;display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.w-hero-tag{display:inline-block;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#999;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #e5e5e5;width:100%}
.w-hero h1{font-family:'Lora',serif;font-size:2.6rem;line-height:1.18;color:#111;margin-bottom:18px;letter-spacing:-.02em}
.w-hero-lead{font-size:1.08rem;color:#555;line-height:1.8;margin-bottom:24px}
.w-hero-meta{font-size:.78rem;color:#999;display:flex;gap:16px;padding-top:16px;border-top:1px solid #e5e5e5}
.w-hero-meta strong{color:#555}
.w-hero-img{width:100%;height:280px;object-fit:cover;margin-top:28px;filter:grayscale(15%)}

/* SIDEBAR */
.w-sidebar{display:flex;flex-direction:column;gap:28px;position:sticky;top:80px}
.w-sidebar-block{border:1px solid #e5e5e5;padding:24px}
.w-sidebar-block h3{font-family:'Lora',serif;font-size:1rem;color:#111;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e5e5e5}
.w-sidebar-item{padding:14px 0;border-bottom:1px solid #f0f0f0}
.w-sidebar-item:last-child{border-bottom:none}
.w-sidebar-item span{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#aaa;display:block;margin-bottom:4px}
.w-sidebar-item a{font-size:.88rem;font-weight:600;color:#222;line-height:1.4;display:block;transition:color .2s}
.w-sidebar-item a:hover{color:#666}
.w-sidebar-item p{font-size:.78rem;color:#999;margin-top:4px}

/* MAIN LAYOUT */
.w-main{max-width:1140px;margin:0 auto;padding:40px 24px 60px;display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.w-content{min-width:0}

/* ARTICLE BODY */
.w-article h2{font-family:'Lora',serif;font-size:1.45rem;color:#111;margin:40px 0 16px;padding-left:16px;border-left:2px solid #111}
.w-article p{margin-bottom:18px;color:#333;font-size:1rem;line-height:1.85}
.w-article blockquote{margin:32px 0;padding:24px 28px;background:#f7f7f7;border-left:2px solid #111;font-family:'Lora',serif;font-style:italic;color:#333;font-size:1.05rem;line-height:1.7}
.w-article blockquote footer{font-style:normal;font-size:.78rem;color:#999;margin-top:10px}

/* IMAGE */
.w-img{margin:32px 0;position:relative;overflow:hidden}
.w-img img{width:100%;object-fit:cover;max-height:340px;filter:grayscale(10%);transition:filter .4s}
.w-img:hover img{filter:grayscale(0%)}
.w-img figcaption{font-size:.72rem;color:#aaa;margin-top:8px;text-align:right;font-style:italic}

/* HIGHLIGHT BOX */
.w-highlight{background:#111;color:#e0e0e0;padding:28px 32px;margin:36px 0}
.w-highlight h3{font-family:'Lora',serif;font-size:1.1rem;margin-bottom:10px;color:#fff}
.w-highlight p{font-size:.92rem;color:#bbb;line-height:1.7;margin-bottom:0}

/* CARDS GRID */
.w-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.w-card{border:1px solid #e5e5e5;padding:24px;transition:all .25s;position:relative}
.w-card::before{content:'';position:absolute;top:0;left:0;width:0;height:1px;background:#111;transition:width .4s}
.w-card:hover::before{width:100%}
.w-card:hover{border-color:#ccc;transform:translateY(-2px)}
.w-card-num{font-family:'Lora',serif;font-size:2.4rem;font-weight:700;color:#eee;line-height:1;margin-bottom:6px}
.w-card h4{font-family:'Lora',serif;font-size:.98rem;color:#111;margin-bottom:8px}
.w-card p{font-size:.84rem;color:#666;line-height:1.6}
.w-card-tag{display:inline-block;font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:#999;margin-top:10px;padding-top:10px;border-top:1px solid #f0f0f0}

/* REC CARDS */
.w-rec{border-bottom:1px solid #e5e5e5;padding:24px 0;display:flex;gap:20px;align-items:flex-start;transition:all .2s}
.w-rec:hover{padding-left:8px}
.w-rec-icon{width:44px;height:44px;background:#f7f7f7;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.w-rec h4{font-family:'Lora',serif;font-size:.95rem;color:#111;margin-bottom:5px}
.w-rec p{font-size:.84rem;color:#666;line-height:1.6}

/* SECTION LABELS */
.w-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#999;margin-bottom:8px}
.w-section-title{font-family:'Lora',serif;font-size:1.6rem;color:#111;margin-bottom:6px}
.w-section-sub{color:#777;font-size:.92rem;margin-bottom:28px}

/* CONCLUSION */
.w-conclusion{background:#f7f7f7;padding:32px;margin:36px 0;border-left:2px solid #111}
.w-conclusion h3{font-family:'Lora',serif;font-size:1.25rem;color:#111;margin-bottom:14px}
.w-conclusion p{color:#555;font-size:.95rem;margin-bottom:10px}

/* NEWSLETTER */
.w-newsletter{background:#111;color:#fff;padding:28px;text-align:center;margin:28px 0}
.w-newsletter h4{font-family:'Lora',serif;font-size:1.1rem;margin-bottom:8px}
.w-newsletter p{font-size:.82rem;color:#999;margin-bottom:16px}
.w-newsletter-form{display:flex;gap:0;max-width:360px;margin:0 auto}
.w-newsletter-form input[type=email]{flex:1;padding:10px 14px;border:1px solid #333;background:#222;color:#fff;font-size:.85rem;font-family:'Nunito Sans',sans-serif;outline:none}
.w-newsletter-form input[type=email]::placeholder{color:#666}
.w-newsletter-form button{padding:10px 20px;background:#fff;color:#111;font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;border:none;cursor:pointer;transition:background .2s}
.w-newsletter-form button:hover{background:#e0e0e0}

/* SIDEBAR QUOTE */
.w-sidebar-quote{background:#f7f7f7;padding:22px;font-family:'Lora',serif;font-style:italic;font-size:.92rem;color:#333;line-height:1.65;border-left:2px solid #111}
.w-sidebar-quote footer{font-style:normal;font-size:.72rem;color:#999;margin-top:10px}

/* TAGS */
.w-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.w-tags a{font-size:.72rem;border:1px solid #e0e0e0;padding:4px 14px;color:#777;transition:all .2s;letter-spacing:.02em}
.w-tags a:hover{border-color:#111;color:#111}

/* DIVIDER */
.w-divider{width:40px;height:1px;background:#ddd;margin:36px 0}

/* TIP BOX */
.w-tip{background:#f7f7f7;padding:20px 24px;margin:20px 0;font-size:.88rem;color:#444;line-height:1.65}
.w-tip strong{color:#111;display:block;margin-bottom:4px;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}

/* FOOTER */
.w-footer{background:#111;color:#888;padding:48px 24px 20px}
.w-footer-inner{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.w-footer h4{font-family:'Lora',serif;color:#fff;font-size:.95rem;margin-bottom:14px}
.w-footer p{font-size:.82rem;line-height:1.7}
.w-footer a{color:#777;font-size:.82rem;display:block;margin-bottom:8px;transition:color .2s}
.w-footer a:hover{color:#fff}
.w-footer-bottom{max-width:1140px;margin:32px auto 0;padding:18px 0 0;border-top:1px solid #222;text-align:center;font-size:.72rem;color:#555;line-height:1.8}
.w-footer-disclaimer{max-width:700px;margin:10px auto 0;font-size:.72rem;color:#555;line-height:1.6}

/* LEGAL PAGES */
.w-legal{max-width:800px;margin:0 auto;padding:48px 24px 60px}
.w-legal h1{font-family:'Lora',serif;font-size:2rem;color:#111;margin-bottom:8px}
.w-legal .w-legal-updated{font-size:.78rem;color:#999;margin-bottom:32px}
.w-legal h2{font-family:'Lora',serif;font-size:1.15rem;color:#111;margin:28px 0 10px}
.w-legal p{font-size:.92rem;color:#444;margin-bottom:14px;line-height:1.7}

/* SUCCESS PAGE */
.w-success{max-width:600px;margin:0 auto;padding:80px 24px;text-align:center}
.w-success h1{font-family:'Lora',serif;font-size:2.2rem;color:#111;margin-bottom:16px}
.w-success p{color:#666;font-size:1rem;margin-bottom:28px}
.w-success a{display:inline-block;padding:12px 28px;background:#111;color:#fff;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;transition:background .2s}
.w-success a:hover{background:#333}

/* 404 PAGE */
.w-404{max-width:600px;margin:0 auto;padding:80px 24px;text-align:center}
.w-404 h1{font-family:'Lora',serif;font-size:6rem;color:#eee;line-height:1;margin-bottom:12px}
.w-404 h2{font-family:'Lora',serif;font-size:1.4rem;color:#111;margin-bottom:16px}
.w-404 p{color:#777;margin-bottom:32px}
.w-404-links{display:flex;flex-direction:column;gap:10px;align-items:center}
.w-404-links a{font-size:.88rem;color:#111;font-weight:600;transition:color .2s}
.w-404-links a:hover{color:#666}

/* BREADCRUMB */
.w-breadcrumb{max-width:1140px;margin:0 auto;padding:14px 24px;font-size:.75rem;color:#bbb}
.w-breadcrumb a{color:#999;transition:color .2s}
.w-breadcrumb a:hover{color:#111}

/* ACTIVE PARAGRAPH HIGHLIGHT */
.w-article p:hover{border-left:2px solid #ddd;padding-left:14px;transition:all .2s}

/* LIST STYLE FOR ARTICLE */
.w-article ul{margin:16px 0 24px 0}
.w-article ul li{padding:6px 0 6px 20px;font-size:.92rem;color:#444;position:relative}
.w-article ul li::before{content:'—';position:absolute;left:0;color:#bbb}

/* SCROLL ANIMATIONS */
@keyframes w-fade-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.w-anim{animation:w-fade-in .5s ease forwards}
.w-anim-d1{animation:w-fade-in .5s .1s ease both}
.w-anim-d2{animation:w-fade-in .5s .2s ease both}
.w-anim-d3{animation:w-fade-in .5s .3s ease both}

/* RESPONSIVE */
@media(max-width:900px){
.w-hero{grid-template-columns:1fr;gap:28px}
.w-main{grid-template-columns:1fr;gap:32px}
.w-sidebar{position:static}
.w-cards{grid-template-columns:1fr}
.w-nav{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px 24px;border-bottom:1px solid #e5e5e5;gap:0}
.w-nav.w-open{display:flex}
.w-nav a{padding:12px 0;border-bottom:1px solid #f0f0f0}
.w-burger{display:flex}
.w-footer-inner{grid-template-columns:1fr}
.w-hero h1{font-size:1.8rem}
}
@media(max-width:480px){
.w-hero h1{font-size:1.5rem}
.w-newsletter-form{flex-direction:column}
.w-newsletter-form input[type=email],.w-newsletter-form button{width:100%}
}
