/*
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,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;1,8..60,300&display=swap');
:root{--bg:#FAF7F2;--card:#EEE4D3;--accent:#4E342E;--text:#3E2723;--muted:#7A6055;--soft:#F5EDE4;--line:#D9C9B8;--radius:20px;--serif:'Playfair Display',Georgia,serif;--body:'Source Serif 4','Georgia',serif}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:17px;-webkit-font-smoothing:antialiased}
body{background:var(--bg);color:var(--text);font-family:var(--body);line-height:1.8}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;border-radius:var(--radius);display:block}
h1,h2,h3,h4{font-family:var(--serif);color:var(--accent);line-height:1.25}
p{margin-bottom:1.25rem}
ul,ol{margin:1rem 0 1.4rem 1.6rem}
li{margin-bottom:.55rem;line-height:1.75}

#progress-bar{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--accent),#8B6344);width:0;z-index:9999;transition:width .12s linear;border-radius:0 2px 2px 0}

header{background:rgba(250,247,242,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:1rem 2rem;position:sticky;top:3px;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{font-family:var(--serif);font-size:1.45rem;font-weight:700;color:var(--accent);letter-spacing:.02em;white-space:nowrap}
.logo:hover{text-decoration:none;opacity:.75;transition:opacity .2s}
nav ul{display:flex;gap:1.5rem;list-style:none;flex-wrap:wrap}
nav a{color:var(--muted);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;font-family:var(--body);font-weight:400;transition:color .2s}
nav a:hover{color:var(--accent);text-decoration:none}

.hero{position:relative;min-height:75vh;display:flex;align-items:flex-end;justify-content:flex-start;overflow:hidden;margin-bottom:0}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(40,22,18,.82) 0%,rgba(62,39,35,.35) 55%,rgba(78,52,46,.1) 100%);z-index:1}
.hero-content{position:relative;z-index:2;color:#fff;padding:3rem 2.5rem;max-width:760px}
.hero-kicker{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;opacity:.65;margin-bottom:.75rem;display:block}
.hero-content h1{font-size:clamp(2.2rem,5.5vw,3.8rem);margin-bottom:1rem;color:#fff;line-height:1.15;text-shadow:0 2px 16px rgba(0,0,0,.25)}
.hero-content .subtitle{font-size:1.05rem;margin-bottom:2rem;opacity:.82;max-width:520px;font-weight:300;line-height:1.7}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:.75rem 2.2rem;border-radius:50px;font-size:.88rem;letter-spacing:.05em;border:none;cursor:pointer;transition:background .2s,transform .15s,box-shadow .2s;font-family:var(--body);box-shadow:0 4px 16px rgba(78,52,46,.35)}
.btn:hover{background:#3e2723;text-decoration:none;transform:translateY(-2px);box-shadow:0 8px 24px rgba(78,52,46,.4)}
.btn-ghost{display:inline-block;border:1.5px solid var(--accent);color:var(--accent);padding:.65rem 1.75rem;border-radius:50px;font-size:.85rem;letter-spacing:.04em;transition:all .2s;font-family:var(--body)}
.btn-ghost:hover{background:var(--accent);color:#fff;text-decoration:none}

.main-wrap{max-width:1180px;margin:0 auto;padding:3.5rem 1.5rem 5rem}

.featured-wrap{margin-bottom:4rem}
.section-kicker{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:flex;align-items:center;gap:.6rem}
.section-kicker::before{content:'';display:block;width:24px;height:1.5px;background:var(--accent)}
.featured-card{background:var(--card);border-radius:var(--radius);padding:2.75rem;box-shadow:0 2px 20px rgba(78,52,46,.07);border:1px solid var(--line)}
.featured-card .f-meta{font-size:.8rem;color:var(--muted);margin-bottom:1.25rem;letter-spacing:.04em}
.featured-card h2{font-size:clamp(1.55rem,3vw,2.2rem);margin-bottom:1rem;line-height:1.2}
.featured-card .excerpt p{color:var(--text);line-height:1.85;font-size:1rem}
.featured-card .excerpt p+p{margin-top:-.25rem}
.read-more-link{display:inline-flex;align-items:center;gap:.5rem;color:var(--accent);font-weight:600;font-size:.9rem;margin-top:1.4rem;letter-spacing:.03em;transition:gap .2s}
.read-more-link:hover{gap:.85rem;text-decoration:none}
.disclaimer{background:#fff8f4;border-left:3px solid var(--accent);border-radius:0 12px 12px 0;padding:1.1rem 1.4rem;margin:2rem 0;font-size:.84rem;color:var(--muted);line-height:1.7}
.disclaimer strong{color:var(--accent);font-style:normal}

.section-divider{display:flex;align-items:center;gap:1rem;margin:3.5rem 0 2rem;font-family:var(--serif);font-size:1.35rem;color:var(--accent)}
.section-divider::after{content:'';flex:1;height:1px;background:var(--line)}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.5rem;margin-bottom:4rem}
.card{background:var(--card);border-radius:var(--radius);padding:1.85rem;border:1px solid var(--line);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-5px);box-shadow:0 12px 32px rgba(78,52,46,.12)}
.card-kicker{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.85rem}
.card h3{font-size:1.15rem;margin-bottom:.8rem;line-height:1.3}
.card .teaser{color:var(--muted);font-size:.92rem;line-height:1.75;flex:1}
.card-link{display:inline-block;margin-top:1.3rem;color:var(--accent);font-size:.87rem;font-weight:600}

.about-section{display:grid;grid-template-columns:1fr;gap:2.5rem;background:var(--soft);border-radius:var(--radius);padding:3rem 2.75rem;margin-bottom:3.5rem;border:1px solid var(--line);align-items:center}
.about-text h2{font-size:1.75rem;margin-bottom:1.1rem}
.about-text p{color:var(--muted);line-height:1.85;font-size:.97rem}
.about-text .btn-ghost{margin-top:1.25rem}
.about-image img{border-radius:var(--radius);box-shadow:0 8px 32px rgba(78,52,46,.12)}

.subscribe-section{background:var(--accent);border-radius:var(--radius);padding:3rem 2.75rem;color:#fff}
.subscribe-section h2{color:#fff;font-size:1.65rem;margin-bottom:.6rem}
.subscribe-section .sub-desc{opacity:.8;margin-bottom:2rem;font-size:.97rem;font-weight:300;line-height:1.7}
.form-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.form-grid input{width:100%;padding:.82rem 1.3rem;border-radius:50px;border:1px solid rgba(255,255,255,.25);font-size:.92rem;background:rgba(255,255,255,.1);color:#fff;font-family:var(--body);transition:border-color .2s,background .2s}
.form-grid input::placeholder{color:rgba(255,255,255,.55)}
.form-grid input:focus{outline:none;border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.18)}
.form-grid .full-col{grid-column:1/-1}
.form-grid .btn{background:#fff;color:var(--accent);box-shadow:none}
.form-grid .btn:hover{background:var(--soft);box-shadow:none}

footer{background:var(--card);padding:2.5rem;border-top:1px solid var(--line)}
.footer-inner{max-width:1180px;margin:0 auto;text-align:center}
.footer-links{display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap;list-style:none;margin-bottom:1.1rem}
.footer-links a{color:var(--muted);font-size:.8rem;letter-spacing:.04em}
.footer-links a:hover{color:var(--accent)}
.footer-copy{color:var(--muted);font-size:.76rem;line-height:1.7}

#cookie-toggle{display:none}
#cookie-toggle:checked~.cookie-banner{display:none}
.cookie-banner{position:fixed;bottom:22px;right:22px;background:var(--bg);border-radius:var(--radius);padding:1.6rem;max-width:305px;box-shadow:0 12px 40px rgba(78,52,46,.18);z-index:9998;border:1px solid var(--line)}
.cookie-banner p{font-size:.8rem;color:var(--muted);margin-bottom:.9rem;line-height:1.65}
.cookie-banner a{color:var(--accent)}
.cookie-banner label{display:inline-block;background:var(--accent);color:#fff;padding:.55rem 1.5rem;border-radius:50px;cursor:pointer;font-size:.8rem;letter-spacing:.04em;transition:background .2s}
.cookie-banner label:hover{background:#3e2723}

.article-page-wrap{max-width:1180px;margin:0 auto;padding:2.5rem 1.5rem 5rem}
.article-layout{display:grid;grid-template-columns:1fr;gap:3rem;align-items:start}
.article-body>img{margin-bottom:2rem;width:100%;max-height:420px;object-fit:cover}
.article-body .a-meta{font-size:.78rem;color:var(--muted);margin-bottom:1.75rem;padding-bottom:1.1rem;border-bottom:1px solid var(--line);display:flex;gap:1.25rem;flex-wrap:wrap;letter-spacing:.04em}
.article-body h1{font-size:clamp(1.9rem,4.5vw,2.85rem);margin-bottom:.85rem;line-height:1.15}
.article-body h2{font-size:1.3rem;margin:2.75rem 0 .9rem;padding-top:.5rem;border-top:1px solid var(--line)}
.article-body h3{font-size:1.05rem;margin:1.6rem 0 .6rem;color:var(--muted);font-family:var(--serif)}
.article-body p{font-size:1rem;line-height:1.9;margin-bottom:1.3rem;color:var(--text)}
.article-body ul,.article-body ol{margin:1rem 0 1.5rem 1.75rem}
.article-body li{margin-bottom:.65rem;font-size:.97rem;line-height:1.8}
.pull-quote{border-left:3px solid var(--accent);padding:1.1rem 1.6rem;margin:2.25rem 0;font-style:italic;color:var(--muted);font-size:1.08rem;background:var(--soft);border-radius:0 var(--radius) var(--radius) 0;line-height:1.7}
.source-note{font-size:.77rem;color:var(--muted);font-style:italic;margin-top:-.9rem;margin-bottom:1.3rem;padding-left:.5rem;border-left:2px solid var(--line)}

.article-sidebar{display:none}
.toc-box{background:var(--card);border-radius:var(--radius);padding:1.6rem;position:sticky;top:80px;border:1px solid var(--line)}
.toc-box h4{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1.1rem;font-family:var(--body)}
.toc-list{list-style:none;margin:0;padding:0}
.toc-list li{margin-bottom:.7rem;padding-left:.85rem;border-left:2px solid transparent;transition:border-color .2s}
.toc-list li:hover{border-left-color:var(--accent)}
.toc-list a{color:var(--muted);font-size:.85rem;line-height:1.5;transition:color .2s;font-family:var(--body)}
.toc-list a:hover{color:var(--accent);text-decoration:none}

.legal-page{max-width:780px;margin:3.5rem auto;padding:0 1.5rem 5rem}
.legal-page h1{font-size:2.1rem;margin-bottom:.5rem}
.legal-page .update-date{color:var(--muted);font-size:.8rem;margin-bottom:2.25rem;display:block;letter-spacing:.04em}
.legal-page h2{font-size:1.2rem;margin:2.25rem 0 .8rem;padding-top:.5rem}
.legal-page p{color:var(--muted);line-height:1.85;margin-bottom:1rem;font-size:.95rem}
.legal-page ul{color:var(--muted);margin:1rem 0 1rem 1.5rem}
.legal-page li{margin-bottom:.5rem;line-height:1.7;font-size:.95rem}
.legal-page a{color:var(--accent)}

.success-page{min-height:68vh;display:flex;align-items:center;justify-content:center;padding:2rem}
.success-box{background:var(--card);border-radius:var(--radius);padding:3.5rem 2.75rem;max-width:520px;text-align:center;box-shadow:0 8px 32px rgba(78,52,46,.1);border:1px solid var(--line)}
.success-icon{font-size:2.8rem;margin-bottom:1.1rem;display:block;color:var(--accent)}
.success-box h1{font-size:2.1rem;margin-bottom:1rem}
.success-box p{color:var(--muted);margin-bottom:2.25rem;line-height:1.8;font-size:.97rem}

.not-found-page{min-height:68vh;display:flex;align-items:center;justify-content:center;padding:2rem;text-align:center}
.big-num{font-size:7rem;color:var(--card);font-family:var(--serif);line-height:1;display:block;margin-bottom:.25rem;text-shadow:0 2px 0 var(--line)}
.not-found-page h2{font-size:1.6rem;margin:.5rem 0}
.not-found-page p{color:var(--muted);margin-bottom:2rem;font-size:.97rem}

@media(min-width:600px){.form-grid{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.about-section{grid-template-columns:3fr 2fr}.article-layout{grid-template-columns:1fr 270px}.article-sidebar{display:block}}
@media(max-width:640px){header{padding:.8rem 1.1rem}nav ul{gap:.75rem}.hero{min-height:58vh}.hero-content{padding:2rem 1.4rem}.hero-content h1{font-size:2rem}.featured-card{padding:1.6rem}.about-section{padding:2rem 1.5rem}.subscribe-section{padding:2rem 1.5rem}.main-wrap{padding:2.5rem 1.1rem 4rem}}