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

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@400;500;600&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --cream:#FFF4E0;
  --yellow:#FFBF00;
  --orange:#FF7043;
  --dark:#1A1A1A;
  --white:#FFFFFF;
  --mid:#FF8C00;
  --radius:20px;
  --shadow:0 6px 30px rgba(255,112,67,0.15);
}
html{scroll-behavior:smooth;font-size:16px;}
body{font-family:'DM Sans',sans-serif;background:var(--cream);color:var(--dark);min-height:100vh;}
h1,h2,h3,h4{font-family:'Fraunces',serif;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;border-radius:var(--radius);}

/* ── COOKIE BANNER (CSS-only) ── */
.cookie-input{position:absolute;left:-9999px;width:1px;height:1px;}
.cookie-banner{
  position:fixed;bottom:24px;right:24px;
  background:var(--dark);color:var(--white);
  padding:22px 26px;border-radius:var(--radius);
  max-width:320px;z-index:9999;
  box-shadow:0 12px 48px rgba(0,0,0,0.3);
  border:2px solid var(--yellow);
}
.cookie-banner p{font-size:.82rem;margin-bottom:14px;line-height:1.6;color:rgba(255,255,255,.9);}
.cookie-banner a{color:var(--yellow);font-weight:600;}
.cookie-banner label{
  display:inline-block;background:var(--yellow);color:var(--dark);
  padding:10px 22px;border-radius:50px;cursor:pointer;
  font-weight:700;font-size:.85rem;transition:transform .15s;
}
.cookie-banner label:hover{transform:scale(1.04);}
.cookie-input:checked~.cookie-banner{display:none;}

/* ── HEADER ── */
header{
  background:var(--white);padding:0 24px;
  position:sticky;top:0;z-index:100;
  box-shadow:0 2px 16px rgba(255,112,67,.1);
}
.header-inner{
  max-width:1140px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;height:68px;
}
.logo{
  font-family:'Fraunces',serif;font-size:1.65rem;
  color:var(--orange);font-weight:900;letter-spacing:-1px;
}
nav{display:flex;gap:28px;align-items:center;}
nav a{
  font-size:.9rem;font-weight:600;color:var(--dark);
  padding:6px 0;border-bottom:2px solid transparent;
  transition:border-color .2s,color .2s;
}
nav a:hover{border-color:var(--orange);color:var(--orange);}

/* ── HERO ── */
.hero{
  background:linear-gradient(135deg,var(--orange) 0%,var(--yellow) 100%);
  padding:90px 24px 80px;text-align:center;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'🍋 🍊 🥝 🍇 🍓 🥑';
  font-size:2.4rem;position:absolute;
  top:14px;left:0;right:0;text-align:center;
  opacity:.25;letter-spacing:16px;
  animation:floatFruits 6s ease-in-out infinite alternate;
}
@keyframes floatFruits{from{transform:translateY(0);}to{transform:translateY(-8px);}}
.hero-inner{position:relative;z-index:1;max-width:700px;margin:0 auto;}
.hero h1{
  font-size:clamp(2.2rem,5.5vw,3.8rem);color:var(--white);
  margin-bottom:20px;text-shadow:2px 4px 12px rgba(0,0,0,.15);
  line-height:1.15;
}
.hero p{
  font-size:1.12rem;color:rgba(255,255,255,.95);
  max-width:580px;margin:0 auto 36px;line-height:1.7;
}
.btn{
  display:inline-block;background:var(--white);color:var(--orange);
  padding:16px 40px;border-radius:50px;font-weight:700;
  font-size:1rem;box-shadow:0 6px 24px rgba(0,0,0,.15);
  transition:transform .2s,box-shadow .2s;
}
.btn:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.2);}
.btn-dark{background:var(--dark);color:var(--white);}

/* ── MAIN GRID ── */
.container{max-width:1140px;margin:0 auto;padding:0 24px;}
.main-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:36px;padding:60px 24px;
  max-width:1140px;margin:0 auto;
}
@media(min-width:768px){
  .main-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);}
}

