/*
Theme Name: Nyampa 2027
Theme URI: https://example.com/nyampa-2027
Author: Joel
Description: Elementor-first campaign theme for Hon. Zakaria Dauda Nyampa (ZDN 2027). Every section is built from native Elementor widgets and containers — no design CSS classes. Includes a page/template importer (manual + automatic), header & footer templates, sign-up forms with a submissions inbox, Fact & Myth accordion and a posts grid.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyampa
*/

/* Element-level base only. All design styling lives in Elementor controls. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #10231A; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
a { color: #025F2E; }
a:hover { color: #004920; }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[id] { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Fallback layout for non-Elementor content (blog posts, archives). */
main[data-layout="content"] { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; line-height: 1.7; font-size: 17px; }
main[data-layout="content"] h1 { font-family: Archivo, sans-serif; font-weight: 800; line-height: 1.15; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 12px; }
main[data-layout="content"] article + article { margin-top: 48px; padding-top: 40px; border-top: 1px solid #DCE5DF; }
main[data-layout="content"] time { color: #4A5D52; font-size: 14px; }
main[data-layout="content"] nav[aria-label="Post navigation"] { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-weight: 700; }
