/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Open+Sans:wght@300;400;600&display=swap');
:root{--primary:#0d1b2a;--accent:#f5c842;--bg:#ffffff;--bg2:#f8f6f1;--text:#1a1a2e;--r:2px;--fh:'Playfair Display',Georgia,serif;--fb:'Open Sans',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--fb);background:var(--bg);color:var(--text);line-height:1.7;font-size:16px}
h1,h2,h3,h4{font-family:var(--fh);color:var(--primary);line-height:1.3}
a{display:inline-block;text-align:center;color:var(--primary);text-decoration:none;transition:color .2s,opacity .2s}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto;display:block;border-radius:var(--r);width:100%}

/* NAV */
.site-header{background:var(--primary);border-bottom:3px solid var(--accent);position:sticky;top:0;z-index:200}
.site-header__inner{max-width:1200px;margin:0 auto;padding:.9rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-logo{font-family:var(--fh);font-size:1.7rem;font-weight:700;color:var(--accent);letter-spacing:1px;text-align:left}
.site-logo:hover{color:#fff}
.site-nav{display:flex;gap:1.5rem;flex-wrap:wrap}
.site-nav a{color:#fff;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid transparent;padding-bottom:2px;text-align:left}
.site-nav a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.burger-btn{display:none;background:none;border:2px solid var(--accent);color:var(--accent);cursor:pointer;padding:.3rem .7rem;font-size:1.1rem;border-radius:var(--r)}

/* FOOTER */
.site-footer{background:var(--primary);color:#fff;padding:2.5rem 1.5rem;border-top:3px solid var(--accent);margin-top:4rem}
.site-footer__inner{max-width:1200px;margin:0 auto}
.site-footer__logo{font-family:var(--fh);font-size:1.4rem;color:var(--accent);margin-bottom:.5rem;display:block}
.site-footer__home-link{color:#ccc;font-size:.85rem;margin-bottom:1.2rem;display:inline-block;border-bottom:1px solid transparent}
.site-footer__home-link:hover{color:var(--accent);border-bottom-color:var(--accent)}
.site-footer__links{display:flex;gap:1.5rem;flex-wrap:wrap;margin:1rem 0}
.site-footer__links a{color:#ccc;font-size:.82rem;border-bottom:1px solid transparent;text-align:left}
.site-footer__links a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.site-footer__disclaimer{font-size:.78rem;color:#999;border-top:1px solid #2a3a4a;padding-top:1rem;margin-top:1rem;line-height:1.6}
.site-footer__copy{font-size:.78rem;color:#777;margin-top:.5rem}

/* UTILS */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.divider{border:none;border-top:2px solid var(--primary);margin:2.5rem 0}
.divider--accent{border-top-color:var(--accent)}
.tag-badge{display:inline-block;background:var(--accent);color:var(--primary);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;padding:.25rem .7rem;border-radius:var(--r)}

/* HERO */
.hero{background:var(--bg2);padding:3rem 1.5rem;border-bottom:2px solid var(--primary)}
.hero__inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:center}
.hero__title{font-size:clamp(2rem,5vw,3.2rem);margin:1rem 0}
.hero__meta{font-size:.83rem;color:#666;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}
.hero__lead{font-size:1.1rem;line-height:1.85;margin-bottom:1.5rem;color:var(--text)}
.hero__img-wrap{border:2px solid var(--primary);border-radius:var(--r);overflow:hidden}
.hero__img-wrap img{height:320px;object-fit:cover}
.hero__read-more{background:var(--primary);color:var(--accent);padding:.75rem 2rem;border:2px solid var(--primary);font-weight:700;font-size:.88rem;letter-spacing:.5px;text-transform:uppercase;border-radius:var(--r);transition:background .2s,color .2s;display:inline-block;text-align:center;margin-top:1rem}
.hero__read-more:hover{background:var(--accent);color:var(--primary)}

/* ARTICLE BODY (hero article inline) */
.hero-article-body p{font-size:1rem;line-height:1.85;margin-bottom:1.2rem;color:var(--text)}
.hero-article-body h2{font-size:1.4rem;margin:2rem 0 .8rem;padding-bottom:.4rem;border-bottom:2px solid var(--accent)}
.hero-article-body blockquote{border-left:4px solid var(--accent);padding:.8rem 1.2rem;background:var(--bg);font-style:italic;font-family:var(--fh);font-size:1.08rem;color:var(--primary);margin:1.5rem 0;border-radius:0 var(--r) var(--r) 0}
.hero-article-body .article-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.2rem}
.hero-article-body .article-tags span{display:inline-block;background:var(--bg2);border:1px solid var(--primary);color:var(--primary);font-size:.78rem;padding:.25rem .7rem;border-radius:var(--r)}
.hero-article-body .disclaimer{background:var(--bg2);border:2px solid var(--primary);padding:1rem 1.4rem;border-radius:var(--r);font-size:.88rem;margin-top:2rem;color:#555;line-height:1.6}

/* ARTICLES GRID */
.articles-section{padding:3rem 1.5rem}
.articles-section__header{max-width:1200px;margin:0 auto 2rem;display:flex;align-items:center;gap:1.5rem}
.articles-section__title{font-size:1.7rem;white-space:nowrap}
.articles-section__line{flex:1;border:none;border-top:2px solid var(--accent);margin:0}
.articles-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:2rem}
.article-card{border:2px solid var(--primary);border-radius:var(--r);overflow:hidden;background:var(--bg);transition:border-color .2s}
.article-card:hover{border-color:var(--accent)}
.article-card__img-placeholder{aspect-ratio:16/9;background:var(--bg2);border-bottom:2px solid var(--primary);display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:var(--primary);opacity:.4}
.article-card__body{padding:1.4rem}
.article-card__category{display:inline-block;background:var(--accent);color:var(--primary);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;padding:.2rem .6rem;border-radius:var(--r);margin-bottom:.7rem}
.article-card__title{font-size:1.15rem;margin-bottom:.7rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left}
.article-card__excerpt{font-size:.9rem;color:#555;line-height:1.6;margin-bottom:1rem;text-align:left}
.article-card__link{font-size:.83rem;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid var(--primary);padding-bottom:2px;transition:color .2s,border-color .2s;display:inline-block;text-align:left}
.article-card__link:hover{color:var(--accent);border-bottom-color:var(--accent)}

/* SUBSCRIBE */
.subscribe-section{background:var(--primary);color:#fff;padding:3.5rem 1.5rem;border-top:3px solid var(--accent);border-bottom:3px solid var(--accent)}
.subscribe-section__inner{max-width:600px;margin:0 auto;text-align:center}
.subscribe-section__title{font-size:1.8rem;color:var(--accent);margin-bottom:.8rem}
.subscribe-section__desc{font-size:.95rem;color:#ddd;margin-bottom:1.5rem}
.subscribe-form{display:flex;flex-direction:column;gap:.8rem}
.subscribe-form input[type=email]{padding:.8rem 1rem;border:2px solid var(--accent);background:transparent;color:#fff;font-family:var(--fb);font-size:1rem;border-radius:var(--r);outline:none}
.subscribe-form input[type=email]::placeholder{color:#999}
.subscribe-form input[type=email]:focus{border-color:#fff}
.subscribe-form button{padding:.8rem 2rem;background:var(--accent);color:var(--primary);font-family:var(--fb);font-weight:700;font-size:1rem;border:none;border-radius:var(--r);cursor:pointer;text-transform:uppercase;letter-spacing:.5px;transition:background .2s,color .2s}
.subscribe-form button:hover{background:#fff;color:var(--primary)}

/* ARTICLE PAGE */
.article-header{background:var(--bg2);padding:3rem 1.5rem 2rem;border-bottom:2px solid var(--primary);text-align:center}
.article-header__icon{font-size:2.5rem;margin-bottom:.8rem;display:block}
.article-header__title{font-size:clamp(1.8rem,4vw,2.8rem);max-width:780px;margin:0 auto 1rem}
.article-header__meta{font-size:.83rem;color:#666;display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1.5rem}
.article-hero-placeholder{width:100%;height:280px;background:linear-gradient(135deg,var(--primary) 0%,#1a2f45 100%);display:flex;align-items:center;justify-content:center;font-size:4rem;border-bottom:3px solid var(--accent)}

.article-body{max-width:760px;margin:3rem auto;padding:0 1.5rem}
.article-body p{font-size:1.03rem;line-height:1.88;margin-bottom:1.4rem;color:var(--text)}
.article-body h2{font-size:1.55rem;margin:2.5rem 0 1rem;padding-bottom:.45rem;border-bottom:2px solid var(--accent);text-align:left}
.article-body h3{font-size:1.2rem;margin:1.5rem 0 .7rem;text-align:left}
.article-body ul{list-style:none;margin-bottom:1.4rem;padding:0}
.article-body ul li{padding:.35rem 0 .35rem 1.5rem;position:relative;font-size:1rem;line-height:1.7}
.article-body ul li::before{content:'—';position:absolute;left:0;color:var(--accent)}
.article-body blockquote{border-left:4px solid var(--accent);margin:2rem 0;padding:1rem 1.5rem;background:var(--bg2);font-style:italic;font-family:var(--fh);font-size:1.12rem;color:var(--primary);border-radius:0 var(--r) var(--r) 0;text-align:left}
.article-body blockquote cite{display:block;margin-top:.5rem;font-size:.85rem;font-style:normal;color:#666}
.article-body .disclaimer{background:var(--bg2);border:2px solid var(--primary);padding:1.1rem 1.4rem;border-radius:var(--r);font-size:.88rem;margin-top:3rem;color:#555;line-height:1.6}
.article-tags{margin-top:1.8rem;display:flex;flex-wrap:wrap;gap:.45rem;text-align:left}
.article-tags span{display:inline-block;background:var(--bg2);border:1px solid var(--primary);color:var(--primary);font-size:.78rem;padding:.25rem .7rem;border-radius:var(--r)}

/* RELATED */
.related-posts{padding:3rem 1.5rem;background:var(--bg2);border-top:2px solid var(--primary)}
.related-posts__inner{max-width:1200px;margin:0 auto}
.related-posts__title{font-size:1.5rem;margin-bottom:1.8rem;padding-bottom:.5rem;border-bottom:2px solid var(--accent);display:inline-block}
.related-posts__grid{display:grid;grid-template-columns:1fr;gap:1.5rem}

/* POLICY PAGES */
.policy-page{max-width:860px;margin:3rem auto;padding:0 1.5rem 4rem}
.policy-page h1{font-size:2.2rem;margin-bottom:.5rem}
.policy-page .policy-date{font-size:.83rem;color:#666;margin-bottom:2rem;display:block}
.policy-page h2{font-size:1.25rem;margin:2rem 0 .7rem;padding-bottom:.35rem;border-bottom:2px solid var(--accent);text-align:left}
.policy-page p,.policy-page li{font-size:1rem;line-height:1.8;margin-bottom:1rem;color:var(--text);text-align:left}
.policy-page ul{padding-left:1.5rem;margin-bottom:1rem}

/* SUCCESS PAGE */
.success-page{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem}
.success-page__inner{max-width:560px;text-align:center}
.success-page__icon{font-size:4rem;margin-bottom:1.5rem;display:block}
.success-page__title{font-size:2.4rem;margin-bottom:.8rem}
.success-page__subtitle{font-size:1.05rem;color:#555;margin-bottom:2rem;line-height:1.7}
.btn-primary{display:inline-block;background:var(--primary);color:var(--accent);padding:.85rem 2.2rem;border:2px solid var(--primary);font-weight:700;font-size:.95rem;border-radius:var(--r);text-transform:uppercase;letter-spacing:.5px;transition:background .2s,color .2s;text-align:center}
.btn-primary:hover{background:var(--accent);color:var(--primary)}

/* COOKIES MODAL */
#cookie-toggle{display:none}
.cookie-modal{position:fixed;bottom:20px;right:20px;background:var(--primary);color:#fff;border:2px solid var(--accent);border-radius:var(--r);padding:1.2rem 1.4rem;max-width:320px;z-index:9999;display:flex;flex-direction:column;gap:.7rem}
#cookie-toggle:checked~.cookie-modal{display:none}
.cookie-modal__title{font-family:var(--fh);font-size:1rem;color:var(--accent);display:block}
.cookie-modal p{font-size:.83rem;line-height:1.5;color:#ddd}
.cookie-modal__actions{display:flex;gap:.7rem;flex-wrap:wrap}
.cookie-accept-label,.cookie-decline-label{display:inline-block;padding:.45rem .9rem;font-size:.78rem;font-weight:700;text-transform:uppercase;border-radius:var(--r);cursor:pointer;border:2px solid var(--accent);transition:background .2s,color .2s}
.cookie-accept-label{background:var(--accent);color:var(--primary)}
.cookie-accept-label:hover{background:transparent;color:var(--accent)}
.cookie-decline-label{background:transparent;color:var(--accent)}
.cookie-decline-label:hover{background:var(--accent);color:var(--primary)}

/* 404 */
.error-page{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center;flex-direction:column}
.error-page__code{font-family:var(--fh);font-size:clamp(6rem,20vw,11rem);color:var(--accent);line-height:1;opacity:.25;display:block}
.error-page__title{font-size:2rem;margin-bottom:.8rem}
.error-page__text{font-size:1rem;color:#555;margin-bottom:2rem;max-width:460px}

/* RESPONSIVE */
@media(min-width:768px){
.hero__inner{grid-template-columns:1fr 1fr}
.hero__img-wrap img{height:420px}
.articles-grid{grid-template-columns:repeat(2,1fr)}
.related-posts__grid{grid-template-columns:repeat(2,1fr)}
.subscribe-form{flex-direction:row}
.subscribe-form input[type=email]{flex:1}
}
@media(min-width:1024px){
.articles-grid{grid-template-columns:repeat(3,1fr)}
.related-posts__grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:767px){
.site-nav{display:none;flex-direction:column;width:100%;background:var(--primary);padding:1rem 0;border-top:1px solid var(--accent)}
.site-nav.is-open{display:flex}
.site-nav a{padding:.4rem 1.5rem}
.burger-btn{display:block}
.cookie-modal{left:12px;right:12px;max-width:none;bottom:12px}
}