/*
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=Lato:wght@300;400;700&display=swap');

:root{
  --bg:#F8FAF6;--bg2:#E8F3EA;
  --green:#276749;--green-light:#3a8a62;--green-dark:#1a4d35;
  --text:#1e2d1a;--text-muted:#5a6e52;
  --radius:20px;
  --shadow:0 4px 24px rgba(39,103,73,.09);
  --shadow-hover:0 10px 40px rgba(39,103,73,.17);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Lato',sans-serif;
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  color:var(--text);min-height:100vh;line-height:1.6;
}
h1,h2,h3,h4,h5{font-family:'Playfair Display',Georgia,serif;line-height:1.25}
a{color:var(--green);text-decoration:none;transition:color .2s}
a:hover{color:var(--green-dark);text-decoration:underline}
img{max-width:100%;height:auto;border-radius:var(--radius);display:block}
p{margin-bottom:1rem}

/* HEADER */
.site-header{
  background:rgba(248,250,246,.97);backdrop-filter:blur(10px);
  border-bottom:1px solid #cee3d4;position:sticky;top:0;z-index:200;
}
.header-inner{
  max-width:1140px;margin:0 auto;padding:0 1.5rem;
  display:flex;align-items:center;justify-content:space-between;height:68px;
}
.site-logo{
  font-family:'Playfair Display',serif;font-size:1.65rem;
  font-weight:700;color:var(--green);letter-spacing:-.5px;
}
.site-logo:hover{text-decoration:none;color:var(--green-dark)}
.site-nav{display:flex;gap:1.75rem;list-style:none;flex-wrap:wrap}
.site-nav a{
  font-size:.82rem;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--text-muted);
}
.site-nav a:hover{color:var(--green);text-decoration:none}

/* HERO */
.hero{
  position:relative;min-height:540px;
  display:flex;align-items:center;
  overflow:hidden;border-radius:0 0 44px 44px;
}
.hero-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;border-radius:0 0 44px 44px;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(39,103,73,.79) 0%,rgba(39,103,73,.33) 100%);
  border-radius:0 0 44px 44px;
}
.hero-content{
  position:relative;z-index:2;max-width:1140px;
  margin:0 auto;padding:5rem 1.5rem;color:#fff;width:100%;
}
.hero-content h1{
  font-size:clamp(2rem,5.5vw,3.4rem);margin-bottom:1.2rem;
  text-shadow:0 2px 16px rgba(0,0,0,.25);
}
.hero-content p{
  font-size:1.15rem;max-width:540px;opacity:.93;
  margin-bottom:2.2rem;text-shadow:0 1px 8px rgba(0,0,0,.2);
}

/* BUTTONS */
.btn{
  display:inline-block;padding:.85rem 2.2rem;
  background:var(--green);color:#fff;border-radius:50px;
  font-weight:700;font-size:.95rem;letter-spacing:.04em;
  transition:background .2s,transform .2s,box-shadow .2s;
  border:none;cursor:pointer;font-family:inherit;
}
.btn:hover{
  background:var(--green-dark);transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(39,103,73,.35);text-decoration:none;color:#fff;
}
.btn-outline{background:transparent;border:2px solid var(--green);color:var(--green)}
.btn-outline:hover{background:var(--green);color:#fff}

/* LAYOUT */
.main-grid{
  max-width:1140px;margin:3.5rem auto;padding:0 1.5rem;
  display:grid;grid-template-columns:1fr 320px;gap:2.5rem;
}

/* CARD */
.card{
  background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  transition:transform .25s,box-shadow .25s;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover)}
.card-body{padding:1.6rem}
.card-tag{
  display:inline-block;background:var(--bg2);color:var(--green);
  font-size:.72rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;padding:.28rem .85rem;
  border-radius:50px;margin-bottom:.8rem;
}
.card h3{font-size:1.18rem;margin-bottom:.6rem;line-height:1.35}
.card p{font-size:.9rem;color:var(--text-muted);line-height:1.65;margin-bottom:1rem}

