/*
Theme Name: ChatAndAskAI Blog (Top Chatbots) v2
Author: ChatGPT
Description: Minimal blog theme with a top AI Chatbots section before posts, cookie consent (Accept/Deny), and auto-created policy pages. All links open in new tab.
Version: 1.0.1
Text Domain: chatandaskai-blog-topchatbots-v2
License: GPLv2 or later
*/
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#111;background:#fff}
a{color:#2563eb;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1000px;margin:0 auto;padding:0 16px}
.site-header{border-bottom:1px solid #eee}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{font-weight:600;letter-spacing:.2px}
.nav{display:flex;gap:16px;padding:8px 0 16px}
.nav a{color:#555;font-size:15px}
.header-search{padding:12px 0 20px;border-top:1px solid #f4f4f4}
.grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:720px){.grid{grid-template-columns:1fr 1fr}}
.card{border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:20px;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.card time{color:#666;font-size:12px}
.card h2{margin:8px 0 8px;font-size:22px}
.card p{color:#333}
.card .actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.btn{display:inline-block;padding:10px 14px;border:1px solid #ddd;border-radius:10px;color:#111;background:#fff;text-align:center}
.btn:hover{background:#f8f8f8;text-decoration:none}
.hero{padding:28px 0;border-bottom:1px solid #eee;background:#fafafa}
.hero h1{font-size:28px;margin:0 0 8px}
.hero p{color:#555;margin:0 0 16px}
.hero .btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.site-footer{border-top:1px solid #eee;margin-top:20px}
.site-footer .inner{padding:18px 0;color:#666;font-size:14px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.footer-links a{color:#666;margin-right:12px}
/* cookie banner */
.caa-cookie-banner{position:fixed;left:0;right:0;bottom:0;background:#111;color:#fff;padding:16px;z-index:9999}
.caa-cookie-banner .wrap{max-width:1000px;margin:0 auto;display:flex;gap:12px;align-items:center;justify-content:space-between}
.caa-cookie-banner p{margin:0;font-size:14px;line-height:1.5}
.caa-cookie-banner .actions{display:flex;gap:8px;flex-shrink:0}
.caa-cookie-banner .btn-accept{background:#22c55e;border:none;color:#111;padding:8px 12px;border-radius:8px;cursor:pointer}
.caa-cookie-banner .btn-deny{background:#e5e7eb;border:none;color:#111;padding:8px 12px;border-radius:8px;cursor:pointer}


/* === Enhanced AI Chatbots section === */
.hero {
  padding: 40px 0;
  border-bottom: 1px solid #eaeaea;
  background: radial-gradient(1200px 500px at 20% -10%, #e0f2fe 0%, rgba(224,242,254,0) 60%),
              radial-gradient(900px 400px at 80% -20%, #e9d5ff 0%, rgba(233,213,255,0) 60%),
              #fafafa;
}
.hero .eyebrow {
  display:inline-flex;align-items:center;gap:8px;
  background:#ffffffcc;border:1px solid #e5e7eb;color:#374151;
  padding:6px 10px;border-radius:999px;font-size:12px;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.hero h1 {
  font-size: 30px; margin: 10px 0 8px;
}
.hero p.sub {
  color:#555;margin:0 0 18px;
}
.btns.chatbots {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.btn.chatbot {
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border:1px solid #e5e7eb; border-radius:12px;
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  font-weight:600;
}
.btn.chatbot .logo {
  width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:8px; background:#f3f4f6; font-size:14px;
}
.btn.chatbot:hover {
  transform: translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  text-decoration:none;
}
/* Brand-ish accent borders (subtle, neutral-friendly) */
.btn.chatbot.gpt { border-color:#c7d2fe; }
.btn.chatbot.gemini { border-color:#bae6fd; }
.btn.chatbot.grok { border-color:#fecaca; }
.btn.chatbot.deepseek { border-color:#fde68a; }
.btn.chatbot.claude { border-color:#e9d5ff; }
.btn.chatbot.perplexity { border-color:#cbd5e1; }
.btn.chatbot.copilot { border-color:#bfdbfe; }
.btn.chatbot.mistral { border-color:#fbcfe8; }


/* === Enhanced site brand styling (header) === */
.brand{
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .3px;
  color:#0f172a; /* slate-900 */
  text-decoration: none;
  position: relative;
  display:inline-block;
  padding: 2px 4px;
  border-radius: 10px;
  transition: color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
@media (min-width: 768px){
  .brand{ font-size: 28px; }
}
.brand:hover{
  color:#1d4ed8; /* blue-700 */
  background: #eff6ff; /* blue-50 */
  box-shadow: 0 2px 0 rgba(29,78,216,.08);
}


/* === Brand: soft gradient pill + slightly smaller size === */
.brand{
  font-size: 22px;           /* a bit smaller */
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .3px;
  color:#0f172a;             /* keep original dark text */
  text-decoration:none;
  display:inline-block;
  padding: 6px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 100%); /* blue -> lilac */
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.brand:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99,102,241,.15);
}
@media (min-width: 768px){
  .brand{ font-size: 24px; } /* stay tidy on larger screens */
}


/* === Brand color update to Google blue === */
.brand{ color:#1A73E8; }
.brand:hover{ color:#1558B0; }
