/*
Theme Name: KidsToon WP (Enhanced)
Theme URI: https://kidstoon.net/
Author: KidsToon.net
Author URI: https://kidstoon.net/
Description: A playful, lightweight theme for kids education sites (ages 2–12). Includes dark mode, Customizer color, and a Submit Activity page.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kidstoon-wp
*/

:root{
  --kt-bg:#fffefb; --kt-primary:#FF6B6B; --kt-secondary:#4DADF7; --kt-accent:#FFD166;
  --kt-grass:#06D6A0; --kt-ink:#1E293B; --kt-muted:#64748B; --kt-card:#ffffff;
  --kt-radius:18px; --kt-shadow:0 10px 18px rgba(0,0,0,.06);
}
html,body{margin:0;padding:0}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;color:var(--kt-ink);background:#fffefb;line-height:1.6}
a{color:var(--kt-primary);text-decoration:none}
a:hover{text-decoration:underline}
.kt-site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.8);backdrop-filter:blur(6px);border-bottom:1px solid rgba(0,0,0,.06)}
.kt-container{max-width:1100px;margin:0 auto;padding:16px 20px}
.kt-brand{display:flex;align-items:center;gap:12px}
.kt-brand-logo{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--kt-secondary),var(--kt-accent));color:#fff;font-weight:800;box-shadow:var(--kt-shadow)}
.kt-brand-title{font-weight:800;font-size:1.25rem;letter-spacing:.3px}
.kt-nav{display:flex;gap:14px;flex-wrap:wrap}
.kt-nav a{padding:8px 12px;border-radius:999px;font-weight:600;background:#fff;border:1px dashed rgba(0,0,0,.08)}
.kt-nav a:hover{background:var(--kt-accent);color:#1f2937;text-decoration:none}
.kt-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center;padding:32px 20px 8px}
@media(max-width:860px){.kt-hero{grid-template-columns:1fr}}
.kt-hero-card{background:var(--kt-card);border-radius:var(--kt-radius);box-shadow:var(--kt-shadow);padding:28px;border:1px solid rgba(0,0,0,.06)}
.kt-eyebrow{font-size:.85rem;text-transform:uppercase;letter-spacing:.12em;color:var(--kt-muted)}
.kt-hero h1{margin:.3rem 0 0;font-size:clamp(1.6rem,3.8vw,2.6rem)}
.kt-cta{display:inline-flex;align-items:center;gap:10px;cursor:pointer;background:linear-gradient(135deg,var(--kt-primary),#ff8fab);border:none;color:white;font-weight:800;border-radius:16px;padding:12px 16px;box-shadow:var(--kt-shadow)}
.kt-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.kt-badge{background:#fff;border:1px dashed rgba(0,0,0,.08);border-radius:999px;padding:6px 10px;font-weight:600}
.kt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:10px 20px 40px}
@media(max-width:900px){.kt-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.kt-grid{grid-template-columns:1fr}}
.kt-card{background:var(--kt-card);border-radius:var(--kt-radius);box-shadow:var(--kt-shadow);padding:20px;border:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;gap:8px}
.kt-chipbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.kt-chip{background:rgba(77,173,247,.18);color:#0c4a6e;padding:6px 10px;border-radius:999px;font-weight:700}
.kt-site-footer{border-top:1px solid rgba(0,0,0,.06);padding:24px 20px;background:#ffffffc7;backdrop-filter:blur(3px)}
.kt-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px}
.kt-small{color:var(--kt-muted);font-size:.9rem}
.alignwide{max-width:1200px;margin-inline:auto}
.alignfull{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
html.dark body{background:#0b1220;color:#e5e7eb}
html.dark .kt-card,html.dark .kt-site-header,html.dark .kt-site-footer{background:#0d1830;color:#e5e7eb;border-color:rgba(255,255,255,.08)}