/* ── FEATURED ARTICLE ── */
.featured-article{
  background:var(--white);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);
}
.featured-article img{
  width:100%;height:300px;object-fit:cover;
  border-radius:var(--radius) var(--radius) 0 0;
}
.featured-article .art-body{padding:36px;}
.featured-article h2{font-size:1.85rem;margin-bottom:14px;line-height:1.25;}
.featured-article p{line-height:1.8;color:#555;margin-bottom:16px;}

/* ── TAGS ── */
.tag{
  display:inline-block;background:var(--yellow);color:var(--dark);
  padding:5px 16px;border-radius:50px;font-size:.75rem;
  font-weight:700;margin-bottom:14px;letter-spacing:.5px;
}

/* ── ASIDE ── */
.aside-wrap{display:flex;flex-direction:column;gap:20px;}
.aside-title{
  font-family:'Fraunces',serif;font-size:1.25rem;
  color:var(--dark);margin-bottom:4px;padding-bottom:8px;
  border-bottom:3px solid var(--yellow);
}
.article-card{
  background:var(--white);border-radius:var(--radius);
  padding:24px;box-shadow:0 4px 18px rgba(0,0,0,.07);
  transition:transform .2s,box-shadow .2s;
}
.article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.article-card h3{font-size:1.05rem;margin:8px 0 10px;line-height:1.35;}
.article-card p{font-size:.88rem;color:#666;line-height:1.6;}
.read-more{
  display:inline-block;margin-top:14px;color:var(--orange);
  font-weight:700;font-size:.88rem;
  border-bottom:1px solid transparent;
  transition:border-color .2s;
}
.read-more:hover{border-color:var(--orange);}

/* ── FACTS GRID ── */
.facts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;margin:24px 0;
}
.fact-card{
  background:var(--cream);border-radius:var(--radius);
  padding:22px 18px;text-align:center;
  border:2px solid var(--yellow);
}
.fact-card .icon{font-size:2.2rem;margin-bottom:10px;}
.fact-card p{font-size:.85rem;color:#555;line-height:1.5;}

/* ── ABOUT SECTION ── */
.about-section{
  background:var(--yellow);padding:70px 24px;text-align:center;
}
.about-section h2{font-size:2.1rem;margin-bottom:18px;}
.about-section p{
  max-width:720px;margin:0 auto;
  line-height:1.8;font-size:1rem;color:var(--dark);
}

/* ── SUBSCRIBE SECTION ── */
.subscribe-section{
  background:var(--orange);padding:70px 24px;
}
.subscribe-section h2{
  font-size:2.1rem;color:var(--white);
  text-align:center;margin-bottom:10px;
}
.subscribe-section>p{
  text-align:center;color:rgba(255,255,255,.92);
  margin-bottom:36px;font-size:1.05rem;
}
.subscribe-form{
  max-width:480px;margin:0 auto;
  display:flex;flex-direction:column;gap:14px;
}
.subscribe-form input{
  padding:15px 22px;border:none;border-radius:50px;
  font-size:.97rem;outline:none;background:var(--white);
  font-family:'DM Sans',sans-serif;
  box-shadow:0 4px 16px rgba(0,0,0,.1);
}
.subscribe-form button{
  padding:16px;background:var(--dark);color:var(--white);
  border:none;border-radius:50px;font-size:1rem;
  font-weight:700;cursor:pointer;transition:background .2s,transform .2s;
  font-family:'DM Sans',sans-serif;
}
.subscribe-form button:hover{background:#333;transform:translateY(-2px);}

/* ── ARTICLE PAGE ── */
.article-wrap{max-width:820px;margin:0 auto;padding:60px 24px;}
.article-wrap h1{font-size:clamp(1.9rem,4.5vw,2.9rem);margin-bottom:16px;line-height:1.2;}
.art-meta{color:#999;font-size:.88rem;margin-bottom:36px;display:flex;gap:16px;flex-wrap:wrap;}
.article-wrap h2{font-size:1.55rem;margin:38px 0 16px;color:var(--orange);}
.article-wrap h3{font-size:1.2rem;margin:24px 0 10px;color:var(--dark);}
.article-wrap p{line-height:1.85;margin-bottom:16px;color:#444;}
.article-wrap ul{margin:0 0 18px 22px;}
.article-wrap ul li{line-height:1.85;color:#444;margin-bottom:8px;}
.article-wrap img{width:100%;margin-bottom:36px;max-height:420px;object-fit:cover;}

/* ── SOURCE BOX ── */
.source-box{
  background:var(--cream);border-radius:var(--radius);
  padding:18px 22px;margin:20px 0;
  border-left:4px solid var(--orange);
}
.source-box p{font-size:.88rem;color:#555;margin:0;line-height:1.6;}
.source-box a{color:var(--orange);font-weight:600;}

/* ── DISCLAIMER ── */
.disclaimer{
  background:#FFF8E1;border-left:5px solid var(--yellow);
  padding:22px 26px;border-radius:0 var(--radius) var(--radius) 0;
  margin-top:48px;
}
.disclaimer strong{color:var(--dark);}
.disclaimer p{font-size:.9rem;color:#7B5800;line-height:1.7;margin:0;}

/* ── POLICY / TERMS / COOKIES PAGES ── */
.policy-wrap{max-width:820px;margin:0 auto;padding:60px 24px;}
.policy-wrap h1{font-size:2.2rem;margin-bottom:10px;}
.policy-wrap .subtitle{color:#888;margin-bottom:40px;font-size:.9rem;}
.policy-wrap h2{font-size:1.3rem;margin:34px 0 12px;color:var(--orange);}
.policy-wrap p,.policy-wrap li{line-height:1.85;color:#444;margin-bottom:12px;}
.policy-wrap ul{margin-left:22px;}

/* ── SUCCESS PAGE ── */
.success-wrap{
  min-height:72vh;display:flex;align-items:center;
  justify-content:center;padding:40px 24px;
}
.success-box{
  background:var(--white);border-radius:calc(var(--radius)*1.5);
  padding:64px 48px;text-align:center;
  box-shadow:0 16px 60px rgba(255,112,67,.18);
  max-width:520px;width:100%;
}
.success-box .big-emoji{font-size:5rem;margin-bottom:24px;display:block;}
.success-box h1{font-size:2.1rem;color:var(--orange);margin-bottom:14px;}
.success-box p{color:#666;line-height:1.75;margin-bottom:32px;}

/* ── 404 PAGE ── */
.notfound-wrap{
  min-height:72vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  text-align:center;padding:40px 24px;
}
.notfound-wrap .big-num{
  font-size:clamp(6rem,18vw,12rem);color:var(--orange);
  font-family:'Fraunces',serif;line-height:1;
}
.notfound-wrap h2{font-size:1.8rem;margin-bottom:14px;}
.notfound-wrap p{color:#666;margin-bottom:32px;max-width:420px;}

/* ── FOOTER ── */
footer{background:var(--dark);color:var(--white);padding:50px 24px 30px;}
.footer-inner{max-width:1140px;margin:0 auto;}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:36px;margin-bottom:36px;
}
.footer-col h4{
  font-size:1rem;font-weight:700;margin-bottom:14px;
  color:var(--yellow);font-family:'Fraunces',serif;
}
.footer-col p{color:rgba(255,255,255,.6);font-size:.88rem;line-height:1.65;}
.footer-col a{
  display:block;color:rgba(255,255,255,.65);
  font-size:.88rem;margin-bottom:9px;
  transition:color .2s;
}
.footer-col a:hover{color:var(--yellow);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:22px;
  display:flex;justify-content:space-between;
  align-items:center;flex-wrap:wrap;gap:12px;
  font-size:.8rem;color:rgba(255,255,255,.45);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp{from{opacity:0;transform:translateY(28px);}to{opacity:1;transform:translateY(0);}}
.hero h1{animation:fadeInUp .65s ease both;}
.hero p{animation:fadeInUp .65s .12s ease both;}
.hero .btn{animation:fadeInUp .65s .22s ease both;}

/* ── RESPONSIVE ── */
@media(max-width:767px){
  nav{gap:14px;}
  nav a{font-size:.82rem;}
  .footer-bottom{flex-direction:column;text-align:center;}
  .success-box{padding:40px 28px;}
}