/* MAIN ARTICLE */
.main-article{
  background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);padding:2.8rem;
}
.main-article h2{font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:.5rem;color:var(--green)}
.main-article .article-meta{
  font-size:.83rem;color:var(--text-muted);
  margin-bottom:1.8rem;padding-bottom:1.2rem;border-bottom:1px solid var(--bg2);
}
.main-article h3{font-size:1.25rem;margin:2rem 0 .75rem;color:var(--green-dark)}
.main-article p{line-height:1.85;color:#374730}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:1.6rem}
.widget{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:1.6rem}
.widget h4{
  font-family:'Playfair Display',serif;font-size:1.05rem;color:var(--green);
  border-bottom:2px solid var(--bg2);padding-bottom:.6rem;margin-bottom:1rem;
}
.article-list{list-style:none;display:flex;flex-direction:column;gap:.9rem}
.article-list li a{font-size:.93rem;font-weight:700;color:var(--text);display:block;margin-bottom:.2rem}
.article-list li a:hover{color:var(--green);text-decoration:none}
.article-list li span{font-size:.78rem;color:var(--text-muted)}

/* ABOUT BLOCK */
.about-block{
  background:linear-gradient(135deg,var(--bg2) 0%,#d8f0dc 100%);
  margin:3rem 1.5rem;border-radius:var(--radius);
  padding:3.5rem 2rem;text-align:center;
}
.about-block h2{color:var(--green);margin-bottom:1rem;font-size:1.9rem}
.about-block p{
  max-width:680px;margin:0 auto 1rem;
  color:var(--text-muted);line-height:1.85;font-size:1.02rem;
}

/* SUBSCRIBE */
.subscribe-section{background:var(--green);padding:5rem 1.5rem;text-align:center}
.subscribe-section h2{color:#fff;font-size:2rem;margin-bottom:.75rem}
.subscribe-section>p{color:rgba(255,255,255,.87);margin-bottom:2.5rem;font-size:1.05rem}
.subscribe-form{display:flex;flex-direction:column;gap:1rem;max-width:480px;margin:0 auto}
.subscribe-form input{
  padding:.9rem 1.35rem;border:none;border-radius:50px;
  font-size:1rem;font-family:inherit;outline:none;
  background:rgba(255,255,255,.95);color:var(--text);
}
.subscribe-form input::placeholder{color:#8aab92}
.subscribe-form .btn{background:#fff;color:var(--green);font-size:1rem;padding:.9rem 2rem}
.subscribe-form .btn:hover{background:var(--bg2)}

/* FOOTER */
.site-footer{background:#143d26;color:rgba(255,255,255,.72);padding:4rem 1.5rem 1.5rem}
.footer-inner{
  max-width:1140px;margin:0 auto;
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem;
}
.footer-brand{
  font-family:'Playfair Display',serif;font-size:1.5rem;
  color:#fff;margin-bottom:.8rem;display:block;
}
.footer-desc{font-size:.88rem;line-height:1.75;max-width:300px}
.footer-col h5{color:#fff;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:1rem}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.55rem}
.footer-col ul a{color:rgba(255,255,255,.65);font-size:.88rem}
.footer-col ul a:hover{color:#fff;text-decoration:none}
.footer-bottom{
  max-width:1140px;margin:0 auto;
  border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;
  font-size:.78rem;display:flex;justify-content:space-between;
  align-items:center;flex-wrap:wrap;gap:.5rem;
}

/* DISCLAIMER */
.disclaimer{
  background:#fffbf0;border-left:4px solid #c8a84b;
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.3rem 1.6rem;margin:2.5rem 0 0;
  font-size:.88rem;color:#6a5020;line-height:1.75;
}

/* ARTICLE PAGE */
.article-hero{
  background:linear-gradient(135deg,var(--bg2) 0%,#d4ecd9 100%);
  padding:5rem 1.5rem 4rem;text-align:center;
}
.article-hero h1{
  font-size:clamp(1.85rem,4.5vw,2.9rem);color:var(--green);
  margin-bottom:1rem;max-width:720px;margin-left:auto;margin-right:auto;
}
.article-hero .meta{color:var(--text-muted);font-size:.88rem}
.article-img-wrap{max-width:860px;margin:-3rem auto 0;padding:0 1.5rem}
.article-img-wrap img{
  width:100%;max-height:420px;object-fit:cover;
  box-shadow:0 12px 48px rgba(39,103,73,.18);border-radius:var(--radius);
}
.article-body{max-width:820px;margin:3.5rem auto;padding:0 1.5rem}
.article-body h2{font-size:1.65rem;color:var(--green);margin:2.8rem 0 1rem}
.article-body h3{font-size:1.28rem;margin:2rem 0 .75rem;color:var(--green-dark)}
.article-body p{line-height:1.9;color:#374730;margin-bottom:1.2rem}
.article-body ul,.article-body ol{padding-left:1.6rem;margin-bottom:1.2rem}
.article-body ul li,.article-body ol li{line-height:1.85;margin-bottom:.5rem;color:#374730}
.article-body blockquote{
  background:var(--bg2);border-left:4px solid var(--green);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.2rem 1.6rem;margin:2rem 0;
  font-style:italic;color:var(--green-dark);
  font-family:'Playfair Display',serif;font-size:1.1rem;
}
.source-ref{font-size:.8rem;color:var(--text-muted);font-style:italic;margin-top:-.6rem;margin-bottom:1.2rem}

/* POLICY */
.policy-wrap{max-width:880px;margin:4rem auto;padding:0 1.5rem}
.policy-box{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:3rem}
.policy-box h1{font-size:2.1rem;color:var(--green);margin-bottom:.4rem}
.policy-meta{font-size:.82rem;color:var(--text-muted);margin-bottom:2rem;padding-bottom:1.2rem;border-bottom:1px solid var(--bg2)}
.policy-box h2{font-size:1.3rem;color:var(--green-dark);margin:2.2rem 0 .8rem}
.policy-box p{line-height:1.85;color:#374730;margin-bottom:1rem}
.policy-box ul{padding-left:1.6rem;margin-bottom:1rem}
.policy-box ul li{line-height:1.8;margin-bottom:.4rem;color:#374730}

/* SUCCESS */
.success-wrap{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem}
.success-box{
  text-align:center;background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);padding:4.5rem 3rem;max-width:520px;width:100%;
}
.success-icon{font-size:4.5rem;margin-bottom:1.5rem;display:block}
.success-box h1{color:var(--green);margin-bottom:1rem;font-size:2rem}
.success-box p{color:var(--text-muted);line-height:1.75;margin-bottom:2rem}

/* 404 */
.error-wrap{min-height:72vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:3rem 1.5rem}
.error-num{font-size:9rem;font-family:'Playfair Display',serif;color:var(--bg2);line-height:1;display:block;margin-bottom:.5rem}
.error-wrap h2{color:var(--green);font-size:1.9rem;margin-bottom:1rem}
.error-wrap p{color:var(--text-muted);margin-bottom:2rem;max-width:400px}

/* COOKIE BANNER - CSS ONLY */
.cookie-chk{display:none}
.cookie-banner{
  position:fixed;bottom:24px;right:24px;
  width:min(380px,calc(100vw - 48px));
  background:#fff;border-radius:var(--radius);
  box-shadow:0 8px 48px rgba(39,103,73,.22);
  padding:1.6rem;z-index:9999;border-top:4px solid var(--green);
  transition:opacity .35s,transform .35s;
}
.cookie-chk:checked ~ .cookie-banner{
  opacity:0;pointer-events:none;transform:translateY(20px);
}
.cookie-banner p{font-size:.85rem;color:var(--text-muted);line-height:1.65;margin-bottom:1.1rem}
.cookie-banner p a{color:var(--green);font-weight:700}
.cookie-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.c-btn-accept,.c-btn-decline{
  padding:.6rem 1.3rem;border-radius:50px;
  font-size:.88rem;font-weight:700;cursor:pointer;display:inline-block;
}
.c-btn-accept{background:var(--green);color:#fff}
.c-btn-decline{background:var(--bg2);color:var(--green)}

/* RESPONSIVE */
@media(max-width:900px){
  .main-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .header-inner{height:auto;padding:1rem;flex-direction:column;gap:.75rem}
  .site-nav{gap:1rem;justify-content:center}
  .hero{min-height:420px}
  .main-article{padding:1.6rem}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .about-block{margin:2rem .75rem}
  .policy-box{padding:1.8rem}
}