/*
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=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --dark:#2D241E;
  --terra:#E07A5F;
  --sage:#81B29A;
  --cream:#F5EDE6;
  --mid:#C8A882;
  --light:#FAF6F2;
  --white:#FFFFFF;
  --r:20px;
  --shadow:0 4px 24px rgba(45,36,30,.12);
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Lora',Georgia,serif;background:var(--light);color:var(--dark);line-height:1.75;min-height:100vh}
h1,h2,h3,h4,h5{font-family:'Playfair Display',Georgia,serif;line-height:1.25;color:var(--dark)}
a{color:var(--terra);text-decoration:none;transition:color .2s}
a:hover{color:var(--dark)}
img{max-width:100%;height:auto;display:block}
p{margin-bottom:1em}
.site-header{background:var(--dark);position:sticky;top:0;z-index:100;padding:0 1.5rem}
.nav-inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;height:64px;gap:1rem}
.logo{font-family:'Playfair Display',serif;font-size:1.45rem;font-weight:700;color:var(--cream);letter-spacing:.02em}
.logo:hover{color:var(--terra)}
.nav-links{display:flex;gap:1.5rem;list-style:none;flex-wrap:wrap}
.nav-links a{color:var(--cream);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;font-family:'Lora',serif;font-weight:500}
.nav-links a:hover{color:var(--terra)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:.5rem}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--cream);transition:all .3s}
@media(max-width:768px){
  .nav-toggle{display:flex}
  .nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:var(--dark);flex-direction:column;padding:1rem 1.5rem 1.5rem;gap:.75rem}
  .nav-links.open{display:flex}
}
.hero{position:relative;min-height:88vh;display:flex;align-items:flex-end;overflow:hidden;padding:3rem 1.5rem}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(45,36,30,.88) 40%,rgba(45,36,30,.28) 100%)}
.hero-content{position:relative;z-index:2;max-width:700px}
.hero-tag{display:inline-block;background:var(--terra);color:var(--white);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;padding:.3rem .85rem;border-radius:5px;margin-bottom:1rem}
.hero h1{font-size:clamp(2.1rem,6vw,3.6rem);color:var(--white);margin-bottom:1rem;text-shadow:0 2px 16px rgba(0,0,0,.3)}
.hero p{color:rgba(255,255,255,.83);font-size:1.08rem;margin-bottom:1.75rem;max-width:520px}
.btn{display:inline-block;padding:.75rem 1.8rem;border-radius:var(--r);font-family:'Lora',serif;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .25s;border:2px solid transparent}
.btn-terra{background:var(--terra);color:var(--white);border-color:var(--terra)}
.btn-terra:hover{background:transparent;color:var(--terra)}
.btn-outline{background:transparent;color:var(--dark);border-color:var(--dark)}
.btn-outline:hover{background:var(--dark);color:var(--cream)}
.btn-sage{background:var(--sage);color:var(--white);border-color:var(--sage)}
.btn-sage:hover{background:transparent;color:var(--sage)}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.section{padding:4rem 1.5rem}
.articles-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:600px){.articles-grid{grid-template-columns:1fr 1fr}}
.card{background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-5px);box-shadow:0 14px 36px rgba(45,36,30,.16)}
.card-body{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.card-tag{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;color:var(--terra);font-weight:700;margin-bottom:.5rem}
.card h3{font-size:1.2rem;margin-bottom:.75rem}
.card p{font-size:.88rem;color:#5a4a42;flex:1}
.card-link{display:inline-block;margin-top:1rem;font-size:.85rem;font-weight:700;color:var(--terra);letter-spacing:.04em}
.card-link:hover{color:var(--dark)}
.main-article{max-width:800px;margin:0 auto;padding:3rem 1.5rem}
.article-header{margin-bottom:2rem}
.article-meta{font-size:.78rem;color:var(--mid);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.75rem}
.article-header h2{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:1rem}
.article-header .lead{font-size:1.08rem;color:#5a4a42;font-style:italic;border-left:3px solid var(--terra);padding-left:1rem}
.article-body h3{font-size:1.38rem;margin:2.25rem 0 .75rem;color:var(--terra);font-style:italic}
.article-body p{margin-bottom:1.3em;color:#3d2e27}
.article-body ul,.article-body ol{margin:0 0 1.3em 1.35em}
.article-body li{margin-bottom:.55em;color:#3d2e27}
.source-ref{font-size:.78rem;color:var(--mid);font-style:italic;margin-top:-.8em;margin-bottom:1.5em!important;padding-left:.75rem;border-left:2px solid var(--mid)}
.disclaimer{background:var(--cream);border-left:4px solid var(--terra);border-radius:0 var(--r) var(--r) 0;padding:1.35rem 1.6rem;margin-top:2.5rem;font-size:.88rem;color:#5a4a42;font-style:italic;line-height:1.65}
.disclaimer strong{color:var(--terra);font-style:normal;display:block;margin-bottom:.4rem}
.about-block{background:var(--dark);border-radius:var(--r);padding:3rem 2.5rem;margin:3rem 1.5rem}
.about-block h2{color:var(--terra);font-size:1.8rem;margin-bottom:1rem}
.about-block p{color:rgba(245,237,230,.85);margin-bottom:.8em}
.about-inner{max-width:1164px;margin:3rem auto}
.subscribe-wrap{background:linear-gradient(135deg,var(--cream) 60%,#EDD5C5 100%);border-radius:var(--r);padding:3rem 2.5rem;max-width:640px;margin:3rem auto;text-align:center;box-shadow:var(--shadow)}
.subscribe-wrap h2{font-size:1.75rem;margin-bottom:.5rem}
.subscribe-wrap > p{color:#5a4a42;margin-bottom:2rem;font-size:.95rem}
.subscribe-form{display:flex;flex-direction:column;gap:1rem;text-align:left}
.form-group{display:flex;flex-direction:column;gap:.4rem}
.form-group label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--dark)}
.form-group input{padding:.78rem 1rem;border:1.5px solid rgba(45,36,30,.18);border-radius:12px;font-family:'Lora',serif;font-size:.95rem;background:var(--white);color:var(--dark);outline:none;transition:border-color .2s}
.form-group input:focus{border-color:var(--terra)}
.subscribe-form .btn{width:100%;text-align:center;margin-top:.5rem;font-size:1rem;padding:.9rem}
.site-footer{background:var(--dark);color:rgba(245,237,230,.7);padding:3rem 1.5rem 1.5rem}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}
@media(min-width:640px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer-brand .logo{font-size:1.2rem;display:block;margin-bottom:.75rem}
.footer-brand p{font-size:.83rem;line-height:1.65;color:rgba(245,237,230,.65)}
.footer-col h4{color:var(--terra);font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;margin-bottom:.75rem}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.5rem}
.footer-col a{color:rgba(245,237,230,.65);font-size:.83rem}
.footer-col a:hover{color:var(--terra)}
.footer-bottom{border-top:1px solid rgba(245,237,230,.1);padding-top:1.25rem;text-align:center;font-size:.76rem;color:rgba(245,237,230,.35)}
#cookie-toggle{display:none}
.cookie-banner{position:fixed;bottom:24px;right:24px;z-index:9999;background:var(--dark);color:var(--cream);border-radius:var(--r);padding:1.35rem 1.6rem;max-width:320px;box-shadow:0 8px 32px rgba(0,0,0,.28);font-size:.85rem;line-height:1.6;transition:opacity .4s,visibility .4s;cursor:default;display:block}
.cookie-banner p{color:rgba(245,237,230,.85);margin-bottom:1rem}
.cookie-banner a{color:var(--terra)}
.cookie-btn{display:inline-block;background:var(--terra);color:var(--white);padding:.5rem 1.3rem;border-radius:10px;cursor:pointer;font-size:.85rem;font-weight:700}
.cookie-btn:hover{background:var(--sage)}
#cookie-toggle:checked~.cookie-banner{opacity:0;visibility:hidden;pointer-events:none}
.page-hero{background:linear-gradient(135deg,var(--dark) 55%,#3d2a22 100%);padding:5rem 1.5rem 4rem;text-align:center}
.page-hero h1{color:var(--white);font-size:clamp(1.9rem,4vw,2.9rem);margin-bottom:.75rem}
.page-hero p{color:rgba(255,255,255,.72);font-size:1rem;max-width:520px;margin:0 auto}
.section-title{font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:.5rem}
.section-subtitle{color:#7a5c52;font-size:.93rem;margin-bottom:2rem;font-style:italic}
.content-aside{display:grid;grid-template-columns:1fr;gap:2.5rem}
@media(min-width:900px){.content-aside{grid-template-columns:1fr 300px}}
.aside-feed{display:flex;flex-direction:column;gap:1.25rem}
.aside-head{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--mid);margin-bottom:.25rem}
.aside-card{background:var(--white);border-radius:16px;padding:1.25rem;box-shadow:var(--shadow);border-left:4px solid var(--terra)}
.aside-card h4{font-size:.98rem;margin-bottom:.35rem}
.aside-card p{font-size:.8rem;color:#5a4a42;margin:0}
.aside-card a{font-size:.78rem;color:var(--terra);display:block;margin-top:.5rem;font-weight:700}
.policy-content{max-width:800px;margin:0 auto;padding:3rem 1.5rem}
.policy-content h2{font-size:1.45rem;margin:2rem 0 .75rem;color:var(--terra)}
.policy-content h3{font-size:1.1rem;margin:1.5rem 0 .5rem;color:var(--dark)}
.policy-content p{margin-bottom:1em;color:#3d2e27;font-size:.93rem;line-height:1.75}
.policy-content ul{margin:0 0 1em 1.35em}
.policy-content li{margin-bottom:.45em;color:#3d2e27;font-size:.93rem}
.success-section{text-align:center;padding:7rem 1.5rem;max-width:560px;margin:0 auto}
.success-icon{font-size:4rem;margin-bottom:1.5rem;display:block}
.success-section h1{font-size:2.25rem;margin-bottom:1rem;color:var(--terra)}
.success-section p{color:#5a4a42;margin-bottom:2rem}
.error-section{text-align:center;padding:7rem 1.5rem;max-width:480px;margin:0 auto}
.error-code{font-family:'Playfair Display',serif;font-size:8rem;color:var(--terra);opacity:.2;line-height:1;display:block;margin-bottom:-.5rem}
.error-section h1{font-size:2rem;margin-bottom:1rem}
.error-section p{color:#5a4a42;margin-bottom:2rem}
.breadcrumb{font-size:.78rem;color:var(--mid);margin-bottom:1.5rem}
.breadcrumb a{color:var(--terra)}
.article-img-full{width:100%;height:360px;object-fit:cover;border-radius:var(--r);margin-bottom:2.5rem;display:block}
.pull-quote{font-family:'Playfair Display',serif;font-size:1.25rem;font-style:italic;color:var(--terra);border-top:2px solid var(--terra);border-bottom:2px solid var(--terra);padding:1.25rem 0;margin:2rem 0;line-height:1.5}
.tag-pill{display:inline-block;background:var(--sage);color:var(--white);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;padding:.25rem .75rem;border-radius:50px;margin-right:.4rem;margin-bottom:.4rem;font-weight:700}
